/* 61 Slab Concreting: the side of a turning agitator drum. Drum aqua from the logo, signwriting ink,
   fresh-slab grey, and one safety orange kept for the action alone. One family: Anybody. */

@font-face {
  font-family: 'Anybody';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: swap;
  src: url(../fonts/anybody-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Anybody';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: swap;
  src: url(../fonts/anybody-italic-latin.woff2) format('woff2');
}

:root {
  --aqua: #c6e6e1;
  --aqua-2: #b5ddd6;
  --ink: #0e1412;
  --ink-2: #2b3633;
  --ink-3: #1c2624;
  --slab: #dcdad3;
  --slab-2: #cdcac2;
  --go: #ff5f15;
  --go-2: #e84d05;
  --on-ink: #c6e6e1;
  --on-ink-2: #a3c4bf;
  --err: #ffb4a3;
  --gut: 16px;
  --sec: clamp(72px, 12vw, 176px);
  --bar: 60px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sign: 'Anybody', 'Arial Narrow', sans-serif;
  color-scheme: light;
  scrollbar-color: var(--ink) var(--aqua);
}
@media (min-width: 768px) { :root { --gut: 32px; --bar: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--aqua);
  color: var(--ink);
  font-family: var(--sign);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-stretch: 100%;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 768px) { body { font-size: 1.125rem; } }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; padding: 0; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
::selection { background: var(--ink); color: var(--aqua); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.quote :focus-visible { outline-color: var(--aqua); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.defs { position: absolute; width: 0; height: 0; }
.skip { position: absolute; left: var(--gut); top: -100px; z-index: 50; background: var(--ink); color: var(--aqua); padding: 12px 16px; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: 1520px; margin-inline: auto; padding-inline: var(--gut); }

/* ---------- signwriting ---------- */
.h2 {
  font-style: italic;
  font-weight: 880;
  font-stretch: 125%;
  text-transform: uppercase;
  font-size: clamp(2.125rem, 7.4vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* ---------- helix bands: the drum's spiral fins, side-on ---------- */
.helix { display: block; width: 100%; overflow: hidden; }
.helix__turn { transform: translateX(calc(var(--turn, 0) * -1px)); will-change: transform; }
.helix--hero { height: clamp(44px, 8vw, 104px); }
.helix--strip { height: clamp(28px, 4.4vw, 56px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  font: italic 820 1.0625rem/1 var(--sign); font-stretch: 112%;
  text-decoration: none; border: 0; border-radius: 0; cursor: pointer; white-space: nowrap;
  transition: background-color 160ms var(--ease), transform 160ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--go { background: var(--go); color: var(--ink); }
.btn--go:hover { background: var(--go-2); }
.btn--ink { background: var(--ink); color: var(--aqua); }
.btn--ink:hover { background: var(--ink-2); }
.ico { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* ---------- bar ---------- */
.bar { position: sticky; top: 0; z-index: 30; background: var(--aqua); }
.bar__inner { display: flex; align-items: center; gap: 16px; min-height: var(--bar); }
.mark {
  display: inline-flex; align-items: baseline; gap: 0.22em; margin-right: auto;
  font: italic 900 1.375rem/1 var(--sign); font-stretch: 140%; text-transform: uppercase; text-decoration: none;
}
@media (min-width: 768px) { .mark { font-size: 1.625rem; } }
.mark__num { background: var(--ink); color: var(--aqua); padding: 0.08em 0.22em 0.04em 0.16em; }
.bar__nav { display: none; }
.bar__quote, .bar__call { min-height: 44px; padding: 0 14px; }
.bar__call span, .bar__long { display: none; }
.bar__inner { gap: 10px; }
@media (min-width: 420px) { .bar__call span, .bar__long { display: inline; } .bar__short { display: none; } .bar__inner { gap: 16px; } }
@media (min-width: 1024px) {
  .bar__nav { display: flex; gap: 32px; margin-right: 16px; }
  .bar__nav a { font-weight: 640; text-decoration: none; padding: 8px 0; }
  .bar__nav a:hover { text-decoration: underline; }
  .bar__quote, .bar__call { min-height: 48px; padding: 0 20px; }
}

/* ---------- hero: the drum side ---------- */
.hero { background: var(--aqua); padding-bottom: clamp(40px, 7vw, 96px); }
.hero__grid { display: grid; gap: 32px; padding-top: clamp(24px, 4vw, 56px); }
.hero__copy { container-type: inline-size; }
.hero__title {
  display: flex; flex-direction: column;
  font-style: italic; font-weight: 900; text-transform: uppercase;
  line-height: 0.86; letter-spacing: -0.02em;
}
.hero__l1, .hero__l2 { white-space: nowrap; }
.hero__l1 { font-stretch: 150%; font-size: 14.4cqi; }
.hero__l2 { font-stretch: 100%; font-size: 13.1cqi; margin-top: 0.06em; }
.hero__lede { margin-top: 24px; max-width: 40ch; font-size: 1.1875rem; line-height: 1.45; font-weight: 520; }
.hero__phone {
  display: inline-block; margin-top: 24px;
  font: italic 900 clamp(2.25rem, 9.6vw, 4rem)/1 var(--sign); font-stretch: 118%;
  text-decoration: none; letter-spacing: -0.01em;
}
.hero__phone:hover { text-decoration: underline; text-decoration-thickness: 4px; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; max-width: 420px; }
.actions .btn { padding: 0 12px; }
.hero__photo { overflow: hidden; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 62%; background: var(--slab); }
figcaption { margin-top: 10px; font-size: 0.9375rem; line-height: 1.45; color: var(--ink-2); }
figcaption a { white-space: nowrap; }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
  .hero__copy { grid-column: 1 / 8; padding-bottom: 8px; }
  .hero__photo { grid-column: 8 / 13; }
  .hero__photo img { aspect-ratio: 9 / 14; max-height: calc(100svh - var(--bar) - clamp(44px, 8vw, 104px) - 136px); min-height: 400px; object-position: 50% 70%; }
}

/* ---------- what we pour ---------- */
.pour { background: var(--slab); padding-block: var(--sec); }
.pour__quote { margin-top: 20px; max-width: 30ch; }
.pour__quote p { font: italic 720 clamp(1.5rem, 3vw, 2.25rem)/1.15 var(--sign); font-stretch: 108%; }
.pour__quote footer { margin-top: 8px; color: var(--ink-2); font-size: 0.9375rem; }
.svc { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: 48px; }
.svc__name {
  font-style: italic; font-weight: 860; font-stretch: 122%; text-transform: uppercase;
  font-size: clamp(1.625rem, 5.6vw, 3.25rem); line-height: 1; letter-spacing: -0.01em; text-wrap: balance;
}
.svc__text p { margin-top: 12px; max-width: 48ch; }
@media (max-width: 1023px) {
  .svc__item { display: flex; flex-direction: column; }
  .svc__text { display: contents; }
  .svc__photo { order: 2; margin-top: 20px; }
  .svc__text p { order: 3; margin-top: 16px; }
}
.svc__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 72%; background: var(--slab-2); }
.pour__more { margin-top: clamp(40px, 6vw, 72px); max-width: 52ch; font-weight: 560; }
.pour__more a { font-weight: 800; }
@media (min-width: 1024px) {
  .svc { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 64px; row-gap: 0; }
  .svc__item { display: contents; }
  .svc__text {
    grid-column: 1; position: relative; padding: 28px 0 28px 56px; cursor: default;
    color: var(--ink-2); transition: color 240ms var(--ease);
  }
  .svc__text::before {
    content: ''; position: absolute; left: 6px; top: 36px; width: 26px; height: clamp(1.625rem, 3.4vw, 3.25rem);
    background: var(--ink); transform: skewX(-38deg) scaleY(0); transform-origin: bottom;
    transition: transform 320ms var(--ease);
  }
  .svc__item.is-active .svc__text { color: var(--ink); }
  .svc__item.is-active .svc__text::before { transform: skewX(-38deg) scaleY(1); }
  .svc__photo {
    grid-column: 2; grid-row: 1 / span 4; align-self: start; margin-top: 28px;
    position: sticky; top: calc(var(--bar) + 24px);
    opacity: 0; transform: translateY(16px); visibility: hidden;
    transition: opacity 360ms var(--ease), transform 480ms var(--ease), visibility 0s 360ms;
  }
  .svc__item.is-active .svc__photo { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .svc__photo img { aspect-ratio: 3 / 4; max-height: calc(100svh - var(--bar) - 120px); }
  .no-js .svc__photo { visibility: visible; opacity: 1; }
}

/* ---------- pour day ---------- */
.day { background: var(--aqua); padding-bottom: var(--sec); }
.day > .wrap:first-of-type { padding-top: clamp(56px, 9vw, 128px); }
.day__lede { margin-top: 16px; max-width: 46ch; font-size: 1.1875rem; font-weight: 520; }
ol.frames {
  display: grid; gap: 32px; margin-top: clamp(32px, 5vw, 56px);
  max-width: 1520px; margin-inline: auto; padding: 0 var(--gut);
}
.frame figure { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px; align-items: end; }
.frame img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--aqua-2); }
.frame figcaption { margin-top: 0; color: var(--ink); }
.frame__name { font: italic 880 1.5rem/1 var(--sign); font-stretch: 125%; text-transform: uppercase; }
.frame figcaption p { margin-top: 8px; }
.frame .src { color: var(--ink-2); font-size: 0.9375rem; }
@media (min-width: 640px) {
  .frame figure { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 24px; }
}
@media (min-width: 1024px) {
  ol.frames { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
  .frame figure { display: block; }
  .frame__name { margin-top: 14px; }
  .frame:nth-child(even) { margin-top: 72px; }
}
.rain { display: grid; gap: 24px; margin-top: clamp(64px, 10vw, 144px); align-items: center; }
.rain__photo img { width: min(64%, 360px); aspect-ratio: 4 / 5; object-fit: cover; }
.rain__quote p { font: italic 860 clamp(1.5rem, 3vw, 2.25rem)/1.12 var(--sign); font-stretch: 118%; max-width: 20ch; }
.rain__quote footer { margin-top: 12px; color: var(--ink-2); font-size: 0.9375rem; }
@media (min-width: 1024px) {
  .rain { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
  .rain__photo { grid-column: 3 / 7; }
  .rain__photo img { width: 100%; }
  .rain__quote { grid-column: 7 / 12; }
}

/* ---------- quote: the drum's dark band ---------- */
.quote { background: var(--ink); color: var(--on-ink); padding-bottom: var(--sec); }
.quote__grid { display: grid; gap: 40px; padding-top: clamp(56px, 9vw, 128px); }
.quote__intro p { margin-top: 16px; max-width: 40ch; }
.quote__talk { color: var(--on-ink-2); }
.quote__talk a { color: var(--on-ink); font-weight: 700; }
@media (min-width: 1024px) {
  .quote__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
  .quote__intro { grid-column: 1 / 6; align-self: start; position: sticky; top: calc(var(--bar) + 32px); }
  .qf { grid-column: 6 / 13; }
}
.qf { display: grid; gap: 28px; }
.qf__set { border: 0; margin: 0; padding: 0; min-width: 0; }
.qf legend, .qf label:not(.chip) { display: block; padding: 0; margin-bottom: 10px; font-weight: 720; font-size: 1.0625rem; }
.opt { font-weight: 420; color: var(--on-ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  background: var(--ink-3); color: var(--on-ink); font-weight: 600;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.chip:hover span { background: var(--ink-2); }
.chip input:checked + span { background: var(--aqua); color: var(--ink); font-weight: 760; }
.chip input:focus-visible + span { outline: 3px solid var(--aqua); outline-offset: 3px; }
.qf__row { display: grid; gap: 28px; }
@media (min-width: 640px) { .qf__row { grid-template-columns: 1fr 1fr; gap: 20px; } }
.qf input:not([type='radio']), .qf textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 0; border-radius: 0;
  border-bottom: 3px solid var(--on-ink-2);
  background: #eef4f2; color: var(--ink); font: 500 1.0625rem/1.4 var(--sign); caret-color: var(--go-2);
}
.qf textarea { resize: vertical; min-height: 104px; }
.qf ::placeholder { color: #55625e; opacity: 1; }
.qf [aria-invalid='true'] { border-bottom-color: var(--err); }
.qf__err { margin-top: 8px; color: var(--err); font-weight: 640; font-size: 0.9375rem; }
.qf__summary { background: var(--err); color: var(--ink); padding: 14px 16px; font-weight: 700; }
.qf__send { justify-self: start; min-height: 56px; padding: 0 28px; font-size: 1.125rem; }
.qf__to, .qf__status { color: var(--on-ink-2); font-size: 0.9375rem; }
.qf__status { color: var(--on-ink); font-weight: 600; }
.mail { color: var(--on-ink); font-weight: 650; overflow-wrap: anywhere; }
.demo { display: inline-block; background: var(--aqua); color: var(--ink); font-weight: 760; font-size: 0.9375rem; padding: 1px 8px; margin-left: 4px; }

.drum { display: grid; gap: 12px; }
.drum__body { display: block; width: min(100%, 420px); height: auto; }
.drum__shell { fill: var(--ink-3); }
.drum__fill { fill: var(--slab); transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(var(--fill, 0)); transition: transform 700ms var(--ease); }
.drum__fins { opacity: 0.22; }
.drum__mouth { fill: var(--aqua); opacity: 0.5; }
.drum__m3 { display: block; font: italic 860 1.5rem/1.2 var(--sign); font-stretch: 112%; color: var(--on-ink); }
.drum.is-empty .drum__m3 { font: 600 1.0625rem/1.4 var(--sign); font-stretch: 100%; }
.drum__note { display: block; margin-top: 4px; color: var(--on-ink-2); font-size: 0.9375rem; }

/* ---------- where ---------- */
.area { background: var(--slab); padding-block: var(--sec); }
.area__grid { display: grid; gap: 40px; }
.area__grid p { margin-top: 12px; max-width: 42ch; }
.area__line { font-size: 1.1875rem; font-weight: 640; }
.reach { display: grid; gap: 4px; align-content: start; }
.reach a {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 0 20px;
  background: var(--slab-2); text-decoration: none;
  font: italic 860 clamp(1.5rem, 3vw, 2.25rem)/1 var(--sign); font-stretch: 118%;
  transition: background-color 160ms var(--ease);
}
.reach a:hover { background: var(--aqua); }
.reach .ico { width: 26px; height: 26px; }
@media (min-width: 1024px) {
  .area__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
  .area__grid > div { grid-column: 1 / 7; }
  .reach { grid-column: 7 / 13; }
}

/* ---------- footer: the name returns at full width ---------- */
.foot { background: var(--aqua); padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
.foot .wrap { padding-top: clamp(40px, 6vw, 88px); }
.foot .wrap { container-type: inline-size; }
.foot__name {
  display: flex; flex-direction: column;
  font-style: italic; font-weight: 900; line-height: 0.86; text-transform: uppercase; letter-spacing: -0.02em;
}
.foot__name span { white-space: nowrap; }
.foot__name span:first-child { font-stretch: 150%; font-size: 14.4cqi; }
.foot__name span:last-child { font-stretch: 100%; font-size: 13.1cqi; margin-top: 0.06em; }
.foot__meta { margin-top: 32px; display: grid; gap: 8px; color: var(--ink-2); font-size: 0.9375rem; max-width: 72ch; }
@media (min-width: 1024px) {
  .foot__name { flex-direction: row; align-items: baseline; column-gap: 2.4cqi; }
  .foot__name span:first-child, .foot__name span:last-child { font-size: 6.5cqi; margin-top: 0; }
}

/* ---------- motion: the drum turns with the scroll (helix strips, the gauge), the hero photo drifts
   with it, and the pour-day panels slide in like a strip of frames. Content is never hidden. ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .frame[data-r] { transform: translateX(40px); transition: transform 900ms var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .js .frame[data-r].is-in { transform: none; }
  .hero__photo img { transform: scale(calc(1.02 + var(--drift, 0) * 0.08)) translateY(calc(var(--drift, 0) * -3%)); transform-origin: 50% 70%; will-change: transform; }
}
