:root {
  --bg: #f7f4ee;
  --bg-soft: #fbf8f3;
  --paper: #fffdf9;
  --ink: #1f2f39;
  --ink-soft: #4f6472;
  --muted: #728695;
  --line: rgba(31, 47, 57, 0.12);
  --line-strong: rgba(31, 47, 57, 0.22);
  --accent: #35586b;
  --accent-2: #8d5a3d;
  --accent-3: #7f8f73;
  --hero-overlay: linear-gradient(
    180deg,
    rgba(14, 24, 30, 0.12) 0%,
    rgba(14, 24, 30, 0.28) 38%,
    rgba(14, 24, 30, 0.62) 100%
  );
  --shadow-soft: 0 18px 40px rgba(20, 34, 42, 0.08);
  --shadow-card: 0 20px 50px rgba(20, 34, 42, 0.1);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
  --maxw: 1240px;
  --reading: 760px;
  --nav-h: 78px;
  --serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: var(--sans);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease, border-color 0.25s ease;
}

a:hover,
a:focus {
  color: #213947;
}

p,
li {
  font-size: 1rem;
  color: var(--ink-soft);
}

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

::selection {
  background: rgba(53, 88, 107, 0.16);
  color: var(--ink);
}

/* Layout */

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

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

.section {
  padding: 88px 0;
}

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

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

.page-shell {
  position: relative;
}

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

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

.surface {
  background: rgba(255, 253, 249, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: var(--shadow-soft);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(14px);
  background: rgba(247, 244, 238, 0.78);
  border-bottom: 1px solid rgba(31, 47, 57, 0.08);
}

.site-header-inner {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.82), rgba(255,255,255,0) 42%),
    linear-gradient(135deg, #486d81, #294654);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.5), 0 8px 18px rgba(31, 47, 57, 0.14);
  flex: 0 0 auto;
}

.brand-text {
  min-width: 0;
}

.brand-kicker {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.96rem;
}

.site-nav a:hover,
.site-nav a:focus {
  background: rgba(53, 88, 107, 0.08);
  color: var(--ink);
}

.site-nav a.is-active {
  background: rgba(53, 88, 107, 0.14);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.55);
  color: var(--ink);
  border-radius: 999px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Hero */

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #d7dde0;
}

.hero.hero-short {
  min-height: 72vh;
}

.hero-media,
.hero-media img,
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img,
.hero-media video {
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--maxw));
  margin: 0 auto;
  padding: 90px 0 72px;
}

.hero-panel {
  max-width: 780px;
  color: #fff;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

.hero h1,
.page-title {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  font-weight: 700;
}

.hero-lead {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: rgba(255,255,255,0.92);
}

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

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

/* Buttons */

.button,
button.button,
input[type="submit"].button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.button:hover,
button.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 28px rgba(19, 32, 39, 0.2);
}

.button-primary:hover,
.button-primary:focus {
  color: #fff;
  background: #16242d;
}

.button-secondary {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
}

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

.button-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.button-ghost:hover,
.button-ghost:focus {
  background: rgba(53, 88, 107, 0.06);
  color: var(--ink);
}

/* Typography */

h1, h2, h3, h4, h5 {
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin: 0 0 18px;
}

h3 {
  font-family: var(--serif);
  font-size: clamp(1.22rem, 2vw, 1.85rem);
  margin: 0 0 14px;
}

h4 {
  font-size: 1rem;
  margin: 0 0 10px;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-intro p:last-child,
.prose p:last-child {
  margin-bottom: 0;
}

.kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
}

.prose {
  font-size: 1.04rem;
}

.prose p {
  margin: 0 0 1.25em;
}

.prose h2,
.prose h3 {
  margin-top: 2.2em;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
  color: var(--ink-soft);
}

.prose blockquote {
  margin: 2.2rem 0;
  padding: 1.2rem 1.4rem;
  border-left: 3px solid var(--accent);
  background: rgba(53, 88, 107, 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink);
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

/* Cards / grids */

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

.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;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--paper);
  border: 1px solid rgba(31, 47, 57, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.card-media {
  aspect-ratio: 1.35 / 1;
  overflow: hidden;
  background: #d9e1e5;
}

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

.card:hover .card-media img,
.card:focus-within .card-media img {
  transform: scale(1.04);
}

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

.card-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

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

.card p {
  margin: 0;
}

.card-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

/* Feature strips */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  background: #d6dde0;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame.tall {
  min-height: 620px;
}

.media-frame.standard {
  min-height: 520px;
}

.text-panel {
  padding: 10px 0;
}

.meta-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.meta-row strong {
  min-width: 92px;
}

/* Highlights */

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

.highlight {
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.9));
  border: 1px solid rgba(31, 47, 57, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.highlight .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(53, 88, 107, 0.1);
  color: var(--accent);
  font-weight: 800;
}

.highlight p {
  margin: 0;
}

/* Quote / pull section */

.pull-quote {
  padding: 42px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(53, 88, 107, 0.07), rgba(141, 90, 61, 0.06)),
    var(--paper);
  border: 1px solid rgba(31, 47, 57, 0.08);
  box-shadow: var(--shadow-soft);
}

.pull-quote blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  line-height: 1.45;
  color: var(--ink);
}

.pull-quote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  color: var(--muted);
}

/* Tables and listings */

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

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

.info-table th {
  width: 22%;
  color: var(--ink);
  font-weight: 700;
  background: rgba(53, 88, 107, 0.04);
}

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

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

.place-card {
  padding: 24px;
  background: var(--paper);
  border: 1px solid rgba(31, 47, 57, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.place-card h3 {
  margin-bottom: 8px;
}

.place-meta {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.96rem;
  color: var(--ink-soft);
}

.place-meta strong {
  color: var(--ink);
}

/* Gallery */

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

.gallery .span-7 { grid-column: span 7; }
.gallery .span-5 { grid-column: span 5; }
.gallery .span-6 { grid-column: span 6; }
.gallery .span-4 { grid-column: span 4; }
.gallery .span-8 { grid-column: span 8; }

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 260px;
  background: #d5dde0;
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(17, 28, 34, 0.5);
  color: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  font-size: 0.9rem;
}

/* Forms */

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(31, 47, 57, 0.14);
  background: rgba(255,255,255,0.9);
  color: var(--ink);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(53, 88, 107, 0.16);
  border-color: rgba(53, 88, 107, 0.34);
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--ink);
}

.form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Breadcrumbs */

.breadcrumbs {
  padding-top: 22px;
  font-size: 0.9rem;
  color: var(--muted);
}

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

.breadcrumbs a:hover {
  color: var(--ink);
}

/* Footer */

.site-footer {
  padding: 72px 0 36px;
  background: linear-gradient(180deg, #1e2f38, #17252d);
  color: rgba(255,255,255,0.86);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 1fr;
  gap: 28px;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255,255,255,0.78);
}

.site-footer a:hover,
.site-footer a:focus {
  color: #fff;
}

.footer-brand .brand-name,
.footer-brand .brand-kicker {
  color: #fff;
}

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

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.66);
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Utilities */

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 10px !important; }
.mb-2 { margin-bottom: 18px !important; }
.mb-3 { margin-bottom: 28px !important; }
.mb-4 { margin-bottom: 40px !important; }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Responsive */

@media (max-width: 1120px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 980px) {
  :root {
    --nav-h: 72px;
  }

  .split,
  .split.reverse,
  .grid-3,
  .grid-2,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery .span-7,
  .gallery .span-5,
  .gallery .span-6,
  .gallery .span-4,
  .gallery .span-8 {
    grid-column: auto;
  }

  .media-frame.tall,
  .media-frame.standard {
    min-height: 420px;
  }

  .site-nav {
    position: fixed;
    inset: var(--nav-h) 16px auto 16px;
    display: none;
    padding: 14px;
    background: rgba(255, 253, 249, 0.97);
    border: 1px solid rgba(31, 47, 57, 0.08);
    border-radius: 22px;
    box-shadow: 0 30px 60px rgba(17, 28, 34, 0.14);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .site-nav a {
    min-height: 48px;
    border-radius: 14px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-inner {
    padding: 72px 0 56px;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow,
  .hero-inner {
    width: min(calc(100% - 28px), var(--maxw));
  }

  .section {
    padding: 66px 0;
  }

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

  .hero h1,
  .page-title {
    font-size: clamp(2rem, 10vw, 3.3rem);
  }

  .pull-quote {
    padding: 28px 22px;
  }

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

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

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  .info-table th,
  .info-table td {
    padding: 14px 16px;
  }

  .info-table th {
    border-bottom: 0;
    background: rgba(53, 88, 107, 0.05);
  }
}
