/* Nebraska.co.jp
   大平原の静かなアメリカ
   Shared stylesheet: /site.css
*/

:root {
  --ink: #241f19;
  --ink-soft: #4f463b;
  --muted: #786f62;
  --paper: #f6efe3;
  --paper-warm: #fbf7ed;
  --cream: #fffaf0;
  --sand: #d9c7a6;
  --wheat: #caa96a;
  --prairie: #8f8b58;
  --grass: #6f7442;
  --river: #5d7f8f;
  --sky: #d9e2df;
  --clay: #9a6546;
  --rust: #8a4a2f;
  --night: #171814;
  --line: rgba(36, 31, 25, 0.16);
  --line-strong: rgba(36, 31, 25, 0.28);
  --shadow: 0 24px 70px rgba(36, 31, 25, 0.16);
  --soft-shadow: 0 14px 36px rgba(36, 31, 25, 0.10);
  --radius: 24px;
  --radius-sm: 14px;
  --max: 1180px;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", "Times New Roman", serif;
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(202, 169, 106, 0.18), transparent 32rem),
    linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 52%, #efe3cf 100%);
  font-family: var(--sans);
  line-height: 1.85;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.20;
  z-index: -1;
  background-image:
    linear-gradient(rgba(36, 31, 25, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 31, 25, 0.025) 1px, transparent 1px);
  background-size: 44px 44px, 44px 44px;
}

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

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

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

::selection {
  background: rgba(202, 169, 106, 0.38);
}

/* Layout */

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

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

.wide {
  width: min(1360px, calc(100% - 32px));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

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

.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));
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(36, 31, 25, 0.12);
  background: rgba(246, 239, 227, 0.88);
  backdrop-filter: blur(18px);
}

.navbar {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(202, 169, 106, 0.95), rgba(143, 139, 88, 0.92)),
    radial-gradient(circle at 30% 30%, #fff, transparent 36%);
  box-shadow: inset 0 0 0 1px rgba(36, 31, 25, 0.16);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--wheat);
}

/* Hero */

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(23, 24, 20, 0.76) 0%, rgba(23, 24, 20, 0.46) 45%, rgba(23, 24, 20, 0.22) 100%),
    linear-gradient(0deg, rgba(23, 24, 20, 0.82) 0%, transparent 42%);
}

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

.hero-content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 92px;
  color: #fffaf0;
}

.kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #efe3cf;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.kicker::before,
.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.72;
}

.hero h1 {
  max-width: 920px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 7vw, 6.8rem);
  line-height: 1.02;
  letter-spacing: 0.015em;
  text-wrap: balance;
}

.hero-lede,
.hero p {
  max-width: 760px;
  margin: 26px 0 0;
  color: rgba(255, 250, 240, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.95;
}

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

/* Buttons */

.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid rgba(36, 31, 25, 0.22);
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(36, 31, 25, 0.18);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover,
.button:hover {
  transform: translateY(-1px);
  color: var(--cream);
  background: var(--rust);
}

.btn-light {
  background: rgba(255, 250, 240, 0.92);
  color: var(--ink);
  border-color: rgba(255, 250, 240, 0.42);
}

.btn-light:hover {
  color: var(--ink);
  background: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255, 250, 240, 0.42);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255, 250, 240, 0.12);
}

/* Typography */

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  line-height: 1.22;
  letter-spacing: 0.02em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

p {
  margin-bottom: 1.2em;
}

.lede {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  line-height: 2;
}

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

.jp-serif {
  font-family: var(--serif);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.45fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.section-head p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* Cards */

.card {
  background: rgba(255, 250, 240, 0.68);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--soft-shadow);
}

.card-body {
  padding: 24px;
}

.card h3 a,
.feature-card h3 a {
  text-decoration: none;
}

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

.image-card {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--night);
  color: var(--cream);
  box-shadow: var(--shadow);
}

.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(23, 24, 20, 0.82), rgba(23, 24, 20, 0.12) 62%);
}

.image-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

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

.image-card-content {
  padding: 28px;
}

.image-card p {
  color: rgba(255, 250, 240, 0.84);
}

.feature-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.68);
  box-shadow: var(--soft-shadow);
}

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

.feature-card .card-body {
  display: grid;
  align-content: start;
}

.meta {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Editorial article pages */

.article-hero {
  padding: 76px 0 36px;
}

.article-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
}

.article-hero .lede {
  max-width: 840px;
  margin-top: 24px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 60px;
  align-items: start;
}

.article-body {
  font-family: var(--serif);
  font-size: clamp(1.03rem, 1.5vw, 1.16rem);
  line-height: 2.05;
}

.article-body h2 {
  margin-top: 2.1em;
  margin-bottom: 0.7em;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.article-body h3 {
  margin-top: 1.8em;
}

.article-body p {
  margin-bottom: 1.45em;
}

.article-body figure {
  margin: 44px 0;
}

.article-body figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

figcaption,
.caption {
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.88rem;
  line-height: 1.7;
}

.pullquote {
  margin: 48px 0;
  padding: 30px;
  border-left: 5px solid var(--wheat);
  background: rgba(255, 250, 240, 0.62);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.65;
}

.sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
}

.sidebar-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 250, 240, 0.62);
}

.sidebar-box h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.sidebar-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-box li + li {
  border-top: 1px solid var(--line);
}

.sidebar-box a {
  display: block;
  padding: 10px 0;
  text-decoration: none;
  color: var(--ink-soft);
}

.sidebar-box a:hover {
  color: var(--rust);
}

/* Feature bands */

.prairie-band {
  position: relative;
  padding: 84px 0;
  background:
    linear-gradient(180deg, rgba(143, 139, 88, 0.12), rgba(202, 169, 106, 0.10)),
    var(--paper);
  border-block: 1px solid var(--line);
}

.dark-band {
  padding: 88px 0;
  background:
    radial-gradient(circle at 70% 10%, rgba(202, 169, 106, 0.18), transparent 36rem),
    linear-gradient(135deg, #171814, #29261f);
  color: var(--cream);
}

.dark-band .lede,
.dark-band p,
.dark-band .muted {
  color: rgba(255, 250, 240, 0.78);
}

.dark-band .card {
  background: rgba(255, 250, 240, 0.08);
  border-color: rgba(255, 250, 240, 0.16);
}

/* Destination / room pages */

.destination-hero {
  min-height: 66vh;
}

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

.split-feature img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.callout {
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.88), rgba(217, 199, 166, 0.28));
  box-shadow: var(--soft-shadow);
}

.callout h2,
.callout h3 {
  margin-bottom: 12px;
}

/* Lists */

.link-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.link-list a::after {
  content: "→";
  color: var(--wheat);
}

.place-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.place-list li {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 250, 240, 0.54);
}

.place-list strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.12rem;
}

/* Gallery */

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

.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--night);
  box-shadow: var(--soft-shadow);
}

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

.gallery-item:hover img {
  transform: scale(1.04);
  opacity: 0.92;
}

/* Footer */

.site-footer {
  margin-top: 80px;
  padding: 58px 0 34px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(36, 31, 25, 0.03), rgba(36, 31, 25, 0.07)),
    #efe3cf;
}

.footer-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 34px;
}

.footer-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

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

.footer-bottom {
  width: min(1180px, calc(100% - 40px));
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

/* Utility */

.full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.rounded {
  border-radius: var(--radius);
}

.shadow {
  box-shadow: var(--shadow);
}

.soft-shadow {
  box-shadow: var(--soft-shadow);
}

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.spacer {
  height: 64px;
}

/* Responsive */

@media (max-width: 980px) {
  .navbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
    gap: 12px;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 12px 16px;
  }

  .section-head,
  .article-layout,
  .split-feature,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

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

  .hero {
    min-height: 72vh;
  }

  .hero-content {
    padding: 122px 0 70px;
  }
}

@media (max-width: 680px) {
  body {
    line-height: 1.78;
  }

  .site-shell,
  .container,
  .narrow {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 58px 0;
  }

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

  .hero {
    min-height: 76vh;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(23, 24, 20, 0.78), rgba(23, 24, 20, 0.42)),
      linear-gradient(0deg, rgba(23, 24, 20, 0.88), transparent 55%);
  }

  .hero-content {
    width: min(100% - 28px, var(--max));
    padding: 108px 0 52px;
  }

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

  .hero p,
  .hero-lede {
    font-size: 1rem;
    line-height: 1.85;
  }

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

  .image-card {
    min-height: 340px;
  }

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

  .article-hero {
    padding-top: 48px;
  }

  .article-body {
    font-size: 1rem;
    line-height: 1.95;
  }

  .pullquote {
    padding: 22px;
  }

  .footer-grid,
  .footer-bottom {
    width: min(100% - 28px, var(--max));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
