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

:root {
  --bg: #ffffff;
  --ink: #161213;
  --muted: #5b5355;
  --line: #ece5e4;
  --blush: #f7e1dd;
  --blush-2: #f1cfc9;
  --rose: #c23d5c;
  --night: #161213;
  --on-night: #f7e1dd;
  --display: "Bricolage", system-ui, sans-serif;
  --body: "Geist", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gut: clamp(16px, 4vw, 48px);
  --r: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 650; letter-spacing: -.035em; line-height: 1.02; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--blush-2); color: var(--ink); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 2 * var(--gut), 1240px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 30; }
.skip:focus { left: 8px; }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 16px var(--body); text-decoration: none; transition: transform .5s var(--ease), background .3s; }
.btn:hover { transform: translateY(-2px); background: #2c2426; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / 0); transition: background .4s, box-shadow .4s; }
.top.solid { background: rgb(255 255 255 / .86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.mark { font: 700 21px var(--display); letter-spacing: -.04em; text-decoration: none; }
.nav { display: flex; gap: 30px; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }

/* hero */
.hero { padding: clamp(24px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-h { font-size: clamp(3.1rem, 8.4vw, 6rem); font-weight: 700; letter-spacing: -.04em; line-height: .96; }
.hero-h .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-h .ln > span { display: inline-block; animation: rise 1.1s var(--ease) both; }
.hero-h .ln:nth-child(2) > span { animation-delay: .09s; color: var(--rose); }
.hero-sub { margin-top: 26px; max-width: 34ch; font-size: clamp(18px, 1.6vw, 20.5px); color: var(--muted); animation: fade 1s .25s var(--ease) both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; animation: fade 1s .35s var(--ease) both; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 38px; margin: 48px 0 0; padding-top: 24px; border-top: 1px solid var(--line); animation: fade 1s .45s var(--ease) both; }
.hero-facts dt { font-size: 13.5px; color: var(--muted); }
.hero-facts dd { margin: 2px 0 0; font-weight: 600; }
.hero-pic { position: relative; margin: 0; }
.hero-pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: var(--r); animation: unveil 1.4s .1s var(--ease) both; }
.chip { position: absolute; display: flex; align-items: baseline; gap: 6px; padding: 12px 16px; border-radius: 16px; background: rgb(255 255 255 / .92); box-shadow: 0 18px 40px -18px rgb(60 20 30 / .35); font-size: 14px; white-space: nowrap; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.chip b { font: 700 22px var(--display); letter-spacing: -.03em; color: var(--rose); }
.chip-a { left: -26px; top: 18%; animation: pop .9s .9s var(--ease) both, bob 6s 2s ease-in-out infinite; }
.chip-b { right: -18px; bottom: 14%; animation: pop .9s 1.1s var(--ease) both, bob 7s 2.4s ease-in-out infinite reverse; }

@keyframes rise { from { transform: translateY(105%); } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0 round var(--r)); transform: scale(1.08); } to { clip-path: inset(0 0 0 0 round var(--r)); } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.94); } }
@keyframes bob { 50% { translate: 0 -8px; } }

/* ticker */
.ticker { overflow: hidden; background: var(--night); color: var(--on-night); padding: 18px 0; }
.ticker-track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.ticker span { font: 600 clamp(18px, 2vw, 24px) var(--display); letter-spacing: -.02em; padding: 0 28px; white-space: nowrap; }
.ticker span::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 56px; border-radius: 50%; background: var(--rose); vertical-align: middle; }
@keyframes slide { to { transform: translateX(-50%); } }

/* sections */
section { position: relative; }
.sec-head h2 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 18px; max-width: 40ch; }

/* work */
.work { padding: clamp(72px, 10vw, 140px) 0; }
.work .sec-head { margin-bottom: clamp(32px, 5vw, 64px); }
.case { display: grid; grid-template-columns: minmax(200px, .8fr) 2fr; gap: clamp(20px, 5vw, 80px); padding: clamp(32px, 4vw, 52px) 0; border-top: 1px solid var(--line); }
.case:last-child { border-bottom: 1px solid var(--line); }
.case-fig b { display: block; font: 700 clamp(4.6rem, 10vw, 8.2rem)/.85 var(--display); letter-spacing: -.06em; color: var(--rose); font-variant-numeric: tabular-nums; }
.case-fig b::after { content: attr(data-suffix); }
.case-fig span { display: block; margin-top: 12px; max-width: 18ch; color: var(--muted); font-size: 15px; }
.case h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.case h3 a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease); }
.case h3 a:hover { background-size: 100% 2px; }
.case h3 svg { width: .6em; height: .6em; color: var(--muted); }
.case-meta { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.case-res { margin-top: 18px; font-size: 19px; font-weight: 500; max-width: 46ch; }
.case blockquote { margin: 22px 0 0; padding: 22px 24px; border-radius: 18px; background: var(--blush); font-size: 16.5px; max-width: 62ch; }
.case cite { display: block; margin-top: 12px; font-style: normal; font-weight: 600; font-size: 14.5px; }

/* services */
.services { padding: clamp(72px, 10vw, 140px) 0; background: var(--blush); }
.services-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.sticky { position: sticky; top: 110px; }
.services-pic { margin: 36px 0 0; max-width: 360px; }
.services-pic img { border-radius: var(--r); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.svc { list-style: none; margin: 0; padding: 0; }
.svc li { padding: 30px 0; border-top: 1px solid rgb(22 18 19 / .14); }
.svc li:last-child { border-bottom: 1px solid rgb(22 18 19 / .14); }
.svc h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); transition: color .3s, transform .5s var(--ease); }
.svc li:hover h3 { color: var(--rose); transform: translateX(6px); }
.svc p { margin-top: 10px; color: #4a4244; max-width: 48ch; }

/* about */
.about { padding: clamp(72px, 10vw, 140px) 0; }
.about-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-pic { margin: 0; overflow: hidden; border-radius: var(--r); }
.about-pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; transition: transform 1.6s var(--ease); }
.about-pic:hover img { transform: scale(1.03); }
.about-text h2 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
.lead { margin-top: 22px; font-size: clamp(20px, 1.9vw, 24px); line-height: 1.45; font-weight: 500; max-width: 32ch; }
.about-text > p:not(.lead) { margin-top: 18px; color: var(--muted); max-width: 54ch; }
.about-list { margin: 34px 0 0; }
.about-list div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.about-list dt { color: var(--muted); font-size: 15px; }
.about-list dd { margin: 0; font-weight: 500; }

/* contact */
.contact { padding: clamp(84px, 12vw, 170px) 0 clamp(64px, 8vw, 110px); background: var(--night); color: #fff; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 60vw; aspect-ratio: 1; right: -18vw; top: -24vw; border-radius: 50%; background: radial-gradient(closest-side, rgb(194 61 92 / .38), transparent); pointer-events: none; }
.contact-in { position: relative; }
.contact-h { font-size: clamp(3rem, 9vw, 6rem); max-width: 12ch; letter-spacing: -.04em; }
.contact-sub { margin-top: 22px; font-size: 19px; color: rgb(255 255 255 / .72); max-width: 40ch; }
.contact-ways { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid rgb(255 255 255 / .16); }
.way { display: block; padding: 28px 0; text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / .16); }
.way + .way { padding-left: 32px; border-left: 1px solid rgb(255 255 255 / .16); }
.way small { display: block; font-size: 14px; color: rgb(255 255 255 / .6); }
.way span { display: inline-flex; align-items: center; gap: 12px; margin-top: 6px; font: 600 clamp(1.25rem, 2.6vw, 2rem) var(--display); letter-spacing: -.03em; word-break: break-word; background: linear-gradient(var(--on-night), var(--on-night)) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.way:hover span { background-size: 100% 2px; color: var(--on-night); }
.way svg { width: .8em; height: .8em; }

/* footer */
.foot { background: var(--night); color: rgb(255 255 255 / .55); font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 26px 0 32px; border-top: 1px solid rgb(255 255 255 / .1); }
.credit { display: inline-flex; align-items: center; gap: 8px; color: rgb(255 255 255 / .45); text-decoration: none; transition: color .3s; }
.credit:hover { color: rgb(255 255 255 / .8); }
.credit svg { width: auto; height: 13px; }

/* scroll reveal: only hidden once JS has marked it, and only until it is seen */
.pre { opacity: 0; transform: translateY(28px); }
.pre.in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }

/* responsive */
@media (max-width: 860px) {
  .nav { display: none; }
  .hero-in, .services-in, .about-in { grid-template-columns: 1fr; }
  .hero-pic { max-width: 520px; }
  .chip-a { left: -8px; }
  .chip-b { right: -6px; }
  .hero-facts { gap: 14px 28px; }
  .case { grid-template-columns: 1fr; gap: 18px; }
  .sticky { position: static; }
  .services-pic { display: none; }
  .about-pic { max-width: 520px; }
  .about-list div { grid-template-columns: 1fr; gap: 2px; }
  .contact-ways { grid-template-columns: 1fr; }
  .way + .way { padding-left: 0; border-left: 0; }
}
@media (max-width: 420px) {
  .chip { font-size: 12.5px; padding: 10px 12px; }
  .chip b { font-size: 19px; }
  .top .btn-sm { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .ticker-track { animation: none; }
  .pre { opacity: 1; transform: none; }
}
