:root {
  --paper: #f1f4ef;
  --card: #ffffff;
  --ink: #1c2733;
  --muted: #586979;
  --accent: #0b8790;
  --line: rgba(28, 39, 51, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;
}

.site {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

header {
  padding: 56px 0 38px;
  border-bottom: 1px solid var(--line);
}

.brand {
  margin: 0 0 28px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.intro {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

main {
  padding: 44px 0 72px;
}

.exhibits-heading {
  margin: 0 0 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.exhibit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}

.exhibit-card {
  display: block;
  padding: 28px;
  min-height: 230px;
  background: var(--card);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.exhibit-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(28, 39, 51, 0.08);
}

.exhibit-number {
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.exhibit-card h2 {
  margin: 44px 0 12px;
  max-width: 500px;
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.exhibit-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

footer {
  padding: 24px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 600px) {
  .site {
    width: min(100% - 30px, 1180px);
  }

  header {
    padding-top: 34px;
  }

  h1 {
    font-size: 42px;
  }
}

/* Homepage motto — intentionally secondary to the exhibits */
header h1 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}
/* =========================================================
   HANTEN HOMEPAGE V2 PROTOTYPE
   ========================================================= */

.homepage-v2 {
  display: block;
}

.home-section {
  margin-top: 72px;
}

.home-kicker {
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6f746d;
}


/* FEATURED */

.featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.1fr);
  gap: 42px;
  align-items: center;
  padding: 34px;
  border: 1px solid #d8d6cb;
  border-radius: 18px;
  background: #f5f1e7;
  color: inherit;
  text-decoration: none;
}

.featured-card:hover {
  border-color: #b9b7ab;
}

.featured-copy h2 {
  max-width: 640px;
  margin: 12px 0 14px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
}

.featured-answer {
  margin: 0 0 24px;
  font-size: 1.15rem;
  line-height: 1.5;
}

.home-link {
  font-weight: 700;
}

.featured-preview {
  min-height: 320px;
}

.preview-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #e8e3d8;
  color: #777a72;
  font-size: 0.9rem;
}


/* EXPLORE BY IDEA */

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

.idea-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid #d8d6cb;
  border-radius: 16px;
  background: #fbfaf6;
  color: inherit;
  text-decoration: none;
}

.idea-card:hover {
  border-color: #aaa99f;
  transform: translateY(-2px);
}

.idea-name {
  margin: 0 0 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5f6f62;
}

.idea-card h2 {
  margin: 0 0 24px;
  font-size: 1.45rem;
  line-height: 1.16;
}

.idea-example {
  margin: auto 0 10px;
  font-size: 0.96rem;
  line-height: 1.45;
  color: #555951;
}

.idea-meta {
  font-size: 0.76rem;
  color: #8b8e86;
}


/* NEWEST */

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

.newest-card {
  padding: 24px;
  border-top: 1px solid #d8d6cb;
  color: inherit;
  text-decoration: none;
}

.newest-card h2 {
  margin: 10px 0;
  font-size: 1.3rem;
  line-height: 1.2;
}

.newest-card p {
  margin: 0;
  color: #666960;
  line-height: 1.5;
}


/* BROWSE ALL */

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

.browse-all-link {
  display: inline-block;
  padding: 15px 22px;
  border: 1px solid #c9c7bc;
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}


/* WHY HANTEN */

.why-hanten {
  max-width: 700px;
  padding-top: 8px;
  padding-bottom: 28px;
}

.why-hanten h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.why-hanten p:last-child {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.6;
  color: #60635c;
}


/* RESPONSIVE */

@media (max-width: 900px) {
  .featured-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .home-section {
    margin-top: 52px;
  }

  .featured-card {
    padding: 24px;
  }

  .featured-preview,
  .preview-placeholder {
    min-height: 220px;
  }

  .idea-grid,
  .newest-grid {
    grid-template-columns: 1fr;
  }

  .idea-card {
    min-height: 215px;
  }
}
/* Featured exhibit image */

.featured-preview {
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-preview img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
}/* Homepage featured refinements */

.home-featured {
  margin-top: 42px;
}

.featured-card {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  padding: 30px 34px;
}

.featured-copy h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.05;
}

.featured-preview {
  min-height: 0;
  padding: 18px;
}

.featured-preview img {
  width: 100%;
  max-height: 315px;
  border-radius: 10px;
}.featured-copy h2 {
  font-size: clamp(1.8rem, 2.7vw, 2.35rem);
  line-height: 1.08;
}/* Idea-card exhibit previews */

.idea-preview {
  margin: 8px 0 18px;
  height: 135px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  background: #f3f0e7;
}

.idea-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}/* Final idea-card preview sizing */

.idea-preview {
  height: 150px;
  margin: 14px 0 16px;
}

.idea-card {
  display: flex;
  flex-direction: column;
}

.idea-example {
  margin-top: 0;
}/* Keep Explore by Idea cards uniform */

.idea-card {
  min-height: 390px;
}

.idea-grid {
  align-items: stretch;
}/* Homepage v2 — tighten opening so Featured stays above the fold */

.homepage-v2 {
  padding-top: 44px;
}

.home-featured {
  margin-top: 0;
}

header {
  padding-bottom: 34px;
}/* Homepage v2 — compact opening */

header {
  padding-top: 28px;
  padding-bottom: 20px;
}

header h1 {
  margin-top: 18px;
  margin-bottom: 14px;
  font-size: clamp(2.6rem, 4.8vw, 4rem);
  line-height: 1.02;
}

header .intro {
  margin-top: 0;
  margin-bottom: 24px;
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.5;
}

.homepage-v2 {
  padding-top: 24px;
}

.home-featured {
  margin-top: 0;
}/* Homepage v2 — remove header divider and tighten transition */

header {
  border-bottom: none;
}

.homepage-v2 {
  padding-top: 10px;
}

.home-featured {
  margin-top: 0;
}/* Homepage v2 — Browse All */

.browse-all {
  padding: 36px 0 54px;
  text-align: center;
}

.browse-all-link {
  display: inline-block;
  padding: 14px 24px;
  border: 1px solid #b9b6aa;
  border-radius: 999px;

  color: #172536;
  background: #faf9f5;

  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;

  transition:
    transform 0.15s ease,
    background 0.15s ease;
}

.browse-all-link:hover {
  background: #f1eee5;
  transform: translateY(-1px);
}
/* Homepage v2 — Why Hanten */

.why-hanten {
  padding: 38px 0 52px;
  border-top: 1px solid #d8d8d2;
}

.why-hanten-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 24px;
}

.why-hanten-mark {
  font-size: 4.5rem;
  line-height: 1;
  font-weight: 700;
  color: #07858d;
  letter-spacing: -0.06em;
}

.why-hanten-copy {
  max-width: 650px;
}

.why-hanten-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.1;
  color: #172536;
}

.why-hanten-copy p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.65;
  color: #536474;
}

.why-hanten-copy .why-hanten-principle {
  margin-top: 22px;
  font-weight: 700;
  color: #172536;
}

@media (max-width: 700px) {
  .why-hanten-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .why-hanten-mark {
    font-size: 3.5rem;
  }
}
/* Homepage v2 — compact Newest and Browse All */

.home-newest {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.newest-card {
  padding: 18px 24px 10px;
}

.browse-all {
  margin-top: 6px !important;
  padding: 8px 0 28px !important;
  min-height: 0 !important;
}

.homepage-v2 {
  padding-bottom: 28px !important;
}

.homepage-v2 + footer {
  margin-top: 0 !important;
  padding-top: 20px !important;
}
  margin-top: 0 !important;
  padding-top: 22px !important;
/* Homepage v2 — final lower-page spacing */

.home-section.browse-all {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 0 4px !important;
}

.why-hanten {
  margin-top: 0 !important;
  padding-top: 14px !important;
}
/* Browse All — exhibit catalog */

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

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

.browse-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.browse-preview {
  height: 190px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #d8d6cb;
  border-radius: 12px;
  background: #faf9f5;
}

.browse-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.browse-number {
  display: block;
  margin-bottom: 8px;
  color: #07858d;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.browse-card h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
  color: #172536;
}

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

@media (max-width: 560px) {
  .browse-grid {
    grid-template-columns: 1fr;
  }
}/* Browse All — index and idea filters */

.browse-controls {
  margin-bottom: 36px;
}

.browse-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.browse-filter {
  appearance: none;
  padding: 10px 16px;
  border: 1px solid #c9c7bc;
  border-radius: 999px;
  background: #faf9f5;
  color: #53616f;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.browse-filter:hover {
  background: #f1eee5;
}

.browse-filter.active {
  background: #172536;
  border-color: #172536;
  color: #fff;
}

.browse-search-wrap {
  max-width: 680px;
  margin-bottom: 28px;
}

.browse-search-wrap label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #53616f;
}

#browse-search {
  box-sizing: border-box;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #c9c7bc;
  border-radius: 10px;
  background: #fff;
  color: #172536;
  font: inherit;
  font-size: 1rem;
}

#browse-search:focus {
  outline: 2px solid #07858d;
  outline-offset: 2px;
}

.browse-index {
  border-top: 1px solid #d8d6cb;
}

.browse-index a {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 17px 8px;
  border-bottom: 1px solid #d8d6cb;
  color: #172536;
  text-decoration: none;
}

.browse-index a:hover {
  background: #f7f5ef;
}

.browse-index span {
  color: #07858d;
  font-size: 0.82rem;
  font-weight: 700;
}

.browse-index strong {
  font-size: 1rem;
  line-height: 1.35;
}

.browse-no-results {
  padding: 28px 8px;
  color: #666960;
}

.browse-idea-view[hidden],
.browse-all-view[hidden],
.browse-card[hidden],
.browse-index a[hidden] {
  display: none !important;
}
/* =========================================================
   HOMEPAGE V2 — VISUAL POLISH
   ========================================================= */

/* Stronger section hierarchy */

.homepage-v2 > .home-section > .home-kicker {
  margin-bottom: 22px;
  font-size: 1.12rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #172536;
}

/* Keep idea names as smaller category labels */

.idea-card .idea-name {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 750;
}


/* Six quiet idea identities */

.idea-card:nth-child(1) {
  background: #eef7f5;
  border-color: #c8ded9;
}

.idea-card:nth-child(2) {
  background: #eef3f7;
  border-color: #ccd9e2;
}

.idea-card:nth-child(3) {
  background: #faf4e7;
  border-color: #e5d7b9;
}

.idea-card:nth-child(4) {
  background: #f0f5ea;
  border-color: #d0ddc4;
}

.idea-card:nth-child(5) {
  background: #f4eff6;
  border-color: #dbcee0;
}

.idea-card:nth-child(6) {
  background: #f8efea;
  border-color: #e4d0c4;
}


/* Remove frame-within-a-frame effect */

.idea-preview {
  background: transparent;
  border: 0;
}

.idea-preview img {
  border: 0;
  background: transparent;
}

.featured-preview {
  background: transparent;
  border: 0;
}

.featured-preview img {
  border: 0;
  background: transparent;
}


/* Slightly richer Featured treatment */

.featured-card {
  background: #f1eee5;
  border-color: #d5cfbf;
}


/* Quiet interaction polish */

.idea-card,
.featured-card,
.newest-card {
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.idea-card:hover,
.featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(23, 37, 54, 0.08);
}

.newest-card:hover {
  transform: translateY(-1px);
}


/* Why Hanten refinement */

.why-hanten-copy .why-hanten-meaning {
  margin-bottom: 14px;
  color: #172536;
}

.why-hanten-copy .why-hanten-meaning strong {
  color: #07858d;
}
/* Homepage v2 — quieter canvas */

body {
  background: #f7f7f3;
}
/* Homepage v2 — neutral canvas + aligned idea cards */

body {
  background: #fbfbf9;
}

.idea-card {
  display: grid;
  grid-template-rows:
    auto
    minmax(56px, auto)
    150px
    auto;
}

.idea-name {
  margin-bottom: 14px;
}

.idea-card h2 {
  margin-bottom: 16px;
}

.idea-preview {
  height: 150px;
  margin: 0 0 16px;
}

.idea-example {
  margin: 0;
  align-self: start;
}
/* Homepage v2 — lock Explore by Idea graphic alignment */

.idea-card {
  display: grid;
  grid-template-rows: auto 72px 180px auto;
}

.idea-card h2 {
  margin: 0;
  align-self: start;
}

.idea-preview {
  width: 100%;
  height: 180px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.idea-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.idea-example {
  margin: 12px 0 0;
  align-self: start;
}
/* Homepage v2 — Featured final polish */

.homepage-v2 > .home-section > .home-kicker {
  font-size: 1.28rem;
  line-height: 1.2;
  margin-bottom: 24px;
}

.featured-preview {
  padding: 10px;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
}

.featured-preview img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 305px;
  object-fit: contain;
  transform: none;
  border-radius: 8px;
  background: transparent;
}
/* Featured thumbnail — hide faint embedded edge */

.featured-preview {
  padding: 10px;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
}

.featured-preview img {
  width: calc(100% + 4px);
  max-width: none;
  margin: -2px;
  border: 0;
  outline: 0;
  border-radius: 0;
}
/* Homepage v2 — Why Hanten final typography */

.why-hanten-copy .why-hanten-meaning {
  margin: 0 0 22px;
  font-size: 1.08rem;
  line-height: 1.6;
}

.why-hanten-copy > p:not(.home-kicker):not(.why-hanten-principle) {
  font-size: 1.08rem;
  line-height: 1.65;
}

.why-hanten-principle {
  margin-top: 34px !important;
  font-size: 1.35rem !important;
  line-height: 1.35 !important;
  font-weight: 750 !important;
  color: #172536 !important;
}

.why-hanten-mark {
  font-size: 5rem;
  line-height: 1;
}
/* Homepage v2 — Shippori Mincho Hanten mark */

@font-face {
  font-family: "Shippori Mincho";
  src: url("../../04 Shared Assets/fonts/shippori-mincho/ShipporiMincho-Regular.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.why-hanten-mark {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
}
/* Why Hanten — final kanji alignment */

.why-hanten-mark {
  transform: translateX(24px);
}
/* Homepage v2 — branded opening */

header {
  position: relative;
  overflow: hidden;
}

.header-watermark {
  position: absolute;
  right: 3%;
  top: 18px;

  font-family: "Shippori Mincho", serif;
  font-size: clamp(6rem, 12vw, 11rem);
  line-height: 1;
  font-weight: 400;

  color: #07858d;
  opacity: 0.045;

  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

header .brand,
header h1,
header .intro {
  position: relative;
  z-index: 1;
}

@media (max-width: 700px) {
  .header-watermark {
    right: -6%;
    top: 32px;
    font-size: 8rem;
    opacity: 0.035;
  }
}
/* Homepage v2 — south-up world motif */

.header-world {
  position: absolute;
  right: 0;
  top: 4px;
  width: min(46%, 540px);
  height: 270px;

  pointer-events: none;
  user-select: none;

  opacity: 0.075;
}

.header-world svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.header-world-land {
  fill: #07858d;
  stroke: none;
}

header .brand,
header h1,
header .intro {
  position: relative;
  z-index: 2;
}

@media (max-width: 700px) {
  .header-world {
    right: -16%;
    top: 18px;
    width: 70%;
    opacity: 0.045;
  }
}
/* Homepage v2 — south-up Robinson motif final sizing */

.header-world {
  position: absolute;
  right: 3%;
  top: 28px;
  width: min(34%, 430px);
  height: auto;
  opacity: 0.10;

  pointer-events: none;
  user-select: none;
}

@media (max-width: 700px) {
  .header-world {
    right: -5%;
    top: 46px;
    width: 48%;
    opacity: 0.065;
  }
}
/* Homepage south-up map — smaller final scale */

.header-world {
  right: 5%;
  top: 38px;
  width: min(27%, 350px);
  opacity: 0.18;
}
/* =========================================================
   HOMEPAGE V2 — FINAL ALIGNMENT REFINEMENTS
   ========================================================= */

/* South-up Robinson motif — slightly lower */
.header-world {
  top: 50px;
}

/* Featured exhibit — quieter typography */
.featured-copy h2 {
  font-size: clamp(1.65rem, 2.25vw, 2.05rem);
  line-height: 1.1;
  max-width: 540px;
}

.featured-answer {
  font-size: 1.05rem;
  line-height: 1.45;
}

/* Explore by Idea — align category headlines */
.idea-card h2 {
  min-height: 2.35em;
  display: flex;
  align-items: flex-start;
}
/* Homepage hero — bring text toward Robinson map */

header h1,
header .intro {
  transform: translateX(55px);
}
/* Homepage hero — stronger supporting line */

header .intro {
  font-size: 1.28rem;
  line-height: 1.5;
}

/* =========================================================
   HOMEPAGE V2 — FEATURED + DAILY FLIP
   ========================================================= */

.home-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, .75fr);
  gap: 22px;
  align-items: stretch;
}

.spotlight-column {
  display: flex;
  flex-direction: column;
}

.spotlight-column > .home-kicker {
  font-size: 1.28rem;
  line-height: 1.2;
  margin: 0 0 24px;
  font-weight: 750;
  color: #172536;
}

.featured-column .featured-card {
  flex: 1;
  grid-template-columns: minmax(250px, .9fr) minmax(300px, 1.1fr);
  gap: 30px;
  padding: 30px;
}

.featured-copy {
  padding-inline: 20px;
}

.featured-copy .exhibit-number {
  display: block;
  margin-bottom: 16px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .82rem;
  font-weight: 750;
  color: #07858d;
}

.featured-copy h2 {
  max-width: 430px;
  margin: 0 auto 14px;
  font-size: clamp(1.55rem, 2vw, 1.9rem);
  line-height: 1.12;
}

.featured-answer,
.featured-copy .home-link {
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}

.daily-flip-card {
  flex: 1;
  min-height: 100%;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 32px 30px;
  border: 1px solid #bfd8d4;
  border-radius: 18px;
  background: #eaf5f3;

  color: #172536;
  text-decoration: none;

  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.daily-flip-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(23, 37, 54, 0.08);
}

.daily-label {
  margin: 0 0 28px;
  color: #07858d;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.daily-flip-card h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.daily-prompt {
  margin: 18px 0 0;
  color: #53616f;
  font-size: .98rem;
  line-height: 1.5;
}

.daily-link {
  display: block;
  margin-top: 38px;
  font-weight: 750;
}

@media (max-width: 900px) {
  .home-spotlight {
    grid-template-columns: 1fr;
  }

  .featured-column .featured-card {
    grid-template-columns: 1fr;
  }

  .daily-flip-card {
    min-height: 280px;
  }
}


/* =========================================================
   HOMEPAGE V2 — EQUAL DAILY FLIP + FEATURED
   ========================================================= */

.home-spotlight {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 8px !important;
}

.spotlight-card {
  box-sizing: border-box;
  min-width: 0;
  height: 390px;
  padding: 22px 28px 24px;

  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-items: start;

  border-radius: 18px;
  color: #172536;
  text-decoration: none;
}

.daily-flip-card {
  border: 1px solid #bfd8d4;
  background: #eaf5f3;
}

.featured-equal-card {
  border: 1px solid #d5cfbf;
  background: #f1eee5;
}

.spotlight-label {
  margin: 0 0 7px;
  text-align: center;

  color: #172536;
  font-size: 1.08rem;
  line-height: 1.2;
  font-weight: 750;
}

.spotlight-idea {
  margin: 0 0 5px;
  text-align: center;

  color: #07858d;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.spotlight-card h2 {
  min-height: 2.25em;
  max-width: 470px;
  margin: 0 auto 10px;

  text-align: center;
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
  line-height: 1.12;
  letter-spacing: -.02em;
}

.spotlight-preview {
  width: 100%;
  height: 175px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  border-radius: 12px;
}

.daily-flip-card .spotlight-preview {
  background: rgba(255,255,255,.38);
}

.featured-equal-preview {
  background: #fff;
  padding: 7px;
  box-sizing: border-box;
}

.spotlight-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.daily-response,
.featured-equal-bottom {
  align-self: end;
  min-height: 60px;
}

.daily-guess-label {
  margin: 8px 0 7px;
  text-align: center;
  color: #53616f;
  font-size: .83rem;
  font-weight: 700;
}

.daily-choices {
  display: flex;
  justify-content: center;
  gap: 7px;
}

.daily-choices button {
  min-width: 42px;
  padding: 7px 10px;

  border: 1px solid #9fc4bf;
  border-radius: 999px;
  background: rgba(255,255,255,.7);

  color: #172536;
  font: inherit;
  font-size: .86rem;
  font-weight: 750;
  cursor: pointer;
}

.daily-choices button:hover,
.daily-choices button.selected {
  background: #07858d;
  border-color: #07858d;
  color: #fff;
}

.daily-reveal {
  display: block;
  margin-top: 8px;
  text-align: center;
  color: #172536;
  font-size: .82rem;
  font-weight: 750;
  text-decoration: none;
}

.daily-reveal[hidden] {
  display: none;
}

.featured-equal-bottom {
  padding-top: 10px;
  text-align: center;
}

.featured-equal-bottom strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1rem;
}

.featured-equal-bottom span {
  font-size: .86rem;
  font-weight: 750;
}

.spotlight-card {
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.featured-equal-card:hover,
.daily-flip-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(23,37,54,.07);
}

/* Keep opening + spotlight row compact enough for laptop first screen */

.homepage-v2 {
  padding-top: 4px !important;
}

@media (max-width: 900px) {
  .home-spotlight {
    grid-template-columns: 1fr;
  }

  .spotlight-card {
    height: auto;
    min-height: 390px;
  }
}
/* Daily Flip — final map + reveal refinements */

/* Give the map comfortable left/right margins */
.daily-flip-card .spotlight-preview {
  width: calc(100% - 28px);
  margin-left: auto;
  margin-right: auto;
}

/* Reserve the reveal line from the beginning */
.daily-response {
  display: grid;
  grid-template-rows: auto auto 24px;
  align-content: end;
}

/* Hidden reveal keeps its space instead of collapsing */
.daily-reveal[hidden] {
  display: block;
  visibility: hidden;
  pointer-events: none;
}

/* Visible reveal occupies the exact same reserved space */
.daily-reveal {
  display: block;
  height: 24px;
  margin-top: 8px;
  text-align: center;
}

/* Daily Flip — reveal link in lower-right corner */

.daily-flip-card {
  position: relative;
}

.daily-response {
  min-height: 62px;
  display: block;
}

.daily-reveal {
  position: absolute;
  right: 24px;
  bottom: 16px;

  height: auto;
  margin: 0;
  text-align: right;

  font-size: 0.82rem;
  font-weight: 750;
}

.daily-reveal[hidden] {
  display: block;
  visibility: hidden;
  pointer-events: none;
}
/* Daily Flip — seamless map field */

.daily-flip-card .spotlight-preview {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  background: #eaf5f3;
  border-radius: 12px;
}

.daily-flip-card .spotlight-preview img {
  background: #eaf5f3;
}
/* Featured — tighten white field around map */

.featured-equal-preview {
  padding: 2px;
  background: #fff;
  border-radius: 12px;
}

.featured-equal-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Homepage hero — slightly more breathing room */

header h1 {
  letter-spacing: 0.01em;
}

/* =========================================================
   PROVISIONAL HANTEN BRAND — Reveal H + Wide Wordmark
   ========================================================= */

.provisional-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  margin: 0;
}

.provisional-wordmark {
  display: flex;
  align-items: center;
  gap: 8px;

  color: #172536;
  font-size: 1.05rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .12em;
}

.provisional-wordmark img {
  display: block;
  width: 24px;
  height: 24px;
  margin-left: 2px;
}

.provisional-motto {
  color: #607080;
  font-size: .56rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}


/* =========================================================
   HOMEPAGE V2 — NEWEST THUMBNAILS
   ========================================================= */

.home-section.newest {
  margin-top: 48px;
}

.newest-card {
  padding-top: 18px;
}

.newest-preview {
  width: 100%;
  height: 120px;
  margin-bottom: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  border-radius: 10px;
  background: #f7f7f3;
}

.newest-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* =========================================================
   HOMEPAGE V2 — NEWEST SECTION BLENDING
   ========================================================= */

.home-section.newest {
  padding: 28px 24px 34px;
  border-radius: 18px;
  background: #f4f1e9;
}

.newest-grid {
  gap: 18px;
}

.newest-card {
  padding: 16px 18px 20px;
  border: 1px solid #ddd7ca;
  border-radius: 14px;
  background: #fbfaf6;
}

.newest-preview {
  height: 120px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: #fbfaf6;
}

.newest-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* =========================================================
   HOMEPAGE V2 — FINAL LOWER-PAGE SPACING
   ========================================================= */

/* More breathing room after Browse All */
.browse-all-wrap {
  margin-bottom: 34px;
}

/* Center the Why Hanten composition without centering its text */
.why-hanten {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.why-hanten-inner {
  justify-content: center;
}
/* =========================================================
   HOMEPAGE V2 — MOBILE HERO
   ========================================================= */

@media (max-width: 600px) {

  /* Give the hero comfortable phone margins */
  header {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Motto */
  header h1 {
    font-size: clamp(42px, 12vw, 52px);
    line-height: 0.98;
    letter-spacing: -0.035em;
    max-width: 100%;
    margin-top: 34px;
    margin-bottom: 24px;
  }

  /* Intro — prevent clipping and give it a natural width */
  header .intro {
    width: 100%;
    max-width: 100%;
    font-size: 22px;
    line-height: 1.38;
    margin-left: 0;
    margin-right: 0;
  }

  /* Robinson map becomes its own element below the text */
  .header-world {
    position: relative;
    width: 180px;
    height: 96px;
    margin: 20px auto 0;
    right: auto;
    top: auto;
    opacity: 1;
  }

  #header-world-map {
    width: 100%;
    height: 100%;
  }

  /* Reduce the large desktop gap before the first cards */
  .homepage-v2 {
    margin-top: 24px;
  }
}
/* Mobile hero — final positioning correction */

@media (max-width: 600px) {

  header h1,
  header .intro {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;

    width: 100% !important;
    max-width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  header h1 {
    font-size: 44px;
    line-height: 1.02;
    letter-spacing: -0.03em;
  }

  header .intro {
    font-size: 20px;
    line-height: 1.4;
  }

  .header-world {
    width: 135px;
    height: 72px;
    margin: 18px auto 8px;
  }

  .homepage-v2 {
    margin-top: 14px;
  }
}

/* Homepage — ensure exhibit cards remain clickable */

.featured-equal-card,
.idea-card,
.newest-card {
  position: relative;
  z-index: 5;
  pointer-events: auto !important;
}

.featured-equal-card *,
.idea-card *,
.newest-card * {
  pointer-events: none;
}
