/* ==========================================================================
   SALLY NAJJAR — Artwork
   Brand palette & type from the SALLY NAJJAR brand guide (Insum Media, 2026)
   --------------------------------------------------------------------------
   1. Tokens            6. Header & navigation     11. Portfolio & lightbox
   2. Base              7. Hero                    12. Project page
   3. Typography        8. Sections & splits       13. Contact & form
   4. Layout            9. Services               14. Footer
   5. Buttons & links  10. Features & process     15. Motion & utilities
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Brand colours (brand guide) */
  --c-offwhite: #F0EEE9;   /* Off White        11-4201 TCX */
  --c-lightgray: #D7D2CB;  /* Warm Light Gray  Warm Gray 1 C */
  --c-greige: #B7B09C;     /* Soft Greige      7535 C */
  --c-taupe: #696158;      /* Taupe Gray       405 C */
  --c-charcoal: #373A36;   /* Charcoal Olive   447 C */
  --c-cocoa: #512F2E;      /* Deep Cocoa Brown 497 C */

  /* Derived tints — built from the brand colours */
  --c-paper: #F6F4F0;
  --c-sand: #E6E1DA;
  --c-cocoa-deep: #3D2322;
  --c-ink: #2F2C29;
  --c-line: rgba(81, 47, 46, .16);
  --c-line-light: rgba(240, 238, 233, .18);

  /* Wood & brass — traditional finish built around Deep Cocoa Brown */
  --c-walnut: #3A2118;
  --c-walnut-deep: #24140F;
  --c-brass: #BFA57C;
  --c-brass-light: #DCC7A2;
  --c-brass-line: rgba(191, 165, 124, .45);
  --wood: url("../img/wood-walnut.jpg");
  --wood-engraved: url("../img/wood-walnut-engraved.jpg");
  --wood-oak: url("../img/wood-oak.jpg");
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke='%23BFA57C' stroke-width='1.3'%3E%3Crect x='4.6' y='4.6' width='10.8' height='10.8'/%3E%3Crect x='4.6' y='4.6' width='10.8' height='10.8' transform='rotate(45 10 10)'/%3E%3C/g%3E%3C/svg%3E");

  /* Type — display letters follow the logo lockup:
     Gilda Display ≈ the "SALLY NAJJAR" capitals, Pinyon Script ≈ "Artwork", Amiri ≈ the Arabic calligraphy.
     Source Serif (brand guide) stays for italic/editorial text; Hanken Grotesk stands in for Effra. */
  --f-serif: "Gilda Display", "Source Serif 4", Georgia, "Times New Roman", serif;
  --f-text: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --f-script: "Pinyon Script", "Source Serif 4", cursive;
  --f-sans: "Effra", "Effra CC", "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-ar: "Amiri", "Al-Jazeera Arabic", "Al Jazeera Arabic", "Segoe UI", serif;

  /* Foil-stamped lettering, as on the embossed logo */
  --foil: linear-gradient(180deg, #F6EFE6 0%, #E4D8CA 34%, #C4B4A3 60%, #A9978A 82%, #CBBDAE 100%);
  --foil-cocoa: linear-gradient(180deg, #7E4F44 0%, #5A3430 40%, #4A2A28 72%, #6B4038 100%);
  --foil-bronze: linear-gradient(180deg, #B39676 0%, #8E6F54 50%, #735640 78%, #9C7F62 100%);

  --fs-display: clamp(2.7rem, 1.55rem + 4.4vw, 5.6rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 3.4vw, 4.6rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.2vw, 3.3rem);
  --fs-h3: clamp(1.35rem, 1.15rem + .7vw, 1.75rem);
  --fs-lead: clamp(1.12rem, 1.02rem + .4vw, 1.35rem);
  --fs-body: 1.0625rem;
  --fs-small: .9rem;
  --fs-label: .74rem;

  /* Space & layout */
  --gutter: clamp(1.25rem, .6rem + 2.8vw, 3rem);
  --container: 1320px;
  --section: clamp(4.5rem, 2.5rem + 7vw, 9rem);
  --radius: 2px;
  --header-h: 84px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

@media (max-width: 1023px) { :root { --header-h: 70px; } }

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--c-charcoal);
  background-color: var(--c-offwhite);
  /* fine paper grain, as on the printed brand pages */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .18 0 0 0 0 .18 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; 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(--c-cocoa); color: var(--c-offwhite); }
:focus-visible { outline: 2px solid var(--c-cocoa); outline-offset: 3px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--c-greige); }
hr { border: 0; border-top: 1px solid var(--c-line); margin: 0; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--c-cocoa); color: var(--c-offwhite);
  padding: .75rem 1.1rem; font-size: var(--fs-small);
}
.skip-link:focus { top: 1rem; }

.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;
}

/* 3. Typography ------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--f-serif);
  font-weight: 400;
  color: var(--c-cocoa);
  line-height: 1.1;
  margin: 0;
  letter-spacing: .01em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: .005em; }
.caps { text-transform: uppercase; letter-spacing: .035em; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
em, .serif-italic { font-family: var(--f-text); font-style: italic; }
/* script accent, like "Artwork" under the logo */
.script, h1 em, h2 em, blockquote em, .quote-block blockquote em {
  font-family: var(--f-script); font-style: normal; font-weight: 400;
  text-transform: none; letter-spacing: 0; font-size: 1.12em;
}

/* Foil-stamped headings — champagne foil on wood, pressed cocoa foil on light paper */
h1, h2, .ar-title {
  background-image: var(--foil-cocoa);
  background-size: 100% 1.1em; background-size: 100% 1lh; background-repeat: repeat-y;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .8)) drop-shadow(0 -1px 0 rgba(61, 35, 34, .14));
}
.ar-title { background-image: var(--foil-bronze); }
.on-dark h1, .on-dark h2, .on-dark .ar-title, .foil {
  background-image: var(--foil);
  filter: drop-shadow(0 1.5px 0 rgba(22, 11, 8, .75)) drop-shadow(0 -1px 0 rgba(255, 244, 228, .12)) drop-shadow(0 4px 8px rgba(0, 0, 0, .28));
}
h1::selection, h2::selection, .ar-title::selection, h1 *::selection, h2 *::selection { -webkit-text-fill-color: var(--c-offwhite); }
.footer-col h2, h2.visually-hidden { background: none; -webkit-text-fill-color: currentColor; filter: none; }
@media (forced-colors: active) {
  h1, h2, .ar-title, .foil { background: none; -webkit-text-fill-color: CanvasText; filter: none; }
}

.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--c-ink); }
.statement {
  font-family: var(--f-text);
  font-weight: 300;
  font-size: clamp(1.55rem, 1.1rem + 1.6vw, 2.5rem);
  line-height: 1.32;
  color: var(--c-cocoa);
  margin: 0;
}
.statement strong { font-weight: 500; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .9rem;
  font-family: var(--f-sans);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-taupe);
  margin: 0 0 1.4rem;
}
.eyebrow::before { content: ""; width: .95rem; height: .95rem; flex: none; background: var(--star) no-repeat center / contain; }
.eyebrow::after { content: ""; width: 1.6rem; height: 1px; background: currentColor; opacity: .45; }
.eyebrow--plain::before, .eyebrow--plain::after { display: none; }

.ar {
  font-family: var(--f-ar);
  direction: rtl;
  unicode-bidi: isolate;
  letter-spacing: 0;
}
.ar-title {
  font-family: var(--f-ar);
  font-weight: 700;
  font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.6rem);
  line-height: 1.45;
  color: var(--c-greige);
  margin: 0;
}

.text-muted { color: var(--c-taupe); }
.measure { max-width: 38rem; }
.measure-wide { max-width: 48rem; }

/* 4. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(940px + var(--gutter) * 2); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--paper { background-color: var(--c-paper); }
.section--sand { background-color: var(--c-sand); }
.section--cocoa, .section--charcoal { color: var(--c-lightgray); }
/* dark sections are walnut panels with the brand calligraphy carved into the grain */
.section--cocoa, .wood-panel {
  background: var(--c-walnut) var(--wood-engraved) repeat center top / 1164px auto;
  box-shadow: inset 0 1px 0 var(--c-brass-line), inset 0 -1px 0 var(--c-brass-line);
}
.section--charcoal, .wood-plain { background: var(--c-walnut) var(--wood) repeat center / 1200px auto; }
/* light oak panel for the made-to-order section */
.section--oak {
  background: linear-gradient(rgba(240, 238, 233, .62), rgba(240, 238, 233, .62)), var(--c-sand) var(--wood-oak) repeat center / 1200px auto;
}
.section--cocoa h2, .section--cocoa h3, .section--charcoal h2, .section--charcoal h3 { color: var(--c-offwhite); }
.section--cocoa .eyebrow, .section--charcoal .eyebrow { color: var(--c-greige); }
.section--cocoa .lead, .section--charcoal .lead { color: var(--c-lightgray); }

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1.5rem 3rem;
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}
.section-head .ar-title { text-align: right; }
.section-head__intro { grid-column: 1 / -1; max-width: 40rem; margin: 0; }
@media (max-width: 700px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head .ar-title { text-align: left; }
  .section-head .ar-title.ar { text-align: right; justify-self: start; }
}

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; } }

/* 5. Buttons & links ------------------------------------------------------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--c-cocoa); --btn-bd: var(--c-cocoa);
  display: inline-flex; align-items: center; justify-content: center; gap: .85rem;
  min-height: 3.35rem;
  padding: .95rem 1.7rem;
  font-family: var(--f-sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.05rem; height: auto; flex: none; transition: transform .45s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
/* walnut button with a brass inlay line */
.btn--solid {
  --btn-bg: var(--c-walnut); --btn-fg: var(--c-offwhite); --btn-bd: var(--c-walnut-deep);
  background: var(--c-walnut) var(--wood) center / 600px auto;
  box-shadow: inset 0 0 0 1px rgba(220, 199, 162, .28), 0 6px 16px -10px rgba(36, 20, 15, .8);
}
.btn--solid:hover { --btn-fg: var(--c-brass-light); filter: brightness(1.12); }
/* brass button for use on walnut */
.btn--brass {
  --btn-fg: var(--c-walnut-deep); --btn-bd: #A88D64;
  background: linear-gradient(170deg, #E3D1AE 0%, #C5AB82 48%, #B3976D 100%);
  box-shadow: inset 0 1px 0 rgba(255, 250, 238, .55), 0 8px 20px -12px rgba(0, 0, 0, .7);
}
.btn--brass:hover { filter: brightness(1.06) saturate(1.05); }
.btn--ghost:hover { --btn-bg: var(--c-cocoa); --btn-fg: var(--c-offwhite); }
.btn--light { --btn-bg: var(--c-offwhite); --btn-fg: var(--c-cocoa); --btn-bd: var(--c-offwhite); }
.btn--light:hover { --btn-bg: var(--c-lightgray); --btn-bd: var(--c-lightgray); }
.btn--ghost-light { --btn-fg: var(--c-offwhite); --btn-bd: rgba(240, 238, 233, .55); }
.btn--ghost-light:hover { --btn-bg: var(--c-offwhite); --btn-fg: var(--c-cocoa); --btn-bd: var(--c-offwhite); }
.btn--sm { min-height: 2.75rem; padding: .7rem 1.2rem; font-size: .72rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--c-cocoa);
  padding-block: .4rem;
  background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 100% 1px;
  transition: background-size .5s var(--ease-out);
}
.link-arrow svg { width: 1rem; transition: transform .45s var(--ease-out); }
.link-arrow:hover { background-size: 0 1px; background-position: right bottom; }
.link-arrow:hover svg { transform: translateX(4px); }
.section--cocoa .link-arrow, .section--charcoal .link-arrow, .on-dark .link-arrow { color: var(--c-offwhite); }

.text-link { color: var(--c-cocoa); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: rgba(81, 47, 46, .35); transition: text-decoration-color .3s; }
.text-link:hover { text-decoration-color: currentColor; }

/* 6. Header & navigation --------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(240, 238, 233, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: 0 10px 30px -24px rgba(61, 35, 34, .45); }
/* thin walnut moulding under the header */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px;
  background: var(--c-walnut) var(--wood) center / 600px auto;
  box-shadow: inset 0 -1px 0 var(--c-brass-line);
  pointer-events: none;
}
.site-header.menu-open::after { opacity: 0; }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; }
.brand__light { display: none; }
@media (max-width: 1023px) { .brand img { height: 36px; } }
/* header sits above the open mobile menu and turns light-on-dark */
.site-header.menu-open { background: transparent; border-bottom-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.menu-open .brand__dark { display: none; }
.site-header.menu-open .brand__light { display: block; }

.nav { display: flex; align-items: center; gap: clamp(1.4rem, .4rem + 1.8vw, 2.6rem); }
.nav__list { display: flex; gap: clamp(1.4rem, .4rem + 1.8vw, 2.4rem); list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: inline-block; padding-block: .5rem;
  font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--c-charcoal);
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 1px;
  background: var(--c-cocoa); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--c-cocoa); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle {
  display: none; position: relative; z-index: 120;
  width: 48px; height: 48px; margin-right: -12px;
  align-items: center; justify-content: center;
}
.menu-toggle__bars { position: relative; width: 26px; height: 10px; }
.menu-toggle__bars::before, .menu-toggle__bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--c-cocoa);
  transition: transform .5s var(--ease-out), top .5s var(--ease-out), background-color .3s;
}
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars::after { top: 100%; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { top: 50%; transform: rotate(45deg); background: var(--c-offwhite); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { top: 50%; transform: rotate(-45deg); background: var(--c-offwhite); }

@media (max-width: 1023px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  background: var(--c-walnut) var(--wood-engraved) repeat center top / 1164px auto;
  color: var(--c-lightgray);
  overflow-y: auto;
  visibility: hidden; opacity: 0;
  transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transition: opacity .45s var(--ease), visibility 0s; }
.mobile-menu__list { list-style: none; margin: 0 0 auto; padding: 0; }
.mobile-menu__list li { border-bottom: 1px solid var(--c-line-light); }
.mobile-menu__list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 0;
  font-family: var(--f-serif); font-size: clamp(1.9rem, 1.4rem + 2.5vw, 2.6rem); line-height: 1.1;
  color: var(--c-offwhite);
  transform: translateY(14px); opacity: 0;
  transition: transform .6s var(--ease-out), opacity .6s var(--ease-out), color .3s;
}
.mobile-menu__list a span { font-family: var(--f-sans); font-size: .72rem; letter-spacing: .2em; color: var(--c-greige); }
.mobile-menu__list a[aria-current="page"] { color: var(--c-greige); }
.mobile-menu.is-open .mobile-menu__list a { transform: none; opacity: 1; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(2) a { transition-delay: .05s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(3) a { transition-delay: .1s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(4) a { transition-delay: .15s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(5) a { transition-delay: .2s; }
.mobile-menu__foot { margin-top: 2.5rem; display: grid; gap: 1.25rem; font-size: var(--fs-small); }
.mobile-menu__foot .btn { width: 100%; }
.mobile-menu__contact { display: grid; gap: .35rem; color: var(--c-lightgray); }
.mobile-menu__contact a:hover { color: var(--c-offwhite); }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* 7. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 1rem + 5vw, 7rem);
  min-height: min(calc(100svh - var(--header-h) - var(--topbar-h, 0px)), 920px);
  padding: clamp(3rem, 2rem + 4vw, 5.5rem) max(var(--gutter), calc((100vw - var(--container)) / 2));
  background: var(--c-walnut) var(--wood-engraved) repeat center top / 1164px auto;
  color: var(--c-lightgray);
  overflow: hidden;
}
/* warm lamp-light pooling across the wood */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 75% at 74% 48%, rgba(222, 170, 108, .17), transparent 70%),
    linear-gradient(90deg, rgba(18, 10, 7, .38), transparent 60%);
}
.hero > * { position: relative; }
.hero__content { display: flex; flex-direction: column; justify-content: center; }
.hero__logo {
  display: block; width: clamp(210px, 150px + 9vw, 300px); height: auto; margin-bottom: clamp(1.8rem, 1rem + 2vw, 2.8rem); overflow: visible;
  filter: drop-shadow(0 1.5px 0 rgba(22, 11, 8, .75)) drop-shadow(0 -1px 0 rgba(255, 244, 228, .14)) drop-shadow(0 5px 10px rgba(0, 0, 0, .3));
}
.hero .eyebrow { color: var(--c-brass); margin-bottom: 1.3rem; }
.hero__rule { width: 3rem; height: 1px; background: var(--c-greige); margin-bottom: 1.8rem; opacity: .8; }
.hero h1 {
  font-size: clamp(2.35rem, 1.45rem + 3.3vw, 4.6rem);
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 1.5rem;
  max-width: 11em;
  padding: .08em .1em .16em 0;
  background-size: 100% 100%;
}
.hero h1 em { display: block; font-size: 1.16em; line-height: 1.05; margin-top: .06em; }
.quote-block blockquote em { display: block; font-size: 1.2em; line-height: 1.1; }
.hero__lead { font-size: var(--fs-lead); line-height: 1.6; max-width: 34rem; color: var(--c-lightgray); margin-bottom: 2.4rem; }
.hero__lead strong { color: var(--c-offwhite); font-weight: 500; }
.hero__contact {
  display: flex; flex-wrap: wrap; gap: .8rem 2rem;
  margin-top: 2.4rem; padding-top: 1.5rem;
  border-top: 1px solid var(--c-brass-line);
  font-size: .95rem;
}
.hero__contact a { display: inline-flex; align-items: center; gap: .65rem; color: var(--c-offwhite); transition: color .3s var(--ease); }
.hero__contact a:hover { color: var(--c-brass-light); }
.hero__contact svg { width: 1.25rem; height: 1.25rem; color: var(--c-brass); flex: none; }
.hero__contact small { display: block; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--c-brass); line-height: 1.3; }
.hero__media { justify-self: center; width: min(100%, 470px); padding-bottom: 1rem; }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 3rem; padding-bottom: 4rem; }
  .hero__media { width: min(82%, 400px); }
}

/* Arched wooden niche — a carved frame with a brass inlay */
.arch {
  position: relative; margin: 0;
  padding: clamp(8px, .4rem + .4vw, 13px);
  border-radius: 999px 999px 6px 6px;
  background: var(--c-walnut-deep) var(--wood) center / 600px auto;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .45), 0 34px 60px -34px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(220, 199, 162, .25);
}
.arch::before {
  content: ""; position: absolute; inset: -11px; border-radius: 999px 999px 12px 12px;
  border: 1px solid var(--c-brass-line); pointer-events: none;
}
.arch__img { position: relative; overflow: hidden; border-radius: 999px 999px 2px 2px; aspect-ratio: 4 / 5.3; background: var(--c-walnut-deep); }
.arch__img img { width: 100%; height: 100%; object-fit: cover; }
.arch__img::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(191, 165, 124, .65), inset 0 10px 26px rgba(0, 0, 0, .5);
}
.arch--light { background-color: var(--c-walnut); box-shadow: 0 0 0 1px rgba(58, 33, 24, .5), 0 30px 50px -32px rgba(36, 20, 15, .7), inset 0 1px 0 rgba(220, 199, 162, .25); }
.arch--light::before { border-color: rgba(58, 33, 24, .28); }

/* brass nameplate */
.plaque {
  position: absolute; left: 50%; bottom: -1rem; transform: translateX(-50%); z-index: 3;
  padding: .6rem 1.15rem; border-radius: 2px; white-space: nowrap;
  background: linear-gradient(170deg, #E3D1AE 0%, #C5AB82 50%, #B3976D 100%);
  color: var(--c-walnut-deep);
  font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 250, 238, .6), inset 0 0 0 1px rgba(120, 90, 55, .35), 0 8px 16px -8px rgba(0, 0, 0, .7);
}

/* Inner page hero */
.page-hero { position: relative; padding-block: clamp(3.5rem, 2rem + 5vw, 7rem) clamp(3rem, 2rem + 3.5vw, 5.5rem); overflow: hidden; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem 4rem; }
.page-hero h1 { font-size: var(--fs-h1); text-transform: uppercase; }
.page-hero .ar-title { font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); color: var(--c-greige); text-align: right; }
.page-hero__intro { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem var(--gutter); padding-top: clamp(2rem, 1rem + 2vw, 3rem); margin-top: clamp(2rem, 1rem + 2vw, 3rem); border-top: 1px solid var(--c-line); }
.page-hero__intro .lead { margin: 0; }
.page-hero__meta { font-size: var(--fs-label); letter-spacing: .22em; text-transform: uppercase; color: var(--c-taupe); align-self: end; justify-self: end; }
.page-hero--light { background: var(--c-paper) url("../img/light-wall-texture-sm.jpg") no-repeat right center / cover; }
.page-hero--light::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--c-paper) 35%, rgba(246, 244, 240, .78)); }
.page-hero > .container { position: relative; }
@media (max-width: 800px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero .ar-title { text-align: right; }
  .page-hero__intro { grid-template-columns: 1fr; }
  .page-hero__meta { justify-self: start; }
}
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.6rem; padding: 0; font-size: var(--fs-label); letter-spacing: .2em; text-transform: uppercase; color: var(--c-taupe); }
.breadcrumb li + li::before { content: "/"; margin-right: .6rem; opacity: .6; }
.breadcrumb a:hover { color: var(--c-cocoa); }

/* 8. Sections & splits ----------------------------------------------------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gutter); }
.intro-grid__aside { padding-top: .6rem; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(3rem, 2rem + 3vw, 5rem); border-top: 1px solid var(--c-line); }
.fact { padding: 2rem 2rem 0 0; }
.fact + .fact { padding-left: 2rem; border-left: 1px solid var(--c-line); }
.fact__value { display: block; font-family: var(--f-serif); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); line-height: 1; color: var(--c-cocoa); margin-bottom: .9rem; }
.fact__label { margin: 0; font-size: var(--fs-small); color: var(--c-taupe); max-width: 17rem; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 1.6rem 0; border-left: 0; border-bottom: 1px solid var(--c-line); }
}

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 1rem + 5vw, 7rem); align-items: center; }
.split--wide-media { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split--wide-text { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split--reverse .split__media { order: 2; }
@media (max-width: 900px) {
  .split, .split--wide-media, .split--wide-text { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}
.split__body h2 { margin-bottom: 1.6rem; }
.split__body .ar-title { margin: -.6rem 0 1.8rem; }

/* Framed media — the offset panel motif from the company profile */
/* Framed media — a walnut picture frame with a brass inner fillet */
.framed {
  position: relative; margin: 0; isolation: isolate;
  padding: clamp(8px, .3rem + .5vw, 14px);
  background: var(--c-walnut) var(--wood) center / 600px auto;
  box-shadow: 0 0 0 1px rgba(36, 20, 15, .55), 0 30px 50px -34px rgba(36, 20, 15, .75), inset 0 1px 0 rgba(220, 199, 162, .22);
}
.framed__img { position: relative; overflow: hidden; background: var(--c-sand); }
.framed__img::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(191, 165, 124, .7), inset 0 3px 10px rgba(0, 0, 0, .35);
}
.framed__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.framed:hover .framed__img img { transform: scale(1.025); }
.framed--arch, .framed--arch .framed__img { border-radius: 999px 999px 3px 3px; }
.framed--arch .framed__img::before { border-radius: inherit; }
.framed__caption {
  position: absolute; right: 1.6rem; bottom: -.9rem; z-index: 3; max-width: 80%;
  padding: .6rem 1.1rem; border-radius: 2px;
  background: linear-gradient(170deg, #E3D1AE 0%, #C5AB82 50%, #B3976D 100%);
  font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--c-walnut-deep);
  box-shadow: inset 0 1px 0 rgba(255, 250, 238, .6), inset 0 0 0 1px rgba(120, 90, 55, .35), 0 8px 16px -8px rgba(0, 0, 0, .6);
}
/* photos shot on white (e.g. the gift panel) are blended into a warm sand ground */
.framed__img--contain { background: var(--c-sand); display: flex; align-items: center; }
.framed__img--contain img { height: auto; object-fit: contain; padding: clamp(1rem, .5rem + 2vw, 2rem); mix-blend-mode: multiply; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-3x4 { aspect-ratio: 3 / 4; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-1x1 { aspect-ratio: 1 / 1; }

/* 9. Services -------------------------------------------------------------- */
.service-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-line); counter-reset: svc; }
.service-index__item { border-bottom: 1px solid var(--c-line); }
.service-index__link {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 4fr) minmax(0, 5fr) 7.5rem;
  gap: 2rem; align-items: center;
  padding: 1.8rem 0;
  transition: background-color .5s var(--ease), padding .5s var(--ease-out);
}
.service-index__num { font-family: var(--f-serif); font-size: 1rem; color: var(--c-greige); }
.service-index__title { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.15; overflow-wrap: break-word; }
@media (max-width: 420px) { .service-index__title { font-size: 1.18rem; } }
.service-index__desc { margin: 0; color: var(--c-taupe); font-size: var(--fs-small); }
.service-index__thumb { width: 7.5rem; aspect-ratio: 4 / 5; overflow: hidden; justify-self: end; border: 7px solid transparent; background: var(--c-walnut) var(--wood) border-box center / 600px auto; outline: 1px solid rgba(191, 165, 124, .6); outline-offset: -8px; box-shadow: 0 0 0 1px rgba(36, 20, 15, .5), 0 18px 34px -26px rgba(36, 20, 15, .75); border-width: 4px; outline-offset: -5px; }
.service-index__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.service-index__link:hover { background-color: rgba(215, 210, 203, .35); padding-inline: 1.25rem; }
.service-index__link:hover .service-index__thumb img { transform: scale(1.06); }
@media (max-width: 860px) {
  .service-index__link { grid-template-columns: 2.5rem minmax(0, 1fr) 5.5rem; gap: .4rem 1.2rem; }
  .service-index__num { grid-row: 1 / 3; align-self: start; padding-top: .35rem; }
  .service-index__desc { grid-column: 2; }
  .service-index__thumb { grid-column: 3; grid-row: 1 / 3; width: 5.5rem; }
  .service-index__link:hover { padding-inline: 0; background: none; }
}

.service-detail { padding-block: clamp(3.5rem, 2rem + 4vw, 6.5rem); border-top: 1px solid var(--c-line); }
.service-detail:first-of-type { border-top: 0; padding-top: 0; }
.service-detail__num { font-family: var(--f-serif); font-size: 1rem; color: var(--c-greige); display: block; margin-bottom: 1.2rem; }
.service-detail h2 { font-size: clamp(1.9rem, 1.35rem + 2vw, 3rem); text-transform: uppercase; margin-bottom: .6rem; }
.service-detail .ar-title { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.9rem); margin-bottom: 1.8rem; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.8rem 0 2.2rem; padding: 0; }
.tag-list li {
  padding: .45rem .9rem;
  border: 1px solid var(--c-line);
  font-size: .8rem; letter-spacing: .04em; color: var(--c-charcoal);
  background: rgba(246, 244, 240, .6);
}
.detail-label { font-size: var(--fs-label); letter-spacing: .22em; text-transform: uppercase; color: var(--c-taupe); margin: 1.8rem 0 0; }

/* 10. Features & process --------------------------------------------------- */
.feature-list { list-style: none; margin: 2.2rem 0 0; padding: 0; counter-reset: feat; }
.feature-list li { position: relative; padding: 1.4rem 0 1.4rem 3.5rem; border-top: 1px solid var(--c-line); counter-increment: feat; }
.feature-list li:last-child { border-bottom: 1px solid var(--c-line); }
.feature-list li::before { content: "0" counter(feat); position: absolute; left: 0; top: 1.5rem; font-family: var(--f-serif); color: var(--c-greige); font-size: .95rem; }
.feature-list h3 { font-size: 1.25rem; margin-bottom: .45rem; }
.feature-list p { margin: 0; color: var(--c-taupe); font-size: var(--fs-small); line-height: 1.7; }
.section--cocoa .feature-list li, .section--charcoal .feature-list li { border-color: var(--c-line-light); }
.section--cocoa .feature-list p, .section--charcoal .feature-list p { color: var(--c-lightgray); }

.process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); list-style: none; margin: 0; padding: 0; counter-reset: step; }
.process__step { position: relative; padding-top: 2.2rem; border-top: 1px solid var(--c-line); counter-increment: step; }
.process__step::before { content: "0" counter(step); display: block; font-family: var(--f-serif); font-size: 3rem; line-height: 1; color: var(--c-greige); margin-bottom: 1.4rem; }
.process__step h3 { font-size: 1.35rem; margin-bottom: .7rem; }
.process__step p { color: var(--c-taupe); font-size: var(--fs-small); margin: 0; }
.section--cocoa .process__step, .section--charcoal .process__step { border-color: var(--c-line-light); }
.section--cocoa .process__step p, .section--charcoal .process__step p { color: var(--c-lightgray); }
@media (max-width: 860px) { .process { grid-template-columns: 1fr; gap: 2.5rem; } }

.chip-cloud { list-style: none; display: flex; flex-wrap: wrap; gap: .7rem; margin: 0; padding: 0; }
.chip-cloud li { padding: .7rem 1.2rem; border: 1px solid var(--c-line-light); font-family: var(--f-serif); font-size: 1.15rem; color: var(--c-offwhite); }

.materials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.materials__item { padding: 2.2rem 2rem 2.2rem 0; }
.materials__item + .materials__item { padding-left: 2rem; border-left: 1px solid var(--c-line); }
.materials__item h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.materials__item p { margin: 0; color: var(--c-taupe); font-size: var(--fs-small); }
@media (max-width: 760px) {
  .materials { grid-template-columns: 1fr; }
  .materials__item, .materials__item + .materials__item { padding: 1.6rem 0; border-left: 0; }
  .materials__item + .materials__item { border-top: 1px solid var(--c-line); }
}

.quote-block { text-align: center; max-width: 52rem; margin-inline: auto; }
.quote-block__icon { width: 26px; margin: 0 auto 2rem; }
.quote-block blockquote { margin: 0; }
.quote-block blockquote p { font-family: var(--f-serif); font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3.2rem); line-height: 1.2; text-transform: uppercase; letter-spacing: .03em; color: var(--c-offwhite); margin-bottom: 1.2rem; padding-bottom: .12em; -webkit-background-clip: text; background-clip: text; background-image: var(--foil); -webkit-text-fill-color: transparent; filter: drop-shadow(0 1.5px 0 rgba(22, 11, 8, .75)) drop-shadow(0 4px 8px rgba(0, 0, 0, .28)); }
.quote-block blockquote p em { color: var(--c-greige); }
.quote-block__ar { color: var(--c-greige); font-size: 1.15rem; }
.quote-block__body { margin-top: 2.6rem; color: var(--c-lightgray); text-align: left; columns: 2; column-gap: var(--gutter); }
@media (max-width: 760px) { .quote-block__body { columns: 1; } }

.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-line); }
.timeline li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: 1rem 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--c-line); }
.timeline__when { font-size: var(--fs-label); letter-spacing: .2em; text-transform: uppercase; color: var(--c-taupe); padding-top: .35rem; }
.timeline h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.timeline p { margin: 0; color: var(--c-taupe); font-size: var(--fs-small); }
@media (max-width: 640px) { .timeline li { grid-template-columns: 1fr; } }

/* Work preview grid (home) */
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, .5rem + 1.5vw, 2rem); }
.work-card { position: relative; display: block; }
.work-card__img { position: relative; overflow: hidden; border: 7px solid transparent; background: var(--c-walnut) var(--wood) border-box center / 600px auto; outline: 1px solid rgba(191, 165, 124, .6); outline-offset: -8px; box-shadow: 0 0 0 1px rgba(36, 20, 15, .5), 0 18px 34px -26px rgba(36, 20, 15, .75); }
.work-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), filter .8s var(--ease); }
.work-card:hover .work-card__img img { transform: scale(1.04); }
.work-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: 1rem; }
.work-card__title { font-family: var(--f-serif); font-size: 1.2rem; line-height: 1.3; color: var(--c-cocoa); }
.work-card__cat { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--c-taupe); white-space: nowrap; }
.work-grid .w-a { grid-column: 1 / span 7; grid-row: span 2; }
.work-grid .w-a .work-card__img { aspect-ratio: 4 / 4.6; }
.work-grid .w-b, .work-grid .w-c { grid-column: 8 / span 5; }
.work-grid .w-b .work-card__img, .work-grid .w-c .work-card__img { aspect-ratio: 5 / 3.4; }
.work-grid .w-d, .work-grid .w-e, .work-grid .w-f { grid-column: span 4; }
.work-grid .w-d .work-card__img, .work-grid .w-e .work-card__img, .work-grid .w-f .work-card__img { aspect-ratio: 4 / 5; }
@media (max-width: 860px) {
  .work-grid .w-a, .work-grid .w-b, .work-grid .w-c { grid-column: 1 / -1; grid-row: auto; }
  .work-grid .w-a .work-card__img { aspect-ratio: 4 / 4.2; }
  .work-grid .w-d, .work-grid .w-e { grid-column: span 6; }
  .work-grid .w-f { grid-column: 1 / -1; }
  .work-grid .w-f .work-card__img { aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) {
  .work-grid .w-d, .work-grid .w-e { grid-column: 1 / -1; }
  .work-card__meta { flex-direction: column; gap: .3rem; }
}

/* Featured project (home) */
.feature-project { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: center; }
.collage { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 1rem; }
.collage figure { position: relative; margin: 0; overflow: hidden; border: 7px solid transparent; background: var(--c-walnut) var(--wood) border-box center / 600px auto; outline: 1px solid rgba(191, 165, 124, .6); outline-offset: -8px; box-shadow: 0 0 0 1px rgba(36, 20, 15, .5), 0 18px 34px -26px rgba(36, 20, 15, .75); }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.collage figure:hover img { transform: scale(1.04); }
.collage__a { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.collage__b { grid-column: 1 / span 3; aspect-ratio: 4 / 3; }
.collage__c { grid-column: 4 / span 3; aspect-ratio: 4 / 3; }
@media (max-width: 900px) { .feature-project { grid-template-columns: 1fr; } }

/* CTA */
.cta { position: relative; overflow: hidden; text-align: center; background: var(--c-paper); }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(246, 244, 240, .9) 30%, rgba(246, 244, 240, .55) 100%); }
.cta .container { position: relative; }
.cta__icon { width: 24px; margin: 0 auto 2rem; }
.cta h2 { text-transform: uppercase; max-width: 16ch; margin: 0 auto 1.6rem; }
.cta p { max-width: 36rem; margin: 0 auto 2.4rem; color: var(--c-taupe); }
.cta .btn-row { justify-content: center; }
.cta .cta__contacts { margin: 2.2rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem .8rem; font-size: .9rem; color: var(--c-taupe); }
.cta__contacts a { color: var(--c-cocoa); font-weight: 500; border-bottom: 1px solid rgba(81, 47, 46, .3); }
.cta__contacts a:hover { border-bottom-color: currentColor; }
.footer-brand .footer-custom { font-family: var(--f-sans); font-style: normal; font-size: .88rem; line-height: 1.6; color: var(--c-lightgray); margin-top: -.4rem; }

/* 11. Portfolio & lightbox ------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(2rem, 1rem + 2.5vw, 3.5rem); }
.filter {
  padding: .7rem 1.15rem;
  border: 1px solid var(--c-line);
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  color: var(--c-taupe);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.filter:hover { color: var(--c-cocoa); border-color: var(--c-cocoa); }
.filter[aria-pressed="true"] { background: var(--c-cocoa); border-color: var(--c-cocoa); color: var(--c-offwhite); }
.filter__count { opacity: .6; margin-left: .35rem; letter-spacing: 0; }
.filter-status { margin: -1.5rem 0 2rem; font-size: var(--fs-small); color: var(--c-taupe); }

.gallery { columns: 3 320px; column-gap: clamp(1rem, .5rem + 1.5vw, 2rem); list-style: none; margin: 0; padding: 0; }
.gallery__item { break-inside: avoid; margin: 0 0 clamp(1rem, .5rem + 1.5vw, 2rem); }
.gallery__item[hidden] { display: none; }
.gallery__btn { display: block; width: 100%; text-align: left; cursor: zoom-in; }
.gallery__img { display: block; position: relative; overflow: hidden; border: 7px solid transparent; background: var(--c-walnut) var(--wood) border-box center / 600px auto; outline: 1px solid rgba(191, 165, 124, .6); outline-offset: -8px; box-shadow: 0 0 0 1px rgba(36, 20, 15, .5), 0 18px 34px -26px rgba(36, 20, 15, .75); }
.gallery__img img { width: 100%; transition: transform 1.4s var(--ease-out); }
.gallery__img::after {
  content: ""; position: absolute; top: 1rem; right: 1rem; width: 2.6rem; height: 2.6rem;
  background: rgba(240, 238, 233, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23512F2E' stroke-width='1.3'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") no-repeat center / 1.2rem;
  opacity: 0; transform: scale(.85);
  transition: opacity .4s var(--ease), transform .5s var(--ease-out);
}
.gallery__btn:hover .gallery__img img, .gallery__btn:focus-visible .gallery__img img { transform: scale(1.035); }
.gallery__btn:hover .gallery__img::after, .gallery__btn:focus-visible .gallery__img::after { opacity: 1; transform: none; }
.gallery__img--blend { background: linear-gradient(var(--c-sand), var(--c-sand)) padding-box, var(--c-walnut) var(--wood) border-box center / 600px auto; padding: 1.25rem; }
.gallery__img--blend img { mix-blend-mode: multiply; }
.service-index__thumb--blend { background: linear-gradient(var(--c-lightgray), var(--c-lightgray)) padding-box, var(--c-walnut) var(--wood) border-box center / 600px auto; display: flex; align-items: center; }
.service-index__thumb--blend img { height: auto; mix-blend-mode: multiply; }
.gallery__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: .85rem; }
.gallery__title { font-family: var(--f-serif); font-size: 1.1rem; line-height: 1.3; color: var(--c-cocoa); }
.gallery__cat { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-taupe); white-space: nowrap; }
.gallery--2 { columns: 2 300px; }
@media (max-width: 480px) { .gallery__cap { flex-direction: column; gap: .2rem; } }

.case-banner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: stretch; border: 10px solid transparent; background: var(--c-walnut) var(--wood) border-box center / 600px auto; outline: 1px solid var(--c-brass-line); outline-offset: -11px; box-shadow: 0 30px 50px -34px rgba(36, 20, 15, .75); color: var(--c-lightgray); margin-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.case-banner__media { position: relative; min-height: 340px; overflow: hidden; }
.case-banner__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.case-banner:hover .case-banner__media img { transform: scale(1.03); }
.case-banner__body { padding: clamp(2rem, 1.2rem + 3vw, 4rem); background: var(--c-walnut) var(--wood-engraved) repeat center top / 1164px auto; box-shadow: inset 1px 0 0 var(--c-brass-line); display: flex; flex-direction: column; justify-content: center; }
.case-banner__body .eyebrow { color: var(--c-greige); }
.case-banner__body h2 { color: var(--c-offwhite); font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem); text-transform: uppercase; margin-bottom: 1rem; }
.case-banner__body p { margin-bottom: 1.8rem; }
@media (max-width: 860px) { .case-banner { grid-template-columns: 1fr; } .case-banner__media { min-height: 0; aspect-ratio: 4 / 3; } }

.lightbox {
  width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; height: 100dvh; max-height: 100dvh;
  margin: 0; padding: 0; border: 0;
  background: rgba(31, 22, 21, .96);
  color: var(--c-lightgray);
}
.lightbox::backdrop { background: rgba(31, 22, 21, .7); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: lb-in .45s var(--ease) both; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 1rem var(--gutter); gap: 1rem; }
.lightbox__count { font-size: var(--fs-label); letter-spacing: .22em; color: var(--c-greige); }
.lightbox__close, .lightbox__nav {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border: 1px solid rgba(240, 238, 233, .22); color: var(--c-offwhite);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(240, 238, 233, .1); border-color: rgba(240, 238, 233, .5); }
.lightbox__close svg, .lightbox__nav svg { width: 1.2rem; }
.lightbox__stage { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 0 var(--gutter); min-height: 0; }
.lightbox__figure { margin: 0; height: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; }
.lightbox__figure img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: opacity .35s var(--ease); }
.lightbox__figure img.is-loading { opacity: .25; }
.lightbox__caption { padding: 1.1rem var(--gutter) 1.6rem; text-align: center; }
.lightbox__title { font-family: var(--f-serif); font-size: 1.25rem; color: var(--c-offwhite); margin: 0 0 .25rem; }
.lightbox__desc { font-size: var(--fs-small); color: var(--c-greige); margin: 0; }
@media (max-width: 700px) {
  .lightbox__stage { grid-template-columns: 1fr; padding: 0 .75rem; }
  .lightbox__nav { position: absolute; bottom: -4.2rem; z-index: 2; }
  .lightbox__nav--prev { left: var(--gutter); }
  .lightbox__nav--next { right: var(--gutter); }
  .lightbox__caption { padding-inline: 4.5rem; }
}

/* 12. Project page --------------------------------------------------------- */
.project-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.project-facts li { padding: 1.5rem 1.5rem 1.5rem 0; }
.project-facts li + li { padding-left: 1.5rem; border-left: 1px solid var(--c-line); }
.project-facts dt, .project-facts .k { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--c-taupe); margin-bottom: .45rem; display: block; }
.project-facts .v { font-family: var(--f-serif); font-size: 1.15rem; color: var(--c-cocoa); line-height: 1.35; }
@media (max-width: 860px) {
  .project-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .project-facts li:nth-child(n+3) { border-top: 1px solid var(--c-line); }
}
.project-hero-img { position: relative; overflow: hidden; aspect-ratio: 16 / 8; border: 7px solid transparent; background: var(--c-walnut) var(--wood) border-box center / 600px auto; outline: 1px solid rgba(191, 165, 124, .6); outline-offset: -8px; box-shadow: 0 0 0 1px rgba(36, 20, 15, .5), 0 18px 34px -26px rgba(36, 20, 15, .75); border-width: 12px; outline-offset: -13px; }
.project-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
@media (max-width: 700px) { .project-hero-img { aspect-ratio: 4 / 3.6; } }

.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--c-line); }
.pager a { padding: 2rem 0; display: grid; gap: .4rem; }
.pager a + a { text-align: right; border-left: 1px solid var(--c-line); padding-left: 2rem; }
.pager span { font-size: var(--fs-label); letter-spacing: .2em; text-transform: uppercase; color: var(--c-taupe); }
.pager strong { font-family: var(--f-serif); font-weight: 400; font-size: 1.4rem; color: var(--c-cocoa); }

/* 13. Contact & form ------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { position: relative; background: var(--c-walnut) var(--wood-engraved) repeat center top / 1164px auto; box-shadow: 0 30px 50px -34px rgba(36, 20, 15, .8), inset 0 0 0 1px rgba(0, 0, 0, .4); outline: 1px solid var(--c-brass-line); outline-offset: -12px; color: var(--c-lightgray); padding: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); }
.contact-card .eyebrow { color: var(--c-greige); }
.contact-card h2 { color: var(--c-offwhite); font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.2rem); text-transform: uppercase; margin-bottom: 1rem; }
.contact-card .ar-title { font-size: 1.4rem; margin-bottom: 1.8rem; }
.contact-list { list-style: none; margin: 2rem 0 0; padding: 0; }
.contact-list li { border-top: 1px solid var(--c-line-light); }
.contact-list li:last-child { border-bottom: 1px solid var(--c-line-light); }
.contact-list a, .contact-list .contact-list__row { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: .9rem; align-items: center; padding: 1.15rem 0; }
.contact-list a:hover .contact-list__value { color: var(--c-greige); }
.contact-list svg { width: 1.3rem; color: var(--c-greige); }
.contact-list__label { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--c-greige); }
.contact-list__value { display: block; color: var(--c-offwhite); font-size: 1.02rem; overflow-wrap: anywhere; transition: color .3s; }
.placeholder-note { display: inline-block; margin-top: .25rem; padding: .15rem .5rem; border: 1px dashed rgba(215, 210, 203, .5); font-size: .75rem; color: var(--c-lightgray); }
.placeholder-note--light { border-color: var(--c-greige); color: var(--c-taupe); }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 1.5rem; }
.form__field { display: grid; gap: .5rem; align-content: start; }
.form__field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.form label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--c-charcoal); }
.form .req { color: var(--c-cocoa); }
.form .optional { color: var(--c-taupe); letter-spacing: .08em; text-transform: none; font-weight: 400; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: .95rem 1rem;
  background: var(--c-paper);
  border: 1px solid rgba(55, 58, 54, .22);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--c-ink);
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.form select {
  appearance: none; -webkit-appearance: none;
  padding-right: 2.8rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23512F2E' stroke-width='1.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 1.1rem;
}
.form textarea { min-height: 10rem; resize: vertical; line-height: 1.6; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: rgba(81, 47, 46, .45); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--c-cocoa); background: #fff; box-shadow: 0 0 0 3px rgba(81, 47, 46, .1); }
.form [aria-invalid="true"] { border-color: #9B3B32; background: #FBF4F2; }
.form__error { min-height: 1.1em; font-size: .8rem; color: #9B3B32; margin: 0; }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; padding-top: .5rem; }
.form__note { grid-column: 1 / -1; font-size: .82rem; color: var(--c-taupe); margin: 0; }
.form__status { grid-column: 1 / -1; margin: 0; padding: 1rem 1.2rem; border-left: 2px solid var(--c-cocoa); background: var(--c-paper); font-size: var(--fs-small); }
.form__status[hidden] { display: none; }
.form__status.is-error { border-color: #9B3B32; }

.location-box {
  margin-top: 1.5rem; padding: 1.6rem;
  border: 1px dashed var(--c-greige);
  background: rgba(246, 244, 240, .6);
  display: grid; gap: .5rem;
}
.location-box strong { font-family: var(--f-serif); font-weight: 400; font-size: 1.2rem; color: var(--c-cocoa); }
.location-box p { margin: 0; font-size: var(--fs-small); color: var(--c-taupe); }

/* 14. Footer --------------------------------------------------------------- */
.site-footer { position: relative; background: linear-gradient(rgba(18, 10, 7, .42), rgba(18, 10, 7, .42)), var(--c-walnut-deep) var(--wood) repeat center / 1200px auto; color: var(--c-lightgray); padding-top: clamp(4rem, 3rem + 4vw, 7rem); font-size: var(--fs-small); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.4fr)); gap: 2.5rem var(--gutter); padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.footer-brand img { width: 210px; margin-bottom: 1.8rem; }
.footer-brand p { max-width: 20rem; color: var(--c-greige); font-family: var(--f-script); font-size: 1.7rem; line-height: 1.3; }
.footer-col h2 { font-family: var(--f-sans); font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--c-greige); margin-bottom: 1.3rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer-col a { color: var(--c-lightgray); transition: color .3s; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--c-offwhite); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.6rem; border-top: 1px solid var(--c-line-light); font-size: .8rem; color: var(--c-greige); }
.footer-bottom .ar { font-size: .95rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* 15. Motion & utilities --------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }
/* wooden shutter: a walnut panel slides up to uncover the image */
.js .reveal-img::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(rgba(255, 235, 200, .05), rgba(0, 0, 0, .12)), var(--c-walnut) var(--wood) center / 600px auto;
  box-shadow: inset 0 -2px 0 var(--c-brass), inset 0 -8px 14px -6px rgba(0, 0, 0, .45);
  transform: translateY(0);
  transition: transform 1.25s cubic-bezier(.7, 0, .2, 1) .1s;
}
.js .reveal-img.is-visible::after { transform: translateY(-101%); }
.js .reveal-img img { transform: scale(1.06); transition: transform 1.8s var(--ease-out) .15s; }
.js .reveal-img.is-visible img { transform: none; }

html:not(.intro-lock) .hero__content > * { animation: rise 1.1s var(--ease-out) both; }
html:not(.intro-lock) .hero__content > :nth-child(2) { animation-delay: .08s; }
html:not(.intro-lock) .hero__content > :nth-child(3) { animation-delay: .16s; }
html:not(.intro-lock) .hero__content > :nth-child(4) { animation-delay: .24s; }
html:not(.intro-lock) .hero__content > :nth-child(5) { animation-delay: .32s; }
html:not(.intro-lock) .hero__content > :nth-child(6) { animation-delay: .4s; }
html:not(.intro-lock) .hero__media { animation: settle 1.8s var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .reveal-img, .js .reveal-img.is-visible { opacity: 1; transform: none; clip-path: none; }
  .js .reveal-img::after { display: none; }
  .js .reveal-img img { transform: none; }
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-l { margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.center { text-align: center; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ==========================================================================
   16. Traditional wood details
   ========================================================================== */

/* Top bar — custom orders + direct contact */
:root { --topbar-h: 40px; }
.topbar {
  position: relative; z-index: 101;
  background: var(--c-walnut-deep) var(--wood) center / 600px auto;
  color: var(--c-lightgray);
  font-size: .78rem;
  box-shadow: inset 0 -1px 0 var(--c-brass-line);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: var(--topbar-h); }
.topbar__msg { display: inline-flex; align-items: center; gap: .7rem; margin: 0; letter-spacing: .08em; }
.topbar__msg::before { content: ""; width: 12px; height: 12px; flex: none; background: var(--star) no-repeat center / contain; }
.topbar__msg strong { color: var(--c-brass-light); font-weight: 500; }
.topbar__msg .ar { color: var(--c-brass); font-size: .92rem; }
.topbar__links { display: flex; align-items: center; gap: 1.6rem; }
.topbar__links a { display: inline-flex; align-items: center; gap: .5rem; color: var(--c-offwhite); transition: color .3s var(--ease); white-space: nowrap; }
.topbar__links a:hover { color: var(--c-brass-light); }
.topbar__links svg { width: 15px; height: 15px; color: var(--c-brass); flex: none; }
@media (max-width: 860px) { .topbar__msg .ar, .topbar__msg .hide-sm { display: none; } }
@media (max-width: 640px) {
  .topbar__msg { display: none; }
  .topbar__links { width: 100%; justify-content: space-between; gap: 1rem; }
}
.mobile-menu { padding-top: calc(var(--header-h) + var(--topbar-h) + 1.5rem); }

/* Floating WhatsApp button */
.fab-wa {
  position: fixed; right: clamp(1rem, .6rem + 1vw, 1.75rem); bottom: clamp(1rem, .6rem + 1vw, 1.75rem); z-index: 85;
  display: flex; align-items: center; gap: .75rem;
  animation: fab-in .8s var(--ease-out) 1.2s both;
  transition: opacity .3s var(--ease);
}
.fab-wa__btn {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--c-walnut) var(--wood) center / 300px auto;
  color: var(--c-brass-light);
  border: 2px solid var(--c-brass);
  box-shadow: 0 12px 26px -10px rgba(36, 20, 15, .8), inset 0 0 0 3px rgba(0, 0, 0, .28);
  transition: transform .4s var(--ease-out);
}
.fab-wa__btn svg { width: 27px; height: 27px; }
.fab-wa__label {
  padding: .55rem .95rem; border-radius: 2px;
  background: var(--c-walnut-deep); color: var(--c-offwhite);
  font-size: .78rem; letter-spacing: .04em; white-space: nowrap;
  box-shadow: inset 0 0 0 1px var(--c-brass-line), 0 10px 20px -12px rgba(0, 0, 0, .7);
  opacity: 0; transform: translateX(8px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .45s var(--ease-out);
}
.fab-wa:hover .fab-wa__btn, .fab-wa:focus-visible .fab-wa__btn { transform: translateY(-3px); }
.fab-wa:hover .fab-wa__label, .fab-wa:focus-visible .fab-wa__label { opacity: 1; transform: none; }
body.is-locked .fab-wa, .show-intro .fab-wa { opacity: 0; pointer-events: none; }
@keyframes fab-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (hover: none) { .fab-wa__label { display: none; } }

/* Carved band — a walnut moulding with an engraved row of eight-point stars */
.carved-band {
  position: relative; height: 46px; overflow: hidden;
  background: var(--c-walnut) var(--wood) center / 600px auto;
  box-shadow: inset 0 1px 0 var(--c-brass-line), inset 0 -1px 0 var(--c-brass-line),
              inset 0 9px 12px -9px rgba(0, 0, 0, .75), inset 0 -9px 12px -9px rgba(0, 0, 0, .75);
}
.carved-band svg { position: absolute; top: 0; left: 50%; height: 100%; width: auto; max-width: none; transform: translateX(-50%); overflow: visible; }
.carved-band path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.carved-band .cb-shadow { stroke: rgba(0, 0, 0, .65); stroke-width: 1.8; transform: translateY(1px); }
.carved-band .cb-brass { stroke: var(--c-brass); stroke-width: 1.05; }
.carved-band .cb-unit { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s cubic-bezier(.5, 0, .2, 1) calc(var(--i) * 45ms); }
.carved-band .cb-rail { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s cubic-bezier(.5, 0, .2, 1); }
.carved-band.is-carved .cb-unit, .carved-band.is-carved .cb-rail { stroke-dashoffset: 0; }

/* Made to order */
.mto { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 1rem + 5vw, 6.5rem); align-items: center; }
.mto h2 { margin-bottom: .9rem; font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); }
.mto .ar-title { color: var(--c-taupe); margin-bottom: 1.8rem; font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); }
.mto__media { position: relative; padding: 0 0 clamp(2.5rem, 2rem + 3vw, 5rem) clamp(2.5rem, 2rem + 3vw, 5rem); }
.mto__media .framed--arch { width: 82%; margin-left: auto; }
.mto__media .framed--inset { position: absolute; left: 0; bottom: 0; width: 48%; }
.checklist { list-style: none; margin: 1.8rem 0 2rem; padding: 0; display: grid; gap: .85rem; }
.checklist li { position: relative; padding-left: 2.1rem; color: var(--c-ink); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .28em; width: 1.1rem; height: 1.1rem; background: var(--star) no-repeat center / contain; filter: brightness(.72) saturate(1.4); }
.mto__note { font-family: var(--f-text); font-style: italic; font-size: 1.2rem; color: var(--c-cocoa); margin-bottom: 2rem; }
.mto__steps { margin-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); }
@media (max-width: 900px) {
  .mto { grid-template-columns: 1fr; }
  .mto__media { order: -1; max-width: 560px; }
}

/* Ornamental divider (a single star between hairlines) */
.ornament { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 0 auto 2rem; color: var(--c-brass); }
.ornament::before, .ornament::after { content: ""; width: 3.5rem; height: 1px; background: currentColor; opacity: .6; }
.ornament span { width: 18px; height: 18px; background: var(--star) no-repeat center / contain; }

/* Intro — carved walnut doors part after the logo is written */
.intro { display: none; }
.show-intro .intro { display: block; position: fixed; inset: 0; z-index: 1000; cursor: pointer; }
.intro-lock, .intro-lock body { overflow: hidden; }
.intro__door {
  position: absolute; top: 0; bottom: 0; width: 50.2%;
  background: var(--c-walnut) var(--wood-engraved) repeat top / 1164px auto;
  transition: transform 1.3s cubic-bezier(.72, 0, .18, 1);
}
.intro__door--left { left: 0; background-position: right top; box-shadow: inset -1px 0 0 var(--c-brass-line), inset -22px 0 30px -20px rgba(0, 0, 0, .7); }
.intro__door--right { right: 0; background-position: left top; box-shadow: inset 1px 0 0 var(--c-brass-line), inset 22px 0 30px -20px rgba(0, 0, 0, .7); }
/* raised panel moulding on each door */
.intro__door::before {
  content: ""; position: absolute; top: clamp(18px, 3vw, 44px); bottom: clamp(18px, 3vw, 44px);
  border: 1px solid var(--c-brass-line);
  box-shadow: inset 0 0 0 8px rgba(0, 0, 0, .14), inset 0 0 0 9px rgba(191, 165, 124, .2), 0 0 0 1px rgba(0, 0, 0, .3);
}
.intro__door--left::before { left: clamp(18px, 3vw, 44px); right: 16px; }
.intro__door--right::before { right: clamp(18px, 3vw, 44px); left: 16px; }
.intro__stage {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
  padding: 2rem; text-align: center;
  background: radial-gradient(circle at 50% 46%, rgba(226, 176, 112, .2), transparent 48%);
  transition: opacity .6s var(--ease), transform 1s var(--ease-out);
}
.intro__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.intro__skip {
  position: absolute; right: clamp(1rem, 3vw, 2.5rem); bottom: clamp(1rem, 3vw, 2.5rem); z-index: 3;
  padding: .7rem 1.1rem; border: 1px solid var(--c-brass-line); border-radius: 2px;
  color: var(--c-brass-light); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  background: rgba(20, 11, 8, .35);
  transition: background-color .3s var(--ease);
}
.intro__skip:hover { background: rgba(20, 11, 8, .6); }
.intro.is-opening { pointer-events: none; }
.intro.is-opening .intro__stage { opacity: 0; transform: scale(.97); }
.intro.is-opening .intro__door--left { transform: translateX(-101%); }
.intro.is-opening .intro__door--right { transform: translateX(101%); }
.intro.is-opening .intro__skip { opacity: 0; }
@keyframes intro-fade { to { opacity: 1; } }

/* Logo written as calligraphy — the logo artwork itself is unchanged */
.logo-anim .mk { transform-box: fill-box; }
.logo-anim .mk--rtl { transform-origin: 100% 50%; }
.logo-anim .mk--ltr { transform-origin: 0% 50%; }
.logo-anim.is-writing .mk { animation: mk-grow var(--dur, 1.4s) cubic-bezier(.45, .05, .25, 1) var(--d, 0s) both; }
.logo-anim.is-writing .lg-trace {
  stroke: #F0E2C4; stroke-width: 1.6; stroke-dasharray: 1 1; stroke-dashoffset: 1; fill-opacity: 0;
  animation: lg-trace var(--dur, 1.4s) cubic-bezier(.55, .1, .3, 1) var(--d, 0s) forwards,
             lg-fill .9s var(--ease) calc(var(--d, 0s) + var(--dur, 1.4s) * .7) forwards;
}
@keyframes mk-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lg-trace { to { stroke-dashoffset: 0; } }
@keyframes lg-fill { from { fill-opacity: 0; stroke-opacity: 1; } to { fill-opacity: 1; stroke-opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .carved-band .cb-unit, .carved-band .cb-rail { stroke-dashoffset: 0; }
  .fab-wa { animation: none; }
}
