/* =========================================================
   CLASSIFIED.co.jp — site.css
   A Japanese magazine of spycraft, codebreaking & declassified history
   ========================================================= */

/* ------------------------------
   Root Theme
------------------------------ */

:root {
  --black: #070707;
  --black-2: #0d0d0d;
  --black-3: #151515;
  --charcoal: #1b1b1b;
  --charcoal-2: #252525;
  --paper: #f3ead7;
  --paper-2: #e6d9bd;
  --paper-3: #c9b990;
  --ink: #17130d;
  --muted: #a9a092;
  --muted-2: #756d61;
  --red: #9d1f18;
  --red-2: #c22b22;
  --gold: #b49a5a;
  --line: rgba(243, 234, 215, 0.14);
  --line-dark: rgba(0, 0, 0, 0.18);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  --soft-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  --max: 1180px;
  --radius: 22px;
  --radius-sm: 12px;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", "Times New Roman", serif;
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Courier New", "SFMono-Regular", Consolas, monospace;
}

/* ------------------------------
   Base
------------------------------ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(157, 31, 24, 0.16), transparent 32rem),
    radial-gradient(circle at 80% 10%, rgba(180, 154, 90, 0.08), transparent 28rem),
    linear-gradient(180deg, #050505 0%, #0b0b0b 45%, #111 100%);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 78%);
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.018) 0px,
      rgba(255,255,255,0.018) 1px,
      transparent 1px,
      transparent 4px
    );
  opacity: 0.28;
  mix-blend-mode: screen;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--paper-2);
}

img {
  max-width: 100%;
  display: block;
}

p {
  margin: 0 0 1.25rem;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.03em;
}

main,
header,
footer,
section,
nav {
  position: relative;
  z-index: 1;
}

::selection {
  background: var(--red);
  color: white;
}

/* ------------------------------
   Layout Helpers
------------------------------ */

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(860px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 86px 0;
}

.section-tight {
  padding: 54px 0;
}

.grid {
  display: grid;
  gap: 24px;
}

.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ------------------------------
   Header / Navigation
------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(1320px, calc(100% - 34px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--paper);
}

.logo-mark {
  width: 38px;
  height: 38px;
  border: 2px solid var(--red);
  display: grid;
  place-items: center;
  color: var(--red-2);
  font-weight: 900;
  transform: rotate(-7deg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.logo strong {
  font-weight: 900;
}

.logo span {
  display: block;
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  margin-top: -3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  padding: 9px 11px;
  border-radius: 999px;
  color: var(--paper-2);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(157, 31, 24, 0.18);
  color: white;
}

/* ------------------------------
   Hero
------------------------------ */

.hero {
  min-height: 78vh;
  display: grid;
  align-items: end;
  padding: 92px 0 78px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(0,0,0,0.92), rgba(0,0,0,0.56), rgba(0,0,0,0.9)),
    var(--hero-image, url("/images/classified-home-hero-redacted-files-typewriter-dark-archive.jpg"));
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "CLASSIFIED";
  position: absolute;
  right: min(8vw, 110px);
  top: 120px;
  transform: rotate(-9deg);
  font-family: var(--mono);
  font-size: clamp(2.6rem, 7vw, 7.2rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(194, 43, 34, 0.55);
  opacity: 0.7;
}

.hero-content {
  width: min(980px, calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--gold);
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.eyebrow::before {
  content: "";
  width: 46px;
  height: 1px;
  background: var(--red);
}

.hero h1 {
  max-width: 880px;
  font-size: clamp(3.2rem, 9vw, 8.4rem);
  color: var(--paper);
  letter-spacing: 0.015em;
  line-height: 0.98;
  text-shadow: 0 12px 40px rgba(0,0,0,0.8);
}

.hero .lead {
  max-width: 760px;
  margin-top: 28px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--paper-2);
  line-height: 2;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

/* ------------------------------
   Buttons
------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--paper);
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: var(--soft-shadow);
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.08);
  color: white;
}

.btn-primary {
  background: var(--red);
  border-color: rgba(255,255,255,0.1);
  color: white;
}

.btn-primary:hover {
  background: var(--red-2);
}

.btn-paper {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.btn-paper:hover {
  color: var(--ink);
  background: white;
}

/* ------------------------------
   Intro / Editorial Blocks
------------------------------ */

.intro {
  padding: 72px 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), transparent),
    var(--black-2);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: start;
}

.kicker {
  color: var(--red-2);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.display-title {
  font-size: clamp(2rem, 4vw, 4.7rem);
}

.editorial-text {
  color: var(--paper-2);
  font-size: 1.04rem;
  line-height: 2.05;
}

.archive-note {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
  position: relative;
  overflow: hidden;
}

.archive-note::before {
  content: "DECLASSIFIED";
  position: absolute;
  right: 22px;
  top: 22px;
  transform: rotate(-11deg);
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 900;
  color: rgba(157, 31, 24, 0.2);
  border: 3px solid rgba(157, 31, 24, 0.25);
  padding: 4px 10px;
}

.archive-note h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.archive-note p {
  color: #3b3025;
}

/* ------------------------------
   Cards
------------------------------ */

.card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--soft-shadow);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(243, 234, 215, 0.28);
}

.card-img {
  aspect-ratio: 16 / 10;
  background: var(--charcoal);
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.06);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.card:hover .card-img img {
  transform: scale(1.04);
  filter: grayscale(0%) contrast(1.08);
}

.card-body {
  padding: 24px;
}

.card-meta {
  color: var(--gold);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  margin-bottom: 9px;
}

.card h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.card-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--paper);
  font-weight: 800;
}

.card-link::after {
  content: " →";
  color: var(--red-2);
}

/* ------------------------------
   Feature Article Cards
------------------------------ */

.feature-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  min-height: 360px;
}

.feature-card .card-img {
  aspect-ratio: auto;
  height: 100%;
}

.feature-card .card-body {
  padding: clamp(26px, 4vw, 46px);
  align-self: center;
}

.feature-card h3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

/* ------------------------------
   Redaction Effects
------------------------------ */

.redacted {
  display: inline;
  padding: 0 0.35em;
  background: #000;
  color: transparent;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-radius: 2px;
}

.redaction-line {
  height: 12px;
  width: 100%;
  background: #050505;
  border-radius: 2px;
  margin: 8px 0;
}

.redaction-line.short {
  width: 56%;
}

.redaction-line.medium {
  width: 78%;
}

/* ------------------------------
   File / Dossier Layout
------------------------------ */

.dossier {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(26px, 4vw, 46px);
  position: relative;
  overflow: hidden;
}

.dossier::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(rgba(0,0,0,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.35;
}

.dossier > * {
  position: relative;
  z-index: 1;
}

.dossier-label {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 12px;
  border: 2px solid var(--red);
  color: var(--red);
  font-family: var(--mono);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.dossier h2 {
  color: var(--ink);
}

.dossier p {
  color: #382f24;
}

.file-grid {
  display: grid;
  gap: 18px;
}

.file-card {
  position: relative;
  background: rgba(243, 234, 215, 0.95);
  color: var(--ink);
  border-radius: 14px;
  padding: 22px;
  border-left: 7px solid var(--red);
  box-shadow: 0 16px 36px rgba(0,0,0,0.22);
}

.file-card::after {
  content: "FILE";
  position: absolute;
  top: 14px;
  right: 18px;
  color: rgba(157, 31, 24, 0.18);
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 900;
}

.file-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.file-card p {
  color: #3a3128;
}

.file-number {
  display: block;
  font-family: var(--mono);
  color: var(--red);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

/* ------------------------------
   Timeline
------------------------------ */

.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(var(--red), var(--gold), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 34px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 8px;
  width: 11px;
  height: 11px;
  background: var(--red);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(157,31,24,0.18);
}

.timeline-date {
  color: var(--gold);
  font-family: var(--mono);
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.timeline-item h3 {
  margin-top: 5px;
  font-size: 1.4rem;
}

.timeline-item p {
  color: var(--muted);
}

/* ------------------------------
   Article Pages
------------------------------ */

.article-hero {
  padding: 96px 0 56px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(157,31,24,0.12), transparent),
    var(--black-2);
}

.article-header {
  width: min(940px, calc(100% - 40px));
  margin-inline: auto;
}

.article-header h1 {
  font-size: clamp(2.4rem, 6vw, 5.8rem);
}

.article-deck {
  margin-top: 24px;
  color: var(--paper-2);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 2;
}

.article-meta {
  margin-top: 24px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-main {
  padding: 64px 0;
}

.article-body {
  width: min(820px, calc(100% - 40px));
  margin-inline: auto;
  color: var(--paper-2);
  font-size: 1.06rem;
  line-height: 2.15;
}

.article-body h2 {
  color: var(--paper);
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin: 3.5rem 0 1.2rem;
}

.article-body h3 {
  color: var(--paper);
  font-size: 1.55rem;
  margin: 2.5rem 0 1rem;
}

.article-body p {
  margin-bottom: 1.45rem;
}

.article-body a {
  color: var(--paper);
  border-bottom: 1px solid var(--red);
}

.article-body blockquote {
  margin: 2.4rem 0;
  padding: 26px 30px;
  border-left: 5px solid var(--red);
  background: rgba(255,255,255,0.045);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.85;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-body figure {
  margin: 2.6rem 0;
}

.article-body figure img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-body figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

/* ------------------------------
   Pull Quote / Typewriter
------------------------------ */

.pullquote {
  margin: 54px auto;
  width: min(980px, calc(100% - 40px));
  padding: clamp(28px, 5vw, 54px);
  background: #0a0a0a;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.pullquote::before {
  content: "“";
  position: absolute;
  left: 18px;
  top: -18px;
  font-family: var(--serif);
  font-size: 8rem;
  color: rgba(157,31,24,0.25);
}

.pullquote p {
  position: relative;
  z-index: 1;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2.7rem);
  line-height: 1.55;
  margin: 0;
}

.typewriter {
  font-family: var(--mono);
  background: rgba(243,234,215,0.08);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  color: var(--paper-2);
  white-space: pre-wrap;
}

/* ------------------------------
   Museum / Place Cards
------------------------------ */

.place-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--soft-shadow);
}

.place-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.place-card-body {
  padding: 24px;
}

.place-card h3 {
  color: var(--ink);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.place-card p {
  color: #493e31;
}

.place-info {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.14);
  color: #2e261d;
  font-size: 0.92rem;
}

.place-info strong {
  color: var(--red);
}

/* ------------------------------
   Archive Table
------------------------------ */

.archive-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
}

.archive-table th,
.archive-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.archive-table th {
  color: var(--gold);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  background: rgba(255,255,255,0.035);
}

.archive-table td {
  color: var(--paper-2);
}

.archive-table tr:last-child td {
  border-bottom: 0;
}

/* ------------------------------
   CTA
------------------------------ */

.cta {
  padding: 84px 0;
  background:
    linear-gradient(135deg, rgba(157,31,24,0.32), rgba(0,0,0,0.92)),
    url("/images/classified-files-redacted-documents-closeup.jpg");
  background-size: cover;
  background-position: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-box {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
}

.cta h2 {
  font-size: clamp(2rem, 5vw, 5rem);
}

.cta p {
  margin: 22px auto 0;
  max-width: 720px;
  color: var(--paper-2);
  font-size: 1.1rem;
}

/* ------------------------------
   Footer
------------------------------ */

.site-footer {
  padding: 58px 0 42px;
  background: #050505;
  border-top: 1px solid var(--line);
}

.footer-grid {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 36px;
}

.footer-title {
  font-family: var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  font-weight: 900;
  margin-bottom: 14px;
}

.site-footer p,
.site-footer li {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: var(--paper-2);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  width: min(var(--max), calc(100% - 40px));
  margin: 36px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ------------------------------
   Utility Badges
------------------------------ */

.stamp {
  display: inline-block;
  padding: 5px 10px;
  border: 2px solid currentColor;
  color: var(--red-2);
  font-family: var(--mono);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.055);
  border: 1px solid var(--line);
  color: var(--paper-2);
  font-size: 0.78rem;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ------------------------------
   Forms / Contact
------------------------------ */

.contact-box {
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 44px);
}

.form-grid {
  display: grid;
  gap: 16px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.35);
  color: var(--paper);
  border-radius: 12px;
  padding: 14px 15px;
  font: inherit;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(194,43,34,0.55);
  border-color: rgba(194,43,34,0.65);
}

/* ------------------------------
   Gallery
------------------------------ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.gallery-item {
  grid-column: span 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--charcoal);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}

.gallery-item.wide {
  grid-column: span 8;
}

.gallery-item.tall img {
  aspect-ratio: 4 / 5;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-caption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ------------------------------
   Mobile
------------------------------ */

@media (max-width: 980px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .intro-grid,
  .two,
  .three,
  .four,
  .feature-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-card .card-img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .gallery-item,
  .gallery-item.wide {
    grid-column: span 6;
  }

  .hero {
    min-height: 72vh;
  }

  .hero::before {
    top: 95px;
    right: 20px;
    font-size: clamp(2.2rem, 14vw, 5rem);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .wrap,
  .narrow,
  .hero-content,
  .article-header,
  .article-body,
  .pullquote,
  .cta-box {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 58px 0;
  }

  .section-tight {
    padding: 38px 0;
  }

  .hero {
    padding: 74px 0 54px;
    min-height: 70vh;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 16vw, 5rem);
  }

  .hero .lead {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .main-nav a {
    font-size: 0.76rem;
    padding: 7px 9px;
  }

  .display-title {
    font-size: 2.1rem;
  }

  .card-body,
  .place-card-body {
    padding: 20px;
  }

  .archive-table,
  .archive-table thead,
  .archive-table tbody,
  .archive-table th,
  .archive-table td,
  .archive-table tr {
    display: block;
  }

  .archive-table thead {
    display: none;
  }

  .archive-table tr {
    border-bottom: 1px solid var(--line);
  }

  .archive-table td {
    border-bottom: 0;
    padding: 10px 16px;
  }

  .archive-table td::before {
    content: attr(data-label);
    display: block;
    color: var(--gold);
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2px;
  }

  .gallery-item,
  .gallery-item.wide {
    grid-column: span 12;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* ------------------------------
   Print
------------------------------ */

@media print {
  body {
    background: white;
    color: black;
  }

  .site-header,
  .site-footer,
  .hero-actions,
  .cta {
    display: none;
  }

  a {
    color: black;
    text-decoration: underline;
  }

  .article-body,
  .narrow,
  .wrap {
    width: 100%;
  }
}
