/* Snapile — aqua mist, deep ink, serif display. */
:root {
  --bg: #F2F6F6;
  --paper: #FFFFFF;
  --ink: #0E2226;
  --ink-2: #1B3439;
  --muted: #5F7175;
  --soft: #93A2A5;
  --line: rgba(14, 34, 38, .10);
  --teal: #0F766E;
  --aqua: #63D6C8;
  --mist: #CDEFEA;
  --lilac: #B4B2FF;
  --haze: #DCDDFF;
  --sky: #D3E7FF;
  --night: #0A1B1F;
  --night-2: #10272C;
  --night-line: rgba(255, 255, 255, .08);
  --radius: 26px;
  --wrap: 1200px;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
/* film grain over everything, very light */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .05;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }

/* ---------- header ---------- */
.bar { position: fixed; top: 14px; left: 0; right: 0; z-index: 40; pointer-events: none; }
.bar .wrap {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between;
  height: 62px; padding: 0 10px 0 22px; border-radius: 999px;
  background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .7);
  backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px);
  box-shadow: 0 10px 30px -18px rgba(14, 34, 38, .25);
  transition: background .3s ease, box-shadow .3s ease;
}
.bar.scrolled .wrap { background: rgba(255, 255, 255, .82); box-shadow: 0 14px 40px -20px rgba(14, 34, 38, .35); }
.mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.mark i { width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(from 200deg, var(--aqua), var(--lilac), var(--aqua)); position: relative; flex: none; }
.mark i::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; color: var(--ink-2); }
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px;
  font-family: inherit; font-weight: 550; font-size: 15px; letter-spacing: -0.005em; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
  box-shadow: 0 12px 26px -14px rgba(14, 34, 38, .7);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -16px rgba(14, 34, 38, .75); }
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn.glass { background: rgba(255, 255, 255, .6); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(14, 34, 38, .12); backdrop-filter: blur(10px); }
.btn.glass:hover { background: rgba(255, 255, 255, .92); }
.btn.small { height: 42px; padding: 0 18px; font-size: 14px; }

/* ---------- ambient background ---------- */
.aura { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aura b { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .85; will-change: transform; }
.aura .a1 { width: 620px; height: 620px; left: -160px; top: -120px; background: var(--mist); animation: drift1 22s ease-in-out infinite alternate; }
.aura .a2 { width: 560px; height: 560px; right: -140px; top: 40px; background: var(--haze); animation: drift2 26s ease-in-out infinite alternate; }
.aura .a3 { width: 520px; height: 520px; left: 34%; top: 380px; background: var(--sky); opacity: .7; animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(140px, 90px) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-120px, 120px) scale(.92); } }
@keyframes drift3 { to { transform: translate(-90px, -80px) scale(1.15); } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 168px 0 120px; text-align: center; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .8); font-size: 14px; color: var(--ink-2);
  backdrop-filter: blur(10px); box-shadow: 0 8px 24px -16px rgba(14, 34, 38, .3);
}
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(15, 118, 110, .45); } 80%, 100% { box-shadow: 0 0 0 10px rgba(15, 118, 110, 0); } }
h1 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 9.4vw, 136px); line-height: .92;
  letter-spacing: -0.035em; margin: 28px auto 28px; max-width: 11.5em;
}
h1 em, h2 em { background: linear-gradient(100deg, var(--teal) 10%, #6B6BE8 90%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; margin-right: -.02em; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; transform: translateY(110%); animation: wordUp 1.1s var(--ease) forwards; animation-delay: calc(.15s + var(--i) * .07s); }
@keyframes wordUp { to { transform: none; } }
.lede { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0 auto 36px; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.fade { opacity: 0; transform: translateY(16px); animation: fadeUp 1s var(--ease) forwards; animation-delay: var(--d, .6s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Instagram-style post */
.ig {
  width: 380px; border-radius: 22px; overflow: hidden; background: #fff; color: #0F1416; text-align: left;
  box-shadow: 0 50px 100px -40px rgba(14, 34, 38, .55), 0 0 0 1px rgba(14, 34, 38, .06);
}
.ig-top { display: flex; align-items: center; gap: 10px; padding: 11px 14px; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.ig-top .av { width: 32px; height: 32px; border-radius: 50%; padding: 2px; background: conic-gradient(from 180deg, #F9CE34, #EE2A7B, #6228D7, #F9CE34); flex: none; }
.ig-top .av span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; border: 2px solid #fff; color: #fff; font-size: 12px; font-weight: 700; }
.ig-top .more { margin-left: auto; color: #737373; font-weight: 700; letter-spacing: 1px; }
.ig-media { position: relative; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; }
.slides::-webkit-scrollbar { display: none; }
.slides img { flex: 0 0 100%; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; scroll-snap-align: start; scroll-snap-stop: always; }
.ig-count { position: absolute; top: 12px; right: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(15, 20, 22, .7); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.ig-nav { position: absolute; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .92); color: #0F1416; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); transition: opacity .2s; }
.ig-nav svg { width: 14px; height: 14px; }
.ig-nav.prev { left: 10px; }
.ig-nav.next { right: 10px; }
.ig-nav[disabled] { opacity: 0; pointer-events: none; }
.ig-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 10px 12px 12px; }
.ig-icons { display: flex; gap: 14px; }
.ig-icons svg, .ig-save svg { width: 23px; height: 23px; display: block; }
.ig-save { justify-self: end; }
.dots { display: flex; gap: 4px; justify-content: center; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #C7CDD1; transition: background .25s, transform .25s; }
.dots i.on { background: #0095F6; transform: scale(1.1); }

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 1; padding: 34px 0; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .4); }
.marquee .track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; white-space: nowrap; padding: 0 28px; color: var(--ink-2); }
.marquee span:nth-child(even) { font-style: italic; color: var(--teal); }
.marquee span::after { content: ""; display: inline-block; width: .42em; height: .42em; margin-left: 56px; vertical-align: middle; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M31 12C19 12 12 21 12 34c0 12 6 20 9 33 3 13 5 23 13 23 8 0 7-17 16-17s8 17 16 17c8 0 10-10 13-23 3-13 9-21 9-33 0-13-7-22-19-22-8 0-13 4-19 4s-11-4-19-4z' fill='%23B4B2FF'/%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { position: relative; padding: 130px 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 550; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin: 0 0 22px; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 6.4vw, 92px); line-height: .96; letter-spacing: -0.03em; margin: 0 0 22px; }
.sub { font-size: 18px; color: var(--muted); max-width: 32em; margin: 0; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 70px; }
.center { text-align: center; }
.center .sub { margin: 0 auto; }

/* work: one piece at a time on a pinned stage */
.work { background: linear-gradient(180deg, var(--bg) 0%, #EEF4F6 45%, var(--bg) 100%); color: var(--ink); overflow: clip; padding: 130px 0 0; }
.work h2 em { background: linear-gradient(100deg, var(--teal), #6B6BE8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.work-intro { position: relative; z-index: 1; text-align: center; }
.work-intro h2 { margin-left: auto; margin-right: auto; }
.work-intro .sub { margin: 0 auto; }
.showreel { position: relative; height: calc(var(--n, 4) * 100vh + 30vh); margin-top: 40px; }
.sr-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; overflow: clip; }
.sr-glow b { position: absolute; left: 52%; top: 52%; width: 62vw; height: 62vw; max-width: 900px; max-height: 900px; border-radius: 50%; transform: translate(-50%, -50%); filter: blur(120px); opacity: 0; will-change: opacity; }
.sr-glow b[data-i="0"] { background: radial-gradient(circle, #C9E6FF, var(--mist) 70%); }
.sr-glow b[data-i="1"] { background: radial-gradient(circle, #FFF1B8, var(--haze) 72%); }
.sr-glow b[data-i="2"] { background: radial-gradient(circle, #CFF3EC, var(--sky) 70%); }
.sr-glow b[data-i="3"] { background: radial-gradient(circle, #FFDCD4, var(--mist) 72%); }
.sr-word { position: absolute; inset: 0; pointer-events: none; }
.sr-word span { position: absolute; left: 50%; top: 50%; font-family: var(--serif); font-size: min(30vw, 420px); line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.2px rgba(14, 34, 38, .08); opacity: 0; transform: translate(-50%, -50%); will-change: transform, opacity; }
.sr-grid { position: relative; z-index: 1; height: 100%; display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 40px; }
.sr-copy { position: relative; height: 100%; }
.sr-head { position: absolute; left: 0; right: 0; top: 50%; opacity: 0; transform: translateY(calc(-50% + var(--y, 0px))); will-change: transform, opacity; }
.sr-num { display: flex; align-items: baseline; gap: 10px; font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--teal); }
.sr-num small { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.sr-tag { display: inline-flex; align-items: center; gap: 9px; margin: 16px 0 10px; font-size: 11.5px; font-weight: 550; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sr-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 4px rgba(99, 214, 200, .15); }
.sr-head h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.7vw, 42px); line-height: 1.02; letter-spacing: -0.02em; margin: 0; max-width: 9em; color: var(--ink); }
.sr-media { position: relative; height: 100%; }
.sr-item { position: absolute; left: 34%; top: calc(50% + 22px); opacity: 0; pointer-events: none; transform: translate(-50%, -50%) translate3d(0, var(--y, 0px), 0) rotate(var(--r, 0deg)) scale(var(--s, 1)); will-change: transform, opacity; }
.sr-item.on { pointer-events: auto; }
.sr-item.reel .ireel { height: min(76vh, 800px); width: auto; }
.sr-item.post .ig { width: min(520px, calc((80vh - 56px) * .8)); box-shadow: 0 50px 100px -40px rgba(14, 34, 38, .38), 0 0 0 1px rgba(14, 34, 38, .06); }
.sr-item .pills { margin-top: 18px; }
.sr-item.reel .ireel { margin: 0 auto; }
.sr-dots { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; z-index: 2; }
.sr-dots i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 600; color: var(--soft); border: 1px solid var(--line); background: rgba(255, 255, 255, .5); transition: color .4s, background .4s, border-color .4s, transform .4s var(--ease); }
.sr-dots i.on { color: #fff; background: var(--ink); border-color: var(--ink); transform: scale(1.08); }

/* statement, lit word by word as it scrolls past */
.statement { padding: 150px 0 120px; }
.scrub { font-family: var(--serif); font-size: clamp(38px, 5.6vw, 84px); line-height: 1.04; letter-spacing: -0.025em; margin: 0; max-width: 15em; }
.scrub .sw { opacity: .13; transition: opacity .35s linear; }
.scrub em { background: linear-gradient(100deg, var(--teal), #6B6BE8); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; padding: 36px 32px 38px; border-radius: var(--radius); min-height: 360px; display: flex; flex-direction: column;
  background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .9); backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px -34px rgba(14, 34, 38, .35); transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity 1s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -36px rgba(14, 34, 38, .45); }
.card .glyph { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--mist), var(--haze)); color: var(--teal); }
.card .glyph svg { width: 24px; height: 24px; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 42px; letter-spacing: -0.02em; line-height: 1; margin: 46px 0 12px; }
.card p { color: var(--muted); margin: 0 0 22px; }
.card ul { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 9px; font-size: 15px; color: var(--ink-2); }
.card li { display: flex; gap: 10px; align-items: baseline; }
.card li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); flex: none; transform: translateY(-3px); }

/* process */
.process { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .6)); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 44px; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--teal), var(--lilac)); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
.steps.in::before { transform: scaleX(1); }
.step .n { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--teal); }
.step:nth-child(2) .n { color: #2F8C96; }
.step:nth-child(3) .n { color: #4F7EC6; }
.step:nth-child(4) .n { color: #6B6BE8; }
.step h3 { font-size: 21px; letter-spacing: -0.02em; font-weight: 600; margin: 20px 0 10px; }
.step p { color: var(--muted); margin: 0; font-size: 16px; }

/* standards */
.standards .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.rules { display: grid; gap: 14px; }
.rule { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 24px; border-radius: 20px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .9); transition: transform .45s var(--ease), opacity 1s var(--ease); }
.rule:hover { transform: translateX(6px); }
.rule .tick { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--mist), var(--haze)); color: var(--teal); }
.rule .tick svg { width: 18px; height: 18px; }
.rule h3 { font-size: 18px; letter-spacing: -0.015em; font-weight: 600; margin: 4px 0 6px; }
.rule p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* faq */
.faq .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
details { border-bottom: 1px solid var(--line); padding: 24px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 20px; font-weight: 520; letter-spacing: -0.015em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 300; font-size: 22px; background: rgba(255, 255, 255, .75); transition: transform .4s var(--ease), background .3s; }
details[open] summary::after { transform: rotate(45deg); background: var(--mist); }
details p { color: var(--muted); margin: 14px 0 0; max-width: 40em; animation: fadeUp .5s var(--ease); }

/* cta */
.cta { padding: 40px 0 120px; }
.cta-box {
  position: relative; overflow: hidden; border-radius: 40px; padding: 110px 40px; text-align: center; color: var(--ink);
  background: linear-gradient(120deg, var(--mist), var(--haze) 55%, var(--sky));
}
.cta-box .aura .a1 { background: #fff; width: 420px; height: 420px; left: -80px; top: -120px; opacity: .7; }
.cta-box .aura .a2 { background: var(--aqua); opacity: .35; width: 380px; height: 380px; right: -60px; top: 120px; }
.cta-box .aura .a3 { display: none; }
.cta-box > *:not(.aura) { position: relative; z-index: 1; }
.cta-box h2 { max-width: 12em; margin: 0 auto 20px; }
.cta-box p { color: var(--ink-2); font-size: 19px; max-width: 30em; margin: 0 auto 36px; }

footer { padding: 0 0 50px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 30px; border-top: 1px solid var(--line); }
footer .mark { color: var(--ink); font-size: 17px; }
footer .mark i { width: 18px; height: 18px; }
footer .mark i::after { inset: 5px; }

/* ---------- contact ---------- */
.contact { padding: 160px 0 110px; overflow: hidden; }
.contact .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: start; }
.contact h1 { font-size: clamp(52px, 7vw, 104px); text-align: left; margin: 24px 0 22px; max-width: 8em; }
.contact .lede { margin: 0 0 32px; }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; color: var(--ink-2); }
.points li { display: flex; gap: 12px; align-items: baseline; }
.points li::before { content: ""; flex: none; width: 13px; height: 13px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M31 12C19 12 12 21 12 34c0 12 6 20 9 33 3 13 5 23 13 23 8 0 7-17 16-17s8 17 16 17c8 0 10-10 13-23 3-13 9-21 9-33 0-13-7-22-19-22-8 0-13 4-19 4s-11-4-19-4z' fill='%230F766E'/%3E%3C/svg%3E") center / contain no-repeat; }
.form {
  position: relative; padding: 36px; border-radius: 30px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .95);
  backdrop-filter: blur(16px); box-shadow: 0 40px 90px -50px rgba(14, 34, 38, .45);
}
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 14px; font-weight: 550; color: var(--ink-2); }
.field label small { font-weight: 400; color: var(--soft); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); padding: 14px 16px; border-radius: 14px;
  border: 1px solid rgba(14, 34, 38, .14); background: rgba(255, 255, 255, .9); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15, 118, 110, .12); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; justify-content: center; height: 54px; margin-top: 6px; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form-note { margin: 14px 0 0; font-size: 13.5px; color: var(--soft); text-align: center; }
.form-error { display: none; margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: #FFF1F0; color: #9B2C24; font-size: 14.5px; }
.form-error.show { display: block; }
.done { display: none; text-align: center; padding: 40px 10px; }
.done.show { display: block; animation: fadeUp .7s var(--ease); }
.done .ok { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: linear-gradient(135deg, var(--mist), var(--haze)); color: var(--teal); }
.done .ok svg { width: 28px; height: 28px; }
.done h2 { font-size: 52px; margin-bottom: 12px; }
.done p { color: var(--muted); margin: 0; }

/* ---------- 404 ---------- */
.lost { position: relative; min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px 0; overflow: hidden; }
.lost .wrap { position: relative; z-index: 1; }
.lost p { color: var(--muted); margin: 0 auto 30px; max-width: 28em; }

/* ---------- scroll reveal ---------- */
.rise { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.rise.in { opacity: 1; transform: none; }
.card.rise.in:hover { transform: translateY(-6px); }
.rule.rise.in:hover { transform: translateX(6px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .rise { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .standards .wrap, .faq .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 50px; }
  .services { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav a:not(.btn) { display: none; }
  .hero { padding-top: 140px; }
  .head { flex-direction: column; align-items: start; }
  .services, .steps { grid-template-columns: 1fr; }
  section { padding: 96px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .bar { top: 10px; }
  .bar .wrap { height: 56px; padding-left: 18px; }
  .lede { font-size: 17px; }
  .marquee { padding: 24px 0; }
  .cta-box { padding: 80px 22px; border-radius: 30px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 24px; }
  footer .wrap { flex-direction: column; align-items: start; }
}

@media (hover: none) { .ig-nav { display: none; } }

/* ---------- Instagram Reels look ---------- */
.ireel { position: relative; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: #000; color: #fff; isolation: isolate; cursor: pointer; user-select: none; -webkit-user-select: none;
  box-shadow: 0 40px 80px -30px rgba(14, 34, 38, .45), 0 0 0 1px rgba(14, 34, 38, .06); }
.phone .screen.ireel { border-radius: 34px; box-shadow: none; cursor: default; }
.ireel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ir-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,0) 17%, rgba(0,0,0,0) 60%, rgba(0,0,0,.6) 100%); }
.ir-top { position: absolute; top: 14px; left: 16px; right: 14px; display: flex; justify-content: space-between; align-items: center; font-size: 18px; letter-spacing: -0.01em; pointer-events: none; }
.ir-top svg { width: 22px; height: 22px; }
.ir-side { position: absolute; right: 11px; bottom: 70px; display: flex; flex-direction: column; align-items: center; gap: 20px; pointer-events: none; }
.ir-side svg { width: 25px; height: 25px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.ir-bottom { position: absolute; left: 14px; right: 54px; bottom: 18px; font-size: 13px; pointer-events: none; }
.ir-who { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.ir-av { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid #fff; background: conic-gradient(from 200deg, var(--aqua), var(--lilac), var(--aqua)); color: var(--ink); font-size: 12px; font-weight: 700; }
.ir-follow { padding: 3px 10px; border: 1px solid rgba(255,255,255,.8); border-radius: 8px; font-size: 12px; font-weight: 600; }
.ir-audio { display: flex; align-items: center; gap: 6px; margin-top: 9px; font-size: 12px; opacity: .92; white-space: nowrap; overflow: hidden; }
.ir-audio i { font-style: normal; }
.ir-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.22); pointer-events: none; }
.ir-progress i { display: block; height: 100%; width: 0; background: #fff; transition: width .25s linear; }
.ir-flash { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(0,0,0,.5); display: grid; place-items: center; opacity: 0; transform: scale(.85); pointer-events: none; transition: opacity .25s ease, transform .4s var(--ease); }
.ir-flash.show { opacity: 1; transform: none; }
.ir-flash svg { width: 32px; height: 32px; }
.ir-flash .i-on, .sound .i-on { display: none; }
.ireel.unmuted .ir-flash .i-on, .sound[aria-pressed="true"] .i-on { display: block; }
.ireel.unmuted .ir-flash .i-off, .sound[aria-pressed="true"] .i-off { display: none; }
.sound, .fs-btn {
  display: flex; align-items: center; gap: 10px; height: 46px; margin: 20px auto 0; padding: 0 20px 0 15px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #E6EEEF; font: 500 14px var(--sans); letter-spacing: .01em;
  backdrop-filter: blur(8px); transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.sound svg, .fs-btn svg { width: 19px; height: 19px; }
.sound:hover, .fs-btn:hover { background: rgba(255,255,255,.12); transform: translateY(-1px); }
.sound[aria-pressed="true"] { color: #fff; border-color: rgba(99,214,200,.6); background: linear-gradient(100deg, rgba(99,214,200,.24), rgba(180,178,255,.24)); }
.phone .ir-top { top: 12px; left: 14px; font-size: 15px; }
.phone .ir-top svg { width: 18px; height: 18px; }
.phone .ir-side { right: 9px; bottom: 58px; gap: 16px; }
.phone .ir-side svg { width: 20px; height: 20px; }
.phone .ir-bottom { left: 12px; bottom: 14px; font-size: 11.5px; }
.phone .ir-av { width: 22px; height: 22px; font-size: 10px; }
.phone .ir-follow { font-size: 10.5px; padding: 2px 8px; }
.phone .ir-audio { font-size: 10.5px; margin-top: 6px; }
@media (max-width: 860px) {
  .phone .ir-audio, .phone .ir-follow { display: none; }
  .phone .ir-side { gap: 12px; bottom: 40px; }
  .phone .ir-side svg { width: 16px; height: 16px; }
}

/* ---------- motion ---------- */
/* hero: a tooth, dentures, a brush and the rest drifting with the scroll and the pointer */
.floaters { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.fl { position: absolute; display: block; will-change: transform; }
.fl b { display: block; animation: bob 9s ease-in-out infinite; }
.dec b { width: 100%; height: 100%; }
.dec svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 18px 22px rgba(14, 34, 38, .16)); }
.d1 { width: 128px; height: 128px; left: 6%; top: 30%; }
.d2 { width: 116px; height: 97px; right: 8%; top: 19%; }
.d2 b { animation-duration: 7s; animation-delay: -3s; }
.d3 { width: 78px; height: 78px; right: 13%; top: 64%; }
.d3 b { animation-duration: 11s; animation-delay: -5s; }
.d4 { width: 46px; height: 46px; left: 17%; top: 73%; }
.d4 b { animation-duration: 8s; animation-delay: -1s; }
.d5 { width: 104px; height: 104px; left: 19%; top: 10%; }
.d5 b { animation-duration: 10s; animation-delay: -2s; }
.d6 { width: 66px; height: 66px; right: 4%; top: 44%; }
.d6 b { animation-duration: 9.5s; animation-delay: -4s; }
.d7 { width: 62px; height: 62px; left: 3%; top: 57%; }
.d7 b { animation-duration: 12s; animation-delay: -6s; }
@keyframes bob { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); } 50% { transform: translate3d(0, -18px, 0) rotate(6deg); } }
.hero .wrap[data-hero] { will-change: transform, opacity; }
.cue { position: absolute; left: 50%; bottom: 34px; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; margin-left: -30px; width: 60px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cue .mouse { width: 24px; height: 36px; border-radius: 13px; border: 1.5px solid rgba(14,34,38,.35); display: grid; justify-items: center; padding-top: 7px; }
.cue .mouse i { width: 4px; height: 8px; border-radius: 4px; background: var(--teal); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

/* marquee leans into the scroll */
.marquee .lean { will-change: transform; }
.marquee.js .track { animation: none; will-change: transform; }

/* headings rise word by word */
[data-split] .sw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .14em; margin-bottom: -.14em; }
[data-split] .sw > span { display: inline-block; transform: translateY(108%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.15s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
[data-split].in .sw > span { transform: none; }

/* services cards swing up in 3D and lean toward the pointer */
.card.rise { transform: perspective(1100px) rotateX(18deg) translateY(70px) scale(.96); transform-origin: 50% 100%; transition: opacity 1s var(--ease), transform 1.2s var(--ease), box-shadow .5s var(--ease); }
.card.rise.in { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.card.rise.in:hover { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); transition: transform .25s ease-out, box-shadow .5s var(--ease); }

/* steps arrive one after another */
.step.rise { transform: translateY(40px); }
.step .n { display: inline-block; transition: transform 1s var(--ease); transition-delay: var(--d, 0s); }
.steps:not(.in) .step .n { transform: translateY(30px) scale(.8); }

/* cta grows into place */
.cta-box[data-cta] { will-change: transform; transform-origin: 50% 100%; }

@media (max-width: 1080px) {
  .sr-grid { grid-template-columns: 240px minmax(0, 1fr); gap: 30px; }
  .sr-item { left: 42%; }
  .sr-dots { right: 14px; }
}
@media (max-width: 860px) {
  .showreel { height: calc(var(--n, 4) * 100svh + 20svh); }
  .sr-stage { height: 100svh; }
  .sr-grid { display: block; }
  .sr-copy { position: absolute; inset: 0; height: auto; z-index: 2; pointer-events: none; }
  .sr-head { top: 86px; transform: translateY(var(--y, 0px)); }
  .sr-num { font-size: 26px; }
  .sr-num small { font-size: 11px; }
  .sr-tag { margin: 8px 0 6px; font-size: 11px; }
  .sr-head h3 { font-size: clamp(22px, 6.2vw, 28px); max-width: 14em; }
  .sr-media { position: absolute; inset: 0; }
  /* the piece starts a fixed gap under its own heading (--top, set by site.js) and fills the space below */
  .sr-item { left: 50%; top: var(--top, 200px); transform: translate(-50%, 0) translate3d(0, var(--y, 0px), 0) rotate(var(--r, 0deg)) scale(var(--s, 1)); }
  .sr-item.reel .ireel { height: min(calc(100svh - var(--top, 200px) - 84px), 560px); }
  .sr-item.post .ig { width: min(88vw, calc((100svh - var(--top, 200px) - 130px) * .8)); }
  .sr-item .pills { margin-top: 10px; }
  .sr-item .sound, .sr-item .fs-btn { height: 38px; font-size: 13px; }
  .sr-item.reel .fs-btn { width: 38px; padding: 0; justify-content: center; }
  .sr-item.reel .fs-btn span { display: none; }
  .sr-dots { display: none; }
  .d1 { width: 78px; height: 78px; left: -14px; top: 16%; }
  .d2 { width: 70px; height: 58px; right: 3%; top: 12%; }
  .d3, .d4, .d6, .d7 { display: none; }
  .d5 { width: 60px; height: 60px; left: 27%; top: 11%; }
  .cue { display: none; }
  .statement { padding: 110px 0 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .fl b, .cue .mouse i { animation: none; }
  [data-split] .sw > span { transform: none; }
  .card.rise, .step.rise { transform: none; }
}

/* ---------- full screen: one piece, as big as the screen allows ---------- */
.pills { display: flex; justify-content: center; align-items: center; gap: 10px; }
.pills .sound, .pills .fs-btn { margin: 0; }
html.viewing { overflow: hidden; }
.viewer {
  --pad: 26px; position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: var(--pad); color: #fff;
  background: radial-gradient(ellipse 80% 70% at 50% 45%, #10272B 0%, #050C0D 72%); opacity: 0; transition: opacity .3s ease; overscroll-behavior: contain;
}
.viewer.open { opacity: 1; }
.viewer::backdrop { background: #050C0D; }
.v-stage { position: relative; display: flex; flex-direction: column; align-items: center; transform: scale(.94); transition: transform .5s var(--ease); }
.viewer.open .v-stage { transform: none; }
.v-close {
  position: fixed; z-index: 2; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: #fff; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px); transition: background .25s, transform .35s var(--ease);
}
.v-close:hover { background: rgba(255, 255, 255, .16); transform: rotate(90deg); }
.v-close svg { width: 20px; height: 20px; }
.viewer .v-sound { position: fixed; z-index: 2; top: calc(16px + env(safe-area-inset-top, 0px)); left: 16px; margin: 0; }
.ireel.v-reel { border-radius: 20px; width: min(calc(100vw - var(--pad) * 2), calc((100vh - var(--pad) * 2) * 9 / 16)); }
.ireel.v-reel { width: min(calc(100vw - var(--pad) * 2), calc((100dvh - var(--pad) * 2) * 9 / 16)); }
.v-post { position: relative; width: min(calc(100vw - var(--pad) * 2), calc((100vh - var(--pad) * 2 - 30px) * .8)); }
.v-post { width: min(calc(100vw - var(--pad) * 2), calc((100dvh - var(--pad) * 2 - 30px) * .8)); }
.v-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; border-radius: 16px; background: #000; }
.v-slides::-webkit-scrollbar { display: none; }
.v-slides img { flex: 0 0 100%; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; scroll-snap-align: start; scroll-snap-stop: always; user-select: none; -webkit-user-select: none; }
.v-nav {
  position: absolute; top: 50%; width: 50px; height: 50px; margin-top: -25px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  color: #fff; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .1); backdrop-filter: blur(8px); transition: opacity .2s, background .25s;
}
.v-nav:hover { background: rgba(255, 255, 255, .2); }
.v-nav svg { width: 18px; height: 18px; }
.v-nav.prev { right: calc(100% + 22px); }
.v-nav.next { left: calc(100% + 22px); }
.v-nav[disabled] { opacity: 0; pointer-events: none; }
.v-dots { margin-top: 16px; }
.v-dots i { background: rgba(255, 255, 255, .28); }
.v-dots i.on { background: #fff; }
@media (max-aspect-ratio: 1/1) {
  .v-nav.prev { right: auto; left: 12px; }
  .v-nav.next { left: auto; right: 12px; }
}
@media (hover: none) { .v-nav { display: none; } }
@media (max-width: 600px) {
  .viewer { --pad: 0px; }
  .ireel.v-reel, .v-slides { border-radius: 0; }
}

/* the full screen Reel's timeline */
.v-bar {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 7px 12px 7px 7px; border-radius: 16px; color: #fff; cursor: default;
  background: rgba(8, 14, 16, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.v-play { width: 36px; height: 36px; flex: none; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .14); transition: background .2s; }
.v-play:hover { background: rgba(255, 255, 255, .26); }
.v-play svg { width: 16px; height: 16px; }
.v-play .i-play, .v-play.paused .i-pause { display: none; }
.v-play.paused .i-play { display: block; }
.v-time { flex: none; min-width: 32px; font: 600 12.5px/1 var(--sans); font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .88); text-align: center; }
.v-scrub { position: relative; flex: 1; height: 30px; display: flex; align-items: center; cursor: pointer; touch-action: none; outline: none; }
.v-rail { position: relative; width: 100%; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .26); transition: height .15s; }
.v-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 4px; background: var(--aqua); }
.v-knob { position: absolute; left: 0; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .15s; }
.v-scrub:hover .v-rail, .v-bar.drag .v-rail, .v-scrub:focus-visible .v-rail { height: 6px; }
.v-scrub:hover .v-knob, .v-bar.drag .v-knob, .v-scrub:focus-visible .v-knob { transform: scale(1); }
.v-scrub:focus-visible .v-rail { box-shadow: 0 0 0 3px rgba(99, 214, 200, .35); }
@media (hover: none) { .v-knob { transform: scale(1); } }

/* on the light work stage the Sound and Full screen pills are glass on light */
.work .sound, .work .fs-btn { color: var(--ink); border-color: rgba(14, 34, 38, .12); background: rgba(255, 255, 255, .72); box-shadow: 0 10px 24px -16px rgba(14, 34, 38, .35); }
.work .sound:hover, .work .fs-btn:hover { background: #fff; }
.work .sound[aria-pressed="true"] { color: var(--ink); border-color: rgba(15, 118, 110, .45); background: linear-gradient(100deg, rgba(99, 214, 200, .38), rgba(180, 178, 255, .38)); }

/* ---------- dental decorations, everywhere ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.has-decor { position: relative; }
.has-decor > .wrap { position: relative; z-index: 1; }
.decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.work-intro .decor { overflow: visible; }
.cta-box > .decor { position: absolute; z-index: 0; }
.contact > .wrap, .lost > .wrap { position: relative; z-index: 1; }
.decor .dec { width: var(--w); aspect-ratio: var(--ar, 1); }
.decor .dec b { animation-duration: var(--bob, 9s); animation-delay: var(--delay, 0s); }
@media (max-width: 860px) {
  .decor .sm-hide { display: none; }
  .decor .dec { width: var(--ws, var(--w)); }
}
.work-intro h2 { position: relative; z-index: 1; }
@media (max-width: 860px) { .statement .decor .dec:first-child { top: 26px !important; right: 4% !important; } }
@media (max-width: 860px) { .cta-box .decor .dec { top: 14px !important; } }
