/* ==========================================================================
   Nihon Shuji — Mindful Japanese Calligraphy
   Static-site stylesheet
   --------------------------------------------------------------------------
   Sections:
   01. Design tokens / base
   02. Shared typography / controls
   03. Header
   04. Hero
   05. Intro
   06. Experience journey
   07. Slow / instructor section
   08. Event details
   09. Host
   10. Final CTA / footer
   11. Decorative brush animation
   12. Responsive
   ========================================================================== */


/* ==========================================================================
   01. Design tokens / base
   ========================================================================== */

:root {
  --paper: #f7f3eb;
  --paper-2: #efe8dc;
  --ink: #171512;
  --muted: #6d665d;
  --gold: #a87527;
  --red: #b5261d;
  --line: rgba(55, 45, 34, 0.18);

  --serif: "Cormorant Garamond", "Noto Serif JP", serif;
  --sans: "Noto Sans JP", sans-serif;

  --header-height: 76px;
  --content-x: clamp(24px, 7vw, 112px);
  --section-y: clamp(72px, 9vw, 128px);
  --section-heading-size: clamp(2.65rem, 3.8vw, 4.3rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 20%, rgba(168, 117, 39, 0.05), transparent 25%),
    radial-gradient(circle at 85% 65%, rgba(0, 0, 0, 0.035), transparent 22%),
    var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}

main {
  overflow: clip;
}

main > section {
  position: relative;
  isolation: isolate;
  border: 0;
}

.section-pad {
  padding: var(--section-y) var(--content-x);
}


/* ==========================================================================
   02. Shared typography / controls
   ========================================================================== */

.hero h1,
.hero .event-title,
.exp-card .card-kicker {
  letter-spacing: 0.015em;
}

.catch-line {
  white-space: nowrap;
}

main > section:not(.hero) h2,
.details .section-title h2,
.experience .section-title h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: var(--section-heading-size);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.015em;
}

main > section:not(.hero) .jp-heading {
  font-size: 1rem;
  line-height: 1.8;
}

.jp-heading {
  margin: 22px 0 14px;
  color: var(--gold);
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.jp-small {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.9;
}

.section-title {
  max-width: 800px;
  margin: 0 auto 56px;
  text-align: center;
}

.button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 410px;
  max-width: 100%;
  min-width: 205px;
  min-height: 64px;
  padding: 13px 24px;

  border: 0;
  border-radius: 3px;
  background: #474747;
  color: #fff;

  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.25;
  text-decoration: none;

  transition:
    transform 0.25s ease,
    background-color 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #A8751F;
}

.button span {
  margin-top: 3px;
  font-family: var(--sans);
  font-size: 0.75rem;
  opacity: 0.82;
}

.button:disabled {
  background: #A8751F;
  color: #fff;
  opacity: 1;
}

.button:disabled:hover {
  transform: none;
}


/* Normalize tracking on English copy; Japanese elements opt out with lang="ja". */
html body :is(h1, h2, h3, p, a, b, small, span, time, dt, dd, button, em):lang(en) {
  letter-spacing: 0.01em !important;
}


/* ==========================================================================
   03. Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;

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

  height: var(--header-height);
  padding: 0 clamp(24px, 5vw, 80px);

  border-bottom: 1px solid var(--line);
  background: rgba(247, 243, 235, 0.92);
  backdrop-filter: blur(12px);
}

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

.brand img {
  display: block;
  width: clamp(138px, 13vw, 174px);
  height: auto;
}

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

.site-header nav a {
  font-family: var(--serif);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.nav-cta {
  padding: 8px 16px;
  border: 1px solid var(--ink);
}


/* ==========================================================================
   04. Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
  gap: 28px 5vw;
}

.hero-copy {
  max-width: 720px;
}

.hero h1 {
  width: auto;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.2rem, 5.8vw, 6.5rem);
  font-weight: 500;
  line-height: 1.04;
}

.hero h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero-copy > .jp-heading {
  margin: 18px 0 26px;
  font-size: clamp(1.15rem, 1.65vw, 1.55rem);
  line-height: 1.6;
}

.hero .event-title {
  max-width: 500px;
  margin: 0 0 10px;
  color: var(--ink);
  font: 500 clamp(1.7rem, 2.4vw, 2.5rem) / 1.3 var(--serif);
}

.event-audience {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

.event-lockup {
  margin: 20px 0 24px;
  padding-block: 17px;
  border-block: 1px solid var(--line);
}

.event-date {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0;

  color: var(--ink);
  font: 500 clamp(2.4rem, 4vw, 4.3rem) / 1.05 var(--serif);
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}

.event-place-time {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 20px;

  margin-top: 14px;

  font: 500 1.125rem / 1.5 var(--serif);
}

.event-place-time > span + span {
  padding-left: 20px;
  border-left: 1px solid var(--gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}

.hero-visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 104px;

  display: flex;
  align-items: center;
  align-self: stretch;

  width: 73%;
}

.video-shell {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent;
}

.video-shell video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) sepia(0.12);

  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 38%),
    linear-gradient(0deg, transparent 0%, #000 24%);
  -webkit-mask-composite: source-in;

  mask-image:
    linear-gradient(90deg, transparent 0%, #000 38%),
    linear-gradient(0deg, transparent 0%, #000 24%);
  mask-composite: intersect;
}

.play {
  display: none;
}


/* Hero feature circles */

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 14px;

  width: min(100%, 410px);
  margin: 0;

  background: transparent;
}

.trust-row > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 0;
  aspect-ratio: 1;
  padding: 18px 8px;

  border: 1px solid var(--gold);
  border-radius: 50%;
  background: transparent;

  text-align: center;
}

.trust-row b {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.35;
}

.trust-row small {
  display: block;
  margin-top: 2px;
  color: var(--gold);
  font-size: 0.75rem;
  line-height: 1.5;
}


/* ==========================================================================
   05. Intro
   ========================================================================== */

.intro {
  display: grid;
  grid-template-columns: 40% minmax(0, 60%);
  place-items: stretch;
  gap: 0;

  min-height: 560px;
  padding: 0;
  overflow: hidden;
}

.intro-still {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
}

.intro-card {
  align-self: center;
  min-width: 0;
  margin: 0;
  padding: clamp(64px, 7vw, 110px);
}

.intro-card .jp-heading {
  margin: 28px 0 26px;
}

.intro-card > p:not(.jp-heading):not(.jp-small) {
  max-width: 620px;
  font-size: 1rem;
  line-height: 1.8;
}

.intro-card .jp-small {
  margin-top: 24px;
}


/* ==========================================================================
   06. Experience journey
   ========================================================================== */

.experience {
  background: rgba(255, 255, 255, 0.35);
}

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

  max-width: 1220px;
  margin: auto;
}

.exp-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 200px 1fr;
  align-content: start;

  min-width: 0;
  min-height: 430px;
  padding: 60px 22px 25px;

  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.exp-card .num {
  position: absolute;
  top: 17px;
  left: 22px;

  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.03em;
}

.exp-card .card-kicker {
  min-height: 2.3em;
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.15;
}

.exp-card > .jp-small {
  min-height: 0;
  margin: 0 0 18px;
  font-size: 0.8125rem;
  line-height: 1.65;
}

.exp-card .experience-image {
  align-self: center;
  width: 100%;
  height: 180px;
  margin: 0;
  border-radius: 4px;
  object-fit: cover;
}

.exp-card .kanji-image {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;

  width: 100%;
  height: 200px;
  min-height: 0;
  margin: 0;
  padding: 0;
}

.kanji-image img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.kanji-image > div {
  display: flex;
  justify-content: space-around;
  color: var(--red);
  font-size: 0.75rem;
}

.exp-card > p:last-child {
  align-self: start;
  margin: 18px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);

  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.journey-controls {
  display: none;
}


/* ==========================================================================
   07. Slow / instructor section
   ========================================================================== */

.slow {
  display: grid;
  grid-template-columns: 40% minmax(0, 60%);
  gap: 0;
  min-height: 560px;
}

.slow-image {
  min-height: 460px;
  background: url("../images/instructor-postcard.png") center / cover no-repeat;
  filter: none;
}

.slow-copy {
  align-self: center;
  min-width: 0;
  padding: clamp(64px, 7vw, 110px);
}

.slow-copy .jp-heading {
  margin: 28px 0 26px;
}

.slow-copy > p:not(.jp-heading):not(.jp-small) {
  max-width: 550px;
  font-size: 1rem;
  line-height: 1.8;
}

.slow-copy .jp-small {
  margin-top: 24px;
}


/* ==========================================================================
   08. Event details
   ========================================================================== */

.details {
  display: block;
  max-width: 1060px;
  margin: auto;
}

.details .section-title {
  max-width: 800px;
  margin: 0 auto 56px;
  text-align: center;
}

.detail-list {
  margin: 0;
  border: 1px solid rgba(168, 117, 39, 0.4);
}

.detail-list > div {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.detail-list > div:last-child {
  border-bottom: 0;
}

.detail-list dt,
.detail-list dd {
  margin: 0;
  padding: 22px;
}

.detail-list dt {
  border-right: 1px solid var(--line);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.5;
}

.detail-list dd {
  font-size: 1rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.detail-list small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.8125rem;
  line-height: 1.7;
}

.details-button {
  display: flex;
  width: min(100%, 410px);
  margin: 36px auto 0;
}


/* ==========================================================================
   09. Host
   ========================================================================== */

.host {
  display: grid;
  grid-template-columns: 40% minmax(0, 60%);
  align-items: center;
  gap: 8vw;

  background: rgba(255, 255, 255, 0.35);
}

.host-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.host-logo img {
  display: block;
  width: min(88%, 420px);
  margin: auto;
  mix-blend-mode: multiply;
}

.host-copy {
  min-width: 0;
}

.host-copy h2 {
  max-width: 15ch;
  text-wrap: balance;
}

.host-copy .jp-heading {
  margin: 22px 0 14px;
}

.host-copy > p:not(.jp-heading):not(.jp-small) {
  max-width: 36em;
  font-size: 1rem;
  line-height: 1.8;
}

.host-copy .jp-small {
  max-width: 650px;
  margin-top: 10px;
}


/* ==========================================================================
   10. Final CTA / footer
   ========================================================================== */

.final-cta {
  display: grid;
  grid-template-columns: 40% minmax(0, 60%);
  gap: 0;

  min-height: 610px;
  overflow: hidden;
}

.final-cta > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.final-copy {
  position: relative;
  z-index: 2;
  align-self: center;

  min-width: 0;
  padding: clamp(64px, 7vw, 110px);
}

.final-copy .jp-heading {
  margin: 22px 0 14px;
}

.final-copy > p:not(.jp-heading):not(.jp-small) {
  max-width: 30em;
  font-size: 1rem;
  line-height: 1.7;
}

.final-copy .jp-small {
  max-width: 33em;
  margin-top: 10px;
}

.final-copy .button {
  margin-top: 22px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 28px var(--content-x);

  background: #15130f;
  color: var(--paper);
}

.footer-logo {
  display: block;
  width: 156px;
  height: auto;
  filter: brightness(0) invert(1);
}

footer small {
  opacity: 0.55;
}


/* ==========================================================================
   11. Decorative brush animation
   ========================================================================== */

.brush-accent {
  position: absolute;
  z-index: -1;

  display: block;
  width: clamp(320px, 31vw, 480px);
  aspect-ratio: 1;

  pointer-events: none;
  opacity: 0.12;

  transform: rotate(var(--brush-angle, -8deg));
}

.brush-accent svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brush-journey {
  top: -65px;
  right: -90px;
  --brush-angle: 8deg;
}

.brush-details {
  top: 18%;
  left: -250px;
  --brush-angle: -12deg;
}

.brush-closing {
  right: -85px;
  bottom: -90px;
  --brush-angle: 8deg;
}

/* Classes below are added dynamically by script.js. */
.scroll-section {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.85s ease,
    transform 0.85s ease;
}

.scroll-section.section-visible {
  opacity: 1;
  transform: none;
}

.brush-accent.brush-ready .brush-reveal-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.55s ease var(--stroke-delay, 0s);
}

.brush-accent.brush-drawn .brush-reveal-path {
  stroke-dashoffset: 0;
}

/* Kept as a harmless hook for the existing script. */
.reveal {
  opacity: 1;
  transform: none;
}


/* ==========================================================================
   12. Responsive
   ========================================================================== */

/* Desktop-specific hero sizing */
@media (min-width: 901px) {
  .hero {
    display: block;
    min-height: 0;
    padding-top: 52px;
    padding-bottom: 104px;
  }

  .hero-copy {
    position: relative;
    z-index: 4;
    width: 57%;
  }

  .hero-visual {
    z-index: 1;
  }

  .trust-row {
    position: relative;
    z-index: 4;
  }

  .intro-card > p,
  .slow-copy > p,
  .host-copy > p,
  .final-copy > p {
    width: 100%;
    max-width: none !important;
  }

  .host-copy h2 {
    max-width: none;
    text-wrap: initial;
  }

  .event-lockup {
    width: max-content;
    max-width: 100%;
  }

  .host {
    gap: 0;
    padding: 0;
  }

  .host-logo {
    padding: 40px;
  }

  .host-logo img {
    width: min(100%, 300px);
  }

  .host-copy {
    padding: clamp(64px, 7vw, 110px);
  }
}


@media (min-width: 601px) {
  .event-place-time {
    flex-wrap: nowrap;
    white-space: nowrap;
  }
}


/* Compact desktop / tablet */
@media (max-width: 1150px) {
  .experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .exp-card {
    grid-template-rows: auto auto 240px 1fr;
  }

  .exp-card .experience-image {
    height: 220px;
  }

  .exp-card .kanji-image {
    height: 240px;
  }
}


/* Tablet / mobile */
@media (max-width: 900px) {
  :root {
    --section-heading-size: clamp(2.65rem, 6vw, 4rem);
  }

  .site-header nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    padding-top: 0;
  }

  .hero-copy {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(3rem, 8.8vw, 5.8rem);
  }

  .hero .event-title {
    font-size: 2.15rem;
  }

  .hero-visual {
    position: relative;
    inset: auto;
    order: -1;

    width: calc(100% + 14vw);
    height: 460px;
    min-height: 0;
    margin: 0 -7vw -70px;
  }

  .video-shell {
    height: 100%;
  }

  .video-shell video {
    height: 100%;
    object-fit: cover;
    object-position: center;

    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 38%);
    -webkit-mask-composite: source-over;

    mask-image: linear-gradient(0deg, transparent 0%, #000 38%);
    mask-composite: add;
  }

  .trust-row {
    max-width: 620px;
  }

  .trust-row > div,
  .trust-row b,
  .trust-row small,
  .kanji-image > div,
  .detail-list,
  .section-title,
  .host,
  .host-copy,
  main h1,
  main h2,
  main h3,
  main p {
    text-align: left;
  }

  .trust-row b,
  .trust-row small {
    align-self: center;
    width: max-content;
    max-width: 100%;
  }

  .journey-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 24px 0 0;
  }

  .journey-position {
    display: none;
  }

  .journey-controls button {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-size: 1.2rem;
  }

  .journey-controls button:disabled {
    cursor: default;
    opacity: 0.3;
  }

  .journey-controls button:focus-visible,
  .experience-grid:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
  }

  .experience-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    gap: 20px;

    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 18px;

    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--gold) transparent;
    scrollbar-width: thin;
  }

  .experience-grid > .exp-card {
    min-width: 0;
    scroll-snap-align: start;
  }

  .intro,
  .slow,
  .host,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .intro {
    min-height: 0;
  }

  .intro-still {
    height: 420px;
    min-height: 0;
  }

  .intro-card,
  .slow-copy {
    padding: 64px 7%;
  }

  .slow-image {
    min-height: 360px;
  }

  .details .section-title {
    margin-bottom: 56px;
    text-align: left;
  }

  .host {
    text-align: left;
  }

  .host-logo {
    width: 100%;
    justify-content: center;
  }

  .host-logo img {
    margin-inline: auto;
  }

  .host-copy > p:last-child {
    margin-inline: 0;
  }

  .final-cta > img {
    height: 440px;
    object-position: center 22%;
  }

  .brush-details {
    left: -160px;
  }

  .brush-journey {
    top: -35px;
    right: -140px;
  }
}


/* Mobile */
@media (max-width: 600px) {
  :root {
    --header-height: 66px;
    --section-heading-size: clamp(2.3rem, 9vw, 2.6rem);
  }

  .site-header {
    height: var(--header-height);
  }

  .brand img {
    width: 130px;
  }

  .nav-cta {
    padding: 6px 12px;
  }

  .section-pad {
    padding: 76px 24px;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 0;
  }

  .hero h1 {
    width: 80vw;
    max-width: 80vw;
    font-size: clamp(2.35rem, 12vw, 4.25rem);
  }

  .hero .event-title {
    font-size: 1.9rem;
  }

  .event-audience {
    font-size: 0.8125rem;
  }

  .hero-copy > .jp-heading {
    margin-bottom: 26px;
  }

  .hero-visual {
    width: calc(100% + 48px);
    height: clamp(330px, 96vw, 430px);
    min-height: 0;
    margin: 0 -24px -58px;
  }

  .event-date {
    font-size: clamp(2.1rem, 9vw, 3.3rem);
  }

  .event-place-time {
    gap: 8px 14px;
    font-size: 1.05rem;
  }

  .event-place-time > span + span {
    padding-left: 14px;
  }

  .trust-row {
    width: 100%;
    max-width: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }

  .trust-row > div {
    min-width: 0;
    padding: 8px 3px;
  }

  .trust-row b {
    font-size: 1.05rem;
    line-height: 1.35;
  }

  .trust-row small {
    margin-top: 7px;
    font-size: 0.75rem;
    letter-spacing: -0.04em;
  }

  .hero-actions {
    display: block;
  }

  .intro {
    padding: 0;
  }

  .intro-still {
    height: 330px;
  }

  .intro-card,
  .slow-copy {
    padding: 64px 24px;
  }

  .section-title {
    margin-bottom: 38px;
  }

  .experience-grid {
    grid-auto-columns: 88%;
    gap: 16px;
  }

  .exp-card {
    grid-template-rows: auto auto 248px auto;
    min-height: 0;
    padding: 58px 25px 26px;
  }

  .exp-card .num {
    top: 18px;
    left: 25px;
  }

  .exp-card .card-kicker {
    min-height: 0;
    font-size: 1.7rem;
  }

  .exp-card .experience-image {
    height: 230px;
  }

  .exp-card .kanji-image {
    height: 248px;
  }

  .details .section-title {
    margin-bottom: 38px;
  }

  .detail-list > div {
    grid-template-columns: 1fr;
  }

  .detail-list dt,
  .detail-list dd {
    padding: 17px;
  }

  .detail-list dt {
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 12px;

    border-right: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(168, 117, 39, 0.1);
  }

  .detail-list dt small {
    display: inline;
    margin: 0;
    white-space: nowrap;
  }

  .details-button {
    width: 100%;
    max-width: none;
  }

  .host-logo img {
    margin-inline: auto;
  }

  .host-copy h2 {
    max-width: none;
  }

  .final-cta > img {
    height: 360px;
  }

  .final-copy {
    padding: 64px 24px;
  }

  .brush-accent {
    opacity: 0.09;
  }

  .details .brush-details {
    top: 10px;
    right: -105px;
    left: auto;
    width: clamp(320px, 31vw, 480px);
    --brush-angle: 8deg;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    text-align: left;
  }

  footer small {
    display: block;
    margin-top: 5px;
  }

  .footer-logo {
    width: 142px;
  }
}


/* Small mobile */
@media (max-width: 370px) {
  .trust-row small {
    letter-spacing: -0.07em;
  }
}


/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scroll-section {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .brush-accent.brush-ready .brush-reveal-path {
    stroke-dashoffset: 0;
    transition: none;
  }
}
