:root {
  --da: #143C4A; --cream: #F5F0E7; --sage: #B7CBC4; --rust: #B9422D; --ink: #11191D;
  --da-2: #3F6572; --da-3: #7C9AA4; --da-4: #B9CDD3;
  --cell: #24505F; --cell-hi: #DCE7EA; --tile: #DDE5DF;
  --m: clamp(16px, 1.8vw, 28px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --head: 'Satoshi', 'Inter', system-ui, sans-serif;
  --text: 'Inter', system-ui, sans-serif;
  --axis: 42vw;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 0; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 18px/1.5 var(--text); }
h1, h2, h3 { font-family: var(--head); margin: 0; }
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }
.f-rust :focus-visible, .contact :focus-visible, .f-da :focus-visible, .f-ink :focus-visible, .foot :focus-visible, .panel :focus-visible, .faq details[open] :focus-visible { outline-color: #fff; }
::selection { background: var(--ink); color: var(--cream); }

.grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding-inline: var(--m); }

/* buttons: flat, square, 48px+ */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; background: var(--rust); color: #fff; font: 700 18px/1 var(--head); text-decoration: none; transition: transform .25s var(--ease), opacity .2s; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.97); }
.ul { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; transition: text-underline-offset .2s var(--ease), opacity .2s; }
.ul:hover { text-underline-offset: 8px; }
.ul:active { opacity: .7; }

/* hero */
.band { position: relative; height: 52svh; min-height: 360px; }
.mosaic { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: 1fr 1fr; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1) contrast(1.05); min-width: 0; min-height: 0; }
.tile.da { background: var(--da); } .tile.sage { background: var(--sage); } .tile.rust { background: var(--rust); }
.c-ai { grid-area: 1 / 1 / 2 / 3; }
.c-s1 { grid-area: 2 / 1; }
.c-bo { grid-area: 2 / 2; }
.c-da1 { grid-area: 1 / 3 / 3 / 4; }
.c-pi { grid-area: 1 / 4; }
.c-s2 { grid-area: 2 / 4; }
.c-po { grid-area: 1 / 5; }
.c-r1 { grid-area: 1 / 6; }
.c-da2 { grid-area: 2 / 5; }
.c-s3 { grid-area: 2 / 6; }
.bar { position: absolute; top: 0; left: 0; right: 0; height: 56px; display: flex; align-items: stretch; z-index: 2; }
.mark { display: flex; align-items: center; padding: 0 var(--m); background: var(--ink); color: #fff; font: 900 20px/1 var(--head); text-decoration: none; letter-spacing: -.02em; transition: opacity .2s; }
.mark:hover { opacity: .8; }
.tab { display: flex; align-items: center; gap: 28px; padding: 0 24px; background: var(--sage); color: var(--ink); width: calc(var(--axis) - 150px); min-width: max-content; }
.tab a { font: 500 16px/1 var(--text); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; transition: transform .2s var(--ease), opacity .2s; }
.tab a:hover { transform: translateY(-2px); text-decoration: underline; text-underline-offset: 6px; }
.bar-cta { margin-left: auto; min-height: 56px; }
.intro { display: grid; grid-template-columns: calc(var(--axis) - var(--m)) 1fr; column-gap: 0; padding: 88px var(--m) 120px; align-items: start; }
.intro h1 { grid-column: 2; grid-row: 1 / 3; font-weight: 900; font-size: clamp(64px, 7.3vw, 128px); letter-spacing: -.05em; line-height: .9; }
.lines .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.lines [data-line] { display: block; }
.standfirst { grid-column: 1; grid-row: 1; font-size: 20px; max-width: 30ch; padding-top: 8px; padding-right: 16px; }
.actions { grid-column: 1; grid-row: 2; margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; font-size: 18px; padding-top: 0; }
.actions .ul { display: inline-block; padding-block: 12px; }

/* work */
.work-head { padding-block: 24px 64px; }
.work-head h2, .how h2, .faq h2, .contact h2 { font-weight: 900; font-size: clamp(36px, 4vw, 60px); letter-spacing: -.04em; line-height: 1; }
.work-head h2 { grid-column: 1 / -1; }
.chapter { min-height: 90svh; display: flex; align-items: center; padding-block: 96px; }
.chapter .grid { width: 100%; align-items: center; }
.f-da { background: var(--da); color: #fff; } .f-sage { background: var(--sage); color: var(--ink); } .f-cream { background: var(--cream); color: var(--ink); }
.f-rust { background: var(--rust); color: #fff; } .f-ink { background: var(--ink); color: #fff; }
.chapter .text { grid-column: 1 / 6; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.chapter .pic { grid-column: 6 / 13; overflow: hidden; }
.chapter.flip .text { grid-column: 8 / 13; grid-row: 1; }
.chapter.flip .pic { grid-column: 1 / 8; grid-row: 1; }
.chapter h3 { font-weight: 900; font-size: clamp(44px, 7vw, 112px); letter-spacing: -.05em; line-height: .9; }
.one { font-size: 20px; max-width: 32ch; }
.shows { font-size: 18px; font-weight: 500; }
.visit { font: 700 18px/1 var(--head); display: inline-flex; align-items: center; min-height: 48px; }
.pic img { width: 100%; height: auto; transform-origin: 50% 50%; }

/* how */
.how { padding-block: 160px 160px; background: var(--cream); }
.how-intro { margin-bottom: 64px; row-gap: 24px; }
.how-intro h2 { grid-column: 1 / 6; }
.how-intro p { grid-column: 7 / 12; font-size: 18px; max-width: 46ch; }
.stages { display: flex; height: 520px; margin-inline: var(--m); }
.stage { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; transition: flex-grow .45s var(--ease); }
.s1 { background: var(--da); color: #fff; } .s2 { background: var(--da-2); color: #fff; } .s3 { background: var(--da-3); color: var(--ink); } .s4 { background: var(--da-4); color: var(--ink); }
.stage h3 { margin: 0; }
.stage button { position: absolute; inset: 0; width: 100%; padding: 28px; border: 0; background: none; color: inherit; font: 900 36px/1 var(--head); letter-spacing: -.03em; text-align: left; cursor: default; display: flex; align-items: flex-start; }
.stage .body { position: absolute; left: 0; bottom: 0; padding: 28px; width: min(100%, calc(36ch + 56px)); font-size: 18px; }
.js .stage { cursor: pointer; }
.js .stage button { cursor: pointer; }
.js .stage.open { flex-grow: 4.14; }
.js .stage:not(.open) button { writing-mode: vertical-rl; transform: rotate(180deg); font: 700 20px/1 var(--head); letter-spacing: 0; }
.js .stage:not(.open) .body { opacity: 0; visibility: hidden; }
.js .stage .body { transition: opacity .3s .15s; }
.js .stage:not(.open):hover { flex-grow: 1.35; }
.js .stage:not(.open):hover button { text-decoration: underline; text-underline-offset: 6px; }

/* about */
.about { padding: 20px var(--m) 20px; padding-inline: 20px; }
.panel { position: relative; background: var(--ink); color: #fff; min-height: 92svh; overflow: hidden; padding: 56px; }
.panel h2 { font-weight: 900; font-size: 36px; line-height: 1.05; letter-spacing: -.03em; max-width: 14em; text-wrap: balance; }
.shape { position: absolute; left: 56px; bottom: -110px; width: 38vw; aspect-ratio: 1; clip-path: circle(50%); }
.shape img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 0; }
.blocks { position: absolute; left: 63%; top: 56px; right: 56px; display: flex; flex-direction: column; gap: 64px; align-items: flex-start; }
.blocks h3 { font: 700 22px/1.2 var(--head); margin-bottom: 12px; }
.blocks div p { font-size: 16px; max-width: 40ch; }
.panel .btn { }

/* faq */
.faq { padding-block: 160px; background: var(--cream); }
.faq h2 { grid-column: 1 / 5; align-self: start; position: sticky; top: 96px; }
.tiles { grid-column: 5 / 13; display: flex; flex-direction: column; gap: 8px; }
.tiles details { background: var(--tile); color: var(--ink); transition: transform .25s var(--ease), background-color .2s; }
.tiles details:hover:not([open]) { transform: translateX(6px); }
.tiles summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; padding: 16px 24px; font: 500 20px/1.3 var(--head); }
.tiles summary::-webkit-details-marker { display: none; }
.tiles summary { position: relative; padding-right: 64px; }
.tiles summary::before, .tiles summary::after { content: ''; position: absolute; right: 24px; top: 50%; width: 16px; height: 3px; margin-top: -1.5px; background: currentColor; transition: transform .3s var(--ease); }
.tiles summary::after { transform: rotate(90deg); }
.tiles details[open] { background: var(--rust); color: #fff; }
.tiles details[open] summary::after { transform: rotate(0); }
.tiles details p { font-size: 18px; max-width: 52ch; padding: 0 24px 28px; }

/* contact */
.contact { background: var(--da); color: #fff; padding-block: 48px 120px; }
.strip { overflow: hidden; }
.track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.set { display: flex; gap: 8px; padding-right: 8px; }
.set img { height: 150px; object-fit: cover; object-position: top; flex: none; }
.r34 { width: 113px; } .r11 { width: 150px; } .r32 { width: 225px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.contact-body { padding: 72px var(--m) 0; }
.contact h2 { margin-bottom: 20px; }
.lead { font-size: 20px; max-width: 40ch; margin-bottom: 40px; }
.cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cell { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 96px; padding: 0 24px; background: var(--cell); color: #fff; border: 0; transition: background-color .2s, color .2s, transform .25s var(--ease); }
.cell label { font-size: 16px; }
.cell input { width: 100%; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: 500 18px/1 var(--text); outline: 0; }
.cell:focus-within { background: var(--cell-hi); color: var(--ink); outline: 3px solid #fff; outline-offset: 3px; }
.cell:focus-within input { outline: 0; }
.send { align-items: center; background: var(--cream); color: var(--ink); font: 700 20px/1 var(--head); cursor: pointer; }
.send:hover { transform: translateY(-3px); }
.send:active { transform: scale(.98); }
.send:disabled { opacity: .6; cursor: wait; }
.send:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 2px; height: 2px; opacity: 0; }
.msg { font-size: 20px; }
.msg:empty { display: none; }
.msg.err { margin-top: 16px; }
.small { font-size: 16px; margin-top: 24px; }
.small a { padding-block: 12px; display: inline-block; }

/* footer */
.foot { background: var(--ink); color: #fff; padding: 96px var(--m) 28px; }
.blocks-mark { display: flex; align-items: flex-end; gap: 4px; height: 34svh; min-height: 220px; }
.blocks-mark .b { flex: 1 1 0; position: relative; display: block; min-width: 0; overflow: hidden; }
.b svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; }
/* same letter size on every block: svg height = shortest block (66%) / this block's height */
.b1 svg { height: 66%; } .b2 svg { height: 82.5%; } .b3 svg { height: 70.2%; } .b5 svg { height: 75%; } .b6 svg { height: 89.2%; }
.b text { font: 900 128px var(--head); fill: var(--ink); }
.b1 { height: 100%; background: var(--sage); } .b2 { height: 80%; background: var(--cream); } .b3 { height: 94%; background: var(--rust); }
.b4 { height: 66%; background: var(--da-3); } .b5 { height: 88%; background: var(--sage); } .b6 { height: 74%; background: var(--cream); }
.foot-links { margin-top: 56px; row-gap: 32px; }
.links { grid-column: 1 / 9; display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.links a { font-size: 16px; padding-block: 12px; }
.lines-contact { grid-column: 9 / 13; display: grid; gap: 8px; font-size: 16px; }
.lines-contact a { padding-block: 4px; display: inline-block; }
.last { margin-top: 72px; display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.small-btn { font-size: 16px; padding: 0 20px; }

/* motion */
@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease) forwards; animation-delay: calc(var(--i) * 110ms + 150ms); }
  .js .hero-fade { opacity: 0; transform: translateY(20px); animation: fade-up 700ms var(--ease) 1.1s forwards; }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .js .tiles details[data-reveal].in:hover:not([open]) { transform: translateX(6px); transition-delay: 0s; }
  .js .chapter .pic img { transform: scale(1); transition: transform 2.6s var(--ease); }
  .js .chapter .pic.in img { transform: scale(1.04); }
  .js .shape img { transform: scale(1); transition: transform 2.6s var(--ease); }
  .js .shape.in img { transform: scale(1.04); }
}
@keyframes line-up { to { transform: none; } }
@keyframes fade-up { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .track { animation: none; }
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}

/* tablet */
@media (max-width: 1000px) {
  :root { --axis: 0px; }
  .tab { width: auto; flex: 1; justify-content: center; gap: 16px; padding: 0 12px; }
  .intro { grid-template-columns: 1fr; padding-top: 56px; }
  .intro h1 { grid-column: 1; grid-row: 1; font-size: 11.4vw; }
  .standfirst { grid-column: 1; grid-row: 2; margin-top: 40px; }
  .actions { grid-row: 3; grid-column: 1; }
  .chapter .text { grid-column: 1 / 7; }
  .chapter .pic { grid-column: 1 / -1; grid-row: 2; margin-top: 32px; }
  .chapter.flip .text { grid-column: 1 / 7; }
  .chapter.flip .pic { grid-column: 1 / -1; grid-row: 2; }
  .how-intro h2, .how-intro p { grid-column: 1 / -1; }
  .stages { height: auto; flex-direction: column; }
  .stage, .js .stage.open, .js .stage:not(.open):hover { flex: none; }
  .stage button, .js .stage:not(.open) button { position: static; writing-mode: horizontal-tb; transform: none; height: 64px; padding: 0 20px; align-items: center; font: 700 20px/1 var(--head); letter-spacing: 0; }
  .stage .body { position: static; width: auto; padding: 0 20px; display: grid; grid-template-rows: 1fr; transition: grid-template-rows .4s var(--ease); }
  .stage .body p { overflow: hidden; min-height: 0; padding-bottom: 24px; }
  .js .stage:not(.open) .body { grid-template-rows: 0fr; opacity: 1; visibility: visible; }
  .js .stage:not(.open) .body p { padding-bottom: 0; }
  .panel { padding: 32px 24px; min-height: 0; display: flex; flex-direction: column; gap: 40px; }
  .shape { position: relative; left: auto; bottom: auto; width: 86%; align-self: center; margin-bottom: -22%; order: 3; }
  .blocks { position: static; gap: 32px; order: 2; }
  .faq .grid { display: block; }
  .faq h2 { position: static; margin-bottom: 32px; }
  .faq, .how { padding-block: 96px; }
  .tiles { gap: 6px; }
  .cells { grid-template-columns: 1fr; }
  .cell { min-height: 60px; }
  .cell label { font-size: 16px; }
  .links { grid-column: 1 / -1; }
  .lines-contact { grid-column: 1 / -1; }
  .foot-links { row-gap: 8px; }
}

/* phone */
@media (max-width: 700px) {
  .band { height: 38svh; min-height: 280px; }
  .mosaic { grid-template-columns: repeat(3, 1fr); }
  .mosaic > * { display: none; }
  .c-ai { display: block; grid-area: 1 / 1; } .c-s1 { display: block; grid-area: 1 / 2; } .c-r1 { display: block; grid-area: 1 / 3; }
  .c-da1 { display: block; grid-area: 2 / 1; } .c-pi { display: block; grid-area: 2 / 2; } .c-s3 { display: block; grid-area: 2 / 3; }
  .tab { display: none; }
  .bar-cta { padding: 0 20px; }
  .intro { padding-bottom: 80px; }
  .intro h1 { font-size: 10.4vw; }
  .standfirst { font-size: 20px; }
  .tiles summary { font-size: 18px; }
  .chapter { padding-block: 64px; }
  .chapter .text, .chapter.flip .text { grid-column: 1 / -1; }
  .chapter h3 { font-size: clamp(44px, 14vw, 72px); }
  .work-head { padding-block: 16px 40px; }
  .about { padding-inline: 10px; }
  .panel h2 { font-size: 7vw; }
  .contact { padding-bottom: 72px; }
  .set img { height: 110px; }
  .r34 { width: 83px; } .r11 { width: 110px; } .r32 { width: 165px; }
  .foot { padding-top: 64px; }
  .blocks-mark { flex-wrap: wrap; height: 24svh; row-gap: 4px; align-content: flex-end; }
  .blocks-mark .b { flex: 0 0 calc((100% - 8px) / 3); height: calc(50% - 2px); }
  .blocks-mark .b svg { height: 100%; }
  .links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .last { margin-top: 40px; }
}
