:root {
  --ink: #160d33;
  --ink-2: #221642;
  --night: #0a061d;
  --night-2: #140a31;
  --coral: #ff625f;
  --coral-2: #ff746d;
  --paper: #f7f6f8;
  --white: #ffffff;
  --muted: #756f83;
  --line: rgba(22, 13, 51, .14);
  --max: 1320px;
  --shadow: 0 18px 48px rgba(26, 10, 52, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.section-dark { color: var(--white); background: var(--night); }
.section-light { background: var(--paper); }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 999; padding: 10px 14px; background: #fff; color: #000; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(10, 6, 29, .84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-shell { width: min(1400px, calc(100% - 64px)); height: 110px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--coral); font-weight: 800; letter-spacing: .05em; }
.brand-mark { position: relative; width: 58px; height: 58px; border: 4px solid currentColor; display: grid; place-items: center; line-height: 1; }
.brand-a { font-size: 42px; font-weight: 500; letter-spacing: -.08em; transform: translateX(-2px); }
.brand-one { position: absolute; right: -10px; top: -13px; padding: 2px; background: var(--night); font-size: 17px; }
.brand-name { font-size: 25px; }
.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav a { position: relative; color: rgba(255,255,255,.88); text-decoration: none; font-size: 15px; padding: 14px 0; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; background: var(--coral); transition: right .25s ease; }
.primary-nav a:hover::after, .primary-nav a.active::after { right: 0; }
.primary-nav a.active { color: var(--coral); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: white; padding: 8px; }
.menu-toggle span { display: block; height: 2px; background: currentColor; margin: 6px 0; }

.hero { position: relative; overflow: hidden; padding: 150px 0 92px; background:
  radial-gradient(circle at 8% 85%, rgba(113,20,84,.26), transparent 34%),
  radial-gradient(circle at 92% 18%, rgba(45,20,88,.30), transparent 38%),
  linear-gradient(145deg, #0d0725 0%, #08051a 65%, #130627 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .85fr; align-items: start; gap: 88px; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 18px; color: var(--coral); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 800; }
.eyebrow.dark { color: #db4f50; }
.hero h1 { margin: 0; font-size: clamp(64px, 6.5vw, 108px); line-height: .98; letter-spacing: -.045em; max-width: 720px; }
.title-rule { width: 98px; height: 3px; background: var(--coral); margin: 42px 0 32px; }
.hero-deck { max-width: 500px; margin: 0 0 36px; font-size: clamp(20px, 2vw, 26px); color: rgba(255,255,255,.87); }
.button { display: inline-flex; align-items: center; gap: 22px; padding: 15px 25px; border-radius: 6px; text-decoration: none; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #170c2f; background: linear-gradient(135deg, var(--coral-2), var(--coral)); box-shadow: 0 12px 30px rgba(255,98,95,.25); }
.button-dark { color: white; background: var(--ink); }
.hero-copy { padding-top: 100px; }
.operating-system { border: 1px solid rgba(255,98,95,.9); border-radius: 22px; padding: 28px 42px 24px; background: rgba(9,5,28,.45); box-shadow: inset 0 0 50px rgba(255,98,95,.025); }
.operating-system h2 { color: var(--coral); text-align: center; font-size: 22px; line-height: 1.25; letter-spacing: .03em; }
.os-flow { list-style: none; margin: 25px 0 0; padding: 0; }
.os-flow li { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 18px; align-items: center; min-height: 105px; }
.os-flow li:not(:last-child)::after { content: "↓"; position: absolute; left: 65%; bottom: -4px; color: var(--coral); font-size: 34px; font-weight: 300; }
.os-flow .icon { color: var(--coral); width: 48px; }
.os-flow strong { display: block; color: var(--coral); font-size: 20px; }
.os-flow span:not(.icon) { display: block; color: rgba(255,255,255,.9); font-size: 15px; }
.data-wave { position: absolute; inset: auto 0 -85px; height: 250px; opacity: .68; background-image: radial-gradient(circle, rgba(255,67,86,.9) 1.2px, transparent 1.5px); background-size: 12px 12px; transform: perspective(480px) rotateX(62deg) scaleX(1.2); mask-image: linear-gradient(to bottom, transparent 0, #000 28%, #000 70%, transparent 100%); }

.principles { padding: 50px 0 34px; }
.section-title { margin: 0; text-align: center; font-size: clamp(25px, 3vw, 36px); letter-spacing: -.03em; }
.section-rule { width: 44px; height: 2px; margin: 15px auto 40px; background: var(--coral); }
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.principle { padding: 4px 34px 18px; border-right: 1px solid var(--line); }
.principle:last-child { border-right: 0; }
.principle-icon { width: 72px; height: 58px; margin: 0 auto 16px; color: var(--coral); }
.principle h3 { font-size: 20px; line-height: 1.25; text-align: center; min-height: 50px; }
.principle p { font-size: 15px; color: #403a4b; margin-bottom: 0; }
.content-hub { padding: 22px 0 72px; }
.card-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.hub-card { display: flex; min-height: 310px; flex-direction: column; background: white; border: 1px solid rgba(22,13,51,.09); border-radius: 8px; padding: 24px 20px 20px; box-shadow: 0 6px 20px rgba(21,9,40,.04); }
.card-icon { color: var(--coral); width: 48px; height: 48px; }
.hub-card h2 { font-size: 19px; margin: 15px 0 5px; }
.hub-card p { color: #4c4657; font-size: 14px; line-height: 1.65; margin: 0 0 20px; }
.hub-card a { margin-top: auto; color: #e34e50; font-size: 14px; font-weight: 800; text-decoration: none; }
.hub-card a span { margin-left: 8px; font-size: 20px; }

.thesis { padding: 110px 0; background: linear-gradient(160deg, #0c071f 0%, #14092f 100%); }
.thesis-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 88px; }
.thesis-meta { position: sticky; top: 126px; align-self: start; }
.thesis-meta h2 { margin: 0 0 24px; font-size: 32px; line-height: 1.08; letter-spacing: -.035em; }
.thesis-meta p { color: rgba(255,255,255,.72); }
.meta-note { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); }
.thesis-author{
    margin:1.1rem 0 1.75rem;
    font-size:0.9rem;
    color:var(--text-secondary);
    font-weight:500;
    letter-spacing:0.02em;
}
.thesis-body { min-width: 0; }
.thesis-chapter { padding: 0 0 70px; margin: 0 0 70px; border-bottom: 1px solid rgba(255,255,255,.12); }
.thesis-chapter:last-child { border: 0; margin-bottom: 0; padding-bottom: 0; }
.thesis-chapter h3 { margin: 0 0 28px; color: white; font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -.035em; }
.thesis-chapter h3 span { color: var(--coral); }
.thesis-chapter p { max-width: 780px; color: rgba(255,255,255,.82); font-size: 18px; }
.thesis-chapter blockquote { margin: 36px 0; padding: 18px 0 18px 28px; border-left: 3px solid var(--coral); color: white; font-size: 26px; line-height: 1.35; font-weight: 700; }
.discipline-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 24px; margin: 28px 0; padding: 0; list-style: none; }
.discipline-list li { padding: 12px 15px; border: 1px solid rgba(255,255,255,.13); border-radius: 5px; color: rgba(255,255,255,.88); background: rgba(255,255,255,.03); }
.os-cards, .four-principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 30px 0; }
.os-cards article, .four-principles article { padding: 22px; border: 1px solid rgba(255,98,95,.45); border-radius: 10px; background: rgba(255,255,255,.025); }
.os-cards h4, .four-principles h4 { color: var(--coral); font-size: 20px; margin: 0 0 4px; }
.os-cards p { color: white; margin: 0 0 7px; font-weight: 700; }
.os-cards span, .four-principles p { color: rgba(255,255,255,.7); font-size: 15px; }
.mission { border: 1px solid rgba(255,98,95,.72); border-radius: 18px; padding: 42px !important; background: rgba(255,98,95,.04); }
.mission h3 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 0; }

.why { padding: 95px 0; }
.why-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.why h2 { margin: 0; font-size: clamp(42px, 6vw, 72px); line-height: .98; letter-spacing: -.05em; }
.why-copy p { color: #40394c; font-size: 20px; margin-top: 0; }
.why-copy .button { margin-top: 18px; }

.site-footer { color: white; background: #09051a; padding: 42px 0; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.footer-brand .brand-mark { width: 42px; height: 42px; border-width: 3px; }
.footer-brand .brand-a { font-size: 30px; }
.footer-brand .brand-one { font-size: 12px; right: -8px; top: -10px; }
.footer-brand .brand-name { display: none; }
.footer-grid > p { max-width: 650px; margin: 0; color: rgba(255,255,255,.76); text-align: center; font-size: 14px; }
.footer-links { display: grid; justify-items: end; gap: 3px; font-size: 13px; color: rgba(255,255,255,.65); }
.footer-links a { color: var(--coral); text-decoration: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .nav-shell { width: calc(100% - 40px); height: 92px; }
  .hero-copy { padding-top: 70px; }
  .hero-grid { gap: 48px; }
}

@media (max-width: 1020px) {
  .primary-nav { gap: 18px; }
  .primary-nav a { font-size: 13px; }
  .hero-grid { gap: 40px; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .principle-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .principle:nth-child(2) { border-right: 0; }
  .thesis-layout { grid-template-columns: 230px minmax(0,1fr); gap: 50px; }
}

@media (max-width: 780px) {
  body { font-size: 16px; }
  .container { width: min(100% - 32px, var(--max)); }
  .nav-shell { height: 72px; width: calc(100% - 28px); }
  .brand-mark { width: 46px; height: 46px; border-width: 3px; }
  .brand-a { font-size: 34px; }
  .brand-one { font-size: 14px; right: -9px; top: -11px; }
  .brand-name { font-size: 19px; }
  .menu-toggle { display: block; }
  .primary-nav { position: fixed; inset: 72px 0 auto; display: grid; gap: 0; padding: 10px 22px 24px; background: rgba(10,6,29,.98); border-bottom: 1px solid rgba(255,255,255,.1); transform: translateY(-120%); transition: transform .25s ease; }
  .primary-nav.open { transform: translateY(0); }
  .primary-nav a { padding: 13px 4px; font-size: 15px; }
  .hero { padding: 105px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 20px; }
  .hero h1 { font-size: 60px; }
  .operating-system { padding: 22px 24px; }
  .principle-grid, .card-grid, .os-cards, .four-principles { grid-template-columns: 1fr; }
  .principle { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 8px 30px; }
  .principle:last-child { border-bottom: 0; }
  .principle h3 { min-height: 0; }
  .hub-card { min-height: 250px; }
  .thesis { padding: 75px 0; }
  .thesis-layout { grid-template-columns: 1fr; gap: 55px; }
  .thesis-meta { position: static; }
  .thesis-chapter { padding-bottom: 50px; margin-bottom: 50px; }
  .discipline-list { grid-template-columns: 1fr; }
  .mission { padding: 28px !important; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; justify-items: center; }
  .footer-links { justify-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Anthem One v1.0 design polish */
.brand { gap: 0; }
.brand-logo { display: block; width: 290px; height: auto; }
.footer-brand .brand-logo { width: 70px; height: auto; object-fit: cover; object-position: left; }
.hero-copy { padding-top: 34px; }
.hero h1 { font-size: clamp(54px, 5.15vw, 82px); line-height: 1.04; letter-spacing: -.035em; max-width: 760px; }
.hero h1 .hero-accent { color: var(--coral); }
.hero-deck { margin-top: 0; }
.operating-system { overflow: visible; }
.os-flow .icon { width: 54px; height: 54px; display: grid; place-items: center; overflow: visible; }
.os-flow .icon svg { width: 54px; height: 54px; overflow: visible; stroke-width: 2.4; }
.os-flow li { grid-template-columns: 64px 1fr; }
.os-flow li:not(:last-child)::after { left: 67%; }
.principle-icon { width: 78px; height: 62px; stroke-width: 2.35; }
.card-icon { width: 52px; height: 52px; }
.card-icon svg { width: 52px; height: 52px; stroke-width: 2.35; overflow: visible; }
.hub-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.hub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(255,98,95,.28); }

@media (max-width: 1180px) {
  .brand-logo { width: 250px; }
  .hero h1 { font-size: clamp(52px, 5.7vw, 72px); }
}
@media (max-width: 780px) {
  .brand-logo { width: 205px; }
  .hero h1 { font-size: clamp(43px, 12.5vw, 60px); }
  .hero-copy { padding-top: 10px; }
  .footer-brand .brand-logo { width: 64px; }
}

/* v1.0 recreated brand assets */
.brand-logo { width: 330px; height: auto; display: block; }
.os-flow .icon { width: 52px; height: 52px; display: grid; place-items: center; overflow: visible; }
.os-flow .icon img { width: 100%; height: 100%; display: block; color: var(--coral); }
.principle-icon { width: 78px; height: 62px; object-fit: contain; display: block; margin: 0 auto 16px; color: var(--coral); }
.card-icon img { width: 100%; height: 100%; display: block; color: var(--coral); }
.os-flow img, .principle-icon, .card-icon img { filter: none; }
/* external SVGs inherit via currentColor only when embedded; force coral using mask-like source color */
.os-flow .icon img, .principle-icon, .card-icon img { color: var(--coral); }
@media (max-width: 900px) { .brand-logo { width: 250px; } }
@media (max-width: 560px) { .brand-logo { width: 215px; } }
/* v1.0.1 rapid brand-fidelity pass */
.brand-logo{width:315px;max-width:100%;}
@media (max-width:900px){.brand-logo{width:255px}}
@media (max-width:560px){.brand-logo{width:220px}}
.principle-icon{width:82px;height:62px;margin-bottom:18px}

/* v1.0.2 brand fidelity pass */
.brand{display:flex;align-items:center;gap:16px;text-decoration:none;flex:0 0 auto}
.brand-mark-img{width:68px;height:64px;display:block;object-fit:contain}
.brand-wordmark{font-family:Arial,Helvetica,sans-serif;font-size:27px;font-weight:700;letter-spacing:2.2px;color:var(--coral);white-space:nowrap;line-height:1}
.footer-brand .brand-mark-img{width:48px;height:45px}
.footer-brand .brand-wordmark{display:none}
.principle-icon{width:88px;height:66px;object-fit:contain;margin:0 auto 18px}
@media(max-width:900px){.brand-mark-img{width:58px;height:55px}.brand-wordmark{font-size:23px;letter-spacing:1.8px}}
@media(max-width:560px){.brand{gap:10px}.brand-mark-img{width:48px;height:46px}.brand-wordmark{font-size:18px;letter-spacing:1.3px}.principle-icon{width:78px;height:60px}}

/* =========================================================
   v1.0.2 mobile viewport fixes
   ========================================================= */

@media (max-width: 780px) {

  /* Allow the single-column hero grid to shrink to the viewport */
  .hero-grid,
  .hero-copy,
  .operating-system {
    min-width: 0;
    max-width: 100%;
  }

  /*
   * INDUSTRIALIZATION must remain on one line because the HTML
   * uses deliberate <br> line breaks. Reduce only the mobile size.
   */
  .hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(34px, 9.6vw, 43px);
    line-height: 1.02;
    letter-spacing: -0.045em;
  }

  /* Keep the OS frame fully within the container */
  .operating-system {
    width: 100%;
    margin-inline: 0;
    padding: 22px 24px;
    overflow: hidden;
  }

  /* Ensure internal grid content cannot widen the frame */
  .os-flow,
  .os-flow li,
  .os-flow li > div {
    min-width: 0;
    max-width: 100%;
  }
}


/* Additional tuning for very narrow phones */
@media (max-width: 390px) {

  .hero h1 {
    font-size: clamp(32px, 9.3vw, 36px);
  }

  .operating-system {
    padding-inline: 20px;
  }

  .os-flow li {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
  }

  .os-flow .icon {
    width: 46px;
    height: 46px;
  }
}

.perspective-title{
    margin:2.25rem 0 1rem;
    font-size:1.35rem;
    font-weight:700;
    line-height:1.2;
    color:var(--text-primary);
}

.perspective-list{
    list-style:none;
    margin:0 0 2rem;
    padding:0;
}

.perspective-list li{
    margin:0 0 0.95rem;
    line-height:1.55;
    color:var(--text-secondary);
}

.perspective-list strong{
    display:inline;
    font-size:1rem;
    font-weight:600;
    color:var(--text-primary);
}

/* =========================================================
   FIELD NOTES PAGE
   ========================================================= */

.field-notes-page{
    padding:7rem 0 6rem;
}

.field-notes-page-header{
    margin-bottom:2.5rem;
}

.field-notes-page-header h1{
    margin:0 0 0.65rem;
    font-size:clamp(3.5rem,7vw,6rem);
    line-height:0.95;
    letter-spacing:-0.055em;
    color:var(--text-primary);
}

.field-notes-page-header > p:last-child{
    margin:0;
    font-size:1.25rem;
    line-height:1.5;
    color:var(--text-secondary);
}

.field-notes-feed{
    display:grid;
    gap:1rem;
}

.field-note-card{
    display:grid;
    grid-template-columns:minmax(0,0.9fr) minmax(0,1fr);
    align-items:stretch;
    min-height:310px;
    border:1px solid rgba(18,9,49,0.2);
    border-radius:8px;
    overflow:hidden;
    background:#ffffff;
}

.field-note-copy{
    display:flex;
    flex-direction:column;
    padding:1.65rem 2rem;
    min-width:0;
}

.field-note-meta{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:0.55rem;
    margin-bottom:1.1rem;
    font-size:0.78rem;
    font-weight:700;
    line-height:1.3;
    letter-spacing:0.08em;
    text-transform:uppercase;
    color:var(--text-secondary);
}

.field-note-number{
    margin-right:auto;
    color:var(--coral);
}

.field-note-text{
    margin:0;
    max-width:none;
    font-size:clamp(1.05rem,1.25vw,1.25rem);
    line-height:1.42;
    letter-spacing:-0.018em;
    color:var(--text-primary);
}

.field-note-text b{
    font-size:1.08em;
    line-height:1.3;
}

.field-note-signature{
    margin-top:auto;
    padding-top:1.5rem;
}

.field-note-rule{
    display:block;
    width:44px;
    height:2px;
    margin-bottom:1rem;
    background:var(--coral);
}

.field-note-signature p{
    margin:0;
    font-size:0.78rem;
    font-weight:700;
    line-height:1.4;
    letter-spacing:0.1em;
    text-transform:uppercase;
    color:var(--text-secondary);
}

.field-note-image{
    position:relative;
    min-width:0;
    min-height:100%;
    margin:0;
    overflow:hidden;
    background:#dedce3;
}

.field-note-image img{
    position:absolute;
    inset:0;
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:42% center;
}

.field-notes-cta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:2rem;
    margin-top:1rem;
    padding:1.6rem 2rem;
    border-radius:8px;
    background:rgba(18,9,49,0.035);
}

.field-notes-cta h2{
    margin:0.2rem 0 0.25rem;
    font-size:1.25rem;
    color:var(--text-primary);
}

.field-notes-cta p{
    margin:0;
    color:var(--text-secondary);
}


/* =========================================================
   FIELD NOTES MOBILE
   ========================================================= */

@media (max-width:780px){

    .field-notes-page{
        padding:5.5rem 0 4rem;
    }

    .field-notes-page-header{
        margin-bottom:2rem;
    }

    .field-notes-page-header h1{
        font-size:clamp(3.25rem,15vw,4.75rem);
    }

    .field-notes-page-header > p:last-child{
        font-size:1.05rem;
    }

    .field-note-card{

        display:flex;

        flex-direction:column;

        min-height:0;

    }

    .field-note-copy{

        width:100%;

        padding:1.5rem;

    }

    .field-note-meta{
        align-items:flex-start;
        margin-bottom:1.25rem;
    }

    .field-note-number{
        width:100%;
        margin-right:0;
    }

    .field-note-text{
        font-size:1.35rem;
    }

    .field-note-signature{
        margin-top:2rem;
    }

    .field-note-image{

        position:relative;

        order:-1;

        display:block;

        flex:none;

        width:100%;

        min-height:0;

        aspect-ratio:765 / 310;

        margin:0;

        overflow:hidden;

        background:#dedce3;

    }

    .field-note-image img{

        position:absolute;

        inset:0;

        display:block;

        width:100%;

        height:100%;

        object-fit:cover;

        object-position:center;

    }

    .field-notes-cta{
        align-items:flex-start;
        flex-direction:column;
        padding:1.5rem;
    }

}