/* ==========================================================================
   Zack Wong — Singapore Residential Real Estate
   Design system + components
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Palette */
  --ink:        #0B1A28;
  --ink-2:      #12283C;
  --navy:       #16304A;
  --gold:       #B9964F;
  --gold-lt:    #D9BE86;
  --gold-dp:    #96783A;
  --paper:      #F7F3EC;
  --paper-2:    #EFE8DC;
  --white:      #FFFFFF;

  /* Text */
  --t-strong:   #0E2130;
  --t-body:     #40505E;
  --t-muted:    #73808C;
  --t-invert:   #EAF0F5;
  --t-invert-2: rgba(234, 240, 245, .68);

  /* Lines & shadow */
  --line:       rgba(14, 33, 48, .12);
  --line-lt:    rgba(14, 33, 48, .07);
  --line-inv:   rgba(234, 240, 245, .16);
  --shadow-sm:  0 1px 2px rgba(11, 26, 40, .05), 0 2px 8px rgba(11, 26, 40, .05);
  --shadow-md:  0 8px 26px rgba(11, 26, 40, .09), 0 2px 6px rgba(11, 26, 40, .05);
  --shadow-lg:  0 24px 64px rgba(11, 26, 40, .16);

  /* Rhythm */
  --nav-h:      74px;
  --wrap:       1180px;
  --gutter:     clamp(20px, 4vw, 40px);
  --section-y:  clamp(64px, 8vw, 116px);
  --gap:        clamp(16px, 2vw, 26px);
  --r-sm:       8px;
  --r-md:       14px;
  --r-lg:       22px;

  /* Type */
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

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

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--t-body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--t-strong);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0;
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
}

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- 3. Layout --------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--paper2 { background: var(--paper-2); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: var(--t-invert-2); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--white); }
.section--tight { padding-block: clamp(44px, 5vw, 68px); }

.hairline { height: 1px; background: var(--line-lt); border: 0; margin: 0; }

/* ---------- 4. Typography helpers -------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-dp);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.section--ink .eyebrow { color: var(--gold-lt); }
.eyebrow--plain::before { display: none; }

.display-1 { font-size: clamp(2.65rem, 6.2vw, 4.6rem); line-height: 1.03; letter-spacing: -.03em; }
.display-2 { font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.08; letter-spacing: -.025em; }
.display-3 { font-size: clamp(1.45rem, 2.4vw, 1.95rem); line-height: 1.2; letter-spacing: -.015em; }

.h-serif { font-family: var(--serif); }

.lede {
  font-size: clamp(1.02rem, 1.35vw, 1.14rem);
  line-height: 1.78;
  color: var(--t-body);
  max-width: 62ch;
}
.section--ink .lede { color: var(--t-invert-2); }

.muted { color: var(--t-muted); }
.small { font-size: .875rem; line-height: 1.7; }
.tiny  { font-size: .78rem; line-height: 1.6; letter-spacing: .01em; }
.gold  { color: var(--gold-dp); }
.section--ink .gold { color: var(--gold-lt); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--wide { max-width: 880px; }
.section-head p { margin-top: 16px; }
.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
  flex-wrap: wrap;
}
.section-head--row > div { max-width: 640px; }

/* ---------- 5. Buttons -------------------------------------------------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: #17222E;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid var(--btn-bd);
  border-radius: 100px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
  cursor: pointer;
  transition: transform .35s var(--ease), background .3s var(--ease),
              border-color .3s var(--ease), color .3s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-2px); }

.btn--gold { --btn-bg: var(--gold); --btn-fg: #17222E; }
.btn--gold:hover { --btn-bg: var(--gold-lt); box-shadow: 0 10px 26px rgba(185, 150, 79, .34); }

.btn--ink { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--ink:hover { --btn-bg: var(--navy); box-shadow: 0 10px 26px rgba(11, 26, 40, .26); }

.btn--cream { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.btn--cream:hover { --btn-bg: #fff; box-shadow: 0 10px 26px rgba(11, 26, 40, .2); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--t-strong);
  --btn-bd: rgba(14, 33, 48, .26);
}
.btn--ghost:hover { --btn-bd: var(--ink); --btn-bg: rgba(14, 33, 48, .04); }

.btn--ghost-inv {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, .35);
}
.btn--ghost-inv:hover { --btn-bg: rgba(255, 255, 255, .1); --btn-bd: #fff; }

.btn--block { width: 100%; }
.btn--sm { padding: 11px 20px; font-size: .8rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--t-strong);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.link-arrow:hover { gap: 14px; color: var(--gold-dp); }
.section--ink .link-arrow { color: #fff; }

/* ---------- 6. Header / Nav -------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(247, 243, 236, .82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.nav.is-scrolled {
  background: rgba(247, 243, 236, .96);
  border-bottom-color: var(--line-lt);
  box-shadow: 0 1px 24px rgba(11, 26, 40, .07);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.28rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--t-strong);
}
.brand__sub {
  font-size: .555rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-dp);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
}
.nav__links a {
  position: relative;
  font-size: .81rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--t-body);
  padding: 6px 0;
  transition: color .25s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .3s var(--ease);
}
.nav__links a:hover { color: var(--t-strong); }
.nav__links a:hover::after { width: 100%; }
.nav__links a[aria-current="page"] { color: var(--t-strong); font-weight: 600; }
.nav__links a[aria-current="page"]::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 12px; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}
.nav__toggle span {
  position: relative;
  width: 17px;
  height: 1.5px;
  background: var(--t-strong);
  transition: background .2s var(--ease);
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.5px;
  background: var(--t-strong);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav__toggle span::before { top: -5.5px; }
.nav__toggle span::after  { top: 5.5px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 890;
  background: var(--paper);
  padding: 32px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.mobile-menu.is-open { opacity: 1; transform: none; visibility: visible; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--t-strong);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-lt);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu a span { font-family: var(--sans); font-size: .7rem; color: var(--gold-dp); letter-spacing: .1em; }
.mobile-menu__foot { margin-top: 26px; display: grid; gap: 12px; }
.mobile-menu__contact { font-size: .9rem; color: var(--t-muted); }

/* ---------- 7. Hero ----------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(28px, 5vw, 60px));
  padding-bottom: clamp(40px, 5vw, 72px);
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(217, 190, 134, .16) 0%, rgba(247, 243, 236, 0) 62%),
    linear-gradient(180deg, var(--paper) 0%, #F3EEE5 100%);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero__name {
  font-size: clamp(3.1rem, 8.4vw, 6.1rem);
  line-height: .94;
  letter-spacing: -.035em;
  margin: 0 0 6px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin: 18px 0 22px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--t-muted);
}
.hero__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

.hero__claim {
  font-family: var(--serif);
  font-size: clamp(1.28rem, 2.2vw, 1.72rem);
  line-height: 1.42;
  letter-spacing: -.01em;
  color: var(--t-strong);
  max-width: 24ch;
  margin: 0 0 20px;
}
.hero__claim em {
  font-style: italic;
  color: var(--gold-dp);
}
.hero__lede { max-width: 46ch; margin-bottom: 30px; }

.hero__arch {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 400px;
}
.hero__arch::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--gold);
  border-radius: 999px 999px var(--r-md) var(--r-md);
  opacity: .45;
  pointer-events: none;
}
.hero__arch img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5.05;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: 999px 999px var(--r-md) var(--r-md);
  background: #F1EBE1;
  box-shadow: var(--shadow-md);
}
.hero__badge {
  position: absolute;
  left: clamp(-18px, -2vw, -10px);
  bottom: 34px;
  background: var(--ink);
  color: #fff;
  padding: 13px 20px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1px;
  z-index: 2;
}
.hero__badge strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold-lt);
}
.hero__badge span {
  font-size: .6rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}

.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: clamp(30px, 4vw, 46px);
  padding-top: 22px;
  border-top: 1px solid var(--line-lt);
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--t-muted);
}
.hero__foot b { color: var(--t-strong); font-weight: 600; }

/* ---------- 8. Stat band ------------------------------------------------ */
.statband {
  background: var(--ink);
  color: var(--t-invert-2);
  padding-block: clamp(38px, 4.4vw, 56px);
  position: relative;
  overflow: hidden;
}
.statband::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 140% at 88% 0%, rgba(185, 150, 79, .2), transparent 58%);
  pointer-events: none;
}
.statband__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
  position: relative;
  z-index: 1;
}
.stat { border-left: 1px solid var(--line-inv); padding-left: clamp(16px, 2vw, 26px); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  line-height: 1;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 10px;
  display: block;
}
.stat__num em { font-style: normal; color: var(--gold-lt); }
.stat__num--word {
  font-size: clamp(1.22rem, 2.05vw, 1.62rem);
  line-height: 1.2;
  letter-spacing: -.01em;
  min-height: 2.4em;
  display: flex;
  align-items: flex-end;
}
.stat__label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--t-invert-2);
  display: block;
}
.stat__note { font-size: .78rem; color: rgba(234, 240, 245, .5); margin-top: 6px; display: block; }

/* ---------- 9. Intro / split ------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.split--reverse { grid-template-columns: 1.08fr .92fr; }
.split__aside { position: sticky; top: calc(var(--nav-h) + 32px); }

.pullquote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.1vw, 1.6rem);
  line-height: 1.45;
  color: var(--t-strong);
  letter-spacing: -.01em;
  padding-left: 24px;
  border-left: 2px solid var(--gold);
  margin: 0;
}
.section--ink .pullquote { color: #fff; }

.prose p { color: var(--t-body); }
.prose p + p { margin-top: 1.05em; }
.prose strong { color: var(--t-strong); font-weight: 600; }

/* principle cards */
.principles { display: grid; gap: 1px; background: var(--line-lt); margin-top: 30px; }
.principle {
  background: var(--paper);
  padding: 24px 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}
.section--white .principle { background: var(--white); }
.principle__idx {
  font-family: var(--serif);
  font-size: .8rem;
  letter-spacing: .1em;
  color: var(--gold-dp);
  padding-top: 4px;
}
.principle h3 { font-size: 1.02rem; margin-bottom: 6px; letter-spacing: 0; }
.principle p { font-size: .9rem; line-height: 1.7; margin: 0; color: var(--t-body); }

/* ---------- 10. Service cards ------------------------------------------ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.svc {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-lt);
  border-radius: var(--r-md);
  padding: clamp(24px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  overflow: hidden;
}
.svc::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  transition: width .45s var(--ease);
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(185, 150, 79, .4); }
.svc:hover::before { width: 100%; }
.svc__num {
  font-family: var(--serif);
  font-size: .78rem;
  letter-spacing: .16em;
  color: var(--gold-dp);
}
.svc h3 { font-size: 1.14rem; letter-spacing: -.01em; }
.svc p { font-size: .9rem; line-height: 1.72; margin: 0; color: var(--t-body); }
.svc__icon {
  width: 34px;
  height: 34px;
  color: var(--gold-dp);
  margin-bottom: 2px;
}

/* ---------- 11. Deal cards --------------------------------------------- */
.deals { display: grid; gap: clamp(18px, 2.4vw, 30px); }

.deal {
  display: grid;
  grid-template-columns: 265px 1fr;
  grid-template-areas:
    "photo photo"
    "aside body";
  background: var(--white);
  border: 1px solid var(--line-lt);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.deal:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.deal__photo {
  grid-area: photo;
  position: relative;
  aspect-ratio: 16 / 8.2;
  overflow: hidden;
  background: var(--paper-2);
}
.deal__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.deal:hover .deal__photo img { transform: scale(1.035); }
.deal__photo figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: rgba(8, 21, 33, .82);
  backdrop-filter: blur(4px);
  color: rgba(255, 255, 255, .86);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 0 var(--r-sm) 0 0;
}

.deal__aside {
  grid-area: aside;
  background: var(--ink);
  color: var(--t-invert-2);
  padding: clamp(24px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.deal__body { grid-area: body; padding: clamp(24px, 2.8vw, 38px); display: flex; flex-direction: column; gap: 14px; }
.deal__body h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.25; }
.deal__body p { font-size: .93rem; line-height: 1.76; color: var(--t-body); margin: 0; }
.deal__aside::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 0% 100%, rgba(185, 150, 79, .22), transparent 60%);
  pointer-events: none;
}
.deal__type {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-lt);
  position: relative;
  z-index: 1;
}
.deal__price {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  line-height: 1;
  color: #fff;
  letter-spacing: -.02em;
  position: relative;
  z-index: 1;
}
.deal__place {
  font-size: .84rem;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .7);
  margin-top: 8px;
  position: relative;
  z-index: 1;
}
.deal__body { padding: clamp(24px, 2.8vw, 38px); display: flex; flex-direction: column; gap: 14px; }
.deal__body { padding: clamp(24px, 2.8vw, 38px); display: flex; flex-direction: column; gap: 14px; }
.deal__body h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.25; }
.deal__body p { font-size: .93rem; line-height: 1.76; color: var(--t-body); margin: 0; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.tag {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--t-body);
  background: var(--paper-2);
  border: 1px solid var(--line-lt);
  padding: 6px 11px;
  border-radius: 100px;
}
.tag--gold { color: #6C5620; background: rgba(217, 190, 134, .26); border-color: rgba(185, 150, 79, .38); }

/* record ledger */
.ledger { border-top: 1px solid var(--line-lt); }
.ledger__row {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-lt);
}
.ledger__k {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dp);
}
.ledger__v { font-family: var(--serif); font-size: 1.12rem; color: var(--t-strong); }
.ledger__a { font-size: .84rem; color: var(--t-muted); text-align: right; }

/* ---------- 12. Carousel ----------------------------------------------- */
.carousel-shell { position: relative; }

.carousel {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  gap: clamp(8px, 1.4vw, 18px);
  align-items: center;
  --per: 3;
  --cgap: var(--gap);
}
.carousel__viewport { overflow: hidden; min-width: 0; }
.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--per) - 1) * var(--cgap)) / var(--per));
  gap: var(--cgap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }

.carousel__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--t-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .28s var(--ease), color .28s var(--ease),
              border-color .28s var(--ease), transform .28s var(--ease), opacity .28s var(--ease);
  box-shadow: var(--shadow-sm);
}
.carousel__btn:hover:not(:disabled) {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: scale(1.05);
}
.carousel__btn:disabled { opacity: .3; cursor: default; }
.section--ink .carousel__btn {
  background: transparent;
  border-color: var(--line-inv);
  color: #fff;
  box-shadow: none;
}
.section--ink .carousel__btn:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.carousel__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  flex-wrap: nowrap;
}
.carousel__bar {
  flex: 1;
  min-width: 60px;
  height: 2px;
  background: var(--line-lt);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.section--ink .carousel__bar { background: var(--line-inv); }
.carousel__bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--gold);
  transition: width .25s linear;
}
.carousel__count {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--t-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.section--ink .carousel__count { color: var(--t-invert-2); }

/* award slide */
.award {
  display: block;
  background: var(--white);
  border: 1px solid var(--line-lt);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  text-align: left;
}
.award:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.award__img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #F2F0EC;
}
.award__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .6s var(--ease);
}
.award:hover .award__img img { transform: scale(1.035); }
.award__body { padding: 16px 18px 18px; border-top: 1px solid var(--line-lt); }
.award__title { font-family: var(--serif); font-size: .99rem; color: var(--t-strong); line-height: 1.3; }
.award__meta { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dp); margin-top: 6px; font-weight: 600; }
.award__note { font-size: .78rem; color: var(--t-muted); margin-top: 6px; }

/* ---------- 13. Video cards -------------------------------------------- */
.video {
  display: block;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line-lt);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  cursor: pointer;
  width: 100%;
  padding: 0;
}
.video:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(185, 150, 79, .4); }
.video__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #DCD8D0;
  overflow: hidden;
}
.video__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.video:hover .video__thumb img { transform: scale(1.04); }
.video__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 26, 40, 0) 40%, rgba(11, 26, 40, .58) 100%);
}
.video__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .93);
  display: grid;
  place-items: center;
  z-index: 2;
  transition: transform .35s var(--ease), background .3s var(--ease);
  box-shadow: 0 4px 18px rgba(11, 26, 40, .3);
}
.video:hover .video__play { transform: scale(1.1); background: var(--gold); }
.video__play svg { width: 16px; height: 16px; margin-left: 2px; color: var(--ink); }
.video__dur {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  background: rgba(11, 26, 40, .82);
  color: #fff;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 3px 7px;
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
}
.video__views {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: #fff;
  text-transform: uppercase;
}
.video__body { padding: 15px 17px 18px; }
.video__title {
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--t-strong);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video__kind { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dp); font-weight: 600; margin-top: 7px; }

/* shorts */
.shorts {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 190px;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.shorts::-webkit-scrollbar { display: none; }
.short {
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line-lt);
  cursor: pointer;
  padding: 0;
  width: 100%;
}
.short img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.short:hover img { transform: scale(1.05); }
.short::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 26, 40, .06) 30%, rgba(11, 26, 40, .9) 100%);
}
.short__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  display: grid;
  place-items: center;
  z-index: 2;
}
.short__play svg { width: 14px; height: 14px; margin-left: 2px; color: var(--ink); }
.short__cap {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  color: #fff;
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
}
.short--link {
  background:
    radial-gradient(120% 90% at 50% 100%, rgba(185, 150, 79, .3), transparent 62%),
    var(--ink-2);
  border-color: rgba(217, 190, 134, .38);
  display: block;
}
.short--link .short__play {
  top: 50%;
  bottom: auto;
  transform: translateY(-70%);
  width: 42px;
  height: 42px;
  background: rgba(185, 150, 79, .9);
}
.short--link .short__play svg { color: var(--ink); }
.short--link .short__cap b { font-weight: 700; letter-spacing: .01em; }

/* ---------- 13b. References panel -------------------------------------- */
.references {
  background: var(--white);
  border: 1px solid var(--line-lt);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3.4vw, 46px);
}
.references__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}
.references__body p { font-size: .93rem; line-height: 1.8; }
.references__body p + p { margin-top: 14px; }
.shorts-wrap { padding-top: 4px; }
.shorts-wrap .eyebrow { margin-bottom: 16px; }

/* ---------- 14. Testimonials ------------------------------------------- */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
/* When a full-width featured quote leads, the remainder sits in two columns. */
.tst-grid:has(.tst--featured) { grid-template-columns: repeat(2, 1fr); }
.tst {
  background: var(--white);
  border: 1px solid var(--line-lt);
  border-radius: var(--r-md);
  padding: clamp(24px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* The longest quote leads the section full-width. */
.tst--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "stars by"
    "quote quote";
  gap: 10px clamp(24px, 3vw, 44px);
  align-items: start;
  padding: clamp(28px, 3.2vw, 44px);
  background: var(--paper);
  border-color: rgba(185, 150, 79, .32);
}
.tst--featured .stars { grid-area: stars; }
.tst--featured .tst__quote {
  grid-area: quote;
  font-size: clamp(1.02rem, 1.55vw, 1.22rem);
  line-height: 1.68;
  columns: 2;
  column-gap: clamp(24px, 3vw, 46px);
  column-rule: 1px solid var(--line-lt);
  margin-top: 6px;
}
.tst--featured .tst__by { grid-area: by; text-align: right; margin-top: 0; }
.tst__quote { font-family: var(--serif); font-size: 1.04rem; line-height: 1.6; color: var(--t-strong); margin: 0; }
.tst__by { font-size: .78rem; font-weight: 600; letter-spacing: .06em; color: var(--t-muted); margin-top: auto; }
.tst__by b { display: block; color: var(--t-strong); font-size: .84rem; letter-spacing: .02em; }
.stars { color: var(--gold); letter-spacing: .16em; font-size: .82rem; }

/* ---------- 15. CTA band ------------------------------------------------ */
.cta-band {
  position: relative;
  background: var(--ink);
  color: var(--t-invert-2);
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 96px);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 120% at 12% 10%, rgba(185, 150, 79, .22), transparent 62%),
    radial-gradient(60% 100% at 92% 92%, rgba(185, 150, 79, .12), transparent 60%);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-contacts { display: grid; gap: 2px; }
.cta-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border: 1px solid var(--line-inv);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .03);
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.cta-contact + .cta-contact { margin-top: 10px; }
.cta-contact:hover { background: rgba(255, 255, 255, .08); border-color: rgba(217, 190, 134, .5); transform: translateX(3px); }
.cta-contact__ic {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(185, 150, 79, .16);
  color: var(--gold-lt);
}
.cta-contact__ic svg { width: 17px; height: 17px; }
.cta-contact__t { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(234, 240, 245, .55); display: block; }
.cta-contact__v { font-size: .95rem; font-weight: 600; color: #fff; letter-spacing: .01em; }

/* ---------- 16. Footer -------------------------------------------------- */
.footer { background: #081521; color: rgba(234, 240, 245, .55); padding-block: clamp(44px, 5vw, 64px) 26px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(234, 240, 245, .12);
}
.footer h4 {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin: 0 0 16px;
}
.footer a { transition: color .25s var(--ease); }
.footer a:hover { color: #fff; }
.footer__links { display: grid; gap: 11px; font-size: .86rem; }
.footer__brand .brand__name { color: #fff; font-size: 1.32rem; }
.footer__brand p { font-size: .86rem; line-height: 1.7; margin-top: 14px; max-width: 30ch; }
.footer__ceadetail { font-size: .8rem; line-height: 1.8; }
.footer__ceadetail b { color: rgba(234, 240, 245, .82); font-weight: 500; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(234, 240, 245, .2);
  display: grid;
  place-items: center;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; }
.footer__legal {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  align-items: flex-start;
  font-size: .74rem;
  line-height: 1.75;
  color: rgba(234, 240, 245, .42);
}
.footer__legal p { margin: 0; max-width: 78ch; }

/* ---------- 17. Page header (inner pages) ------------------------------ */
.pagehead {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 78px));
  padding-bottom: clamp(40px, 5vw, 66px);
  background:
    radial-gradient(100% 120% at 86% 0%, rgba(217, 190, 134, .16), transparent 58%),
    linear-gradient(180deg, var(--paper) 0%, #F3EEE5 100%);
  border-bottom: 1px solid var(--line-lt);
  overflow: hidden;
}
.pagehead__grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}
.pagehead h1 { margin-bottom: 18px; }
.pagehead__aside { text-align: right; padding-bottom: 6px; }
.pagehead__aside dl { margin: 0; display: grid; gap: 14px; }
.pagehead__aside dt {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-dp);
  margin-bottom: 2px;
}
.pagehead__aside dd { margin: 0; font-family: var(--serif); font-size: 1.1rem; color: var(--t-strong); }

.crumbs { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--t-muted); margin-bottom: 20px; }
.crumbs a:hover { color: var(--gold-dp); }
.crumbs span { margin-inline: 8px; opacity: .5; }

/* ---------- 18. Process timeline --------------------------------------- */
.steps { display: grid; gap: 0; border-top: 1px solid var(--line-lt); }
.step {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: clamp(16px, 2.4vw, 36px);
  padding: clamp(22px, 2.6vw, 32px) 0;
  border-bottom: 1px solid var(--line-lt);
  transition: background .3s var(--ease);
}
.step:hover { background: rgba(255, 255, 255, .5); }
.step__n {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--gold);
  line-height: 1;
}
.step__n small { display: block; font-family: var(--sans); font-size: .6rem; letter-spacing: .16em; color: var(--t-muted); margin-top: 6px; }
.step h3 { font-size: 1.16rem; margin-bottom: 8px; }
.step p { font-size: .93rem; margin: 0; max-width: 72ch; }

/* ---------- 19. Forms --------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--t-strong);
}
.field label .req { color: var(--gold-dp); }
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: .94rem;
  color: var(--t-strong);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  width: 100%;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2340505E' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185, 150, 79, .16);
}
.field input::placeholder, .field textarea::placeholder { color: #A2ABB4; }
.field__err { font-size: .76rem; color: #B4462F; min-height: 0; }
.form-note { font-size: .78rem; color: var(--t-muted); line-height: 1.65; margin-top: 14px; }

.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-size: .87rem;
  line-height: 1.6;
  margin-bottom: 18px;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: rgba(58, 122, 84, .1); border: 1px solid rgba(58, 122, 84, .3); color: #28603F; }
.form-status--err { background: rgba(180, 70, 47, .08); border: 1px solid rgba(180, 70, 47, .28); color: #96341F; }

.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(30px, 4.5vw, 64px);
  align-items: start;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line-lt);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 42px);
  box-shadow: var(--shadow-sm);
}
.contact-info { display: grid; gap: 2px; }
.info-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line-lt);
  align-items: start;
}
.info-row:first-child { border-top: 1px solid var(--line-lt); }
.info-row__ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--gold-dp); }
.info-row__ic svg { width: 16px; height: 16px; }
.info-row__t { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--t-muted); display: block; margin-bottom: 3px; }
.info-row__v { font-size: .96rem; color: var(--t-strong); font-weight: 500; line-height: 1.5; }
.info-row__v a:hover { color: var(--gold-dp); }

/* ---------- 20. Utility ------------------------------------------------ */
.mt-0 { margin-top: 0; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: 44px; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.center .eyebrow { justify-content: center; }
.nowrap { white-space: nowrap; }
.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;
}

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

/* floating whatsapp */
.wa-float {
  position: fixed;
  right: clamp(14px, 2.4vw, 26px);
  bottom: clamp(14px, 2.4vw, 26px);
  z-index: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0E8A52;
  color: #fff;
  padding: 13px 20px 13px 15px;
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(11, 26, 40, .3);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); background: #0B7444; box-shadow: 0 14px 34px rgba(11, 26, 40, .34); }
.wa-float svg { width: 19px; height: 19px; flex: none; }

/* video modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(14px, 4vw, 48px);
  background: rgba(6, 14, 22, .82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__panel {
  width: min(960px, 100%);
  background: #081521;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(.99);
  transition: transform .35s var(--ease);
}
.modal.is-open .modal__panel { transform: none; }
.modal__panel--portrait { width: min(430px, 100%); }
.modal__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.modal__panel--portrait .modal__frame { aspect-ratio: 9 / 16; max-height: 82vh; }
.modal__panel--image { width: min(620px, 100%); }
.modal__panel--image .modal__frame {
  aspect-ratio: auto;
  max-height: 76vh;
  overflow-y: auto;
  background: #fff;
}
.modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  color: rgba(234, 240, 245, .8);
  font-size: .82rem;
}
.modal__bar strong { color: #fff; font-weight: 500; font-size: .86rem; display: block; }
.modal__close {
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .25s var(--ease);
}
.modal__close:hover { background: rgba(255, 255, 255, .14); }

/* accent quote band */
.quote-band {
  background: var(--ink);
  padding-block: clamp(48px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.quote-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 130% at 50% 0%, rgba(185, 150, 79, .16), transparent 60%);
}
.quote-band blockquote {
  position: relative;
  margin: 0 auto;
  max-width: 860px;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.24rem, 2.6vw, 1.9rem);
  line-height: 1.44;
  color: #fff;
  letter-spacing: -.01em;
}
.quote-band cite {
  display: block;
  margin-top: 20px;
  font-family: var(--sans);
  font-style: normal;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-lt);
}

/* ---------- 21. Responsive --------------------------------------------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__actions .btn--nav { display: none; }

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

  .carousel { --per: 2.2; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .tst-grid { grid-template-columns: 1fr 1fr; }
  .tst-grid > :last-child:nth-child(3) { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__arch { order: -1; max-width: 310px; justify-self: start; }
  .hero__arch img { aspect-ratio: 1 / 1.16; object-position: 50% 18%; }
  .hero__arch::before { inset: 10px -10px -10px 10px; }
  .hero__claim { max-width: 32ch; }

  .split, .split--reverse { grid-template-columns: 1fr; }
  .split__aside { position: static; }

  .statband__grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .stat { border-left: 0; padding-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line-inv); padding-left: 18px; }

  .deal { grid-template-columns: 1fr; }
  .deal__aside { flex-direction: row; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
  .deal__aside > div { flex: 1 1 60%; }

  .pagehead__grid { grid-template-columns: 1fr; align-items: start; }
  .pagehead__aside { text-align: left; }
  .pagehead__aside dl { grid-template-columns: 1fr 1fr; gap: 16px; }

  .cta-band__inner { grid-template-columns: 1fr; }

  .contact-layout { grid-template-columns: 1fr; }
  .tst-grid { grid-template-columns: 1fr; }
  .tst-grid > :last-child:nth-child(3) { grid-column: auto; }
}

@media (max-width: 640px) {
  :root { --nav-h: 66px; }

  .brand__name { font-size: 1.1rem; }
  .brand__sub { font-size: .5rem; letter-spacing: .16em; }

  .hero { padding-top: calc(var(--nav-h) + 22px); }
  .hero__name { font-size: clamp(2.7rem, 13vw, 3.5rem); }
  .hero__badge { left: auto; right: -6px; bottom: 18px; padding: 11px 15px; }
  .hero__badge strong { font-size: 1.24rem; }
  .hero__foot { gap: 8px 18px; font-size: .74rem; }
  .hero .btn-row .btn { flex: 1 1 100%; }

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

  .carousel {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "vp   vp"
      "prev next";
    gap: 12px;
    align-items: center;
  }
  .carousel__viewport { grid-area: vp; }
  .carousel__btn[data-car="prev"] { grid-area: prev; justify-self: start; }
  .carousel__btn[data-car="next"] { grid-area: next; justify-self: end; }
  .carousel__btn { width: 44px; height: 44px; }
  .carousel__meta { margin-top: 12px; }
  .carousel--awards { --per: 1.5; }
  .carousel--videos { --per: 1.12; }

  .ledger__row { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .ledger__a { text-align: left; }

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

  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__legal { flex-direction: column; }

  .wa-float span { display: none; }
  .wa-float { padding: 14px; }

  .step { grid-template-columns: 56px 1fr; gap: 14px; }
  .pagehead__aside dl { grid-template-columns: 1fr; }
  .btn { padding: 14px 24px; }
  .modal__panel--portrait .modal__frame { max-height: 70vh; }
}

/* ---------- 22. Motion preferences ------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .carousel__track { scroll-behavior: auto; }
}

/* ---------- 23. Print --------------------------------------------------- */
@media print {
  .nav, .mobile-menu, .wa-float, .modal, .carousel__btn { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .section--ink, .cta-band { background: #fff !important; color: #000 !important; }
  a { text-decoration: underline; }
}
