/* =========================================================
   Sell.co.jp - site.css
   売ることは、信頼をつくること。
   Premium editorial sales literacy site
   ========================================================= */

:root {
  --ink: #111111;
  --ink-soft: #2b2b2b;
  --muted: #6f6a61;
  --paper: #f7f3ea;
  --paper-soft: #fffaf0;
  --white: #ffffff;
  --black: #050505;
  --gold: #b58a3a;
  --gold-soft: #d8bd79;
  --red: #8f1f1b;
  --line: rgba(17, 17, 17, 0.14);
  --line-strong: rgba(17, 17, 17, 0.26);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.08);
  --radius: 22px;
  --radius-small: 14px;
  --max: 1180px;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", "Times New Roman", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =========================================================
   Base
   ========================================================= */

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(181, 138, 58, 0.14), transparent 32rem),
    linear-gradient(180deg, #faf6ec 0%, #f4efe4 48%, #eee6d7 100%);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

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

p {
  margin: 0 0 1.25rem;
}

strong,
b {
  color: var(--ink);
  font-weight: 800;
}

::selection {
  background: rgba(181, 138, 58, 0.3);
}

/* =========================================================
   Layout Helpers
   ========================================================= */

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

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-tight {
  padding: clamp(2.8rem, 5vw, 4.5rem) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--red);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

.kicker {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.55vw, 1.32rem);
  line-height: 2;
}

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

.center {
  text-align: center;
}

.max-narrow {
  max-width: 820px;
}

.max-reading {
  max-width: 900px;
}

/* =========================================================
   Header / Navigation
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 234, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 36px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.logo .site-name {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.logo .site-tagline {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.nav-links a {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--white);
  background: var(--black);
  transform: translateY(-1px);
}

.nav-links .accent {
  color: var(--white);
  background: var(--red);
}

.nav-links .accent:hover {
  background: var(--black);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  min-height: clamp(680px, 88vh, 920px);
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background: var(--black);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.68) 38%, rgba(0, 0, 0, 0.22) 72%, rgba(0, 0, 0, 0.38) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.72) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(247, 243, 234, 0.98));
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(5.5rem, 9vw, 9rem) 0 clamp(6rem, 10vw, 9rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-card {
  max-width: 760px;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.48);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero h1 {
  margin: 0 0 1.3rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6.5vw, 6.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.hero .subtitle {
  max-width: 680px;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 2;
}

.hero .hero-note {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

/* =========================================================
   Buttons
   ========================================================= */

.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.25rem;
  border: 1px solid var(--black);
  border-radius: 999px;
  color: var(--white);
  background: var(--black);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover,
.btn:hover {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(143, 31, 27, 0.24);
}

.button.light,
.btn.light {
  color: var(--black);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
}

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

.button.ghost,
.btn.ghost {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

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

/* =========================================================
   Editorial Intro
   ========================================================= */

.intro {
  position: relative;
  z-index: 4;
  margin-top: -4rem;
}

.intro-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255, 250, 240, 0.96);
  box-shadow: var(--shadow);
}

.intro h2,
.section-title {
  margin: 0 0 1.2rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 4.1rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.intro-text {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  line-height: 2.05;
}

.principle-box {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-left: 5px solid var(--red);
  border-radius: var(--radius-small);
  background:
    linear-gradient(135deg, rgba(181, 138, 58, 0.12), rgba(255, 255, 255, 0.72));
}

.principle-box p {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.28rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.8;
}

/* =========================================================
   Cards / Grids
   ========================================================= */

.grid {
  display: grid;
  gap: 1.35rem;
}

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

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

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

.card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.9);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(143, 31, 27, 0.3);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.14);
}

.card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ddd4c2;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.55s ease;
}

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

.card-body {
  padding: clamp(1.25rem, 2.5vw, 1.8rem);
}

.card h3 {
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 900;
  line-height: 1.35;
}

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

.card .meta {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* =========================================================
   Feature Cards with Dark Overlay
   ========================================================= */

.feature-card {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--black);
  box-shadow: var(--shadow-soft);
}

.feature-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.84)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), transparent);
}

.feature-content {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  color: var(--white);
}

.feature-content h3 {
  margin: 0 0 0.7rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  line-height: 1.2;
}

.feature-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

/* =========================================================
   Philosophy / Quote Blocks
   ========================================================= */

.philosophy {
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.98), rgba(42, 32, 22, 0.98)),
    radial-gradient(circle at 20% 10%, rgba(181, 138, 58, 0.24), transparent 24rem);
  color: var(--white);
}

.philosophy .section-title,
.philosophy h2,
.philosophy h3 {
  color: var(--white);
}

.philosophy p {
  color: rgba(255, 255, 255, 0.82);
}

.quote {
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.quote p {
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3.3vw, 3rem);
  font-weight: 800;
  line-height: 1.65;
  text-wrap: balance;
}

.quote cite {
  display: block;
  margin-top: 1.5rem;
  color: var(--gold-soft);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* =========================================================
   Article / Long Form
   ========================================================= */

.article-hero {
  position: relative;
  min-height: clamp(520px, 70vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.article-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
}

.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.82)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.2));
}

.article-hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.article-hero h1 {
  max-width: 850px;
  margin: 0 0 1rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  font-weight: 900;
  line-height: 1.1;
}

.article-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 2;
}

.article {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.article h2 {
  margin: 3.2rem 0 1.2rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.25;
}

.article h3 {
  margin: 2.4rem 0 1rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 2.05rem);
  line-height: 1.35;
}

.article p,
.article li {
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
  line-height: 2.05;
}

.article a {
  color: var(--red);
  font-weight: 800;
  border-bottom: 1px solid rgba(143, 31, 27, 0.32);
}

.article blockquote {
  margin: 3rem 0;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-left: 6px solid var(--gold);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
}

.article blockquote p {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 800;
}

.article ul,
.article ol {
  padding-left: 1.4rem;
}

/* =========================================================
   Trust / Rules Lists
   ========================================================= */

.rule-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.rule-list li {
  position: relative;
  padding: 1rem 1rem 1rem 3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink-soft);
  font-weight: 700;
}

.rule-list li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  top: 0.92rem;
  width: 1.45rem;
  height: 1.45rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  font-size: 0.8rem;
  font-weight: 900;
}

/* =========================================================
   Image Bands
   ========================================================= */

.image-band {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

.image-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
}

.image-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.22)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.58));
}

.image-band-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  color: var(--white);
}

.image-band-content h2 {
  max-width: 760px;
  margin: 0 0 1rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 1.15;
}

.image-band-content p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.55vw, 1.25rem);
  line-height: 2;
}

/* =========================================================
   Gallery
   ========================================================= */

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

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-small);
  background: #d9cfbf;
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem;
  color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
  font-size: 0.85rem;
  font-weight: 800;
}

/* =========================================================
   Tables / Directory Blocks
   ========================================================= */

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

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

.info-table th {
  width: 28%;
  color: var(--ink);
  background: rgba(181, 138, 58, 0.12);
  font-weight: 900;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

/* =========================================================
   CTA
   ========================================================= */

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem);
  border-radius: calc(var(--radius) + 10px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(5, 5, 5, 0.96), rgba(60, 34, 24, 0.94)),
    radial-gradient(circle at top right, rgba(181, 138, 58, 0.35), transparent 28rem);
  box-shadow: var(--shadow);
}

.cta h2 {
  max-width: 820px;
  margin: 0 0 1rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.18;
}

.cta p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 2;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  padding: 4rem 0 2rem;
  color: rgba(255, 255, 255, 0.78);
  background: var(--black);
}

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

.site-footer h2,
.site-footer h3 {
  margin: 0 0 1rem;
  color: var(--white);
  font-family: var(--serif);
}

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

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  width: min(var(--max), calc(100% - 40px));
  margin: 2.5rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

/* =========================================================
   Utility Backgrounds
   ========================================================= */

.bg-paper {
  background: var(--paper);
}

.bg-white {
  background: rgba(255, 255, 255, 0.74);
}

.bg-dark {
  color: var(--white);
  background: var(--black);
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark p {
  color: var(--white);
}

.border-top {
  border-top: 1px solid var(--line);
}

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

/* =========================================================
   Accessibility
   ========================================================= */

:focus-visible {
  outline: 3px solid rgba(143, 31, 27, 0.65);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--red);
  border-radius: 999px;
}

.skip-link:focus {
  left: 1rem;
}

/* =========================================================
   Responsive
   ========================================================= */

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

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

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

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

  .hero-card {
    max-width: 100%;
  }
}

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

  .container,
  .wrap,
  .hero-content,
  .image-band-content,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    position: relative;
  }

  .nav-links a {
    padding: 0.55rem 0.7rem;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 760px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.55) 42%, rgba(0, 0, 0, 0.82) 100%);
  }

  .hero-content {
    padding-top: 3.5rem;
    padding-bottom: 5rem;
    justify-content: flex-end;
  }

  .hero-card {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.58);
  }

  .hero h1 {
    font-size: clamp(2.45rem, 14vw, 4rem);
  }

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

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

  .intro {
    margin-top: -2.5rem;
  }

  .intro-panel {
    padding: 1.35rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .card-body {
    padding: 1.15rem;
  }

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

  .article {
    width: min(100% - 28px, 860px);
  }

  .article-hero-content {
    width: min(100% - 28px, 980px);
  }

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

  .info-table,
  .info-table tbody,
  .info-table tr,
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    border-bottom: 0;
  }

  .info-table td {
    padding-top: 0.2rem;
  }
}

@media (max-width: 420px) {
  .nav-links {
    gap: 0.25rem;
  }

  .nav-links a {
    font-size: 0.72rem;
  }

  .hero {
    min-height: 700px;
  }

  .hero-card {
    border-radius: 18px;
  }

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

/* =========================================================
   Print
   ========================================================= */

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

  body {
    color: #000;
    background: #fff;
  }

  .hero,
  .article-hero,
  .image-band {
    min-height: auto;
    color: #000;
    background: #fff;
  }

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

  .hero-image,
  .article-hero img,
  .image-band img {
    display: none;
  }

  .hero h1,
  .hero .subtitle,
  .article-hero h1,
  .article-hero p,
  .image-band-content h2,
  .image-band-content p {
    color: #000;
  }

  .card,
  .intro-panel,
  .cta,
  .quote {
    box-shadow: none;
  }
}

/* Fix light cards inside dark philosophy sections */
.philosophy .card {
  background: rgba(255, 250, 240, 0.96);
  border-color: rgba(255, 255, 255, 0.18);
}

.philosophy .card h3 {
  color: var(--ink);
}

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

.philosophy .card .meta {
  color: var(--red);
}
