/* ==========================================================================
   Varalaxmi Fabs & Designs — style.css
   Palette derived from the VFD logo. White base, gold accents.
   ========================================================================== */

/* ---------- Tokens -------------------------------------------------- */
:root {
  /* Colour — sampled from the VFD logo artwork */
  --white:        #FFFFFF;
  --sand:         #FAF7F0;   /* warm off-white section tint            */
  --sand-deep:    #F3EDE0;   /* second tint, Empresso / callouts       */
  --ink:          #17130D;   /* headings, primary text                 */
  --muted:        #5B5346;   /* body copy                              */
  --muted-soft:   #6F6759;   /* captions, meta                         */
  --gold-text:    #7A5A10;   /* accessible gold for text + links       */
  --gold-deep:    #8A6612;   /* button fill (white text passes AA)      */
  --gold:         #B4892A;   /* logo gold — decorative rules, icons     */
  --gold-bright:  #C09024;   /* logo gold — highlights                  */
  --gold-light:   #E6C77E;   /* washes, hover glow                      */
  --line:         #E7E0D2;   /* hairlines on white                      */
  --line-strong:  #D6CBB4;

  /* Type */
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body:    "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Layout */
  --shell: 1220px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --r: 4px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--muted);
  font-family: var(--body);
  font-size: clamp(1rem, .97rem + .18vw, 1.075rem);
  line-height: 1.65;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 20, "WONK" 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5.1rem); line-height: 1.02; letter-spacing: -.03em; }
h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.3rem); letter-spacing: -.022em; }
h3 { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.45rem); letter-spacing: -.01em; }

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-text); }

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: .75rem 1.25rem;
  z-index: 999;
}
.skip:focus { left: 1rem; top: 1rem; }

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

/* ---------- Shell & section rhythm ---------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band { padding-block: clamp(4rem, 8vw, 7.5rem); }
.band--tint { background: var(--sand); }
.band--tight { padding-block: clamp(2.75rem, 5vw, 4rem); }

/* ---------- Signature: the running stitch --------------------------- */
/* A dashed seam replaces every hairline rule on this site. It is the one
   motif carried from the product (garment construction) into the layout. */
.seam {
  border: 0;
  height: 2px;
  margin: 0;
  background-image: linear-gradient(90deg, var(--gold) 0 14px, transparent 14px 26px);
  background-size: 26px 2px;
  background-repeat: repeat-x;
  opacity: .55;
}

.eyebrow {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow { align-items: flex-start; }
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  margin-top: .62em;
  flex: none;
  background-image: linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 11px);
  background-size: 11px 2px;
}

.lede {
  font-size: clamp(1.08rem, 1rem + .45vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 48ch;
}

/* ---------- Buttons -------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 50px;
  padding: .8rem 1.6rem;
  font-family: var(--body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .005em;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease),
              box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--gold-deep);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(23, 19, 13, .12);
}
.btn--primary:hover { background: #74560F; box-shadow: 0 10px 24px -12px rgba(138, 102, 18, .8); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-text); }

.btn--onink {
  background: var(--white);
  color: var(--ink);
}
.btn--onink:hover { background: var(--sand); }

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .45);
}
.btn--outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }

.btn--sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .875rem; }

.actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Header --------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(23, 19, 13, .5);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img {
  height: 46px;
  width: auto;
  transition: height .25s var(--ease);
}
.header.is-stuck .brand img { height: 38px; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }

.nav__link {
  position: relative;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: .35rem 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background-image: linear-gradient(90deg, var(--gold) 0 5px, transparent 5px 9px);
  background-size: 9px 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.nav__cta { margin-left: .5rem; }

.burger {
  display: none;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  cursor: pointer;
}
.burger__bars {
  display: block;
  position: relative;
  width: 20px; height: 1.5px;
  background: var(--ink);
  transition: background-color .2s var(--ease);
}
.burger__bars::before,
.burger__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px; height: 1.5px;
  background: var(--ink);
  transition: transform .28s var(--ease);
}
.burger__bars::before { top: -6px; }
.burger__bars::after  { top: 6px; }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 78px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.5rem;
    box-shadow: 0 20px 40px -30px rgba(23, 19, 13, .6);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link {
    padding: .95rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav__link::after { display: none; }
  .nav__cta { margin: 1.1rem 0 0; }
  .btn.nav__cta { width: 100%; }
}

/* ---------- Hero ------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--white);
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem);
}
.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60vw;
  max-width: 780px;
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, rgba(230, 199, 126, .35), rgba(230, 199, 126, 0) 62%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
}

.hero h1 { margin-bottom: .35em; }
.hero h1 em {
  font-style: normal;
  font-variation-settings: "SOFT" 40, "WONK" 1;
  color: var(--gold-text);
}
.hero__text { max-width: 46ch; margin-bottom: 2rem; }
.hero .actions { margin-bottom: 2.5rem; }

/* Process ribbon — the six stages as one stitched seam */
.ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--mono);
  font-size: clamp(.6rem, .55rem + .12vw, .68rem);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.ribbon li { display: flex; align-items: center; gap: .65rem; }
.ribbon li:not(:last-child)::after {
  content: "";
  width: 18px; height: 2px;
  background-image: linear-gradient(90deg, var(--gold) 0 5px, transparent 5px 9px);
  background-size: 9px 2px;
  opacity: .8;
}

/* ---------- Image placeholders --------------------------------------- */
/* Replace .ph blocks with <img> once real factory photography exists.    */
.ph {
  position: relative;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(160deg, var(--sand) 0%, var(--sand-deep) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  isolation: isolate;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(180, 137, 42, .09) 0 1px, transparent 1px 9px);
  z-index: -1;
}
.ph__label {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-text);
  background: rgba(255, 255, 255, .82);
  border-top: 1px solid var(--line);
  padding: .6rem .8rem;
  width: 100%;
}
.ph--hero { aspect-ratio: 4 / 5; }
.ph--wide { aspect-ratio: 16 / 10; }
.ph--tall { aspect-ratio: 3 / 4; }

.hero__media { position: relative; }
.hero__stamp {
  position: absolute;
  left: -1.25rem;
  top: 2.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: .9rem 1.15rem;
  max-width: 15rem;
  box-shadow: 0 24px 50px -34px rgba(23, 19, 13, .7);
}
.hero__stamp strong {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.2;
}
.hero__stamp span {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-soft);
}
@media (max-width: 640px) {
  .hero__stamp { position: static; max-width: none; margin-top: 1rem; box-shadow: none; }
}

/* ---------- Trust strip ---------------------------------------------- */
.trust {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
@media (min-width: 620px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .trust { grid-template-columns: repeat(4, 1fr); } }

.trust__item { background: var(--white); padding: clamp(1.5rem, 3vw, 2.25rem); }
.trust__item h3 {
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: .4rem;
}
.trust__item p { font-size: .93rem; color: var(--muted); margin: 0; }
.trust__mark { color: var(--gold); margin-bottom: 1rem; }
.trust__mark svg { width: 26px; height: 26px; }

/* ---------- Split heading layout -------------------------------------- */
.split {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.5rem);
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--flip > :first-child { order: 2; }
}
.split__sticky { align-self: start; }
@media (min-width: 900px) {
  .split__sticky { position: sticky; top: 120px; }
}

.prose { max-width: 62ch; }
.prose p + p { margin-top: 0; }

/* Pull-quote style stat/claim list used in About */
.facts {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.facts li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding: .9rem 0;
  border-bottom: 1px dashed var(--line-strong);
}
.facts li:first-child { border-top: 1px dashed var(--line-strong); }
.facts b {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-text);
  font-weight: 500;
}
.facts span { color: var(--muted); font-size: .96rem; }

/* ---------- Process timeline ------------------------------------------ */
.process { position: relative; margin-top: clamp(2.5rem, 5vw, 4rem); }

.process__seam {
  position: absolute;
  left: 0;
  top: 27px;
  width: 100%;
  height: 2px;
  display: none;
}
@media (min-width: 960px) { .process__seam { display: block; } }
.process__seam line {
  stroke: var(--gold);
  stroke-width: 2;
  stroke-dasharray: 14 12;
  stroke-dashoffset: var(--seam-offset, 1200);
  opacity: .6;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.75rem, 3vw, 2rem);
}
@media (min-width: 640px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px)  { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1140px) { .steps { grid-template-columns: repeat(6, 1fr); gap: 1.4rem; } }

.step { position: relative; }
.step__node {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  margin: 21px 0 1.15rem;
  position: relative;
  z-index: 1;
}
.step__num {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .16em;
  color: var(--gold-text);
  display: block;
  margin-bottom: .4rem;
}
.step h3 {
  font-family: var(--body);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: .45rem;
}
.step p { font-size: .9rem; line-height: 1.6; margin: 0; }

/* ---------- Solution cards -------------------------------------------- */
.cards {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 720px)  { .cards { grid-template-columns: repeat(2, 1fr); } }

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover {
  border-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 26px 50px -38px rgba(23, 19, 13, .75);
}
.card__index {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .16em;
  color: var(--gold-text);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.card__index::after {
  content: "";
  flex: 1;
  height: 2px;
  background-image: linear-gradient(90deg, var(--gold) 0 5px, transparent 5px 9px);
  background-size: 9px 2px;
  opacity: .5;
}
.card p { font-size: .96rem; }
.card ul {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.card ul li {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .3rem .7rem;
}
.card__link {
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--gold-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  align-self: flex-start;
}
.card__link svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.card__link:hover svg { transform: translateX(4px); }

/* ---------- Why us ------------------------------------------------------ */
.reasons {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 700px)  { .reasons { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .reasons { grid-template-columns: repeat(3, 1fr); } }
.reasons li { background: var(--sand); padding: clamp(1.5rem, 3vw, 2.15rem); }
.reasons h3 {
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: .45rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.reasons h3::before {
  content: "";
  width: 7px; height: 7px;
  flex: none;
  background: var(--gold);
  transform: rotate(45deg);
}
.reasons p { font-size: .93rem; margin: 0; }

/* ---------- Who we serve ------------------------------------------------ */
.sectors {
  list-style: none;
  margin: clamp(2.25rem, 4vw, 3rem) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.sectors li {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: .7rem 1.35rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.sectors li:hover { border-color: var(--gold); color: var(--gold-text); }

.note {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-soft);
  border-left: 2px solid var(--gold-light);
  padding-left: .9rem;
  margin-top: 2rem;
}

/* ---------- Our people --------------------------------------------------- */
.people { position: relative; overflow: hidden; }
.people::before {
  content: "";
  position: absolute;
  left: -12%;
  top: 10%;
  width: 48vw;
  max-width: 640px;
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, rgba(230, 199, 126, .3), rgba(230, 199, 126, 0) 64%);
  pointer-events: none;
}
.people .shell { position: relative; z-index: 1; }

.people__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .people__grid { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
}

/* The portrait sits inside an offset stitched frame */
.people__media { position: relative; }
.people__media::before {
  content: "";
  position: absolute;
  inset: -14px -14px 14px 14px;
  border: 2px dashed var(--gold-light);
  border-radius: var(--r);
  pointer-events: none;
}
.people__media .ph { position: relative; background: var(--white); }

.pillars {
  margin: 2.25rem 0 0;
  display: grid;
  gap: 0;
}
.pillars > div { position: relative; padding: 1rem 0; }
.pillars > div:first-child { padding-top: 0; }
.pillars > div:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background-image: linear-gradient(90deg, var(--gold) 0 12px, transparent 12px 22px);
  background-size: 22px 2px;
  opacity: .45;
}
.pillars dt {
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .25rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.pillars dt::before {
  content: "";
  width: 7px; height: 7px;
  flex: none;
  background: var(--gold);
  transform: rotate(45deg);
}
.pillars dd { margin: 0 0 0 1.3rem; font-size: .95rem; color: var(--muted); }

/* ---------- Empresso ---------------------------------------------------- */
.empresso {
  --gold: #DCB41E;                 /* Empresso's own gold, from its logo */
  --gold-light: #F0D77A;
  background: var(--sand-deep);
  position: relative;
  overflow: hidden;
}
.empresso::after {
  content: "";
  position: absolute;
  left: -8%;
  bottom: -35%;
  width: 46vw;
  max-width: 620px;
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0) 65%);
  pointer-events: none;
}
.empresso .shell { position: relative; z-index: 1; }

/* The Empresso wordmark stands in for the section heading. */
.empresso__mark {
  margin: 0 0 1.6rem;
  max-width: min(420px, 100%);
}
.empresso__mark img {
  width: 100%;
  height: auto;
}

.empresso__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.empresso__gallery .ph:nth-child(1) { margin-top: 2.5rem; }

/* Size range — the single most persuasive fact about Empresso */
.empresso__size {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .35rem .9rem;
  margin: 1.75rem 0 0;
  padding: 1rem 0 0;
  border-top: 2px solid var(--gold);
}
.empresso__size b {
  font-family: var(--display);
  font-variation-settings: "SOFT" 40, "WONK" 1;
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
}
.empresso__size span {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Collections */
.collections {
  list-style: none;
  margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}
@media (min-width: 780px) { .collections { grid-template-columns: repeat(3, 1fr); } }

.collection {
  background: var(--sand-deep);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.collection__num {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .16em;
  color: var(--gold-text);
  margin: 0 0 1rem;
}
.collection h3 {
  font-family: var(--body);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: .3rem;
}
.collection__line {
  font-size: .95rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
}
.collection ul {
  list-style: none;
  margin: 0;
  padding: 1.15rem 0 0;
  display: grid;
  gap: .5rem;
  border-top: 2px solid;
  border-image: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 11px) 2;
}
.collection ul li {
  font-size: .93rem;
  color: var(--ink);
}

.collections__note {
  font-family: var(--mono);
  font-size: .68rem;
  line-height: 1.9;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 1.75rem 0 0;
  max-width: 70ch;
}

/* ---------- Showcase gallery -------------------------------------------- */
.gallery {
  display: grid;
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery .ph { aspect-ratio: 1; }
@media (min-width: 900px) {
  .gallery .ph--span { grid-column: span 2; aspect-ratio: 2 / 1; }
}

/* ---------- CTA band ----------------------------------------------------- */
.cta {
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(180, 137, 42, .3) 0 14px, transparent 14px 26px);
  background-size: 26px 100%;
  opacity: .12;
  mask-image: radial-gradient(ellipse 70% 100% at 85% 50%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 85% 50%, #000, transparent 70%);
}
.cta .shell { position: relative; z-index: 1; }
.cta h2 { color: var(--white); }
.cta h2 em { font-style: normal; color: var(--gold-light); }
.cta p { color: rgba(255, 255, 255, .72); max-width: 46ch; }
.cta .eyebrow { color: var(--gold-light); }
.cta .eyebrow::before { background-image: linear-gradient(90deg, var(--gold-light) 0 6px, transparent 6px 11px); background-size: 11px 2px; }

/* ---------- Contact ------------------------------------------------------ */
.contact { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 940px) { .contact { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }

.details { margin: 2rem 0 0; display: grid; gap: 1.15rem; }
.details > div { display: grid; gap: .2rem; }
.details dt {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.details dd { margin: 0; color: var(--ink); font-size: 1rem; }
.details a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold-light); }
.details a:hover { border-bottom-color: var(--gold); color: var(--gold-text); }

.map {
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--sand);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Form */
.form { display: grid; gap: 1.15rem; }
.form__row { display: grid; gap: 1.15rem; }
@media (min-width: 620px) { .form__row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: .4rem; }
.field label {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.req { color: var(--gold-text); }

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: .8rem .9rem;
  width: 100%;
  min-height: 50px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%235B5346' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(180, 137, 42, .18);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #B23B2E; }

.field .error { font-size: .82rem; color: #B23B2E; min-height: 1.1rem; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form__note { font-size: .85rem; color: var(--muted-soft); }

.alert {
  border-radius: var(--r);
  padding: 1rem 1.15rem;
  font-size: .95rem;
  border: 1px solid;
}
.alert--ok  { background: #F2F7F0; border-color: #BBD3B3; color: #2E5626; }
.alert--err { background: #FCF2F1; border-color: #E3B9B4; color: #8C2C21; }

/* ---------- Footer -------------------------------------------------------- */
.footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 5vw, 4rem) 2rem;
}
.footer__grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 820px) {
  .footer__grid { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); }
}
.footer img { height: 52px; width: auto; margin-bottom: 1.2rem; }
.footer p { font-size: .93rem; max-width: 40ch; }
.footer h4 {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-soft);
  font-weight: 500;
  margin-bottom: 1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer ul a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.footer ul a:hover { color: var(--gold-text); }

.footer__base {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: space-between;
  font-size: .85rem;
  color: var(--muted-soft);
}

/* ---------- Floating call button (mobile) --------------------------------- */
.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 55;
  display: none;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}
@media (max-width: 720px) { .callbar { display: grid; grid-template-columns: 1fr 1fr; } }
.callbar a {
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  text-align: center;
  padding: .95rem .5rem;
  font-size: .92rem;
  font-weight: 600;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}
.callbar a:first-child { background: var(--gold-deep); color: var(--white); }
@media (max-width: 720px) { body { padding-bottom: 54px; } }

/* ---------- Scroll reveal --------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .process__seam line { stroke-dashoffset: 0 !important; }
  .btn:hover, .card:hover { transform: none; }
}
