/* =========================================================
   WashingtonDC.co.jp
   site.css
   Editorial identity: formal, civic, museum-like, Japanese-readable
   ========================================================= */

/* ---------- Root Tokens ---------- */

:root {
  --ink: #152033;
  --ink-soft: #334155;
  --ink-muted: #64748b;

  --paper: #f7f2e8;
  --paper-soft: #fbf7ef;
  --paper-warm: #efe4d2;

  --white: #ffffff;
  --marble: #f8fafc;
  --marble-line: #e2e8f0;

  --federal-blue: #183b6b;
  --federal-blue-deep: #0d2447;
  --federal-blue-soft: #dce8f7;

  --brass: #b98936;
  --brass-deep: #7c551d;
  --cherry: #d99aaa;
  --potomac: #6f8799;

  --night: #08111f;
  --shadow: 0 24px 70px rgba(8, 17, 31, 0.18);
  --shadow-soft: 0 14px 38px rgba(8, 17, 31, 0.11);

  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;

  --max: 1180px;
  --reading: 820px;

  --font-ja: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho",
    "Noto Serif JP", "Hiragino Sans", "Yu Gothic", serif;
  --font-sans: "Hiragino Sans", "Yu Gothic", "Noto Sans JP",
    system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- Reset ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(217, 154, 170, 0.16), transparent 34rem),
    radial-gradient(circle at top right, rgba(24, 59, 107, 0.12), transparent 34rem),
    linear-gradient(180deg, var(--paper-soft), var(--paper));
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 0.025em;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--brass-deep);
}

p {
  margin: 0 0 1.15em;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.035em;
}

h1,
h2 {
  font-family: var(--font-ja);
}

h3,
h4,
nav,
.kicker,
.button,
.meta,
.badge {
  font-family: var(--font-sans);
}

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

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

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

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

.section {
  padding: 76px 0;
}

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

.kicker {
  margin: 0 0 12px;
  color: var(--brass-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 2;
}

.meta {
  color: var(--ink-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(185, 137, 54, 0.42);
  border-radius: 999px;
  padding: 7px 13px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--brass-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(185, 137, 54, 0.52);
  border-radius: 999px;
  padding: 10px 20px;
  background: var(--federal-blue);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(24, 59, 107, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover,
.btn:hover {
  transform: translateY(-2px);
  background: var(--federal-blue-deep);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(24, 59, 107, 0.28);
}

.button.secondary,
.btn.secondary {
  background: rgba(255, 255, 255, 0.86);
  color: var(--federal-blue-deep);
  box-shadow: none;
}

.button.secondary:hover,
.btn.secondary:hover {
  background: var(--white);
  color: var(--brass-deep);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(226, 232, 240, 0.82);
  background: rgba(8, 17, 31, 0.9);
  color: var(--white);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  width: min(calc(100% - 36px), var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px 0;
}

.site-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--white);
  text-decoration: none;
}

.site-brand strong {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-brand span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px 10px;
  max-width: 790px;
}

.site-nav a {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 7px 11px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: rgba(217, 154, 170, 0.65);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

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

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--night);
  color: var(--white);
}

.hero.hero-compact {
  min-height: 54vh;
}

.hero-image,
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 17, 31, 0.9), rgba(8, 17, 31, 0.58) 46%, rgba(8, 17, 31, 0.25)),
    linear-gradient(0deg, rgba(8, 17, 31, 0.92), rgba(8, 17, 31, 0.12) 52%, rgba(8, 17, 31, 0.4));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 26%, rgba(217, 154, 170, 0.18), transparent 20rem),
    radial-gradient(circle at 70% 12%, rgba(185, 137, 54, 0.16), transparent 24rem);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
  padding: 132px 0 82px;
}

.hero .kicker {
  color: #f3d9a6;
}

.hero h1 {
  max-width: 880px;
  font-size: clamp(2.15rem, 5.6vw, 5.45rem);
  line-height: 1.13;
  letter-spacing: 0.04em;
  text-wrap: balance;
  text-shadow: 0 5px 28px rgba(0, 0, 0, 0.46);
}

.hero p {
  max-width: 760px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 1.45vw, 1.28rem);
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ---------- Intro Panels ---------- */

.intro-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 34px;
  align-items: start;
}

.intro-panel {
  border: 1px solid rgba(185, 137, 54, 0.25);
  border-radius: var(--radius-xl);
  padding: clamp(26px, 4vw, 48px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.64)),
    var(--paper-soft);
  box-shadow: var(--shadow-soft);
}

.intro-panel h2 {
  margin-bottom: 18px;
  color: var(--federal-blue-deep);
  font-size: clamp(1.65rem, 3vw, 3rem);
}

.intro-note {
  border-left: 4px solid var(--brass);
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-soft);
}

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

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

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

.card {
  overflow: hidden;
  border: 1px solid rgba(24, 59, 107, 0.13);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--federal-blue-soft);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.card-body {
  padding: 24px;
}

.card h3 {
  margin-bottom: 10px;
  color: var(--federal-blue-deep);
  font-size: 1.2rem;
  line-height: 1.55;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.85;
}

.card .meta {
  margin-top: 14px;
}

/* ---------- Feature / Magazine Layout ---------- */

.feature-band {
  background:
    linear-gradient(180deg, rgba(24, 59, 107, 0.08), rgba(255, 255, 255, 0)),
    var(--paper-warm);
}

.feature-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 36px;
  align-items: center;
}

.feature-image {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.feature-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.feature-copy h2 {
  margin-bottom: 18px;
  color: var(--federal-blue-deep);
  font-size: clamp(1.8rem, 3.4vw, 3.3rem);
}

.feature-copy p {
  color: var(--ink-soft);
}

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

.article-header {
  padding: 86px 0 42px;
  background:
    linear-gradient(180deg, rgba(24, 59, 107, 0.12), transparent),
    var(--paper-soft);
}

.article-header .reading {
  border-bottom: 1px solid rgba(24, 59, 107, 0.13);
  padding-bottom: 34px;
}

.article-header h1 {
  color: var(--federal-blue-deep);
  font-size: clamp(2rem, 4vw, 4.25rem);
  text-wrap: balance;
}

.article-header .lead {
  margin-top: 20px;
}

.article-hero-img {
  width: min(calc(100% - 40px), var(--max));
  margin: 36px auto 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

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

.article-body {
  padding: 58px 0 86px;
}

.article-body h2 {
  margin: 2.2em 0 0.8em;
  color: var(--federal-blue-deep);
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
}

.article-body h3 {
  margin: 2em 0 0.65em;
  color: var(--brass-deep);
  font-size: 1.24rem;
}

.article-body p {
  font-size: 1.04rem;
  line-height: 2.05;
}

.article-body ul,
.article-body ol {
  padding-left: 1.35em;
  line-height: 2;
}

.article-body li {
  margin-bottom: 0.5em;
}

.pullquote {
  margin: 48px 0;
  border-top: 1px solid rgba(185, 137, 54, 0.42);
  border-bottom: 1px solid rgba(185, 137, 54, 0.42);
  padding: 30px 0;
  color: var(--federal-blue-deep);
  font-size: clamp(1.35rem, 2.5vw, 2.1rem);
  line-height: 1.65;
}

.article-note {
  margin: 34px 0;
  border-radius: var(--radius-lg);
  padding: 24px;
  background: rgba(24, 59, 107, 0.07);
  color: var(--ink-soft);
}

/* ---------- Real Places / Directory ---------- */

.place-list {
  display: grid;
  gap: 18px;
}

.place {
  border: 1px solid rgba(24, 59, 107, 0.13);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 28px rgba(8, 17, 31, 0.06);
}

.place h3 {
  margin-bottom: 6px;
  color: var(--federal-blue-deep);
  font-size: 1.12rem;
}

.place p {
  margin-bottom: 0.5em;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.place a {
  color: var(--federal-blue);
  font-family: var(--font-sans);
  font-weight: 700;
}

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

.gallery-hero {
  padding: 74px 0 36px;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--marble);
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

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

.gallery-caption {
  padding: 13px 15px 15px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* Optional lightbox support */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(8, 17, 31, 0.92);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(96vw, 1300px);
  max-height: 86vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.lightbox button {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
}

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

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* ---------- Tables ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(24, 59, 107, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 0.92rem;
}

th,
td {
  border-bottom: 1px solid rgba(24, 59, 107, 0.1);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

th {
  background: rgba(24, 59, 107, 0.08);
  color: var(--federal-blue-deep);
  font-weight: 800;
}

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

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

.site-footer {
  margin-top: 40px;
  background:
    radial-gradient(circle at 20% 0%, rgba(217, 154, 170, 0.12), transparent 24rem),
    linear-gradient(180deg, var(--federal-blue-deep), var(--night));
  color: rgba(255, 255, 255, 0.82);
}

.footer-inner {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
  padding: 58px 0;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 36px;
}

.footer-brand strong {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.footer-brand p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-decoration: none;
}

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

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  text-align: center;
}

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

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(24, 59, 107, 0.18);
  border-radius: 14px;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--federal-blue-deep);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 800;
}

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

/* ---------- Sitemap ---------- */

.sitemap-list {
  columns: 2;
  column-gap: 42px;
  margin: 0;
  padding-left: 1.2em;
}

.sitemap-list li {
  break-inside: avoid;
  margin-bottom: 0.72em;
}

/* ---------- Responsive ---------- */

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

  .site-nav {
    justify-content: flex-start;
    max-width: 100%;
  }

  .intro-grid,
  .feature-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .feature-image img {
    aspect-ratio: 16 / 10;
  }
}

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

  .container,
  .reading,
  .hero-content,
  .article-hero-img,
  .footer-inner {
    width: min(calc(100% - 26px), var(--max));
  }

  .section {
    padding: 54px 0;
  }

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

  .site-header {
    position: relative;
  }

  .header-inner {
    padding: 13px 0 15px;
  }

  .site-brand strong {
    font-size: 0.95rem;
  }

  .site-brand span {
    font-size: 0.68rem;
  }

  .site-nav {
    gap: 6px;
  }

  .site-nav a {
    padding: 6px 9px;
    font-size: 0.72rem;
  }

  .hero {
    min-height: 72vh;
  }

  .hero.hero-compact {
    min-height: 46vh;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(8, 17, 31, 0.9), rgba(8, 17, 31, 0.66)),
      linear-gradient(0deg, rgba(8, 17, 31, 0.93), rgba(8, 17, 31, 0.2));
  }

  .hero-content {
    padding: 96px 0 58px;
  }

  .hero h1 {
    font-size: clamp(2rem, 12vw, 3.25rem);
  }

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

  .intro-panel {
    padding: 24px;
    border-radius: 22px;
  }

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

  .card-body {
    padding: 21px;
  }

  .article-header {
    padding: 54px 0 28px;
  }

  .article-body {
    padding: 38px 0 60px;
  }

  .article-body p {
    font-size: 1rem;
  }

  .pullquote {
    margin: 34px 0;
    padding: 24px 0;
  }

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

  .sitemap-list {
    columns: 1;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 42px;
    height: 42px;
  }
}

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

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

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  .hero {
    min-height: auto;
    color: #000;
    background: #fff;
  }

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

  .hero-content {
    padding: 0;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .card,
  .intro-panel,
  .place {
    box-shadow: none;
    border-color: #ccc;
  }
}
