/* =========================================================
   Utah.co.jp — site.css
   Visual identity: red rock, desert silence, Japanese editorial luxury
   ========================================================= */

:root {
  --ink: #241612;
  --ink-soft: #5f463c;
  --paper: #f8f1e7;
  --paper-deep: #efe0cc;
  --sand: #d8b98f;
  --sand-light: #f3dfbf;
  --redrock: #a94f33;
  --redrock-dark: #6f2f24;
  --canyon: #c77a45;
  --sage: #6f7c61;
  --sky: #d9e6ea;
  --night: #1b2024;
  --white: #fffaf2;
  --line: rgba(80, 45, 30, 0.18);
  --shadow: 0 24px 70px rgba(53, 31, 20, 0.18);
  --shadow-soft: 0 14px 40px rgba(53, 31, 20, 0.11);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --max: 1180px;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", "Times New Roman", serif;
  --sans: "Hiragino Sans", "Yu Gothic", "YuGothic", "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 top left, rgba(199, 122, 69, 0.18), transparent 34rem),
    linear-gradient(180deg, #fbf4ea 0%, #f4e4cf 46%, #efe0cc 100%);
  font-family: var(--sans);
  line-height: 1.9;
  letter-spacing: 0.03em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

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

p {
  margin: 0 0 1.2rem;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

::selection {
  background: rgba(169, 79, 51, 0.25);
}

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

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

.section {
  padding: 86px 0;
}

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

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

.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.lead {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  line-height: 2.05;
}

.eyebrow {
  color: var(--redrock-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: rgba(36, 22, 18, 0.86);
  border-bottom: 1px solid rgba(255, 250, 242, 0.16);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 13px 0 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 28px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.65rem;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}

.brand strong {
  font-family: var(--serif);
  font-size: clamp(1.12rem, 2vw, 1.5rem);
  letter-spacing: 0.075em;
}

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

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

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.34rem 0.72rem;
  color: rgba(255, 250, 242, 0.88);
  border: 1px solid rgba(255, 250, 242, 0.14);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.05);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: 0.18s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 250, 242, 0.16);
  border-color: rgba(255, 250, 242, 0.42);
  transform: translateY(-1px);
}

/* Two-row friendly menu on wide pages */
@media (min-width: 920px) {
  .site-nav {
    max-width: 790px;
    margin-left: auto;
  }
}

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

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

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(19, 12, 9, 0.82) 0%, rgba(36, 22, 18, 0.54) 42%, rgba(36, 22, 18, 0.22) 72%),
    linear-gradient(180deg, rgba(19, 12, 9, 0.28) 0%, rgba(19, 12, 9, 0.2) 42%, rgba(19, 12, 9, 0.82) 100%);
}

.hero-inner {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 122px 0 84px;
}

.hero-card {
  max-width: 780px;
}

.hero .kicker {
  color: rgba(255, 250, 242, 0.86);
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(2.55rem, 7vw, 6.6rem);
  line-height: 1.08;
  letter-spacing: 0.035em;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
}

.hero p {
  max-width: 680px;
  margin-top: 1.45rem;
  color: rgba(255, 250, 242, 0.9);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 2.05;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
}

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

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

.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(111, 47, 36, 0.28);
  background: var(--redrock-dark);
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: 0.18s ease;
}

.btn:hover,
.button:hover {
  color: var(--white);
  background: var(--redrock);
  transform: translateY(-2px);
}

.btn.secondary,
.button.secondary {
  background: rgba(255, 250, 242, 0.13);
  border-color: rgba(255, 250, 242, 0.38);
  color: var(--white);
}

.btn.light {
  background: var(--white);
  color: var(--redrock-dark);
}

/* =========================================================
   Intro / Editorial Blocks
   ========================================================= */

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 42px;
  align-items: center;
}

.intro-copy h2,
.section-head h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  color: var(--ink);
}

.intro-copy p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.intro-panel {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.88), rgba(243, 223, 191, 0.78)),
    radial-gradient(circle at top right, rgba(169, 79, 51, 0.12), transparent 18rem);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.intro-panel h3 {
  margin-bottom: 1rem;
  color: var(--redrock-dark);
  font-size: 1.55rem;
}

.fact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.fact-list li:last-child {
  border-bottom: 0;
}

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

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

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

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

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

.card a {
  text-decoration: none;
}

.card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-deep);
}

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

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

.card-body {
  padding: 25px;
}

.card-body h3 {
  margin-bottom: 0.75rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
}

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

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0.95rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(169, 79, 51, 0.11);
  color: var(--redrock-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* =========================================================
   Feature Band
   ========================================================= */

.feature-band {
  padding: 84px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(36, 22, 18, 0.96), rgba(111, 47, 36, 0.92)),
    radial-gradient(circle at top right, rgba(199, 122, 69, 0.45), transparent 28rem);
}

.feature-band .section-head h2,
.feature-band h2,
.feature-band h3 {
  color: var(--white);
}

.feature-band p,
.feature-band .lead {
  color: rgba(255, 250, 242, 0.82);
}

.feature-band .card {
  background: rgba(255, 250, 242, 0.09);
  border-color: rgba(255, 250, 242, 0.16);
}

.feature-band .card-body h3 {
  color: var(--white);
}

.feature-band .card-body p {
  color: rgba(255, 250, 242, 0.76);
}

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

.article-hero {
  position: relative;
  padding: 104px 0 64px;
  color: var(--white);
  background: var(--night);
  overflow: hidden;
  isolation: isolate;
}

.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0.88;
}

.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(19, 12, 9, 0.88), rgba(19, 12, 9, 0.44)),
    linear-gradient(180deg, rgba(19, 12, 9, 0.22), rgba(19, 12, 9, 0.88));
}

.article-hero h1 {
  max-width: 980px;
  font-size: clamp(2.2rem, 5vw, 5.4rem);
  line-height: 1.16;
}

.article-hero p {
  max-width: 760px;
  margin-top: 1.4rem;
  color: rgba(255, 250, 242, 0.86);
  font-size: 1.12rem;
}

.article-wrap {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0 96px;
}

.article-wrap h2 {
  margin: 3.2rem 0 1rem;
  color: var(--redrock-dark);
  font-size: clamp(1.65rem, 3vw, 2.55rem);
}

.article-wrap h3 {
  margin: 2.2rem 0 0.8rem;
  color: var(--ink);
  font-size: 1.45rem;
}

.article-wrap p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 2.15;
}

.article-wrap figure {
  margin: 3rem 0;
}

.article-wrap figure img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

figcaption {
  margin-top: 0.75rem;
  color: rgba(95, 70, 60, 0.82);
  font-size: 0.86rem;
  line-height: 1.7;
}

.article-note {
  margin: 2.2rem 0;
  padding: 28px;
  border-radius: var(--radius-md);
  background: rgba(255, 250, 242, 0.72);
  border-left: 5px solid var(--redrock);
  box-shadow: var(--shadow-soft);
}

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

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

.place {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 250, 242, 0.76);
  border: 1px solid var(--line);
}

.place h3 {
  margin-bottom: 0.4rem;
  font-size: 1.3rem;
}

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

.place .details {
  color: rgba(95, 70, 60, 0.85);
  font-size: 0.9rem;
}

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

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

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 4 / 3;
  background: var(--paper-deep);
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

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

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 18px 16px;
  color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(19, 12, 9, 0.82));
  font-size: 0.86rem;
  font-weight: 700;
}

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

.site-footer {
  color: rgba(255, 250, 242, 0.76);
  background: #18100d;
  border-top: 1px solid rgba(255, 250, 242, 0.12);
}

.footer-inner {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 34px;
}

.footer-brand {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-inner p {
  max-width: 620px;
  color: rgba(255, 250, 242, 0.7);
}

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

.footer-links a {
  color: rgba(255, 250, 242, 0.78);
  font-size: 0.86rem;
  text-decoration: none;
}

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

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

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

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

.mt-2 {
  margin-top: 2rem;
}

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

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.soft-panel {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 242, 0.74);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.full-bleed {
  width: min(1320px, calc(100% - 32px));
  margin-inline: auto;
}

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

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr;
  }

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

  .intro-grid,
  .grid-3,
  .grid-2,
  .split,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 640px) {
  .container,
  .wrap,
  .hero-inner,
  .article-wrap,
  .footer-inner {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    width: min(100% - 24px, 1240px);
    padding: 12px 0;
  }

  .brand {
    display: block;
  }

  .brand span {
    display: block;
    margin-top: 0.1rem;
  }

  .site-nav {
    gap: 6px;
  }

  .site-nav a {
    min-height: 31px;
    padding: 0.28rem 0.56rem;
    font-size: 0.72rem;
  }

  .hero-inner {
    padding: 88px 0 58px;
  }

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

  .section {
    padding: 58px 0;
  }

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

  .intro-panel,
  .soft-panel,
  .article-note {
    padding: 22px;
  }

  .card-body {
    padding: 21px;
  }

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

  .article-hero {
    padding: 82px 0 48px;
  }

  .article-wrap {
    padding: 52px 0 72px;
  }
}

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