@font-face{ font-family:"Editors Note"; src:url("assets/fonts/EditorsNote-Thin.otf") format("opentype"); font-weight:200; font-style:normal; font-display:swap; }
@font-face{ font-family:"Editors Note"; src:url("assets/fonts/EditorsNote-ThinItalic.otf") format("opentype"); font-weight:200; font-style:italic; font-display:swap; }
@font-face{ font-family:"Editors Note"; src:url("assets/fonts/EditorsNote-Light.otf") format("opentype"); font-weight:300; font-style:normal; font-display:swap; }
@font-face{ font-family:"Editors Note"; src:url("assets/fonts/EditorsNote-LightItalic.otf") format("opentype"); font-weight:300; font-style:italic; font-display:swap; }
@font-face{ font-family:"Editors Note"; src:url("assets/fonts/EditorsNote-Regular.otf") format("opentype"); font-weight:400; font-style:normal; font-display:swap; }
@font-face{ font-family:"Editors Note"; src:url("assets/fonts/EditorsNote-Italic.otf") format("opentype"); font-weight:400; font-style:italic; font-display:swap; }
/* ============================================================
   Soul on Grey — About
   Inherits palette + type from the homepage so it reads as one
   continuous editorial. Page-local code begins at .ab-*.
   ============================================================ */

:root{
  --bg:        #faf8f5;
  --bg-2:      #f3efe8;
  --bg-3:      #ebe5dc;
  --ink:       #1c1917;
  --ink-soft:  #44403c;
  --accent:    #9a8578;
  --muted:     #8a8278;
  --highlight: #c4b5a5;
  --rule:      rgba(28,25,23,0.12);

  --serif:  "Editors Note", "Cormorant Garamond", "Times New Roman", serif;
  --sans:   "Comfortaa", system-ui, -apple-system, sans-serif;

  --maxw: 1440px;
  --gutter: clamp(20px, 4vw, 64px);

  /* per-section bg, tweakable */
  --bg-hero: #faf8f5;
  --bg-manifesto: #faf8f5;
  --bg-founder: #f3efe8;
  --bg-bts: #faf8f5;
  --bg-testimonials: #1a1714;
  --bg-coda: #faf8f5;

  /* portrait aspect ratio, tweakable */
  --portrait-ratio: 4 / 5;
}

.theme-dark{
  --ink:       #f0ebe3;
  --ink-soft:  #d8d2c8;
  --accent:    #c4b5a5;
  --muted:     #8a8278;
  --highlight: #d4b8a8;
  --rule:      rgba(240,235,227,0.12);
  color: var(--ink);
}

*{ box-sizing: border-box; }
html, body{ margin:0; padding:0; }
html{ scroll-behavior: smooth; }
body{
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ display:block; max-width:100%; height:auto; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.wrap{ max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow{
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
}
.rule{ height:1px; background: var(--rule); border:0; margin:0; }
.rule--short{ width:56px; margin: 24px auto; }

/* ---------- NAV ---------- */
.nav{
  position: fixed; top:0; left:0; right:0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background .5s ease, padding .5s ease, border-color .5s ease, color .5s ease;
  border-bottom: 1px solid transparent;

  --ink: #1c1917;
  --ink-soft: #44403c;
  --accent: #9a8578;
  --highlight: #c6c6c6;
  --rule: rgba(28,25,23,0.12);
  color: var(--ink);

  background: rgba(250,248,245,0.78);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}
.nav.is-scrolled{
  background: rgba(250,248,245,0.92);
  padding: 14px var(--gutter);
  border-bottom-color: var(--rule);
}
.nav__brand{
  display: flex; align-items: center; gap: 16px;
  font-family: var(--serif);
}
.nav__brand__word{
  display: inline-block;
  white-space: nowrap;
  font-family: var(--serif);
  font-weight: 100;
  font-style: italic;
  font-size: clamp(26px, 2.1vw, 34px);
  letter-spacing: -0.01em;
  line-height: 1;
  color: currentColor;
  transform: translateY(1px);
}
.nav__brand__word .grey{ color: rgb(196,181,165); }
.nav__brand__logo{
  display: block;
  height: 56px;
  width: calc(56px * 4 / 5);
  background-color: currentColor;
  -webkit-mask: url("assets/sog-watermark.png") center / contain no-repeat;
  mask: url("assets/sog-watermark.png") center / contain no-repeat;
  transition: background-color 320ms ease;
}
.nav__links{
  display: flex; gap: 28px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.nav__links a{ position: relative; padding-bottom: 4px; white-space: nowrap; transition: color .35s ease; }
.nav__links a::after{
  content:""; position:absolute; left:0; right:0; bottom:0;
  height:1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.nav__links a:hover::after,
.nav__links a.is-active::after{ transform: scaleX(1); }
.nav__links a.is-active{ color: var(--ink); }
.nav__cta{
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  padding: 10px 18px;
  color: var(--ink);
  transition: border-color .4s ease, color .4s ease;
}
.nav__cta:hover{ color: var(--highlight); }
@media (max-width: 980px){ .nav__links{ display: none; } }

/* ---------- HERO ---------- */
.ab-hero{
  background: var(--bg-hero);
  padding: clamp(180px, 22vh, 240px) 0 clamp(80px, 12vh, 140px);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.ab-hero__rule{
  height: 1px;
  background: #f0ebe3;
  border: 0;
  margin: clamp(48px, 7vw, 96px) 0 0;
  width: 100%;
}
.ab-hero__inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.ab-hero__title{
  font-family: var(--serif);
  font-weight: 100;
  font-size: clamp(72px, 14vw, 220px);
  line-height: 0.92;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
.ab-hero__title .em{
  font-style: italic;
  color: var(--highlight);
  font-weight: 100;
}
.ab-hero__sub{
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.85;
  letter-spacing: 0.04em;
  opacity: 0.78;
  margin: clamp(28px, 4vw, 56px) 0 0;
  text-align: right;
  max-width: none;
}

/* ---------- MANIFESTO ---------- */
.ab-manifesto{
  background: var(--bg-manifesto);
  padding: clamp(110px, 16vh, 200px) var(--gutter);
  text-align: center;
}
.ab-manifesto__eyebrow{ display: inline-block; margin-bottom: 36px; }
.ab-manifesto__quote{
  font-family: var(--serif);
  font-weight: 100;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.06;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 18ch;
  margin: 0 auto;
}
.ab-manifesto__quote .em{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 100;
  color: var(--highlight);
}
.ab-manifesto__body{
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: clamp(48px, 7vh, 72px) auto 0;
}

/* ---------- FOUNDER ---------- */
.ab-founder{
  background: var(--bg-founder);
  padding: clamp(110px, 16vh, 200px) var(--gutter);
}
.ab-founder__grid{
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(56px, 8vw, 140px);
  align-items: center;
}
.ab-founder__portrait{
  position: relative;
  aspect-ratio: var(--portrait-ratio);
  background: var(--bg-3);
  overflow: hidden;
}
.ab-founder__portrait image-slot{ display:block; width:100%; height:100%; }
.ab-founder__portrait::after{
  content:""; position:absolute; inset:0;
  box-shadow: inset 0 0 0 1px rgba(28,25,23,0.05);
  pointer-events: none;
}
.ab-founder__copy{
  display: flex; flex-direction: column;
  gap: 28px;
}
.ab-founder__eyebrow{ display: inline-block; }
.ab-founder__title{
  font-family: var(--serif);
  font-weight: 100;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  max-width: 16ch;
}
.ab-founder__title .em{
  font-style: italic;
  color: var(--highlight);
  font-weight: 100;
}
.ab-founder__body{
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 52ch;
  display: flex; flex-direction: column;
  gap: 18px;
  margin: 0;
}
.ab-founder__body p{ margin: 0; }
.ab-founder__sig{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 100;
  font-size: clamp(26px, 2.4vw, 38px);
  color: var(--accent);
  letter-spacing: -0.01em;
  margin-top: 12px;
}
.ab-founder__meta{
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(24px, 4vw, 56px);
  margin-top: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.ab-founder__meta dt{
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}
.ab-founder__meta dd{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 200;
  font-size: clamp(18px, 1.5vw, 24px);
  color: var(--ink);
  margin: 0;
}
@media (max-width: 900px){
  .ab-founder__grid{ grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- BEHIND-THE-SCENES ---------- */
.ab-bts{
  background: var(--bg-bts);
  padding: clamp(110px, 16vh, 200px) var(--gutter);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.ab-bts__head{
  max-width: var(--maxw);
  margin: 0 auto clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
}
.ab-bts__head h2{
  font-family: var(--serif);
  font-weight: 100;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.005em;
  margin: 12px 0 0;
  max-width: 18ch;
}
.ab-bts__head h2 .em{ font-style: italic; color: var(--highlight); font-weight: 100; }
.ab-bts__head .meta{
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  max-width: 32ch;
  text-align: right;
  line-height: 1.7;
  letter-spacing: 0.02em;
}
.ab-bts__grid{
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 80px;
  gap: 14px;
}
.ab-bts__cell{
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
}
.ab-bts__cell image-slot{ display: block; width: 100%; height: 100%; }
.ab-bts__cell:nth-child(1){ grid-column: span 5; grid-row: span 6; }
.ab-bts__cell:nth-child(2){ grid-column: span 4; grid-row: span 4; }
.ab-bts__cell:nth-child(3){ grid-column: span 3; grid-row: span 5; }
.ab-bts__cell:nth-child(4){ grid-column: span 3; grid-row: span 4; }
.ab-bts__cell:nth-child(5){ grid-column: span 4; grid-row: span 5; }
.ab-bts__cell:nth-child(6){ grid-column: span 5; grid-row: span 4; }
@media (max-width: 900px){
  .ab-bts__head{ grid-template-columns: 1fr; align-items: start; }
  .ab-bts__head .meta{ text-align: left; }
  .ab-bts__grid{ grid-template-columns: repeat(6, 1fr); grid-auto-rows: 60px; }
  .ab-bts__cell:nth-child(1){ grid-column: span 6; grid-row: span 5; }
  .ab-bts__cell:nth-child(2){ grid-column: span 3; grid-row: span 4; }
  .ab-bts__cell:nth-child(3){ grid-column: span 3; grid-row: span 4; }
  .ab-bts__cell:nth-child(4){ grid-column: span 3; grid-row: span 4; }
  .ab-bts__cell:nth-child(5){ grid-column: span 3; grid-row: span 4; }
  .ab-bts__cell:nth-child(6){ grid-column: span 6; grid-row: span 4; }
}

/* ---------- TESTIMONIALS ---------- */
.ab-test{
  background: var(--bg-testimonials);
  color: #f0ebe3;
  padding: clamp(110px, 16vh, 200px) var(--gutter);
}
.ab-test__head{
  max-width: var(--maxw);
  margin: 0 auto clamp(72px, 9vw, 140px);
  text-align: center;
}
.ab-test__head .eyebrow{ color: #c4b5a5; }
.ab-test__head h2{
  font-family: var(--serif);
  font-weight: 100;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.005em;
  margin: 24px 0 0;
  color: #f0ebe3;
  max-width: 22ch;
  margin-left: auto; margin-right: auto;
}
.ab-test__head h2 .em{ font-style: italic; color: #d4b8a8; font-weight: 100; }
.ab-test__list{
  max-width: 980px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: clamp(80px, 11vw, 160px);
}
.ab-test__item{
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  align-items: start;
}
.ab-test__item:nth-of-type(even){
  grid-template-columns: 1fr 80px;
  text-align: right;
}
.ab-test__item:nth-of-type(even) .ab-test__mark{ order: 2; transform: scaleX(-1); }
.ab-test__item:nth-of-type(even) .ab-test__body{ order: 1; }
.ab-test__mark{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 100;
  font-size: 96px;
  line-height: 0.6;
  color: #d4b8a8;
  margin-top: 4px;
}
.ab-test__body{ display: flex; flex-direction: column; gap: 28px; }
.ab-test__quote{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 100;
  font-size: clamp(22px, 2.3vw, 36px);
  line-height: 1.32;
  letter-spacing: -0.005em;
  color: #f0ebe3;
  margin: 0;
}
.ab-test__attr{
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #c4b5a5;
}
.ab-test__attr .names{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 200;
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
  color: #f0ebe3;
  display: block;
  margin-bottom: 6px;
}
@media (max-width: 700px){
  .ab-test__item,
  .ab-test__item:nth-of-type(even){
    grid-template-columns: 60px 1fr;
    text-align: left;
  }
  .ab-test__item:nth-of-type(even) .ab-test__mark{ order: 0; transform: none; }
  .ab-test__item:nth-of-type(even) .ab-test__body{ order: 0; }
  .ab-test__mark{ font-size: 64px; }
}

/* ---------- CODA ---------- */
.ab-coda{
  background: var(--bg-coda);
  text-align: center;
  padding: clamp(100px, 14vh, 160px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.ab-coda__watermark{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(640px, 80vw);
  height: auto;
  opacity: 0.45;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-select: none; user-select: none;
  z-index: 0;
}
.ab-coda > *:not(.ab-coda__watermark){ position: relative; z-index: 1; }
.ab-coda h2{
  font-family: var(--serif);
  font-weight: 100;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 24px 0 36px;
  max-width: 16ch;
  margin-left: auto; margin-right: auto;
}
.ab-coda h2 .em{ font-style: italic; color: var(--highlight); font-weight: 100; }
.ab-coda__cta{
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  padding: 18px 34px;
  transition: background .4s ease, color .4s ease;
}
.ab-coda__cta:hover{ background: var(--accent); color: var(--bg); }

/* ---------- FOOTER ---------- */
.footer{
  background: #14110f;
  color: #f0ebe3;
  padding: 80px var(--gutter) 36px;
}
.footer__inner{
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.footer__brand{ display:flex; flex-direction:column; gap: 22px; }
.footer__logo{
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 32px;
  color: #f0ebe3;
  line-height: 1;
}
.footer__logo .grey{ color: #c4b5a5; font-style: italic; }
.footer__tag{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 100;
  font-size: 25px;
  color: #c4b5a5;
  letter-spacing: 0.02em;
}
.footer__about{
  font-size: 13px;
  line-height: 1.7;
  color: #d8d2c8;
  margin: 0;
  max-width: 38ch;
}
.footer__social{ display:flex; gap: 14px; margin-top: 6px; }
.footer__social a{
  width: 36px; height: 36px;
  border: 1px solid rgba(240,235,227,0.18);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #d8d2c8;
  transition: border-color .35s ease, color .35s ease;
}
.footer__social a:hover{ border-color: #c4b5a5; color: #f0ebe3; }
.footer__social svg{ width: 14px; height: 14px; }
.footer__col h4{
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #c4b5a5;
  margin: 0 0 22px;
  font-weight: 400;
}
.footer__col ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap: 12px; }
.footer__col a{ color: #d8d2c8; font-size: 14px; }
.footer__col a:hover{ color: #f0ebe3; }
.footer__col .small{ color: #8a8278; font-size: 12px; line-height: 1.6; }
.footer__bottom{
  max-width: var(--maxw);
  margin: 64px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(240,235,227,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #8a8278;
}
.footer__bottom .right{ display:flex; gap: 28px; }
@media (max-width: 820px){
  .footer__inner{ grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__brand{ grid-column: 1 / -1; }
  .footer__bottom{ flex-direction: column; gap: 16px; text-align: center; }
}

/* ---------- reveal ---------- */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.2s cubic-bezier(.2,.7,.2,1), transform 1.2s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in{ opacity:1; transform: translateY(0); }
.reveal--img{ transform: translateY(40px) scale(1.02); }
.reveal--img.is-in{ transform: translateY(0) scale(1); }

::selection{ background: var(--accent); color: var(--bg); }

/* ============================================================
   Tweaks panel (light cream — same protocol as homepage)
   ============================================================ */
.ab-tweaks{
  position: fixed; right: 24px; bottom: 24px;
  width: 300px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #faf8f5;
  color: #1c1917;
  border: 1px solid rgba(28,25,23,0.12);
  border-radius: 12px;
  box-shadow: 0 18px 60px -20px rgba(0,0,0,0.35), 0 4px 12px -4px rgba(0,0,0,0.18);
  font-family: "Comfortaa", system-ui, sans-serif;
  z-index: 9999;
  padding: 18px 18px 16px;
  display: none;
}
.ab-tweaks.is-open{ display: block; }
.ab-tweaks__head{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom: 14px;
}
.ab-tweaks h4{
  margin: 0;
  font-family: "Comfortaa", sans-serif;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: #9a8578; font-weight: 500;
}
.ab-tweaks .x{
  background: none; border: 0; cursor: pointer;
  color: #44403c; font-size: 16px; line-height: 1; padding: 4px;
}
.ab-tweaks .section-title{
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: #9a8578; margin: 18px 0 10px; font-weight: 500;
}
.ab-tweaks .seg{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  border: 1px solid rgba(28,25,23,0.14);
  border-radius: 6px;
  overflow: hidden;
}
.ab-tweaks .seg button{
  padding: 8px 4px;
  font-family: "Comfortaa", sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #44403c;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(28,25,23,0.08);
  cursor: pointer;
}
.ab-tweaks .seg button:last-child{ border-right: 0; }
.ab-tweaks .seg button.is-on{ background: #1c1917; color: #faf8f5; }
.ab-tweaks .seg button:hover:not(.is-on){ background: rgba(28,25,23,0.05); }

.ab-tweaks .color-row{
  display: grid;
  grid-template-columns: 32px 1fr 78px;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.ab-tweaks .color-row input[type=color]{
  width: 32px; height: 28px;
  border: 1px solid rgba(28,25,23,0.18);
  border-radius: 4px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.ab-tweaks .color-row .name{ font-size: 12px; color: #44403c; }
.ab-tweaks .color-row input[type=text]{
  width: 100%;
  font-family: "Comfortaa", monospace;
  font-size: 11px;
  color: #1c1917;
  border: 1px solid rgba(28,25,23,0.14);
  border-radius: 4px;
  padding: 6px 8px;
  background: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ab-tweaks .color-row input[type=text]:focus{ outline: none; border-color: #9a8578; }

/* === SHARED MOBILE NAV CSS === */
/* -------------------- MOBILE NAV (shared) -------------------- */
.nav__burger{
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  position: relative;
  z-index: 1010;
  cursor: pointer;
  color: currentColor;
  background: transparent;
  border: 0;
  margin: -10px;
  padding: 0;
}
.nav__burger .b{
  display: block;
  width: 22px; height: 1px;
  background: currentColor;
  position: relative;
  transition: transform .35s ease, opacity .25s ease, top .35s ease;
}
.nav__burger .b::before,
.nav__burger .b::after{
  content: "";
  position: absolute; left: 0;
  width: 22px; height: 1px;
  background: currentColor;
  transition: transform .35s ease, top .35s ease, opacity .25s ease;
}
.nav__burger .b::before{ top: -7px; }
.nav__burger .b::after{ top: 7px; }
body.is-menu-open .nav__burger .b{ background: transparent; }
body.is-menu-open .nav__burger .b::before{ top: 0; transform: rotate(45deg); }
body.is-menu-open .nav__burger .b::after { top: 0; transform: rotate(-45deg); }

.nav__overlay{
  position: fixed; inset: 0;
  z-index: 1000;
  background: #1a1714;
  color: #f0ebe3;
  display: flex; flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  padding: 96px 28px 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .55s cubic-bezier(.2,.7,.2,1), transform .55s cubic-bezier(.2,.7,.2,1), visibility .55s;
  overflow-y: auto;
}
body.is-menu-open .nav__overlay{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__overlay__links{
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: clamp(8px, 2vh, 18px);
  flex: 1;
  justify-content: center;
}
.nav__overlay__links li{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: 0ms;
}
body.is-menu-open .nav__overlay__links li{ opacity: 1; transform: translateY(0); }
body.is-menu-open .nav__overlay__links li:nth-child(1){ transition-delay: 120ms; }
body.is-menu-open .nav__overlay__links li:nth-child(2){ transition-delay: 200ms; }
body.is-menu-open .nav__overlay__links li:nth-child(3){ transition-delay: 280ms; }
body.is-menu-open .nav__overlay__links li:nth-child(4){ transition-delay: 360ms; }
.nav__overlay__links a{
  display: inline-block;
  font-family: var(--serif);
  font-weight: 100;
  font-style: italic;
  font-size: clamp(48px, 12vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: #f0ebe3;
  text-decoration: none;
  transition: color .3s ease, opacity .3s ease;
}
.nav__overlay__links a:hover{ color: #c4b5a5; }
.nav__overlay__links a.is-active{ color: #c4b5a5; }
.nav__overlay__foot{
  display: flex; flex-direction: column; gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(240,235,227,0.14);
  opacity: 0;
  transition: opacity .6s ease;
  transition-delay: 480ms;
}
body.is-menu-open .nav__overlay__foot{ opacity: 1; }
.nav__overlay__foot a{
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #c4b5a5;
}
.nav__overlay__foot small{
  font-size: 10px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #8a8278;
}
body.is-menu-open{ overflow: hidden; }

@media (max-width: 820px){
  .nav__burger{ display: inline-flex; }
  .nav__cta{ display: none; }
  .nav__links{ display: none !important; }
  .nav__brand__logo{ height: 48px !important; width: calc(48px * 4 / 5) !important; }
  .nav__brand__word{ font-size: 22px !important; }
  .nav{ padding-top: 16px !important; padding-bottom: 16px !important; }
}
/* === SHARED MOBILE NAV CSS END === */

/* === MOBILE FINISHING CSS === */
/* Universal — fixed-width hero subs become fluid */
@media (max-width: 820px){
  [class$="hero__sub"], [class*="hero__sub "]{
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
    margin-top: clamp(20px, 4vw, 32px) !important;
  }
  [class$="hero__sub"] br, [class*="hero__sub "] br{ display: none; }
}

/* Universal — footer crunch */
@media (max-width: 720px){
  .footer{ padding: 56px 24px 28px; }
  .footer__inner{ grid-template-columns: 1fr !important; gap: 40px; }
  .footer__brand{ grid-column: 1 !important; }
  .footer__logo{ font-size: 28px !important; }
  .footer__tag{ font-size: 20px !important; }
  .footer__about{ font-size: 13px; max-width: 100%; }
  .footer__bottom{
    flex-direction: column !important;
    gap: 12px !important;
    text-align: center !important;
    padding-top: 20px;
    margin-top: 40px;
    font-size: 9.5px !important;
    letter-spacing: 0.24em !important;
  }
  .footer__bottom .right{ gap: 18px; }
}

@media (max-width: 720px){
  .ab-hero{ padding-top: 140px; padding-bottom: 56px; }
  .ab-hero__title{ font-size: clamp(72px, 22vw, 130px) !important; line-height: 0.94 !important; padding-left: 24px; padding-right: 24px; }
  .ab-hero__rule{ margin-top: 36px !important; }

  .ab-manifesto{ padding: 80px 24px !important; }
  .ab-manifesto__quote{
    font-size: clamp(22px, 6.6vw, 32px) !important;
    line-height: 1.32 !important;
    max-width: none !important;
  }
  .ab-manifesto__quote br{ display: none; }
  .ab-manifesto__body{ font-size: 14px !important; line-height: 1.78 !important; }

  .ab-founder{ padding: 80px 24px !important; }
  .ab-founder__grid{ grid-template-columns: 1fr !important; gap: 40px !important; }
  .ab-founder__title{ font-size: clamp(34px, 9vw, 52px) !important; line-height: 1.06 !important; max-width: none !important; }
  .ab-founder__body{ font-size: 14px !important; gap: 14px !important; }

  .ab-bts{ padding: 80px 24px !important; }
  .ab-bts__head{ grid-template-columns: 1fr !important; gap: 20px !important; }
  .ab-bts__head h2{ font-size: clamp(32px, 9vw, 48px) !important; line-height: 1.06 !important; }
  .ab-bts__head .meta{ text-align: left !important; font-size: 13px !important; }
  .ab-bts__grid{ grid-template-columns: repeat(2, 1fr) !important; grid-auto-rows: 60px !important; gap: 8px !important; }
  .ab-bts__cell:nth-child(1){ grid-column: 1 / -1 !important; grid-row: span 5 !important; }
  .ab-bts__cell:nth-child(2){ grid-column: 1 / -1 !important; grid-row: span 4 !important; }
  .ab-bts__cell:nth-child(3){ grid-column: span 1 !important; grid-row: span 4 !important; }
  .ab-bts__cell:nth-child(4){ grid-column: span 1 !important; grid-row: span 4 !important; }
  .ab-bts__cell:nth-child(5){ grid-column: 1 / -1 !important; grid-row: span 4 !important; }
  .ab-bts__cell:nth-child(6){ grid-column: 1 / -1 !important; grid-row: span 5 !important; }

  .ab-test{ padding: 80px 24px !important; }
  .ab-test__head h2{ font-size: clamp(32px, 9vw, 48px) !important; line-height: 1.06 !important; }
  .ab-test__list{ gap: 56px !important; }
  .ab-test__item,
  .ab-test__item:nth-of-type(even){
    grid-template-columns: 40px 1fr !important;
    text-align: left !important;
    gap: 20px !important;
  }
  .ab-test__item:nth-of-type(even) .ab-test__mark{ order: 0 !important; transform: none !important; }
  .ab-test__item:nth-of-type(even) .ab-test__body{ order: 0 !important; }
  .ab-test__mark{ font-size: 56px !important; line-height: 0.55 !important; margin-top: 8px !important; }
  .ab-test__quote{ font-size: clamp(18px, 5vw, 24px) !important; line-height: 1.4 !important; }

  .ab-coda{ padding-left: 24px; padding-right: 24px; }
  .ab-coda h2{ font-size: clamp(34px, 9vw, 52px) !important; line-height: 1.04 !important; }

  /* Tweaks panel */
  .ab-tweaks{
    right: 12px !important; bottom: 12px !important; left: 12px !important;
    width: auto !important;
    max-height: 70vh !important;
  }
}
/* === MOBILE FINISHING CSS END === */

/* finalised design values (baked from Tweaks panel) */
:root{
  --bg-hero:#1A1714;
  --bg-manifesto:#1A1714;
  --bg-founder:#1A1714;
  --bg-bts:#faf8f5;
  --bg-testimonials:#1a1714;
  --bg-coda:#faf8f5;
  --bg-faq:#1A1714;
}
