@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/BricolageGrotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/JetBrainsMono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: light dark;
  --bg: #F4F2ED; --bg2: #ECE9E2; --card: #FBFAF7; --line: #DEDAD1; --line2: #C8C3B8;
  --ink: #121212; --ink2: #3D3B37; --ink3: #6B6860;
  --accent: #2B45E0; --accent-2: #5B74FF; --on-accent: #FFFFFF; --accent-soft: #DFE3FA;
  --green: #1E6B44; --orange: #F0552B;
  --inv-bg: #121212; --inv-ink: #F4F2ED; --inv-ink2: #A9A6A0;
  --blob-o: .55;
  --shadow: 0 1px 2px rgba(18, 18, 18, .05), 0 12px 32px -8px rgba(18, 18, 18, .12);
  --shadow-lg: 0 2px 4px rgba(18, 18, 18, .05), 0 30px 60px -20px rgba(18, 18, 18, .25);
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --wrap: 1180px;
  --r: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E0E12; --bg2: #14141A; --card: #17171E; --line: #26262F; --line2: #383843;
    --ink: #EEEDE8; --ink2: #C4C2BB; --ink3: #8F8D86;
    --accent: #8A9BFF; --accent-2: #B3BFFF; --on-accent: #0E0E12; --accent-soft: #1D2142;
    --green: #5FBF8A; --orange: #FF7A52;
    --inv-bg: #F4F2ED; --inv-ink: #121212; --inv-ink2: #5A5852;
    --blob-o: .35;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -8px rgba(0, 0, 0, .5);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 30px 60px -20px rgba(0, 0, 0, .7);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.025em; }
h1 { font-size: clamp(2.6rem, 9vw, 5.4rem); font-weight: 750; }
h2 { font-size: clamp(2rem, 6vw, 3.4rem); }
h3 { font-size: 1.3rem; letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--ink3); }
.eyebrow { font: 500 .78rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); margin: 0 0 1.2em; display: flex; align-items: center; gap: 10px; }
.eyebrow span { color: var(--accent); }
.eyebrow span::after { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-left: 10px; opacity: .6; }
.intro { font-size: 1.12rem; color: var(--ink2); max-width: 34em; }

/* buttons and links */
.btn { --bb: var(--ink); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font: 600 .98rem/1.2 var(--sans); text-decoration: none; background: var(--ink); color: var(--bg); border: 1.5px solid var(--bb); transition: transform .3s var(--ease), background .2s, color .2s, box-shadow .3s; will-change: transform; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: 0 10px 30px -10px var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line2); }
.btn.ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); box-shadow: none; }
.btn.big { padding: 17px 28px; font-size: 1.04rem; }
.btn.small { padding: 9px 16px; font-size: .9rem; }
.btn .arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateY(3px); }
.link { color: var(--ink); font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease); padding-bottom: 2px; }
.link:hover, a:hover > .link { background-size: 100% 1.5px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* scroll progress: pure CSS where scroll-driven animations exist */
.progress { position: fixed; inset: 0 0 auto; height: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}

/* header */
.top { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.top.scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.2rem/1 var(--display); letter-spacing: -.02em; color: var(--ink); position: relative; z-index: 2; }
.mark { width: 30px; height: 30px; flex: none; transition: transform .5s var(--ease); }
.mark rect { fill: var(--ink); }
.mark path { stroke-width: 3.4; stroke-linecap: round; fill: none; }
.mark-h { stroke: var(--bg); }
.mark-bar { stroke: var(--accent-2); transition: transform .5s var(--ease); }
.brand:hover .mark { transform: rotate(-8deg); }
.brand:hover .mark-bar { transform: translateY(-3px); }
.nav { display: flex; align-items: center; gap: 4px 26px; flex-wrap: wrap; font-size: .95rem; font-weight: 500; }
.nav a:not(.btn) { text-decoration: none; color: var(--ink2); position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.menu-btn { display: none; }

/* phones: with script the nav folds into a full-screen menu; without it, it wraps under the brand */
@media (max-width: 759px) {
  .top .wrap { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  html:not(.js) .nav { gap: 6px 18px; font-size: .9rem; }
  .js .menu-btn { display: inline-flex; align-items: center; gap: 10px; background: none; border: 1.5px solid var(--line2); color: var(--ink); border-radius: 999px; padding: 8px 14px; font: 600 .9rem/1 var(--sans); cursor: pointer; position: relative; z-index: 2; }
  .menu-icon { width: 16px; height: 10px; position: relative; }
  .menu-icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
  .menu-icon i:first-child { top: 1px; } .menu-icon i:last-child { top: 7px; }
  .menu-open .menu-icon i:first-child { top: 4px; transform: rotate(45deg); }
  .menu-open .menu-icon i:last-child { top: 4px; transform: rotate(-45deg); }
  .js .nav { position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: 80px 24px 40px; background: var(--bg); visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility 0s .35s; }
  .js .menu-open .nav { visibility: visible; opacity: 1; transition: opacity .35s var(--ease); }
  .js .nav a { font: 700 clamp(2.2rem, 11vw, 3rem)/1.15 var(--display); letter-spacing: -.03em; color: var(--ink); opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .js .nav a::after { display: none; }
  .js .nav .btn { font: 600 1.05rem/1.2 var(--sans); letter-spacing: 0; margin-top: 24px; padding: 16px 26px; color: var(--bg); }
  .js .menu-open .nav a { opacity: 1; transform: none; }
  .js .menu-open .nav a:nth-child(2) { transition-delay: .05s; } .js .menu-open .nav a:nth-child(3) { transition-delay: .1s; }
  .js .menu-open .nav a:nth-child(4) { transition-delay: .15s; } .js .menu-open .nav a:nth-child(5) { transition-delay: .2s; }
  .menu-open .top { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.menu-open { overflow: hidden; }
}

/* hero */
.hero { position: relative; padding: 48px 0 64px; isolation: isolate; overflow: hidden; margin-top: -68px; padding-top: 116px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: var(--blob-o); will-change: transform; }
.hero .b1 { width: 46vmax; height: 46vmax; background: var(--accent-2); top: -18vmax; right: -12vmax; animation: drift1 22s ease-in-out infinite alternate; }
.hero .b2 { width: 30vmax; height: 30vmax; background: #F0552B; top: 30%; right: 18%; opacity: calc(var(--blob-o) * .7); animation: drift2 26s ease-in-out infinite alternate; }
.hero .b3 { width: 34vmax; height: 34vmax; background: #3FA36F; bottom: -20vmax; left: -10vmax; opacity: calc(var(--blob-o) * .6); animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-8vmax, 10vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-14vmax, -6vmax) scale(.85); } }
@keyframes drift3 { to { transform: translate(12vmax, -8vmax) scale(1.1); } }
/* dot grid, revealed around the pointer (the --mx/--my set by site.js) and faintly everywhere else */
.grid { position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--ink) 28%, transparent) 1px, transparent 1.2px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(420px circle at var(--mx, 70%) var(--my, 30%), #000 0%, rgba(0,0,0,.18) 60%, rgba(0,0,0,.08) 100%);
  mask-image: radial-gradient(420px circle at var(--mx, 70%) var(--my, 30%), #000 0%, rgba(0,0,0,.18) 60%, rgba(0,0,0,.08) 100%); }
.grain { position: absolute; inset: -50%; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-inner { display: grid; gap: 48px; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 10px; font: 500 .8rem/1.3 var(--mono); color: var(--ink2); background: color-mix(in srgb, var(--card) 70%, transparent); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 12px; margin-bottom: 28px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fade-up .8s var(--ease) both; }
.status b { color: var(--ink); font-weight: 500; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #2FB36B; position: relative; flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
.split > span > span { display: inline-block; animation: word 1s var(--ease) both; }
.split > span > span:nth-child(2) { animation-delay: .06s; } .split > span > span:nth-child(3) { animation-delay: .12s; }
.split > span > span:nth-child(4) { animation-delay: .18s; } .split > span > span:nth-child(5) { animation-delay: .24s; }
.split > span > span:nth-child(6) { animation-delay: .30s; } .split > span > span:nth-child(7) { animation-delay: .36s; }
.split > span > span:nth-child(8) { animation-delay: .42s; }
@keyframes word { from { opacity: 0; transform: translateY(.45em) rotate(3deg); filter: blur(10px); } }
.hl { background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 50%, var(--accent) 90%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: word 1s var(--ease) both, sheen 6s 1.5s ease-in-out infinite; }
@keyframes sheen { 50% { background-position: 100% 0; } }
.lede { font-size: clamp(1.08rem, 2.4vw, 1.25rem); color: var(--ink2); max-width: 32em; margin: 8px 0 32px; }
.rise { animation: fade-up .9s var(--ease) both; }
.r1 { animation-delay: .5s; } .r2 { animation-delay: .65s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }

/* floating app tiles */
.hero-art { position: relative; height: 230px; max-width: 340px; width: 100%; margin: 0 auto; }
@media (min-width: 560px) { .hero-art { height: 300px; max-width: 460px; } }
.tile { position: absolute; display: grid; justify-items: center; gap: 10px; transition: translate .6s var(--ease); }
.tile img { width: 100%; border-radius: 26%; box-shadow: var(--shadow-lg); background: #F4F2ED; }
.tile span { font: 500 .75rem/1 var(--mono); color: var(--ink3); background: color-mix(in srgb, var(--card) 80%, transparent); border: 1px solid var(--line); padding: 5px 9px; border-radius: 999px; }
.t1 { width: 36%; left: 6%; top: 14%; animation: float 7s ease-in-out infinite, pop .9s .3s var(--ease) both; }
.t2 { width: 30%; right: 4%; top: 0; animation: float 8s -2s ease-in-out infinite, pop .9s .45s var(--ease) both; }
.t3 { width: 32%; right: 20%; bottom: 0; animation: float 9s -4s ease-in-out infinite, pop .9s .6s var(--ease) both; }
.t1 img { rotate: -6deg; } .t2 img { rotate: 5deg; } .t3 img { rotate: -3deg; }
.ring { position: absolute; inset: 10% 14%; border: 1px dashed var(--line2); border-radius: 50%; animation: spin 60s linear infinite; z-index: -1; }
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes pop { from { opacity: 0; scale: .6; } }
@keyframes spin { to { rotate: 360deg; } }
@media (min-width: 900px) {
  .hero { min-height: min(92svh, 860px); display: flex; align-items: center; padding-bottom: 96px; }
  .hero-inner { grid-template-columns: 1.25fr .9fr; width: 100%; }
  .hero-art { height: 460px; }
}

/* marquee */
.marquee { border-block: 1px solid var(--line); padding: 18px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; }
.marquee li { font: 600 clamp(1.1rem, 2.6vw, 1.6rem)/1 var(--display); letter-spacing: -.02em; color: var(--ink2); padding: 0 28px; display: flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee li::after { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); rotate: 45deg; margin-right: -28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.band { padding: 88px 0; position: relative; }
.band.alt { background: var(--bg2); }
@media (min-width: 900px) { .band { padding: 128px 0; } }
.head { margin-bottom: 48px; }
.head h2 { max-width: 14em; }

/* cards with a pointer-following glow (--mx/--my set by site.js) */
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; overflow: hidden; isolation: isolate; transition: border-color .3s, box-shadow .4s var(--ease), transform .5s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c, var(--accent)) 14%, transparent), transparent 45%); }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), var(--c, var(--accent)), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.card:hover { box-shadow: var(--shadow-lg); }
.card:hover::before, .card:hover::after { opacity: 1; }

/* apps */
.bento { display: grid; gap: 16px; }
@media (min-width: 760px) { .bento { grid-template-columns: 1fr 1fr; gap: 20px; } .app-hagolf { grid-column: 1 / -1; } }
.app { display: flex; flex-direction: column; min-height: 420px; transform-style: preserve-3d; }
.app-hagolf { --c: var(--green); }
.app-rated { --c: var(--accent); }
.app-cravr { --c: var(--orange); }
.app-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.app-icon { width: 48px; height: 48px; border-radius: 13px; background: #F4F2ED; box-shadow: var(--shadow); }
.app h3 { font-size: clamp(1.9rem, 4vw, 2.5rem); margin-bottom: .15em; }
.app-kicker { font-weight: 600; color: var(--c); margin-bottom: 1em; }
.app p { color: var(--ink2); max-width: 30em; }
.pill { font: 500 .72rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 7px; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.live { color: #1F8A52; background: color-mix(in srgb, #2FB36B 12%, transparent); border-color: color-mix(in srgb, #2FB36B 35%, transparent); }
.pill.live::before { animation: blink 2s infinite; }
.pill.dev { color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.pill.early { color: var(--orange); background: color-mix(in srgb, var(--orange) 10%, transparent); border-color: color-mix(in srgb, var(--orange) 30%, transparent); }
@keyframes blink { 50% { opacity: .3; } }
@media (prefers-color-scheme: dark) { .pill.live { color: #5FD493; } }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 24px; }
.tags li { font-size: .8rem; color: var(--ink3); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.app-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: auto; }
.app-art { position: absolute; width: 62%; right: -14%; bottom: -16%; z-index: -1; border-radius: 30%; opacity: .9; rotate: -10deg; transition: transform .8s var(--ease), rotate .8s var(--ease); box-shadow: var(--shadow); }
.app:hover .app-art { transform: translate(-4%, -4%) scale(1.04); rotate: -4deg; }
.app-rated, .app-cravr { padding-bottom: 180px; }
.app-shot { position: relative; height: 340px; margin: 32px -28px -28px; overflow: hidden; }
.phone { position: absolute; width: 190px; padding: 7px; border-radius: 30px; background: #1B1D1F; box-shadow: var(--shadow-lg); transition: transform .8s var(--ease); }
.phone img { border-radius: 24px; }
.p1 { left: 50%; top: 28px; transform: translateX(-95%) rotate(-6deg); }
.p2 { left: 50%; top: 60px; transform: translateX(-5%) rotate(5deg); }
.app-hagolf:hover .p1 { transform: translateX(-105%) translateY(-14px) rotate(-9deg); }
.app-hagolf:hover .p2 { transform: translateX(5%) translateY(-6px) rotate(8deg); }
@media (min-width: 760px) {
  .app-hagolf { flex-direction: row; gap: 24px; min-height: 460px; }
  .app-text { flex: 1 1 50%; display: flex; flex-direction: column; padding: 12px; }
  .app-shot { flex: 1 1 50%; height: auto; margin: -28px -28px -28px 0; background: linear-gradient(160deg, color-mix(in srgb, var(--green) 14%, transparent), transparent 70%); }
  .phone { width: 210px; }
  .p1 { top: 48px; } .p2 { top: 96px; }
}

/* numbers */
.numbers { padding: 72px 0; border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; margin: 0; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats div { display: flex; flex-direction: column-reverse; border-left: 1px solid var(--line); padding-left: 20px; }
.stats dt { font-size: .9rem; color: var(--ink3); max-width: 13em; }
.stats dd { margin: 0 0 6px; font: 700 clamp(3rem, 8vw, 4.6rem)/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }

/* approach */
.split-2 { display: grid; gap: 24px; }
@media (min-width: 900px) { .split-2 { grid-template-columns: .9fr 1.1fr; gap: 64px; } .sticky { position: relative; } .sticky .head { position: sticky; top: 120px; } }
.principles li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 32px 0; border-top: 1px solid var(--line2); }
.principles li:last-child { border-bottom: 1px solid var(--line2); }
.principles .num { font: 500 .85rem/1.9 var(--mono); color: var(--ink3); transition: color .4s; }
.principles h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); transition: color .4s; }
.principles p { color: var(--ink2); margin: 0; max-width: 32em; }
.principles li.in .num { color: var(--accent); }

/* services and cases */
.services { display: grid; gap: 16px; }
@media (min-width: 560px) { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(4, 1fr); } }
.service h3 { margin: 28px 0 8px; }
.service p { color: var(--ink2); margin: 0; font-size: .96rem; }
.svc-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); transition: transform .5s var(--ease), background .3s, color .3s; }
.svc-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service:hover .svc-icon { transform: rotate(-8deg) scale(1.08); background: var(--accent); color: var(--on-accent); }
.cases { display: grid; gap: 16px; margin-top: 56px; }
@media (min-width: 900px) { .cases { grid-template-columns: 1.6fr 1fr; gap: 20px; } }
.case-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--card); transition: box-shadow .4s var(--ease), transform .5s var(--ease); }
.case-link:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.case-media { height: 260px; overflow: hidden; background: linear-gradient(140deg, color-mix(in srgb, var(--green) 22%, var(--bg2)), var(--bg2)); display: flex; justify-content: center; padding-top: 32px; }
.case-media img { width: 220px; border-radius: 22px; border: 6px solid #1B1D1F; box-shadow: var(--shadow-lg); transition: transform .8s var(--ease); }
.case-link:hover .case-media img { transform: translateY(-20px) scale(1.03); }
.case-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.case-body p:not(.eyebrow) { color: var(--ink2); }
.case-body .link { margin-top: auto; align-self: flex-start; }
.small-eyebrow { margin-bottom: .8em; }
.case-empty .case-link { border-style: dashed; border-color: var(--line2); background: transparent; justify-content: flex-end; min-height: 280px; }
.case-empty h3 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
@media (min-width: 900px) { .case:first-child .case-link { flex-direction: row; } .case:first-child .case-media { flex: 0 0 44%; height: auto; min-height: 340px; } }

/* about */
.about { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: .8fr 1.2fr; gap: 80px; } }
.about .head { margin: 0; }
.about .head p:not(.eyebrow) { color: var(--ink2); font-size: 1.08rem; max-width: 34em; }
.about-card { position: relative; aspect-ratio: 4 / 5; max-width: 380px; width: 100%; border-radius: 28px; background: var(--card); display: flex; flex-direction: column; justify-content: space-between; padding: 28px; overflow: hidden; isolation: isolate; border: 1px solid var(--line); }
.about-card::before { content: ""; position: absolute; inset: -40%; z-index: -2; background: conic-gradient(from 0deg, var(--accent-2), #F0552B, #3FA36F, var(--accent-2)); animation: spin 14s linear infinite; opacity: .5; filter: blur(40px); }
.about-card::after { content: ""; position: absolute; inset: 1px; border-radius: 27px; background: color-mix(in srgb, var(--card) 72%, transparent); z-index: -1; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.monogram { font: 800 clamp(6rem, 22vw, 9rem)/.85 var(--display); letter-spacing: -.06em; }
.mono { font: 500 .82rem/1.6 var(--mono); color: var(--ink2); margin: 0; }

/* contact: an inverted panel */
.contact { position: relative; background: var(--inv-bg); color: var(--inv-ink); padding: 104px 0 112px; overflow: hidden; isolation: isolate; }
.contact-bg { position: absolute; inset: 0; z-index: -1; }
.contact .b1 { width: 40vmax; height: 40vmax; background: var(--accent-2); bottom: -24vmax; right: -10vmax; opacity: .45; animation: drift2 24s ease-in-out infinite alternate; }
.contact .b2 { width: 26vmax; height: 26vmax; background: #F0552B; top: -14vmax; left: 10%; opacity: .25; animation: drift1 28s ease-in-out infinite alternate; }
.contact .eyebrow { color: var(--inv-ink2); }
.contact .eyebrow span { color: var(--accent-2); }
.big-h { font-size: clamp(2.6rem, 9vw, 6rem); max-width: 11em; line-height: .98; margin-bottom: .6em; }
.mail { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 28px; }
.mail-link { font: 600 clamp(1.3rem, 5vw, 2.4rem)/1.2 var(--display); letter-spacing: -.02em; text-decoration: none; color: var(--inv-ink); background: linear-gradient(var(--accent-2), var(--accent-2)) 0 100% / 100% 2px no-repeat; padding-bottom: 6px; transition: background-size .5s var(--ease), color .3s; word-break: break-all; }
.mail-link:hover { background-size: 100% 100%; color: #121212; }
.copy { font: 600 .9rem/1 var(--sans); color: var(--inv-ink); background: transparent; border: 1.5px solid color-mix(in srgb, var(--inv-ink) 35%, transparent); border-radius: 999px; padding: 11px 18px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.copy:hover { border-color: var(--inv-ink); }
.copy.done { background: #2FB36B; border-color: #2FB36B; color: #fff; }
.contact .note { color: var(--inv-ink2); max-width: 36em; }
.contact .note a { color: var(--inv-ink); }

/* footer */
.foot { padding: 56px 0 40px; border-top: 1px solid var(--line); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.foot-nav { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-nav div { display: flex; flex-direction: column; gap: 8px; font-size: .95rem; }
.foot-nav h3 { font: 500 .75rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink3); margin: 0 0 6px; }
.foot-nav a { text-decoration: none; color: var(--ink2); }
.foot-nav a:hover { color: var(--accent); }
.legal { font-size: .85rem; color: var(--ink3); margin: 0; padding-top: 24px; border-top: 1px solid var(--line); }

/* legal pages */
.page { padding: 56px 0 96px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(2.4rem, 7vw, 3.6rem); }
.page h2 { font-size: 1.5rem; margin-top: 2em; }
.page p, .page li { color: var(--ink2); }
.page ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.page a { color: var(--accent); }

/* scroll reveal, only when site.js runs so the page never hides content without it */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.gap-top { margin-top: 64px; }
