/* v3 · masonry of solid color cards, one idea per card, thin-line diagrams with numbers, layered hero */
:root {
  --bg: #F1EBE1; --paper: #FAF6EF; --ink: #241A16; --ink-2: #4A3F39; --ink-3: #8A7E75;
  --terra: #DE6A3C; --peach: #F3B48C; --lilac: #BDB5EC; --lime: #D9DF68; --butter: #EFCB68; --sage: #C7D6AE; --cocoa: #3B2621; --olive: #2F3026;
  --r: 28px; --gap: 18px; --max: 1280px; --gutter: clamp(16px, 3.5vw, 44px);
  --serif: 'Newsreader', Georgia, serif; --sans: 'Geist', system-ui, sans-serif; --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.nav { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; position: relative; z-index: 3; }
.nav .name { font-family: var(--serif); font-size: 22px; text-decoration: none; }
.nav .links { display: flex; gap: 22px; font-size: 14.5px; }
.nav .links a { text-decoration: none; opacity: .8; }

/* ---------- hero: headline + glow + photo with floating UI cards ---------- */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; min-height: min(780px, 92vh); position: relative; padding-bottom: 40px; }
.orb { position: absolute; width: 640px; aspect-ratio: 1; left: -10%; top: -6%; border-radius: 50%; background: radial-gradient(circle at 45% 45%, rgba(222,106,60,.75), rgba(243,180,140,.45) 40%, rgba(189,181,236,.3) 62%, transparent 72%); filter: blur(46px); z-index: 0; pointer-events: none; }
.hero h1 { position: relative; z-index: 1; font-family: var(--serif); font-weight: 300; font-size: clamp(46px, 6.4vw, 96px); line-height: .98; letter-spacing: -0.035em; margin: 0; }
.hero h1 em { font-style: italic; }
.hero .intro { position: relative; z-index: 1; font-size: 17px; color: var(--ink-2); max-width: 40ch; margin: 28px 0 0; }
.collage { position: relative; aspect-ratio: 4/5; max-width: 520px; justify-self: end; width: 100%; }
.collage .photo { position: absolute; inset: 8% 10% 10% 8%; border-radius: var(--r); overflow: hidden; }
.collage .photo img { width: 100%; height: 115%; object-fit: cover; }
.chip { position: absolute; border-radius: 22px; padding: 16px 18px; box-shadow: 0 24px 50px -28px rgba(36,26,22,.5); z-index: 2; }
.chip small { display: block; font-size: 12.5px; opacity: .7; }
.chip b { display: block; font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.15; letter-spacing: -0.01em; margin-top: 2px; }
.chip .n { font-family: var(--sans); font-size: 46px; font-weight: 400; letter-spacing: -0.04em; line-height: 1; margin-top: 6px; display: block; }
.chip .dots { display: flex; align-items: center; gap: 0; margin-top: 12px; }
.chip .dots i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-style: normal; font-size: 11px; }
.chip .dots i.on { background: currentColor; }
.chip .dots i.on::after { content: "✓"; color: var(--lilac); }
.chip .dots span { width: 28px; height: 1.5px; background: currentColor; }
.c1 { top: 2%; left: -6%; background: var(--lime); max-width: 230px; }
.c2 { top: 20%; right: -6%; background: var(--lilac); }
.c3 { bottom: 2%; left: -2%; background: var(--cocoa); color: #F6EDE4; max-width: 260px; }
.c4 { bottom: 14%; right: -4%; background: var(--paper); min-width: 150px; }
.pill-go { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--lime); float: right; margin: -2px 0 0 12px; font-size: 15px; }

/* ---------- masonry ---------- */
.sec { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: clamp(72px, 10vw, 140px) 0 26px; flex-wrap: wrap; }
.sec h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 56px); letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
.sec p { margin: 0; color: var(--ink-3); max-width: 40ch; }
.mason { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.col { display: flex; flex-direction: column; gap: var(--gap); }
.col.off1 { margin-top: 72px; } .col.off2 { margin-top: 28px; }

.card { border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; position: relative; overflow: hidden; text-decoration: none; color: inherit; min-height: 300px; transition: transform .6s var(--ease); }
a.card:hover { transform: translateY(-4px); }
.card.h1 { min-height: 300px; } .card.h2 { min-height: 420px; } .card.h3 { min-height: 540px; }
.co { font-size: 13px; opacity: .7; margin: 0; }
.ti { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.3vw, 34px); line-height: 1.08; letter-spacing: -0.02em; margin: 8px 0 0; max-width: 15ch; }
.ft { margin-top: auto; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.ft .go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); transition: transform .4s var(--ease); flex: none; }
a.card:hover .go { transform: translateX(4px); }
.dark .ft .go { background: var(--paper); color: var(--ink); }
.soon { opacity: .55; font-size: 12.5px; }

.terra { background: var(--terra); color: #FFF6EE; } .peach { background: var(--peach); } .lilac { background: var(--lilac); }
.lime { background: var(--lime); } .butter { background: var(--butter); } .sage { background: var(--sage); }
.cocoa { background: var(--cocoa); color: #F6EDE4; } .olive { background: var(--olive); color: #EEEADB; } .paper { background: var(--paper); }

/* visuals inside cards */
.vis { margin: 26px 0 0; flex: 1; display: flex; align-items: center; justify-content: center; position: relative; min-height: 180px; }
.dg { width: 100%; height: auto; overflow: visible; }
.dg .ln { fill: none; stroke: currentColor; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.dg text { fill: currentColor; font-family: var(--sans); }
.dg .num { font-family: var(--serif); font-size: 30px; }
.dg .sm { font-size: 13px; opacity: .8; }
.inset { border-radius: 18px; overflow: hidden; margin-top: 24px; flex: 1; min-height: 200px; position: relative; }
.inset .par { position: absolute; inset: -10% 0; }
.inset img { width: 100%; height: 100%; object-fit: cover; }
.inset.ui { background: rgba(255,255,255,.45); padding: 18px 18px 0; display: flex; align-items: flex-start; }
.inset.ui img { height: auto; border-radius: 10px 10px 0 0; box-shadow: 0 14px 30px -18px rgba(36,26,22,.5); }
.blob { margin-top: 24px; aspect-ratio: 1; width: 86%; align-self: center; overflow: hidden; border-radius: 62% 38% 55% 45% / 48% 60% 40% 52%; position: relative; }
.blob img { width: 100%; height: 110%; object-fit: cover; }

/* phone */
.phone { width: 230px; margin: 26px auto 0; border-radius: 34px; background: var(--cocoa); padding: 10px; box-shadow: 0 30px 60px -30px rgba(36,26,22,.6); }
.phone .scr { background: #FBF7F0; border-radius: 26px; padding: 18px 12px 16px; display: flex; flex-direction: column; gap: 8px; min-height: 330px; }
.phone .who { font-size: 12px; font-weight: 600; display: flex; gap: 8px; align-items: center; padding: 0 4px 8px; border-bottom: 1px solid rgba(36,26,22,.1); }
.phone .who i { width: 22px; height: 22px; border-radius: 50%; background: var(--terra); }
.bub { font-size: 12.5px; line-height: 1.35; padding: 8px 11px; border-radius: 14px; max-width: 82%; }
.bub.p { align-self: flex-end; background: var(--peach); border-bottom-right-radius: 4px; }
.bub.a { align-self: flex-start; background: #EFE8DD; border-bottom-left-radius: 4px; }
.bub.h { align-self: center; background: transparent; border: 1px dashed rgba(36,26,22,.4); font-size: 11.5px; border-radius: 999px; max-width: 100%; text-align: center; }

/* stat cards */
.big { font-family: var(--sans); font-weight: 400; font-size: clamp(54px, 5.4vw, 80px); line-height: .95; letter-spacing: -0.045em; margin: 14px 0 0; font-variant-numeric: tabular-nums; }
.big .ar { font-family: var(--serif); font-weight: 300; opacity: .5; margin: 0 .05em; }
.lab { font-size: 14px; opacity: .8; margin: 10px 0 0; max-width: 26ch; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 140px; margin-top: auto; padding-top: 24px; }
.bars span { flex: 1; background: var(--ink); border-radius: 6px 6px 2px 2px; position: relative; transform-origin: bottom; }
.bars span.lo { background: transparent; border: 1.2px solid var(--ink); }
.bars span em { position: absolute; top: -20px; left: 0; right: 0; text-align: center; font-style: normal; font-size: 12px; }

/* contact */
.contact { margin: clamp(72px, 10vw, 140px) 0 40px; display: grid; grid-template-columns: 2fr 1fr; gap: var(--gap); }
.contact .card { min-height: 340px; }
.contact h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 6vw, 90px); line-height: 1; letter-spacing: -0.03em; margin: 0; }
.contact h2 em { font-style: italic; }
.btn { border: 0; border-radius: 999px; padding: 14px 22px; font: inherit; font-size: 15px; cursor: pointer; background: var(--paper); color: var(--ink); text-decoration: none; display: inline-block; }

/* motion */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 20px; }
  .collage { justify-self: center; max-width: 440px; margin-top: 30px; }
  .mason { grid-template-columns: 1fr 1fr; }
  .col.off2 { margin-top: 0; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .mason { grid-template-columns: 1fr; }
  .col.off1, .col.off2 { margin-top: 0; }
  .card.h2, .card.h3 { min-height: 0; }
  .c1 { left: 0; } .c2 { right: 0; } .c3 { left: 0; } .c4 { right: 0; }
  .chip b { font-size: 18px; } .chip .n { font-size: 38px; }
  .nav .links { gap: 14px; font-size: 13.5px; }
  .orb { width: 420px; left: -30%; }
}
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .card, .go { transition: none; } }

/* spinning badge, carried over from the current site */
.sticker { position: absolute; left: -16%; top: 40%; width: 150px; height: 150px; z-index: 3; }
.sticker svg { width: 100%; height: 100%; animation: spin 28s linear infinite; }
.sticker text { font-family: var(--sans); font-weight: 600; font-size: 15.5px; letter-spacing: .2em; fill: #DDF3B4; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) { .sticker { width: 110px; height: 110px; left: -2%; top: 44%; } }
@media (prefers-reduced-motion: reduce) { .sticker svg { animation: none; } }
