/* =========================================================
   Texas.co.jp — site.css
   Magazine-grade Texas travel/editorial site
   Visual direction:
   Japanese woodblock + cinematic Western scale + big American sky
   ========================================================= */

:root {
  --ink: #17110c;
  --ink-soft: #3a2a1f;
  --paper: #f6efe2;
  --paper-warm: #fff8ec;
  --sand: #e6cfaa;
  --sand-deep: #c99d63;
  --clay: #9f4f2f;
  --clay-dark: #6f2f22;
  --mesquite: #39462d;
  --sage: #69785d;
  --denim: #183f5d;
  --night: #111a23;
  --star: #f8d77d;
  --smoke: rgba(23, 17, 12, 0.72);
  --white: #ffffff;
  --muted: #75675b;
  --line: rgba(23, 17, 12, 0.16);
  --line-strong: rgba(23, 17, 12, 0.28);
  --shadow: 0 24px 70px rgba(31, 20, 12, 0.18);
  --shadow-soft: 0 14px 36px rgba(31, 20, 12, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --max: 1180px;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", "Times New Roman", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans JP", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(248, 215, 125, 0.22), transparent 28rem),
    radial-gradient(circle at 85% 8%, rgba(159, 79, 47, 0.18), transparent 30rem),
    linear-gradient(180deg, #fbf3e5 0%, var(--paper) 42%, #efe0c8 100%);
  font-family: var(--sans);
  line-height: 1.9;
  letter-spacing: 0.035em;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  z-index: -1;
  background-image:
    linear-gradient(rgba(23, 17, 12, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 17, 12, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
}

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

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

a:hover {
  color: var(--clay-dark);
}

p {
  margin: 0 0 1.1rem;
}

strong {
  font-weight: 800;
}

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

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

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

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

.section {
  padding: clamp(56px, 8vw, 112px) 0;
}

.section-tight {
  padding: clamp(38px, 6vw, 78px) 0;
}

.grid {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
}

.two-col {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
}

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

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

.center {
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
  color: var(--clay-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: currentColor;
}

.lead {
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.6vw, 1.34rem);
  line-height: 2.05;
  color: var(--ink-soft);
}

.kicker {
  color: var(--clay-dark);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

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

h1 {
  font-size: clamp(2.55rem, 7vw, 6.8rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 4.1rem);
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 2.05rem);
}

h4 {
  font-size: 1.08rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: rgba(17, 26, 35, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 248, 236, 0.18);
  box-shadow: 0 10px 34px rgba(17, 26, 35, 0.24);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo,
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 1.12rem;
  white-space: nowrap;
}

.logo-mark,
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--night);
  background:
    radial-gradient(circle at 35% 30%, #fff4c9, var(--star) 42%, #b95d34 74%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.8vw, 24px);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--star);
  transition: width 0.22s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

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

.hero {
  position: relative;
  min-height: clamp(680px, 88vh, 940px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--night);
}

.hero.hero-small {
  min-height: clamp(440px, 58vh, 620px);
}

.hero img,
.hero-bg {
  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(17, 26, 35, 0.82), rgba(17, 26, 35, 0.36) 54%, rgba(17, 26, 35, 0.62)),
    linear-gradient(180deg, rgba(17, 26, 35, 0.18), rgba(17, 26, 35, 0.72) 78%, rgba(17, 26, 35, 0.95));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  z-index: 2;
  background: linear-gradient(180deg, transparent, var(--paper));
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  padding: 120px 0 clamp(86px, 12vw, 150px);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  color: var(--star);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-label::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--star);
}

.hero h1 {
  max-width: 980px;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.48);
}

.hero p {
  max-width: 760px;
  margin-top: 1.4rem;
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.7vw, 1.42rem);
  line-height: 2;
  color: rgba(255, 255, 255, 0.92);
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2.6rem;
}

.hero-meta span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  padding: 9px 14px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  font-weight: 800;
}

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

.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.04em;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

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

.btn-primary {
  color: var(--night);
  background: var(--star);
  box-shadow: 0 12px 30px rgba(248, 215, 125, 0.24);
}

.btn-primary:hover {
  color: var(--night);
  background: #ffe18a;
}

.btn-dark {
  color: var(--white);
  background: var(--night);
  box-shadow: 0 14px 34px rgba(17, 26, 35, 0.22);
}

.btn-dark:hover {
  color: var(--white);
  background: var(--clay-dark);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(255, 248, 236, 0.54);
}

.btn-outline:hover {
  background: var(--paper-warm);
}

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

.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 248, 236, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.card-pad {
  padding: clamp(22px, 3vw, 34px);
}

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

.card-tall img {
  aspect-ratio: 3 / 4;
}

.card-wide img {
  aspect-ratio: 16 / 9;
}

.card-body {
  padding: clamp(20px, 2.8vw, 30px);
}

.card h3 {
  margin-bottom: 0.8rem;
}

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

.card-link {
  text-decoration: none;
  display: block;
  height: 100%;
}

.card-link:hover .card {
  transform: translateY(-4px);
}

.feature-card {
  min-height: 420px;
  color: var(--white);
  display: grid;
  align-items: end;
  isolation: isolate;
}

.feature-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  aspect-ratio: auto;
  z-index: -2;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(17, 26, 35, 0.05), rgba(17, 26, 35, 0.82)),
    linear-gradient(90deg, rgba(17, 26, 35, 0.62), rgba(17, 26, 35, 0.2));
}

.feature-card .card-body {
  padding: clamp(24px, 4vw, 40px);
}

.feature-card p {
  color: rgba(255, 255, 255, 0.88);
}

/* =========================================================
   Intro / Start Here
   ========================================================= */

.start-here {
  margin-top: -74px;
  position: relative;
  z-index: 5;
}

.start-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 56px);
  background:
    linear-gradient(135deg, rgba(255, 248, 236, 0.96), rgba(230, 207, 170, 0.9)),
    radial-gradient(circle at 92% 12%, rgba(248, 215, 125, 0.32), transparent 18rem);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
}

.start-panel h2 {
  margin-bottom: 1rem;
}

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

.start-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.start-list li::before {
  content: "★";
  color: var(--clay);
}

/* =========================================================
   Region / City Grid
   ========================================================= */

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

.region-card {
  min-height: 260px;
  grid-column: span 4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  color: var(--white);
  text-decoration: none;
  display: grid;
  align-items: end;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.region-card.large {
  grid-column: span 6;
  min-height: 360px;
}

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

.region-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(17, 26, 35, 0.08), rgba(17, 26, 35, 0.78)),
    linear-gradient(90deg, rgba(17, 26, 35, 0.55), rgba(17, 26, 35, 0.16));
}

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

.region-card h3 {
  margin-bottom: 0.35rem;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.region-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

/* =========================================================
   Magazine Feature Index
   ========================================================= */

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

.feature-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 248, 236, 0.72);
  border: 1px solid var(--line);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(31, 20, 12, 0.08);
}

.feature-row img {
  width: 220px;
  height: 138px;
  object-fit: cover;
  border-radius: 18px;
}

.feature-row h3 {
  margin-bottom: 0.4rem;
}

.feature-row p {
  margin: 0;
  color: var(--ink-soft);
}

.feature-row .arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--clay);
}

.feature-row:hover {
  background: var(--paper-warm);
  transform: translateY(-2px);
}

/* =========================================================
   Article Pages
   ========================================================= */

.article {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 110px) 0;
}

.article-header {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(60px, 8vw, 110px) 0 clamp(28px, 5vw, 52px);
}

.article-header h1 {
  color: var(--ink);
  font-size: clamp(2.3rem, 6vw, 5.2rem);
}

.article-header p {
  max-width: 760px;
  margin-top: 1.4rem;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  color: var(--ink-soft);
}

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

.article-hero-image img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.article h2 {
  margin: 3.2rem 0 1rem;
  font-size: clamp(1.72rem, 3.5vw, 3rem);
}

.article h3 {
  margin: 2.4rem 0 0.8rem;
}

.article p {
  font-family: var(--serif);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 2.18;
  color: var(--ink-soft);
}

.article blockquote {
  margin: 3rem 0;
  padding: 2rem clamp(22px, 4vw, 42px);
  border-left: 6px solid var(--clay);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: rgba(255, 248, 236, 0.72);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.3vw, 1.8rem);
  line-height: 1.85;
  color: var(--ink);
}

.article ul,
.article ol {
  padding-left: 1.4rem;
  color: var(--ink-soft);
  font-family: var(--serif);
  line-height: 2.05;
}

.article li + li {
  margin-top: 0.4rem;
}

.article-note {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(57, 70, 45, 0.1);
  border: 1px solid rgba(57, 70, 45, 0.22);
}

/* =========================================================
   Real Places / Directory
   ========================================================= */

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

.place-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  gap: 24px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--paper-warm);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(31, 20, 12, 0.08);
}

.place-card h3 {
  margin-bottom: 0.5rem;
}

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

.place-meta a {
  font-weight: 800;
  color: var(--clay-dark);
}

.place-tag {
  align-self: start;
  justify-self: end;
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--white);
  background: var(--denim);
  font-size: 0.78rem;
  font-weight: 900;
}

/* =========================================================
   Food / Stay / Roadtrip Specialty Sections
   ========================================================= */

.smoke-band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(17, 26, 35, 0.94), rgba(111, 47, 34, 0.92)),
    radial-gradient(circle at 12% 10%, rgba(248, 215, 125, 0.18), transparent 24rem);
}

.smoke-band h2,
.smoke-band h3 {
  color: var(--white);
}

.smoke-band p {
  color: rgba(255, 255, 255, 0.84);
}

.route-strip {
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius-xl);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(24, 63, 93, 0.95), rgba(111, 47, 34, 0.92)),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(255, 255, 255, 0.04) 42px 84px);
  box-shadow: var(--shadow-soft);
}

.route-strip h2 {
  margin-bottom: 1rem;
}

.route-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.4rem;
}

.route-points span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 800;
  font-size: 0.84rem;
}

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

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

.gallery-item {
  grid-column: span 4;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--night);
  box-shadow: var(--shadow-soft);
}

.gallery-item.wide {
  grid-column: span 8;
}

.gallery-item.tall {
  grid-row: span 2;
}

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

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

.gallery-caption {
  position: absolute;
  inset: auto 0 0;
  color: var(--white);
  padding: 42px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(17, 26, 35, 0.84));
  font-weight: 900;
  letter-spacing: 0.05em;
}

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

.cta {
  border-radius: var(--radius-xl);
  padding: clamp(34px, 6vw, 70px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(17, 26, 35, 0.92), rgba(24, 63, 93, 0.9)),
    radial-gradient(circle at 85% 12%, rgba(248, 215, 125, 0.24), transparent 22rem);
  box-shadow: var(--shadow);
}

.cta h2 {
  margin-bottom: 1rem;
}

.cta p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: var(--night);
  margin-top: clamp(56px, 8vw, 110px);
  padding: clamp(46px, 7vw, 82px) 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(160px, 0.6fr));
  gap: clamp(24px, 4vw, 54px);
}

.site-footer h3,
.site-footer h4 {
  color: var(--white);
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

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

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

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

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

.paper-box {
  padding: clamp(22px, 3.5vw, 40px);
  border-radius: var(--radius-xl);
  background: rgba(255, 248, 236, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.dark-box {
  padding: clamp(22px, 3.5vw, 40px);
  border-radius: var(--radius-xl);
  color: var(--white);
  background: var(--night);
  box-shadow: var(--shadow-soft);
}

.dark-box p {
  color: rgba(255, 255, 255, 0.78);
}

.divider {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  border: 0;
  border-top: 1px solid var(--line);
}

.caption {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 0.65rem;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud a,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 248, 236, 0.66);
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 800;
}

.tag-cloud a:hover,
.tag:hover {
  color: var(--white);
  background: var(--clay);
}

/* =========================================================
   Tables / Sitemap
   ========================================================= */

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper-warm);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

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

th {
  color: var(--white);
  background: var(--night);
  font-weight: 900;
}

td {
  color: var(--ink-soft);
}

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

@media (max-width: 980px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }

  .two-col,
  .start-panel,
  .place-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .region-card,
  .region-card.large {
    grid-column: span 6;
  }

  .feature-row {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .feature-row .arrow {
    display: none;
  }

  .feature-row img {
    width: 160px;
    height: 116px;
  }

  .place-tag {
    justify-self: start;
  }

  .gallery-item,
  .gallery-item.wide {
    grid-column: span 6;
  }
}

@media (max-width: 680px) {
  .container,
  .wrap,
  .hero-content,
  .article,
  .article-header,
  .article-hero-image,
  .divider {
    width: min(100% - 28px, var(--max));
  }

  body {
    letter-spacing: 0.02em;
  }

  .site-header {
    position: relative;
  }

  .nav {
    min-height: auto;
  }

  .nav-links {
    gap: 16px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 660px;
  }

  .hero-content {
    padding-bottom: 84px;
  }

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

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

  .three-col,
  .four-col {
    grid-template-columns: 1fr;
  }

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

  .region-card,
  .region-card.large,
  .gallery-item,
  .gallery-item.wide {
    grid-column: auto;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .feature-row img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .start-here {
    margin-top: -44px;
  }

  .article p {
    line-height: 2.05;
  }

  .footer-bottom {
    display: block;
  }
}

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

.site-header .nav {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 24px;
  align-items: center;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 10px;
  line-height: 1.2;
}

.nav-links a {
  white-space: nowrap;
}

@media (min-width: 980px) {
  .nav-links {
    max-width: 980px;
    margin-left: auto;
  }

  .nav-links a:nth-child(12) {
    margin-left: 100%;
  }
}

@media (max-width: 979px) {
  .site-header .nav {
    grid-template-columns: 1fr;
  }

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