/* ==========================================================================
   INTERIOR STUDIO — STYLESHEET
   --------------------------------------------------------------------------
   1.  Design tokens (colours, type, spacing)
   2.  Base & reset
   3.  Utilities & shared components (container, eyebrow, buttons, links)
   4.  Header & navigation
   5.  Mobile menu
   6.  Hero
   7.  About — statement & philosophy
   8.  Services
   9.  Selected interiors (gallery)
   10. Films (YouTube)
   11. Process
   12. Interlude
   13. Approach
   14. Testimonials
   15. Consultation form
   16. Contact
   17. Footer
   18. WhatsApp button
   19. Lightbox
   20. Scroll reveal
   21. Reduced motion
   ========================================================================== */


/* 1. DESIGN TOKENS ========================================================= */
:root {
  /* Colour — warm, quiet neutrals with a restrained brass accent */
  --color-bg: #F5F1EA;             /* warm ivory */
  --color-surface: #ECE5DA;        /* limestone */
  --color-surface-strong: #E2D8CA; /* warm beige */
  --color-panel: #FAF8F4;          /* paper, used for the form */
  --color-text: #1F1D1A;           /* soft black */
  --color-text-muted: #5F574E;     /* body copy */
  --color-text-soft: #8A7F72;      /* decorative / large text only */
  --color-taupe: #A99B8A;
  --color-walnut: #4F3F32;         /* muted brown */
  --color-accent: #A68A5B;         /* brushed brass — lines & small marks only */
  --color-accent-text: #83683F;    /* brass dark enough for text */
  --color-border: rgba(31, 29, 26, 0.13);
  --color-border-strong: rgba(31, 29, 26, 0.32);

  /* The dark bands (films, consultation, contact, footer, menu) are a deep
     warm espresso rather than a charcoal — it keeps them in the same warm
     family as the ivory and walnut, and reads richer than a near-black.
     Hairlines on dark are brass-tinted, not grey. */
  --color-dark: #31261B;           /* deep espresso */
  --color-darker: #261D14;         /* footer base */
  --color-on-dark: #F3EBE0;
  --color-on-dark-muted: rgba(243, 235, 224, 0.66);
  --color-border-dark: rgba(198, 168, 122, 0.28);

  --color-error: #9A3B2E;
  --color-success: #5D6A4E;

  /* Typography */
  --font-serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Jost", "Helvetica Neue", "Segoe UI", Arial, sans-serif;

  --fs-display: clamp(2.9rem, 1.6rem + 5vw, 6.25rem);
  --fs-h2: clamp(2.1rem, 1.5rem + 2.4vw, 3.6rem);
  --fs-h3: clamp(1.3rem, 1.15rem + 0.5vw, 1.6rem);
  --fs-lead: clamp(1.15rem, 1.05rem + 0.45vw, 1.45rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;
  --fs-label: 0.72rem;

  /* Spacing & layout */
  --container-max: 1400px;
  --container-pad: clamp(1.25rem, 4.5vw, 4rem);
  /* Vertical rhythm between sections. Kept deliberately tighter than the
     editorial default — long gaps read as dead air and make the page feel
     slow to move through. */
  --space-section: clamp(3.75rem, 2.5rem + 4.5vw, 6.5rem);
  --header-h: 84px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.24, 1);
  --ease-soft: cubic-bezier(0.45, 0, 0.2, 1);
}


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

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

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

[hidden] { display: none !important; }

h1, h2, h3, p, figure, blockquote, ol, ul, address { margin: 0; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

em { font-style: italic; }

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}
button { cursor: pointer; background: none; border: 0; padding: 0; }

::selection { background: var(--color-surface-strong); color: var(--color-text); }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

section[id] { scroll-margin-top: 0; }


/* 3. UTILITIES & SHARED COMPONENTS ========================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

.skip-link {
  position: fixed;
  top: 1rem; left: 1rem;
  z-index: 300;
  padding: 0.75rem 1.25rem;
  background: var(--color-dark);
  color: var(--color-on-dark);
  font-size: var(--fs-small);
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

.br-desktop { display: none; }
@media (min-width: 900px) { .br-desktop { display: inline; } }

/* Eyebrow / chapter label:  I ——— THE STUDIO */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.eyebrow--light { color: var(--color-on-dark-muted); }
.eyebrow--center { justify-content: center; }

.section-title {
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}
.section-head__text {
  margin-top: 1.5rem;
  max-width: 30rem;
  color: var(--color-text-muted);
}
.section-head--split { max-width: none; }

/* Centred section head (Selected Interiors) */
.section-head--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: none;
  text-align: center;
}
.section-head--center .eyebrow { margin-bottom: 0; }
.section-head--center .section-title { margin-top: 1.1rem; }

.section-intro {
  margin-top: 1.5rem;
  max-width: 46ch;
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: var(--color-text-muted);
}

@media (min-width: 900px) {
  .section-head--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 27rem);
    align-items: end;
    gap: 2rem 4rem;
  }
  .section-head--split .section-head__text { margin-top: 0; }
}

.lead {
  font-family: var(--font-serif);
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-height: 3.35rem;
  padding: 0.95rem 1.9rem;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn .icon { width: 1.1rem; height: 1.1rem; transition: transform 0.5s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }

.btn--solid { background: var(--color-dark); color: var(--color-on-dark); }
.btn--solid:hover { background: var(--color-walnut); }

.btn--light { background: var(--color-on-dark); color: var(--color-dark); }
.btn--light:hover { background: #FFFFFF; }

.btn--ghost-light { border-color: rgba(243, 235, 224, 0.42); color: var(--color-on-dark); }
.btn--ghost-light:hover { border-color: var(--color-on-dark); background: rgba(243, 235, 224, 0.08); }

.btn--outline { border-color: var(--color-border-strong); color: var(--color-text); }
.btn--outline:hover { background: var(--color-dark); border-color: var(--color-dark); color: var(--color-on-dark); }

.btn--block { width: 100%; }

/* Understated text link with a drawing underline */
.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.4rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text);
}
.text-link::before,
.text-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
}
.text-link::before { opacity: 0.25; }
.text-link::after {
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.7s var(--ease);
}
.text-link:hover::after,
.text-link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.text-link .icon { width: 1rem; height: 1rem; transition: transform 0.5s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }
.text-link--light { color: var(--color-on-dark); }
.text-link--lg { font-size: 0.8rem; }

.round-btn {
  display: inline-grid;
  place-items: center;
  width: 3.25rem; height: 3.25rem;
  border: 1px solid var(--color-border-strong);
  border-radius: 50%;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.round-btn:hover { background: var(--color-dark); border-color: var(--color-dark); color: var(--color-on-dark); }
.round-btn .icon { width: 1.1rem; height: 1.1rem; }


/* 4. HEADER & NAVIGATION =================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--color-on-dark);
  transition: transform 0.6s var(--ease), background-color 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.site-header::before {
  /* soft scrim over the hero so the transparent header always reads */
  content: "";
  position: absolute;
  inset: 0 0 -40px 0;
  background: linear-gradient(to bottom, rgba(20, 18, 15, 0.35), rgba(20, 18, 15, 0));
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--header-h);
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  transition: height 0.5s var(--ease);
}

.brand { position: relative; display: block; flex: none; }
.brand__logo {
  width: auto;
  height: 34px;
  transition: opacity 0.5s var(--ease);
}
.brand__logo--dark { position: absolute; top: 0; left: 0; opacity: 0; }

.primary-nav { display: none; }
.primary-nav__list { display: flex; gap: clamp(1.25rem, 2.2vw, 2.4rem); }
.primary-nav__link {
  position: relative;
  padding-block: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.primary-nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.15rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease);
}
.primary-nav__link:hover::after,
.primary-nav__link.is-current::after { transform: scaleX(1); transform-origin: left; }

.site-header__actions { display: flex; align-items: center; gap: 1.25rem; }

.btn--header {
  display: none;
  min-height: 2.75rem;
  padding: 0.7rem 1.35rem;
  border-color: currentColor;
  font-size: 0.7rem;
}
.btn--header:hover { background: var(--color-on-dark); border-color: var(--color-on-dark); color: var(--color-dark); }

.header-enquire {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.4s var(--ease);
}

.menu-toggle {
  position: relative;
  width: 44px; height: 44px;
  margin-right: -10px;
}
.menu-toggle__line {
  position: absolute;
  left: 10px; right: 10px;
  height: 1px;
  background: currentColor;
  transition: transform 0.6s var(--ease), top 0.6s var(--ease);
}
.menu-toggle__line:nth-of-type(2) { top: 18px; }
.menu-toggle__line:nth-of-type(3) { top: 25px; }

/* Scrolled state */
.site-header.is-scrolled {
  background: rgba(245, 241, 234, 0.94);
  color: var(--color-text);
  box-shadow: 0 1px 0 var(--color-border);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.site-header.is-scrolled .site-header__inner { height: 70px; }
.site-header.is-scrolled::before,
.site-header.is-menu-open::before { opacity: 0; }
.site-header.is-scrolled .brand__logo--light,
.site-header.is-menu-open .brand__logo--light { opacity: 0; }
.site-header.is-scrolled .brand__logo--dark,
.site-header.is-menu-open .brand__logo--dark { opacity: 1; }
.site-header.is-scrolled .btn--header:hover { background: var(--color-dark); border-color: var(--color-dark); color: var(--color-on-dark); }

.site-header.is-hidden { transform: translateY(-100%); }

/* Menu open state */
.site-header.is-menu-open { color: var(--color-text); background: transparent; box-shadow: none; }
.site-header.is-menu-open .header-enquire { opacity: 0; pointer-events: none; }
.site-header.is-menu-open .menu-toggle__line:nth-of-type(2) { top: 21.5px; transform: rotate(45deg); }
.site-header.is-menu-open .menu-toggle__line:nth-of-type(3) { top: 21.5px; transform: rotate(-45deg); }

@media (min-width: 1100px) {
  .primary-nav { display: block; }
  .btn--header { display: inline-flex; }
  .header-enquire,
  .menu-toggle { display: none; }
}
@media (max-width: 480px) {
  .brand__logo { height: 28px; }
  .site-header__actions { gap: 1rem; }
}
@media (max-width: 345px) {
  .header-enquire { display: none; }
}


/* 5. MOBILE MENU =========================================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  background: var(--color-bg);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease-soft), visibility 0s linear 0.8s;
}
.mobile-menu.is-open {
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.8s var(--ease-soft), visibility 0s;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  width: 100%;
  padding: calc(var(--header-h) + 2rem) var(--container-pad) 2rem;
  overflow-y: auto;
}

.mobile-menu__list { border-top: 1px solid var(--color-border); }
.mobile-menu__list li { border-bottom: 1px solid var(--color-border); }
.mobile-menu__link {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 0.85rem 0;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 7vw, 2.6rem);
  font-weight: 300;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.3s;
}
.mobile-menu.is-open .mobile-menu__link { opacity: 1; transform: none; }
.mobile-menu.is-open li:nth-child(1) .mobile-menu__link { transition-delay: 0.25s; }
.mobile-menu.is-open li:nth-child(2) .mobile-menu__link { transition-delay: 0.3s; }
.mobile-menu.is-open li:nth-child(3) .mobile-menu__link { transition-delay: 0.35s; }
.mobile-menu.is-open li:nth-child(4) .mobile-menu__link { transition-delay: 0.4s; }
.mobile-menu.is-open li:nth-child(5) .mobile-menu__link { transition-delay: 0.45s; }
.mobile-menu.is-open li:nth-child(6) .mobile-menu__link { transition-delay: 0.5s; }
.mobile-menu__link:hover { color: var(--color-walnut); }

.mobile-menu__footer {
  display: grid;
  gap: 1.5rem;
  opacity: 0;
  transition: opacity 0.6s var(--ease) 0.2s;
}
.mobile-menu.is-open .mobile-menu__footer { opacity: 1; transition-delay: 0.55s; }
.mobile-menu__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

@media (min-width: 1100px) { .mobile-menu { display: none; } }


/* 6. HERO ================================================================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--color-dark);
  color: var(--color-on-dark);
}

.hero__media {
  position: absolute;
  inset: 0 0 -12% 0;
  will-change: transform;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-settle 2.8s var(--ease) both;
}
@keyframes hero-settle {
  from { transform: scale(1.07); }
  to { transform: scale(1); }
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(18, 16, 13, 0.78) 0%, rgba(18, 16, 13, 0.38) 38%, rgba(18, 16, 13, 0.08) 65%, rgba(18, 16, 13, 0.18) 100%),
    linear-gradient(to right, rgba(18, 16, 13, 0.35), rgba(18, 16, 13, 0) 60%);
}

.hero__content {
  position: relative;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(2.5rem, 7vh, 4.5rem);
}
.hero__label {
  margin-bottom: 1.75rem;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-on-dark-muted);
}
.hero__title {
  max-width: 11ch;
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero__title em { font-weight: 300; }
.hero__text {
  max-width: 34rem;
  margin-top: 1.75rem;
  font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.15rem);
  line-height: 1.7;
  color: rgba(243, 235, 224, 0.84);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.5rem;
}

.hero__meta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-block: 1.35rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-on-dark-muted);
}
.hero__meta::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--container-pad);
  right: var(--container-pad);
  height: 1px;
  background: var(--color-border-dark);
}
.hero__meta-rule { flex: 1; }

/* Entrance — CSS only, so the hero appears instantly without JS */
.hero-anim {
  opacity: 0;
  transform: translateY(20px);
  animation: rise 1.3s var(--ease) forwards;
}
.hero__label.hero-anim { animation-delay: 0.3s; }
.hero__title.hero-anim { animation-delay: 0.45s; }
.hero__text.hero-anim { animation-delay: 0.65s; }
.hero__actions.hero-anim { animation-delay: 0.8s; }
.hero__meta.hero-anim { animation-delay: 1.05s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__meta span:last-child { display: none; }
}

/* Short screens — a 768-line laptop with its browser bar, an iPhone in
   Safari, a small Android. The hero is meant to fit one screen so the
   "Bengaluru · Mysuru · Mandya" strip along the bottom is seen without
   scrolling. Only the vertical gaps shrink; type sizes, the photograph and
   everything on a taller screen are untouched. */
@media (max-height: 760px) {
  .hero__content {
    padding-top: calc(var(--header-h) + 1rem);
    padding-bottom: 1.5rem;
  }
  .hero__label { margin-bottom: 0.9rem; }
  .hero__text { margin-top: 1rem; }
  .hero__actions { margin-top: 1.4rem; gap: 0.7rem; }
  .hero__meta { padding-block: 1rem; }
}

/* The smallest phones (iPhone SE and similar, about 570px tall): the gaps
   alone are not enough, so the paragraph steps down one size as well. */
@media (max-height: 600px) {
  .hero__text { font-size: 0.95rem; line-height: 1.55; margin-top: 0.8rem; }
  .hero__label { margin-bottom: 0.7rem; }
  .hero__actions { margin-top: 1.1rem; }
}


/* 7. ABOUT — STATEMENT & PHILOSOPHY ======================================== */
.about {
  padding-top: clamp(3rem, 4.5vw, 4.75rem);
  background: var(--color-bg);
  overflow-x: clip;
}

/* --- Our Approach (brand statement) ------------------------------------- */
.statement__grid {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.statement__label {
  margin-bottom: 0;
  padding-top: 0.7rem;
}

.statement__title {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.08;
  max-width: 16ch;
}

.statement__copy {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1.25rem, 2.6vw, 2.5rem);
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  max-width: 62rem;
  font-size: 1.0625rem;
  color: var(--color-text-muted);
}

@media (max-width: 1024px) {
  .statement__grid { grid-template-columns: 1fr; }
  .statement__label { padding-top: 0; }
}

/* --- Our Philosophy ------------------------------------------------------ */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: center;
  margin-top: clamp(3rem, 4.5vw, 4.75rem);
  padding-bottom: var(--space-section);
}

.about__media {
  margin: 0;
  overflow: hidden;
  background: var(--color-surface);
}
.about__media img {
  width: 100%;
  /* The team photograph's own 4:3, uncropped — it keeps every face and the
     room being worked on behind them. Any tighter ratio loses one or the
     other. */
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1400ms var(--ease);
}
.about__media:hover img { transform: scale(1.03); }

.about__content .eyebrow { margin-bottom: 0; }
.about__content .section-title { margin-top: 1.1rem; }

.about__lead {
  margin-top: 1.9rem;
  max-width: 44ch;
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: var(--color-text-muted);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 0;
  margin: clamp(2.2rem, 4vw, 3rem) 0 0;
  border-top: 1px solid var(--color-border);
}
.pillar {
  padding: 1.35rem 1.4rem 1.35rem 0;
  border-bottom: 1px solid var(--color-border);
}
.pillar dt {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  color: var(--color-text);
}
.pillar dd {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.8rem;
  padding: 0 0 0.4rem;
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border-strong);
  transition: color 260ms var(--ease),
              border-color 260ms var(--ease),
              gap 260ms var(--ease);
}
.link-arrow:hover,
.link-arrow:focus-visible {
  gap: 0.9rem;
  color: var(--color-accent-text);
  border-color: var(--color-accent);
}

/* The team photograph is a supporting image, not a hero. It used to bleed off
   the left edge of the page, which made it the loudest thing in the section
   and pushed the copy aside. It now sits inside the grid and is capped well
   below its column width so the writing leads. */
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr); }
  .about__media { max-width: 26rem; }
}

@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  /* Full width on a phone, but capped on tablets so it does not tower over
     the paragraph beneath it. */
  .about__media { max-width: 30rem; }
}

@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { padding-right: 0; }
}


/* 8. SERVICES ============================================================== */
.services {
  padding-block: var(--space-section);
  background: var(--color-surface);
}

.services__preview { display: none; }

.services__list { border-top: 1px solid var(--color-border-strong); }

.service {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  padding-block: clamp(2rem, 3.5vw, 2.6rem);
  border-bottom: 1px solid var(--color-border);
}
.service::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--color-text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease);
}

.service__media {
  grid-column: 1 / -1;
  margin-bottom: 1.75rem;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--color-surface-strong);
}
.service__media img { width: 100%; height: 100%; object-fit: cover; }

.service__num {
  padding-top: 0.55rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--color-text-soft);
  transition: color 0.6s var(--ease);
}
.service__title {
  font-size: clamp(1.65rem, 1.25rem + 1.3vw, 2.35rem);
  transition: transform 0.8s var(--ease);
}
.service__text {
  max-width: 34rem;
  margin-top: 0.75rem;
  color: var(--color-text-muted);
}
.service .text-link { margin-top: 1.4rem; }

@media (min-width: 1024px) {
  .services__layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(3rem, 7vw, 8rem);
    align-items: start;
  }
  .service { grid-template-columns: 4.5rem minmax(0, 1fr); }

  /* With JS: images move into the sticky preview frame */
  .js .services__preview {
    position: sticky;
    top: calc(70px + 2.5rem);
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--color-surface-strong);
  }
  .js .service__media { display: none; }
  .services__preview img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1s var(--ease), transform 1.8s var(--ease);
  }
  .services__preview img.is-active { opacity: 1; transform: scale(1); }

  .service.is-active::after { transform: scaleX(1); }
  .service.is-active .service__num { color: var(--color-accent-text); }
  .service.is-active .service__title { transform: translateX(0.5rem); }
  .service .text-link { opacity: 0.55; transition: opacity 0.6s var(--ease); }
  .service.is-active .text-link { opacity: 1; }
}


/* 9. SELECTED INTERIORS — GALLERY ==========================================
   The layout is a repeating editorial rhythm. It adapts automatically to
   any number of photographs — no sizes need to be set per image.
   ========================================================================== */
.work {
  padding-block: var(--space-section);
  background: var(--color-bg);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 14vw;
  gap: clamp(0.5rem, 1.3vw, 1.25rem);
}

.gallery > * {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--color-surface);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile & tablet rhythm: one wide image, then two side by side */
@media (max-width: 1023px) {
  .gallery > *:nth-child(3n + 1) { grid-column: span 6; grid-row: span 4; }
  .gallery > *:nth-child(3n + 2),
  .gallery > *:nth-child(3n + 3) { grid-column: span 3; grid-row: span 4; }
  /* a single photo left over at the end spans the full width */
  .gallery > *:nth-child(3n + 2):last-child { grid-column: span 6; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .gallery { grid-auto-rows: 9vw; }
  .gallery > *:nth-child(3n + 1) { grid-row: span 5; }
  .gallery > *:nth-child(3n + 2),
  .gallery > *:nth-child(3n + 3) { grid-row: span 6; }
  .gallery > *:nth-child(3n + 2):last-child { grid-row: span 5; }
}

/* Desktop rhythm (repeats every 8 photos):
   [ wide feature ][ tall ]      [ tall ][ wide feature ]
   [ small ][ med ][ tall ]      [ tall ][ med ][ small ]            */
@media (min-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: clamp(56px, 5.4vw, 92px);
  }
  .gallery > *:nth-child(8n + 1) { grid-column: span 7; grid-row: span 5; }
  .gallery > *:nth-child(8n + 2) { grid-column: span 5; grid-row: span 8; }
  .gallery > *:nth-child(8n + 3) { grid-column: span 3; grid-row: span 3; }
  .gallery > *:nth-child(8n + 4) { grid-column: span 4; grid-row: span 3; }
  .gallery > *:nth-child(8n + 5) { grid-column: span 5; grid-row: span 8; }
  .gallery > *:nth-child(8n + 6) { grid-column: span 7; grid-row: span 5; }
  .gallery > *:nth-child(8n + 7) { grid-column: span 4; grid-row: span 3; }
  .gallery > *:nth-child(8n + 8) { grid-column: span 3; grid-row: span 3; }

  /* Tidy endings when the total isn't a multiple of 4 */
  .gallery > *:nth-child(4n + 1):last-child { grid-column: 1 / -1; grid-row: span 7; }
  .gallery > *:nth-child(4n + 1):nth-last-child(2),
  .gallery > *:nth-child(4n + 2):last-child { grid-column: span 6; grid-row: span 5; }
  .gallery > *:nth-child(4n + 1):nth-last-child(3),
  .gallery > *:nth-child(4n + 2):nth-last-child(2),
  .gallery > *:nth-child(4n + 3):last-child { grid-column: span 4; grid-row: span 4; }
}

/* Collapsed state — the first 8 photographs only, until "see all" is pressed.
   The :nth-child number below is VISIBLE_COUNT + 1 in js/gallery.js. Change
   one and you must change the other. */
.gallery.is-collapsed { position: relative; }
.gallery.is-collapsed > *:nth-child(n + 9) { display: none; }

/* Soft fade off the last visible row, so it reads as "there is more here"
   rather than as the end of the gallery. */
.gallery.is-collapsed::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: clamp(70px, 10vw, 120px);
  background: linear-gradient(to bottom, rgba(245, 241, 234, 0), var(--color-bg));
  pointer-events: none;
}

/* The 8th tile would otherwise leave a hole where the 9th sits on narrow
   screens, so it takes the full-width treatment the real last child gets. */
@media (max-width: 1023px) {
  .gallery.is-collapsed > *:nth-child(8) { grid-column: span 6; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .gallery.is-collapsed > *:nth-child(8) { grid-row: span 5; }
}

.gallery-more {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

/* Interactive tile (added by gallery.js) */
.gallery__item {
  cursor: zoom-in;
  isolation: isolate;
}
.gallery__item img {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.2s var(--ease), transform 1.6s var(--ease);
}
.gallery__item img.is-loaded { opacity: 1; transform: scale(1); }
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(24, 21, 18, 0);
  transition: background-color 0.8s var(--ease);
}
.gallery__item:hover img.is-loaded { transform: scale(1.035); }
.gallery__item:hover::after { background: rgba(24, 21, 18, 0.12); }
.gallery__item:focus-visible { outline-offset: 4px; }

/* Small "view" mark in the corner on hover */
.gallery__view {
  position: absolute;
  right: 1rem; bottom: 1rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.5rem; height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  color: #FFFFFF;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.gallery__view::before,
.gallery__view::after {
  content: "";
  position: absolute;
  width: 12px; height: 1px;
  background: currentColor;
}
.gallery__view::after { transform: rotate(90deg); }
.gallery__item:hover .gallery__view,
.gallery__item:focus-visible .gallery__view { opacity: 1; transform: none; }

@media (hover: none) { .gallery__view { display: none; } }

.work__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
}
.work__cta p {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.85rem);
  font-weight: 300;
  font-style: italic;
}


/* 9b. PROOF — site & finished-home visits ==================================
   Sits on the limestone surface so it breaks the ivory rhythm and catches
   the eye straight after the gallery. Deliberately narrow: this section is
   meant to be read, not skimmed.
   ========================================================================== */
.proof {
  padding-block: var(--space-section);
  background: var(--color-surface);
}
.proof__inner { max-width: 52rem; }

/* Deliberately larger than every other heading on the page. One genuine jump
   in scale does more for the page than decorating every section equally. */
.proof .section-title {
  margin-top: 1.1rem;
  font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.proof .eyebrow { margin-bottom: 0; }

.proof__lead {
  margin-top: clamp(1.1rem, 2vw, 1.5rem);
  font-family: var(--font-serif);
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-text);
}

/* The two visits, as steps rather than paragraphs — same recipe as
   .process__step (serif numeral, rule, short title, muted text) so it reads
   as part of the same design language, but only two columns and a heavier
   rule, since two large steps carry more visual weight than five small ones. */
.visits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.visit {
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border-strong);
}
.visit__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 300;
  line-height: 1;
  color: var(--color-accent);
}
.visit__title {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: 400;
}
.visit__text {
  margin-top: 0.65rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* The reciprocity admission — set apart from the two visits above rather
   than tacked on as a third paragraph, since it is answering a different
   question ("what do you want from me") and reads better as an aside.
   Keep it: the acknowledgment that clients often decline is what makes the
   rest of the offer believable. */
.proof__ask {
  max-width: 34rem;
  margin-top: clamp(2.25rem, 4vw, 3rem);
  padding-left: 1.25rem;
  border-left: 2px solid var(--color-border-strong);
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.proof__cta { margin-top: clamp(2.25rem, 4.5vw, 3rem); }

@media (max-width: 640px) {
  .visits { grid-template-columns: 1fr; gap: 2rem; }
}


/* 10. FILMS ================================================================ */
.films {
  padding-block: var(--space-section);
  background: var(--color-dark);
  color: var(--color-on-dark);
}
.films .section-head__text { color: var(--color-on-dark-muted); }

.films__grid {
  display: grid;
  gap: clamp(2.5rem, 4vw, 3rem) clamp(1.25rem, 2.5vw, 2.25rem);
}

.film__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #2A2622;
}
.film__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.film__poster-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  cursor: pointer;
}
.film__poster-btn--static { cursor: default; }
.film__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.72);
  transform: scale(1.001);
  transition: transform 1.6s var(--ease), filter 1s var(--ease);
}
.film__poster-btn:hover .film__poster { transform: scale(1.04); filter: saturate(0.9) brightness(0.82); }

.film__placeholder {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(166, 138, 91, 0.16), transparent 60%),
    linear-gradient(160deg, #36312B, #1F1C18);
}
.film__placeholder-text {
  position: absolute;
  left: 1.25rem; bottom: 1.1rem;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-on-dark-muted);
}

.film__play {
  position: relative;
  display: grid;
  place-items: center;
  width: 4.25rem; height: 4.25rem;
  border: 1px solid rgba(243, 235, 224, 0.6);
  border-radius: 50%;
  color: var(--color-on-dark);
  transition: background-color 0.6s var(--ease), color 0.6s var(--ease), transform 0.8s var(--ease), border-color 0.6s var(--ease);
}
.film__play .icon { width: 1.1rem; height: 1.1rem; margin-left: 3px; }
.film__poster-btn:hover .film__play,
.film__poster-btn:focus-visible .film__play {
  background: var(--color-on-dark);
  border-color: var(--color-on-dark);
  color: var(--color-dark);
  transform: scale(1.05);
}
@media (min-width: 900px) {
  .film--featured .film__play { width: 5.75rem; height: 5.75rem; }
  .film--featured .film__play .icon { width: 1.35rem; height: 1.35rem; }
}

.film__caption {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-dark);
}
.film__index {
  flex: none;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-on-dark-muted);
}
.film__title {
  font-size: clamp(1.2rem, 1.1rem + 0.35vw, 1.4rem);
  font-weight: 300;
}
.film--featured .film__title { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); }

.films__more { margin-top: clamp(2rem, 3.5vw, 2.75rem); }

@media (min-width: 900px) {
  .films__grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: start;
  }
  .film--featured { grid-row: span 2; }
}


/* 11. PROCESS ============================================================== */
.process {
  padding-block: clamp(3.25rem, 5.5vw, 5.5rem);
  background: var(--color-bg);
}

.process .section-head {
  max-width: none;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}
.process .section-head .eyebrow { margin-bottom: 0; }
.process .section-head .section-title {
  margin-top: 1.1rem;
  line-height: 1.14;
}

.process__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.process__step {
  padding-top: 1.6rem;
  border-top: 1px solid var(--color-border-strong);
}

.process__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 300;
  line-height: 1;
  color: var(--color-accent);
}

.process__title {
  margin-top: 1.1rem;
  font-size: 1.4rem;
  font-weight: 400;
}

.process__text {
  margin-top: 0.7rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

@media (max-width: 1200px) {
  .process__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .process { padding-block: clamp(4rem, 13vw, 5.5rem); }
  .process__list { grid-template-columns: 1fr; gap: 0; }
  .process__step {
    padding-block: 1.5rem 0;
    border-top: 1px solid var(--color-border);
  }
  .process__step:first-child { border-top-color: var(--color-border-strong); }
  .process__num { font-size: 1.5rem; }
  .process__title { margin-top: 0.6rem; }
}


/* 12. INTERLUDE ============================================================ */
.interlude {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(420px, 78vh, 780px);
  overflow: hidden;
  background: var(--color-dark);
  color: var(--color-on-dark);
}
.interlude__media {
  position: absolute;
  inset: -12% 0;
  will-change: transform;
}
.interlude__media img { width: 100%; height: 100%; object-fit: cover; }
.interlude__shade { position: absolute; inset: 0; background: rgba(18, 16, 13, 0.42); }
.interlude__quote {
  position: relative;
  text-align: center;
}
.interlude__quote p {
  max-width: 19ch;
  margin-inline: auto;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 1.3rem + 3vw, 4rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}


/* 13. APPROACH ============================================================= */
.approach {
  padding-block: var(--space-section);
  background: var(--color-surface);
}
.approach__head { margin-bottom: clamp(2.25rem, 4vw, 3rem); }

.approach__list {
  display: grid;
  gap: 2.25rem;
}
.quality {
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border-strong);
}
.quality__title {
  margin-bottom: 0.65rem;
  font-size: var(--fs-h3);
  font-weight: 400;
}
.quality p { font-size: 0.98rem; color: var(--color-text-muted); }

@media (min-width: 640px) {
  .approach__list { grid-template-columns: 1fr 1fr; gap: 3rem 2.5rem; }
}
@media (min-width: 1024px) {
  .approach__layout {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: clamp(3rem, 7vw, 8rem);
    align-items: start;
  }
  .approach__head { position: sticky; top: calc(70px + 3rem); margin-bottom: 0; }
  .approach__list { gap: 3.5rem 3rem; }
}


/* 14. TESTIMONIALS ========================================================= */
.testimonials {
  padding-block: var(--space-section);
  background: var(--color-bg);
}
.testimonials__inner { max-width: 60rem; text-align: center; }

.testimonials__mark {
  display: block;
  height: 3.25rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-serif);
  font-size: 7rem;
  line-height: 1;
  color: var(--color-accent);
}

.testimonial + .testimonial { margin-top: 4rem; }
.testimonial__quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2.4rem);
  line-height: 1.38;
  letter-spacing: -0.005em;
}
.testimonial__cite {
  display: grid;
  gap: 0.3rem;
  margin-top: 2.25rem;
}
.testimonial__name {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.testimonial__role {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-text-muted);
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  margin-top: 3rem;
}
.testimonials__count {
  min-width: 3.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}

/* With JS: a gentle cross-fade between quotes */
.js .testimonials__slider {
  display: grid;
  grid-template-areas: "mark" "stack" "controls";
}
.js .testimonials__mark { grid-area: mark; }
.js .testimonials__controls { grid-area: controls; }
.js .testimonial {
  grid-area: stack;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), visibility 0s linear 0.9s;
}
.js .testimonial.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.9s var(--ease) 0.15s, transform 0.9s var(--ease) 0.15s, visibility 0s;
}


/* 15. CONSULTATION FORM ==================================================== */
.consultation {
  padding-block: var(--space-section);
  background: var(--color-surface);
}

.consultation__layout {
  display: grid;
  gap: clamp(3rem, 6vw, 4rem);
}

.consultation__lead {
  margin-top: 1.5rem;
  max-width: 30rem;
  color: var(--color-text-muted);
}

.next-steps {
  display: grid;
  margin-top: 2.5rem;
  border-top: 1px solid var(--color-border);
  max-width: 30rem;
}
.next-steps li {
  display: flex;
  gap: 1.25rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.98rem;
}
.next-steps span {
  flex: none;
  width: 1.75rem;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-accent-text);
}

.consultation__direct {
  display: grid;
  justify-items: start;
  gap: 0.35rem;
  margin-top: 2.5rem;
}
.consultation__direct-label {
  margin-bottom: 0.35rem;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.consultation__direct a {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 300;
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease);
}
.consultation__direct a:hover { border-color: currentColor; }

.consultation__panel {
  position: relative;
  padding: clamp(1.75rem, 5vw, 3.75rem);
  background: var(--color-panel);
  box-shadow: 0 1px 0 var(--color-border), 0 30px 60px -40px rgba(40, 32, 24, 0.25);
}

@media (min-width: 1024px) {
  .consultation__layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
  }
  .consultation__intro { position: sticky; top: calc(70px + 3rem); }
}

.form-grid {
  display: grid;
  gap: 1.9rem 2.25rem;
}
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}

.field { display: grid; align-content: start; gap: 0.2rem; }
.field__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  min-height: 1.35rem;
  line-height: 1.35rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.field__optional {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-text-soft);
}
.field__input {
  width: 100%;
  min-height: 3rem;
  padding: 0.6rem 0;
  border: 0;
  border-bottom: 1px solid var(--color-border-strong);
  border-radius: 0;
  background: transparent;
  font-size: 1.02rem;
  color: var(--color-text);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field__input::placeholder { color: var(--color-text-soft); opacity: 1; }
.field__input:hover { border-bottom-color: var(--color-text-muted); }
.field__input:focus {
  outline: none;
  border-bottom-color: var(--color-text);
  box-shadow: 0 1px 0 0 var(--color-text);
}
.field__input:focus-visible { outline: none; }
.field__input--area { min-height: 7.5rem; resize: vertical; line-height: 1.6; }

.select { position: relative; }
.select::after {
  content: "";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  width: 7px; height: 7px;
  border-right: 1px solid var(--color-text-muted);
  border-bottom: 1px solid var(--color-text-muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select .field__input { padding-right: 1.75rem; cursor: pointer; }
/* Show "Select" in a softer tone until a choice is made */
.select select:invalid,
.select select.is-empty { color: var(--color-text-soft); }
.select select option { color: var(--color-text); }

.field__error {
  min-height: 0;
  font-size: 0.82rem;
  color: var(--color-error);
}
.field__error:empty { display: none; }
.field.is-invalid .field__input { border-bottom-color: var(--color-error); box-shadow: 0 1px 0 0 var(--color-error); }

.form-status {
  margin-top: 2rem;
  padding: 1rem 1.15rem;
  border-left: 2px solid var(--color-error);
  background: rgba(154, 59, 46, 0.06);
  font-size: 0.93rem;
  color: var(--color-text);
}
.form-status a { text-decoration: underline; text-underline-offset: 3px; }

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: 2.5rem;
}
.form-privacy {
  max-width: 20rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.btn--submit { position: relative; min-width: 13rem; }
.btn__spinner {
  display: none;
  width: 1rem; height: 1rem;
  border: 1px solid rgba(243, 235, 224, 0.35);
  border-top-color: var(--color-on-dark);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
.btn--submit.is-loading { pointer-events: none; opacity: 0.85; }
.btn--submit.is-loading .btn__spinner { display: block; }
.btn--submit.is-loading .btn__icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 639px) {
  .btn--submit { width: 100%; }
}

/* Success state */
.form-success {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1rem;
  padding-block: clamp(2rem, 6vw, 4.5rem);
  animation: rise 1s var(--ease) both;
}
.form-success:focus { outline: none; }
.form-success__mark {
  position: relative;
  width: 3.5rem; height: 3.5rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--color-accent);
  border-radius: 50%;
}
.form-success__mark::after {
  content: "";
  position: absolute;
  left: 50%; top: 45%;
  width: 0.55rem; height: 1.05rem;
  border-right: 1px solid var(--color-text);
  border-bottom: 1px solid var(--color-text);
  transform: translate(-50%, -50%) rotate(45deg);
}
.form-success__title { font-size: clamp(2.2rem, 1.8rem + 1.5vw, 3rem); }
.form-success p { max-width: 26rem; color: var(--color-text-muted); font-size: 1.05rem; }
.form-success .text-link { margin-top: 1.25rem; }


/* 16. CONTACT ============================================================== */
.contact {
  padding-block: var(--space-section) clamp(3rem, 5vw, 4rem);
  background: var(--color-dark);
  color: var(--color-on-dark);
}

.contact__head {
  display: grid;
  justify-items: start;
  gap: 2.25rem;
}
.contact__head .eyebrow { margin-bottom: -0.5rem; }
.contact__title {
  max-width: 15ch;
  font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.contact__title em { color: var(--color-on-dark-muted); }

.contact__grid {
  display: grid;
  gap: 2.5rem 2rem;
  margin-top: clamp(2.75rem, 5vw, 4rem);
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border-dark);
}
.contact__item { display: grid; align-content: start; justify-items: start; gap: 0.4rem; }
.contact__item address,
.contact__item p { color: var(--color-on-dark); line-height: 1.65; }
.contact__label {
  margin-bottom: 0.6rem;
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--color-on-dark-muted);
}
/* Service area reads as a statement, not as a line of small print */
.contact__area {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
  line-height: 1.4;
  color: var(--color-on-dark);
}
.contact__hours { margin-top: 0.75rem; font-size: 0.95rem; }
.contact__hours-note {
  margin-top: 0.35rem;
  max-width: 22rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--color-on-dark-muted);
}
.contact__item .text-link { margin-top: 1rem; }
.contact__link,
.contact__social {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.contact__link:hover,
.contact__social:hover { border-color: currentColor; }
.contact__social .icon { width: 1.15rem; height: 1.15rem; color: var(--color-on-dark-muted); }

@media (min-width: 640px) {
  .contact__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .contact__head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
  .contact__head .eyebrow { grid-column: 1 / -1; }
  .contact__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}


/* 17. FOOTER =============================================================== */
.site-footer {
  padding-block: clamp(3.5rem, 6vw, 5rem) 2rem;
  background: var(--color-darker);
  color: var(--color-on-dark-muted);
  font-size: 0.93rem;
}

.site-footer__top {
  display: grid;
  gap: 2.75rem 2rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.site-footer__logo { width: auto; height: 38px; margin-bottom: 1.5rem; }
.site-footer__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--color-on-dark);
}
.site-footer__statement { max-width: 22rem; margin-top: 0.6rem; }
.site-footer__area {
  max-width: 22rem;
  margin-top: 0.9rem;
  color: var(--color-on-dark);
}
.site-footer__office { line-height: 1.6; }

.site-footer__heading {
  margin-bottom: 1.1rem;
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-on-dark);
}
.site-footer__col ul { display: grid; gap: 0.45rem; }
.site-footer a { transition: color 0.4s var(--ease); }
.site-footer a:hover { color: var(--color-on-dark); }

.site-footer__social { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.site-footer__social a {
  display: grid;
  place-items: center;
  width: 2.6rem; height: 2.6rem;
  border: 1px solid var(--color-border-dark);
  border-radius: 50%;
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.site-footer__social a:hover { border-color: var(--color-on-dark-muted); }
.site-footer__social .icon { width: 1.05rem; height: 1.05rem; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border-dark);
  font-size: 0.8rem;
}
.site-footer__top-link {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

@media (min-width: 640px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .site-footer__top { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: auto; }
}


/* 18. WHATSAPP BUTTON ====================================================== */
.whatsapp {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.75rem);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  height: 3.1rem;
  padding: 0 0.95rem;
  border: 1px solid rgba(243, 235, 224, 0.12);
  border-radius: 999px;
  background: var(--color-dark);
  color: var(--color-on-dark);
  box-shadow: 0 12px 30px -12px rgba(20, 16, 12, 0.45);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), background-color 0.4s var(--ease);
}
.whatsapp[hidden] { display: none; }
.whatsapp.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.whatsapp .icon { width: 1.25rem; height: 1.25rem; }
.whatsapp__label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: max-width 0.7s var(--ease), margin 0.7s var(--ease);
}
.whatsapp:hover { background: var(--color-walnut); }
.whatsapp:hover .whatsapp__label,
.whatsapp:focus-visible .whatsapp__label { max-width: 12rem; margin-left: 0.7rem; }
body.is-locked .whatsapp { opacity: 0; pointer-events: none; }


/* 19. LIGHTBOX ============================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  color: var(--color-on-dark);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: #14120F;
}

.lightbox {
  --lb-top: clamp(4.5rem, 9vh, 5.5rem);
  --lb-bottom: clamp(5.5rem, 12vh, 6.5rem);
  --lb-side: clamp(0.75rem, 8vw, 7.5rem);
}
.lightbox__stage {
  position: absolute;
  inset: var(--lb-top) var(--lb-side) var(--lb-bottom);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - var(--lb-top) - var(--lb-bottom));
  max-height: calc(100dvh - var(--lb-top) - var(--lb-bottom));
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: auto;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease);
}
.lightbox.is-open .lightbox__img { transform: none; }
.lightbox__img.is-changing { opacity: 0; transform: scale(0.985); }
.lightbox:not(.is-open) .lightbox__img { transform: scale(0.97); }

.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3.25rem; height: 3.25rem;
  border: 1px solid rgba(243, 235, 224, 0.24);
  border-radius: 50%;
  color: var(--color-on-dark);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.lightbox__btn:hover { background: var(--color-on-dark); border-color: var(--color-on-dark); color: var(--color-dark); }
.lightbox__btn .icon { width: 1.15rem; height: 1.15rem; }

.lightbox__close { top: clamp(1rem, 2.5vh, 1.5rem); right: clamp(1rem, 2.5vw, 1.75rem); }
.lightbox__prev,
.lightbox__next { bottom: clamp(1.25rem, 3vh, 1.75rem); }
.lightbox__prev { left: clamp(1rem, 2.5vw, 1.75rem); }
.lightbox__next { right: clamp(1rem, 2.5vw, 1.75rem); }

.lightbox__counter {
  position: absolute;
  left: 50%;
  bottom: clamp(1.25rem, 3vh, 1.75rem);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  height: 3.25rem;
  transform: translateX(-50%);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  font-variant-numeric: tabular-nums;
  color: var(--color-on-dark-muted);
}
.lightbox__counter-rule { width: 2.5rem; height: 1px; background: var(--color-border-dark); }

@media (min-width: 900px) {
  .lightbox__prev,
  .lightbox__next { top: 50%; bottom: auto; transform: translateY(-50%); }
}


/* 20. SCROLL REVEAL ======================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Image reveal: a slow curtain lift */
.js .reveal-image[data-reveal] {
  opacity: 1;
  transform: none;
  clip-path: inset(12% 0 0 0);
  transition: clip-path 1.6s var(--ease);
}
.js .reveal-image[data-reveal] img {
  transform: scale(1.12);
  transition: transform 2.2s var(--ease);
}
.js .reveal-image[data-reveal].is-visible { clip-path: inset(0 0 0 0); }
.js .reveal-image[data-reveal].is-visible img { transform: scale(1); }

/* Gallery tiles fade in gently as they arrive */
.js .gallery__item[data-reveal] { transform: translateY(18px); }


/* 21. REDUCED MOTION ======================================================= */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .hero-anim,
  .js [data-reveal],
  .js .reveal-image[data-reveal] {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
  .js .reveal-image[data-reveal] img,
  .hero__img { transform: none; }
  .btn__spinner { animation: spin 1.6s linear infinite !important; animation-duration: 1.6s !important; }
}
