/* Gura Dojo: one stylesheet for / (he, rtl) and /en/ (en, ltr). Logical properties only.
   Bidi rules: layout = logical properties; the only rule-mirrored glyph is .i-arrow (see [dir="rtl"] .i-arrow). */

@font-face { font-family: "Noto Serif Hebrew"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/fonts/noto-serif-hebrew-latin.woff2") format("woff2-variations"), url("/fonts/noto-serif-hebrew-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Serif Hebrew"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/fonts/noto-serif-hebrew-hebrew.woff2") format("woff2-variations"), url("/fonts/noto-serif-hebrew-hebrew.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Assistant"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/fonts/assistant-latin.woff2") format("woff2-variations"), url("/fonts/assistant-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Assistant"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/fonts/assistant-hebrew.woff2") format("woff2-variations"), url("/fonts/assistant-hebrew.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }

:root {
  --sumi: #100E0A; --ink: #1B1813; --ink-2: #25201A; --rule: #2B251D; --line: #857560;
  --kuri: #2B1E15; --kuri-2: #3A2A1E; --kuri-rule: #4A3829;
  --washi: #F2EBDD; --washi-2: #E6DCCB; --washi-rule: #D6C8B2; --washi-ink: #2A231B; --umber: #6B4A2E;
  --rice: #EFE6D6; --ash: #A89C8A; --ochre: #C9A46A; --kin: #E2C48E; --brass: #7A5C2C;
  --beni: #C9A46A; --beni-hi: #D6B47E; --beni-lo: #B8925A;
  --focus: #E2C48E; --focus-paper: #2A231B;
  --ok: #7DBA8A; --err: #F08A6E; --off: #7D7466;
  --lift-paper: brightness(1.7) contrast(1.08);
  --serif: "Noto Serif Hebrew", "Noto Serif", "David", Georgia, serif;
  --sans: "Assistant", "Arial Hebrew", "Segoe UI", Arial, sans-serif;
  --ease-in-view: cubic-bezier(0, 0, 0, 1);
  --ease-out-view: cubic-bezier(0.3, 0, 1, 1);
  --ease-focal: cubic-bezier(0.05, 0.7, 0.1, 1);
  --side: 16px; --sec: 64px; --hh: 56px; --nav-h: 44px; --dx: 3px;
  --lh-body: 1.8; --lh-h1: 1.22; --lh-h2: 1.28; --lh-h3: 1.35; --lh-lead: 1.75; --ls-body: 0; --ls-h1: 0;
  color-scheme: dark;
}
:root:lang(en) { --lh-body: 1.65; --lh-h1: 1.12; --lh-h2: 1.15; --lh-h3: 1.25; --lh-lead: 1.5; --ls-body: 0.005em; --ls-h1: -0.01em; --dx: 3px; }
:root[dir="rtl"] { --dx: -3px; }
@media (min-width: 768px) { :root { --side: 32px; --sec: 96px; } }
@media (min-width: 1024px) { :root { --side: max(48px, calc((100vw - 75rem) / 2)); --sec: 128px; --hh: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (min-width: 1024px) { html { scrollbar-gutter: stable; } }
@media (prefers-reduced-motion: no-preference) { html[data-smooth] { scroll-behavior: smooth; } }
body { margin: 0; background: var(--sumi); color: var(--rice); font-family: var(--sans); font-weight: 450; font-size: 1.0625rem; line-height: var(--lh-body); letter-spacing: var(--ls-body); overflow-wrap: break-word; }
body { padding-block-end: calc(52px + 16px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1024px) { body { padding-block-end: 0; } }
img, picture, svg, video { max-inline-size: 100%; }
img { display: block; block-size: auto; }
picture { display: block; }
p, h1, h2, h3, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
.sprite { position: absolute; inline-size: 0; block-size: 0; overflow: hidden; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }
.movement :focus-visible, .about :focus-visible, .contact :focus-visible { outline-color: var(--focus-paper); }
::selection { background: var(--ochre); color: var(--sumi); }
[lang="en"] { font-family: inherit; }

.wrap { padding-inline: var(--side); }
.sec { padding-block: var(--sec); }
section[id] { scroll-margin-block-start: 100px; }
@media (min-width: 1024px) { section[id] { scroll-margin-block-start: 72px; } }

/* type */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; text-wrap: balance; }
h1 { font-weight: 500; font-size: clamp(1.875rem, 1.303rem + 2.441vw, 3.5rem); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); }
h2 { font-size: clamp(1.625rem, 1.317rem + 1.315vw, 2.5rem); line-height: var(--lh-h2); }
h3 { font-weight: 600; font-size: 1.25rem; line-height: var(--lh-h3); }
@media (min-width: 1024px) { h3 { font-size: 1.5rem; } }
p { text-wrap: pretty; max-inline-size: 34rem; }
.lead { font-family: var(--serif); font-weight: 400; font-size: clamp(1.1875rem, 1.121rem + 0.282vw, 1.375rem); line-height: var(--lh-lead); }
.kicker { font-family: var(--sans); font-weight: 600; font-size: 13px; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.2em; color: var(--ochre); }
.kicker:lang(he) { letter-spacing: 0.2em; }

/* skip link, clip based (never moved off-screen) */
.skip { position: fixed; inset-block-start: 16px; inset-inline-start: 16px; z-index: 100; min-block-size: 44px; display: inline-flex; align-items: center; padding-inline: 16px; background: var(--ink-2); color: var(--rice); border-radius: 999px; font-weight: 600; text-decoration: none; clip-path: inset(50%); inline-size: 1px; overflow: hidden; white-space: nowrap; }
.skip:focus { clip-path: none; inline-size: auto; overflow: visible; }

/* header */
.site-header { position: sticky; inset-block-start: 0; z-index: 20; block-size: var(--hh); display: flex; align-items: center; gap: 12px; padding-inline: var(--side); isolation: isolate; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sumi); border-block-end: 1px solid var(--rule); }
.logo-link { display: inline-flex; align-items: center; gap: 12px; min-inline-size: 44px; min-block-size: 44px; text-decoration: none; margin-inline-end: auto; position: relative; z-index: 1; }
.logo-mark { inline-size: 40px; block-size: 40px; border-radius: 50%; }
.wordmark { display: none; font-family: var(--sans); font-weight: 300; font-size: 18px; letter-spacing: 0.32em; color: var(--ochre); }
:root[dir="rtl"] .wordmark { letter-spacing: 0.32em; }
.toggle { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; min-block-size: 44px; min-inline-size: 44px; padding-inline: 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--rice); font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; transition: border-color 180ms, background-color 180ms; }
.toggle:hover { border-color: var(--ochre); background: var(--ink-2); }
.hdr-nav { position: absolute; inset-inline: 0; inset-block-start: var(--hh); block-size: var(--nav-h); z-index: -2; background: var(--sumi); border-block-end: 1px solid var(--rule); transition: transform 250ms var(--ease-in-view); }
.site-header.nav-hidden .hdr-nav { transform: translateY(-100%); visibility: hidden; transition: transform 200ms var(--ease-out-view), visibility 0s linear 200ms; }
.chips { display: flex; block-size: 100%; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-inline: calc(var(--side) - 12px); }
.chips::-webkit-scrollbar { display: none; }
.chips li { flex: none; scroll-snap-align: start; }
.chip { position: relative; display: inline-flex; align-items: center; block-size: var(--nav-h); padding-inline: 12px; color: var(--ash); font-weight: 500; font-size: 15px; line-height: 1.2; white-space: nowrap; text-decoration: none; letter-spacing: 0.01em; transition: color 180ms, background-color 180ms; }
:root:lang(he) .chip { letter-spacing: 0; }
.chip::after { content: ""; position: absolute; inset-inline: 12px; inset-block-end: 6px; block-size: 2px; background: var(--ochre); transform: scaleX(0); transform-origin: left center; transition: transform 200ms var(--ease-in-view); }
:root[dir="rtl"] .chip::after { transform-origin: right center; }
.chip:hover { color: var(--rice); background: var(--ink-2); }
.chip[aria-current="true"] { color: var(--rice); font-weight: 600; }
.chip[aria-current="true"]::after { transform: scaleX(1); }
:root:lang(en) .hdr-nav[data-fade] { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 12px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 12px), transparent); }
main { padding-block-start: var(--nav-h); }
@media (min-width: 1024px) {
  main { padding-block-start: 0; }
  .site-header { gap: 24px; }
  .logo-link { margin-inline-end: 0; }
  .wordmark { display: inline; }
  .hdr-nav { position: static; inset: auto; z-index: auto; block-size: auto; border: 0; background: none; margin-inline-end: auto; transition: none; -webkit-mask-image: none !important; mask-image: none !important; }
  .site-header.nav-hidden .hdr-nav { transform: none; visibility: visible; }
  .chips { padding-inline: 0; overflow: visible; }
  .chip { block-size: 44px; border-radius: 999px; }
  .chip::after { inset-block-end: 6px; }
  .cta--pill { display: inline-flex; }
}

/* CTA */
.cta { display: flex; align-items: center; justify-content: center; gap: 8px; min-block-size: 56px; padding-inline: 28px; border-radius: 999px; background: var(--beni); color: var(--washi); font-family: var(--sans); font-weight: 700; font-size: 17px; line-height: 1; letter-spacing: 0; text-decoration: none; text-align: center; transition: background-color 180ms, transform 100ms; }
:root:lang(en) .cta { letter-spacing: 0.01em; }
.cta:hover { background: var(--beni-hi); }
.cta:active { background: var(--beni-lo); transform: scale(0.97); }
.cta:focus-visible { outline-offset: 3px; }
.cta--pill { min-block-size: 44px; padding-inline: 20px; font-size: 15px; display: none; }
.i { inline-size: 20px; block-size: 20px; flex: none; }
.i-arrow { inline-size: 16px; block-size: 16px; fill: none; stroke: currentColor; transition: translate 180ms var(--ease-in-view); }
[dir="rtl"] .i-arrow { transform: scaleX(-1); }
.cta:hover .i-arrow { translate: var(--dx) -3px; }
@media (min-width: 600px) { .cta:not(.cta--pill) { display: inline-flex; } }
@media (min-width: 1024px) { .cta--pill { display: inline-flex; transition: opacity 220ms var(--ease-in-view), visibility 0s; } .site-header .cta--pill.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 150ms var(--ease-out-view), visibility 0s linear 150ms; } }

/* hero */
.hero { background: var(--sumi); padding-block: 24px 40px; }
.hero__grid { display: block; }
.hero__brand { font-family: var(--serif); font-weight: 600; font-size: clamp(3.25rem, 1.6rem + 7.5vw, 9rem); line-height: 0.9; letter-spacing: 0.01em; color: var(--washi); background: linear-gradient(180deg, var(--washi) 30%, var(--ochre) 120%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-block-end: 0.12em; }
.hero__brand::after { content: ""; display: block; inline-size: 72px; block-size: 2px; margin-block-start: 8px; background: var(--ochre); }
.hero__brand + .kicker { margin-block-start: 10px; }
.hero { background: radial-gradient(ellipse 80% 60% at 20% 0%, var(--kuri-2) 0%, var(--sumi) 70%); }
.kicker + h1 { margin-block-start: 12px; }
.hero__byline { margin-block-start: 16px; font-weight: 500; font-size: 17px; line-height: 1.6; }
.hero__guy { margin-block-start: 4px; font-weight: 500; font-size: 15px; line-height: 1.5; color: var(--ash); }
.hero__act { margin-block-start: 24px; }
.hero__a { font-weight: 600; font-size: 16px; line-height: 1.4; color: var(--ochre); }
.hero__b { margin-block-start: 4px; margin-block-end: 24px; font-weight: 500; font-size: 17px; line-height: 1.6; }
.hero__media { margin-block-start: 24px; margin-inline: calc(-1 * var(--side)); }
.hero__media img { inline-size: 100%; block-size: auto; aspect-ratio: 4 / 3; object-fit: contain; }
@media (min-width: 768px) {
  .hero__byline, .hero__b { font-size: 18px; }
  .hero__guy { font-size: 16px; }
  .hero__media { margin-inline: auto; max-inline-size: 45rem; }
}
@media (min-width: 1024px) {
  .hero { padding-block: 64px; }
  .hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
  .hero__title { grid-column: 1 / span 6; grid-row: 1; align-self: end; }
  .hero__act { grid-column: 1 / span 6; grid-row: 2; align-self: start; }
  .hero__media { grid-column: 7 / span 6; grid-row: 1 / span 2; margin: 0; max-inline-size: none; }
}

/* photos and clips in natural colour, fused into the ground by an eased feathered edge, no frame (mask and blend live on the media element itself) */
.fuse { --ft: 4%; --fr: 4%; --fb: 4%; --fl: 4%;
  --mx: linear-gradient(to right, transparent, rgb(0 0 0 / 0.35) calc(var(--fl) * 0.5), #000 var(--fl), #000 calc(100% - var(--fr)), rgb(0 0 0 / 0.35) calc(100% - var(--fr) * 0.5), transparent);
  --my: linear-gradient(to bottom, transparent, rgb(0 0 0 / 0.35) calc(var(--ft) * 0.5), #000 var(--ft), #000 calc(100% - var(--fb)), rgb(0 0 0 / 0.35) calc(100% - var(--fb) * 0.5), transparent);
  -webkit-mask-image: var(--mx), var(--my); -webkit-mask-composite: source-in;
  mask-image: var(--mx), var(--my); mask-composite: intersect; }
.f-open { --ft: 10%; --fr: 3%; --fb: 3%; --fl: 3%; }
.f-wall { --ft: 4%; --fr: 10%; --fb: 8%; --fl: 10%; filter: var(--lift-paper); mix-blend-mode: multiply; }
.f-circle { --ft: 8%; --fr: 4%; --fb: 12%; --fl: 4%; }
.f-clip { --ft: 6%; --fr: 6%; --fb: 6%; --fl: 6%; }
.f-clip-wide { --ft: 6%; --fr: 5%; --fb: 6%; --fl: 5%; }
.f-judo { --ft: 6%; --fr: 6%; --fb: 6%; --fl: 6%; }
.f-portrait { --ft: 2%; --fr: 3%; --fb: 6%; --fl: 8%; }
.f-dojo { --ft: 8%; --fr: 4%; --fb: 14%; --fl: 4%; }

/* movement (paper): the passage is the screen, the wall photo melts into the paper by multiply */
.movement, .about, .contact { color-scheme: light; background: var(--washi); color: var(--washi-ink); font-weight: 400; --lh-body: 1.75; line-height: var(--lh-body); }
:root:lang(en) :is(.movement, .about, .contact) { --lh-body: 1.6; }
.movement .kicker { color: var(--brass); }
.movement__passage { margin-block-start: 16px; max-inline-size: 22em; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 1.28rem + 0.939vw, 2.125rem); line-height: 1.6; letter-spacing: 0; }
:root:lang(en) .movement__passage { line-height: 1.38; letter-spacing: -0.005em; }
.movement__photo { margin-block-start: 40px; margin-inline: calc(-1 * var(--side)); }
.movement__photo img { inline-size: 100%; }
@media (min-width: 768px) { .movement__photo { margin-inline: auto; max-inline-size: 40rem; } }
@media (min-width: 1024px) {
  .movement__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
  .movement__text { grid-column: 1 / span 6; }
  .movement__photo { grid-column: 7 / span 6; margin: 0; max-inline-size: 40rem; }
}

/* class and the ring */
.class__lead { margin-block-start: 16px; }
.class__circle { margin-block-start: 32px; }
.class__circle.media--still { inline-size: min(100%, 56rem); }
.class { background: var(--sumi); }
.stages { margin-block-start: 48px; display: grid; gap: 64px; }
.stage { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 12px; align-items: center; }
.stage__title { align-self: center; }
.stage__text { grid-column: 1 / -1; }
.stage__text p + p { margin-block-start: 16px; }
.stage .media { grid-column: 1 / -1; margin-block-start: 12px; }
.ring { position: relative; display: block; inline-size: 64px; block-size: 64px; flex: none; }
.ring__svg { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; overflow: visible; }
.ring__track { fill: none; stroke: var(--rule); stroke-width: 1.5; }
.ring__arc { fill: none; stroke: var(--ochre); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 276.46; stroke-dashoffset: calc(276.46 * (1 - var(--n) / 5)); transition: stroke-dashoffset 700ms var(--ease-focal) 100ms; }
.ring__dot { fill: var(--beni); transition: opacity 150ms linear 650ms; }
.ring__num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-weight: 300; font-size: 1.5rem; line-height: 1; font-variant-numeric: lining-nums tabular-nums; color: var(--rice); direction: ltr; }
.stage[data-rv="pre"] .ring__arc { stroke-dashoffset: calc(276.46 * (1 - (var(--n) - 1) / 5)); }
.stage[data-rv="pre"] .ring__dot { opacity: 0; }
/* media boxes take the real ratio of their clip or photo (--ar from the width and height attributes): contain, never cropped, no letterbox */
.media { aspect-ratio: var(--ar); margin-inline: auto; }
.media--tall { inline-size: min(100%, calc(70svh * 9 / 16)); }
.media--wide, .media--still { inline-size: min(100%, 40rem); }
.media picture { block-size: 100%; }
.media video { display: block; }
.media img, .media video { inline-size: 100%; block-size: 100%; object-fit: contain; }
@media (min-width: 1024px) {
  .stages { gap: 96px; }
  .stage { grid-template-columns: 96px minmax(0, 5fr) minmax(0, 7fr); column-gap: 48px; row-gap: 12px; grid-template-rows: auto 1fr; align-items: start; }
  .stage--tall { grid-template-columns: 96px minmax(0, 1fr) auto; }
  .ring { inline-size: 96px; block-size: 96px; grid-row: 1 / span 2; }
  .ring__num { font-size: 2.25rem; }
  .stage__title { grid-column: 2; grid-row: 1; align-self: start; padding-block-start: 0; }
  .stage__text { grid-column: 2; grid-row: 2; }
  .stage .media { grid-column: 3; grid-row: 1 / span 2; margin-block-start: 0; margin-inline: 0; align-self: start; }
  .media--tall { inline-size: min(22.5rem, calc(75svh * 9 / 16)); }
  .stage:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 47.5px; inset-block-start: 104px; inset-block-end: -88px; inline-size: 1px; background: var(--rule); }
}
.class__cta { margin-block-start: 64px; }
@media (min-width: 1024px) { .class__cta { display: flex; justify-content: center; } .class__cta .cta { display: inline-flex; } }

/* about (paper, continues the wall) */
.about { padding-block-start: var(--sec); }
.about__grid { padding-block-start:  0; }
.about h2 { color: var(--washi-ink); }
.about .beats { margin-block-start: 32px; display: grid; gap: 48px; }
.beat p + p { margin-block-start: 12px; }
.beat p { font-weight: 400; }
.beat__lead { font-family: var(--serif); font-size: clamp(1.1875rem, 1.121rem + 0.282vw, 1.375rem); line-height: var(--lh-lead); font-weight: 400; }
.tick { display: block; margin-block-end: 12px; overflow: visible; }
.tick line { stroke: var(--brass); stroke-width: 3; stroke-linecap: round; }
@media (min-width: 1024px) {
  .about__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .about h2 { grid-column: 1 / span 4; position: sticky; inset-block-start: calc(var(--hh) + 48px); align-self: start; }
  .about .beats { grid-column: 6 / span 7; margin-block-start: 0; }
}

/* guy */
.guy__grid { margin-block-start: 32px; display: grid; grid-template-columns: minmax(0, 1fr); }
.guy { background: var(--kuri); }
.gbeat { position: relative; border-inline-start: 1px solid var(--kuri-rule); padding-inline-start: 24px; padding-block-end: 40px; }
.gbeat::before { content: ""; position: absolute; inset-inline-start: -4.5px; inset-block-start: 0.55em; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--ochre); }
.gbeat p { margin-block-start: 8px; }
.gbeat--1 { padding-block-end: 24px; } .gbeat--4 { padding-block-end: 24px; }
.gphoto { margin-block-end: 40px; max-inline-size: 35rem; padding-inline-start: 25px; }
.gphoto img { inline-size: 100%; }
@media (min-width: 1024px) {
  .guy__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 35rem); column-gap: 96px; }
  .gbeat { grid-column: 1; } .gphoto { grid-column: 2; padding-inline-start: 0; margin-block-end: 0; align-self: start; }
  .gbeat--1, .gphoto--1 { grid-row: 1; } .gbeat--2 { grid-row: 2; } .gbeat--3 { grid-row: 3; } .gbeat--4, .gphoto--4 { grid-row: 4; }
  .gbeat--1, .gbeat--4 { padding-block-end: 40px; }
}

/* dojo */
.dojo { background: var(--sumi); color: var(--rice); }
.dojo p { font-weight: 400; margin-block-start: 16px; }
.dojo__photo { margin-block-start: 32px; max-inline-size: 35rem; }
.dojo__photo img { inline-size: 100%; }
@media (min-width: 1024px) {
  .dojo__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .dojo__text { grid-column: 1 / span 5; }
  .dojo__photo { grid-column: 7 / span 6; margin-block-start: 0; }
}

/* contact */
.contact__text { margin-block-start: 16px; margin-block-end: 32px; }
.links { margin-block-start: 24px; }
.links li { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-block-size: 44px; padding-block: 0; }
.links li + li { margin-block-start: 8px; }
.textlink { display: inline-flex; align-items: center; min-block-size: 44px; padding-block: 10px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color 180ms; }
.textlink:hover { text-decoration-thickness: 2px; text-decoration-color: var(--washi-ink); }
@media (min-width: 1024px) { .contact .wrap > * { max-inline-size: 34rem; } .contact .cta { display: inline-flex; } }

/* footer */
.footer { background: var(--kuri); padding-block: 64px; text-align: center; }
.footer__in { display: flex; flex-direction: column; align-items: center; }
.footer__logo { inline-size: 240px; block-size: auto; mix-blend-mode: lighten; }
.footer__statement { margin-block-start: 32px; margin-inline: auto; max-inline-size: 32rem; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; line-height: var(--lh-lead); text-align: center; }
.footer .toggle { margin-block-start: 0; }
.footer .toggle:hover, .footer .ig-icon:hover { background: var(--kuri-2); }
@media (min-width: 1024px) { .footer { padding-block: 96px; } .footer__logo { inline-size: 320px; } }

/* floating WhatsApp button */
.fab { position: fixed; z-index: 30; inset-block-end: max(16px, env(safe-area-inset-bottom, 0px)); inset-inline-end: 16px; display: inline-flex; align-items: center; gap: 8px; min-block-size: 52px; padding-inline: 20px; border-radius: 999px; background: var(--beni); color: var(--washi); font-weight: 700; font-size: 17px; line-height: 1; text-decoration: none; box-shadow: 0 6px 20px rgb(0 0 0 / 0.45); opacity: 1; transform: none; visibility: visible; transition: opacity 220ms var(--ease-in-view), transform 220ms var(--ease-in-view), visibility 0s, background-color 180ms; }
:root:lang(en) .fab { letter-spacing: 0.01em; }
.fab:hover { background: var(--beni-hi); }
.fab:active { background: var(--beni-lo); }
.fab.is-hidden { opacity: 0; transform: translateY(8px); visibility: hidden; pointer-events: none; transition: opacity 150ms var(--ease-out-view), transform 150ms var(--ease-out-view), visibility 0s linear 150ms; }
@media (min-width: 1024px) { .fab { display: none; } }

html[data-top] .fab { opacity: 0; visibility: hidden; transition: none; }

/* entrance (JS marks only below-the-fold items; nothing is hidden without JS) */
[data-rv] { transition: opacity 500ms var(--ease-in-view), transform 500ms var(--ease-in-view); }
[data-rv="pre"] { opacity: 0; transform: translateY(12px); }
.stage[data-rv] { transition: none; }
.stage[data-rv="pre"] { opacity: 1; transform: none; }
.stage .stage__title, .stage .stage__text { transition: opacity 500ms var(--ease-in-view), transform 500ms var(--ease-in-view); }
.stage[data-rv="pre"] .stage__title, .stage[data-rv="pre"] .stage__text { opacity: 0; transform: translateY(12px); }
/* photo entrance: an overlay in the slot's own ground colour fades out, so the image itself is painted (and can load) before it scrolls in */
.media, .gphoto, .dojo__photo, .movement__photo { position: relative; --ov: var(--sumi); }
.gphoto { --ov: var(--kuri); }
.movement__photo { --ov: var(--washi); }
.media::after, .gphoto::after, .dojo__photo::after, .movement__photo::after { content: ""; position: absolute; inset: 0; background: var(--ov); opacity: 0; pointer-events: none; transition: opacity 400ms linear; }
.stage[data-rv="pre"] .media::after, .gphoto[data-rv="pre"]::after, .dojo__photo[data-rv="pre"]::after, .movement__photo[data-rv="pre"]::after { opacity: 1; }
.gphoto[data-rv], .dojo__photo[data-rv], .movement__photo[data-rv] { transition: none; }
.gphoto[data-rv="pre"], .dojo__photo[data-rv="pre"], .movement__photo[data-rv="pre"] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 180ms; animation-timing-function: var(--ease-in-view); }
}

/* the one reduced-motion block */
@media (prefers-reduced-motion: reduce) {
  html, html[data-smooth] { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  [data-rv], [data-rv="pre"] { transform: none !important; transition: opacity 150ms linear !important; }
  .stage .stage__title, .stage .stage__text, .stage[data-rv="pre"] .stage__title, .stage[data-rv="pre"] .stage__text { transform: none !important; transition: opacity 150ms linear !important; }
  .stage[data-rv="pre"] .ring__arc { stroke-dashoffset: calc(276.46 * (1 - var(--n) / 5)); }
  .stage[data-rv="pre"] .ring__dot { opacity: 1; }
  .ring__arc, .ring__dot { transition: none !important; }
  .hdr-nav, .site-header.nav-hidden .hdr-nav { transition: none !important; }
  .chip::after { transition: none !important; }
  .media::after, .gphoto::after, .dojo__photo::after, .movement__photo::after { transition-duration: 150ms; }
  .cta, .cta:active, .ig-btn, .ig-btn:active { transform: none; }
  .cta .i-arrow { transition: none; }
  .cta:hover .i-arrow { translate: none; }
  .fab, .fab.is-hidden { transform: none; transition: opacity 120ms linear, visibility 0s linear 120ms; }
}

/* Instagram (v3): neutral secondary, never jade, never a brand gradient */
.ig-icon { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; inline-size: 44px; block-size: 44px; flex: none; border-radius: 999px; color: var(--ash); text-decoration: none; transition: color 180ms, background-color 180ms, border-color 180ms; }
.ig-icon:hover { color: var(--rice); background: var(--ink-2); }
.ig-icon:active { background: var(--rule); }
.ig-icon--ftr { border: 1px solid var(--line); color: var(--rice); }
.ig-icon--ftr:hover { border-color: var(--ochre); }
@media (min-width: 1024px) { .site-header .ig-icon { margin-inline-end: -16px; } }
.contact__actions { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
.contact__actions .ig-btn { align-self: flex-start; }
@media (min-width: 600px) { .contact__actions { align-items: flex-start; } }
.ig-btn { display: inline-flex; align-items: center; gap: 8px; min-block-size: 48px; padding-inline: 20px; border: 1.5px solid var(--brass); border-radius: 999px; color: var(--washi-ink); font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; transition: background-color 180ms, border-color 180ms, transform 100ms; }
.ig-btn__handle { font-weight: 500; color: var(--umber); }
.ig-btn:hover { background: var(--washi-2); border-color: var(--washi-ink); }
.ig-btn:active { background: var(--washi-rule); transform: scale(0.97); }
.footer__row { margin-block-start: 32px; display: flex; align-items: center; justify-content: center; gap: 12px; }
/* no-JS: the clip is not used, the <noscript> still takes its place; with JS the noscript is never rendered */
html:not(.js) .media video { display: none; }

/* v6 (user's own requests): gold WhatsApp buttons, emblem at the top, photo as the hero background on every screen */
.cta, .fab { color: var(--sumi); }
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--sumi); padding-block: 20px 32px; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg picture, .hero__bg img { display: block; inline-size: 100%; block-size: 100%; }
.hero__bg img { object-fit: cover; object-position: 30% 50%; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(16 14 10 / 0.62) 0%, rgb(16 14 10 / 0.78) 55%, rgb(16 14 10 / 0.94) 100%); }
.hero__logo { display: block; inline-size: 112px; block-size: 112px; object-fit: contain; mix-blend-mode: lighten; }
.hero h1 { margin-block-start: 12px; display: grid; gap: 4px; font-size: inherit; }
.hero__brand { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(3.5rem, 1.8rem + 7.5vw, 8.5rem); line-height: 0.95; letter-spacing: 0.01em; color: var(--washi); background: none; -webkit-text-fill-color: currentColor; padding: 0; }
.hero__brand::after { content: none; }
.hero__sub { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.75rem, 1.1rem + 2.9vw, 3.75rem); line-height: 1.15; color: var(--washi); }
.hero .kicker { margin-block-start: 12px; }
.hero__byline { margin-block-start: 10px; }
.hero__act { margin-block-start: 20px; }
.hero__act .cta { margin-block-end: 16px; }
.hero__b { margin-block-end: 0; }
@media (min-width: 1024px) {
  .hero { padding-block: 72px; min-block-size: min(88svh, 820px); display: grid; align-items: center; }
  .hero__grid { display: block; }
  .hero__title, .hero__act { max-inline-size: 40rem; }
  .hero__logo { inline-size: 160px; block-size: 160px; }
  .hero__bg img { object-position: 50% 45%; }
  .hero__bg::after { background: linear-gradient(to left, rgb(16 14 10 / 0.9) 0%, rgb(16 14 10 / 0.78) 38%, rgb(16 14 10 / 0.25) 75%, rgb(16 14 10 / 0.1) 100%); }
  :root:lang(en) .hero__bg::after { background: linear-gradient(to right, rgb(16 14 10 / 0.9) 0%, rgb(16 14 10 / 0.78) 38%, rgb(16 14 10 / 0.25) 75%, rgb(16 14 10 / 0.1) 100%); }
}

/* v7 (user's requests): soft tonal transitions between section grounds, and the calligraphy brush mark as a faint background */
:root { --blend: 380px; }
@media (min-width: 1024px) { :root { --blend: 680px; } }
.movement, .class, .about, .guy, .dojo, .contact, .footer { position: relative; isolation: isolate; overflow: hidden; margin-block-start: -1px; background-repeat: no-repeat; background-position: top; background-size: 100% var(--blend); }
.movement, .class, .about, .guy, .dojo, .contact { padding-block-start: calc(var(--blend) * 0.8); }
.footer { padding-block-start: calc(var(--blend) * 0.8); }
/* the transition is painted on the section itself (45 eased stops, plain colours, works in every browser); it starts exactly on the colour of the section above */
.movement, .contact { background-color: #F2EBDD; background-image: linear-gradient(to bottom, #100E0A 0.0%, #100E0A 2.3%, #110F0C 4.5%, #14120E 6.8%, #171512 9.1%, #1B1916 11.4%, #201E1A 13.6%, #252320 15.9%, #2B2925 18.2%, #322F2B 20.5%, #383631 22.7%, #3F3D38 25.0%, #47443E 27.3%, #4E4B45 29.5%, #56534D 31.8%, #5E5B54 34.1%, #66635C 36.4%, #6F6B63 38.6%, #77736B 40.9%, #807C73 43.2%, #88847B 45.5%, #918C83 47.7%, #99948A 50.0%, #A19C92 52.3%, #A9A499 54.5%, #B1ABA0 56.8%, #B8B2A7 59.1%, #BFB9AE 61.4%, #C6C0B4 63.6%, #CCC6BA 65.9%, #D2CCBF 68.2%, #D7D1C4 70.5%, #DCD6C9 72.7%, #E0DACD 75.0%, #E4DED0 77.3%, #E8E1D3 79.5%, #EAE4D6 81.8%, #EDE6D8 84.1%, #EFE8DA 86.4%, #F0E9DB 88.6%, #F1EADC 90.9%, #F2EBDD 93.2%, #F2EBDD 95.5%, #F2EBDD 97.7%, #F2EBDD 100.0%); }
.class, .dojo { background-color: #100E0A; background-image: linear-gradient(to bottom, #F2EBDD 0.0%, #F2EBDD 2.3%, #F2EBDD 4.5%, #F2EBDD 6.8%, #F1EADC 9.1%, #F0E9DB 11.4%, #EFE8DA 13.6%, #EDE6D8 15.9%, #EAE4D6 18.2%, #E8E1D3 20.5%, #E4DED0 22.7%, #E0DACD 25.0%, #DCD6C9 27.3%, #D7D1C4 29.5%, #D2CCBF 31.8%, #CCC6BA 34.1%, #C6C0B4 36.4%, #BFB9AE 38.6%, #B8B2A7 40.9%, #B1ABA0 43.2%, #A9A499 45.5%, #A19C92 47.7%, #99948A 50.0%, #918C83 52.3%, #88847B 54.5%, #807C73 56.8%, #77736B 59.1%, #6F6B63 61.4%, #66635C 63.6%, #5E5B54 65.9%, #56534D 68.2%, #4E4B45 70.5%, #47443E 72.7%, #3F3D38 75.0%, #383631 77.3%, #322F2B 79.5%, #2B2925 81.8%, #252320 84.1%, #201E1A 86.4%, #1B1916 88.6%, #171512 90.9%, #14120E 93.2%, #110F0C 95.5%, #100E0A 97.7%, #100E0A 100.0%); }
.footer { background-color: #2B1E15; background-image: linear-gradient(to bottom, #F2EBDD 0.0%, #F2EBDD 2.3%, #F2EBDD 4.5%, #F2EBDD 6.8%, #F1EADC 9.1%, #F0E9DB 11.4%, #EFE8DA 13.6%, #EDE6D8 15.9%, #EBE4D6 18.2%, #E9E1D4 20.5%, #E5DED1 22.7%, #E2DBCD 25.0%, #DED7C9 27.3%, #DAD2C5 29.5%, #D5CDC0 31.8%, #CFC8BB 34.1%, #CAC2B5 36.4%, #C3BCB0 38.6%, #BDB5A9 40.9%, #B6AEA3 43.2%, #AFA79C 45.5%, #A8A095 47.7%, #A0988D 50.0%, #999186 52.3%, #91897E 54.5%, #898177 56.8%, #82796F 59.1%, #7A7168 61.4%, #726A60 63.6%, #6B6259 65.9%, #635A52 68.2%, #5C534B 70.5%, #554C44 72.7%, #4F453D 75.0%, #483F37 77.3%, #433931 79.5%, #3D332B 81.8%, #382E26 84.1%, #342922 86.4%, #31251D 88.6%, #2E221A 90.9%, #2C2017 93.2%, #2B1F16 95.5%, #2B1E15 97.7%, #2B1E15 100.0%); }
.guy { background-color: #2B1E15; background-image: linear-gradient(to bottom, #100E0A 0.0%, #100E0A 2.3%, #100E0A 4.5%, #100E0A 6.8%, #100E0A 9.1%, #110E0A 11.4%, #110E0A 13.6%, #110F0A 15.9%, #120F0B 18.2%, #120F0B 20.5%, #13100B 22.7%, #14100B 25.0%, #15110C 27.3%, #16110C 29.5%, #17120D 31.8%, #18120D 34.1%, #19130D 36.4%, #1A140E 38.6%, #1B140E 40.9%, #1C150F 43.2%, #1D160F 45.5%, #1E1610 47.7%, #1F1710 50.0%, #201711 52.3%, #211811 54.5%, #221911 56.8%, #231912 59.1%, #241A12 61.4%, #251A13 63.6%, #261B13 65.9%, #271B13 68.2%, #271C14 70.5%, #281C14 72.7%, #291D14 75.0%, #291D14 77.3%, #2A1D14 79.5%, #2A1D15 81.8%, #2A1E15 84.1%, #2B1E15 86.4%, #2B1E15 88.6%, #2B1E15 90.9%, #2B1E15 93.2%, #2B1E15 95.5%, #2B1E15 97.7%, #2B1E15 100.0%); }
.hero__bg::before { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; block-size: 28%; z-index: 1; background: linear-gradient(to top, var(--sumi) 0%, rgb(16 14 10 / 0) 100%); }
/* brush mark: one large, faint stroke behind the content of each band, alternating sides */
.movement::after, .class::after, .about::after, .guy::after, .contact::after { content: ""; position: absolute; z-index: -1; pointer-events: none; inset-block-start: 50%; translate: 0 -46%; block-size: min(86%, 760px); aspect-ratio: 1240 / 1600; background: var(--mark, var(--washi-ink)); opacity: var(--mark-o, 0.06); -webkit-mask: url("/images/brush-mark-1600.png") center / contain no-repeat; mask: url("/images/brush-mark-1600.png") center / contain no-repeat; }
.movement::after, .about::after, .contact::after { inset-inline-end: -6%; }
.class::after, .guy::after { inset-inline-start: -6%; --mark: var(--washi); --mark-o: 0.045; }
.about::after { inset-inline-end: auto; inset-inline-start: -6%; }
@media (max-width: 767px) {
  .movement::after, .class::after, .about::after, .guy::after, .contact::after { block-size: min(78%, 640px); --mark-o: 0.13; }
  .class::after, .guy::after { --mark-o: 0.1; }
  .movement::after, .contact::after { inset-inline-end: -14%; }
  .class::after, .guy::after, .about::after { inset-inline-start: -14%; }
}

/* stage 01: the seated photo sits whole under its title and text (user request) */
.stage .media--pano { grid-column: 1 / -1; inline-size: 100%; margin-block-start: 16px; }
@media (min-width: 1024px) { .stage .media--pano { grid-column: 2 / -1; grid-row: 3; inline-size: min(100%, 56rem); margin-block-start: 8px; } .stage:has(.media--pano) { grid-template-rows: auto auto auto; } .stage:has(.media--pano) .stage__text { grid-column: 2 / -1; max-inline-size: 40rem; } }

/* phone: tighter rhythm (user: the gaps were too large on a phone); the 45-shade transition stays, shorter */
@media (max-width: 767px) {
  :root { --blend: 240px; }
  .movement, .class, .about, .guy, .dojo, .contact, .footer { padding-block-start: calc(var(--blend) * 0.7); }
  .movement, .class, .about, .guy, .dojo, .contact { padding-block-end: 36px; }
  .stages { gap: 44px; margin-block-start: 32px; }
  .about .beats { gap: 32px; margin-block-start: 24px; }
  .movement__photo { margin-block-start: 24px; }
  .gbeat { padding-block-end: 24px; }
  .footer { padding-block-end: 40px; }
}

/* v8: the ten review notes (Web Designer + Marketing Manager), approved by the user */
/* 1. less dead space: content arrives while the last third of the transition settles (desktop; phone already tightened) */
@media (min-width: 768px) { .movement, .class, .about, .guy, .dojo, .contact, .footer { padding-block-start: calc(var(--blend) * 0.5); } .contact { padding-block-end: 72px; } }
/* 2. no flat black slab under the hero photo: the first transition starts under the photo's own fade */
.hero { z-index: 1; padding-block-end: 20px; }
.movement { margin-block-start: -60px; }
@media (min-width: 1024px) { .hero { padding-block-end: 48px; } .movement { margin-block-start: -120px; } }
/* 3. brush mark in the empty upper zone of each band, away from the text; stronger on phone */
.movement::after, .class::after, .about::after, .guy::after, .contact::after { inset-block-start: calc(var(--blend) * 0.08); translate: none; block-size: min(62%, 620px); }
.movement::after { inset-inline-end: -4%; }
.contact::after { inset-inline-end: -4%; block-size: min(90%, 420px); }
@media (max-width: 767px) {
  .movement::after, .class::after, .about::after, .guy::after, .contact::after { block-size: min(46%, 420px); --mark-o: 0.17; }
  .class::after, .guy::after { --mark-o: 0.13; }
}
/* 4. step text on desktop: larger, lighter, shorter lines */
@media (min-width: 1024px) { .stage__text { font-size: 1.0938rem; font-weight: 400; line-height: 1.8; max-inline-size: 60ch; } }
/* 5. shelf photo on paper: half the feather, so no blue haze */
.movement .f-wall { --ft: 2%; --fr: 5%; --fb: 4%; --fl: 5%; }
/* 6. footer signed with the wordmark; the room under it for the floating button is chestnut, not black */
.footer__mark { font-family: var(--sans); font-weight: 300; font-size: 22px; letter-spacing: 0.32em; color: var(--ochre); margin: 0; padding-inline-start: 0.32em; }
.footer__mark + .footer__statement { margin-block-start: 20px; }
html { background: var(--kuri); }
/* 7. phone header: lower rows; the small emblem hides while the hero is on screen */
@media (max-width: 767px) {
  :root { --hh: 52px; --nav-h: 40px; }
  .logo-mark { transition: opacity 200ms linear; }
  html[data-hero] .logo-mark { opacity: 0; }
}
/* 8. the Olympic credential: byline one step larger, the two words in gold */
.hero__byline { font-size: 1.1875rem; font-weight: 500; }
@media (min-width: 768px) { .hero__byline { font-size: 1.375rem; } }
.hero__gold { color: var(--ochre); font-weight: 700; }
/* 9. contact as the closing moment: WhatsApp first and largest, Instagram secondary, email small, no empty tail */
.contact .cta { min-block-size: 64px; font-size: 1.125rem; }
.contact .links { margin-block-start: 16px; }
.contact .textlink { font-size: 0.9375rem; }
.hero__act .cta { margin-block-end: 0; }
/* about follows Guy's chestnut and settles into paper */
.about { background-color: #F2EBDD; background-image: linear-gradient(to bottom, #2B1E15 0.0%, #2B1E15 2.3%, #2B1F16 4.5%, #2C2017 6.8%, #2E221A 9.1%, #31251D 11.4%, #342922 13.6%, #382E26 15.9%, #3D332B 18.2%, #433931 20.5%, #483F37 22.7%, #4F453D 25.0%, #554C44 27.3%, #5C534B 29.5%, #635A52 31.8%, #6B6259 34.1%, #726A60 36.4%, #7A7168 38.6%, #82796F 40.9%, #898177 43.2%, #91897E 45.5%, #999186 47.7%, #A0988D 50.0%, #A8A095 52.3%, #AFA79C 54.5%, #B6AEA3 56.8%, #BDB5A9 59.1%, #C3BCB0 61.4%, #CAC2B5 63.6%, #CFC8BB 65.9%, #D5CDC0 68.2%, #DAD2C5 70.5%, #DED7C9 72.7%, #E2DBCD 75.0%, #E5DED1 77.3%, #E9E1D4 79.5%, #EBE4D6 81.8%, #EDE6D8 84.1%, #EFE8DA 86.4%, #F0E9DB 88.6%, #F1EADC 90.9%, #F2EBDD 93.2%, #F2EBDD 95.5%, #F2EBDD 97.7%, #F2EBDD 100.0%); }
