/* Blue House Productions — shared scaffold
   Ported from build/style-tile.html (signed off 2026-05-01).
   Tokens, masthead, hero, section primitives. Spectral throughout;
   Source Sans 3 utility-only. Cobalt held entirely inside the wordmark. */

:root{
  --cobalt:#0047AB;
  --ink:#0F0D0A;            /* display ink — warm dark */
  --body:#1A1610;           /* body ink */
  --ink-soft:#3A342D;       /* soft body / italic */
  --mute:#7A7268;
  --hair:#E5E2DA;
  --paper:#FFFFFF;
  --sans:'Source Sans 3','Helvetica Neue',sans-serif;
  --serif:'Spectral',Georgia,serif;

  --col:660px;              /* body column */
  --pull:880px;             /* pull-quote column */
  --pad-x:56px;
  --pad-x-mob:28px;
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{
  background:var(--paper);
  font-family:var(--serif);
  color:var(--body);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{display:block;max-width:100%}
a{color:inherit}

/* Paper-grain overlay — discreet, killable in one rule */
body::before{
  content:"";
  position:fixed;inset:0;pointer-events:none;z-index:1;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>");
  opacity:0.06;
  mix-blend-mode:multiply;
}
.page{position:relative;z-index:2}

/* ---------- MASTHEAD ---------- */
/* Fixed across the page; larger on landing, shrinks on scroll. */
.top{
  position:fixed;top:0;left:0;right:0;z-index:50;
  display:flex;align-items:center;justify-content:space-between;
  padding:48px 72px;
  transition:padding .28s ease, background-color .28s ease, border-color .28s ease;
}
.top .logo{display:inline-flex}
.top .logo img{
  width:auto;height:112px;
  transition:height .28s ease;
}
.top.scrolled{
  padding:22px 56px;
  background:rgba(255,255,255,0.92);
  border-bottom:1px solid var(--hair);
  backdrop-filter:saturate(140%) blur(8px);
  -webkit-backdrop-filter:saturate(140%) blur(8px);
}
.top.scrolled .logo img{height:64px}
.top nav{display:flex;gap:42px;align-items:center}
.top nav a{
  font-family:var(--sans);font-weight:500;font-size:13px;
  color:var(--ink);text-decoration:none;
  letter-spacing:0.16em;text-transform:uppercase;
}
.top nav a.active{position:relative}
.top nav a.active::after{
  content:"";position:absolute;left:0;right:0;bottom:-8px;
  height:1px;background:var(--ink);
}
.top .menu-toggle{
  display:none;position:relative;width:28px;height:20px;
  background:none;border:0;padding:0;cursor:pointer;flex-shrink:0;
}
.top .menu-toggle .line{
  position:absolute;left:0;right:0;height:1.5px;
  background:var(--ink);border-radius:1px;
  transition:top .25s ease,bottom .25s ease,transform .25s ease,opacity .15s ease;
}
.top .menu-toggle .line:nth-child(1){top:2px}
.top .menu-toggle .line:nth-child(2){top:calc(50% - 0.75px)}
.top .menu-toggle .line:nth-child(3){bottom:2px}
.top .menu-toggle[aria-expanded="true"] .line:nth-child(1){
  top:calc(50% - 0.75px);transform:rotate(45deg);
}
.top .menu-toggle[aria-expanded="true"] .line:nth-child(2){opacity:0}
.top .menu-toggle[aria-expanded="true"] .line:nth-child(3){
  bottom:calc(50% - 0.75px);transform:rotate(-45deg);
}

/* Full-screen menu overlay (mobile) */
.menu-overlay{
  position:fixed;inset:0;z-index:40;background:var(--paper);
  padding:7rem 28px 3rem;
  visibility:hidden;opacity:0;
  transition:opacity .35s ease,visibility 0s linear .35s;
  overflow-y:auto;
}
.menu-overlay.is-open{
  visibility:visible;opacity:1;
  transition:opacity .35s ease,visibility 0s linear 0s;
}
.menu-overlay .menu-nav{
  display:flex;flex-direction:column;
  max-width:var(--col);margin:0 auto;
  border-top:1px solid var(--hair);
}
.menu-overlay .menu-nav a{
  font-family:var(--sans);font-weight:500;font-size:0.92rem;
  text-transform:uppercase;letter-spacing:0.22em;color:var(--ink);
  text-decoration:none;padding:1.5rem 0;
  border-bottom:1px solid var(--hair);
}
body.is-menu-open{overflow:hidden}

/* ---------- HERO ---------- */
.hero{
  position:relative;
  height:88vh;height:88svh;min-height:600px;
  width:100%;overflow:hidden;background:#fff;
}
.hero img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center 65%;
}

/* ---------- LEDE (viewport two) ---------- */
.lede{padding:160px var(--pad-x) 140px;text-align:center}
.lede h1{
  font-family:var(--serif);font-weight:300;
  font-size:clamp(48px,5.6vw,88px);line-height:1.04;
  letter-spacing:-0.012em;color:var(--ink);
  margin:0 auto 56px;max-width:18ch;
}
.lede h1 em{font-style:italic;font-weight:300}
.lede .strap{
  font-family:var(--serif);font-weight:300;font-style:italic;
  font-size:clamp(20px,1.8vw,26px);line-height:1.45;
  color:var(--ink-soft);max-width:46ch;margin:0 auto;
}
.lede .strap em{font-style:normal;color:var(--ink)}

/* ---------- SECTION primitives ---------- */
.section{padding:120px var(--pad-x) 144px;position:relative}
.section::before{
  content:"";
  position:absolute;top:0;left:50%;transform:translateX(-50%);
  width:66%;max-width:var(--pull);height:1px;background:var(--hair);
}
.section .label{
  font-family:var(--sans);font-weight:500;font-size:11px;
  letter-spacing:0.32em;text-transform:uppercase;color:var(--mute);
  text-align:center;margin-bottom:80px;
}
.section .body{max-width:var(--col);margin:0 auto}
.section .body p{
  font-family:var(--serif);font-weight:400;font-size:20px;line-height:1.62;
  color:var(--body);margin-bottom:24px;
}
.section .body p.intro{font-size:22px;color:var(--ink)}
.section .body p em{font-style:italic}
.section .body p:last-child{margin-bottom:0}
.section .body p.coda{text-align:center;font-style:italic;color:var(--soft);margin-top:32px}

/* Section headline — italic Spectral display, used when a section opens
   with a quote or a banner line rather than diving straight into body */
.section .headline{
  max-width:1100px;margin:0 auto 72px;text-align:center;
}
.section .headline .quote{
  font-family:var(--serif);font-weight:300;font-style:italic;
  font-size:clamp(32px,3.4vw,52px);line-height:1.12;
  letter-spacing:-0.008em;color:var(--ink);
  margin-bottom:24px;
}
.section .headline .attribution{
  font-family:var(--sans);font-weight:500;font-size:11px;
  color:var(--mute);letter-spacing:0.24em;text-transform:uppercase;
}
.section .headline .attribution span{
  display:block;font-weight:400;font-family:var(--serif);font-style:italic;
  font-size:13px;color:#7A7268;letter-spacing:0.04em;text-transform:none;
  margin-top:8px;
}

/* Editorial still — single full-width frame */
.section .still{
  max-width:var(--pull);
  margin:0 auto 80px;
}
.section .still img{width:100%;height:auto;display:block}

/* Pull-quote — italic centred Spectral, no border, no rule */
.pull{margin:96px auto;max-width:var(--pull);text-align:center}
.pull .q{
  font-family:var(--serif);font-weight:300;font-style:italic;
  font-size:clamp(36px,3.6vw,52px);line-height:1.16;
  color:var(--ink);margin-bottom:32px;
}
.pull .attribution{
  font-family:var(--sans);font-weight:500;font-size:11px;
  color:var(--mute);letter-spacing:0.24em;text-transform:uppercase;
}
.pull .attribution span{
  display:block;font-weight:400;color:#7A7268;
  letter-spacing:0.04em;text-transform:none;font-size:13px;
  margin-top:8px;font-style:italic;font-family:var(--serif);
}

/* ---------- TEAM ---------- */
.team .roster{
  max-width:1100px;margin:0 auto;
  display:grid;grid-template-columns:repeat(3,1fr);gap:64px;
}
.team .person .portrait{
  margin:0 0 28px;aspect-ratio:3/4;overflow:hidden;
}
.team .person .portrait img{
  width:100%;height:100%;object-fit:cover;object-position:center 20%;
  filter:grayscale(100%) contrast(1.02);
}
.team .person h3{
  font-family:var(--serif);font-weight:400;
  font-size:28px;line-height:1.15;color:var(--ink);margin-bottom:6px;
}
.team .person .role{
  font-family:var(--sans);font-weight:500;font-size:11px;
  letter-spacing:0.24em;text-transform:uppercase;color:var(--mute);
  margin-bottom:20px;
}
.team .person .quote-headline{
  font-family:var(--serif);font-weight:300;font-style:italic;
  font-size:clamp(20px,1.6vw,24px);line-height:1.25;
  color:var(--ink);margin:0 0 16px;letter-spacing:-0.005em;
}
.team .person p{
  font-family:var(--serif);font-weight:400;font-size:18px;line-height:1.62;
  color:var(--body);margin-bottom:16px;
}
.team .person p em{font-style:italic}
.team .person p:last-child{margin-bottom:0}

/* ---------- CONTACT ---------- */
.contact{text-align:center}
.contact .body{max-width:var(--col)}
.contact .cta{
  display:inline-block;margin-top:48px;max-width:100%;
  font-family:var(--serif);font-weight:300;font-style:italic;
  font-size:clamp(18px,4.6vw,40px);line-height:1.2;
  color:var(--ink);text-decoration:none;
  border-bottom:1px solid var(--ink);padding-bottom:6px;
  overflow-wrap:anywhere;
}
.contact .cta:hover{color:var(--ink-soft);border-bottom-color:var(--ink-soft)}

/* ---------- FOOTER ---------- */
.footer{
  padding:48px var(--pad-x) 56px;border-top:1px solid var(--hair);
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  font-family:var(--sans);font-size:12px;letter-spacing:0.16em;
  text-transform:uppercase;color:var(--mute);
}
.footer .mark{color:var(--ink);font-weight:500}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px){
  :root{--pad-x:var(--pad-x-mob)}

  .top{padding:28px 36px;gap:16px}
  .top .logo img{height:72px}
  .top.scrolled{padding:16px 28px}
  .top.scrolled .logo img{height:48px}
  .top nav{gap:14px}
  .top nav a{font-size:10px;letter-spacing:0.12em}
  /* Keep four-link nav visible on tablet; collapse only at narrow widths */

  /* Crop the white-seamless sides so the founders hit the viewport edges.
     Tighter aspect ratio (3/4 — portrait) crops the outer seamless harder
     so the women span edge to edge. */
  /* Mobile uses a dedicated portrait asset (group-photo-mobile.png) with
     headroom baked in — display at natural aspect, no crop. */
  .hero{min-height:0;height:auto;background:#fff}
  .hero img{
    position:relative;display:block;
    width:100%;height:auto;aspect-ratio:auto;
    object-fit:initial;
  }

  .lede{padding:96px 28px 88px}
  .lede h1{font-size:clamp(36px,9vw,56px);margin-bottom:40px}
  .lede .strap{font-size:18px}

  .section{padding:80px 28px 96px}
  .section .label{margin-bottom:48px}
  .section .body p{font-size:18px}
  .pull{margin:64px auto}
  .pull .q{font-size:30px}

  .team .roster{grid-template-columns:1fr;gap:56px;max-width:340px}
  .team .person .portrait{max-width:260px;margin-left:auto;margin-right:auto}

  .footer{padding:32px 24px 40px;flex-direction:column;align-items:flex-start;gap:8px}
}

@media (max-width: 620px){
  .top nav{display:none}
  .top .menu-toggle{display:block}
}
