/* ============================================================
   PETER VOLANAKIS — PRIVATE DIGITAL ARCHIVE
   Design System · v1.0
   ============================================================ */

:root{
  /* Palette */
  --ink: #0b0c0e;
  --ink-2: #141619;
  --ink-3: #1c1f24;
  --bone: #f4f0e8;
  --bone-2: #ece6d8;
  --paper: #fbf8f1;
  --rule: rgba(244,240,232,0.14);
  --rule-ink: rgba(11,12,14,0.12);
  --copper: #c77b47;
  --copper-soft: #d99871;
  --molten: #e8a46a;
  --glass: rgba(244,240,232,0.04);
  --accent-blue: #5a7c9a;

  /* Type */
  --f-display: "Fraunces", "Times New Roman", serif;
  --f-sans: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Rhythm */
  --gutter: clamp(20px, 3vw, 48px);
  --pad-x: clamp(24px, 5vw, 96px);
  --pad-y: clamp(60px, 9vw, 140px);

  /* Motion */
  --ease: cubic-bezier(.2,.7,.15,1);
  --ease-2: cubic-bezier(.8,0,.2,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  font-family: var(--f-sans);
  color: var(--bone);
  background: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* Grain overlay (decorative, sits below nav) */
body::before{
  content:"";
  position:fixed; inset:0;
  pointer-events:none;
  opacity:.06;
  z-index:1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.85 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.display{
  font-family: var(--f-display);
  font-weight: 300;
  font-variation-settings: "SOFT" 20, "WONK" 0, "opsz" 120;
  line-height: 0.92;
  letter-spacing: -0.035em;
}
.serif{ font-family: var(--f-display); font-weight: 300; }
.mono{ font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.italic{ font-style: italic; }

h1,h2,h3,h4{ margin:0; font-weight: 300; }

.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--copper-soft);
}
.eyebrow::before{
  content:""; width: 28px; height:1px; background: var(--copper);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.page{ min-height: 100vh; }
.container{ padding: 0 var(--pad-x); }
.grid-12{ display:grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.bleed{ margin-left: calc(-1 * var(--pad-x)); margin-right: calc(-1 * var(--pad-x)); }

/* ============================================================
   NAVIGATION — fixed top bar with inline links
   ============================================================ */
.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--pad-x);
  min-height: 64px;
  color: var(--bone);
  background: #0b0c0e;
  border-bottom: 1px solid rgba(244,240,232,0.10);
  box-shadow: 0 1px 0 rgba(0,0,0,.35);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.nav.scrolled{ border-bottom-color: rgba(244,240,232,0.16); }
.nav.on-light{
  color: var(--ink);
  background: var(--paper);
  border-bottom-color: rgba(11,12,14,0.10);
}

.nav__brand{
  display: inline-flex; align-items: center; gap: 12px;
  flex-shrink: 0;
  color: var(--bone);
}
.nav.on-light .nav__brand{ color: var(--ink); }
.nav__brand-name{
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -.01em;
  line-height: 1;
}
.nav__brand-sub{
  display: inline-block;
  padding-left: 12px;
  border-left: 1px solid rgba(244,240,232,.22);
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(244,240,232,.58);
  white-space: nowrap;
}
.nav.on-light .nav__brand-sub{
  border-left-color: rgba(11,12,14,.18);
  color: rgba(11,12,14,.55);
}

.nav__links{
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  margin-left: auto;
  min-width: 0;
}
.nav__links::-webkit-scrollbar{ display: none; }
.nav__links a{
  position: relative;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 10px 14px;
  color: rgba(244,240,232,.65);
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.nav.on-light .nav__links a{ color: rgba(11,12,14,.6); }
.nav__links a:hover,
.nav__links a[aria-current="page"]{ color: var(--bone); }
.nav.on-light .nav__links a:hover,
.nav.on-light .nav__links a[aria-current="page"]{ color: var(--ink); }
.nav__links a[aria-current="page"]::after{
  content:""; position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1px; background: var(--copper);
}

@media (max-width: 960px){
  .nav{ gap: 14px; padding: 12px var(--pad-x); min-height: 60px; }
  .nav__brand-sub{ display: none; }
  .nav__brand-name{ font-size: 20px; }
  .nav__links a{ padding: 10px 10px; font-size: 10px; letter-spacing: .18em; }
}

/* ============================================================
   BUTTONS & LINKS
   ============================================================ */
.btn{
  display:inline-flex; align-items:center; gap: 14px;
  padding: 16px 22px;
  border: 1px solid rgba(244,240,232,.2);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  transition: background .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.btn:hover{ background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn--copper{ border-color: var(--copper); color: var(--copper-soft); }
.btn--copper:hover{ background: var(--copper); color:#fff; }
.btn svg{ width: 14px; height:14px; }

.link-under{
  display:inline-block;
  position:relative;
  padding-bottom: 4px;
  font-family: var(--f-mono);
  font-size:11px; letter-spacing:.22em; text-transform:uppercase;
}
.link-under::after{
  content:""; position:absolute; left:0; bottom:0;
  width:100%; height:1px; background: currentColor;
  transform-origin: right; transform: scaleX(1);
  transition: transform .5s var(--ease);
}
.link-under:hover::after{ transform-origin: left; transform: scaleX(0); }

/* ============================================================
   IMAGE BLOCKS — no face cropping rules applied per usage
   ============================================================ */
.frame{ position:relative; overflow:hidden; background: var(--ink-2); }
.frame img{
  width:100%; height:100%;
  object-fit: cover;
  display:block;
  transition: transform 1.6s var(--ease-2), filter 1.2s var(--ease);
}
.frame:hover img{ transform: scale(1.03); }
.frame__cap{
  position:absolute; left:16px; bottom:14px;
  font-family: var(--f-mono); font-size:10px; letter-spacing:.22em;
  text-transform: uppercase; color: var(--bone);
  background: rgba(11,12,14,.55);
  padding: 6px 10px; border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* Preserve faces: specific object-position per image */
/* Image 1: Peter-Volanakis-Tuck (face upper-left) */
.img--tuck{ object-position: 32% 22%; }
/* Image 2: pete-volanakis (centered, glasses) */
.img--portrait{ object-position: 50% 30%; }
/* Image 3: headshot square */
.img--headshot{ object-position: 50% 32%; }
/* Image 4: at desk */
.img--desk{ object-position: 50% 28%; }

/* For contexts where we do not want cropping at all */
.frame--contain img{ object-fit: contain; object-position: center; background: var(--ink-2); }

/* ============================================================
   HERO (Homepage)
   ============================================================ */
.hero{
  position:relative;
  min-height: 100svh;
  padding: 140px var(--pad-x) 60px;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  overflow: hidden;
}
.hero__badge{
  grid-column: 1 / span 5;
  align-self: start;
  display:flex; flex-direction: column; gap: 22px;
  padding-top: 10px;
}
.hero__title{
  grid-column: 1 / span 8;
  align-self: end;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(58px, 11vw, 180px);
  line-height: .88;
  letter-spacing: -.04em;
}
.hero__title em{
  font-style: italic;
  color: var(--copper-soft);
  font-variation-settings: "SOFT" 100;
}
.hero__aside{
  grid-column: 9 / span 4;
  align-self: end;
  border-left: 1px solid var(--rule);
  padding-left: var(--gutter);
  font-size: 14px;
  color: rgba(244,240,232,.7);
  line-height: 1.65;
}
.hero__image{
  grid-column: 1 / -1;
  height: 62vh;
  margin-top: 40px;
  position: relative;
}
.hero__marks{
  display:flex; gap: 28px; margin-top: 24px;
  border-top: 1px solid var(--rule);
  padding-top: 18px;
  grid-column: 1/-1;
}
.hero__marks div{ font-size: 12px; color: rgba(244,240,232,.55); }
.hero__marks strong{ display:block; font-family: var(--f-display); font-size: 26px; color: var(--bone); font-weight:300; }

@media (max-width: 900px){
  .hero__badge, .hero__title, .hero__aside{ grid-column: 1 / -1; }
  .hero__aside{ border-left: 0; padding-left:0; border-top: 1px solid var(--rule); padding-top:18px; }
  .hero__image{ height: 52vh; }
}

/* ============================================================
   MARQUEE / TICKER
   ============================================================ */
.ticker{
  position:relative;
  border-top:1px solid var(--rule);
  border-bottom:1px solid var(--rule);
  overflow:hidden;
  background: var(--ink);
  padding: 22px 0;
}
.ticker__track{
  display:flex; gap: 48px; white-space: nowrap;
  animation: ticker 32s linear infinite;
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  color: rgba(244,240,232,.45);
}
.ticker__track span{ display:inline-flex; align-items:center; gap: 48px; }
.ticker__track span::after{ content:"—"; color: var(--copper); }
@keyframes ticker{ to{ transform: translateX(-50%); } }

/* ============================================================
   CHAPTER — generic page header
   ============================================================ */
.chapter{
  padding: 160px var(--pad-x) 80px;
  display:grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter);
  position:relative;
  border-bottom: 1px solid var(--rule);
}
.chapter__tag{ grid-column: 1 / span 3; }
.chapter__tag .num{
  font-family: var(--f-mono); font-size: 11px; letter-spacing:.22em;
  color: var(--copper-soft);
}
.chapter__title{
  grid-column: 4 / span 9;
  font-family: var(--f-display);
  font-size: clamp(48px, 8vw, 132px);
  line-height: .92;
  letter-spacing: -.035em;
  font-weight: 300;
}
.chapter__title em{ font-style: italic; color: var(--copper-soft); }
.chapter__sub{
  grid-column: 4 / span 7;
  margin-top: 28px;
  color: rgba(244,240,232,.7);
  font-size: 17px;
  line-height: 1.6;
  max-width: 56ch;
}
.chapter__meta{
  grid-column: 11 / span 2;
  margin-top: 30px;
  border-left: 1px solid var(--rule);
  padding-left: 20px;
  font-size:12px; color: rgba(244,240,232,.5);
}
@media (max-width: 900px){
  .chapter__tag,.chapter__title,.chapter__sub,.chapter__meta{ grid-column: 1/-1; }
  .chapter__meta{ border-left:0; padding-left:0; border-top: 1px solid var(--rule); padding-top: 14px; }
}

/* ============================================================
   SECTION PATTERNS
   ============================================================ */
.section{ padding: var(--pad-y) var(--pad-x); position:relative; }
.section--light{ background: var(--paper); color: var(--ink); }
.section--light .eyebrow{ color: var(--copper); }
.section--light .eyebrow::before{ background: var(--copper); }
.section--light .display em{ color: var(--copper); }

.split{
  display:grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter);
  align-items: stretch;
}
.split__image{ grid-column: 1 / span 6; min-height: 72vh; }
.split__content{ grid-column: 7 / span 6; display:flex; flex-direction:column; justify-content:center; gap: 26px; padding-right: 0; }
.split--flip .split__image{ grid-column: 7 / span 6; }
.split--flip .split__content{ grid-column: 1 / span 6; }
@media (max-width: 900px){
  .split__image, .split__content,
  .split--flip .split__image, .split--flip .split__content{
    grid-column: 1 / -1;
  }
  .split__image{ min-height: 72vw; }
}

.h-display{
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(40px, 5.6vw, 88px);
  line-height: .96;
  letter-spacing: -.03em;
}
.h-display em{ font-style: italic; color: var(--copper); }

.lede{ font-size: 18px; line-height: 1.6; color: rgba(244,240,232,.78); max-width: 56ch; }
.section--light .lede{ color: rgba(11,12,14,.72); }

.callouts{
  display:grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter);
  margin-top: 40px;
  border-top:1px solid var(--rule);
}
.callout{
  grid-column: span 4;
  border-right: 1px solid var(--rule);
  padding: 28px 24px 10px 0;
}
.callout:last-child{ border-right: 0; }
.callout .n{ font-family: var(--f-mono); color: var(--copper-soft); font-size:11px; letter-spacing:.22em; }
.callout .h{ font-family: var(--f-display); font-size: 34px; line-height:1; margin: 18px 0 10px; }
.callout p{ font-size: 14px; color: rgba(244,240,232,.65); margin: 0; }
.section--light .callout{ border-right-color: var(--rule-ink); }
.section--light .callouts{ border-top-color: var(--rule-ink); }
.section--light .callout p{ color: rgba(11,12,14,.66); }
@media (max-width: 900px){
  .callout{ grid-column: 1/-1; border-right:0; border-bottom:1px solid var(--rule); padding-bottom: 22px; }
  .section--light .callout{ border-bottom-color: var(--rule-ink); }
}

/* Pull quote */
.pull{
  padding: var(--pad-y) var(--pad-x);
  display:grid; grid-template-columns: repeat(12,1fr); gap: var(--gutter);
  background: var(--ink-2);
  border-top:1px solid var(--rule); border-bottom:1px solid var(--rule);
}
.pull blockquote{
  grid-column: 2 / span 10;
  margin:0;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(30px, 4.6vw, 66px);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.pull blockquote em{ color: var(--copper-soft); font-style: italic; }
.pull cite{
  grid-column: 2 / span 10;
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(244,240,232,.6);
  margin-top: 30px;
}

/* Bento / feature grid */
.bento{
  display:grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter);
}
.bento > article{
  position:relative;
  border: 1px solid var(--rule);
  padding: 28px;
  display:flex; flex-direction:column; gap: 14px;
  background: var(--ink-2);
  transition: transform .6s var(--ease), background .6s var(--ease), border-color .6s var(--ease);
}
.bento > article:hover{ background: var(--ink-3); border-color: rgba(199,123,71,.45); }
.bento h3{
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.08;
}
.bento p{ color: rgba(244,240,232,.66); font-size: 14px; line-height: 1.6; margin: 0; }
.bento .label{ font-family: var(--f-mono); font-size: 10px; letter-spacing:.22em; color: var(--copper-soft); text-transform: uppercase; }
.bento--feat{ grid-column: span 6; min-height: 340px; }
.bento--std{ grid-column: span 3; min-height: 280px; }
.bento--wide{ grid-column: span 6; min-height: 280px; }
.bento--tall{ grid-column: span 4; min-height: 420px; padding: 0; border: 0; }
.bento--tall .frame{ height: 100%; }
@media (max-width: 900px){
  .bento--feat, .bento--std, .bento--wide, .bento--tall{ grid-column: 1 / -1; }
}

/* Timeline */
.timeline{
  padding: var(--pad-y) 0;
  position:relative;
}
.timeline__axis{
  position:relative;
  margin: 0 var(--pad-x);
  border-left: 1px solid var(--rule);
}
.tl-item{
  display:grid; grid-template-columns: 180px 1fr 1fr; gap: var(--gutter);
  padding: 50px 0 50px var(--gutter);
  position: relative;
  border-top: 1px solid var(--rule);
}
.tl-item:first-child{ border-top: 0; }
.tl-item::before{
  content:""; position:absolute; left:-6px; top: 58px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--copper); box-shadow: 0 0 0 6px rgba(199,123,71,.18);
}
.tl-year{
  font-family: var(--f-display);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 300;
  line-height: 1;
  color: var(--bone);
}
.tl-year small{ display:block; font-family: var(--f-mono); font-size:11px; letter-spacing:.22em; color: var(--copper-soft); margin-top:8px; }
.tl-title{
  font-family: var(--f-display);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.15; font-weight: 300;
}
.tl-body{ color: rgba(244,240,232,.66); font-size: 14px; line-height: 1.7; }
@media (max-width: 900px){
  .tl-item{ grid-template-columns: 1fr; }
}

/* Gallery — Editorial mosaic */
.mosaic{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 22vh;
  gap: var(--gutter);
}
.mosaic .m{
  position:relative; overflow:hidden;
}
.mosaic .m1{ grid-column: 1 / span 7; grid-row: span 3; }
.mosaic .m2{ grid-column: 8 / span 5; grid-row: span 2; }
.mosaic .m3{ grid-column: 8 / span 5; grid-row: span 1; }
.mosaic .m4{ grid-column: 1 / span 5; grid-row: span 2; }
.mosaic .m5{ grid-column: 6 / span 7; grid-row: span 2; }
@media (max-width: 900px){
  .mosaic{ grid-template-columns: 1fr; grid-auto-rows: 52vw; }
  .mosaic .m{ grid-column: 1 / -1 !important; grid-row: span 1 !important; }
}

/* ============================================================
   BIOGRAPHY — Advisor (side-by-side image + text)
   ============================================================ */
.bio-advisor{
  padding: var(--pad-y) var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  align-items: center;
}
.bio-advisor__text{
  display: flex;
  flex-direction: column;
  padding-right: 20px;
}
.bio-advisor__image{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 520px;
  overflow: hidden;
  background: var(--ink-2);
}
.bio-advisor__image img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  display: block;
}
@media (max-width: 900px){
  .bio-advisor{ grid-template-columns: 1fr; }
  .bio-advisor__text{ padding-right: 0; }
  .bio-advisor__image{ aspect-ratio: 4 / 5; min-height: 0; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.ct-hero{
  padding: 160px var(--pad-x) 60px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: end;
}
.ct-hero__meta{ grid-column: 1 / span 3; padding-bottom: 14px; }
.ct-hero__title{ grid-column: 4 / span 9; }
.ct-hero__title .display{
  color: var(--bone);
  font-size: clamp(56px, 9vw, 140px);
  line-height: .9;
  letter-spacing: -.035em;
}
.ct-hero__title .display em{ color: var(--copper-soft); font-style: italic; }
@media (max-width: 900px){
  .ct-hero__meta, .ct-hero__title{ grid-column: 1 / -1; }
}

.ct-body{
  padding: 0 var(--pad-x) var(--pad-y);
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: var(--gutter);
  align-items: stretch;
}
@media (max-width: 900px){
  .ct-body{ grid-template-columns: 1fr; }
}

/* Form card */
.ct-form-card{
  background: var(--ink-2);
  border: 1px solid var(--rule);
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.ct-form-card__head{ display: flex; flex-direction: column; gap: 14px; }
.ct-form-card__head h2{
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: .98;
  letter-spacing: -.025em;
}
.ct-form-card__head h2 em{ color: var(--copper-soft); font-style: italic; }
.ct-form-card__head p{
  color: rgba(244,240,232,.62);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  max-width: 52ch;
}

.ct-form{ display: flex; flex-direction: column; gap: 22px; }
.ct-form__row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 640px){ .ct-form__row{ grid-template-columns: 1fr; } }

.ct-field{ display: flex; flex-direction: column; gap: 8px; }
.ct-field__label{
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(244,240,232,.55);
}
.ct-field__label em{ color: var(--copper-soft); font-style: normal; margin-left: 4px; }

.ct-field input,
.ct-field select,
.ct-field textarea{
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(244,240,232,.18);
  padding: 10px 0 12px;
  color: var(--bone);
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.4;
  outline: 0;
  transition: border-color .3s var(--ease);
  border-radius: 0;
}
.ct-field textarea{ resize: vertical; min-height: 120px; }
.ct-field input::placeholder,
.ct-field textarea::placeholder{ color: rgba(244,240,232,.28); font-style: italic; }
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus{ border-bottom-color: var(--copper); }
.ct-field select{
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23c77b47' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 12px 8px;
  padding-right: 24px;
  cursor: pointer;
}
.ct-field select option{ background: var(--ink-2); color: var(--bone); }

.ct-consent{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0 2px;
  font-size: 13px;
  color: rgba(244,240,232,.6);
  line-height: 1.55;
  cursor: pointer;
}
.ct-consent input{
  appearance: none;
  -webkit-appearance: none;
  width: 16px; height: 16px;
  margin: 2px 0 0;
  flex-shrink: 0;
  border: 1px solid rgba(244,240,232,.35);
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
  position: relative;
}
.ct-consent input:checked{ background: var(--copper); border-color: var(--copper); }
.ct-consent input:checked::after{
  content:""; position: absolute;
  left: 4px; top: 0px; width: 6px; height: 10px;
  border: solid #fff; border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.ct-form__foot{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  margin-top: 8px;
}
.ct-form__foot .btn{ cursor: pointer; }

/* Details rail */
.ct-rail{ display: flex; flex-direction: column; gap: 18px; }
.ct-rail__card{
  background: var(--ink-2);
  border: 1px solid var(--rule);
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ct-rail__card .eyebrow{ margin-bottom: 4px; }
.ct-rail__name{
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--bone);
}
.ct-rail__role{
  color: rgba(244,240,232,.62);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}
.ct-rail__lines{ display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.ct-rail__lines a{
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: -.01em;
  padding: 6px 0;
  transition: color .3s var(--ease);
  border-bottom: 1px solid var(--rule);
}
.ct-rail__lines a:last-child{ border-bottom: 0; }
.ct-rail__lines a:hover{ color: var(--copper-soft); }

.ct-rail__social .ct-rail__socials{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.ct-rail__social a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  transition: border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease);
}
.ct-rail__social a:hover{ border-color: var(--copper); color: var(--copper-soft); }
.ct-rail__social svg{ width: 16px; height: 16px; fill: currentColor; }

/* Closing image + text (side-by-side) */
.ct-closing{
  padding: 20px var(--pad-x) var(--pad-y);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  align-items: center;
}
.ct-closing__text{
  display: flex;
  flex-direction: column;
  padding-right: 20px;
}
.ct-closing__image{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 480px;
  overflow: hidden;
  background: var(--ink-2);
}
.ct-closing__image img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  display: block;
}
@media (max-width: 900px){
  .ct-closing{ grid-template-columns: 1fr; }
  .ct-closing__text{ padding-right: 0; }
  .ct-closing__image{ min-height: 0; }
}

/* Social */
.socials{ display:flex; gap: 12px; flex-wrap:wrap; }
.socials a{
  display:inline-flex; align-items:center; justify-content:center;
  width: 44px; height:44px; border-radius:50%;
  border: 1px solid var(--rule);
  transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.socials a:hover{ border-color: var(--copper); color: var(--copper-soft); }
.socials svg{ width: 16px; height:16px; fill: currentColor; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer{
  background: var(--ink);
  border-top: 1px solid var(--rule);
  padding: 80px var(--pad-x) 40px;
  display:grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter);
  color: rgba(244,240,232,.68);
  font-size: 13px;
}
.footer__brand{ grid-column: span 4; }
.footer__brand h4{
  font-family: var(--f-display);
  font-size: 34px; line-height: .95; font-weight: 300;
  color: var(--bone); margin-bottom: 10px; letter-spacing: -.01em;
}
.footer__brand p{ max-width: 38ch; line-height: 1.6; margin: 0; }
.footer__col{ grid-column: span 2; display:flex; flex-direction:column; gap:10px; }
.footer__col h5{ font-family: var(--f-mono); font-size:10px; letter-spacing:.22em; text-transform: uppercase; color: var(--copper-soft); margin: 0 0 8px; font-weight: 500; }
.footer__col a{ transition: color .3s var(--ease); }
.footer__col a:hover{ color: var(--bone); }
.footer__contact{ grid-column: span 4; display:flex; flex-direction:column; gap: 12px; }
.footer__contact h5{ font-family: var(--f-mono); font-size:10px; letter-spacing:.22em; text-transform: uppercase; color: var(--copper-soft); margin: 0 0 4px; font-weight: 500; }
.footer__contact a{ font-size: 15px; color: var(--bone); }
.footer__contact a:hover{ color: var(--copper-soft); }
.footer__bottom{
  grid-column: 1/-1;
  margin-top: 30px; padding-top: 24px;
  border-top: 1px solid var(--rule);
  display:flex; justify-content: space-between; align-items:center;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(244,240,232,.5);
  gap: 20px; flex-wrap:wrap;
}
.footer__bottom a{ color: var(--copper-soft); }
.footer__bottom a:hover{ color: var(--bone); }
@media (max-width: 900px){
  .footer__brand, .footer__contact{ grid-column: 1/-1; }
  .footer__col{ grid-column: span 6; }
}

/* ============================================================
   ACCESS GATE (index.html)
   ============================================================ */
.gate{
  min-height: 100svh;
  display:flex; align-items:center; justify-content:center;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  padding: 48px var(--pad-x);
}
.gate__panel{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  width: 100%;
  position:relative;
}
.gate__top{ display:flex; justify-content:space-between; align-items: start; font-family: var(--f-mono); font-size:10px; letter-spacing:.22em; text-transform:uppercase; color: rgba(244,240,232,.55); }
.gate__logo{ font-family: var(--f-display); font-size: 22px; color: var(--bone); line-height: 1; font-weight: 300; }
.gate__logo small{ display:block; font-family:var(--f-mono); font-size:10px; letter-spacing:.25em; margin-top:6px; color: var(--copper-soft); }
.gate__status{ display:inline-flex; align-items:center; gap:10px; }
.gate__status .pulse{ width:8px; height:8px; border-radius:50%; background: var(--copper); box-shadow: 0 0 0 0 var(--copper); animation: pulse 2s infinite; }
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(199,123,71,.6); }
  70%{ box-shadow: 0 0 0 14px rgba(199,123,71,0); }
  100%{ box-shadow: 0 0 0 0 rgba(199,123,71,0); }
}

.gate__middle{ max-width: 560px; width: 100%; text-align: center; display:flex; flex-direction:column; align-items:center; }
.gate__eyebrow{
  font-family: var(--f-mono); font-size:11px; letter-spacing:.25em; text-transform:uppercase; color: var(--copper-soft);
  margin-bottom: 22px; display:inline-flex; gap: 10px; align-items:center;
}
.gate__eyebrow::before{ content:""; width: 28px; height:1px; background: var(--copper); }
.gate__title{
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(46px, 6vw, 92px);
  line-height: .96; letter-spacing: -.035em;
  margin: 0 0 24px;
}
.gate__title em{ font-style: italic; color: var(--copper-soft); }
.gate__desc{ color: rgba(244,240,232,.68); font-size: 15px; line-height: 1.65; max-width: 48ch; }

.gate__form{ margin-top: 46px; width: 100%; max-width: 480px; }
.gate__label{ font-family: var(--f-mono); font-size:11px; letter-spacing:.22em; text-transform:uppercase; color: rgba(244,240,232,.55); display:block; margin-bottom: 10px; }
.gate__input-row{
  display:flex; align-items:center; gap: 14px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 14px;
  transition: border-color .4s var(--ease);
}
.gate__input-row:focus-within{ border-color: var(--copper); }
.gate__input{
  flex: 1;
  background: transparent; border: 0; outline: 0;
  font-family: var(--f-display); font-weight: 300;
  font-size: 28px;
  color: var(--bone);
  letter-spacing: .02em;
  padding: 6px 0;
}
.gate__input::placeholder{ color: rgba(244,240,232,.28); font-style: italic; }
.gate__enter{
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--copper);
  color: var(--copper-soft);
  display:inline-flex; align-items:center; justify-content:center;
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.gate__enter:hover{ background: var(--copper); color: #fff; transform: rotate(-45deg); }
.gate__enter svg{ width:18px; height:18px; }
.gate__err{ margin-top: 16px; min-height: 20px; font-family: var(--f-mono); font-size: 11px; letter-spacing:.22em; text-transform: uppercase; color: #e07656; opacity:0; transition: opacity .3s var(--ease); }
.gate__err.show{ opacity: 1; }

.gate__bottom{
  display:flex; justify-content:space-between; gap: 18px;
  font-family: var(--f-mono); font-size:10px; letter-spacing:.22em; text-transform: uppercase;
  color: rgba(244,240,232,.45);
  flex-wrap:wrap;
}
@media (max-width: 900px){
  .gate{ padding: 32px var(--pad-x); }
}

/* ============================================================
   CARDS / ARTICLES (Insights)
   ============================================================ */
.articles{
  display:grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter);
}
.article-card{
  grid-column: span 6;
  border-top: 1px solid var(--rule);
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background .4s var(--ease), border-color .4s var(--ease);
  cursor: pointer;
  position: relative;
}
.article-card::before{
  content:"";
  position: absolute; left: 0; top: -1px;
  width: 40px; height: 2px; background: var(--copper);
  opacity: 0; transition: opacity .4s var(--ease), width .4s var(--ease);
}
.article-card:hover{ background: var(--ink-2); }
.article-card:hover::before{ opacity: 1; width: 72px; }
.article-card__top{
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(244,240,232,.45);
  padding-bottom: 4px;
}
.article-card__meta{
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--copper-soft);
  margin: 0;
}
.article-card h3{
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(24px, 2.3vw, 32px); line-height: 1.15; letter-spacing: -.01em;
  margin: 0;
}
.article-card p{
  color: rgba(244,240,232,.65);
  font-size: 14px; line-height: 1.65;
  margin: 0;
}
.article-card__n{ font-family: var(--f-mono); font-size: 10px; letter-spacing: .22em; color: rgba(244,240,232,.45); }
.article-card__foot{
  margin-top: auto;
  padding-top: 12px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--copper-soft);
}
.article-card__foot svg{ width: 14px; height: 14px; }
@media (max-width: 900px){ .article-card{ grid-column: 1/-1; padding: 28px 20px 32px; } }

/* Keywords / tag cloud */
.kws{
  display:flex; flex-wrap:wrap; gap: 10px; margin-top: 32px;
}
.kws span{
  font-family: var(--f-mono); font-size: 10px; letter-spacing:.22em;
  text-transform: uppercase; padding: 8px 12px;
  border: 1px solid var(--rule); border-radius: 999px;
  color: rgba(244,240,232,.6);
}

/* Reveal on scroll */
.rv{ opacity: 0; transform: translateY(24px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.rv.in{ opacity: 1; transform: none; }

/* Print */
@media print { body{ background:#fff; color:#000; } .nav,.menu,.footer{ display:none; } }
