:root {
  --bg: #f3efe7;
  --paper: #fffdf8;
  --panel: #ffffff;
  --ink: #172033;
  --muted: #5e6576;
  --border: rgba(23, 32, 51, 0.12);
  --accent: #9c4f2a;
  --accent-strong: #7a2f10;
  --accent-soft: #f4dfd1;
  --navy: #0d1b2a;
  --navy-soft: #13304b;
  --gold: #d5b067;
  --shadow: 0 18px 40px rgba(13, 27, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(213, 176, 103, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(156, 79, 42, 0.1), transparent 24%),
    linear-gradient(180deg, #f8f4ee 0%, #f3efe7 42%, #f8f5ef 100%);
  font-family: "Georgia", "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  line-height: 1.7;
}

a {
  color: var(--navy-soft);
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
}

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(255, 253, 248, 0.88);
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.08), rgba(156, 79, 42, 0.12));
  padding: 8px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  gap: 2px;
}

.brand__text strong {
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

.brand__text span {
  font-size: 0.78rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.site-nav__link,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  transition: 0.2s ease;
  font-size: 0.95rem;
}

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

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--navy);
  background: rgba(13, 27, 42, 0.08);
}

.header-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: 0 12px 24px rgba(122, 47, 16, 0.2);
}

.header-cta:hover {
  color: #fff7f2;
  transform: translateY(-1px);
}

.page-shell {
  padding: 28px 0 72px;
}

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: var(--shadow);
  background:
    linear-gradient(135deg, rgba(13, 27, 42, 0.96), rgba(19, 48, 75, 0.92)),
    var(--navy);
  color: #fff;
  margin-bottom: 28px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -28% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213, 176, 103, 0.35), transparent 64%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.9fr);
  gap: 28px;
  align-items: center;
  padding: 48px;
}

.hero__compact {
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
}

.hero__eyebrow,
.section__eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fbe6d7;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-title {
  margin: 16px 0 12px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

.hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero__media {
  border-radius: 28px;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.hero__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 0.96rem;
  transition: 0.2s ease;
}

.button {
  background: linear-gradient(135deg, var(--gold), #e8c98f);
  color: var(--navy);
}

.button:hover {
  color: var(--navy-soft);
  transform: translateY(-1px);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.secondary-button:hover {
  color: #fff7f2;
  background: rgba(255, 255, 255, 0.16);
}

.meta-strip,
.section,
.topic-grid,
.content-grid,
.article-grid,
.policy-grid,
.contact-grid {
  margin-bottom: 24px;
}

.meta-strip,
.card,
.section,
.content-card,
.policy-card,
.contact-card,
.keyword-card {
  border-radius: 28px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.meta-strip {
  padding: 20px 22px;
}

.meta-strip ul,
.footer-contact,
.footer-links,
.fact-list,
.plain-list,
.chip-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.meta-strip ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.meta-strip li {
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(13, 27, 42, 0.04);
  color: var(--muted);
}

.meta-strip strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

.topic-grid,
.content-grid,
.article-grid,
.policy-grid,
.contact-grid {
  display: grid;
  gap: 20px;
}

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

.content-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
}

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

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

.section,
.card,
.content-card,
.policy-card,
.contact-card,
.keyword-card {
  padding: 28px;
}

.card h2,
.content-card h2,
.policy-card h2,
.contact-card h2,
.keyword-card h2,
.section-title {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
}

.lede {
  font-size: 1.06rem;
  color: var(--muted);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.chip-list li {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(156, 79, 42, 0.08);
  color: var(--accent-strong);
  font-size: 0.9rem;
}

.fact-list li,
.plain-list li,
.footer-links li,
.footer-contact li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
}

.fact-list li:last-child,
.plain-list li:last-child,
.footer-links li:last-child,
.footer-contact li:last-child {
  border-bottom: 0;
}

.card p,
.content-card p,
.policy-card p,
.contact-card p,
.keyword-card p,
.section p,
.section li {
  color: var(--muted);
}

.section--accent {
  background:
    linear-gradient(135deg, rgba(156, 79, 42, 0.08), rgba(13, 27, 42, 0.04)),
    rgba(255, 255, 255, 0.82);
}

.callout {
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 18px;
  background: rgba(156, 79, 42, 0.08);
  color: var(--ink);
}

.split-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 20px;
  align-items: stretch;
}

.split-card__media {
  border-radius: 22px;
  overflow: hidden;
  min-height: 100%;
}

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

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

.keyword-card h3,
.topic-card h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}

.topic-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.topic-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-card__meta span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(13, 27, 42, 0.06);
  color: var(--navy-soft);
  font-size: 0.84rem;
}

.topic-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-strong);
}

.section-title {
  margin-top: 0;
}

.section__eyebrow {
  background: rgba(13, 27, 42, 0.06);
  color: var(--navy-soft);
}

.footer-note {
  padding: 0 0 20px;
}

.footer-note__inner {
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.footer-note__inner p {
  margin: 0;
  color: var(--muted);
}

.footer-note__inner p + p {
  margin-top: 10px;
}

.site-footer {
  padding: 18px 0 36px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 20px;
  padding: 30px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 241, 232, 0.94));
  box-shadow: var(--shadow);
}

.site-footer h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.15rem;
}

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

.site-footer__bottom {
  padding-top: 18px;
  text-align: center;
  color: var(--muted);
}

.footer-meta {
  margin-top: 16px;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  width: min(720px, calc(100% - 36px));
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(13, 27, 42, 0.14);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(13, 27, 42, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: 0.2s ease;
}

.cookie-banner.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-banner__media img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.cookie-banner__content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cookie-banner__content p + p {
  margin-top: 8px;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.cookie-banner__actions button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font: inherit;
}

#cookieAcceptBtn {
  background: var(--navy);
  color: #fff;
}

#cookieRejectBtn {
  background: rgba(13, 27, 42, 0.08);
  color: var(--ink);
}

.error-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 0;
}

.error-card {
  width: min(760px, calc(100% - 32px));
  padding: 34px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.error-card h1 {
  margin: 10px 0 14px;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.error-card .hero__eyebrow {
  background: rgba(13, 27, 42, 0.06);
  color: var(--navy-soft);
}

.error-card .secondary-button {
  background: rgba(13, 27, 42, 0.08);
  color: var(--ink);
  border: 1px solid rgba(13, 27, 42, 0.12);
}

.error-card .secondary-button:hover {
  color: var(--navy);
  background: rgba(13, 27, 42, 0.12);
}

@media (max-width: 960px) {
  .site-header__inner,
  .hero__grid,
  .content-grid,
  .split-card,
  .site-footer__grid,
  .cookie-banner,
  .policy-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .site-header__inner {
    display: grid;
    justify-items: stretch;
  }

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

  .meta-strip ul,
  .topic-grid,
  .article-grid,
  .keyword-grid {
    grid-template-columns: 1fr;
  }

  .hero__grid,
  .section,
  .card,
  .content-card,
  .policy-card,
  .contact-card,
  .keyword-card,
  .site-footer__grid {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .page-shell {
    padding-top: 22px;
    padding-bottom: 56px;
  }

  .brand {
    align-items: flex-start;
  }

  .brand__mark {
    width: 46px;
    height: 46px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }
}
