/* =========================================================
   XAVELY AGENCY — stylesheet
   Tokens → Base → Layout primitives → Components → Sections
   ========================================================= */

:root{
  /* ---- color ---- */
  --ink:        #0b0a08;   /* noir profond */
  --ink-deep:   #050403;   /* black, deepest layer */
  --ivory:      #f4f0e6;   /* blanc cassé */
  --ivory-dim:  #e7e0cf;
  --gold:       #c9a770;   /* champagne / doré, matches logo exactly */
  --gold-soft:  #a9895c;
  --warm-gray:  #8b8478;   /* gris chaud */
  --warm-gray-2:#5c574c;
  --line-dark:  rgba(244,240,230,0.14);
  --line-light: rgba(11,10,8,0.13);

  /* ---- type ---- */
  --font-display: 'Bodoni Moda', 'Times New Roman', serif;
  --font-sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;

  /* ---- motion ---- */
  --ease: cubic-bezier(.22,1,.36,1);
  --ease-soft: cubic-bezier(.4,0,.2,1);
  --dur-s: .5s;
  --dur-m: .9s;
  --dur-l: 1.4s;

  /* ---- layout ---- */
  --gutter: clamp(1.5rem, 4vw, 3.5rem);
  --header-h: 92px;
}

@media (max-width: 720px){
  :root{ --header-h: 72px; }
}

/* ============ RESET ============ */
*, *::before, *::after{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}
body{
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,p{ margin: 0; }
button{ font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
em{ font-style: italic; color: var(--gold); }

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

/* ============ SCROLL PROGRESS ============ */
.progress{
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: 500; background: transparent; pointer-events: none;
}
.progress__bar{
  display: block; height: 100%; width: 0%;
  background: var(--gold);
  transition: width .1s linear;
}

/* ============ FILM GRAIN OVERLAY ============ */
.grain{
  position: fixed; inset: 0; z-index: 400; pointer-events: none;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ CUSTOM CURSOR ============ */
.cursor{
  position: fixed; top: 0; left: 0; width: 34px; height: 34px;
  border: 1px solid var(--gold); border-radius: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none; z-index: 600;
  opacity: 0; transition: opacity .3s var(--ease), width .35s var(--ease), height .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
  will-change: transform;
}
.cursor__dot{
  position: absolute; top: 50%; left: 50%; width: 4px; height: 4px;
  background: var(--gold); border-radius: 50%; transform: translate(-50%,-50%);
  transition: opacity .3s var(--ease);
}
.cursor.is-active{ opacity: 1; }
.cursor.is-hover{ width: 64px; height: 64px; background: rgba(201,167,112,.1); }
.cursor.is-hover .cursor__dot{ opacity: 0; }
@media (hover: none), (pointer: coarse){
  .cursor{ display: none; }
}

/* ============ SECTION THEMING ============ */
section, footer, .hero{
  position: relative;
}
[data-bg="dark"]{ background: var(--ink); color: var(--ivory); }
[data-bg="light"]{ background: var(--ivory); color: var(--ink); }

/* ============ REVEAL ANIMATION SYSTEM ============ */
[data-reveal]{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-m) var(--ease), transform var(--dur-m) var(--ease);
}
[data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0);
}
.reveal-mask{
  display: block;
  overflow: hidden;
}
.reveal-mask > *{ display: block; }

@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity: 1; transform: none; transition: none; }
}

/* ============ SHARED TYPE HELPERS ============ */
.eyebrow{
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--font-sans);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}
.eyebrow__rule{ width: 28px; height: 1px; background: var(--gold); display: inline-block; }
.eyebrow--center{ justify-content: center; }

/* =========================================================
   HEADER
   ========================================================= */
.header{
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: var(--header-h);
  transition: background-color .5s var(--ease-soft), border-color .5s var(--ease-soft), backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled{
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}
.header__inner{
  height: 100%;
  max-width: 1560px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.header__logo{
  display: flex; align-items: center; gap: .65rem;
}
.header__mark{ height: 22px; width: auto; transition: opacity .4s; }
.header__mark--light{ position: absolute; opacity: 0; }
.header__mark--dark{ position: relative; opacity: 1; }
.header__wordmark{
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .1em;
  color: var(--ink);
  transition: color .5s var(--ease-soft);
}

.header--dark .header__mark--dark{ opacity: 0; }
.header--dark .header__mark--light{ opacity: 1; }
.header--dark .header__wordmark{ color: var(--ivory); }
.header--dark .header__link{ color: var(--ivory); }
.header--dark .header__link::after{ background: var(--gold); }
.header--dark .header__menu-btn span{ background: var(--ivory); }

.header__nav{ display: flex; gap: clamp(1.5rem, 3vw, 3rem); }
.header__link{
  position: relative;
  font-size: .82rem;
  letter-spacing: .05em;
  color: var(--ink);
  padding: 6px 0;
  transition: color .5s var(--ease-soft);
}
.header__link::after{
  content: '';
  position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--gold);
  transition: right .45s var(--ease);
}
.header__link:hover::after{ right: 0; }
.header__link--current::after{ right: 0; background: var(--gold-soft); opacity: .55; }

.header__menu-btn{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 28px; height: 20px;
}
.header__menu-btn span{
  display: block; height: 1px; width: 100%; background: var(--ink);
  transition: background .4s, transform .4s, opacity .4s;
}
.header__menu-btn.is-open span:first-child{ transform: translateY(3px) rotate(45deg); }
.header__menu-btn.is-open span:last-child{ transform: translateY(-3px) rotate(-45deg); }

@media (max-width: 860px){
  .header__nav{ display: none; }
  .header__menu-btn{ display: flex; }
}

/* mobile nav overlay */
.mobile-nav{
  position: fixed; inset: 0; z-index: 250;
  background: var(--ink); color: var(--ivory);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2.5rem;
  transform: translateY(-100%);
  transition: transform .6s var(--ease);
}
.mobile-nav.is-open{ transform: translateY(0); }
.mobile-nav__list{ display: flex; flex-direction: column; }
.mobile-nav__link{
  display: flex; align-items: baseline; gap: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 9vw, 3rem);
  padding: .55rem 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--ivory);
}
.mobile-nav__num{ font-family: var(--font-sans); font-size: .8rem; color: var(--gold); }
.mobile-nav__footer{
  display: flex; justify-content: space-between; align-items: center;
  font-size: .85rem; color: var(--warm-gray);
}
.mobile-nav__socials{ display: flex; gap: 1.25rem; }
.mobile-nav__socials a, .mobile-nav__footer > a{ color: var(--ivory); }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 6rem;
  overflow: hidden;
}
.hero__mark{
  position: absolute;
  top: 58%; right: -7%;
  width: min(40vw, 560px);
  transform: translateY(-50%);
  opacity: .4;
  pointer-events: none;
  will-change: transform;
}
.hero__mark img{ width: 100%; }

.hero__inner{ position: relative; max-width: 1560px; margin: 0 auto; width: 100%; }

.hero__eyebrow{
  font-size: .74rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: clamp(1.25rem, 3vw, 2.25rem);
}

.hero__title{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 9.4vw, 8.4rem);
  line-height: .98;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.hero__line{ overflow: hidden; }
.hero__line--accent{ color: var(--gold); font-style: italic; font-weight: 400; }

.hero__subtitle{
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 30ch;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: var(--warm-gray);
  font-weight: 400;
}

.hero__scroll{
  position: absolute; left: var(--gutter); bottom: clamp(1.5rem,4vw,2.75rem);
  display: flex; align-items: center; gap: .9rem;
}
.hero__scroll-line{
  width: 1px; height: 46px; background: var(--line-dark); position: relative; overflow: hidden;
}
.hero__scroll-line::after{
  content:''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--gold);
  animation: scrollDrip 2.4s var(--ease-soft) infinite;
}
@keyframes scrollDrip{
  0%{ top: -100%; }
  60%{ top: 100%; }
  100%{ top: 100%; }
}
.hero__scroll-label{
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--warm-gray);
  writing-mode: vertical-rl;
}
@media (prefers-reduced-motion: reduce){
  .hero__scroll-line::after{ animation: none; top: 0; height: 40%; }
}

@media (max-width: 720px){
  .hero__mark{ width: 70vw; right: -18%; opacity: .28; }
  .hero__subtitle{ max-width: 100%; }
}

/* =========================================================
   INTRO
   ========================================================= */
.intro{ padding: clamp(6rem,14vw,10rem) var(--gutter); }
.intro__inner{ max-width: 1560px; margin: 0 auto; }
.intro__text{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 6vw, 4.6rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  max-width: 20ch;
}
.intro__foot{
  margin-top: clamp(3rem,7vw,5rem);
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem; flex-wrap: wrap;
  border-top: 1px solid var(--line-light);
  padding-top: clamp(1.5rem,3vw,2.25rem);
}
.intro__note{
  max-width: 42ch; font-size: .95rem; line-height: 1.6; color: var(--warm-gray-2);
}
.intro__index{
  font-size: .78rem; letter-spacing: .1em; color: var(--gold-soft); white-space: nowrap;
}

/* =========================================================
   SELECTED WORK
   ========================================================= */
.work{ padding: clamp(4rem,8vw,7rem) var(--gutter) clamp(2rem,6vw,4rem); }
.work__header{
  max-width: 1560px; margin: 0 auto clamp(3rem,7vw,5rem);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap;
}
.work__title{
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.05;
}

.work__list{ max-width: 1560px; margin: 0 auto; display: flex; flex-direction: column; }

.project{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(2rem,5vw,3.5rem) 0;
  border-top: 1px solid var(--line-light);
}
.work__list .project:last-child{ border-bottom: 1px solid var(--line-light); }
.project--reverse{ grid-template-columns: .8fr 1.2fr; }
.project--reverse .project__media{ order: 2; }
.project--reverse .project__info{ order: 1; }

.project__media{
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 2px;
}
.project__media-inner{
  position: absolute; inset: -6%;
  transition: transform 1.1s var(--ease);
}
.project:hover .project__media-inner{ transform: scale(1.06); }

.project__media--noir .project__media-inner{
  background:
    radial-gradient(120% 140% at 15% 15%, rgba(201,167,112,.35), transparent 55%),
    linear-gradient(155deg, #17140f 0%, #0b0a08 55%, #050403 100%);
}
.project__media--meridian .project__media-inner{
  background:
    radial-gradient(90% 120% at 85% 20%, rgba(244,240,230,.18), transparent 55%),
    linear-gradient(200deg, #2a2117 0%, #0b0a08 60%);
}
.project__media--lumen .project__media-inner{
  background:
    radial-gradient(100% 130% at 50% 100%, rgba(201,167,112,.3), transparent 60%),
    linear-gradient(15deg, #0b0a08 0%, #1c1712 100%);
}
.project__media--aurelia .project__media-inner{
  background:
    radial-gradient(130% 100% at 0% 100%, rgba(201,167,112,.22), transparent 55%),
    linear-gradient(210deg, #14110d 0%, #0b0a08 100%);
}
.project__media-inner::after{
  content:'';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(244,240,230,.05) 1px, transparent 1px);
  background-size: 100% 3px;
  mix-blend-mode: overlay;
}

.project__info{ padding-bottom: .5rem; }
.project__num{
  display: block; font-size: .78rem; letter-spacing: .1em; color: var(--gold-soft);
  margin-bottom: .9rem;
}
.project__name{
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.75rem);
  transition: color .4s var(--ease-soft);
}
.project:hover .project__name{ color: var(--gold-soft); }
.project__meta{
  margin-top: .6rem; font-size: .85rem; color: var(--warm-gray-2);
  letter-spacing: .02em;
}

@media (max-width: 780px){
  .project, .project--reverse{ grid-template-columns: 1fr; }
  .project--reverse .project__media, .project--reverse .project__info,
  .project .project__media, .project .project__info{ order: 0; }
}

/* =========================================================
   SERVICES
   ========================================================= */
.services{ padding: clamp(5rem,9vw,8rem) var(--gutter); }
.services__header{ max-width: 1560px; margin: 0 auto clamp(2.5rem,6vw,4rem); }
.services__title{
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.05;
}
.services__body{
  max-width: 1560px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: start;
}
.services__list{ border-top: 1px solid var(--line-light); }
.service{
  display: grid; grid-template-columns: 3.5rem 1fr 2rem;
  align-items: center;
  padding: clamp(1.4rem,3vw,2.1rem) 0;
  border-bottom: 1px solid var(--line-light);
  cursor: pointer;
  transition: padding-left .5s var(--ease);
}
.service__num{ font-size: .8rem; color: var(--gold-soft); letter-spacing: .06em; }
.service__name{
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  transition: transform .5s var(--ease), color .4s var(--ease-soft), font-style .3s;
  transform-origin: left center;
}
.service__arrow{
  font-size: 1.2rem; color: var(--gold);
  opacity: 0; transform: translateX(-8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  justify-self: end;
}
.service:hover{ padding-left: clamp(.5rem,1.5vw,1.25rem); }
.service:hover .service__name{ color: var(--gold-soft); font-style: italic; }
.service:hover .service__arrow{ opacity: 1; transform: translateX(0); }

.services__preview{
  position: sticky; top: calc(var(--header-h) + 2rem);
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line-light);
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(155deg, #17140f 0%, #0b0a08 60%, #050403 100%);
  display: flex; align-items: flex-end;
}
.services__preview-panel{
  padding: clamp(1.5rem,3vw,2.25rem);
  color: var(--ivory);
}
.services__preview-num{
  display: block; font-size: 3.5rem; font-family: var(--font-display); color: var(--gold);
  opacity: .8; margin-bottom: .5rem; transition: opacity .4s;
}
.services__preview-text{
  font-size: .95rem; line-height: 1.55; color: var(--ivory-dim); max-width: 26ch;
  transition: opacity .4s var(--ease-soft), transform .4s var(--ease-soft);
}

@media (max-width: 980px){
  .services__body{ grid-template-columns: 1fr; }
  .services__preview{ display: none; }
}
@media (max-width: 560px){
  .service{ grid-template-columns: 2.5rem 1fr 1.5rem; }
}

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto{
  padding: clamp(7rem,16vw,11rem) var(--gutter);
  display: flex; align-items: center; justify-content: center;
  min-height: 70vh;
  overflow: hidden;
}
.manifesto__mark{
  position: absolute; top: 50%; left: 50%;
  width: min(60vw, 760px);
  transform: translate(-50%,-50%);
  opacity: .05;
  pointer-events: none;
}
.manifesto__text{
  position: relative;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.4rem, 7.4vw, 6.4rem);
  line-height: 1.05; text-align: center;
  max-width: 16ch;
}
.manifesto__text em{ font-weight: 400; }

/* =========================================================
   APPROACH
   ========================================================= */
.approach{ padding: clamp(5rem,10vw,8rem) var(--gutter); text-align: center; }
.approach__flow{
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 1.75rem);
}
.approach__step{ display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.approach__word{
  font-family: var(--font-sans); font-weight: 600;
  font-size: clamp(1.05rem, 2.3vw, 1.6rem);
  letter-spacing: .04em; text-transform: uppercase;
}
.approach__desc{
  font-size: .78rem; color: var(--warm-gray-2); letter-spacing: .02em;
}
.approach__arrow{ color: var(--gold); font-size: 1.1rem; opacity: .7; }

@media (max-width: 720px){
  .approach__flow{ flex-direction: column; }
  .approach__arrow{ transform: rotate(90deg); }
}

/* =========================================================
   CTA
   ========================================================= */
.cta{
  padding: clamp(6rem,14vw,10rem) var(--gutter);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.cta__title{
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.4rem, 7.4vw, 6rem);
  line-height: 1.04;
}
.cta__title em{ font-weight: 400; }

.cta__button{
  margin-top: clamp(2.5rem,6vw,4rem);
  display: inline-flex; align-items: center; gap: .9rem;
  padding: 1.1rem 2.1rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ivory);
  overflow: hidden;
  position: relative;
}
.cta__button-text, .cta__button-arrow{ position: relative; z-index: 1; transition: color .5s var(--ease-soft); }
.cta__button-arrow{ transition: transform .5s var(--ease); }
.cta__button::before{
  content:''; position: absolute; inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  transition: transform .5s var(--ease);
}
.cta__button:hover::before{ transform: translateX(0); }
.cta__button:hover .cta__button-text, .cta__button:hover .cta__button-arrow{ color: var(--ink); }
.cta__button:hover .cta__button-arrow{ transform: translateX(4px); }

.cta__logo{ margin-top: clamp(4rem,10vw,6.5rem); width: clamp(120px,18vw,180px); opacity: .85; }

/* =========================================================
   PAGE HERO (secondary pages, e.g. Contact)
   ========================================================= */
.page-hero{
  min-height: 62svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 3.5rem) var(--gutter) 4.5rem;
  overflow: hidden;
}
.page-hero__mark{
  position: absolute; top: 50%; right: -9%;
  width: min(32vw, 440px);
  transform: translateY(-50%);
  opacity: .3;
  pointer-events: none;
}
.page-hero__mark img{ width: 100%; }
.page-hero__inner{ position: relative; max-width: 1560px; margin: 0 auto; width: 100%; }
.page-hero__title{
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.6rem, 6.6vw, 5.4rem);
  line-height: 1.03; letter-spacing: -.01em; text-transform: uppercase;
  max-width: 16ch;
}
@media (max-width: 720px){
  .page-hero__mark{ width: 64vw; right: -20%; opacity: .22; }
}

/* =========================================================
   CONTACT — form + info
   ========================================================= */
.contact{ padding: clamp(4rem,8vw,6.5rem) var(--gutter) clamp(6rem,10vw,8rem); }
.contact__grid{
  max-width: 1560px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(3rem,6vw,6rem);
  align-items: start;
}

.form{ display: flex; flex-direction: column; gap: clamp(1.5rem,3vw,2rem); }
.form__row{
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem,3vw,2rem);
}
.field{ display: flex; flex-direction: column; gap: .6rem; }
.field label{
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--warm-gray-2);
}
.field input, .field select, .field textarea{
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-light);
  padding: .65rem 0;
  border-radius: 0;
  transition: border-color .35s var(--ease-soft);
}
.budget-menu{ position: relative; }
.budget-menu__trigger{
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: .78rem .9rem;
  border: 1px solid var(--line-light);
  border-radius: .45rem;
  background: color-mix(in srgb, var(--ivory) 88%, var(--gold) 12%);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .25s var(--ease-soft), background .25s var(--ease-soft);
}
.budget-menu__trigger:hover, .budget-menu.is-open .budget-menu__trigger{ border-color: var(--gold); }
.budget-menu__trigger:focus-visible{ outline: 2px solid var(--gold); outline-offset: 3px; }
.budget-menu__arrow{ color: var(--gold-soft); font-size: 1.15rem; transition: transform .25s var(--ease-soft); }
.budget-menu.is-open .budget-menu__arrow{ transform: rotate(180deg); }
.budget-menu__options{
  position: absolute; z-index: 5; top: calc(100% + .45rem); left: 0; right: 0;
  display: none; overflow: hidden;
  border: 1px solid var(--line-light); border-radius: .45rem;
  background: var(--ivory); box-shadow: 0 .75rem 2rem rgba(25, 22, 18, .1);
}
.budget-menu.is-open .budget-menu__options{ display: block; }
.budget-menu__options button{
  width: 100%; padding: .72rem .9rem; border: 0; border-bottom: 1px solid var(--line-light);
  background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer;
  transition: background .2s var(--ease-soft), color .2s var(--ease-soft);
}
.budget-menu__options button:last-child{ border-bottom: 0; }
.budget-menu__options button:hover, .budget-menu__options button:focus-visible{ background: var(--ink); color: var(--ivory); outline: 0; }
.field textarea{ resize: vertical; min-height: 7rem; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder{ color: var(--warm-gray); opacity: .7; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none; border-color: var(--gold);
}

.contact-preference{
  border: 0;
  padding: 0;
  margin: 0;
}
.contact-preference legend{
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--warm-gray-2);
  margin-bottom: .85rem;
}
.contact-preference__options{ display: flex; flex-wrap: wrap; gap: .65rem; }
.contact-preference__option{ cursor: pointer; }
.contact-preference__option input{ position: absolute; opacity: 0; pointer-events: none; }
.contact-preference__option span{
  display: block;
  padding: .65rem .9rem;
  border: 1px solid var(--line-light);
  font-size: .8rem;
  letter-spacing: .04em;
  transition: color .25s var(--ease-soft), background .25s var(--ease-soft), border-color .25s var(--ease-soft);
}
.contact-preference__option input:checked + span{
  background: var(--ink); border-color: var(--ink); color: var(--ivory);
}
.contact-preference__option input:focus-visible + span{ outline: 2px solid var(--gold); outline-offset: 3px; }

.form__submit{
  align-self: flex-start;
  margin-top: .5rem;
  border-color: var(--ink);
  color: var(--ink);
}
.form__submit::before{ background: var(--ink); }
.form__submit:hover .cta__button-text, .form__submit:hover .cta__button-arrow{ color: var(--ivory); }

.form__note{
  font-size: .85rem; color: var(--warm-gray-2);
  transition: opacity .4s var(--ease-soft);
}
.form__note a{ color: var(--gold-soft); border-bottom: 1px solid var(--line-light); }
.form.is-sent .field, .form.is-sent .form__submit{ opacity: .35; pointer-events: none; }

.contact-info{
  display: flex; flex-direction: column; gap: clamp(2.25rem,5vw,3rem);
  padding-top: clamp(.25rem, 1vw, .5rem);
}
.contact-info__block .eyebrow{ margin-bottom: 1rem; }
.contact-info__text{
  font-size: 1rem; line-height: 1.65; color: var(--warm-gray-2);
}
.contact-info__text a{ color: var(--ink); }
.contact-info__text a:hover{ color: var(--gold-soft); }

.process-mini{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .85rem; }
.process-mini li{
  display: flex; gap: .9rem; align-items: baseline;
  font-size: .92rem; color: var(--warm-gray-2);
  padding-bottom: .85rem; border-bottom: 1px solid var(--line-light);
}
.process-mini li:last-child{ border-bottom: none; padding-bottom: 0; }
.process-mini li span{ font-size: .76rem; color: var(--gold-soft); letter-spacing: .06em; }

@media (max-width: 860px){
  .contact__grid{ grid-template-columns: 1fr; }
  .form__row{ grid-template-columns: 1fr; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer{ padding: clamp(2.5rem,5vw,3.5rem) var(--gutter) 2rem; }
.footer__top{
  max-width: 1560px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem;
  padding-bottom: 2rem; border-bottom: 1px solid var(--line-dark);
}
.footer__brand{
  font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .06em;
}
.footer__nav{ display: flex; gap: clamp(1.25rem,3vw,2.25rem); font-size: .85rem; }
.footer__nav a, .footer__contact a{ color: var(--warm-gray); transition: color .3s; }
.footer__nav a:hover, .footer__contact a:hover{ color: var(--gold); }
.footer__contact{ display: flex; gap: clamp(1.25rem,3vw,2.25rem); font-size: .85rem; }

.footer__bottom{
  max-width: 1560px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  padding-top: 1.5rem;
  font-size: .76rem; letter-spacing: .03em; color: var(--warm-gray-2);
}

@media (max-width: 600px){
  .footer__top{ flex-direction: column; align-items: flex-start; }
  .footer__bottom{ flex-direction: column; }
}

/* =========================================================
   LOAD-IN SEQUENCE
   ========================================================= */
body:not(.is-loaded) [data-reveal]{ transition-delay: 0s !important; }
