@font-face { font-family: 'Barlow'; src: url('fonts/barlow-400.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('fonts/barlow-500.woff2') format('woff2'); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('fonts/barlow-600.woff2') format('woff2'); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('fonts/barlow-700.woff2') format('woff2'); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('fonts/barlow-condensed-700.woff2') format('woff2'); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('fonts/barlow-condensed-900.woff2') format('woff2'); font-style: normal; font-weight: 900; font-display: swap; }

:root {
  --paper: #f4f0e8;
  --paper-bright: #fffdf8;
  --ink: #0a0a0c;
  --red: #d8122f;
  --rule: rgba(10, 10, 12, 0.22);
  --muted: #5b5752;
  --display: 'Barlow Condensed', sans-serif;
  --body: 'Barlow', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 20; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E"); }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--red); color: white; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--ink); border: 3px solid var(--paper); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; transform: translateY(-160%); background: var(--paper); color: var(--ink); padding: 12px 16px; font-weight: 700; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }

.masthead {
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 0 4vw;
  border-bottom: 1px solid var(--ink);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 700;
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; text-decoration: none; font-family: var(--display); font-size: 21px; letter-spacing: -.01em; text-transform: lowercase; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
nav { display: flex; gap: 34px; }
nav a { padding-block: 8px; text-decoration: none; border-bottom: 1px solid transparent; }
nav a:hover { border-color: var(--red); }

.hero { position: relative; isolation: isolate; min-height: calc(100svh - 76px); display: grid; border-bottom: 1px solid var(--ink); background: var(--ink) url('seagodz-bombsite.webp') center / cover no-repeat; }
.hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(10,10,12,.93) 0%, rgba(10,10,12,.72) 45%, rgba(10,10,12,.18) 78%); }
.hero-copy { width: min(100%, 940px); min-height: calc(100svh - 76px); padding: clamp(60px, 7vw, 108px) 5vw 64px; display: flex; flex-direction: column; align-items: flex-start; color: var(--paper); text-shadow: 0 2px 20px rgba(0,0,0,.45); }
.dateline { margin: 0 0 34px; color: #d6d0c7; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1, h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; }
h1 { margin: 0; max-width: 760px; font-size: clamp(72px, 7.7vw, 96px); line-height: .8; letter-spacing: -.035em; }
.hero-intro { max-width: 560px; margin: 40px 0 30px; font-size: clamp(18px, 1.4vw, 22px); line-height: 1.5; color: #d6d0c7; }
.primary-link { margin-top: auto; display: inline-flex; align-items: center; gap: 26px; background: var(--paper); color: var(--ink); padding: 17px 20px; text-decoration: none; text-shadow: none; text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: .1em; transition: background-color 180ms ease-out, color 180ms ease-out; }
.primary-link span { color: var(--red); font-size: 20px; line-height: 0; }
.primary-link:hover { background: var(--red); color: white; }
.primary-link:hover span { color: white; }

h2 { margin: 0; font-size: clamp(58px, 6.5vw, 88px); line-height: .86; letter-spacing: -.025em; }

.members { display: grid; grid-template-columns: .72fr 1.28fr; gap: 7vw; padding: 120px 5vw 132px; border-bottom: 1px solid var(--ink); background-image: repeating-linear-gradient(0deg, transparent 0, transparent 31px, rgba(10,10,12,.035) 31px, rgba(10,10,12,.035) 32px); }
.members-copy { align-self: start; position: sticky; top: 36px; }
.members-copy p { max-width: 32ch; margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.5; }
.member-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 42px; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.member-list li { min-width: 0; min-height: 78px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--rule); }
.member-number { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.member-list strong { min-width: 0; overflow-wrap: anywhere; font-family: var(--display); font-size: clamp(30px, 2.9vw, 46px); font-weight: 900; line-height: .9; letter-spacing: -.025em; }
.member-list em { color: var(--red); font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.about { position: relative; overflow: hidden; min-height: 720px; display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: var(--paper); }
.about::after { content: 'SGDZ'; position: absolute; right: -1vw; bottom: -6vw; color: rgba(216,18,47,.1); font-family: var(--display); font-size: clamp(190px, 24vw, 380px); font-weight: 900; line-height: .7; letter-spacing: -.06em; pointer-events: none; }
.about-visual { position: relative; min-height: 720px; overflow: hidden; border-right: 1px solid rgba(244,240,232,.2); background: #171315; }
.about-visual::after { content: ''; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(0deg, rgba(10,10,12,.95), transparent); pointer-events: none; }
.about-operatives { position: absolute; left: 50%; bottom: -8%; width: min(104%, 700px); height: 116%; object-fit: contain; transform: translateX(-50%); filter: contrast(1.04) saturate(.9); }
.about-emblem { position: absolute; z-index: 1; left: 36px; bottom: 30px; width: 92px; filter: drop-shadow(0 16px 28px rgba(0,0,0,.5)); }
.about-copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 8vw; }
.about-copy > p { max-width: 56ch; margin: 38px 0 0; color: #c3bdb4; font-size: 20px; line-height: 1.5; }
.about-copy .replacement-note { padding-top: 24px; border-top: 1px solid rgba(244,240,232,.25); color: #969088; font-size: 13px; }

footer { min-height: 120px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 24px 4vw; background: var(--paper); border-top: 1px solid var(--ink); font-size: 12px; }
footer p { margin: 0; text-align: center; color: var(--muted); }
footer > a:last-child { justify-self: end; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; text-underline-offset: 5px; }

@media (max-width: 980px) {
  .members { grid-template-columns: 1fr; gap: 54px; }
  .members-copy { position: static; }
  .about { grid-template-columns: 1fr 1.2fr; }
}

@media (max-width: 680px) {
  .masthead { height: 58px; padding-inline: 18px; }
  .brand { font-size: 18px; }
  .brand img { width: 30px; height: 30px; }
  nav { font-size: 10px; }
  .hero { min-height: calc(100svh - 58px); background-position: 58% center; }
  .hero-copy { width: 100%; min-height: calc(100svh - 58px); padding: 40px 20px 24px; }
  .dateline { margin-bottom: 18px; font-size: 9px; }
  h1 { font-size: clamp(58px, 20vw, 76px); }
  h2 { font-size: clamp(54px, 18vw, 78px); }
  .hero-intro { margin: 18px 0 14px; font-size: 15px; line-height: 1.35; }
  .primary-link { width: 100%; min-height: 42px; justify-content: space-between; padding-block: 11px; }
  .hero::before { background: rgba(10,10,12,.76); }
  .members { padding: 84px 20px 92px; gap: 42px; }
  .members-copy p { font-size: 16px; }
  .member-list { grid-template-columns: 1fr; }
  .member-list li { min-height: 64px; }
  .member-list strong { font-size: 36px; }
  .about { grid-template-columns: 1fr; }
  .about::after { bottom: 4vw; font-size: 64vw; }
  .about-visual { min-height: 520px; border-right: 0; border-bottom: 1px solid rgba(244,240,232,.2); }
  .about-operatives { bottom: -4%; width: min(118%, 620px); height: 110%; }
  .about-emblem { left: 20px; bottom: 20px; width: 72px; }
  .about-copy { padding: 78px 20px 90px; }
  .about-copy > p { font-size: 18px; }
  footer { grid-template-columns: 1fr; justify-items: start; padding: 34px 20px; }
  footer p { text-align: left; }
  footer > a:last-child { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
