/* ============================================================
   Illumate — Dark Themed Stylesheet
   Inspired by Modo Webflow: mysterious, elegant, refined
   ============================================================ */

/* ============================================================
   1. CSS VARIABLES
   ============================================================ */
:root {
  --color-bg: #0a0a0a;
  --color-surface: #141414;
  --color-text: #f5f5f5;
  --color-muted: #888;
  --color-accent: #c8a45a;
  --color-border: #222;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a,
button,
input,
textarea,
select,
[role="button"],
.btn-get-started,
.header-cta,
.menu-toggle,
.work-card,
.contact-detail,
.contact-social-links a,
.contact-form input,
.contact-form textarea,
.contact-form button {
  cursor: none !important;
}

::selection {
  background-color: var(--color-accent);
  color: var(--color-bg);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-muted);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) var(--color-bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

button {
  font-family: var(--font-body);
}

ul {
  list-style: none;
}

/* ============================================================
   3. UTILITIES
   ============================================================ */
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--color-muted);
  text-align: center;
  margin-bottom: 3rem;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================================
   4. HEADER
   ============================================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
}

header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.logo,
.header-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.02em;
  z-index: 1001;
}

.primary-nav .nav-list,
.header-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.primary-nav .nav-list a,
.header-nav a {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  transition: color var(--transition);
  position: relative;
}

.primary-nav .nav-list a::after,
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-text);
  transition: width var(--transition);
}

.primary-nav .nav-list a:hover,
.header-nav a:hover {
  color: var(--color-text);
}

.primary-nav .nav-list a:hover::after,
.header-nav a:hover::after {
  width: 100%;
}

.primary-nav .nav-list a.active,
.header-nav a.active {
  color: var(--color-text);
}

.primary-nav .nav-list a.active::after,
.header-nav a.active::after {
  width: 100%;
}

.btn-get-started,
.header-cta {
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  padding: 0.5rem 1.5rem;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
  display: inline-block;
}

.btn-get-started:hover,
.header-cta:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

/* ============================================================
   5. MOBILE MENU TOGGLE
   ============================================================ */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

/* Mobile navigation overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  pointer-events: none;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 999;
}

.menu-open .mobile-nav {
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin: 1rem 0;
  color: var(--color-text);
  transition: color var(--transition);
  text-align: center;
}

.mobile-nav a:hover {
  color: var(--color-accent);
}

.mobile-nav-footer {
  position: absolute;
  bottom: 3rem;
  display: flex;
  gap: 2rem;
}

.mobile-nav-footer a {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-muted);
}

/* ============================================================
   6. HERO
   ============================================================ */
#hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0 3rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(200, 164, 90, 0.05) 0%, transparent 70%);
}

.hero-content {
  text-align: center;
  z-index: 1;
  position: relative;
}

.hero-label {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: block;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 900;
  line-height: 0.95;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-muted);
  max-width: 500px;
  margin: 0 auto 2rem;
  font-weight: 300;
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-accent);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 0.5rem;
  transition: gap var(--transition);
}

.hero-cta:hover {
  gap: 1.25rem;
}

.hero-cta svg,
.hero-cta .arrow {
  transition: transform var(--transition);
}

/* ============================================================
   7. SOCIAL RAIL
   ============================================================ */
.social-rail {
  position: absolute;
  left: 3rem;
  bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 10;
}

.social-rail a {
  text-transform: uppercase;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-rail a::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--color-muted);
  transition: background var(--transition), width var(--transition);
}

.social-rail a:hover {
  color: var(--color-accent);
}

.social-rail a:hover::before {
  background: var(--color-accent);
  width: 30px;
}

/* ============================================================
   8. SCROLL INDICATOR
   ============================================================ */
.scroll-indicator {
  position: absolute;
  right: 3rem;
  bottom: 3rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
}

.scroll-indicator::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
  100% {
    opacity: 0;
    transform: scaleY(1);
    transform-origin: bottom;
  }
}

/* ============================================================
   9. ABOUT
   ============================================================ */
#about {
  padding: 10rem 2rem;
}

.about-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.8;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text strong {
  color: var(--color-text);
  font-weight: 400;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 5rem auto 0;
  padding-top: 5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.about-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.5rem;
}

.about-stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-muted);
}

/* ============================================================
   10. SERVICES MARQUEE
   ============================================================ */
#services {
  padding: 6rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 2rem 0;
}

.marquee-track {
  display: inline-flex;
  animation: marquee 30s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-style: italic;
  padding: 0 1.5rem;
  color: var(--color-text);
  white-space: nowrap;
  display: inline-block;
  transition: color var(--transition);
}

.marquee-item:hover {
  color: var(--color-accent);
}

.marquee-dot {
  color: var(--color-accent);
  padding: 0 1rem;
  font-size: 1.5rem;
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ============================================================
   11. SERVICES GRID
   ============================================================ */
.services-grid {
  max-width: 1400px;
  margin: 4rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 2.5rem;
  border: 1px solid var(--color-border);
  transition: border-color var(--transition), background var(--transition);
  cursor: none;
}

.service-card:hover {
  border-color: var(--color-accent);
  background: var(--color-surface);
}

.service-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
  opacity: 0.5;
  display: block;
  line-height: 1;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--color-text);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ============================================================
   12. WORKS
   ============================================================ */
#works {
  padding: 10rem 2rem;
}

.works-header {
  max-width: 1400px;
  margin: 0 auto 4rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.works-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

.works-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition), gap var(--transition);
}

.works-link:hover {
  color: var(--color-accent);
  gap: 1rem;
}

.works-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.work-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.work-card-image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-surface);
}

.work-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work-card:hover .work-card-image img {
  transform: scale(1.05);
}

.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.work-card:hover .work-card-overlay {
  opacity: 1;
}

.work-card-overlay-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
}

.work-card-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.work-card-info h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text);
}

.work-card-info span {
  color: var(--color-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Works featured — larger card */
.work-card.featured .work-card-image {
  aspect-ratio: 16 / 9;
}

/* ============================================================
   13. CONTACT
   ============================================================ */
#contact {
  padding: 10rem 2rem;
}

.contact-layout {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
}

.contact-info p {
  color: var(--color-muted);
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.8;
}

.contact-detail {
  margin-bottom: 1rem;
  color: var(--color-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-detail a {
  color: var(--color-muted);
  transition: color var(--transition);
}

.contact-detail a:hover {
  color: var(--color-accent);
}

.contact-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-border);
  display: block;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.contact-social-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-social-links a {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  transition: color var(--transition);
}

.contact-social-links a:hover {
  color: var(--color-accent);
}

/* ============================================================
   14. FORM STYLES
   ============================================================ */
.contact-form {
  padding-top: 1rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 0;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-group textarea {
  resize: none;
  min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-bottom-color: var(--color-accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
  display: none;
}

.checkbox-group label {
  border: 1px solid var(--color-border);
  padding: 0.5rem 1.25rem;
  cursor: none;
  font-size: 0.8rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
}

.checkbox-group label:hover {
  border-color: var(--color-muted);
  color: var(--color-text);
}

.checkbox-group input[type="checkbox"]:checked + label {
  background: var(--color-accent);
  color: var(--color-bg);
  border-color: var(--color-accent);
}

.form-submit {
  margin-top: 3rem;
}

button[type="submit"] {
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  padding: 1rem 3rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  font-family: var(--font-body);
  font-weight: 300;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

button[type="submit"]:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

button[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================================
   15. FOOTER
   ============================================================ */
footer {
  padding: 6rem 2rem 2rem;
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto 6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

.footer-grid h4 {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.footer-grid a {
  display: block;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-grid a:hover {
  color: var(--color-accent);
  padding-left: 0.25rem;
}

.footer-grid p {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-brand {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 2rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--color-border);
  user-select: none;
  letter-spacing: -0.02em;
  overflow: hidden;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-muted);
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom a {
  color: var(--color-muted);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--color-accent);
}

/* ============================================================
   16. ANIMATIONS
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Fade in from left */
[data-animate="left"] {
  transform: translateX(-30px);
}

[data-animate="left"].is-visible {
  transform: translateX(0);
}

/* Fade in from right */
[data-animate="right"] {
  transform: translateX(30px);
}

[data-animate="right"].is-visible {
  transform: translateX(0);
}

/* Fade only */
[data-animate="fade"] {
  transform: none;
}

[data-animate="fade"].is-visible {
  transform: none;
}

/* Scale in */
[data-animate="scale"] {
  transform: scale(0.95);
}

[data-animate="scale"].is-visible {
  transform: scale(1);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lineGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ============================================================
   17. TOAST NOTIFICATIONS
   ============================================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 1rem 2rem;
  z-index: 10000;
  animation: slideUp 0.3s ease forwards;
  font-size: 0.85rem;
  min-width: 280px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.toast.success {
  border-left: 3px solid var(--color-accent);
}

.toast.error {
  border-left: 3px solid #e74c3c;
}

.toast-close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--color-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
  line-height: 1;
  transition: color var(--transition);
}

.toast-close:hover {
  color: var(--color-text);
}

.toast-message {
  color: var(--color-text);
}

/* ============================================================
   18. CUSTOM CURSOR
   ============================================================ */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.15s ease;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  top: 0;
  left: 0;
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(200, 164, 90, 0.4);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              width 0.3s ease,
              height 0.3s ease,
              opacity 0.3s ease;
  transform: translate(-50%, -50%);
  top: 0;
  left: 0;
}

.cursor-dot.is-hovering {
  transform: translate(-50%, -50%) scale(2);
}

.cursor-ring.is-hovering {
  width: 48px;
  height: 48px;
  opacity: 0.6;
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 2rem;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cookie-consent.is-visible {
  transform: translateY(0);
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.cookie-consent-content p {
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.5;
  flex: 1;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  cursor: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.cookie-btn-primary {
  background: var(--color-accent);
  color: var(--color-bg);
  border-color: var(--color-accent);
}

.cookie-btn-primary:hover {
  background: transparent;
  color: var(--color-accent);
}

.cookie-btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ============================================================
   19. SECTION DIVIDERS & ACCENTS
   ============================================================ */
.section-divider {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--color-border), transparent);
  margin: 0 auto;
}

.section-line {
  width: 60px;
  height: 1px;
  background: var(--color-accent);
  margin: 0 auto 2rem;
}

/* ============================================================
   20. LOADING / PAGE TRANSITION
   ============================================================ */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-text {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px var(--color-border);
  animation: fadeIn 0.5s ease;
}

/* ============================================================
   21. RESPONSIVE — 1200px
   ============================================================ */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stats {
    gap: 1.5rem;
  }
}

/* ============================================================
   22. RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  /* Cookie consent */
  .cookie-consent-content {
    flex-direction: column;
    gap: 1rem;
  }

  .cookie-consent-actions {
    width: 100%;
    justify-content: stretch;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
  }

  /* Header */
  header {
    padding: 1.25rem 1.5rem;
  }

  .menu-toggle {
    display: flex;
  }

  .header-nav,
  .primary-nav {
    display: none;
  }

  .header-cta,
  .btn-get-started {
    display: none;
  }

  .header-inner {
    padding: 1.25rem 1.5rem;
  }

  /* Hero */
  #hero {
    padding: 0 1.5rem;
  }

  .hero-title {
    font-size: clamp(3rem, 18vw, 6rem);
    line-height: 1;
  }

  .hero-tagline {
    font-size: 1rem;
    padding: 0 1rem;
  }

  /* Social rail */
  .social-rail {
    display: none;
  }

  /* Scroll indicator */
  .scroll-indicator {
    display: none;
  }

  /* About */
  #about {
    padding: 6rem 1.5rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  /* Services */
  #services {
    padding: 4rem 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    padding: 0 1.5rem;
    margin: 3rem auto;
  }

  /* Works */
  #works {
    padding: 6rem 1.5rem;
  }

  .works-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 3rem;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  #contact {
    padding: 6rem 1.5rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Footer */
  footer {
    padding: 4rem 1.5rem 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
  }

  .footer-brand {
    font-size: clamp(3rem, 22vw, 8rem);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Cursor — hide on touch devices */
  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  /* Toast */
  .toast {
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    min-width: 0;
  }
}

/* ============================================================
   23. RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2.5rem, 20vw, 4rem);
  }

  .service-card {
    padding: 1.75rem;
  }

  .contact-info h2 {
    font-size: 2rem;
  }

  .checkbox-group label {
    font-size: 0.7rem;
    padding: 0.4rem 1rem;
  }

  button[type="submit"] {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   24. PRINT
   ============================================================ */
@media print {
  .cursor-dot,
  .cursor-ring,
  .page-loader,
  .toast,
  .menu-toggle,
  .mobile-nav,
  .social-rail,
  .scroll-indicator {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}
