/* ==========================================================================
   MODELLINK EVENTS — DESIGN SYSTEM
   Ivory / Black / Gold. Playfair Display (serif) + Inter (sans).
   ========================================================================== */

:root{
  --ivory:      #F6F2EA;
  --ivory-d:    #EDE6D6;
  --paper:      #FFFFFF;
  --ink:        #0A0A0A;
  --ink-soft:   #2A2A2A;
  --gold:       #D9A13B;
  --gold-d:     #B9821F;
  --gold-l:     #F1CD84;
  --grey:       #8C8C8C;
  --line:       #E3D9C6;
  --line-dark:  rgba(255,255,255,0.12);

  --serif: "Playfair Display", "Liberation Serif", Georgia, serif;
  --sans:  "Inter", "Liberation Sans", Helvetica, Arial, sans-serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --ease: cubic-bezier(.22,.68,0,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--serif); font-weight: 500; margin: 0; line-height: 1.12; }
p{ margin:0; }
button{ font-family: var(--sans); cursor:pointer; }
input, select, textarea{ font-family: var(--sans); }

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

/* ---------- typography helpers ---------- */
.eyebrow{
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-d);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{
  content:"";
  width: 26px; height: 1px;
  background: var(--gold-d);
  display:inline-block;
}
.eyebrow.on-dark{ color: var(--gold-l); }
.eyebrow.on-dark::before{ background: var(--gold-l); }

h1.display{
  font-size: clamp(38px, 6vw, 76px);
  letter-spacing: -0.5px;
}
h2.section-title{
  font-size: clamp(30px, 4.2vw, 48px);
  margin-top: 10px;
}
.lede-lg{
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-soft);
  max-width: 620px;
  line-height: 1.7;
}
.eyebrow-block{ margin-bottom: 8px; }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 2px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--ivory);
  transition: transform .45s var(--ease), background .3s ease, color .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); background:#000; }
.btn.ghost{
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn.ghost:hover{ background: var(--ink); color: var(--ivory); }
.btn.gold{
  background: var(--gold); border-color: var(--gold); color: var(--ink);
}
.btn.gold:hover{ background: var(--gold-d); border-color: var(--gold-d); }
.btn.on-dark.ghost{ border-color: rgba(255,255,255,0.5); color: var(--ivory); }
.btn.on-dark.ghost:hover{ background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
@media (max-width: 480px){
  .btn{ white-space: normal; text-align: center; width: 100%; letter-spacing: 0.8px; line-height: 1.4; }
  .hero-actions .btn, .cta-actions .btn{ width: 100%; }
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index: 200;
  padding: 18px 0;
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled{
  background: rgba(246,242,234,0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 0;
  border-bottom-color: var(--line);
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; gap: 24px; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{ height: 30px; width:auto; }
.brand .sub{
  font-family: var(--sans); font-size:9.5px; letter-spacing:2.5px; color: var(--grey);
  text-transform: uppercase; margin-left: 2px; padding-left:10px; border-left:1px solid var(--line);
}

.nav-links{ display:none; align-items:center; gap: 34px; }
.nav-links a{
  font-size: 12.5px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 600;
  position: relative; padding: 6px 0;
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:0; height:1.5px; width:0;
  background: var(--gold-d); transition: width .35s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }
.nav-links a.active{ color: var(--gold-d); }
.nav-cta{ display:none; }

.nav-toggle{
  display:flex; flex-direction:column; gap:5px; width:26px; background:none; border:none; padding:6px 0;
}
.nav-toggle span{ height:1.5px; width:100%; background:var(--ink); transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.open span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav{
  position: fixed; inset:0; background: var(--ivory); z-index: 190;
  display:flex; flex-direction:column; align-items:flex-start; justify-content:center;
  gap: 6px; padding: 0 32px;
  transform: translateY(-100%); transition: transform .5s var(--ease);
}
.mobile-nav.open{ transform: translateY(0); }
.mobile-nav a{
  font-family: var(--serif); font-size: 34px; padding: 12px 0; border-bottom: 1px solid var(--line); width:100%;
}
.mobile-nav .mobile-cta{ margin-top: 24px; }

@media (min-width: 900px){
  .nav-links{ display:flex; }
  .nav-cta{ display:inline-flex; }
  .nav-toggle{ display:none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position: relative;
  min-height: 100svh;
  display:flex; align-items:center;
  padding-top: 110px;
  background: var(--ivory);
  overflow:hidden;
}
.hero-glow{
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background: radial-gradient(ellipse 55% 45% at 80% 12%, rgba(217,161,59,0.14), transparent 70%);
}
.hero-skyline{
  position:absolute; left:0; right:0; bottom:0; width:100%; height:34%; z-index:0; display:block;
}
.hero-skyline .horizon{ stroke: var(--gold-d); stroke-width: 1; animation: horizonGlow 7s ease-in-out infinite alternate; }
@keyframes horizonGlow{ 0%{ opacity: 0.25; } 100%{ opacity: 0.55; } }
.hero-skyline .buildings{ fill: var(--ink); opacity: 0.07; }
.hero .container{ position:relative; z-index:2; }
.hero-kicker{ margin-bottom: 22px; }
.hero h1{
  max-width: 15ch;
}
.hero h1 em{ font-style: italic; color: var(--gold-d); }
.hero-sub{ margin-top: 26px; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:16px; margin-top: 40px; }

.hero-stats{
  margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line);
  display:grid; grid-template-columns: repeat(2,1fr); gap: 24px;
  max-width: 620px;
}
@media(min-width:640px){ .hero-stats{ grid-template-columns: repeat(4,1fr); } }
.stat b{
  font-family: var(--serif); font-size: clamp(26px,3vw,34px); display:block; color:var(--ink);
}
.stat span{ font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--grey); }

.scroll-cue{
  position:absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:8px;
  font-size:10px; letter-spacing:2px; color:var(--grey); text-transform:uppercase;
}
.scroll-cue .line{ width:1px; height:34px; background: linear-gradient(var(--gold-d), transparent); animation: scrolldown 1.8s ease-in-out infinite; }
@keyframes scrolldown{ 0%{ transform: scaleY(0); transform-origin: top; } 50%{ transform: scaleY(1); transform-origin: top;} 51%{ transform-origin: bottom; } 100%{ transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 640px){
  /* hero content routinely exceeds 100svh on mobile once the headline wraps,
     which pushes this absolutely-positioned cue over the stats row instead
     of the visual bottom of the viewport — simplest fix is to hide it here,
     since a mobile page is already visibly scrollable below the fold. */
  .scroll-cue{ display:none; }
}

/* ==========================================================================
   MARQUEE / EVENT TICKER
   ========================================================================== */
.ticker{
  background: var(--ink); color: var(--ivory);
  overflow:hidden; white-space:nowrap; padding: 16px 0;
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}
.ticker-track{ display:inline-flex; gap:48px; animation: ticker 32s linear infinite; }
.ticker:hover .ticker-track{ animation-play-state: paused; }
.ticker span{
  font-family: var(--sans); font-size:12.5px; letter-spacing:2.2px; text-transform:uppercase;
  display:inline-flex; align-items:center; gap:14px; color: var(--ivory);
}
.ticker span::after{ content:"—"; color: var(--gold); margin-left:14px; }
@keyframes ticker{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
section{ padding: clamp(64px, 10vw, 128px) 0; position:relative; }
section.tight{ padding: clamp(40px,6vw,72px) 0; }
.section-head{ max-width: 680px; margin-bottom: 56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head .lede-lg{ margin-top: 16px; }
.section-head.center .lede-lg{ margin-left:auto; margin-right:auto; }

.bg-dark{ background: var(--ink); color: var(--ivory); }
.bg-dark h2, .bg-dark h3, .bg-dark h4{ color: var(--ivory); }
.bg-dark .lede-lg{ color: rgba(246,242,234,0.78); }
.bg-panel{ background: var(--ivory-d); }

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

/* ---------- reveal-on-scroll ---------- */
.reveal{ opacity:0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform: translateY(0); }
.reveal-stagger > *{ transition-delay: calc(var(--i, 0) * 90ms); }

/* ==========================================================================
   CARDS — services / pillars / engagements
   ========================================================================== */
.grid{ display:grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid.cols-2{ grid-template-columns: 1fr; }
.grid.cols-3{ grid-template-columns: 1fr; }
@media(min-width:720px){
  .grid.cols-2{ grid-template-columns: 1fr 1fr; }
  .grid.cols-3{ grid-template-columns: repeat(3,1fr); }
}

.svc-card{
  background: var(--ivory); padding: 40px 32px; position:relative; overflow:hidden;
  transition: background .4s ease;
}
.svc-card:hover{ background: var(--paper); }
.svc-card .num{
  font-family: var(--serif); font-size:14px; color: var(--gold-d); margin-bottom: 22px; display:block;
}
.svc-card .icon{
  width:46px; height:46px; border:1px solid var(--gold); border-radius:50%;
  display:flex; align-items:center; justify-content:center; margin-bottom:22px;
  transition: background .35s ease, transform .35s ease;
}
.svc-card:hover .icon{ background: var(--ink); transform: rotate(8deg); }
.svc-card .icon svg{ width:20px; height:20px; stroke: var(--gold-d); transition: stroke .35s ease; }
.svc-card:hover .icon svg{ stroke: var(--gold-l); }
.svc-card h3{ font-size:19px; margin-bottom:10px; }
.svc-card p{ font-size:14px; color: var(--ink-soft); line-height:1.65; }
.svc-card .arrow{
  position:absolute; right:28px; top:36px; opacity:0; transform: translate(-6px,6px);
  transition: opacity .35s ease, transform .35s ease; color: var(--gold-d); font-size:18px;
}
.svc-card:hover .arrow{ opacity:1; transform: translate(0,0); }

/* ---------- engagement / event cards ---------- */
.eng-card{
  background: var(--paper); border:1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display:flex; gap:20px; align-items:flex-start;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s ease;
}
.eng-card:hover{ transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(0,0,0,0.25); border-color: var(--gold); }
.eng-icon{
  flex:0 0 auto; width:56px; height:56px; border-radius:50%; background: var(--ink);
  display:flex; align-items:center; justify-content:center;
}
.eng-icon svg{ width:26px; height:26px; stroke: var(--gold); }
.eng-body .yrs{
  font-size:10.5px; letter-spacing:1.6px; color:var(--gold-d); text-transform:uppercase; font-weight:700; margin:4px 0 10px;
}
.eng-body h3{ font-size:19px; }
.eng-body p{ font-size:14px; color:var(--ink-soft); line-height:1.6; }

/* ---------- pillars (numbered) ---------- */
.pillar{ display:flex; gap:22px; padding:26px 0; border-bottom:1px solid var(--line); }
.pillar .num{ font-family: var(--serif); font-size:30px; color: var(--gold); flex:0 0 60px; }
.pillar h3{ font-size:17px; text-transform:uppercase; letter-spacing:0.5px; }
.pillar p{ font-size:14px; color:var(--ink-soft); margin-top:6px; line-height:1.6; }

/* ---------- chips ---------- */
.chip-row{ display:flex; flex-wrap:wrap; gap:10px; }
.chip{
  font-size: 11.5px; letter-spacing:1.4px; text-transform:uppercase; font-weight:600;
  border:1px solid var(--gold); border-radius:30px; padding:9px 18px;
  transition: background .3s ease, color .3s ease;
}
.chip:hover{ background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* ---------- counters ---------- */
.counter-row{ display:grid; grid-template-columns: repeat(2,1fr); gap:32px; }
@media(min-width:720px){ .counter-row{ grid-template-columns: repeat(4,1fr); } }
.counter{ text-align:center; }
.counter .n{ font-family: var(--serif); font-size: clamp(34px,4.5vw,52px); color: var(--gold); }
.counter .lbl{ font-size:11px; letter-spacing:1.6px; text-transform:uppercase; color: rgba(246,242,234,0.7); margin-top:6px; }

/* ---------- leadership / people ---------- */
.people-grid{ display:grid; gap:40px; grid-template-columns: 1fr; }
@media(min-width:720px){ .people-grid{ grid-template-columns: 1fr 1fr; } }
.person .avatar{
  width:84px; height:84px; border-radius:50%; border:1px solid var(--gold);
  display:flex; align-items:center; justify-content:center; font-family:var(--serif); font-size:26px; color:var(--gold-d);
  margin-bottom:20px;
}
.person h3{ font-size:20px; }
.person .role{ font-size:11px; letter-spacing:1.6px; text-transform:uppercase; color:var(--gold-d); margin:6px 0 14px; font-weight:700; }
.person p{ font-size:14.5px; color:var(--ink-soft); line-height:1.7; }

/* ---------- process steps ---------- */
.steps{ display:grid; grid-template-columns:1fr; gap:0; counter-reset: step; }
@media(min-width:720px){ .steps{ grid-template-columns: repeat(4,1fr); } }
.step{ position:relative; padding: 30px 24px 30px 0; border-top: 1px solid var(--line); }
.step::before{
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-size: 34px; color: var(--gold); display:block; margin-bottom:14px;
}
.step h4{ font-size:15px; text-transform:uppercase; letter-spacing:0.6px; margin-bottom:8px; }
.step p{ font-size:13.5px; color:var(--ink-soft); line-height:1.6; }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-card{
  background: var(--paper); border:1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px,4vw,48px);
}
.field{ margin-bottom: 22px; }
.field label{
  display:block; font-size:11px; letter-spacing:1.4px; text-transform:uppercase; font-weight:700;
  color: var(--ink-soft); margin-bottom: 9px;
}
.field .req{ color: var(--gold-d); }
.field input[type=text],
.field input[type=email],
.field input[type=tel],
.field input[type=url],
.field textarea,
.field select{
  width:100%; border:none; border-bottom: 1px solid var(--line); background: transparent;
  padding: 12px 2px; font-size:15px; color: var(--ink); transition: border-color .3s ease;
  border-radius:0;
}
.field textarea{ resize: vertical; min-height: 110px; border:1px solid var(--line); padding:12px; border-radius:2px; }
.field input:focus, .field textarea:focus, .field select:focus{
  outline:none; border-color: var(--gold-d);
}
.field-row{ display:grid; grid-template-columns:1fr; gap: 22px; }
@media(min-width:640px){ .field-row.cols-2{ grid-template-columns:1fr 1fr; } }

.pill-options{ display:flex; flex-wrap:wrap; gap:10px; }
.pill-check{ position:relative; }
.pill-check input{ position:absolute; opacity:0; inset:0; cursor:pointer; margin:0; width:100%; height:100%; }
.pill-check span{
  display:inline-flex; align-items:center; padding:10px 18px; border:1px solid var(--line);
  border-radius:30px; font-size:12.5px; letter-spacing:0.6px; transition: all .25s ease;
}
.pill-check input:checked + span{ background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.pill-check input:focus-visible + span{ outline: 2px solid var(--gold-d); outline-offset:2px; }

.radio-row{ display:flex; gap: 22px; }
.radio-opt{ display:flex; align-items:center; gap:8px; font-size:14px; }
.radio-opt input{ accent-color: var(--ink); width:16px; height:16px; }

.file-drop{
  border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 26px;
  text-align:center; font-size:13px; color: var(--grey); position:relative; transition: border-color .3s ease, background .3s ease;
}
.file-drop.drag{ border-color: var(--gold-d); background: rgba(217,161,59,0.06); }
.file-drop input{ position:absolute; inset:0; opacity:0; cursor:pointer; }
.file-drop b{ color: var(--ink); }
.file-list{ margin-top:10px; font-size:12px; color: var(--ink-soft); text-align:left; }

.form-note{ font-size:12.5px; color: var(--grey); margin-top: 18px; line-height:1.6; }
.form-status{ margin-top:18px; font-size:14px; display:none; padding:14px 16px; border-radius:2px; }
.form-status.show{ display:block; }
.form-status.ok{ background: rgba(90,140,90,0.12); color:#2f5a2f; border:1px solid rgba(90,140,90,0.3); }
.form-status.err{ background: rgba(180,70,70,0.1); color:#8a2f2f; border:1px solid rgba(180,70,70,0.3); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{ background: var(--ink); color: var(--ivory); padding: 80px 0 26px; }
.footer-top{ display:grid; gap:48px; grid-template-columns: 1fr; padding-bottom: 56px; }
@media(min-width:860px){ .footer-top{ grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand img{ height:28px; margin-bottom:18px; }
.footer-brand p{ font-size:13.5px; color: rgba(246,242,234,0.65); line-height:1.7; max-width:280px; }
.footer-col h5{
  font-size:11px; letter-spacing:1.8px; text-transform:uppercase; color: var(--gold); margin-bottom:18px; font-weight:700;
}
.footer-col a, .footer-col p{
  display:block; font-size:14px; color: rgba(246,242,234,0.75); margin-bottom:11px; transition: color .25s ease;
}
.footer-col a:hover{ color: var(--gold-l); }
.footer-bottom{
  border-top: 1px solid var(--line-dark); padding-top: 24px; display:flex; flex-wrap:wrap;
  justify-content:space-between; gap:14px; font-size:11.5px; letter-spacing:0.8px; color: rgba(246,242,234,0.5);
}
.footer-social{ display:flex; gap:14px; margin-top: 22px; }
.footer-social a{ width:34px; height:34px; border:1px solid var(--line-dark); border-radius:50%; display:flex; align-items:center; justify-content:center; transition: border-color .3s ease, background .3s ease; }
.footer-social a:hover{ background: var(--gold); border-color: var(--gold); }
.footer-social svg{ width:15px; height:15px; stroke: var(--ivory); color: var(--ivory); transition: stroke .3s ease, color .3s ease; }
.footer-social a:hover svg{ stroke:var(--ink); color: var(--ink); }

/* ==========================================================================
   PAGE HEADER (interior pages)
   ========================================================================== */
.page-hero{
  padding: 168px 0 72px; background: var(--ivory); position:relative; overflow:hidden;
}
.page-hero .container{ position:relative; z-index:1; }
.page-hero h1{ font-size: clamp(34px,5vw,58px); max-width: 16ch; }
.crumb{ font-size:11.5px; letter-spacing:1.6px; text-transform:uppercase; color: var(--grey); margin-bottom:18px; }
.crumb a{ color: var(--grey); }
.crumb a:hover{ color: var(--gold-d); }

/* misc */
.split{ display:grid; grid-template-columns: 1fr; gap: 56px; align-items:center; }
@media(min-width:900px){ .split{ grid-template-columns: 1fr 1fr; } }
.split.reverse{ direction: rtl; }
.split.reverse > *{ direction: ltr; }
.media-frame{
  position:relative; border: 1px solid var(--gold); border-radius: var(--radius); overflow:hidden; aspect-ratio: 4/5;
  background: linear-gradient(150deg, var(--ivory-d), var(--ivory));
}
.media-frame.wide{ aspect-ratio: 16/10; }
.media-frame .pattern{ position:absolute; inset:0; }

.skyline{ width:100%; display:block; }

.cta-band{
  background: var(--ink); color: var(--ivory); padding: 72px 0; text-align:center;
}
.cta-band h2{ color:var(--ivory); }
.cta-band .lede-lg{ color: rgba(246,242,234,0.78); margin: 18px auto 34px; }
.cta-actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

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

.visually-hidden{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
