.section-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: clamp(2rem, 7vw, 8rem);
  margin-bottom: clamp(2rem, 4vw, 4.25rem);
}
.kicker {
  color: #545584;
  margin-bottom: 1.25rem;
}
h2 {
  font-size: clamp(2.3rem, 4.1vw, 4.6rem);
  font-weight: 750;
  letter-spacing: -0.065em;
  line-height: 1.25;
}
.section-intro > p,
.town-walk-intro > p,
.contact > div > p:not(.kicker) {
  line-height: 2;
  font-size: clamp(0.92rem, 1.15vw, 1.1rem);
}
/* The walk of Tomakomai, beside the main sample's description (the public site's walk/tomakomai/). */
.town-walk-intro > p {
  margin: 0;
}
.town-walk {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1rem;
  margin-top: 1.2rem;
}
.town-walk .field-play {
  padding: .7rem 1.25rem;
  border-radius: 4px;
  background: var(--aqua);
  color: #18182d;
  font-weight: 700;
  text-decoration: none;
}
.town-walk small {
  flex: 1 1 14rem;
  line-height: 1.7;
  color: #4b4f69;
}
.field-guide {
  padding-block: clamp(48px, 6vw, 92px);
  border-top: 1px solid var(--edge);
}
.field-guide h2 {
  margin-bottom: .65rem;
  font-size: clamp(1.9rem, 4vw, 3.8rem);
}
.field-guide h2 span { display: inline-block; }
.field-intro { color: var(--muted); margin: 0 0 clamp(1.4rem, 3vw, 2.7rem); }
.field-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}
.field-card { display: flex; flex-direction: column; min-width: 0; }
.field-card .walk-frame { aspect-ratio: 16 / 9; }
.field-card .walk-frame img { width: 100%; height: auto; }
.field-detail {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .7rem;
  margin-top: 1.1rem;
}
.field-detail h3 { font-size: clamp(1.55rem, 2.6vw, 2.4rem); line-height: 1.3; }
.field-detail h3 small { margin-left: .65rem; color: #d3d7ed; font-size: .63em; }
.field-limit { margin-top: .6rem; color: var(--muted); font-size: .74rem; }
.field-card p { flex: 1; margin: .65rem 0 1rem; color: var(--muted); line-height: 1.8; }
.field-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .2rem 1rem; }
.field-actions a {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  min-height: 44px;
  font-size: .88rem;
  text-underline-offset: .25em;
}
.field-actions .field-play {
  padding: .55rem 1.05rem;
  border-radius: 4px;
  background: var(--aqua);
  color: #18182d;
  font-weight: 700;
  text-decoration: none;
}
.field-play:hover { background: #e2e4ff; }
@media (max-width: 760px) {
  .field-guide-grid { grid-template-columns: 1fr; row-gap: 2.5rem; }
}
.compare-section {
  background: var(--paper);
  color: var(--ink);
  padding-block: clamp(64px, 7vw, 115px);
}
.compare-figure {
  margin: 0;
}
.compare {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 5px;
  background: #adbcba;
  --divide: 18%;
  isolation: isolate;
}
.compare img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.recorded {
  clip-path: inset(0 calc(100% - var(--divide)) 0 0);
}
.divider {
  position: absolute;
  inset: 0;
  --handle-size: 51px;
  pointer-events: none;
}
.divider::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--divide);
  width: 2px;
  background: white;
  box-shadow: 0 0 5px #2337319c;
}
.divider i {
  position: absolute;
  left: clamp(calc(var(--handle-size) / 2), var(--divide), calc(100% - var(--handle-size) / 2));
  top: 50%;
  transform: translate(-50%, -50%);
  width: var(--handle-size);
  height: var(--handle-size);
  display: grid;
  place-items: center;
  border: 1px solid #f2fff0;
  border-radius: 50%;
  background: #132924e6;
  color: white;
  font:
    500 22px/1 Arial,
    sans-serif;
}
.image-label {
  position: absolute;
  top: 1rem;
  background: #102020eb;
  color: white;
  border-radius: 3px;
  padding: 0.24rem 0.64rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.before-label {
  left: 1rem;
}
.after-label {
  right: 1rem;
  background: #c9f7de;
  color: #183c30;
}
.compare:has(#split:focus-visible) {
  outline: 3px solid #c57519;
  outline-offset: 4px;
}
#split {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
  appearance: none;
}
#split::-webkit-slider-thumb {
  appearance: none;
  width: 1px;
  height: 100vh;
}
#split::-moz-range-thumb {
  border: 0;
  width: 1px;
  height: 100vh;
}
.compare-figure figcaption {
  margin-block: 0.65rem 1rem;
  font-size: 0.82rem;
  color: #435a57;
}
.invite,
.text-link {
  font-size: 0.82rem;
  text-decoration-thickness: 1px;
}
.film-link {
  flex-shrink: 0;
  min-height: 46px;
  gap: 0.55rem;
  padding: 0.45rem 1.1rem;
  border-radius: 35px;
  border: 1px solid #99aea4;
  color: #1e3930;
  font-weight: 680;
}
.film-link:hover {
  border-color: #245c45;
  background: #e0eadf;
}
.service {
  padding-block: clamp(66px, 8vw, 125px);
}
.service .kicker,
.contact .kicker {
  color: #bfc3fa;
}
.service .section-intro > p,
.contact > div > p:not(.kicker) {
  color: #d3d3e3;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3.2vw, 62px);
  list-style: none;
  padding: 0;
  counter-reset: stages;
  margin: 2.5rem 0;
}
.steps li {
  border-top: 1px solid #626482;
  position: relative;
  padding-top: 1.35rem;
  counter-increment: stages;
}
.steps li::before {
  display: block;
  content: counter(stages, decimal-leading-zero);
  color: #c1c1ff;
  font:
    400 clamp(2.2rem, 4vw, 4rem)/1.2 'Helvetica Neue',
    Arial,
    sans-serif;
  letter-spacing: -0.055em;
}
.steps h3 {
  margin: 1rem 0 0.6rem;
  font-size: clamp(1.1rem, 1.6vw, 1.55rem);
  letter-spacing: -0.025em;
}
.steps p,
.service-note {
  font-size: 0.91rem;
  line-height: 1.95;
  color: #cccddd;
}
.service-note {
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--edge);
}
.service-note strong {
  display: inline-block;
  margin-right: 0.65rem;
  color: var(--aqua);
}
.pilot {
  color: #f4f2ff;
  background: linear-gradient(145deg, #20243c, #161829 64%);
  padding-block: clamp(60px, 7vw, 112px);
}
.pilot .kicker {
  color: #b9c9fc;
}
.pilot .section-intro > p {
  color: #c3cbdc;
}
.samples {
  display: grid;
  grid-template-columns: minmax(0, 4.3fr) minmax(165px, 1fr);
  gap: 0.75rem clamp(1rem, 2.5vw, 2.75rem);
  scroll-margin-top: 5rem;
}
.sample-frame {
  position: relative;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  isolation: isolate;
  border-radius: 5px;
  background: #303343;
}
.sample-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.sample-frame img[aria-hidden='false'] {
  opacity: 1;
}
.station-label {
  --pin: clamp(8px, 1.5vw, 22px);
  position: absolute;
  left: 35.8%;
  top: 31.9%;
  transform: translate(-50%, calc(-100% - var(--pin)));
  border: 1px solid #ffffff8a;
  color: white;
  background: #181c36f2;
  padding: 0.21em 0.7em;
  border-radius: 3px;
  font-size: clamp(0.65rem, 1vw, 0.86rem);
  letter-spacing: 0.04em;
}
.station-label::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  height: var(--pin);
  border-left: 2px solid white;
}
.sample-footer {
  display: contents;
}
#sample-caption {
  grid-column: 1;
  grid-row: 2;
  font-size: 0.88rem;
  font-weight: 650;
  color: #eaeaff;
}
.examples {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  align-content: space-between;
  gap: 0.55rem;
}
.examples button {
  position: relative;
  min-height: 44px;
  padding: .36rem;
  background: #2c304a;
  border: 1px solid #777e9d;
  border-radius: 9px;
  box-shadow: 0 3px 0 #0d1020;
  color: #f2f2ff;
  text-align: left;
  cursor: pointer;
}
.examples button:hover { background: #3b4265; }
.examples button:active { transform: translateY(2px); box-shadow: none; }
.examples img {
  width: 100%;
  height: auto;
  aspect-ratio: 2.7;
  object-fit: cover;
  border-radius: 3px;
}
.examples button span {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.18em 0.65em;
  padding: 0.42em 0;
}
.examples b {
  font-size: 0.86rem;
}
.examples small {
  font-size: clamp(0.7rem, 1vw, 0.87rem);
}
.examples button[aria-pressed='true'] { color: #1c1e35; background: #d2d7ff; border-color: #e8eaff; }
.examples button[aria-pressed='true'] b::before { content: '✓'; margin-right: .28em; }
.vision-source { margin-top: .9rem; color: #d1d6ee; font-size: .86rem; }
.contact {
  padding-block: clamp(70px, 8vw, 135px);
  display: grid;
  align-items: start;
  gap: clamp(2rem, 6vw, 7rem);
  grid-template-columns: 1.1fr 1fr;
}
.contact h2 {
  font-size: clamp(2.15rem, 3.9vw, 4.35rem);
  margin-bottom: 1.3rem;
}
.contact form {
  color-scheme: dark;
  display: grid;
  gap: 0.42rem;
}
.contact label {
  margin-top: 0.6rem;
  font-size: 0.84rem;
  font-weight: 650;
}
.contact label:first-child {
  margin-top: 0;
}
.contact label small {
  color: var(--muted);
  margin-left: 0.3rem;
  font-weight: 400;
}
.contact input,
.contact select,
.contact textarea {
  background: #23243a;
  color: var(--paper);
  border: 1px solid #6a6f89;
  border-radius: 5px;
  width: 100%;
  font-size: 1rem;
  padding: 0.6rem 0.8rem;
}
.contact textarea {
  resize: vertical;
}
.contact ::placeholder {
  color: #aeb4c6;
}
.contact .button {
  margin: 0.7rem 0 0.3rem;
  justify-self: start;
}
.form-note {
  font-size: 0.82rem;
  color: var(--muted);
}
#mail-fallback {
  display: grid;
  gap: 0.5rem;
}
.copy,
.film-head button {
  border: 1px solid #789286;
  background: #19322e;
  color: white;
  border-radius: 20px;
  padding: 0.35rem 0.9rem;
}
.copy {
  justify-self: start;
}
footer {
  border-top: 1px solid var(--edge);
  color: #c3c4d2;
}
.footer {
  min-height: 94px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
  font-size: 0.74rem;
}
.footer nav a { padding-block: .5rem; }
dialog {
  border: 1px solid #617a73;
  border-radius: 8px;
  background: #0c1d21;
  color: white;
  padding: 0;
  width: min(960px, 92vw);
  max-height: 92svh;
}
dialog::backdrop {
  background: #071112d9;
}
.film-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}
.film-head button {
  flex-shrink: 0;
}
dialog video {
  width: 100%;
  max-height: 74svh;
  display: block;
  background: #080c0b;
}
@media (max-width: 760px) {
  .section-intro,
  .contact {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .section-intro {
    margin-bottom: 1.6rem;
  }

  .samples {
    display: flex;
    flex-direction: column;
  }
  .examples {
    order: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }
  .examples img, .examples small {
    display: none;
  }
  .examples button {
    min-height: 44px;
    text-align: center;
  }
  .examples button span {
    justify-content: center;
  }
  #sample-caption {
    order: 2;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }
  .steps li {
    display: grid;
    grid-template-columns: 2.6rem 1fr;
    column-gap: 0.85rem;
  }
  .steps li::before {
    grid-row: span 2;
  }
  .steps h3 {
    margin: 0 0 0.3rem;
  }
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer {
    justify-content: center;
    padding-block: 1.5rem;
  }
  .image-label {
    top: 0.5rem;
    font-size: 0.65rem;
  }
  .before-label {
    left: 0.5rem;
  }
  .after-label {
    right: 0.5rem;
  }
  .divider {
    --handle-size: 40px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html[data-motion='on'] {
    scroll-behavior: smooth;
  }
  html[data-motion='on'] .intro-copy > * {
    animation: ink-arrives 0.72s both cubic-bezier(0.17, 0.72, 0.26, 1);
  }
  html[data-motion='on'] .intro-copy h1 {
    animation-delay: 0.055s;
  }
  html[data-motion='on'] .hero-lead {
    animation-delay: 0.1s;
  }
  html[data-motion='on'] .hero-links {
    animation-delay: 0.14s;
  }
  html[data-motion='on'] .arrived {
    animation: ink-arrives 0.65s backwards cubic-bezier(0.18, 0.73, 0.23, 1);
  }
  html[data-motion='on'] .steps.arrived li {
    animation: ink-arrives 0.6s backwards;
  }
  html[data-motion='on'] .steps.arrived li:nth-child(2) {
    animation-delay: 0.1s;
  }
  html[data-motion='on'] .steps.arrived li:nth-child(3) {
    animation-delay: 0.2s;
  }
}
@keyframes ink-arrives {
  from {
    opacity: 0.35;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
html[data-motion='off'] *,
html[data-motion='off'] *::before,
html[data-motion='off'] *::after {
  transition: none !important;
  animation: none !important;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
@media (pointer: coarse) {
  .examples button,
  .film-head button,
  .copy {
    min-height: 44px;
  }
}
