/* All Things Trust — shared base styles (nav, footer, tokens, type, buttons).
   Rules not used by the 2026 About page were moved to att-legacy.css. */
/* All Things Trust — shared base styles.
   Extracted verbatim from the inline <style> block of about.html (Sep 2026).
   Diff against another page's block before deleting that page's inline CSS. */


*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --teal:  #2F6F71;
  --red:   #B24E2D;
  --gold:  #E8B84A;
  --grey:  #9CA3A8;
  --cream: #E3D5BD;
  --ink:   #1C1916;
  --mid:   #5A5248;
  --dim:   #8C857C;
  --rule:  #E0DCD4;
  --bg:    #fff;
}
html { scroll-behavior: smooth; }
body { font-family: 'Space Grotesk', sans-serif; background: var(--bg); color: var(--ink); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; border-bottom: none;
  background: #F5F3EF; box-shadow: 0 1px 4px rgba(28,25,22,.06);
}
.nav-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0;  }
.nav-wordmark {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); 
}
.nav-links { display: flex; align-items: center; height: 100%; flex: 1; justify-content: space-between; margin-left: 32px; }
.nav-links a {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--mid); text-decoration: none;
  flex: 1; justify-content: center;  transition: color .18s;
  border-right: 1px solid var(--rule);
  display: flex; align-items: center; height: 100%; position: relative;
}

.nav-links a:first-child { border-left: 1px solid var(--rule); }
.nav-links a:hover { color: var(--teal); }
.nav-links a.active { color: var(--teal); font-weight: 600; }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -3px; left: 16px; right: 16px;
  height: 3px; background: var(--teal);
}
h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 3.2vw, 3.6rem);
  font-family: 'Space Grotesk', sans-serif; font-weight: 900; line-height: 1.12; color: var(--ink); margin-bottom: 22px; padding-bottom: 0.1em;
}
h1 em { font-style: normal; color: var(--teal); }

/* ════════════════════════════════════════
   SHARED SECTION STYLES
════════════════════════════════════════ */
section { position: relative; overflow: hidden; }
.section-label {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--teal); display: inline-block;
  margin-bottom: 28px;
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer { padding: 48px 80px; border-top: none; background: var(--gold); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid rgba(28,25,22,.15); }
.footer-brand-col { display: flex; flex-direction: column; }
.footer-wordmark { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-top: 12px; margin-bottom: 6px; }
.footer-tagline { font-size: 0.72rem; line-height: 1.65; color: var(--ink); opacity:.7; max-width: 260px; }
.footer-col-label { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.78rem; color: var(--ink); opacity:.75; text-decoration: none; margin-bottom: 10px; transition: opacity .15s; }
.footer-col a:hover { opacity:1; color: var(--ink); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; }
.footer-meta { font-size: 0.6rem; letter-spacing: 0.1em; color: var(--ink); opacity:.5; }

/* ── ANIMATIONS ── */
@keyframes up  { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fd  { from { opacity:0; } to { opacity:1; } }

/* Fade-in on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Print / share — force all reveals visible */
@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  nav { position: relative; }
  .hero { height: auto; max-height: none; page-break-inside: avoid; }
}
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 4px; background: none; border: none; z-index: 110;
}
.nav-hamburger span {
  display: block; width: 22px; height: 3px; background: var(--teal);
  transition: transform .25s, opacity .25s;
}

.nav-drawer {
  display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: rgba(250,250,247,.98); backdrop-filter: blur(12px);
  z-index: 99; flex-direction: column; padding: 32px 32px;
  border-top: 1px solid var(--rule); overflow-y: auto;
}

/* ── SITE-WIDE MULTICOLOR STRIPE ── */
.site-stripe {
  position:fixed; top:68px; left:0; right:0;
  display:flex; height:6px; z-index:99; pointer-events:none;
}
.site-stripe > span { flex:1; }

.nav-drawer a {
  font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 600;
  letter-spacing: 0.06em; color: var(--mid); text-decoration: none;
  padding: 18px 0; border-bottom: 1px solid var(--rule);
  transition: color .18s;
}
.nav-drawer a:hover, .nav-drawer a.active { color: var(--teal); }

/* ════════════════════════════════════════
   TABLET  (≤ 1024px)
════════════════════════════════════════ */
@media (max-width: 1024px) {
  nav { padding: 0 32px; }

  /* Hero: stack vertically */
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    height: auto; max-height: none;
  }
  .hero-left {
    padding: 48px 40px 36px;
    grid-row: 1;
  }
  h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
  .body-copy { max-width: 100%; }

  /* Right panel: reduced height */
  .hero-right { grid-row: 2; height: 360px; }
  .hero-right::before { display: none; }

  /* Bottom bar */
  .hero-bottom { grid-row: 3; padding: 0 40px; min-height: 72px; }
  .bottom-def { font-size: 0.9rem; }

  /* Sections */
  .section-inner { padding: 56px 40px; }
  .shift-cards { grid-template-columns: 1fr; }
  .stack-layout { grid-template-columns: 1fr; gap: 36px; }
  .gap-stats { grid-template-columns: 1fr 1fr; }
  .gap-stats .gap-stat:last-child { grid-column: 1 / -1; }
  .signals-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .att-inner { grid-template-columns: 1fr; gap: 40px; padding: 56px 40px; }
  footer { padding: 40px 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ════════════════════════════════════════
   MOBILE  (≤ 768px)
════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Nav: hide links, show hamburger */
  nav { padding: 0 20px; height: 60px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-drawer { top: 60px; }
  .site-stripe { top: 60px; }

  /* Hero */
  .hero { margin-top: 60px; }
  .hero-left { padding: 32px 24px 24px; }
  h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); margin-bottom: 16px; line-height: 1.1; }
  .body-copy { font-size: 0.9rem; margin-bottom: 24px; }

  /* Stack CTAs vertically */
  .ctas { flex-direction: column; }
  .ctas .btn-primary,
  .ctas .btn-secondary { flex: none; width: 100%; justify-content: center; }

  /* Right panel */
  .hero-right { height: 280px; }
  .stat-num { font-size: 1.1rem; }
  .stat-patent { font-size: 0.36rem; }
  .stat-line { gap: 14px; margin-top: 20px; padding-top: 16px; }

  /* Bottom bar */
  .hero-bottom {
    padding: 18px 24px; min-height: auto; flex-direction: column;
    align-items: flex-start; gap: 8px;
  }
  .bottom-divider { display: none; }
  .bottom-def { font-size: 0.82rem; line-height: 1.55; }

  /* Sections */
  .section-inner { padding: 44px 24px; }
  .section-h2 { font-size: clamp(1.5rem, 5.5vw, 2rem); }
  .section-label { font-size: 0.58rem; }

  /* Shift */
  .shift-row { gap: 14px; padding: 16px; }

  /* Gap stats: single column */
  .gap-stats { grid-template-columns: 1fr; }
  .gap-stats .gap-stat:last-child { grid-column: auto; }
  .gap-stat { padding: 24px 20px; }
  .gap-stat-num { font-size: 2rem; }
  .gap-quote { font-size: 1rem; padding-left: 18px; }



  /* Signals */
  .signal-card { padding: 28px 24px; }
  .signals-grid { gap: 0; }
  .signal-card { border-right: none; border-bottom: 1px solid var(--rule); }

  /* Work cards */
  .work-card { padding: 28px 24px; }

  /* ATT section */
  .att-inner { padding: 52px 24px; }
  .att-not { padding: 16px 20px; }
  .att-not-txt { font-size: 0.82rem; }

  /* Footer */
  footer { padding: 28px 24px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}

/* ════════════════════════════════════════
   SMALL MOBILE (≤ 390px)
════════════════════════════════════════ */
@media (max-width: 390px) {
  h1 { font-size: 1.75rem; }
  .hero-right { height: 220px; }
  .stat-divider { display: none; }
  .stat-line { gap: 10px; }
  .section-inner { padding: 44px 20px; }
}


/* ── PAGE HERO (stacked) ── */
.page-hero { margin-top:68px; padding:72px 80px 48px; border-bottom:1px solid var(--rule); position:relative; overflow:hidden; }
.page-hero-inner { max-width:1200px; margin:0 auto; position:relative; z-index:1; }
.page-h1 { font-family:'Space Grotesk', sans-serif; font-size:clamp(2.1rem,3.4vw,3rem); font-weight:900; line-height:1.12; color:var(--ink); letter-spacing:-0.02em; margin:0 0 22px; }
.page-h1 em { font-style: normal; color:var(--teal); }
.hero-lead { font-size:1.375rem; font-weight:400; line-height:1.7; color:var(--mid); max-width:100%; margin-top:24px; border-left:3px solid var(--teal); padding-left:24px; }
.block-label { font-size:0.72rem; font-weight:600; letter-spacing:0.14em; text-transform:uppercase; color:var(--teal); display:block; margin-bottom:16px; }
.block-h2 { font-family:'Space Grotesk', sans-serif; font-size:clamp(1.8rem,2.5vw,2.4rem); font-weight:900; line-height:1.15; color:var(--ink); margin-bottom:24px; }
.block-h2 em { font-style: normal; color:var(--teal); }
.block-body { font-size:1rem; line-height:1.78; color:var(--mid); max-width:720px; margin-bottom:24px; }

/* ── RESPONSIVE ── */
@media (max-width:1024px) {
  .page-hero { padding:56px 40px 40px; }
  .content-block { padding:56px 40px; }
  .story-inner { padding:56px 40px; }
  .heart-illustration { width:200px; height:200px; right:20px; top:28px; }
}@media (max-width:768px) {

  .page-hero { margin-top:60px; padding:44px 24px 32px; }
  .team-photo { width:120px; height:120px; }
}

.team-card { border:1px solid var(--rule); overflow:hidden; }
.team-photo { width:160px; height:160px; border-radius:50%; object-fit:cover; object-position:center top; background:rgba(47,111,113,.08); display:block; margin:28px auto 0; box-shadow:0 0 0 4px var(--ink), 0 0 0 7px var(--gold); }
.team-card:nth-child(1) .team-photo { box-shadow:0 0 0 4px var(--ink), 0 0 0 7px var(--gold); }
.team-card:nth-child(2) .team-photo { box-shadow:0 0 0 4px var(--ink), 0 0 0 7px var(--teal); }
.team-card:nth-child(3) .team-photo { box-shadow:0 0 0 4px var(--ink), 0 0 0 7px var(--red); }
.team-card:nth-child(4) .team-photo { box-shadow:0 0 0 4px var(--ink), 0 0 0 7px var(--grey); }
.team-body { padding:28px; }
.team-name { font-family:'Space Grotesk', sans-serif; font-size:1.2rem; font-weight:700; color:var(--ink); margin-bottom:4px; }
.team-role { font-size:0.72rem; font-weight:600; letter-spacing:0.12em; text-transform:uppercase; color:var(--teal); margin-bottom:16px; display:block; }
.team-bio { font-size:0.9rem; line-height:1.7; color:var(--mid); }
.team-linkedin { display:inline-flex; align-items:center; gap:6px; font-size:0.72rem; font-weight:600; letter-spacing:0.08em; text-transform:uppercase; color:var(--teal); text-decoration:none; margin-top:14px; transition:color .2s; }
.team-linkedin:hover { color:var(--ink); }
.team-linkedin svg { width:16px; height:16px; }@media (max-width: 480px) {

  .page-h1 { font-size: 1.5rem; }
  .page-hero { padding: 40px 20px 28px; }
}

/* Buttons and CTA rows — shared, restored for pages beyond About */

.ctas .btn-primary,
.ctas .btn-secondary {
  flex: 1; justify-content: center;
}
.btn-primary {
  display: inline-flex; align-items: center; padding: 13px 26px;
  background: var(--teal); color: #fff; font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; transition: background .2s, transform .15s; 
}
.btn-primary:hover { background: #1f4d4f; transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; padding: 13px 26px;
  background: var(--red); color: #fff; font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; transition: background .2s, transform .15s; 
}
.btn-secondary:hover { background: #8f3e23; transform: translateY(-1px); }
.cta-row { display:flex; gap:14px; align-items:center; margin-top:40px; }
.panel--dark .btn-primary { background:var(--gold); color:var(--ink); border-color:var(--gold); }
.panel--dark .btn-primary:hover { background:#d4a63e; }
