/* Weavr site styles: "the living loom". Tokens first; they mirror brand/tokens/tokens.css. */
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --ink: #11142A; --ink-2: #1B1F3B; --ink-3: #2A2F55;
  --cotton: #F6F0E4; --paper: #FBF8F1; --line: #DDD4C2;
  --gold: #E9A23B; --gold-deep: #B8741A; --ember: #D8482B; --ember-deep: #B23A20; --lagoon: #1F8A7A;
  --stone: #5C5B68; --mist: #B9B7C9;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1180px; --pad: clamp(1.25rem, 4vw, 2.5rem); --gap: clamp(1rem, 2.2vw, 1.75rem);
  --section: clamp(4.5rem, 9vw, 7.5rem); --radius: 10px; --radius-lg: clamp(1.1rem, 2.4vw, 1.75rem);
  --head: 5.75rem;
  --ease: cubic-bezier(.2, .7, .2, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);
  --band: repeating-linear-gradient(90deg, var(--gold) 0 14px, var(--ink) 14px 20px, rgba(246,240,228,.5) 20px 34px, var(--ink) 34px 40px, var(--ember) 40px 54px, var(--ink) 54px 60px, rgba(246,240,228,.5) 60px 74px, var(--ink) 74px 80px, var(--lagoon) 80px 94px, var(--ink) 94px 100px, rgba(246,240,228,.5) 100px 114px, var(--ink) 114px 120px);
  /* Fine noise so flat grounds read as cloth. Ink-coloured grain for light grounds, cotton grain for dark ones. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .07 0 0 0 0 .08 0 0 0 0 .16 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");
  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .96 0 0 0 0 .94 0 0 0 0 .89 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.1'/%3E%3C/svg%3E");
  --twill: repeating-linear-gradient(45deg, rgba(246,240,228,.03) 0 2px, transparent 2px 7px);
  --twill-ink: repeating-linear-gradient(-45deg, rgba(17,20,42,.06) 0 2px, transparent 2px 9px);
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%2311142A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
body { margin: 0; background-color: var(--cotton); background-image: var(--grain); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.25rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; font-weight: 400; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold); color: var(--ink); }
code { font-family: var(--mono); font-size: 0.88em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: 820px; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--gold); color: var(--ink); padding: 0.6rem 1rem; z-index: 100; font-weight: 600; border-radius: 999px; }
.skip:focus { top: 1rem; }
.eyebrow, .num, .label, .tag { font-family: var(--mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 0.8rem; color: var(--ember-deep); margin: 0 0 1.2rem; }
.eyebrow::before { content: ""; flex: none; width: 2.4rem; height: 6px; border-radius: 1px; background: var(--band); background-size: 60px 100%; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 44rem; }
.small, .hint { font-size: 0.92rem; color: var(--stone); }
.thread-gold { --thread: var(--gold); } .thread-ember { --thread: var(--ember); } .thread-lagoon { --thread: var(--lagoon); } .thread-cotton { --thread: var(--cotton); }

/* Buttons and links: a lighter thread sweeps through on hover */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3rem; padding: 0.7rem 1.4rem; border: 1.5px solid transparent; border-radius: 999px; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, box-shadow .35s, translate .5s var(--spring), scale .2s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--sweep, transparent); transform: translateX(-102%); transition: transform .5s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:active { scale: .97; }
.btn .arrow, .link .arrow, .more .arrow { transition: transform .3s var(--spring); flex: none; }
.btn:hover .arrow, .link:hover .arrow, a:hover .more .arrow { transform: translateX(5px); }
.btn-small { min-height: 2.5rem; padding: 0.45rem 1.05rem; font-size: 0.94rem; }
.btn-big { min-height: 3.5rem; padding: 0.85rem 1.75rem; font-size: 1.06rem; }
.btn-gold { background: var(--gold); color: var(--ink); --sweep: #F7C56C; box-shadow: 0 14px 34px -14px rgba(233,162,59,.85); }
.btn-ink { background: var(--ink); color: var(--cotton); --sweep: var(--ink-3); box-shadow: 0 14px 30px -16px rgba(17,20,42,.8); }
.btn-ghost { border-color: rgba(246,240,228,.4); color: var(--cotton); --sweep: rgba(246,240,228,.12); }
.btn-ghost:hover { border-color: var(--cotton); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; --sweep: var(--ink); }
.btn-line:hover { color: var(--cotton); }
.link { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size .4s var(--ease); }
.link:hover, .link:focus-visible { background-size: 100% 1.5px; }
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }

/* Header: a floating pill with a progress thread along its lower edge */
.site-header { position: fixed; z-index: 60; top: 0.75rem; left: 0; right: 0; margin-inline: auto; width: min(calc(var(--wrap) - 1rem), calc(100% - 1.5rem)); border-radius: 999px; background: rgba(251,248,241,.9); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); border: 1px solid rgba(17,20,42,.09); box-shadow: 0 12px 34px -16px rgba(17,20,42,.45), inset 0 1px 0 rgba(255,255,255,.7); transition: transform .5s var(--ease), background-color .3s; view-transition-name: site-header; }
.site-header.tucked { transform: translateY(calc(-100% - 1.25rem)); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.75rem; padding-inline: 1.3rem 0.45rem; }
.brand { flex: none; border-radius: 6px; }
.brand img { width: 124px; transition: rotate .5s var(--spring); }
.site-nav { display: flex; align-items: center; gap: 0.2rem; }
.site-nav a:not(.btn) { position: relative; text-decoration: none; font-weight: 500; padding: 0.5rem 0.95rem; border-radius: 999px; transition: background-color .25s; }
.site-nav a:not(.btn):hover { background: rgba(17,20,42,.06); }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0.95rem; right: 0.95rem; bottom: 0.32rem; height: 3px; border-radius: 1px; background: var(--band); background-size: 60px 100%; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.site-nav a:not(.btn):hover::after, .site-nav a:not(.btn)[aria-current]::after { transform: none; }
.site-nav .btn { margin-left: 0.6rem; }
.progress { position: absolute; left: 1.75rem; right: 1.75rem; bottom: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), var(--ember), var(--lagoon)); transform-origin: left; transform: scaleX(0); opacity: 0; pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .progress { opacity: 1; animation: grow linear both; animation-timeline: scroll(root block); }
}
@keyframes grow { to { transform: scaleX(1); } }
.menu-toggle { display: none; align-items: center; gap: 0.6rem; min-height: 2.75rem; padding: 0.4rem 1.05rem 0.4rem 0.85rem; border: 0; border-radius: 999px; background: var(--ink); color: var(--cotton); font: 600 0.94rem var(--sans); cursor: pointer; }
.burger { position: relative; width: 16px; height: 10px; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--gold); transition: transform .4s var(--spring), top .3s; }
.burger::before { top: 0; } .burger::after { top: 8px; background: var(--cotton); }
.menu-toggle[aria-expanded="true"] .burger::before { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger::after { top: 4px; transform: rotate(-45deg); }

/* Hero: an orb web strung across the dark ground */
.hero { position: relative; isolation: isolate; overflow: hidden; background-color: var(--ink); background-image: var(--grain-light); color: var(--cotton); min-height: max(40rem, 100svh); display: flex; flex-direction: column; justify-content: center; padding-top: var(--head); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55rem 38rem at 82% 28%, rgba(233,162,59,.16), transparent 62%), radial-gradient(40rem 30rem at 8% 100%, rgba(31,138,122,.2), transparent 60%), radial-gradient(30rem 22rem at 45% 0%, rgba(216,72,43,.1), transparent 60%); }
.hero, .page-head { -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 7px) no-repeat, conic-gradient(from -45deg at bottom, #000 90deg, #0000 0) bottom / 14px 7px repeat-x; mask: linear-gradient(#000 0 0) top / 100% calc(100% - 7px) no-repeat, conic-gradient(from -45deg at bottom, #000 90deg, #0000 0) bottom / 14px 7px repeat-x; }
.hero::after, .page-head::after { content: ""; position: absolute; inset: auto 0 0 0; height: 14px; background: var(--band); animation: drift 14s linear infinite; }
.silk { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.silk-hero { -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.16) 4%, rgba(0,0,0,.42) 36%, #000 68%); mask-image: linear-gradient(90deg, rgba(0,0,0,.16) 4%, rgba(0,0,0,.42) 36%, #000 68%); }
.can-grab { cursor: grab; }
.grabbing, .grabbing * { cursor: grabbing !important; user-select: none; }
.hero-inner { position: relative; padding-block: clamp(3rem, 8vw, 6rem) clamp(5rem, 8vw, 6.5rem); }
.hero .eyebrow, .page-head .eyebrow, .section-ink .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(3rem, 9.2vw, 7.6rem); line-height: 0.96; letter-spacing: -0.035em; max-width: 11ch; }
.hero h1 em, .page-head h1 em, .section-ink h2 em { color: var(--gold); }
.hero .lede { margin-top: 1.8rem; color: #E4DDD0; max-width: 37rem; }
.hero-hint { display: none; margin: 1.6rem 0 0; font: 500 0.72rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); }
.hero-hint::before { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; margin-right: 0.6rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(233,162,59,.6); animation: ping 2.4s var(--ease) infinite; vertical-align: 0.05em; }
@media (hover: hover) and (pointer: fine) { .js:not(.calm) .hero-hint { display: block; } }
.badge { position: absolute; right: var(--pad); bottom: clamp(5rem, 8vw, 6.5rem); width: clamp(7rem, 10vw, 9rem); height: auto; overflow: visible; }
.badge text { font: 500 8.6px var(--mono); letter-spacing: 0.1em; fill: var(--mist); }
.badge-ring { transform-origin: 60px 60px; animation: spin 26s linear infinite; }
.marquee { position: relative; overflow: hidden; border-top: 1px solid rgba(246,240,228,.14); padding-block: 1.15rem 1.6rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { list-style: none; margin: 0; padding: 0 var(--pad); display: flex; flex-wrap: wrap; justify-content: center; row-gap: 0.4rem; font: italic 400 clamp(1.2rem, 2.1vw, 1.65rem)/1.25 var(--display); color: var(--cotton); }
.marquee-track li { display: flex; align-items: center; gap: 1.1rem; padding-right: 2.4rem; white-space: nowrap; }
.marquee-track li::before { content: ""; flex: none; width: 0.55rem; height: 0.55rem; background: var(--gold); transform: rotate(45deg); }
.marquee-track li:nth-child(3n+2)::before { background: var(--ember); }
.marquee-track li:nth-child(3n)::before { background: var(--lagoon); }
.marquee.running .marquee-track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; padding: 0; animation: slide var(--dur, 40s) linear infinite; }
.marquee.running:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { translate: var(--shift, -50%) 0; } }
.scroll-cue { position: absolute; left: 50%; bottom: 5.4rem; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; font: 500 0.68rem var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--mist); text-decoration: none; }
.cue-thread { width: 2px; height: 2.6rem; border-radius: 2px; background: linear-gradient(var(--gold), rgba(233,162,59,0)); transform-origin: top; animation: cue 2.4s var(--ease) infinite; }
.scroll-cue:hover { color: var(--cotton); }

/* Sections */
.section { position: relative; padding-block: var(--section); }
.section-paper { background-color: var(--paper); background-image: var(--grain); border-block: 1px solid var(--line); }
.section-ink { margin-inline: clamp(0.5rem, 1.6vw, 1.5rem); border-radius: var(--radius-lg); background-color: var(--ink); background-image: var(--grain-light), radial-gradient(50rem 30rem at 100% 0%, rgba(31,138,122,.16), transparent 60%), var(--twill); color: var(--cotton); overflow: hidden; }
.section-head { max-width: 50rem; margin-bottom: clamp(2.25rem, 4.5vw, 3.75rem); }
.section-head h2 em { color: var(--ember-deep); }
.section-ink .section-head h2 em { color: var(--gold); }
.section-head p:last-child { margin: 1.1rem 0 0; font-size: 1.12rem; color: var(--stone); }
.section-ink .section-head p:last-child { color: var(--mist); }
/* Quiet webs strung across the corners of sections. They spin in when you reach them and shiver when brushed. */
.has-web { position: relative; isolation: isolate; overflow: clip; }
.gossamer { position: absolute; z-index: -1; width: clamp(20rem, 44vw, 40rem); aspect-ratio: 1; pointer-events: none; -webkit-mask-image: radial-gradient(closest-side, #000 30%, rgba(0,0,0,.55) 68%, transparent 98%); mask-image: radial-gradient(closest-side, #000 30%, rgba(0,0,0,.55) 68%, transparent 98%); }
.g-tr { top: 0; right: 0; translate: 36% -36%; } .g-tl { top: 0; left: 0; translate: -36% -36%; } .g-br { bottom: 0; right: 0; translate: 36% 36%; } .g-bl { bottom: 0; left: 0; translate: -36% 36%; }
.gossamer svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round; transform-origin: 50% 50%; }
.gossamer path { stroke-dasharray: 1 2; stroke-dashoffset: 0; }
.g-ink .orb-spokes { stroke: rgba(17,20,42,.13); stroke-width: 1; }
.g-ink .orb-ring { stroke: rgba(17,20,42,.15); stroke-width: 1; }
.g-ink .orb-ring:nth-of-type(3n+1) { stroke: rgba(184,116,26,.42); stroke-width: 1.3; }
.g-cotton .orb-spokes { stroke: rgba(246,240,228,.11); stroke-width: 1; }
.g-cotton .orb-ring { stroke: rgba(246,240,228,.14); stroke-width: 1; }
.g-cotton .orb-ring:nth-of-type(3n+1) { stroke: rgba(233,162,59,.38); stroke-width: 1.3; }
.gossamer.spin .orb-spokes { transition: stroke-dashoffset 1.4s var(--ease); }
.gossamer.spin .orb-ring { transition: stroke-dashoffset 1s var(--ease) calc(var(--k, 0) * 110ms + 400ms); }
.gossamer.spin:not(.spun) path { stroke-dashoffset: 1.01; }
.gossamer.shiver-a svg { animation: shiver-a 1.4s var(--ease); }
.gossamer.shiver-b svg { animation: shiver-b 1.4s var(--ease); }

/* The spiders that walk the page's threads */
.walker { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 2px 2px rgba(17,20,42,.28)); }
.walker .legs { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; transform-origin: 15px 15px; }
.walker .abdomen { fill: var(--gold); stroke: var(--ink); stroke-width: 1.2; }
.walker .band { fill: none; stroke: var(--ink); stroke-width: 1.1; stroke-linecap: round; }
.walker .head { fill: var(--ink); }
.walking .walker .legs-a { animation: scuttle .2s ease-in-out infinite alternate; }
.walking .walker .legs-b { animation: scuttle .2s ease-in-out infinite alternate-reverse; }
.no-js .track-spider, .calm .track-spider, .no-js .rail-spider, .calm .rail-spider, .no-js .index-spider { display: none; }
.grid { display: grid; gap: var(--gap); }
.ways { grid-template-columns: repeat(3, 1fr); }
.logos { grid-template-columns: repeat(4, 1fr); }
.colours { grid-template-columns: repeat(5, 1fr); }
.types { grid-template-columns: repeat(3, 1fr); }
.after { margin: 2.75rem 0 0; }
.num { color: var(--stone); }

/* Cards that tilt toward the pointer, with a sheen that follows it */
.card { position: relative; display: flex; flex-direction: column; gap: 0.8rem; padding: 1.75rem 1.6rem 1.6rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; transition: border-color .3s, box-shadow .45s var(--ease), transform .7s var(--ease); }
.card p { margin: 0; color: var(--stone); }
.card:hover { border-color: rgba(17,20,42,.28); box-shadow: 0 30px 60px -32px rgba(17,20,42,.45); }
@media (hover: hover) and (pointer: fine) {
  .js:not(.calm) .tilt { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); }
  .js:not(.calm) .tilt:hover { --lift: -5px; }
  .tilt.tilting { transition: border-color .3s, box-shadow .45s var(--ease), transform .14s linear; }
  .tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(26rem circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.5), transparent 42%); mix-blend-mode: soft-light; opacity: 0; transition: opacity .4s; }
  .tilt:hover::after { opacity: 1; }
}

/* Services bento: each card carries a swatch in its own weave */
.bento { display: grid; gap: var(--gap); grid-template-columns: repeat(6, minmax(0, 1fr)); }
.bento .b1 { grid-column: span 3; grid-row: span 2; }
.bento .b2, .bento .b3 { grid-column: span 3; }
.bento .b4, .bento .b5, .bento .b6 { grid-column: span 2; }
.service { padding: 0.55rem 0.55rem 1.5rem; gap: 0.7rem; }
.service > :not(.weave) { margin-inline: 1.1rem; }
.weave { position: relative; display: block; overflow: hidden; background: var(--ink); border-radius: calc(var(--radius-lg) - 0.45rem); }
.weave .swatch { width: 100%; height: 100%; transition: scale .9s var(--ease); }
.service .weave { height: 8.5rem; margin-bottom: 0.55rem; }
.service.b1 .weave { flex: 1; height: auto; min-height: 15rem; }
.service.b2 .weave, .service.b3 .weave { height: 5.25rem; }
.weave-name { position: absolute; left: 0.7rem; bottom: 0.7rem; padding: 0.28rem 0.65rem; border-radius: 999px; background: rgba(17,20,42,.8); color: var(--cotton); font: 500 0.66rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.weave-name::before { content: ""; display: inline-block; width: 0.45rem; height: 0.45rem; margin-right: 0.45rem; border-radius: 50%; background: var(--thread, var(--gold)); }
.feed-2 { --feed: -32px; --feed-t: .9s; } .feed-4 { --feed: -64px; --feed-t: 1.8s; } .feed-8 { --feed: -128px; --feed-t: 3.6s; } .feed-10 { --feed: -160px; --feed-t: 4.5s; }
.service:hover .cloth, .service:focus-visible .cloth, .service-row:hover .cloth { animation: feed var(--feed-t, 2s) linear infinite; }
.service:hover .swatch { scale: 1.05; }
@keyframes feed { to { transform: translateX(var(--feed, -32px)); } }
.service .num { display: flex; align-items: center; gap: 0.55rem; }
.service .num::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--thread); }
.service.b1 h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.service .more { margin-top: auto; padding-top: 0.5rem; display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; font-size: 0.96rem; }

/* Steps: a spider walks the thread across as you scroll, and a small web is spun at each stop */
.steps-loom { position: relative; --p: 1; }
.track { position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: rgba(17,20,42,.14); }
.track-fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--ember), var(--lagoon), var(--ink)); transform-origin: left; transform: scaleX(var(--p)); }
.track-spider { position: absolute; z-index: 2; top: 50%; left: calc(var(--p) * 100%); width: 2rem; height: 2rem; translate: -50% -50%; rotate: 90deg; transition: rotate .35s var(--ease); pointer-events: none; }
.back .track-spider { rotate: -90deg; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.steps li { position: relative; padding-top: 2.2rem; }
.steps li:nth-child(1) { --thread: var(--gold); } .steps li:nth-child(2) { --thread: var(--ember); } .steps li:nth-child(3) { --thread: var(--lagoon); } .steps li:nth-child(4) { --thread: var(--ink); }
.knot { position: absolute; top: -15px; left: -7px; width: 30px; height: 30px; padding: 1px; border-radius: 50%; background: var(--paper); transition: scale .5s var(--spring); }
.knot-web { width: 100%; height: 100%; overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.knot-web path { stroke-dasharray: 1 2; stroke-dashoffset: 0; transition: stroke-dashoffset .8s var(--ease), opacity .4s; }
.knot-web .orb-spokes { stroke: var(--ink); stroke-width: .9; opacity: .5; }
.knot-web .orb-ring { stroke: var(--thread); stroke-width: 1.7; transition-delay: .2s; }
.knot-web .orb-ring + .orb-ring { transition-delay: .4s; }
.knot-web .orb-hub { fill: var(--thread); stroke: var(--ink); stroke-width: .8; transition: fill .4s; }
.js:not(.calm) li:not(.lit) .knot-web .orb-spokes { opacity: .25; }
.js:not(.calm) li:not(.lit) .knot-web .orb-ring { stroke-dashoffset: 1.01; transition-delay: 0s; }
.js:not(.calm) li:not(.lit) .knot-web .orb-hub { fill: transparent; }
.steps h3 { margin: 0.7rem 0 0.6rem; }
.steps p { margin: 0; color: var(--stone); }
.steps .num { transition: color .4s; }
.js:not(.calm) .steps li:not(.lit) .knot { scale: .85; }
.js:not(.calm) .steps li:not(.lit) .num { color: var(--mist); }
.steps li.lit .num { color: var(--ink); }

/* Principles: big numerals, and a thread colour floods up on hover */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(246,240,228,.16); }
.principle { position: relative; isolation: isolate; overflow: hidden; padding: 2rem 1.5rem 2.25rem; transition: color .45s; }
.principle + .principle { border-left: 1px solid rgba(246,240,228,.16); }
.principle::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--thread); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.numeral { display: block; margin-bottom: 1.4rem; font: italic 300 clamp(4rem, 7vw, 6.25rem)/0.85 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--thread); transition: color .45s, translate .6s var(--spring), -webkit-text-stroke-color .45s; }
.principle h3 { margin-bottom: 0.7rem; }
.principle p { margin: 0; color: var(--mist); transition: color .45s; }
@media (hover: hover) {
  .principle:hover { color: var(--ink); }
  .principle:hover::before { transform: none; }
  .principle:hover p { color: var(--ink-2); }
  .principle:hover .numeral { color: var(--ink); -webkit-text-stroke-color: var(--ink); translate: 0 -6px; }
}

/* Ways: thread drawings that redraw themselves on hover */
.way { padding-top: 1.5rem; box-shadow: inset 0 4px 0 var(--thread); }
.way:hover { box-shadow: inset 0 4px 0 var(--thread), 0 30px 60px -32px rgba(17,20,42,.45); }
.glyph { width: 4.25rem; height: 4.25rem; padding: 0.6rem; margin-bottom: 0.4rem; border-radius: 50%; background: color-mix(in srgb, var(--thread) 16%, var(--paper)); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.glyph .g-ink { stroke: var(--ink); } .glyph .g-thread { stroke: var(--thread); }
.glyph > * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.way:hover .glyph > * { animation: draw 1.1s var(--ease) backwards; }
.way:hover .glyph .g-thread { animation-delay: .18s; }
@keyframes draw { from { stroke-dashoffset: 1; } }
.way .link { margin-top: auto; padding-top: 0.8rem; align-self: flex-start; }
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }

/* Call to action: a gold panel with a spotlight that follows the pointer */
.cta-section { padding-block: clamp(1rem, 3vw, 2rem) clamp(3.5rem, 7vw, 5.5rem); }
.cta { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.75rem, 5vw, 4.5rem) calc(clamp(2.5rem, 6vw, 4.5rem) + 10px); border-radius: var(--radius-lg); background-color: var(--gold); background-image: radial-gradient(34rem circle at var(--mx, 85%) var(--my, 15%), rgba(255,241,210,.8), transparent 55%), var(--twill-ink); color: var(--ink); box-shadow: 0 34px 70px -38px rgba(184,116,26,.85); }
.cta::after { content: ""; position: absolute; inset: auto 0 0 0; height: 10px; background: var(--band); animation: drift 12s linear infinite; }
.cta h2 { max-width: 19ch; font-size: clamp(2rem, 4.2vw, 3.4rem); }
.cta h2 em { color: var(--ink); }
.cta p { margin: 1rem 0 0; font-size: 1.15rem; max-width: 34rem; }
.cta :focus-visible { outline-color: var(--ink); }
.silk-cta { opacity: .85; -webkit-mask-image: linear-gradient(90deg, transparent 20%, rgba(0,0,0,.45) 50%, #000 85%); mask-image: linear-gradient(90deg, transparent 20%, rgba(0,0,0,.45) 50%, #000 85%); }

/* Inner pages */
.page-head { position: relative; isolation: isolate; overflow: hidden; background-color: var(--ink); background-image: var(--grain-light), radial-gradient(50rem 30rem at 92% 0%, rgba(233,162,59,.14), transparent 62%); color: var(--cotton); padding-block: calc(var(--head) + clamp(3rem, 7vw, 5.5rem)) clamp(4rem, 8vw, 6rem); }
.silk-head { opacity: .8; -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.1) 25%, rgba(0,0,0,.5) 58%, #000 92%); mask-image: linear-gradient(90deg, rgba(0,0,0,.1) 25%, rgba(0,0,0,.5) 58%, #000 92%); }
.page-head .wrap { position: relative; }
.page-head h1 { max-width: 16ch; }
.page-head .lede { margin: 1.6rem 0 0; color: #E4DDD0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 2.6rem 0 0.9rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: 42rem; }

/* Services page: a sticky index that follows your place */
.services-layout { display: grid; grid-template-columns: 15.5rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.service-index { position: sticky; top: calc(var(--head) + 1.5rem); }
.service-index ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; border-left: 2px solid var(--line); }
.service-index a { display: flex; gap: 0.75rem; align-items: baseline; margin-left: -2px; padding: 0.6rem 0.9rem; border-left: 2px solid transparent; border-radius: 0 10px 10px 0; text-decoration: none; font-weight: 500; line-height: 1.3; color: var(--stone); transition: color .3s, border-color .3s, background-color .3s, padding .4s var(--ease); }
.service-index a:hover { color: var(--ink); }
.service-index a[aria-current] { color: var(--ink); border-left-color: var(--thread); background: color-mix(in srgb, var(--thread) 14%, transparent); padding-left: 1.2rem; }
.service-index .num { font-size: 0.68rem; flex: none; }
/* A spider keeps your place in the index, letting out a gold thread behind her */
.index-spider { position: absolute; z-index: 2; left: 1px; top: var(--spy, 1.4rem); width: 1.55rem; height: 1.55rem; translate: -50% -50%; rotate: 180deg; transition: top .7s var(--ease), rotate .3s var(--ease); pointer-events: none; }
.service-index.back .index-spider { rotate: 0deg; }
.js .service-index::after { content: ""; position: absolute; left: 0; top: var(--top, 0); width: 2px; height: max(0px, calc(var(--spy, 0px) - var(--top, 0px))); border-radius: 2px; background: linear-gradient(rgba(233,162,59,.35), var(--gold)); transition: height .7s var(--ease); pointer-events: none; }
.service-row { padding-bottom: clamp(3rem, 6vw, 4.5rem); scroll-margin-top: calc(var(--head) + 1rem); }
.service-row + .service-row { padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--line); }
.service-row .weave { height: clamp(6rem, 11vw, 8rem); margin-bottom: 1.9rem; border-radius: var(--radius-lg); }
.service-title { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.1rem; }
.service-title h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.service-row .lede { color: var(--ink-2); }
.ticks { list-style: none; margin: 1.4rem 0 1.6rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1.5rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.9rem; height: 3px; border-radius: 1px; background: var(--thread); }

/* Approach: a rail that fills as you read down it */
.rail { position: relative; --p: 1; }
.timeline { --rail: clamp(2.5rem, 5vw, 4rem); position: relative; list-style: none; margin: 0; padding: 0 0 0 var(--rail); }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 7px; top: 0.4rem; bottom: 0.4rem; width: 2px; border-radius: 2px; background: var(--line); }
.timeline::after { background: linear-gradient(var(--gold), var(--ember), var(--lagoon), var(--ink)); transform-origin: top; transform: scaleY(var(--p)); }
.timeline li { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 3.5rem); padding-block: clamp(1.75rem, 3.5vw, 2.75rem); border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: 0; padding-top: 0; }
.timeline li:nth-child(1) { --thread: var(--gold); } .timeline li:nth-child(2) { --thread: var(--ember); } .timeline li:nth-child(3) { --thread: var(--lagoon); } .timeline li:nth-child(4) { --thread: var(--ink); }
.timeline-mark { position: relative; display: flex; flex-direction: column; gap: 0.5rem; }
.mark-web { position: absolute; z-index: 1; left: calc(-1 * var(--rail) - 7px); top: calc(0.1rem - 7px); width: 30px; height: 30px; padding: 1px; border-radius: 50%; background: var(--cotton); }
.rail-spider { position: absolute; z-index: 2; left: 8px; top: calc(0.4rem + var(--p) * (100% - 0.8rem)); width: 2rem; height: 2rem; translate: -50% -50%; rotate: 180deg; transition: rotate .35s var(--ease); pointer-events: none; }
.rail.back .rail-spider { rotate: 0deg; }
.timeline .tag { display: inline-block; align-self: start; padding: 0.3rem 0.7rem; background: var(--ink); color: var(--cotton); border-radius: 999px; }
.timeline h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-bottom: 0.9rem; }
.timeline p { max-width: 40rem; }
.gives { margin: 0; padding: 0.95rem 1.2rem; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--thread); border-radius: 0 12px 12px 0; }

/* Questions: answers open smoothly */
.faq { display: grid; gap: 0.75rem; }
.faq details { background: var(--cotton); border: 1px solid var(--line); border-radius: 1.1rem; padding: 0 1.4rem; transition: background-color .3s, box-shadow .4s var(--ease), border-color .3s; }
.faq details:hover { border-color: rgba(17,20,42,.3); }
.faq details[open] { background: #fff; box-shadow: 0 22px 44px -30px rgba(17,20,42,.45); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 1.2rem 3.25rem 1.2rem 0; font: 500 1.25rem/1.3 var(--display); border-radius: 6px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: -0.35rem; top: 50%; width: 2.1rem; height: 2.1rem; margin-top: -1.05rem; border-radius: 50%; background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat, var(--gold); transition: rotate .45s var(--spring), background-color .3s; }
.faq details[open] summary::after { rotate: 135deg; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details p { margin: 0 0 1.35rem; max-width: 40rem; color: var(--stone); }

/* About */
.opening::first-letter { float: left; margin: 0.05em 0.14em 0 0; font: 500 3.6em/0.82 var(--display); color: var(--ember-deep); }
@supports (initial-letter: 3) {
  .opening::first-letter { float: none; initial-letter: 3; margin: 0 0.18em 0 0; font-size: 1em; line-height: 1; }
}
.pull { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1.5rem; align-items: center; margin: 2.4rem 0; padding: 1.9rem 2rem 1.9rem 1.6rem; background-color: var(--ink); background-image: var(--grain-light), var(--twill); color: var(--cotton); border-radius: var(--radius-lg); }
.pull blockquote { margin: 0; }
.pull p { margin: 0; max-width: none; font: italic 400 clamp(1.25rem, 2.2vw, 1.6rem)/1.35 var(--display); }
.pull-mark { width: 4.5rem; height: 4.5rem; fill: none; stroke-width: 12.5; stroke-linecap: round; stroke-linejoin: round; }
.pull-mark .under { stroke: var(--cotton); } .pull-mark .gap { stroke: var(--ink); stroke-width: 19; stroke-linecap: butt; } .pull-mark .over { stroke: var(--gold); }
.pull-mark path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js:not(.calm) .pull.reveal .pull-mark path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease); }
.js:not(.calm) .pull.reveal .pull-mark .gap, .js:not(.calm) .pull.reveal .pull-mark .over { transition-delay: .55s; }
.js:not(.calm) .pull.reveal.in .pull-mark path { stroke-dashoffset: 0; }
/* The company card is cut like a ticket, notched where the woven strip meets the details */
.facts { position: sticky; top: calc(var(--head) + 1.5rem); overflow: hidden; padding-bottom: 1.4rem; background-color: var(--ink); background-image: var(--grain-light); color: var(--cotton); border-radius: var(--radius-lg); -webkit-mask: radial-gradient(circle at left 6rem, #0000 0.85rem, #000 calc(0.85rem + 0.5px)) left / 51% 100% no-repeat, radial-gradient(circle at right 6rem, #0000 0.85rem, #000 calc(0.85rem + 0.5px)) right / 51% 100% no-repeat; mask: radial-gradient(circle at left 6rem, #0000 0.85rem, #000 calc(0.85rem + 0.5px)) left / 51% 100% no-repeat, radial-gradient(circle at right 6rem, #0000 0.85rem, #000 calc(0.85rem + 0.5px)) right / 51% 100% no-repeat; }
.facts .thread-strip { height: 6rem; }
.facts h2 { margin: 0; padding: 1.5rem 1.75rem 0.6rem; font-size: 1.4rem; border-top: 2px dashed rgba(246,240,228,.28); }
.facts dl { margin: 0; padding: 0 1.75rem; }
.facts dl div { padding: 0.85rem 0; border-top: 1px solid rgba(246,240,228,.14); }
.facts dl div:first-child { border-top: 0; }
.facts dt { font: 500 0.72rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.25rem; }
.facts dd { margin: 0; }
.fields { margin: 0; }

/* Not found: a torn web, and Ananse hanging from what is left of it */
.lost .wrap { position: static; }
.torn { position: absolute; z-index: -1; top: 46%; right: clamp(-8rem, 2vw, 5rem); width: clamp(22rem, 48vw, 42rem); aspect-ratio: 1; translate: 0 -50%; pointer-events: none; }
.torn-web { width: 100%; height: 100%; overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round; -webkit-mask-image: radial-gradient(circle at 36% 62%, transparent 9%, #000 21%), radial-gradient(closest-side, #000 50%, transparent); -webkit-mask-composite: source-in; mask-image: radial-gradient(circle at 36% 62%, transparent 9%, #000 21%), radial-gradient(closest-side, #000 50%, transparent); mask-composite: intersect; }
.torn-web .orb-spokes { stroke: rgba(246,240,228,.16); stroke-width: 1; }
.torn-web .orb-ring { stroke: rgba(246,240,228,.22); stroke-width: 1.1; }
.torn-web .orb-ring:nth-of-type(3n+1) { stroke: rgba(233,162,59,.38); stroke-width: 1.4; }
.torn-web [data-torn] { stroke-dasharray: .07 .025 .12 .04 .05 .06; }
.dangle { position: absolute; left: 50%; top: 50%; display: flex; flex-direction: column; align-items: center; width: 2.6rem; translate: -50% 0; transform-origin: 50% 0; animation: sway 4.6s ease-in-out infinite alternate; }
.dragline { width: 1.5px; height: clamp(6rem, 13vw, 10rem); background: linear-gradient(rgba(246,240,228,.7), rgba(246,240,228,.3)); animation: bob 3.8s ease-in-out infinite alternate; }
.hanging { width: 2.6rem; height: 2.6rem; margin-top: -0.35rem; rotate: 180deg; overflow: visible; }
.hanging .legs { fill: none; stroke: var(--cotton); stroke-width: 1.4; stroke-linecap: round; transform-origin: 15px 15px; }
.hanging .abdomen { fill: var(--gold); } .hanging .band { fill: none; stroke: var(--ink); stroke-width: 1.1; } .hanging .head { fill: var(--cotton); }
.hanging .legs-a { animation: scuttle 2.4s ease-in-out infinite alternate; } .hanging .legs-b { animation: scuttle 2.4s ease-in-out infinite alternate-reverse; }

/* Forms */
.form { display: grid; gap: 1.6rem; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend, label { display: block; font-weight: 600; margin-bottom: 0.5rem; padding: 0; }
.opt { font-weight: 400; color: var(--stone); font-size: 0.9rem; }
input:not([type=radio], [type=checkbox]), select, textarea { width: 100%; min-height: 3.25rem; padding: 0.8rem 1rem; border: 1.5px solid #CFC5B1; border-radius: 14px; background-color: var(--paper); color: var(--ink); font: 400 1rem/1.4 var(--sans); box-shadow: inset 0 1px 2px rgba(17,20,42,.05); transition: border-color .25s, box-shadow .3s, background-color .25s; }
input:not([type=radio], [type=checkbox]):hover, select:hover, textarea:hover { border-color: #A79E8B; }
input:not([type=radio], [type=checkbox]):focus-visible, select:focus-visible, textarea:focus-visible { outline: 0; border-color: var(--ink); background-color: #fff; box-shadow: 0 0 0 4px rgba(233,162,59,.4); }
select { -webkit-appearance: none; appearance: none; padding-right: 2.75rem; background-image: var(--chevron); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.1rem; cursor: pointer; }
textarea { resize: vertical; min-height: 9rem; }
::placeholder { color: #8D8A84; }
[aria-invalid="true"] { border-color: var(--ember-deep) !important; }
.hint { margin: 0.45rem 0 0; }
.error { margin: 0.45rem 0 0; color: var(--ember-deep); font-weight: 600; font-size: 0.94rem; }
.alert { padding: 0.95rem 1.15rem; background: #FBE6DF; border-left: 4px solid var(--ember); border-radius: 0 12px 12px 0; font-weight: 500; }
.alert.ok { background: #DFF1EC; border-left-color: var(--lagoon); }
.choices { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.choice { position: relative; margin: 0; font-weight: 500; cursor: pointer; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; padding: 0.45rem 1.05rem 0.45rem 0.85rem; border: 1.5px solid #CFC5B1; border-radius: 999px; background: var(--paper); transition: background-color .25s, color .25s, border-color .25s, translate .4s var(--spring); }
.choice span::before { content: ""; flex: none; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--dot, var(--gold)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--dot, var(--gold)) 24%, transparent); transition: scale .4s var(--spring); }
.choice:nth-child(5n+2) { --dot: var(--ember); } .choice:nth-child(5n+3) { --dot: var(--lagoon); } .choice:nth-child(5n+4) { --dot: var(--gold-deep); } .choice:nth-child(5n) { --dot: var(--mist); }
.choice:hover span { border-color: var(--ink); translate: 0 -2px; }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--cotton); }
.choice input:checked + span::before { scale: 1.35; }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.check { display: flex; gap: 0.75rem; align-items: flex-start; font-weight: 400; cursor: pointer; }
.check input { width: 1.3rem; height: 1.3rem; margin: 0.15rem 0 0; accent-color: var(--ink); flex: none; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
/* The form web: one ring of silk for each required field you complete */
.form-web { position: sticky; top: calc(var(--head) + 0.4rem); z-index: 5; display: flex; align-items: center; gap: 0.85rem; width: fit-content; padding: 0.35rem 1.3rem 0.35rem 0.35rem; background: rgba(251,248,241,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 14px 30px -22px rgba(17,20,42,.5); transition: top .5s var(--ease); }
html:has(.site-header.tucked) .form-web { top: 0.75rem; }
.no-js .form-web { display: none; }
.web-progress { flex: none; width: 3.25rem; height: 3.25rem; padding: 0.3rem; border-radius: 50%; background: var(--ink); fill: none; stroke-linecap: round; stroke-linejoin: round; }
.web-progress .orb-spokes { stroke: rgba(246,240,228,.32); stroke-width: 1; }
.web-progress .orb-ring { stroke-width: 2.4; stroke-dasharray: 1 2; stroke-dashoffset: 1.01; transition: stroke-dashoffset .9s var(--ease); }
.web-progress .orb-ring:nth-of-type(2) { stroke: var(--gold); } .web-progress .orb-ring:nth-of-type(3) { stroke: var(--ember); } .web-progress .orb-ring:nth-of-type(4) { stroke: var(--lagoon); } .web-progress .orb-ring:nth-of-type(5) { stroke: var(--gold); } .web-progress .orb-ring:nth-of-type(6) { stroke: var(--cotton); }
.web-progress .orb-ring.done { stroke-dashoffset: 0; }
.web-progress .orb-hub { fill: rgba(246,240,228,.45); transition: fill .4s; }
.form.ready .web-progress { animation: ping 2.4s var(--ease) infinite; }
.form.ready .web-progress .orb-hub { fill: var(--gold); }
.web-status { margin: 0; color: var(--stone); font-size: 0.95rem; white-space: nowrap; }
.web-status strong { font: 600 1.15rem var(--display); color: var(--ink); }
.form.ready .web-status, .form.ready .web-status strong { color: var(--lagoon); }
.form.ready .send { background: var(--gold); color: var(--ink); --sweep: #F7C56C; box-shadow: 0 16px 34px -14px rgba(233,162,59,.9); }
.form.ready .send::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%); translate: -100% 0; animation: shine 2.6s var(--ease) infinite; }
.next { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.9rem 1.75rem; }
.contact .next { position: sticky; top: calc(var(--head) + 1.5rem); }
.next h2 { font-size: 1.5rem; margin-bottom: 1.2rem; }
.next ol { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 1rem; counter-reset: next; }
.next ol li { position: relative; padding-left: 2.6rem; counter-increment: next; }
.next ol li::before { content: counter(next); position: absolute; left: 0; top: -0.1rem; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--ink); color: var(--gold); font: 500 0.78rem var(--mono); }

/* Thank-you ticket */
.thanks { min-height: 78svh; }
.thanks h1 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 20ch; }
.ticket { margin: 2.5rem 0 1rem; max-width: 46rem; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2); box-shadow: 0 34px 70px -34px #000; -webkit-mask: radial-gradient(circle at left 100px, #0000 0.8rem, #000 calc(0.8rem + 0.5px)) left / 51% 100% no-repeat, radial-gradient(circle at right 100px, #0000 0.8rem, #000 calc(0.8rem + 0.5px)) right / 51% 100% no-repeat; mask: radial-gradient(circle at left 100px, #0000 0.8rem, #000 calc(0.8rem + 0.5px)) left / 51% 100% no-repeat, radial-gradient(circle at right 100px, #0000 0.8rem, #000 calc(0.8rem + 0.5px)) right / 51% 100% no-repeat; }
.thread-strip { width: 100%; height: 100px; }
.thread-strip.weaving rect + rect { animation: weave-in .6s var(--ease) backwards; animation-delay: var(--d, 0ms); }
.ticket-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1.3rem 1.5rem; border-top: 2px dashed rgba(246,240,228,.25); }
.ticket .label { display: block; color: var(--gold); margin-bottom: 0.3rem; }
.ticket .ref { font: 600 1.25rem var(--mono); letter-spacing: 0.04em; }
.thanks .small { color: var(--mist); }

/* Brand page */
.logo-tile { margin: 0; display: grid; place-items: center; min-height: 11rem; padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--line); transition: translate .6s var(--spring), box-shadow .45s; }
.logo-tile img { transition: scale .7s var(--spring); }
.logo-tile:hover { translate: 0 -6px; box-shadow: 0 26px 50px -30px rgba(17,20,42,.55); }
.logo-tile:hover img { scale: 1.07; }
.logo-tile.light { background: var(--paper); } .logo-tile.dark { background-color: var(--ink); background-image: var(--grain-light), var(--twill); border-color: var(--ink); }
.downloads { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.75rem; margin: 2rem 0 0; padding: 0; }
.colour { position: relative; padding: 0.55rem 0.55rem 1.2rem; background: var(--cotton); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: translate .6s var(--spring), box-shadow .45s; }
.colour > :not(.chip, .copy) { margin-inline: 0.65rem; }
.colour h3 { font-size: 1.15rem; margin-top: 0.2rem; }
.colour code { display: inline-block; margin-top: 0.3rem; }
.colour p { margin-top: 0.4rem; margin-bottom: 0; font-size: 0.94rem; color: var(--stone); }
.chip { display: block; height: 7.5rem; margin-bottom: 0.9rem; border-radius: calc(var(--radius-lg) - 0.4rem); border: 1px solid rgba(17,20,42,.1); transition: height .5s var(--ease); }
.chip-ink { background: var(--ink); } .chip-cotton { background: var(--cotton); } .chip-gold { background: var(--gold); } .chip-ember { background: var(--ember); } .chip-lagoon { background: var(--lagoon); }
.copy { position: absolute; inset: 0; z-index: 1; width: 100%; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: copy; }
.colour:has(.copy)::after { content: "Copy"; position: absolute; top: 1.2rem; right: 1.2rem; padding: 0.25rem 0.65rem; border-radius: 999px; background: rgba(17,20,42,.82); color: var(--cotton); font: 500 0.68rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0; translate: 0 -4px; transition: opacity .3s, translate .4s var(--spring); pointer-events: none; }
.colour:has(.copy):hover, .colour:has(.copy:focus-visible) { translate: 0 -5px; box-shadow: 0 24px 46px -30px rgba(17,20,42,.55); }
.colour:has(.copy):hover::after, .colour:has(.copy:focus-visible)::after, .colour.copied::after { opacity: 1; translate: none; }
.colour.copied::after { content: "Copied"; background: var(--lagoon); }
.colour:hover .chip { height: 8.25rem; }
.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 80; translate: -50% calc(100% + 2rem); padding: 0.8rem 1.25rem; border-radius: 999px; background: var(--ink); color: var(--cotton); font-weight: 500; box-shadow: 0 18px 40px -18px rgba(17,20,42,.8); transition: translate .5s var(--spring); }
.toast.show { translate: -50% 0; }
.toast:empty { visibility: hidden; }
.tester { display: flex; align-items: center; gap: 1rem; margin: -1rem 0 1.5rem; padding: 0.5rem 0.5rem 0.5rem 1.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.tester label { margin: 0; flex: none; font: 500 0.75rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); }
.tester input:not([type]) , .tester input[type=text] { min-height: 2.75rem; border-radius: 999px; }
.no-js .tester { display: none; }
.type-card { padding: 1.6rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.type-card p { margin: 0; color: var(--stone); }
.spec { min-height: 2.6rem; font-size: 2.3rem; line-height: 1.1; color: var(--ink) !important; margin-bottom: 0.8rem !important; overflow-wrap: anywhere; }
.spec.display { font-family: var(--display); font-weight: 500; } .spec.sans { font-family: var(--sans); font-weight: 600; } .spec.mono { font-family: var(--mono); font-size: 1.8rem; }

/* Footer: a drifting band, and the name woven large */
.site-footer { position: relative; overflow: hidden; background-color: var(--ink); background-image: var(--grain-light); color: var(--cotton); }
.band { height: 10px; background: var(--band); }
.drift { animation: drift 16s linear infinite; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.footer-tag { margin: 1.1rem 0 0; font: italic 400 1.3rem var(--display); color: var(--gold); }
.site-footer h2 { font: 500 0.75rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); margin-bottom: 0.9rem; }
.site-footer nav a { display: block; width: fit-content; padding: 0.3rem 0; text-decoration: none; transition: color .25s, translate .4s var(--spring); }
.site-footer nav a:hover { color: var(--gold); translate: 4px 0; }
.site-footer p a:hover { color: var(--gold); }
.site-footer p { margin: 0 0 0.4rem; }
.legal { padding-block: 1.5rem 0.5rem; border-top: 1px solid rgba(246,240,228,.14); font-size: 0.88rem; color: var(--mist); }
.legal p { margin: 0; max-width: 60rem; }
.wordmark { margin: 0 0 -0.2em; padding-inline: var(--pad); text-align: center; font: 600 clamp(6rem, 29vw, 26rem)/0.9 var(--display); letter-spacing: -0.045em; color: transparent; background: repeating-linear-gradient(100deg, var(--gold) 0 22px, transparent 22px 30px, var(--ember) 30px 52px, transparent 52px 60px, var(--lagoon) 60px 82px, transparent 82px 90px, rgba(246,240,228,.55) 90px 112px, transparent 112px 120px); background-size: 240px 100%; -webkit-background-clip: text; background-clip: text; opacity: .85; user-select: none; animation: drift-wide 30s linear infinite; }

/* Headline words rise in on load */
.split .word { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.08em 0.14em; margin: 0 -0.08em -0.14em; }
.split .word-in { display: inline-block; animation: word-up 1s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 65ms + 120ms); }

/* Blocks rise in as they enter the page (only when scripts run and motion is welcome) */
.js:not(.calm) .reveal:not(.in) { opacity: 0; }
.js:not(.calm) .reveal.in { animation: rise .9s var(--ease) backwards; animation-delay: var(--delay, 0ms); }

@keyframes rise { from { opacity: 0; translate: 0 28px; } }
@keyframes word-up { from { translate: 0 105%; rotate: 4deg; } }
@keyframes drift { to { background-position: 120px 0; } }
@keyframes drift-wide { to { background-position: 240px 0; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes sway { from { rotate: -7deg; } to { rotate: 7deg; } }
@keyframes bob { to { height: clamp(7.5rem, 16vw, 12.5rem); } }
@keyframes scuttle { from { rotate: -8deg; } to { rotate: 8deg; } }
@keyframes shiver-a { 0%, 100% { rotate: 0deg; scale: 1; } 18% { rotate: 1.6deg; scale: 1.012; } 42% { rotate: -1.1deg; scale: .996; } 68% { rotate: .5deg; scale: 1.004; } }
@keyframes shiver-b { 0%, 100% { rotate: 0deg; scale: 1; } 18% { rotate: 1.6deg; scale: 1.012; } 42% { rotate: -1.1deg; scale: .996; } 68% { rotate: .5deg; scale: 1.004; } }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(233,162,59,.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(233,162,59,0); } }
@keyframes shine { 0% { translate: -100% 0; } 55%, 100% { translate: 100% 0; } }
@keyframes weave-in { from { opacity: 0; transform: translateY(-10px); } }

/* Moving between pages: the new page is drawn across like a weft thread */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .5s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease) both; }
@keyframes vt-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes vt-out { to { opacity: .55; } }

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento .b1 { grid-column: span 2; grid-row: auto; }
  .bento .b2, .bento .b3, .bento .b4, .bento .b5, .bento .b6 { grid-column: span 1; }
  .service.b1 .weave { min-height: 12rem; }
  .service.b2 .weave, .service.b3 .weave { height: 8.5rem; }
  .ways, .types { grid-template-columns: repeat(2, 1fr); }
  .principles, .logos { grid-template-columns: repeat(2, 1fr); }
  .principle:nth-child(odd) { border-left: 0; }
  .principle:nth-child(n+3) { border-top: 1px solid rgba(246,240,228,.16); }
  .colours { grid-template-columns: repeat(3, 1fr); }
  .two-col, .services-layout { grid-template-columns: 1fr; }
  .facts, .contact .next { position: static; }
  .service-index { position: static; }
  .service-index ol { display: flex; flex-wrap: wrap; gap: 0.5rem; border-left: 0; }
  .service-index a { margin: 0; padding: 0.45rem 0.9rem; border: 1.5px solid var(--line); border-radius: 999px; }
  .service-index a[aria-current] { padding-left: 0.9rem; border-color: var(--thread); }
  .index-spider, .js .service-index::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .badge { display: none; }
  /* steps run down the page instead of across it */
  .track { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .track-fill { transform-origin: top; transform: scaleY(var(--p)); background: linear-gradient(var(--gold), var(--ember), var(--lagoon), var(--ink)); }
  .track-spider { top: calc(var(--p) * 100%); left: 50%; rotate: 180deg; }
  .back .track-spider { rotate: 0deg; }
  .steps { grid-template-columns: 1fr; row-gap: 2.25rem; max-width: 42rem; }
  .steps li { padding: 0 0 0 2.75rem; }
  .knot { top: -0.3rem; }
}
@media (max-width: 720px) {
  :root { --head: 5rem; }
  .site-header { border-radius: 1.6rem; }
  .bar { min-height: 3.5rem; padding-inline: 1.1rem 0.4rem; }
  .menu-toggle { display: inline-flex; }
  .js .site-nav { position: absolute; left: 0; right: 0; top: calc(100% + 0.5rem); display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 0.6rem 0.75rem 0.9rem; background: var(--paper); border: 1px solid rgba(17,20,42,.09); border-radius: 1.6rem; box-shadow: 0 24px 50px -24px rgba(17,20,42,.55); opacity: 0; translate: 0 -8px; transition: opacity .3s, translate .4s var(--spring), display .4s allow-discrete; }
  .js .site-nav.open { display: flex; opacity: 1; translate: none; }
  @starting-style { .js .site-nav.open { opacity: 0; translate: 0 -8px; } }
  .js .site-nav a:not(.btn) { padding: 0.95rem 0.9rem; border-radius: 12px; font-size: 1.1rem; }
  .js .site-nav a:not(.btn)::after { bottom: 0.55rem; }
  .js .site-nav .btn { margin: 0.6rem 0 0; justify-content: center; }
  .no-js .site-header { position: absolute; }
  .no-js .menu-toggle { display: none; }
  .no-js .bar { flex-wrap: wrap; padding-block: 0.5rem; }
  .no-js .site-nav { flex-wrap: wrap; }
  .no-js .hero { padding-top: 9rem; }
  .no-js .page-head { padding-top: 11rem; }
  .silk-hero { opacity: .85; -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.14) 30%, rgba(0,0,0,.5) 58%, #000 86%); mask-image: linear-gradient(180deg, rgba(0,0,0,.14) 30%, rgba(0,0,0,.5) 58%, #000 86%); }
  .silk-head { opacity: .55; -webkit-mask-image: linear-gradient(200deg, #000 15%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.15)); mask-image: linear-gradient(200deg, #000 15%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.15)); }
  .silk-cta { -webkit-mask-image: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.5) 65%, #000 90%); mask-image: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.5) 65%, #000 90%); }
  .scroll-cue { display: none; }
  .hero-inner { padding-bottom: 3rem; }
  .timeline li { grid-template-columns: 1fr; gap: 0.9rem; }
  .timeline-mark { flex-direction: row; align-items: center; }
  .torn { opacity: .55; right: -9rem; }
  .pull { grid-template-columns: 1fr; padding: 1.6rem; }
  .pull-mark { width: 3.25rem; height: 3.25rem; }
}
@media (max-width: 560px) {
  .bento, .ways, .types, .principles, .row, .ticks, .ticket-row, .footer-grid { grid-template-columns: 1fr; }
  .bento .b1, .bento .b2, .bento .b3, .bento .b4, .bento .b5, .bento .b6 { grid-column: auto; }
  .service.b1 .weave { min-height: 10rem; }
  .principle, .principle:nth-child(odd) { border-left: 0; }
  .principle + .principle { border-top: 1px solid rgba(246,240,228,.16); }
  .colours, .logos { grid-template-columns: repeat(2, 1fr); }
  .btn { width: 100%; }
  .btn-small, .site-nav .btn, .downloads .btn { width: auto; }
  .tester { flex-direction: column; align-items: stretch; border-radius: 1.2rem; padding: 1rem; }
  .form-web { gap: 0.7rem; padding-right: 1rem; }
  .web-status span { display: none; }
  .web-status::after { content: " / 5"; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .progress { animation-duration: auto !important; }
  @view-transition { navigation: none; }
}
@media print {
  .site-header, .site-footer, .cta-section, .silk, .gossamer, .torn, .track-spider, .rail-spider, .index-spider, .marquee, .scroll-cue, .badge, .form-web, .hero-hint { display: none; }
  body { background: #fff; }
  .hero, .page-head { -webkit-mask: none; mask: none; padding-top: 2rem; }
}
