/* HS LABS — tokens */
:root {
  --bg: #a8a8aa;
  --surface: #b5b5b6;
  --ink: #0e0e0e;
  --muted: #2f2f31;
  --accent: #1e3b2c;          /* 보물맵's own forest green */
  --accent-strong: #142a1f;
  --accent-ink: #ffffff;
  --gold: #d9a441;            /* 보물맵's pickaxe gold, used inside interface fragments only */
  --tint: #b3c0b6;           /* every photograph is printed in this green-grey */
  --field-1: #151816;
  --field-1-ink: #f2f2ef;
  --field-1-muted: #c9ccc8;

  --font: "Literata", "Noto Serif KR", "Apple SD Gothic Neo", serif;

  --step-small: 1rem;
  --step-body: clamp(1.125rem, 1.06rem + 0.25vw, 1.25rem);
  --step-lead: clamp(1.5rem, 1.25rem + 0.9vw, 1.875rem);
  --step-head: clamp(2.25rem, 1.5rem + 2.6vw, 3.75rem);
  --step-display: clamp(4.5rem, 17vw, 21rem);

  --margin: clamp(16px, 5vw, 80px);
  --gutter: clamp(12px, 1.6vw, 24px);
  --gap-section: clamp(120px, 14vw, 220px);

  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-soft: cubic-bezier(.25, .8, .25, 1);
  --t-press: 120ms;
  --t-hover: 180ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.6;
  font-optical-sizing: auto;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
b { font-weight: 600; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.12; }

.skip { position: absolute; left: var(--margin); top: -60px; background: var(--ink); color: var(--bg); padding: 10px 16px; z-index: 30; }
.skip:focus { top: 10px; }

/* Buttons and links */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  background: var(--accent); color: var(--accent-ink);
  font: 500 var(--step-small)/1 var(--font); text-decoration: none;
  border: 0; border-radius: 0; cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
.button--small { min-height: 40px; padding: 0 16px; }
.link {
  text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 0.06em;
  transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease;
}
.link:active { opacity: .7; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--accent-strong); }
  .link:hover { color: var(--accent); }
}

/* Bar */
.bar {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 14px var(--margin);
  background: var(--bg);
  font-size: var(--step-small);
}
.wordmark { font-weight: 600; letter-spacing: 0.02em; text-decoration: none; font-size: 1.0625rem; justify-self: start; }
.bar__links { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.bar__links a { text-decoration: none; padding: 8px 0; }
.bar__links a:active { opacity: .6; }
@media (hover: hover) and (pointer: fine) { .bar__links a:hover { text-decoration: underline; text-underline-offset: .3em; } }
.bar__end { justify-self: end; display: flex; align-items: center; gap: 14px; }
.lang {
  font: 500 var(--step-small)/1 var(--font); color: var(--ink);
  background: none; border: 0; padding: 10px 6px; cursor: pointer; text-decoration: underline; text-underline-offset: .3em;
}
.lang:active { opacity: .6; }
.menu-button { display: none; font: 500 var(--step-small)/1 var(--font); background: var(--ink); color: var(--bg); border: 0; min-height: 40px; padding: 0 16px; cursor: pointer; }
.sheet { position: fixed; inset: 64px 0 auto 0; z-index: 19; background: var(--surface); padding: 12px var(--margin) 28px; }
.sheet nav { display: grid; }
.sheet a { font-size: var(--step-lead); text-decoration: none; padding: 12px 0; }
.lang--sheet { margin-top: 8px; font-size: var(--step-body); padding-left: 0; }

/* Shared grid */
.hero, .showcase, .names, .diagonal, .coin, .delivery, .contact, .foot__row {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
  padding-inline: var(--margin);
}
main > section + section { margin-top: var(--gap-section); }
.hero, .diagonal, .coin { overflow-x: clip; }

figure img, figure video { width: 100%; height: 100%; object-fit: cover; }
/* Photographs of the world share one print: monochrome, multiplied onto the green-grey so their highlights sink into the page */
.tint { background: var(--tint); }
.tint > img, .tint > video { filter: grayscale(1) contrast(1.08) brightness(1.06); mix-blend-mode: multiply; }
figcaption { font-size: var(--step-small); color: var(--ink); margin-top: 10px; line-height: 1.45; }

/* Hero */
.hero { padding-top: 14vh; align-items: start; }
.print { grid-row: 1; }
.find { position: relative; z-index: 2; }
.find img { width: 100%; height: auto; object-fit: contain; }
.find--hero { grid-column: 1 / 3; grid-row: 1; transform: rotate(-9deg); margin: -12px 0 0 -6px; }
.find--corner { grid-column: 4 / 6; grid-row: 1; align-self: end; width: 64%; justify-self: end; margin-bottom: 64px; margin-right: -24%; transform: rotate(14deg); }
.print--tall { grid-column: 5 / 9; }
.print--tall .tint, .print--wide .tint { overflow: hidden; }
.print--tall video { aspect-ratio: 3 / 4; object-position: 58% 50%; }
.print--wide { grid-column: 9 / 13; margin-right: calc(var(--margin) * -1); }
.print--wide img { aspect-ratio: 16 / 10; object-position: 30% 40%; }
.print--wide figcaption { padding-right: var(--margin); max-width: 36ch; }
.hero__text { grid-column: 1 / 5; grid-row: 1; margin-top: calc((100vw - 2 * var(--margin)) / 12 * 2 + 48px); }
.hero h1 { font-size: clamp(32px, 3vw, 44px); line-height: 1.12; }
.hero__text p { margin-top: 32px; font-size: var(--step-body); max-width: 30ch; }
.hero__text .button { margin-top: 28px; }

/* Showcase */
.showcase { align-items: end; }
.showcase__side { grid-column: 1 / 4; align-self: stretch; display: flex; flex-direction: column; }
.showcase__side h2 { font-size: var(--step-lead); }
.showcase__side p { margin-top: 20px; max-width: 30ch; }
.showcase__side .link { margin-top: 16px; }
.showcase__notes { margin-top: auto; padding-top: 48px; display: grid; gap: 14px; font-size: var(--step-small); max-width: 30ch; }
.run { grid-column: 4 / 13; display: flex; justify-content: flex-end; align-items: flex-end; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.run::-webkit-scrollbar { display: none; }
.frame { flex: none; height: 36vh; min-height: 240px; display: flex; flex-direction: column; }
.frame > img, .frame > .ui-legend { height: 100%; width: auto; }
.frame > img { aspect-ratio: auto; object-fit: cover; }
.frame figcaption { display: flex; justify-content: space-between; gap: 16px; color: var(--ink); }
.frame figcaption span + span { color: var(--muted); }
.frame--lifted { height: 60vh; min-height: 440px; }
.frame--lifted .ui-map { height: 100%; aspect-ratio: 15 / 16; }

/* Interface fragments (보물맵's own look) */
.ui-map { position: relative; overflow: hidden; background: #dfe3dc; font-family: system-ui, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; }
.ui-map__base { position: absolute; inset: 0; width: 100%; height: 100%; }
.ui-map__top { position: absolute; left: 14px; right: 14px; top: 14px; display: grid; gap: 8px; }
.ui-tabs { display: inline-flex; width: max-content; background: #fff; border-radius: 10px; padding: 3px; font-size: 13px; }
.ui-tabs span { padding: 6px 14px; border-radius: 8px; color: #555; }
.ui-tabs .is-on { background: var(--accent); color: #fff; }
.ui-search { background: #fff; border-radius: 10px; padding: 11px 14px; font-size: 14px; color: #777; box-shadow: 0 2px 10px rgba(0,0,0,.12); } /* taste-skill-ignore: inside the data-ui fragment of 보물맵 / invisible scroll marker */
.ui-map__tools { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 8px; font-size: 14px; }
.ui-map__tools > span { background: #fff; border-radius: 10px; padding: 9px 12px; color: #222; box-shadow: 0 2px 10px rgba(0,0,0,.12); } /* taste-skill-ignore: inside the data-ui fragment of 보물맵 / invisible scroll marker */
.mk { position: absolute; width: 22px; height: 22px; transform: translate(-50%, -50%); }
.ui-legend .mk { position: static; transform: none; flex: none; }
.mk--find { background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 3px #fff; } /* taste-skill-ignore: inside the data-ui fragment of 보물맵 / invisible scroll marker */
.mk--done { background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 3px #fff; } /* taste-skill-ignore: inside the data-ui fragment of 보물맵 / invisible scroll marker */
.mk--go { background: #fff; border-radius: 50%; box-shadow: inset 0 0 0 4px var(--accent); } /* taste-skill-ignore: inside the data-ui fragment of 보물맵 / invisible scroll marker */
.mk--miss { background: #8b8b86; border-radius: 50%; box-shadow: 0 0 0 3px #fff; } /* taste-skill-ignore: inside the data-ui fragment of 보물맵 / invisible scroll marker */
.mk--warn { width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; border-bottom: 21px solid #b8432f; }
.mk--park { background: #2f5d8a; border-radius: 4px; box-shadow: 0 0 0 3px #fff; } /* taste-skill-ignore: inside the data-ui fragment of 보물맵 / invisible scroll marker */
.ui-legend { background: #fff; padding: 22px 24px; aspect-ratio: 3 / 4; display: flex; flex-direction: column; justify-content: center; font-family: system-ui, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; }
.ui-legend p { font-size: 14px; color: #555; margin-bottom: 14px; }
.ui-legend ul { display: grid; gap: 14px; font-size: 16px; color: #1a1a1a; }
.ui-legend li { display: flex; align-items: center; gap: 12px; }

/* Names in columns */
.names { align-items: start; }
.names h2 { grid-column: 1 / 4; font-size: var(--step-lead); }
.names__cols { grid-column: 5 / 13; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
.names__cols li { font-size: var(--step-body); line-height: 1.55; }
.names__cols .names__kind { color: var(--muted); font-style: italic; }

/* Diagonal */
.diagonal { row-gap: 0; align-items: start; }
.diagonal__title { grid-column: 7 / 13; grid-row: 1; font-size: var(--step-head); font-weight: 400; }
.stage { display: contents; }
.stage figure img { aspect-ratio: inherit; }
.stage--1 figure { grid-column: 1 / 5; grid-row: 1 / 3; aspect-ratio: 3 / 4; }
.stage--1 figure img { object-position: 74% 50%; }
.stage--1 p { grid-column: 5 / 8; grid-row: 2; align-self: start; margin-top: 48px; }
.stage--2 figure { grid-column: 6 / 9; grid-row: 3; margin-top: -160px; overflow: visible; }
.stage--2 .find--jar { transform: rotate(-4deg); }
.stage--2 p { grid-column: 9 / 12; grid-row: 3; margin-top: -120px; }
.stage--3 figure.tint { grid-column: 8 / 13; grid-row: 4; aspect-ratio: 16 / 10; margin-top: 140px; }
.stage--3 .find--bowl { grid-column: 7 / 9; grid-row: 4; align-self: start; margin-top: 60px; width: 82%; z-index: 3; transform: rotate(-12deg); }
.stage--3 p { grid-column: 3 / 7; grid-row: 4; margin-top: 140px; }
.stage p { font-size: var(--step-body); max-width: 36ch; }
.stage figure { overflow: hidden; }

/* HS Coin: statement, table pushed right */
.coin { align-items: start; }
.coin__title { grid-column: 1 / 13; font-size: var(--step-head); line-height: 1.06; max-width: 20ch; }
.coin__lead { grid-column: 1 / 7; margin-top: 32px; font-size: var(--step-body); max-width: 40ch; }
.coin__body { grid-column: 1 / 13; display: grid; grid-template-columns: subgrid; margin-top: 96px; align-items: end; }
.coin__picture { grid-column: 1 / 6; grid-row: 1 / 4; align-self: start; }
.coin__picture figcaption { background: var(--bg); margin-top: 0; padding-top: 16px; }
.coin__picture img { aspect-ratio: 1; object-fit: contain; padding: 4%; transition: opacity 260ms ease, transform 420ms var(--ease-out); }
.coin__picture img.is-swapping { opacity: 0; transform: translateX(-24px) rotate(-40deg); }
.coin__record { display: grid; gap: 10px; margin-top: 16px; color: var(--ink); font-size: var(--step-small); }
.coin__record div { display: grid; grid-template-columns: 5em 1fr; gap: 12px; }
.coin__record dt { color: var(--muted); }
.coin__word { grid-column: 6 / 8; grid-row: 1; align-self: start; font-size: var(--step-small); color: var(--muted); padding-top: 14px; }
.coin__table { grid-column: 8 / 13; grid-row: 1; align-self: start; }
.coin__table li + li { margin-top: 4px; }
.coin__table li.gap { margin-top: 28px; }
.coin__table button {
  width: 100%; display: grid; grid-template-columns: 4em 1fr auto; gap: 12px; align-items: baseline;
  padding: 12px 14px; background: transparent; border: 0; text-align: left; cursor: pointer;
  font: 400 var(--step-body)/1.35 var(--font); color: var(--ink);
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.coin__table button:active { transform: scale(0.985); }
.coin__table .k { color: var(--muted); font-size: var(--step-small); }
.coin__table .v { font-variant-numeric: tabular-nums; }
.coin__table button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.coin__table button[aria-pressed="true"] .k { color: var(--accent-ink); }
@media (hover: hover) and (pointer: fine) { .coin__table button[aria-pressed="false"]:hover { background: var(--surface); } }
.coin__status { grid-column: 8 / 13; grid-row: 3; margin-top: 40px; font-size: var(--step-small); max-width: 40ch; }
.coin__record { grid-column: 8 / 13; grid-row: 2; margin-top: 40px; }

/* HS Trail: one held picture, stepping statements */
.trail { position: relative; height: 300vh; }
.trail__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--field-1); }
.trail__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trail__scrim { display: none; }
.trail__lines { position: absolute; top: calc(70px + 6vh); left: 50%; transform: translateX(-50%); text-align: center; display: grid; gap: 10px; color: var(--field-1-muted); width: min(92vw, 560px); padding: 28px 32px; background: rgba(10, 12, 11, .72); }
.trail__lines li { font-size: var(--step-body); line-height: 1.35; transition: color 300ms ease; }
.trail__lines li h2 { font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: 0; }
.trail__lines li.is-on { color: #fff; font-weight: 600; }
.trail__pics img { position: absolute; width: clamp(160px, 15vw, 240px); height: auto; opacity: 0; transform: translateY(24px); transition: opacity 500ms ease, transform 700ms var(--ease-out); }
.trail__pics img.l { left: calc(50% - 38vw); top: 52vh; aspect-ratio: 4 / 5; object-fit: cover; }
.trail__pics img.r { right: calc(50% - 38vw); top: 62vh; aspect-ratio: 16 / 11; object-fit: cover; }
.trail__pics img.is-on { opacity: 1; transform: none; }

/* Delivery: the late black band */
.delivery { background: var(--field-1); color: var(--field-1-ink); padding-block: clamp(96px, 10vw, 160px); align-items: start; }
.trail + .delivery { margin-top: 0; }
.delivery__figure { grid-column: 1 / 6; font-size: clamp(9rem, 26vw, 24rem); line-height: .78; font-weight: 400; letter-spacing: -0.05em; color: var(--field-1-ink); }
.delivery__text { grid-column: 7 / 13; }
.delivery h2 { font-size: var(--step-lead); }
.delivery__text > p { margin-top: 28px; max-width: 40ch; }
.delivery__facts { margin-top: 48px; display: grid; gap: 14px; }
.delivery__facts div, .delivery__road li { display: grid; grid-template-columns: 9em 1fr; gap: 16px; }
.delivery__facts dt, .delivery__road li span:first-child { color: var(--field-1-muted); }
.delivery h3 { margin-top: 72px; font-size: var(--step-lead); }
.delivery__road { margin-top: 20px; display: grid; gap: 12px; }
.delivery__note { margin-top: 20px; font-size: var(--step-small); color: var(--field-1-muted); }

/* Contact */
.contact { align-items: start; padding-bottom: 40px; }
.contact__sentence { grid-column: 1 / 6; font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.01em; }
.contact__pic { grid-column: 7 / 9; aspect-ratio: 1; }
.contact__links { grid-column: 9 / 13; display: grid; gap: 12px; align-content: start; }
.contact__links h2 { font-size: var(--step-lead); margin-bottom: 8px; }
.contact__links .link { font-size: var(--step-body); }
.contact__links p { font-size: var(--step-small); color: var(--muted); margin-top: 8px; }

/* Footer */
.foot { background: var(--field-1); color: var(--field-1-ink); margin-top: var(--gap-section); padding-top: clamp(48px, 6vw, 96px); overflow: hidden; }
.foot__name { padding-inline: var(--margin); font-size: var(--step-display); line-height: .9; font-weight: 500; letter-spacing: -0.045em; white-space: nowrap; }
.foot__row { margin-top: 72px; align-items: start; }
.foot__places { grid-column: 1 / 6; display: grid; gap: 10px; }
.foot__places a { font-size: var(--step-lead); color: #9fd3b6; text-decoration: none; }
.foot__places a:active { opacity: .7; }
@media (hover: hover) and (pointer: fine) { .foot__places a:hover, .foot__cols a:hover { text-decoration: underline; text-underline-offset: .2em; } }
.foot__cols { grid-column: 7 / 13; display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; font-size: var(--step-small); line-height: 1.55; }
.foot__cols a { display: block; text-decoration: none; padding: 3px 0; }
.foot__head { color: var(--field-1-muted); margin-bottom: 8px; }
.foot__credits { grid-column: 1 / -1; margin-top: 24px; }
.foot__credit-text { color: var(--field-1-ink); max-width: 110ch; }
.foot__credit-text a { display: inline; padding: 0; text-decoration: underline; text-underline-offset: .15em; }
.foot__legal { display: flex; justify-content: space-between; gap: 16px; padding: 96px var(--margin) 32px; font-size: var(--step-small); color: var(--field-1-muted); }
.foot__legal a { color: var(--field-1-ink); }

/* Entrances */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .shutter { clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease-in-out); }
  .js .shutter video { transform: scale(1.12); transition: transform 1500ms var(--ease-soft); }
  .js .shutter.is-in { clip-path: inset(0); }
  .js .shutter.is-in video { transform: none; }
  .js .stage figure img { transform: scale(1.06); transition: transform 1600ms var(--ease-soft); }
  .js .stage figure.is-in img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .trail__pics img { transition: none; }
}

/* Tablet and phone: one composition, six columns */
@media (max-width: 1024px) {
  :root { --margin: clamp(20px, 5vw, 40px); }
  .bar { grid-template-columns: 1fr auto; }
  .bar__links, .bar__cta { display: none; }
  .menu-button { display: inline-flex; align-items: center; }

  .hero, .showcase, .names, .diagonal, .coin, .delivery, .contact, .foot__row { grid-template-columns: repeat(6, minmax(0, 1fr)); }

  .hero { padding-top: 24px; }
  .hero__text { grid-column: 1 / 5; grid-row: 1; margin-top: 8px; }
  .hero h1 { font-size: clamp(28px, 5.4vw, 48px); }
  .find--hero { grid-column: 5 / 7; grid-row: 1; align-self: start; margin-top: 8px; }
  .find--corner { grid-column: 5 / 7; grid-row: 2; align-self: end; justify-self: end; width: 72%; margin: 0 0 24px; }
  .print--tall { grid-column: 1 / 6; grid-row: 2; margin-top: 48px; }
  .print--tall video { aspect-ratio: 4 / 5; }
  .print--tall figcaption { display: none; }
  .hero__text p { max-width: 36ch; }
  .print--wide { grid-column: 1 / 7; grid-row: 3; margin: 56px calc(var(--margin) * -1) 0; }
  .print--wide figcaption { padding-inline: var(--margin); }

  .showcase__side, .run { grid-column: 1 / 7; }
  .showcase__side { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gutter); align-items: start; }
  .showcase__side > * { grid-column: 1; }
  .showcase__notes { grid-column: 2; grid-row: 1 / 5; margin-top: 0; padding-top: 8px; }
  .run { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: start; justify-content: stretch; }
  .frame, .frame--lifted { height: auto; min-height: 0; }
  .frame--lifted { grid-column: 1 / -1; }
  .frame--lifted .ui-map { width: 100%; height: auto; aspect-ratio: 15 / 16; }
  .frame > img { width: 100%; height: auto; aspect-ratio: 390 / 760; }
  .frame > .ui-legend { width: 100%; height: auto; }

  .names h2, .names__cols { grid-column: 1 / 7; }
  .names__cols { margin-top: 28px; grid-template-columns: 1fr 1fr; row-gap: 32px; column-gap: 20px; }

  .diagonal__title { grid-column: 1 / 7; margin-bottom: 32px; }
  .stage--1 figure { grid-column: 1 / 7; grid-row: auto; aspect-ratio: 4 / 5; }
  .stage--1 p { grid-column: 1 / 7; grid-row: auto; margin: 20px 0 56px; }
  .stage--2 figure { grid-column: 2 / 6; grid-row: auto; margin: 0; }
  .stage--2 p { grid-column: 3 / 7; grid-row: auto; margin: 20px 0 56px; }
  .stage--3 figure.tint { grid-column: 1 / 7; grid-row: auto; margin: 0; }
  .stage--3 .find--bowl { grid-column: 4 / 7; grid-row: auto; width: 100%; margin: 0 0 -60px; }
  .stage--3 p { grid-column: 1 / 6; grid-row: auto; margin: 20px 0 0; }

  .coin__title, .coin__lead { grid-column: 1 / 7; }
  .coin__body { grid-column: 1 / 7; margin-top: 40px; display: flex; flex-direction: column; align-items: stretch; }
  .coin__word { display: none; }
  .coin__table { order: 1; }
  .coin__table button { grid-template-columns: 3.6em 1fr auto; min-height: 52px; }
  .coin__picture { order: 2; margin-top: 28px; width: min(76%, 420px); align-self: flex-end; }
  .coin__status { order: 4; margin-top: 28px; }
  .coin__record { order: 3; margin-top: 20px; }
  .trail__lines { padding: 20px; }

  .trail { height: 320vh; }
  .trail__lines { top: auto; bottom: 7vh; left: var(--margin); right: var(--margin); transform: none; width: auto; text-align: left; }
  .trail__pics img.l { left: auto; right: 16px; top: 76px; width: 44vw; max-width: 260px; }
  .trail__pics img.r { display: none; }

  .delivery__figure { grid-column: 1 / 7; font-size: clamp(9rem, 40vw, 18rem); }
  .delivery__text { grid-column: 1 / 7; margin-top: 24px; }
  .delivery__facts div, .delivery__road li { grid-template-columns: 6.5em 1fr; }

  .contact__sentence { grid-column: 1 / 7; }
  .contact__pic { grid-column: 1 / 3; margin-top: 32px; }
  .contact__links { grid-column: 3 / 7; margin-top: 32px; padding-left: 8px; }
  .contact__links .link { word-break: break-all; }

  .foot__places, .foot__cols { grid-column: 1 / 7; }
  .foot__cols { margin-top: 40px; }
}
@media (max-width: 520px) {
  .hero__text { grid-column: 1 / 7; }
  .find--hero { grid-column: 1 / 3; grid-row: 1; width: 92%; margin: 0 0 16px; }
  .hero__text { grid-row: 2; }
  .print--tall { grid-row: 3; }
  .find--corner { grid-row: 3; grid-column: 4 / 7; width: 64%; }
  .print--wide { grid-row: 4; }
  .showcase__side { display: flex; }
  .showcase__notes { padding-top: 24px; }
  .hero__text .button { width: 100%; }
  .foot__cols { grid-template-columns: 1fr; }
}
