/* =========================================================
   Sushi.co.jp — site.css
   Premium Japanese editorial magazine style
   ========================================================= */

/* -----------------------------
   1. Reset / Base
----------------------------- */

:root {
  --ink: #171313;
  --ink-soft: #403636;
  --muted: #6f6262;
  --paper: #fffaf3;
  --paper-warm: #f7efe4;
  --paper-deep: #efe2d0;
  --white: #ffffff;

  --sumi: #111111;
  --nori: #1f2b24;
  --rice: #fffdfa;
  --wasabi: #8a9b68;
  --shoyu: #3a2118;
  --akami: #a73832;
  --gold: #b9975b;
  --line: rgba(23, 19, 19, 0.14);
  --line-strong: rgba(23, 19, 19, 0.24);

  --shadow-soft: 0 18px 45px rgba(20, 15, 12, 0.12);
  --shadow-card: 0 12px 30px rgba(20, 15, 12, 0.10);
  --shadow-dark: 0 24px 70px rgba(0, 0, 0, 0.38);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --container: 1180px;
  --container-narrow: 850px;

  --font-serif: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", "Times New Roman", serif;
  --font-sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(185, 151, 91, 0.16), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(167, 56, 50, 0.08), transparent 36rem),
    linear-gradient(180deg, var(--paper) 0%, #fffdf8 46%, var(--paper-warm) 100%);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--akami);
}

p {
  margin: 0 0 1.15em;
}

ul,
ol {
  margin: 0;
  padding-left: 1.35em;
}

li {
  margin: 0.25em 0;
}

strong {
  font-weight: 800;
}

::selection {
  background: rgba(167, 56, 50, 0.22);
}

/* -----------------------------
   2. Utility
----------------------------- */

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

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

.section {
  padding: clamp(56px, 7vw, 104px) 0;
  position: relative;
}

.section-tight {
  padding: clamp(36px, 5vw, 72px) 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.18;
  letter-spacing: 0.06em;
  margin: 0 0 22px;
  color: var(--ink);
}

.section-kicker,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--akami);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.section-kicker::before,
.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

.lead {
  font-family: var(--font-serif);
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
  line-height: 2.05;
  color: var(--ink-soft);
  letter-spacing: 0.045em;
}

.muted {
  color: var(--muted);
}

.center {
  text-align: center;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 800;
}

.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.25;
  box-shadow: 0 12px 24px rgba(23, 19, 19, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.btn:hover {
  transform: translateY(-2px);
  color: var(--white);
  background: var(--akami);
  border-color: var(--akami);
  box-shadow: 0 16px 30px rgba(167, 56, 50, 0.22);
}

.button.secondary,
.btn.secondary {
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}

.button.secondary:hover,
.btn.secondary:hover {
  background: var(--white);
  color: var(--akami);
  border-color: rgba(167, 56, 50, 0.38);
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.82rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.hr {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  border: 0;
  margin: clamp(36px, 5vw, 70px) 0;
}

/* -----------------------------
   3. Site Header / Navigation
----------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 243, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(23, 19, 19, 0.08);
}

.navbar,
.site-nav {
  width: min(calc(100% - 36px), var(--container));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo,
.site-logo,
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.72rem);
  font-weight: 800;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 48%, var(--white) 0 30%, transparent 31%),
    radial-gradient(circle, var(--akami) 0 58%, var(--shoyu) 59% 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45), 0 10px 20px rgba(23, 19, 19, 0.12);
}

.nav-links,
.menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a,
.menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.48rem 0.82rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover,
.menu a:hover,
.nav-links a[aria-current="page"],
.menu a[aria-current="page"] {
  background: rgba(167, 56, 50, 0.09);
  color: var(--akami);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  min-height: 42px;
  padding: 0 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

/* -----------------------------
   4. Hero
----------------------------- */

.hero {
  position: relative;
  min-height: clamp(620px, 82vh, 860px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--sumi);
  color: var(--white);
  isolation: isolate;
}

.hero.hero-small {
  min-height: clamp(420px, 56vh, 620px);
}

.hero-image,
.hero-bg,
.hero picture,
.hero img.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
}

.hero-image img,
.hero-bg img,
.hero picture img,
.hero img.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.56) 36%, rgba(0, 0, 0, 0.18) 72%, rgba(0, 0, 0, 0.38) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.08) 42%, rgba(0, 0, 0, 0.66) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  z-index: -1;
  background: linear-gradient(0deg, rgba(255, 250, 243, 0.98), transparent);
  pointer-events: none;
}

.hero-content,
.hero-inner {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
  padding: 96px 0 118px;
}

.hero-copy {
  max-width: 760px;
}

.hero-kicker {
  color: #f2d397;
  font-weight: 900;
  letter-spacing: 0.22em;
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  margin: 0 0 18px;
  text-transform: uppercase;
}

.hero h1,
.hero-title {
  margin: 0;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7.4vw, 7.6rem);
  line-height: 1.04;
  letter-spacing: 0.075em;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.58);
}

.hero-subtitle,
.hero .lead,
.hero p {
  max-width: 720px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--font-serif);
  font-size: clamp(1.08rem, 2vw, 1.55rem);
  line-height: 2.05;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.58);
}

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

.hero .button,
.hero .btn {
  background: var(--white);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.86);
}

.hero .button:hover,
.hero .btn:hover {
  background: var(--akami);
  border-color: var(--akami);
  color: var(--white);
}

.hero .button.secondary,
.hero .btn.secondary {
  background: rgba(0, 0, 0, 0.24);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(10px);
}

.hero .button.secondary:hover,
.hero .btn.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

/* Universal hero readability rescue */
.hero-text,
.hero-panel,
.hero-card,
.intro-panel,
.readable-panel {
  background: rgba(17, 17, 17, 0.62);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 46px);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(12px);
}

.hero-text h1,
.hero-text h2,
.hero-text h3,
.hero-panel h1,
.hero-panel h2,
.hero-panel h3,
.hero-card h1,
.hero-card h2,
.hero-card h3,
.intro-panel h1,
.intro-panel h2,
.intro-panel h3,
.readable-panel h1,
.readable-panel h2,
.readable-panel h3 {
  color: var(--white);
}

.hero-text p,
.hero-panel p,
.hero-card p,
.intro-panel p,
.readable-panel p {
  color: rgba(255, 255, 255, 0.93);
}

/* -----------------------------
   5. Editorial Intro
----------------------------- */

.editorial-intro {
  position: relative;
  margin-top: -74px;
  z-index: 5;
}

.editorial-box {
  width: min(calc(100% - 40px), 1040px);
  margin-inline: auto;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid rgba(185, 151, 91, 0.25);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 64px);
  box-shadow: var(--shadow-soft);
}

.editorial-box h2 {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.6vw, 4rem);
  line-height: 1.24;
  letter-spacing: 0.06em;
}

.editorial-box p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--ink-soft);
}

/* -----------------------------
   6. Grids / Cards
----------------------------- */

.grid {
  display: grid;
  gap: clamp(18px, 3vw, 32px);
}

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

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

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

.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 56, 50, 0.22);
  box-shadow: 0 18px 42px rgba(20, 15, 12, 0.15);
}

.card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-deep);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.card:hover .card-image img {
  transform: scale(1.045);
}

.card-content {
  padding: clamp(20px, 3vw, 30px);
}

.card h2,
.card h3 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(1.28rem, 2vw, 1.75rem);
  line-height: 1.35;
  letter-spacing: 0.055em;
}

.card p {
  color: var(--ink-soft);
  margin: 0;
}

.card .meta {
  margin-bottom: 10px;
}

.feature-card {
  min-height: 460px;
  display: grid;
  align-items: end;
  color: var(--white);
  background: var(--sumi);
}

.feature-card .card-image {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  z-index: 0;
}

.feature-card .card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.78)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.54), transparent);
}

.feature-card .card-content {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 4vw, 42px);
}

.feature-card h2,
.feature-card h3,
.feature-card p {
  color: var(--white);
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.58);
}

/* -----------------------------
   7. Homepage Feature Blocks
----------------------------- */

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.split-feature.reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.split-feature.reverse .split-image {
  order: 2;
}

.split-image {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  background: var(--paper-deep);
}

.split-image img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.split-copy h2 {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.6vw, 5rem);
  line-height: 1.14;
  letter-spacing: 0.065em;
}

.split-copy p {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.highlight-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(31, 43, 36, 0.97), rgba(58, 33, 24, 0.96)),
    var(--nori);
  color: var(--white);
}

.highlight-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(185, 151, 91, 0.22), transparent 36rem),
    radial-gradient(circle at bottom right, rgba(167, 56, 50, 0.22), transparent 34rem);
  pointer-events: none;
}

.highlight-band .container,
.highlight-band .container-narrow {
  position: relative;
}

.highlight-band h2,
.highlight-band h3,
.highlight-band p {
  color: var(--white);
}

.highlight-band .lead {
  color: rgba(255, 255, 255, 0.88);
}

/* -----------------------------
   8. Article Pages
----------------------------- */

.article-header {
  padding: clamp(70px, 10vw, 140px) 0 clamp(36px, 6vw, 70px);
  text-align: center;
}

.article-header .kicker {
  justify-content: center;
}

.article-header .kicker::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

.article-title {
  max-width: 980px;
  margin: 0 auto 24px;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 6rem);
  line-height: 1.08;
  letter-spacing: 0.065em;
}

.article-subtitle {
  max-width: 760px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
  line-height: 2.05;
}

.article-hero-image {
  width: min(calc(100% - 40px), 1280px);
  margin: 0 auto clamp(42px, 7vw, 90px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--paper-deep);
}

.article-hero-image img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
}

.article-body {
  width: min(calc(100% - 40px), var(--container-narrow));
  margin-inline: auto;
  padding-bottom: clamp(70px, 10vw, 140px);
}

.article-body h2 {
  margin: clamp(42px, 7vw, 78px) 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.4vw, 3.3rem);
  line-height: 1.24;
  letter-spacing: 0.065em;
}

.article-body h3 {
  margin: clamp(32px, 5vw, 56px) 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.3vw, 2.2rem);
  line-height: 1.35;
  letter-spacing: 0.055em;
}

.article-body p {
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  line-height: 2.12;
}

.article-body blockquote {
  margin: clamp(34px, 6vw, 70px) 0;
  padding: clamp(24px, 4vw, 44px);
  border-left: 4px solid var(--akami);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-card);
  font-family: var(--font-serif);
  font-size: clamp(1.22rem, 2vw, 1.72rem);
  line-height: 1.9;
  color: var(--ink);
}

.article-body figure {
  margin: clamp(34px, 6vw, 70px) 0;
}

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

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

.article-meta,
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.09em;
}

/* -----------------------------
   9. Sushi Guide / Terms
----------------------------- */

.term-list,
.guide-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.term-item,
.guide-item {
  display: grid;
  gap: 8px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 8px 22px rgba(20, 15, 12, 0.06);
}

.term-item strong,
.guide-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.term-item span,
.guide-item span {
  color: var(--ink-soft);
}

.price-note,
.notice-box {
  padding: clamp(20px, 4vw, 34px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(167, 56, 50, 0.22);
  background: rgba(167, 56, 50, 0.06);
  color: var(--ink-soft);
}

/* -----------------------------
   10. Places / Restaurant Info
----------------------------- */

.place-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);
  padding: clamp(22px, 3.5vw, 36px);
  box-shadow: var(--shadow-card);
}

.place-card h2,
.place-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  letter-spacing: 0.06em;
  line-height: 1.32;
}

.place-details {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.place-details a {
  color: var(--akami);
  overflow-wrap: anywhere;
  font-weight: 700;
}

.place-details a:hover {
  text-decoration: underline;
}

/* -----------------------------
   11. Gallery
----------------------------- */

.gallery-hero {
  padding: clamp(72px, 10vw, 130px) 0 clamp(30px, 5vw, 60px);
  text-align: center;
}

.gallery-grid {
  width: min(calc(100% - 28px), 1340px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(10px, 1.8vw, 20px);
  padding-bottom: clamp(70px, 10vw, 130px);
}

.gallery-item {
  grid-column: span 4;
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border-radius: var(--radius-lg);
  background: var(--paper-deep);
  box-shadow: var(--shadow-card);
  cursor: zoom-in;
}

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

.gallery-item.tall {
  grid-row: span 2;
  min-height: 540px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
}

.gallery-item:hover img {
  transform: scale(1.045);
  filter: saturate(1.06);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 46px 18px 16px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.88);
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: min(94vw, 1400px);
  max-height: 86vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 205;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* -----------------------------
   12. Forms / Contact
----------------------------- */

.form-card {
  width: min(calc(100% - 40px), 760px);
  margin-inline: auto;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  padding: 0.82rem 0.92rem;
  font: inherit;
  letter-spacing: 0.02em;
}

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

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(167, 56, 50, 0.16);
  border-color: rgba(167, 56, 50, 0.45);
}

/* -----------------------------
   13. Sitemap
----------------------------- */

.sitemap-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 30px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.sitemap-section {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-card);
}

.sitemap-section h2,
.sitemap-section h3 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
}

.sitemap-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-section a {
  display: block;
  padding: 0.38rem 0;
  color: var(--ink-soft);
  border-bottom: 1px solid rgba(23, 19, 19, 0.06);
}

.sitemap-section a:hover {
  color: var(--akami);
}

/* -----------------------------
   14. Footer
----------------------------- */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 8vw, 96px) 0 34px;
  color: rgba(255, 255, 255, 0.86);
  background:
    radial-gradient(circle at top left, rgba(185, 151, 91, 0.18), transparent 34rem),
    linear-gradient(135deg, #111111, #231611 58%, #151b17);
}

.footer-grid {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: clamp(28px, 5vw, 70px);
}

.footer-brand {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: clamp(1.6rem, 2.8vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: 0.08em;
  margin: 0 0 18px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
  font-family: var(--font-serif);
  letter-spacing: 0.07em;
  margin: 0 0 14px;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
}

.footer-links a:hover {
  color: #f2d397;
}

.footer-bottom {
  width: min(calc(100% - 40px), var(--container));
  margin: clamp(36px, 6vw, 70px) auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
}

/* -----------------------------
   15. Universal Readability Fixes
----------------------------- */

.dark-section,
.bg-dark,
.bg-image-section,
.image-section,
.overlay-section {
  position: relative;
  color: var(--white);
  background-color: var(--sumi);
  overflow: hidden;
}

.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section p,
.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark p,
.bg-image-section h1,
.bg-image-section h2,
.bg-image-section h3,
.bg-image-section p,
.image-section h1,
.image-section h2,
.image-section h3,
.image-section p,
.overlay-section h1,
.overlay-section h2,
.overlay-section h3,
.overlay-section p {
  color: inherit;
}

.bg-image-section::before,
.image-section::before,
.overlay-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.32)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.62));
  pointer-events: none;
}

.bg-image-section > *,
.image-section > *,
.overlay-section > * {
  position: relative;
  z-index: 1;
}

.text-on-image,
.caption-on-image,
.copy-on-image {
  color: var(--white);
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.72);
}

.text-on-image p,
.caption-on-image p,
.copy-on-image p {
  color: rgba(255, 255, 255, 0.92);
}

/* Any card sitting on a background image gets a readable surface */
.bg-image-section .card,
.image-section .card,
.overlay-section .card,
.dark-section .card {
  background: rgba(255, 253, 248, 0.94);
  color: var(--ink);
}

.bg-image-section .card p,
.image-section .card p,
.overlay-section .card p,
.dark-section .card p {
  color: var(--ink-soft);
}

/* -----------------------------
   16. Responsive
----------------------------- */

@media (max-width: 980px) {
  .navbar,
  .site-nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links,
  .menu {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-links a,
  .menu a {
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(23, 19, 19, 0.08);
  }

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

  .split-feature,
  .split-feature.reverse {
    grid-template-columns: 1fr;
  }

  .split-feature.reverse .split-image {
    order: 0;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

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

@media (max-width: 720px) {
  body {
    font-size: 15px;
    line-height: 1.85;
  }

  .container,
  .container-narrow,
  .hero-content,
  .hero-inner,
  .editorial-box,
  .article-body,
  .form-card {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    position: relative;
  }

  .navbar,
  .site-nav {
    width: min(calc(100% - 28px), var(--container));
  }

  .logo,
  .site-logo,
  .brand {
    font-size: 1.2rem;
    white-space: normal;
  }

  .nav-links,
  .menu {
    gap: 7px;
  }

  .nav-links a,
  .menu a {
    min-height: 36px;
    padding: 0.42rem 0.68rem;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 620px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.70) 0%, rgba(0, 0, 0, 0.38) 42%, rgba(0, 0, 0, 0.76) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.30));
  }

  .hero-content,
  .hero-inner {
    padding: 82px 0 104px;
  }

  .hero h1,
  .hero-title {
    font-size: clamp(2.55rem, 13vw, 4.2rem);
    line-height: 1.08;
  }

  .hero-subtitle,
  .hero .lead,
  .hero p {
    font-size: 1.05rem;
    line-height: 1.95;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .btn {
    width: 100%;
  }

  .editorial-intro {
    margin-top: -46px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 380px;
  }

  .split-image img {
    min-height: 300px;
  }

  .article-header {
    text-align: left;
  }

  .article-header .kicker {
    justify-content: flex-start;
  }

  .article-header .kicker::after {
    display: none;
  }

  .article-title {
    font-size: clamp(2.2rem, 13vw, 4.2rem);
  }

  .article-body p {
    line-height: 2;
  }

  .gallery-grid {
    width: min(calc(100% - 20px), 1340px);
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
    min-height: 280px;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 22px;
    transform: none;
  }

  .lightbox-prev {
    left: calc(50% - 58px);
  }

  .lightbox-next {
    right: calc(50% - 58px);
  }

  .sitemap-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 430px) {
  .section {
    padding: 48px 0;
  }

  .hero {
    min-height: 580px;
  }

  .hero h1,
  .hero-title {
    letter-spacing: 0.045em;
  }

  .section-title {
    font-size: 2rem;
  }

  .card-content,
  .feature-card .card-content {
    padding: 20px;
  }

  .hero-text,
  .hero-panel,
  .hero-card,
  .intro-panel,
  .readable-panel {
    padding: 22px;
    border-radius: 22px;
  }
}

/* -----------------------------
   17. Print
----------------------------- */

@media print {
  .site-header,
  .site-footer,
  .hero-actions,
  .button,
  .btn,
  .lightbox {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  .hero {
    min-height: auto;
    color: #000000;
    background: #ffffff;
  }

  .hero::before,
  .hero::after,
  .hero-image,
  .hero-bg {
    display: none;
  }

  .hero h1,
  .hero-title,
  .hero p,
  .hero-subtitle {
    color: #000000;
    text-shadow: none;
  }

  .card,
  .editorial-box,
  .article-hero-image {
    box-shadow: none;
  }
}
