:root {
  --ink: #0a0b0c;
  --ink-2: #101214;
  --steel: #6f7477;
  --paper: #ebe7dd;
  --paper-2: #d8d2c5;
  --white: #f5f3ed;
  --ember: #c76f33;
  --ember-bright: #e3914d;
  --olive: #66695a;
  --line: rgba(255,255,255,.14);
  --line-dark: rgba(10,11,12,.16);
  --shell: min(1180px, calc(100vw - 48px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.skip-link {
  position: fixed; left: 12px; top: -50px; z-index: 9999;
  background: var(--paper); color: var(--ink); padding: 10px 14px;
}
.skip-link:focus { top: 12px; }
.shell { width: var(--shell); margin-inline: auto; }
.site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(5,6,7,.92), rgba(5,6,7,.60), transparent);
  transition: background .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8,9,10,.96);
  border-bottom-color: var(--line);
  backdrop-filter: blur(10px);
}
.nav-wrap {
  width: var(--shell); margin-inline: auto; min-height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.wordmark {
  text-decoration: none; display: flex; gap: 10px; align-items: center;
  font-size: .82rem; letter-spacing: .16em; font-weight: 700; white-space: nowrap;
}
.mark { color: var(--ember-bright); font-size: 1rem; }
.primary-nav { display: flex; align-items: center; gap: 24px; }
.primary-nav a {
  text-decoration: none; font-size: .78rem; text-transform: uppercase;
  letter-spacing: .12em; color: rgba(245,243,237,.78);
}
.primary-nav a:hover { color: #fff; }
.primary-nav .nav-cta {
  border: 1px solid rgba(245,243,237,.35);
  padding: 10px 13px;
}
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line); color: var(--white);
  padding: 8px 11px; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem;
}
.hero { position: relative; min-height: 100vh; display: grid; align-items: end; overflow: hidden; }
.hero-image {
  position: absolute; inset: 0;
  background-image: url('/assets/okinawa-night-aa.jpg');
  background-size: cover;
  background-position: center 54%;
  filter: contrast(1.06);
  transform: scale(1.015);
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 76% 33%, transparent 0 16%, rgba(0,0,0,.18) 48%, rgba(0,0,0,.62) 100%),
    linear-gradient(to top, rgba(5,6,7,.98) 0%, rgba(5,6,7,.35) 48%, rgba(5,6,7,.35) 100%);
}
.hero-content { position: relative; z-index: 2; padding-bottom: 11vh; padding-top: 150px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--ember-bright);
  font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
}
.eyebrow.dark { color: #805128; }
.hero h1 {
  margin: 0; max-width: 850px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(4rem, 10.5vw, 9.8rem);
  line-height: .79;
  letter-spacing: -.055em;
  font-weight: 400;
  text-shadow: 0 2px 24px rgba(0,0,0,.55);
}
.hero-line {
  margin: 30px 0 0; font-family: Georgia, serif;
  font-size: clamp(1.25rem, 2.2vw, 2.05rem); line-height: 1.25; max-width: 600px;
}
.hero-credit { margin: 20px 0 0; color: rgba(245,243,237,.72); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 20px; text-decoration: none;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--ember); color: #fff; border: 1px solid var(--ember); }
.button-primary:hover { background: var(--ember-bright); border-color: var(--ember-bright); }
.button-ghost { border: 1px solid rgba(255,255,255,.44); background: rgba(0,0,0,.20); }
.button-dark { background: var(--ink); color: var(--white); border: 1px solid var(--ink); }
.hero-caption, .photo-credit {
  position: absolute; z-index: 3; right: 18px; bottom: 14px;
  font-size: .62rem; letter-spacing: .08em; color: rgba(245,243,237,.48); text-transform: uppercase;
}
.intro-band { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line-dark); }
.intro-grid {
  display: grid; grid-template-columns: .65fr 2fr; gap: 70px;
  padding-top: 64px; padding-bottom: 72px; align-items: start;
}
.kicker {
  margin: 6px 0 0; text-transform: uppercase; font-size: .72rem;
  letter-spacing: .15em; color: #6c6259; font-weight: 700;
}
.logline {
  margin: 0; max-width: 900px; font-family: Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2.65rem); line-height: 1.22; letter-spacing: -.02em;
}
.section { padding: 110px 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section-paper { background: var(--paper); color: var(--ink); }
.split { display: grid; grid-template-columns: .7fr 2.25fr; gap: 80px; }
.section-label { border-top: 1px solid var(--line); padding-top: 18px; align-self: start; position: sticky; top: 105px; }
.section-label span { color: var(--ember-bright); font-size: .72rem; letter-spacing: .14em; }
.section-label p { margin: 5px 0 0; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; }
.section-copy { max-width: 850px; }
.section-copy > p { color: rgba(245,243,237,.73); font-size: 1.06rem; }
.section-copy .lede {
  color: var(--white); font-family: Georgia, serif; font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.18; letter-spacing: -.02em; margin-top: 0;
}
blockquote {
  margin: 55px 0 0; padding: 26px 0 0 32px; border-left: 2px solid var(--ember);
}
blockquote p { font-family: Georgia, serif; font-size: 1.7rem; margin: 0; line-height: 1.35; }
blockquote cite { display: block; margin-top: 12px; color: rgba(245,243,237,.55); font-size: .78rem; font-style: normal; }
.photo-break { position: relative; min-height: 72vh; overflow: hidden; background: #000; }
.photo-break > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.07);
}
.photo-break::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(6,7,8,.90) 0%, rgba(6,7,8,.45) 45%, rgba(6,7,8,.16) 100%);
}
.photo-overlay { position: relative; z-index: 2; min-height: 72vh; display: grid; align-items: center; }
.photo-overlay h2 {
  font-family: Georgia, serif; font-weight: 400; font-size: clamp(3rem, 7vw, 6.5rem);
  letter-spacing: -.04em; margin: 0 0 18px;
}
.photo-overlay p:last-child { max-width: 640px; font-size: 1.08rem; color: rgba(245,243,237,.78); }
.section-heading { max-width: 810px; margin-bottom: 65px; }
.section-heading h2, .writer-grid h2, .industry-cta h2, .credits-main h1 {
  font-family: Georgia, serif; font-weight: 400; font-size: clamp(3rem, 6vw, 5.6rem);
  letter-spacing: -.04em; line-height: .95; margin: 0;
}
.heading-copy { max-width: 720px; font-size: 1.1rem; color: #514e48; }
.inverse .heading-copy { color: rgba(245,243,237,.68); }
.fact-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.fact-card { background: var(--paper); padding: 32px 26px 34px; min-height: 280px; }
.fact-number {
  display: block; font-family: Georgia, serif; font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1; color: var(--ember); margin-bottom: 40px;
}
.fact-card h3 { margin: 0 0 10px; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.fact-card p { margin: 0; color: #5b5750; font-size: .93rem; }
.source-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 65px; background: var(--line-dark); }
.source-pair article { background: var(--paper); padding: 38px 38px 42px; }
.source-pair h3 { font-family: Georgia, serif; font-size: 2rem; font-weight: 400; margin: 0 0 12px; }
.source-pair p:last-child { color: #55514b; }
.history-note { margin-top: 45px; border-top: 1px solid var(--line-dark); padding-top: 24px; color: #57534e; font-size: .9rem; }
.character-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.character { background: var(--ink); padding: 38px; min-height: 285px; }
.character .role { color: var(--ember-bright); font-size: .65rem; letter-spacing: .15em; font-weight: 700; }
.character h3 { font-family: Georgia, serif; font-weight: 400; font-size: 2.35rem; margin: 20px 0 14px; }
.character p { margin: 0; max-width: 510px; color: rgba(245,243,237,.66); }
.section-research {
  background: #171819; color: var(--white);
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 48px 48px;
}
.research-list { margin-top: 45px; border-top: 1px solid var(--line); }
.research-list > div { display: grid; grid-template-columns: 60px 1fr; gap: 18px; border-bottom: 1px solid var(--line); padding: 22px 0; }
.research-list span { color: var(--ember-bright); font-size: .72rem; }
.research-list p { margin: 0; color: rgba(245,243,237,.72); }
.research-end { margin-top: 40px !important; color: var(--white) !important; font-family: Georgia, serif; font-size: 1.45rem !important; }
.writer-grid { display: grid; grid-template-columns: .8fr 1.8fr; gap: 80px; }
.writer-copy { max-width: 720px; font-size: 1.08rem; color: #4d4943; }
.writer-copy p:first-child { margin-top: 0; }
.industry-cta { padding: 75px 0; background: #1d2020; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.industry-cta-inner { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.industry-cta h2 { font-size: clamp(2.6rem, 5vw, 4.7rem); }
.industry-cta p:last-child { margin-bottom: 0; color: rgba(245,243,237,.65); }
.site-footer { background: #070809; padding: 48px 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr .8fr 1.3fr; gap: 40px; }
.footer-grid strong { letter-spacing: .1em; font-size: .78rem; }
.footer-grid p { color: rgba(245,243,237,.48); font-size: .75rem; margin: 7px 0 0; }
.footer-grid > div:nth-child(2) { display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: rgba(245,243,237,.68); font-size: .78rem; }
.footer-small { text-align: right; }

/* Industry */
.industry-page, .credits-page { background: var(--paper); color: var(--ink); }
.industry-page .site-header, .credits-page .site-header { position: relative; background: var(--ink); border-bottom: 1px solid var(--line); }
.industry-main { padding: 88px 0 0; }
.industry-hero h1 {
  margin: 0; font-family: Georgia, serif; font-size: clamp(4rem, 9vw, 8rem); line-height: .88; letter-spacing: -.055em; font-weight: 400;
}
.industry-logline { font-family: Georgia, serif; font-size: clamp(1.45rem, 2.8vw, 2.25rem); line-height: 1.28; max-width: 950px; margin: 45px 0; }
.industry-meta { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.industry-meta div { padding: 20px 18px 20px 0; }
.industry-meta span { display: block; color: #6f685e; text-transform: uppercase; font-size: .62rem; letter-spacing: .14em; margin-bottom: 4px; }
.industry-meta strong { font-size: .88rem; }
.industry-panel { margin-top: 65px; display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.industry-card { background: #f2efe7; padding: 38px; min-height: 350px; }
.industry-card h2 { font-family: Georgia, serif; font-weight: 400; font-size: 2.25rem; margin: 0 0 14px; }
.industry-card p, .industry-card li { color: #59554f; }
.industry-card ul { padding-left: 18px; }
.industry-card .button { margin-top: 18px; }
.text-link { display: inline-block; margin-top: 20px; color: #6f3d1f; font-weight: 700; }
.primary-card { background: #ded7c9; }
.evaluation-card { background: #e7e1d6; }
.industry-contact { padding: 65px 0 90px; text-align: center; }
.industry-contact p { color: #5a554e; }
.industry-contact a { font-family: Georgia, serif; font-size: clamp(1.5rem, 3vw, 2.5rem); color: var(--ink); }
.industry-page .site-footer { color: var(--white); }

/* Credits */
.credits-main { padding: 80px 0 100px; max-width: 900px; }
.credits-main > p:nth-of-type(2) { font-size: 1.15rem; color: #58534c; max-width: 760px; }
.credit-entry { border-top: 1px solid var(--line-dark); padding: 28px 0; }
.credit-entry h2 { font-family: Georgia, serif; font-weight: 400; font-size: 1.65rem; margin: 0 0 8px; }
.credit-entry p { color: #5d5850; }
.credit-note { border-top: 1px solid var(--line-dark); padding-top: 24px; font-size: .9rem !important; }

/* Responsive */
@media (max-width: 900px) {
  :root { --shell: min(100% - 30px, 1180px); }
  .menu-toggle { display: block; }
  .primary-nav {
    display: none; position: absolute; top: 68px; left: 15px; right: 15px;
    flex-direction: column; align-items: stretch; background: rgba(8,9,10,.98);
    border: 1px solid var(--line); padding: 14px;
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 10px 8px; }
  .industry-nav { display: flex; position: static; flex-direction: row; border: 0; padding: 0; background: transparent; }
  .intro-grid, .split, .writer-grid { grid-template-columns: 1fr; gap: 38px; }
  .section-label { position: static; }
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .source-pair, .character-grid { grid-template-columns: 1fr; }
  .industry-panel { grid-template-columns: 1fr; }
  .industry-meta { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-small { text-align: left; }
  .industry-cta-inner { align-items: start; flex-direction: column; }
}
@media (max-width: 560px) {
  .nav-wrap { min-height: 66px; }
  .wordmark { font-size: .68rem; }
  .hero-content { padding-bottom: 14vh; }
  .hero h1 { font-size: clamp(3.5rem, 18vw, 5.4rem); }
  .hero-caption { display: none; }
  .section { padding: 78px 0; }
  .intro-grid { padding-top: 45px; padding-bottom: 50px; gap: 24px; }
  .fact-grid { grid-template-columns: 1fr; }
  .fact-card { min-height: 220px; }
  .source-pair { margin-top: 35px; }
  .character { padding: 28px; min-height: auto; }
  .industry-meta { grid-template-columns: 1fr; }
  .industry-card { min-height: auto; }
  .photo-break, .photo-overlay { min-height: 62vh; }
}
