/* donbranzuela.com — crate label system */

:root {
  --blue: #1a3d8f;
  --navy: #0c1a3a;
  --marigold: #f08a1c;
  --lemon: #f7cd1e;
  --green: #1d6f45;
  --lime: #b5d64a;
  --tomato: #c9301f;
  --cream: #fff2d2;
  --stock: #ffffff;

  --display: "Bowlby One", "Arial Black", sans-serif;
  --script: "Yellowtail", cursive;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Barlow", system-ui, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --key: clamp(8px, 1.3vw, 18px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--lemon); color: var(--navy); }
.ink-lemon ::selection, .ink-marigold ::selection, .ink-stock ::selection { background: var(--navy); color: var(--cream); }

a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--hi); }

:focus-visible { outline: 3px solid var(--hi, var(--lemon)); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--lemon); color: var(--navy); padding: 0.6rem 1rem;
  font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.skip:focus { top: 1rem; }

/* ---------- inks ---------- */

.ink-blue     { --bg: var(--blue);     --fg: var(--cream); --head: var(--cream); --hi: var(--lemon);  --sh1: var(--navy);  --sh2: var(--tomato); }
.ink-marigold { --bg: var(--marigold); --fg: var(--navy);  --head: var(--navy);  --hi: var(--blue);   --sh1: var(--cream); --sh2: var(--blue); }
.ink-lemon    { --bg: var(--lemon);    --fg: var(--navy);  --head: var(--navy);  --hi: var(--tomato); --sh1: var(--cream); --sh2: var(--tomato); }
.ink-green    { --bg: var(--green);    --fg: var(--cream); --head: var(--lemon); --hi: var(--lemon);  --sh1: var(--navy);  --sh2: var(--navy); }
.ink-tomato   { --bg: var(--tomato);   --fg: var(--cream); --head: var(--cream); --hi: var(--lemon);  --sh1: var(--navy);  --sh2: var(--navy); }
.ink-navy     { --bg: var(--navy);     --fg: var(--cream); --head: var(--lemon); --hi: var(--lemon);  --sh1: var(--tomato); --sh2: var(--tomato); }
.ink-stock    { --bg: var(--stock);    --fg: var(--navy);  --head: var(--navy);  --hi: var(--tomato); --sh1: var(--lemon); --sh2: var(--lemon); }

.field { background: var(--bg); color: var(--fg); }

/* a label: full-bleed ink with an inset double keyline */
.label { position: relative; padding: clamp(3.5rem, 8vw, 7rem) var(--gutter); overflow: hidden; }
.label::before, .label::after { content: ""; position: absolute; pointer-events: none; border: solid var(--fg); }
.label::before { inset: var(--key); border-width: 2px; }
.label::after  { inset: calc(var(--key) + 6px); border-width: 1px; }

.wrap { position: relative; z-index: 1; max-width: 72rem; margin-inline: auto; }

/* ---------- type ---------- */

.wood {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.005em;
  color: var(--head);
  text-shadow: 0.045em 0.045em 0 var(--sh1), 0.09em 0.09em 0 var(--sh2);
  text-wrap: balance;
}
h2.wood { font-size: clamp(2.3rem, 6.2vw, 4.75rem); }
h3 { font-family: var(--cond); font-weight: 700; font-size: 1.5rem; line-height: 1.15; text-transform: uppercase; letter-spacing: 0.04em; }

.script { font-family: var(--script); font-weight: 400; line-height: 1.05; }

.lede { font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.45; font-weight: 500; max-width: 38ch; }
.copy { max-width: 62ch; }
.copy > * + * { margin-top: 1em; }

.tag {
  display: inline-block; font-family: var(--cond); font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.08em; line-height: 1;
  padding: 0.45em 0.7em 0.4em; background: var(--fg); color: var(--bg); border-radius: 2px;
}

.ribbon {
  display: inline-block;
  background: var(--tomato); color: var(--cream);
  font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.15;
  padding: 0.55em 1.7em 0.5em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.75em) 50%, 100% 100%, 0 100%, 0.75em 50%);
}
.ink-tomato .ribbon { background: var(--navy); }

/* ---------- controls ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 0.55em; min-height: 3rem;
  padding: 0.7em 1.35em 0.65em;
  font-family: var(--cond); font-weight: 700; font-size: 1.15rem; line-height: 1.1;
  text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; text-align: center;
  background: var(--fg); color: var(--bg);
  border: 2px solid var(--fg); border-radius: 3px;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { background: transparent; color: var(--fg); }
.btn:active { transform: translateY(2px); }
.btn.quiet { background: transparent; color: var(--fg); }
.btn.quiet:hover { background: var(--fg); color: var(--bg); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.go { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.go svg { display: inline-block; width: 0.95em; height: 0.95em; vertical-align: -0.08em; margin-left: 0.3em; transition: transform 0.25s var(--ease); }
a:hover .go svg, .go:hover svg { transform: translateX(4px); }

/* ---------- top band ---------- */

section[id], main [id] { scroll-margin-top: 5.5rem; }
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--navy); color: var(--cream); --hi: var(--lemon);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.4rem 2rem;
  padding: 0.8rem var(--gutter);
}
.top .brand { font-family: var(--display); font-size: 1.15rem; text-transform: uppercase; text-decoration: none; letter-spacing: 0.01em; color: var(--lemon); }
.wm-a { color: var(--lemon); }
.wm-b { color: var(--marigold); }
.wm-c { color: var(--cream); }
.top nav ul { display: flex; flex-wrap: wrap; gap: 0.2rem 1.5rem; }
.top nav a {
  display: inline-block; padding: 0.55rem 0;
  font-family: var(--cond); font-weight: 600; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.07em;
  text-decoration: none; border-bottom: 2px solid transparent;
}
.top nav a:hover, .top nav a[aria-current="page"] { border-bottom-color: var(--lemon); }

/* ---------- hero label ---------- */

.hero { display: grid; grid-template-rows: 1fr auto; min-height: min(calc(100svh - 4.5rem), 54rem); padding: 0; }
.hero::before, .hero::after { content: none; }
.hero-face::before, .hero-face::after { content: ""; position: absolute; pointer-events: none; border: solid var(--fg); }
.hero-face::before { inset: var(--key); border-width: 2px; }
.hero-face::after { inset: calc(var(--key) + 6px); border-width: 1px; }
.hero-face {
  position: relative; z-index: 1;
  display: grid; justify-items: center; align-content: center; text-align: center;
  padding: clamp(2.2rem, 4.5vw, 3.6rem) var(--gutter) clamp(2rem, 4vw, 3rem);
}
.hero-name { font-size: clamp(2.7rem, 9.4vw, 6rem); }

.roundel { position: relative; width: clamp(13rem, 25vw, 18.5rem); margin-top: clamp(1.2rem, 2.4vw, 2rem); }
.roundel .fruit { position: absolute; left: -42%; top: -14%; width: 184%; max-width: none; height: 128%; }
.roundel .disc {
  position: relative; aspect-ratio: 1; border-radius: 50%;
  background: var(--navy); border: clamp(5px, 0.6vw, 8px) solid var(--cream);
  outline: 3px solid var(--navy); overflow: hidden;
}
.roundel .disc img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.roundel .place {
  position: absolute; left: -38%; top: -6%; z-index: 2; transform: rotate(-9deg);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); color: var(--lemon);
  text-shadow: 0.05em 0.05em 0 var(--navy);
}
.roundel .ribbon {
  position: absolute; left: 50%; top: calc(100% - 1.6rem); z-index: 2; transform: translateX(-50%);
  width: max-content; max-width: min(88vw, 31rem); text-align: center; text-wrap: balance;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  outline: 0;
}
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.hero-line { margin-top: clamp(3rem, 4vw, 3.4rem); max-width: 44ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 500; text-wrap: balance; }

@media (prefers-reduced-motion: no-preference) {
  .roundel .disc { animation: paste 0.9s var(--ease) both; }
  .roundel .fruit { animation: settle 1.1s var(--ease) both; }
  .roundel .ribbon { animation: unfurl 0.8s 0.35s var(--ease) both; }
  @keyframes paste { from { transform: scale(0.84) rotate(-7deg); } to { transform: none; } }
  @keyframes settle { from { transform: scale(0.7) rotate(10deg); } to { transform: none; } }
  @keyframes unfurl { from { transform: translateX(-50%) scale(0.82) rotate(-3deg); } to { transform: translateX(-50%); } }
}

/* the packer band: four inked panels, the four doors */
.band { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 3px solid var(--navy); background: var(--navy); gap: 3px; }
.band a {
  position: relative; display: grid; align-content: space-between; gap: 0.9rem;
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2.2vw, 1.75rem) clamp(1.1rem, 2vw, 1.4rem);
  background: var(--bg); color: var(--fg); text-decoration: none;
  transition: transform 0.3s var(--ease);
}
.band a::after { content: ""; position: absolute; inset: auto 0 -8px 0; height: 8px; background: var(--cream); transform: scaleY(0); transform-origin: top; transition: transform 0.3s var(--ease); }
.band a:hover, .band a:focus-visible { transform: translateY(-8px); }
.band a:hover::after, .band a:focus-visible::after { transform: scaleY(1); }
.band .need { font-family: var(--display); font-size: clamp(1.05rem, 1.7vw, 1.45rem); line-height: 1.08; text-transform: uppercase; text-wrap: balance; }
.band .go { font-size: 1.05rem; white-space: normal; }

/* ---------- venture labels ---------- */

.venture .wrap { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.venture header { display: grid; gap: 1.1rem; justify-items: start; }
.venture .art { position: absolute; z-index: 1; pointer-events: none; }
.venture .wrap { z-index: 2; }

.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }

/* Labs */
.steps { display: grid; gap: 1.4rem; counter-reset: step; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; counter-increment: step; }
.steps li::before {
  content: counter(step); grid-row: span 2;
  width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%;
  background: var(--fg); color: var(--bg); font-family: var(--display); font-size: 1.2rem;
}
.steps h3 { align-self: center; }
.steps p { grid-column: 2; margin-top: 0.3rem; }

.ladder { border-top: 3px solid var(--fg); }
.ladder li { display: grid; grid-template-columns: 1fr auto; gap: 0.15rem 1.5rem; align-items: baseline; padding: 0.95rem 0; border-bottom: 1px solid var(--fg); }
.ladder li:last-child { border-bottom-width: 3px; }
.ladder a { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; text-decoration: none; }
.ladder .what { font-family: var(--cond); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.15; }
.ladder a:hover .what { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.ladder .price { font-family: var(--display); font-size: 1.05rem; text-align: right; white-space: nowrap; text-transform: uppercase; font-variant-numeric: proportional-nums; }
.ladder .note { grid-column: 1 / -1; font-size: 1rem; }
.ladder-title { margin-bottom: 0.9rem; }

.quote { max-width: 46ch; }
.quote p { font-size: clamp(1.25rem, 2.1vw, 1.6rem); line-height: 1.35; font-weight: 600; text-wrap: pretty; }
.quote footer { margin-top: 0.8rem; font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

.art-comb { right: -3rem; top: -2.5rem; width: clamp(14rem, 30vw, 26rem); }

/* Boo Boo's */
.boo .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: center; }
.boo .said { font-size: clamp(2rem, 4.4vw, 3.4rem); color: var(--tomato); transform: rotate(-3deg); transform-origin: left center; }
.plate { position: relative; margin: 0; border: 3px solid var(--navy); background: var(--navy); }
.plate img { width: 100%; height: auto; }
.copy .plate { margin-top: 1.6rem; max-width: 34rem; }
.plate.stand { justify-self: center; width: 100%; max-width: 23rem; transform: rotate(2deg); }
.plate.stand .lemon { position: absolute; right: -2.6rem; top: -2.4rem; width: 8.5rem; transform: rotate(12deg); }
.plate.speaker { width: clamp(12rem, 19vw, 16rem); transform: rotate(3deg); border-color: var(--cream); background: var(--cream); }
.aside-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem 4rem; }
.yaig { display: flex; align-items: center; gap: 1.2rem; max-width: 26rem; text-decoration: none; font-weight: 600; }
.yaig img { width: 8.5rem; height: 8.5rem; flex: none; border-radius: 50%; outline: 3px solid var(--navy); }
.yaig:hover span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.flavors { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.flavors li { font-family: var(--cond); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.3em 0.75em 0.25em; border: 2px solid var(--navy); border-radius: 999px; }
.fact { font-weight: 700; }

/* Citrus Social */
.menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--lemon); border-bottom: 3px solid var(--lemon); }
.menu div { padding: 1.3rem 1.4rem 1.4rem 0; border-bottom: 1px solid var(--lime); }
.menu div:nth-child(3n+2), .menu div:nth-child(3n) { padding-left: 1.4rem; border-left: 1px solid var(--lime); }
.menu div:nth-last-child(-n+3) { border-bottom: 0; }
.menu dt { font-family: var(--display); font-size: 1.2rem; text-transform: uppercase; color: var(--lemon); line-height: 1.1; }
.menu dd { margin-top: 0.5rem; font-size: 1.05rem; line-height: 1.5; }
.art-wheel { right: -5rem; top: -5rem; width: clamp(13rem, 26vw, 22rem); }
.citrus header { max-width: 44rem; }

/* JT */
.roll { display: grid; gap: 1.6rem; }
.roll h3 { margin-bottom: 0.6rem; color: var(--lemon); }
.names { display: flex; flex-wrap: wrap; gap: 0.15rem 0; font-family: var(--cond); font-weight: 600; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.3; }
.names li:not(:last-child)::after { content: "·"; margin: 0 0.55em; color: var(--lemon); }
.art-box { right: clamp(3rem, 8vw, 8rem); top: 50%; width: clamp(11rem, 19vw, 16rem); transform: translateY(-38%) rotate(7deg); }
.roll { max-width: 46rem; }

/* statement */
.statement .wrap { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.statement .wood { font-size: clamp(2.2rem, 6.6vw, 5.4rem); max-width: 16ch; }
.statement .two { align-items: end; }

.topics { border-top: 3px solid var(--fg); }
.topics li { padding: 0.9rem 0; border-bottom: 1px solid var(--fg); }
.topics strong { display: block; font-family: var(--cond); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.2; }

/* legend: the rest of the crate */
.legend { border-top: 3px solid var(--lemon); }
.legend li { border-bottom: 1px solid var(--blue); }
.legend li:last-child { border-bottom: 3px solid var(--lemon); }
.legend a, .legend .row {
  display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr) auto; gap: 0.3rem 2rem; align-items: baseline;
  padding: 1.15rem 0; text-decoration: none; transition: padding 0.3s var(--ease), background-color 0.3s var(--ease);
}
.legend a:hover, .legend a:focus-visible { background: var(--blue); padding-inline: 1rem; }
.legend .name { font-family: var(--display); font-size: 1.3rem; text-transform: uppercase; line-height: 1.1; color: var(--lemon); }
.legend .soon { color: var(--lime); }

.feature { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; }
.feature h2.wood { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.agenda a { grid-template-columns: minmax(0, 11.5rem) minmax(0, 1fr) auto; }
.agenda .when { font-family: var(--display); font-size: 1.2rem; white-space: nowrap; text-transform: uppercase; line-height: 1.1; color: var(--lemon); }
.agenda .when small { display: block; margin-top: 0.3rem; font-family: var(--cond); font-weight: 600; font-size: 1rem; letter-spacing: 0.06em; color: var(--fg); }
.agenda .what strong { display: block; font-family: var(--cond); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.2; }
.agenda .what em { font-style: normal; font-family: var(--cond); font-weight: 700; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--lime); white-space: nowrap; }
.ink-green .legend, .ink-green .legend li:last-child { border-color: var(--lemon); }
.ink-green .legend li { border-bottom-color: var(--lime); }
.ink-green .legend a:hover, .ink-green .legend a:focus-visible { background: var(--navy); }
.legend li[hidden] { display: none; }

/* posts */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); max-width: 46rem; gap: 3px; background: var(--navy); border: 3px solid var(--navy); }
.posts a { display: grid; gap: 0.9rem; align-content: start; padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--bg); text-decoration: none; transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
.posts a:hover, .posts a:focus-visible { background: var(--navy); color: var(--cream); }
.posts h2, .posts h3 { text-transform: uppercase; font-family: var(--display); font-weight: 400; font-size: clamp(1.3rem, 2.4vw, 1.8rem); letter-spacing: 0; line-height: 1.1; text-wrap: balance; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }

/* close */
.close { text-align: center; }
.close .wrap { display: grid; justify-items: center; gap: 1.2rem; }
.close .actions { justify-content: center; margin-top: 0.8rem; }

/* ---------- inner pages ---------- */

.page-head .wrap { display: grid; gap: 1.2rem; justify-items: start; }
.page-head .wood { font-size: clamp(2.4rem, 7vw, 5.2rem); max-width: 14ch; }
.page-head .seal { position: absolute; z-index: 1; right: clamp(2.5rem, 9vw, 9rem); top: 50%; width: clamp(12rem, 21vw, 17rem); transform: translateY(-50%) rotate(-11deg); }
.page-head.with-figure .wrap { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem clamp(4rem, 12vw, 10rem); padding-right: clamp(2rem, 6vw, 6rem); }
.page-head .head-copy { display: grid; gap: 1.2rem; }
.page-head .roundel { margin: 0; }
.post-head .wood { font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 18ch; }
.post-head .lede { max-width: 44ch; }
.post-head .wrap { max-width: 72rem; padding-right: clamp(0rem, 26vw, 22rem); }

.crate > li + li { border-top: 3px solid var(--navy); }
.crate .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 1.5rem 4rem; align-items: center; }
.crate h2.wood { font-size: clamp(2.2rem, 5.2vw, 4rem); }
.crate .lede { max-width: 34ch; }
.crate .role { margin-top: 0.8rem; }

.chapters { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.chapters section { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 1rem 3rem; align-items: start; }
.chapters h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 2.8vw, 2.1rem); text-transform: uppercase; line-height: 1.08; text-wrap: balance; }

.kit { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.kit li { font-family: var(--cond); font-weight: 600; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.3em 0.7em 0.25em; border: 2px solid var(--fg); border-radius: 3px; }

.article { max-width: 44rem; margin-inline: auto; }
.article .body { font-size: 1.2rem; line-height: 1.65; }
.article .body > * + * { margin-top: 1.15em; }
.article .body h2 { margin-top: 2.2em; font-family: var(--cond); font-weight: 700; font-size: 1.7rem; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.15; }
.article .back { margin-top: 3rem; }
.ink-stock.label::before, .ink-stock.label::after { border-color: var(--navy); }

.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; background: var(--navy); border: 3px solid var(--navy); }
.doors a { display: grid; gap: 0.5rem; align-content: start; padding: clamp(1.3rem, 2.6vw, 2rem); background: var(--bg); color: var(--fg); text-decoration: none; transition: transform 0.3s var(--ease); }
.doors a:hover, .doors a:focus-visible { transform: translateY(-6px); }
.doors .need { font-family: var(--display); font-size: clamp(1.2rem, 2.2vw, 1.6rem); text-transform: uppercase; line-height: 1.08; text-wrap: balance; }

.phone { font-variant-numeric: proportional-nums; font-family: var(--display); font-size: clamp(2rem, 6vw, 4rem); line-height: 1; text-decoration: none; color: var(--head); text-shadow: 0.045em 0.045em 0 var(--sh1), 0.09em 0.09em 0 var(--sh2); }
.phone:hover { color: var(--hi); }
.phone .k { margin-inline: -0.05em -0.07em; }

form.inquiry { display: grid; gap: 1.1rem; max-width: 38rem; }
form.inquiry label { display: grid; gap: 0.35rem; font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
form.inquiry input, form.inquiry textarea {
  font: inherit; font-family: var(--text); font-weight: 500; text-transform: none; letter-spacing: 0;
  padding: 0.75rem 0.9rem; color: var(--navy); background: var(--stock); border: 2px solid var(--navy); border-radius: 3px; caret-color: var(--tomato);
}
form.inquiry input::placeholder, form.inquiry textarea::placeholder { color: #55607a; }
form.inquiry textarea { min-height: 9rem; resize: vertical; }
form.inquiry .trap { position: absolute; left: -200vw; }

/* ---------- foot ---------- */

.foot { background: var(--navy); color: var(--cream); --hi: var(--lemon); padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) 2rem; border-top: 3px solid var(--lemon); }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: 2rem 3rem; }
.foot .sig { font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; color: var(--lemon); line-height: 1.05; }
.foot .sig + p { margin-top: 0.8rem; max-width: 34ch; }
.foot h2 { font-family: var(--cond); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--lemon); margin-bottom: 0.6rem; }
.foot li a { display: inline-block; padding: 0.3rem 0; text-decoration: none; }
.foot li a:hover { text-decoration: underline; }
.foot .fine { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--blue); font-size: 0.95rem; }

/* ---------- small screens ---------- */

@media (max-width: 900px) {
  .two, .boo .wrap, .chapters section { grid-template-columns: minmax(0, 1fr); }
  .band { grid-template-columns: repeat(2, 1fr); }
  .menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu div:nth-child(n) { padding: 1.2rem 1rem 1.2rem 0; border-left: 0; border-bottom: 1px solid var(--lime); }
  .menu div:nth-child(2n) { padding-left: 1rem; border-left: 1px solid var(--lime); }
  .menu div:nth-last-child(-n+2) { border-bottom: 0; }
  .legend a, .legend .row { grid-template-columns: minmax(0, 1fr) auto; }
  .legend .what { grid-column: 1 / -1; grid-row: 2; }
  .agenda a { grid-template-columns: minmax(0, 1fr) auto; }
  .feature { grid-template-columns: minmax(0, 1fr); }
  .crate .wrap { grid-template-columns: minmax(0, 1fr); }
  .foot .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot .wrap > :first-child { grid-column: 1 / -1; }
  .plate.stand { max-width: 19rem; margin-top: 1rem; }
  .plate.stand .lemon { width: 6.5rem; right: -1rem; top: -2rem; }
  .plate.speaker { justify-self: start; width: 12rem; margin: 0.5rem 0 0 0.5rem; }
  .page-head { padding-bottom: 11.5rem; }
  .page-head.with-figure { padding-bottom: clamp(3.5rem, 8vw, 7rem); }
  .page-head .seal { top: auto; right: calc(var(--key) + 1.1rem); bottom: calc(var(--key) + 1.1rem); width: 8.75rem; transform: rotate(-11deg); }
  .page-head.with-figure .wrap { grid-template-columns: minmax(0, 1fr); padding-right: 0; }
  .page-head .roundel { justify-self: center; margin-block: 1rem 0.5rem; }
  .post-head .wrap { padding-right: 0; }
  .art-comb { opacity: 1; width: 13rem; right: -5rem; top: -4rem; }
  .art-wheel { width: 8rem; right: -3.6rem; top: -3.6rem; }
  .venture .art-box { position: relative; display: block; right: auto; top: auto; width: 7.5rem; margin: -1rem 0 0.5rem auto; transform: rotate(7deg); }
}

@media (max-width: 560px) {
  :root { --gutter: 1.75rem; }
  .label::after, .hero-face::after { content: none; }
  body { font-size: 1.0625rem; }
  .top { justify-content: center; }
  .top { padding-block: 0.6rem 0.3rem; gap: 0; }
  .top .brand { flex-basis: 100%; text-align: center; }
  .top nav ul { justify-content: center; flex-wrap: nowrap; gap: 0 0.9rem; }
  .top nav ul { gap: 0 0.7rem; }
  .top nav a { font-size: 0.86rem; letter-spacing: 0.04em; padding: 0.45rem 0; }
  .band .go svg { display: none; }
  .band .go { font-size: 0.95rem; }
  .hero { min-height: 0; }
  .roundel .fruit { left: -30%; width: 160%; }
  .roundel .place { left: -24%; top: -3%; }
  .roundel .ribbon { width: 19rem; padding-inline: 1.3em; }
  .hero-line { margin-top: 4.2rem; }
  .posts, .doors { grid-template-columns: minmax(0, 1fr); }
  .ladder .price { font-size: 1rem; }
  .ladder li { grid-template-columns: minmax(0, 1fr); }
  .ladder .price { text-align: left; }
  .actions .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
