/* ==========================================================================
   CREATES Design Studio — main.css
   creates.ae | HTML5 + CSS3 + Vanilla JS | No framework
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */

:root {
  /* Colours */
  --black:          #0D0D0D;
  --off-white:      #F5F0EA;
  --warm-white:     #FAF7F4;
  --warm-gold:      #C9A96E;
  --deep-charcoal:  #2A2A2A;
  --linen:          #EDE8DF;
  --warm-taupe:     #B8A898;
  --stone:          #8C7B6B;
  --copper:         #B5724A;

  /* Typography */
  --font-display:   'Cormorant Garamond', Georgia, serif;
  --font-body:      'Inter', system-ui, sans-serif;

  /* Font sizes */
  --text-h1:        clamp(52px, 7vw, 96px);
  --text-h2:        clamp(36px, 4.5vw, 56px);
  --text-h3:        clamp(24px, 3vw, 36px);
  --text-body:      16px;
  --text-small:     13px;
  --text-label:     11px;

  /* Spacing */
  --space-xs:       8px;
  --space-sm:       16px;
  --space-md:       32px;
  --space-lg:       64px;
  --space-xl:       120px;
  --space-2xl:      180px;

  /* Motion */
  --ease-standard:  cubic-bezier(0.25, 0.1, 0.25, 1.0);
  --ease-out:       cubic-bezier(0.0, 0.0, 0.2, 1.0);
  --duration-fast:  0.2s;
  --duration-std:   0.4s;
  --duration-slow:  0.8s;

  /* Layout */
  --max-width:      1280px;
  --content-width:  960px;
  --nav-height:     104px;
}


/* ==========================================================================
   2. BASE RESETS
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.75;
  color: var(--deep-charcoal);
  background-color: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  border: none;
  background: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

button {
  cursor: pointer;
}

::selection {
  background-color: var(--warm-gold);
  color: var(--black);
}


/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  color: var(--black);
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--text-h1);
  line-height: 1.0;
}

h2 {
  font-size: var(--text-h2);
  line-height: 1.05;
}

h3 {
  font-size: var(--text-h3);
  line-height: 1.1;
}

h4 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
}

p {
  font-size: var(--text-body);
  font-weight: 300;
  line-height: 1.75;
  color: var(--warm-taupe);
}

/* Accent colour on display headings — applied inline via class */
.gold {
  color: var(--warm-gold);
}

/* Section label — caps, tracked, small */
.label {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-taupe);
}

/* Subheading variant — tracked body */
.subhead {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* Serif semibold variant for feature headings */
.display-600 {
  font-weight: 600;
}


/* ==========================================================================
   4. LAYOUT UTILITIES
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.container--narrow {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.section {
  padding-block: var(--space-xl);
}

.section--dark {
  background-color: var(--deep-charcoal);
  color: var(--warm-taupe);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--off-white);
}

.section--dark p {
  color: var(--warm-taupe);
}

.section--linen {
  background-color: var(--linen);
}

.section--light {
  background-color: var(--off-white);
}

/* Grid helpers */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

/* Split layout — image + text */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-lg);
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

/* Flex helpers */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Text alignment */
.text-center {
  text-align: center;
}

/* Spacer */
.spacer-sm  { height: var(--space-sm); }
.spacer-md  { height: var(--space-md); }
.spacer-lg  { height: var(--space-lg); }


/* ==========================================================================
   5. BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 100px;
  transition: background-color var(--duration-std) var(--ease-out),
              color var(--duration-std) var(--ease-out),
              border-color var(--duration-std) var(--ease-out);
  white-space: nowrap;
}

/* Outline pill — primary CTA on dark backgrounds */
.btn--outline {
  border: 1px solid var(--warm-gold);
  color: var(--off-white);
  background: transparent;
}

.btn--outline:hover {
  background: var(--warm-gold);
  color: var(--black);
}

/* Outline dark — CTA on light backgrounds */
.btn--outline-dark {
  border: 1px solid var(--deep-charcoal);
  color: var(--deep-charcoal);
  background: transparent;
}

.btn--outline-dark:hover {
  background: var(--deep-charcoal);
  color: var(--off-white);
}

/* Solid dark */
.btn--solid {
  background: var(--deep-charcoal);
  color: var(--off-white);
  border: 1px solid var(--deep-charcoal);
}

.btn--solid:hover {
  background: var(--black);
  border-color: var(--black);
}

/* Text link with arrow */
.link-arrow {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-taupe);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--duration-std) var(--ease-out);
}

.link-arrow::after {
  content: '→';
  transition: transform var(--duration-std) var(--ease-out);
}

.link-arrow:hover {
  color: var(--black);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* On dark backgrounds */
.section--dark .link-arrow:hover {
  color: var(--warm-gold);
}


/* ==========================================================================
   6. NAVIGATION
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background-color 0.3s var(--ease-out),
              backdrop-filter 0.3s var(--ease-out);
}

/* Transparent state — over hero */
.nav--transparent {
  background: linear-gradient(
    to bottom,
    rgba(13, 13, 13, 0.58) 0%,
    rgba(13, 13, 13, 0.3) 62%,
    rgba(13, 13, 13, 0) 100%
  );
  backdrop-filter: blur(4px);
}

/* Scrolled state — solid dark */
.nav--solid {
  background-color: var(--deep-charcoal);
}

.nav__inner {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-height);
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  width: clamp(180px, 16vw, 260px);
  height: auto;
}

.nav__logo-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--off-white);
  line-height: 1;
}

.nav__logo-sub {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-taupe);
  display: block;
  margin-top: 3px;
}

/* Desktop links */
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(24px, 2.2vw, 40px);
}

.nav__link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-taupe);
  position: relative;
  padding-bottom: 4px;
  text-shadow: 0 1px 12px rgba(13, 13, 13, 0.35);
  transition: color var(--duration-std) var(--ease-out);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--warm-gold);
  transition: width var(--duration-std) var(--ease-out);
}

.nav__link:hover {
  color: var(--off-white);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link.active {
  color: var(--off-white);
}

.nav__link.active::after {
  width: 100%;
}

/* Light nav — when over light-background page (non-hero) */
.nav--light:not(.nav--solid) .nav__link {
  color: var(--stone);
}

.nav--light:not(.nav--solid) .nav__link:hover,
.nav--light:not(.nav--solid) .nav__link.active {
  color: var(--black);
}

.nav--light:not(.nav--solid) .nav__toggle span {
  background-color: var(--deep-charcoal);
}

/* Mobile hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background-color: var(--warm-taupe);
  box-shadow: 0 1px 10px rgba(13, 13, 13, 0.35);
  transition: transform var(--duration-std) var(--ease-out),
              opacity var(--duration-std) var(--ease-out);
}

.nav__toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

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

.nav__toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile panel */
.nav__mobile {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 320px;
  background-color: var(--deep-charcoal);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) var(--space-lg);
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-out);
}

.nav__mobile.open {
  transform: translateX(0);
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.nav__mobile-link {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 400;
  color: var(--warm-taupe);
  transition: color var(--duration-std) var(--ease-out);
}

.nav__mobile-link:hover,
.nav__mobile-link.active {
  color: var(--off-white);
}

/* Mobile overlay */
.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 13, 0.6);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-std) var(--ease-out);
}

.nav__overlay.open {
  opacity: 1;
  pointer-events: all;
}


/* ==========================================================================
   7. FOOTER
   ========================================================================== */

.footer {
  background-color: var(--deep-charcoal);
  padding-block: var(--space-xl) var(--space-lg);
}

.footer__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(184, 168, 152, 0.15);
}

/* Brand column */
.footer__brand {}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-md);
}

.footer__logo img {
  height: 32px;
  width: auto;
}

.footer__logo-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--off-white);
  letter-spacing: 0.04em;
  line-height: 1;
}

.footer__logo-sub {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  display: block;
  margin-top: 3px;
}

.footer__tagline {
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  color: var(--warm-taupe);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.footer__desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.7;
  max-width: 280px;
}

/* Link column */
.footer__col-title {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-taupe);
  margin-bottom: var(--space-sm);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 13px;
  font-weight: 300;
  color: var(--stone);
  transition: color var(--duration-std) var(--ease-out);
  line-height: 1.4;
}

.footer__link:hover {
  color: var(--warm-taupe);
}

/* Contact column */
.footer__contact {}

.footer__contact-item {
  font-size: 13px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer__contact-item a {
  color: var(--warm-taupe);
  transition: color var(--duration-std) var(--ease-out);
}

.footer__contact-item a:hover {
  color: var(--off-white);
}

/* Bottom bar */
.footer__bottom {
  padding-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__copyright {
  font-size: var(--text-small);
  font-weight: 300;
  color: var(--stone);
  letter-spacing: 0.02em;
}

/* Social icons */
.footer__social {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(140, 123, 107, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  transition: border-color var(--duration-std) var(--ease-out),
              color var(--duration-std) var(--ease-out);
}

.footer__social-link:hover {
  border-color: var(--warm-gold);
  color: var(--warm-gold);
}

.footer__social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}


/* ==========================================================================
   8. REVEAL ANIMATION
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children — apply delay via data attribute or nth-child */
.reveal-group > *:nth-child(1) { transition-delay: 0s; }
.reveal-group > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-group > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-group > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-group > *:nth-child(5) { transition-delay: 0.4s; }

/* Reveal variant — slower, for hero sub-elements */
.reveal--slow {
  transition-duration: var(--duration-slow);
  transition-delay: 0.2s;
}

/* Reveal variant — for images (no Y shift, pure fade) */
.reveal--fade {
  opacity: 0;
  transform: none;
  transition: opacity var(--duration-slow) var(--ease-out);
}

.reveal--fade.visible {
  opacity: 1;
}


/* ==========================================================================
   9. HERO SHARED STYLES
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-height);
  padding-bottom: var(--space-xl);
  background-color: var(--black);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 13, 13, 0.2) 0%,
    rgba(13, 13, 13, 0.55) 60%,
    rgba(13, 13, 13, 0.75) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.hero__label {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-gold);
  margin-bottom: var(--space-sm);
  display: block;
}

.hero__heading {
  color: var(--off-white);
  max-width: 800px;
  margin-bottom: var(--space-md);
}

.hero__sub {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-taupe);
  margin-bottom: var(--space-lg);
  max-width: 480px;
}

/* Page hero variant — shorter, centred */
.hero--page {
  min-height: 74vh;
  align-items: center;
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  padding-bottom: var(--space-lg);
}

.hero--page .hero__content {
  text-align: center;
  padding-top: var(--space-xl);
}

.hero--page .hero__heading {
  margin-inline: auto;
}

.hero--page .hero__sub {
  margin-inline: auto;
}

.hero--page-intro {
  min-height: 58vh;
  align-items: flex-start;
  padding-top: calc(var(--nav-height) + var(--space-xl));
  padding-bottom: var(--space-xl);
}

.hero--page-intro .hero__content {
  padding-top: var(--space-lg);
}

.hero--contact .hero__content {
  padding-top: var(--space-md);
}

.hero--contact .hero__overlay {
  background:
    linear-gradient(
      to bottom,
      rgba(13, 13, 13, 0.44) 0%,
      rgba(13, 13, 13, 0.58) 28%,
      rgba(13, 13, 13, 0.72) 100%
    ),
    radial-gradient(
      circle at center,
      rgba(13, 13, 13, 0.16) 0%,
      rgba(13, 13, 13, 0.42) 58%,
      rgba(13, 13, 13, 0.62) 100%
    );
}

.hero--contact .hero__label,
.hero--contact .hero__heading,
.hero--contact .hero__sub {
  text-shadow: 0 2px 18px rgba(13, 13, 13, 0.38);
}


/* ==========================================================================
   10. CARDS
   ========================================================================== */

.card {
  background-color: var(--warm-white);
  padding: var(--space-md);
}

.card__label {
  font-size: var(--text-label);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-gold);
  margin-bottom: var(--space-sm);
  display: block;
}

.card__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400;
  color: var(--black);
  margin-bottom: var(--space-sm);
  line-height: 1.1;
}

.card__body {
  font-size: 14px;
  font-weight: 300;
  color: var(--warm-taupe);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

/* Image card — for design direction grid */
.card--image {
  position: relative;
  overflow: hidden;
  background: none;
  padding: 0;
  aspect-ratio: 4 / 5;
}

.card--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

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

.card--image__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 13, 13, 0.75) 0%, transparent 55%);
  opacity: 0.8;
  transition: opacity var(--duration-std) var(--ease-out);
}

.card--image:hover .card--image__overlay {
  opacity: 1;
}

.card--image__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
}

.card--image__name {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--off-white);
  display: block;
  margin-bottom: 6px;
}

.card--image__desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--warm-taupe);
  line-height: 1.5;
}

.card--image__cta {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  font-size: var(--text-label);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-gold);
  margin-top: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--duration-std) var(--ease-out),
              transform var(--duration-std) var(--ease-out);
}

.card--image:hover .card--image__cta {
  opacity: 1;
  transform: translateY(0);
}

.card--image__cta::after {
  content: '→';
}


/* ==========================================================================
   11. FORM ELEMENTS
   ========================================================================== */

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-size: var(--text-label);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}

.form__input,
.form__textarea {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--deep-charcoal);
  background-color: var(--warm-white);
  border: 1px solid var(--linen);
  padding: 14px 16px;
  transition: border-color var(--duration-std) var(--ease-out);
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--warm-taupe);
}

.form__textarea {
  resize: vertical;
  min-height: 140px;
}

/* Checkbox group */
.form__checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px var(--space-sm);
}

.form__checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.form__checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 1px solid var(--linen);
  background-color: var(--warm-white);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  transition: background-color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}

.form__checkbox input[type="checkbox"]:checked {
  background-color: var(--warm-gold);
  border-color: var(--warm-gold);
}

.form__checkbox input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  inset: 2px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5L4.5 8.5L11 1' stroke='%230D0D0D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.form__checkbox-label {
  font-size: 13px;
  font-weight: 300;
  color: var(--warm-taupe);
}

/* Submit button full-width */
.form .btn {
  align-self: flex-start;
  margin-top: var(--space-sm);
}


/* ==========================================================================
   12. DIVIDER / RULE
   ========================================================================== */

.rule {
  width: 48px;
  height: 1px;
  background-color: var(--warm-gold);
  margin-bottom: var(--space-md);
}

.rule--center {
  margin-inline: auto;
}

.rule--wide {
  width: 100%;
  background-color: var(--linen);
}


/* ==========================================================================
   13. SECTION HEADER PATTERN
   ========================================================================== */

.section-header {
  margin-bottom: var(--space-lg);
}

.section-header--center {
  text-align: center;
}

.section-header .label {
  margin-bottom: var(--space-sm);
  display: block;
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  max-width: 540px;
  font-size: 15px;
}

.section-header--center p {
  margin-inline: auto;
}


/* ==========================================================================
   14. PROCESS TIMELINE
   ========================================================================== */

.process {
  position: relative;
}

.process__track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.process__track::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 1px;
  background-color: var(--linen);
}

.process__step {
  position: relative;
  text-align: center;
  padding-top: var(--space-lg);
}

.process__step::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--warm-gold);
  background-color: var(--off-white);
}

.process__number {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--warm-gold);
  display: block;
  margin-bottom: 8px;
}

.process__title {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--deep-charcoal);
  margin-bottom: 8px;
  line-height: 1.4;
}

.process__desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--warm-taupe);
  line-height: 1.6;
  padding-inline: var(--space-sm);
}


/* ==========================================================================
   15. FAQ ACCORDION
   ========================================================================== */

.accordion {
  border-top: 1px solid var(--linen);
}

.accordion__item {
  border-bottom: 1px solid var(--linen);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  cursor: pointer;
  text-align: left;
  background: none;
  gap: var(--space-md);
}

.accordion__question {
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  color: var(--deep-charcoal);
  line-height: 1.2;
}

.accordion__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 1px solid var(--linen);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-std) var(--ease-out),
              border-color var(--duration-std) var(--ease-out);
}

.accordion__icon svg {
  width: 10px;
  height: 10px;
  stroke: var(--stone);
  transition: stroke var(--duration-std) var(--ease-out);
}

.accordion__item.open .accordion__icon {
  transform: rotate(45deg);
  border-color: var(--warm-gold);
}

.accordion__item.open .accordion__icon svg {
  stroke: var(--warm-gold);
}

.accordion__body {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--duration-slow) var(--ease-out);
}

.accordion__item.open .accordion__body {
  max-height: 400px;
}

.accordion__answer {
  font-size: 15px;
  font-weight: 300;
  color: var(--warm-taupe);
  line-height: 1.75;
  padding-bottom: var(--space-md);
  max-width: 640px;
}


/* ==========================================================================
   16. MEDIA QUERIES — MOBILE
   ========================================================================== */

@media (max-width: 1024px) {
  :root {
    --nav-height: 92px;
    --space-xl:  80px;
    --space-2xl: 120px;
  }

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

  .process__track {
    grid-template-columns: repeat(3, 1fr);
  }

  .process__track::before {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 84px;
    --space-xl:  64px;
    --space-2xl: 80px;
  }

  /* Show mobile nav toggle, hide desktop links */
  .nav__toggle {
    display: flex;
  }

  .nav__logo-image {
    width: 100%;
    height: auto;
  }

  .nav__logo {
    width: 156px;
    height: auto;
  }

  .nav__mobile {
    max-width: 100%;
    padding: calc(var(--nav-height) + var(--space-sm)) var(--space-md) var(--space-lg);
    justify-content: flex-start;
  }

  .nav__mobile-links {
    gap: var(--space-sm);
  }

  .nav__mobile-link {
    font-size: clamp(18px, 8vw, 28px);
    line-height: 1.15;
  }

  .hero--home {
    min-height: 100svh;
    padding-top: calc(var(--nav-height) + var(--space-sm));
    padding-bottom: var(--space-md);
    align-items: flex-end;
  }

  .hero--home .hero__content {
    padding-inline: var(--space-sm);
  }

  .hero--home .hero__label {
    font-size: 10px;
    letter-spacing: 0.16em;
    margin-bottom: 12px;
  }

  .hero--home .hero__heading {
    font-size: clamp(44px, 15vw, 72px);
    line-height: 0.92;
    max-width: 5.6ch;
    margin-bottom: 12px;
  }

  .hero--home .hero__sub {
    font-size: 11px;
    line-height: 1.7;
    letter-spacing: 0.12em;
    max-width: 18ch;
    margin-bottom: var(--space-md);
  }

  .hero--home .btn {
    font-size: 10px;
    padding: 12px 22px;
  }

  .hero--page {
    min-height: 66vh;
    padding-top: calc(var(--nav-height) + var(--space-xl));
  }

  .hero--page-intro {
    min-height: 52vh;
    padding-top: calc(var(--nav-height) + var(--space-lg));
    padding-bottom: var(--space-lg);
  }

  .hero--page-intro .hero__content {
    padding-top: var(--space-md);
  }

  .nav__links {
    display: none;
  }

  /* Grid collapses */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .split--reverse {
    direction: ltr;
  }

  #our-essence .split > div:first-child {
    order: 2;
  }

  #our-essence .split > div:last-child {
    order: 1;
  }

  #our-essence img {
    aspect-ratio: 4 / 3 !important;
  }

  /* Process collapses */
  .process__track {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .process__step {
    text-align: left;
    padding-top: 0;
    padding-left: var(--space-md);
    padding-bottom: var(--space-sm);
  }

  .process__step::before {
    top: 0;
    left: 0;
    transform: none;
  }

  /* Form row collapses */
  .form__row {
    grid-template-columns: 1fr;
  }

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

  .form__input,
  .form__textarea {
    font-size: 16px;
  }

  .section-header {
    margin-bottom: var(--space-md);
  }

  .section-header h2 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .section-header p {
    font-size: 14px;
    line-height: 1.75;
    max-width: 100%;
  }

  #integrated-design .grid-4,
  #services-teaser .grid-4 {
    gap: var(--space-sm);
  }

  #integrated-design .grid-4 > .reveal,
  #services-teaser .grid-4 > .reveal {
    padding: var(--space-sm) !important;
  }

  #integrated-design .grid-4 h4,
  #services-teaser .grid-4 h4 {
    font-size: 18px !important;
    line-height: 1.15;
  }

  #integrated-design .grid-4 p,
  #services-teaser .grid-4 p {
    font-size: 13px !important;
    line-height: 1.75;
  }

  #services-teaser .link-arrow {
    font-size: 10px;
  }

  .process__number {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .process__title {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .process__desc {
    font-size: 14px;
    line-height: 1.75;
    padding-inline: 0;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  /* Hero bottom padding */
  .hero {
    padding-bottom: var(--space-lg);
  }

  /* Section header text */
  .section-header p {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  :root {
    --space-xl:  48px;
    --space-2xl: 64px;
  }

  .container,
  .container--narrow {
    padding-inline: var(--space-sm);
  }

  .btn {
    padding: 12px 24px;
  }
}


/* ==========================================================================
   17. UTILITIES
   ========================================================================== */

/* Screen-reader only */
.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;
}

/* Prevent scroll when mobile nav open */
body.nav-open {
  overflow: hidden;
}

/* Lazy-load image fade-in */
img.lazyload {
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out);
}

img.loaded {
  opacity: 1;
}

/* Aspect ratio wrappers */
.ratio-16-9 {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.ratio-4-3 {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.ratio-1-1 {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.ratio-16-9 img,
.ratio-4-3 img,
.ratio-1-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
