/* =====================================================================
   Distinctive Media — "Full Aperture"
   The shop, sold the way a flagship lens is sold. A pale studio sweep holds
   the reading; the products sit on plinths; one dark set at the end.
   Grammar: Miami is the lens's one painted ring. It marks the single thing
   to press in any view (the button, the selected chip, the scale index),
   never decoration. One soft radius family: 22px plates, pill controls.
   ===================================================================== */
:root {
  /* the studio sweep: paper-white tinted toward the brand's blue */
  --sweep: oklch(0.958 0.006 228);
  --sweep-low: oklch(0.918 0.01 230);   /* where the sweep curves into the floor */
  --plate: oklch(0.988 0.003 228);      /* product plinth tops, form card */
  --line: oklch(0.86 0.012 235);        /* hairline on light */
  --line-strong: oklch(0.74 0.016 240);

  /* brand kit, exact */
  --ink: #070D19;                       /* type, the dark set */
  --ink-2: #0D1524;                     /* raised surface on the dark set */
  --ink-3: #172235;
  --signal: #F2F6F7;                    /* type on the dark set */
  --mist: #ADB9C4;                      /* labels on the dark set only */
  --miami: #1ED1E7;                     /* the ring. buttons + index marks only */
  --miami-deep: #0096B5;                /* miami as text on light (large sizes only, 3.2:1) */
  --harbor: #00202E;                    /* type sitting on miami (9.6:1) */

  --prose: oklch(0.29 0.025 255);       /* body on the sweep, 11:1 */
  --muted: oklch(0.47 0.02 250);        /* captions on the sweep, 6.2:1 */

  --font: "General Sans", ui-sans-serif, system-ui, sans-serif;

  --wrap: 1200px;
  --sec: clamp(4rem, 7vw, 6rem);
  --r: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-punch: cubic-bezier(.16, 1, .3, 1);

  /* z-scale: canvas 1, callouts 2, header 50, menu 60, skip 100 */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--sweep); color: var(--ink);
  font: 450 1.0625rem/1.6 var(--font); overflow-x: clip;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
address { font-style: normal; }
::selection { background: var(--miami); color: var(--harbor); }
:focus-visible { outline: 3px solid var(--miami-deep); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--signal); padding: .7rem 1rem; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 1rem; }

/* the drawn dot: never typed, never recoloured */
.dot { display: inline-block; width: .2em; height: .2em; border-radius: 50%; background: var(--miami); margin-left: .05em; vertical-align: baseline; }

/* ---------------------------------------------------------- buttons -- */
.btn {
  --h: 3.25rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: var(--h); padding: 0 1.5rem; border-radius: 999px; border: 0;
  font: 600 1rem/1 var(--font); letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s, color .3s;
}
.btn-sm { --h: 2.6rem; padding: 0 1.15rem; font-size: .94rem; }
.btn-wide { width: 100%; }
.btn-miami { background: var(--miami); color: var(--harbor); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 8px 22px -10px rgba(0,150,181,.7); }
/* a lighter sweep runs across on hover, like light along a lens barrel */
.btn-miami::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-miami:hover::after { transform: translateX(120%); }
.btn-miami:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 14px 30px -12px rgba(0,150,181,.85); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--signal); transform: translateY(-2px); }

/* ----------------------------------------------------------- header -- */
.top { position: sticky; top: 0; z-index: 50; transition: background-color .4s, box-shadow .4s, backdrop-filter .4s; }
.top.is-scrolled { background: color-mix(in oklch, var(--sweep) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.top-in { display: flex; align-items: center; gap: 2rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand-mark { width: 34px; height: 34px; }
.brand-word { width: 190px; height: auto; }
.nav { display: flex; gap: 1.75rem; margin-left: auto; }
.nav a, .top-phone { text-decoration: none; font-weight: 500; font-size: .97rem; color: var(--prose); position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--miami); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav a:hover, .top-phone:hover { color: var(--ink); }
/* Services dropdown: a plate that drops in under the link, each row says what the page is */
.has-drop { position: relative; }
.has-drop > a::before { content: ""; position: absolute; left: -1rem; right: -1rem; top: 100%; height: 1.2rem; } /* hover bridge */
.drop {
  position: absolute; top: calc(100% + 1rem); left: -1.1rem; width: 300px; padding: .5rem;
  display: grid; background: var(--plate); border-radius: 18px;
  box-shadow: 0 0 0 1px var(--line), 0 24px 50px -24px rgba(7,13,25,.45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s, transform .45s var(--ease), visibility .25s;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.nav .drop a { display: grid; gap: .1rem; padding: .65rem .8rem; border-radius: 12px; color: var(--ink); font-weight: 600; transition: background .25s; }
.nav .drop a::after { display: none; }
.nav .drop a small { font-size: .8rem; font-weight: 500; color: var(--muted); }
.nav .drop a:hover { background: var(--sweep); }
.menu a.menu-sub { font-size: 1.05rem; font-weight: 500; color: var(--prose); padding-left: 1rem; }
.top-cta { display: flex; align-items: center; gap: 1.25rem; }
.menu-btn { display: none; height: 2.6rem; padding: 0 1rem; border-radius: 999px; border: 1.5px solid var(--ink); background: none; font: 600 .94rem var(--font); color: var(--ink); cursor: pointer; }
.menu { display: grid; gap: .25rem; padding: .5rem 1.25rem 1.25rem; background: var(--plate); box-shadow: 0 14px 30px -18px rgba(7,13,25,.4); }
.menu[hidden] { display: none; }
.menu a { padding: .8rem 0; font-size: 1.25rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu-phone { color: var(--miami-deep); border: 0 !important; }

/* ------------------------------------------------------------- hero -- */
.hero {
  position: relative; overflow: hidden;
  /* the sweep: a lit back wall curving into a slightly darker floor */
  background:
    radial-gradient(60% 55% at 68% 42%, oklch(0.995 0.002 228) 0%, transparent 70%),
    linear-gradient(180deg, var(--sweep) 0%, var(--sweep) 58%, var(--sweep-low) 100%);
  margin-top: -72px; padding-top: 72px;
}
.hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; min-height: min(100svh, 860px); gap: 1rem; }
.hero-copy { position: relative; z-index: 2; padding-block: 3rem; }
.hero-h1 { font-size: clamp(3rem, 6.4vw, 5.6rem); letter-spacing: -0.05em; line-height: .92; font-weight: 600; }
.hero-h1 .ch { display: inline-block; }
.hero-h1 .w { display: inline-block; white-space: nowrap; }
.hero-tag { margin-top: 1.5rem; font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 550; letter-spacing: -0.02em; line-height: 1.25; max-width: 22ch; }
.hero-lede { margin-top: .9rem; color: var(--prose); max-width: 40ch; }
.hero-btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.hero-stage { position: relative; align-self: stretch; min-height: 560px; }
.stage-3d { position: absolute; inset: 0; }
.hero-canvas { position: absolute; inset: -4% -10% -2% -6%; width: 116%; height: 106%; z-index: 1; cursor: grab; touch-action: pan-y; }
.hero-canvas:active { cursor: grabbing; }
.callout-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.callout-lines path { fill: none; stroke: var(--ink); stroke-width: 1.25; }
.callout-lines circle.pin { fill: var(--plate); stroke: var(--ink); stroke-width: 1.5; }
.callout-lines circle.pin-core { fill: var(--miami); }
.callouts { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.callout {
  position: absolute; width: 15.5rem; padding: .85rem 1rem .9rem;
  background: color-mix(in oklch, var(--plate) 86%, transparent); backdrop-filter: blur(10px);
  border-radius: 16px; box-shadow: 0 0 0 1px var(--line), 0 18px 34px -24px rgba(7,13,25,.45);
  font-size: .9rem; line-height: 1.4; color: var(--prose);
}
.callout b { display: block; color: var(--ink); font-weight: 600; font-size: 1rem; letter-spacing: -0.015em; margin-bottom: .15rem; }
.callout[data-anchor="glass"] { left: -3%; bottom: 13%; }
.callout[data-anchor="ring"] { right: 0; top: 11%; }
.callout[data-anchor="scale"] { right: 2%; bottom: 8%; }
.hero-hint { position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); z-index: 2; font-size: .85rem; color: var(--muted); white-space: nowrap; }

/* --------------------------------------------------------- sections -- */
.sec { padding-block: var(--sec); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 1rem 3rem; align-items: end; margin-bottom: 2.5rem; }
.sec-head h2 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); letter-spacing: -0.045em; }
.sec-head p { color: var(--prose); font-size: 1.1rem; max-width: 52ch; justify-self: end; }

/* ---------------------------------------------------------- services -- */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.svc { display: flex; flex-direction: column; background: var(--plate); border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.svc:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line-strong), 0 30px 50px -34px rgba(7,13,25,.55); }
/* each product sits on its own little sweep */
.plinth {
  position: relative; aspect-ratio: 1 / 0.92;
  background:
    radial-gradient(70% 60% at 50% 40%, oklch(0.995 0.002 228), transparent 72%),
    linear-gradient(180deg, oklch(0.95 0.007 230) 0%, oklch(0.93 0.009 230) 64%, oklch(0.895 0.012 232) 100%);
}
.svc-body { display: flex; flex-direction: column; gap: .7rem; padding: 1.3rem 1.3rem 1.4rem; flex: 1; }
.svc-body h3 { font-size: 1.5rem; }
.svc-body p { color: var(--prose); font-size: .97rem; line-height: 1.55; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.chips li { font-size: .82rem; font-weight: 500; padding: .28rem .65rem; border-radius: 999px; background: var(--sweep); color: var(--prose); box-shadow: inset 0 0 0 1px var(--line); }
.svc-link { margin-top: auto; padding-top: .4rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start; }
.svc-link::after { content: ""; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2F6F7' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .5s var(--ease), background-color .3s; }
.svc-link:hover::after { transform: translateX(4px); background-color: var(--miami-deep); }

/* ---------------------------------------------------------- projects -- */
.projects { background: var(--plate); }
.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.proj { border-radius: var(--r); overflow: hidden; background: var(--sweep); box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.proj:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line-strong), 0 30px 50px -34px rgba(7,13,25,.55); }
.proj-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--ink); }
.proj-media > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.proj:hover .proj-media > img { transform: scale(1.1); }
.proj-logo { position: absolute; left: .9rem; bottom: .9rem; height: 2.6rem; padding: .45rem .7rem; border-radius: 12px; background: rgba(7,13,25,.62); backdrop-filter: blur(10px); display: flex; align-items: center; transition: transform .6s var(--ease); }
.proj-logo img { height: 100%; width: auto; max-width: 8rem; object-fit: contain; }
.proj-logo--tile { padding: 0; overflow: hidden; width: 2.6rem; }
.proj-logo--tile img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.proj-logo--wide img { max-width: 9rem; }
.proj:hover .proj-logo { transform: translateY(-4px); }
.proj-body { padding: 1.2rem 1.3rem 1.4rem; display: grid; gap: .35rem; }
.stat { font-size: clamp(2.6rem, 4vw, 3.4rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.proj-body h3 { font-size: 1.15rem; letter-spacing: -0.02em; margin-top: .35rem; }
.proj-body p:not(.stat) { color: var(--prose); font-size: .95rem; line-height: 1.5; }
/* categories: 4 x 2, seven kinds of business plus "every project" */
.cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cat { text-decoration: none; color: inherit; }
.cat .proj-media { aspect-ratio: 4 / 3; }
.cat-all { background: var(--miami); box-shadow: none; justify-content: flex-end; min-height: 100%; }
.cat-all .proj-body { padding: 1.4rem; }
.cat-all h3 { font-size: 1.5rem; }
.cat-all h3, .cat-all .proj-body p:not(.stat) { color: var(--harbor); }
.cat-go { margin-top: .8rem; font-weight: 600; color: var(--harbor); display: inline-flex; gap: .45rem; transition: gap .3s var(--ease); }
.cat-go::after { content: "92"; }
.cat-all:hover .cat-go { gap: .8rem; }
@media (max-width: 1100px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------ projects page -- */
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); letter-spacing: -0.05em; line-height: 1; }
.page-head .lede { margin-top: 1rem; color: var(--prose); font-size: 1.15rem; max-width: 52ch; }
.work { padding-bottom: var(--sec); }
.tabbar { position: sticky; top: 72px; z-index: 5; display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding: .8rem 0; margin-bottom: 1.4rem; background: linear-gradient(var(--sweep) 72%, transparent); }
.tabbar::-webkit-scrollbar { display: none; }
.tabbar [role="tab"] { flex: none; height: 2.75rem; padding: 0 1.15rem; border-radius: 999px; border: 0; background: none; font: 600 .95rem var(--font); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); cursor: pointer; transition: background .25s, color .25s, box-shadow .25s, transform .4s var(--ease); }
.tabbar [role="tab"]:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-1px); }
.tabbar [role="tab"][aria-selected="true"] { background: var(--miami); color: var(--harbor); box-shadow: none; }
html:not(.tabs-on) .tabbar { display: none; }
html:not(.tabs-on) .cat-panel + .cat-panel { margin-top: 3rem; }
.cat-panel { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(1.5rem, 3.5vw, 3rem); align-items: start; }
.cat-panel[hidden] { display: none; }
.cat-photos { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, clamp(170px, 17vw, 270px)); gap: .6rem; }
.cat-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); background: var(--sweep-low); transition: transform .9s var(--ease); }
.cat-photos img:first-child { grid-row: span 2; }
.cat-photos img:hover { transform: scale(1.025); }
.cat-side h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); letter-spacing: -0.045em; line-height: 1; }
.cat-side > p { margin-top: .8rem; color: var(--prose); max-width: 44ch; }
.list-h { margin-top: 1.6rem; font-size: 1rem; font-weight: 600; color: var(--muted); }
.clients { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.2rem; }
.clients li { padding: .55rem 0; border-bottom: 1px solid var(--line); font-weight: 600; line-height: 1.25; }
.clients li span { display: block; margin-top: .15rem; font-size: .85rem; font-weight: 500; color: var(--muted); }
.towns { margin-top: .6rem; color: var(--prose); line-height: 1.7; }
.cat-side .btn { margin-top: 1.6rem; }
.cat-panel.is-in .cat-photos img { animation: cat-rise .7s var(--ease) both; }
.cat-panel.is-in .cat-photos img:nth-child(2) { animation-delay: .05s; }
.cat-panel.is-in .cat-photos img:nth-child(3) { animation-delay: .1s; }
.cat-panel.is-in .cat-photos img:nth-child(4) { animation-delay: .15s; }
.cat-panel.is-in .cat-photos img:nth-child(5) { animation-delay: .2s; }
.cat-panel.is-in .cat-side { animation: cat-rise .7s var(--ease) .12s both; }
@keyframes cat-rise { from { opacity: 0; transform: translateY(16px); } }
.proj-close { background: var(--plate); }
.proj-close-in { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; }
.proj-close h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: -0.045em; }
.proj-close p { margin-top: .6rem; color: var(--prose); max-width: 46ch; }
@media (max-width: 960px) {
  .cat-panel { grid-template-columns: 1fr; }
  .cat-photos { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .cat-photos img { aspect-ratio: 1; height: auto; }
  .cat-photos img:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) { .proj-grid.cats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .clients { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .cat-panel.is-in .cat-photos img, .cat-panel.is-in .cat-side { animation: none; } }

/* ------------------------------------------------------- focus scale -- */
/* the steps sit on an engraved distance scale, like the lens's focus ring */
.scale { list-style: none; margin: 0; padding: 3.2rem 0 0; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.1rem; --p: 0; }
.scale::before { /* engraved ticks */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 1.5px, transparent 1.5px 12px);
  -webkit-mask: linear-gradient(90deg, #000 calc(var(--p) * 100%), transparent calc(var(--p) * 100%));
          mask: linear-gradient(90deg, #000 calc(var(--p) * 100%), transparent calc(var(--p) * 100%));
}
.scale::after { /* the scale's base line */
  content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 2px; border-radius: 2px; background: var(--ink);
  transform: scaleX(var(--p)); transform-origin: left;
}
.step { position: relative; }
.step-n {
  position: absolute; top: calc(-3.2rem + 19px - 1.2rem); left: 0; z-index: 1;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 600; font-size: 1rem; font-variant-numeric: tabular-nums;
  background: var(--plate); box-shadow: inset 0 0 0 1.5px var(--ink);
  transition: background-color .35s, color .35s, box-shadow .35s, transform .5s var(--ease);
}
.step:hover .step-n, .step.is-on .step-n { background: var(--miami); color: var(--harbor); box-shadow: inset 0 0 0 1.5px var(--miami); transform: translateY(-6px); }
.step h3 { font-size: 1.3rem; margin-top: .9rem; }
.step p { color: var(--prose); font-size: .97rem; line-height: 1.55; margin-top: .5rem; }

/* ----------------------------------------------------------- pricing -- */
.pricing { background: var(--plate); }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; gap: .4rem; padding: 1.8rem 1.6rem 1.6rem; border-radius: var(--r); background: var(--sweep); box-shadow: 0 0 0 1px var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.tier:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line-strong), 0 30px 50px -34px rgba(7,13,25,.55); }
.tier h3 { font-size: 1.35rem; }
.price { font-size: clamp(3rem, 4.6vw, 4rem); font-weight: 600; letter-spacing: -0.055em; line-height: 1; margin-top: .6rem; font-variant-numeric: tabular-nums; }
.tier-time { color: var(--muted); font-size: .95rem; }
.ticks { list-style: none; margin: 1rem 0 1.5rem; padding: 1rem 0 0; display: grid; gap: .6rem; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding-left: 1.7rem; color: var(--prose); font-size: .98rem; line-height: 1.4; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .12em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2F6F7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat; }
.tier .btn { margin-top: auto; }
.tier--main { background: var(--ink); color: var(--signal); box-shadow: 0 30px 60px -36px rgba(7,13,25,.8); }
.tier--main:hover { box-shadow: 0 40px 70px -36px rgba(7,13,25,.9); }
.tier--main .tier-time { color: var(--mist); }
.tier--main .ticks { border-color: rgba(173,185,196,.22); }
.tier--main .ticks li { color: oklch(0.9 0.01 230); }
.tier--main .ticks li::before { background-color: var(--miami); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300202E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.tier-flag { position: absolute; top: 1.4rem; right: 1.4rem; font-size: .82rem; font-weight: 600; padding: .3rem .75rem; border-radius: 999px; background: var(--miami); color: var(--harbor); }
.tier-note { margin-top: 1.5rem; color: var(--muted); font-size: .95rem; }

/* --------------------------------------------------------- questions -- */
.qa { margin: 0; display: grid; }
.qa-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: .5rem 3rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.qa-row:last-child { border-bottom: 1px solid var(--line); }
.qa dt { font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.3; }
.qa dd { margin: 0; color: var(--prose); max-width: 56ch; }

/* ----------------------------------------------------------- contact -- */
.contact {
  background:
    radial-gradient(50% 60% at 22% 40%, rgba(30,209,231,.08), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, #050A14 100%);
  color: var(--signal); padding-block: var(--sec);
}
.contact-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; align-items: start; }
.contact h2 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); letter-spacing: -0.045em; }
.contact-lede { margin-top: 1rem; color: oklch(0.88 0.01 230); font-size: 1.1rem; max-width: 42ch; }
.contact-lens { position: relative; width: min(100%, 380px); aspect-ratio: 1; margin: 1.5rem 0 1rem -1rem; }
.contact-lines { display: grid; gap: .35rem; color: var(--mist); }
.contact-lines a { color: var(--signal); text-decoration: none; }
.contact-lines a:hover { color: var(--miami); }
.contact-phone { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -0.035em; margin-bottom: .3rem; }

.form { background: var(--plate); color: var(--ink); border-radius: var(--r); padding: 1.8rem; display: grid; gap: 1.1rem; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; align-content: start; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-weight: 600; font-size: .92rem; padding: 0; }
.field input, .field textarea {
  width: 100%; height: 3.25rem; padding: 0 1rem; border-radius: 14px; border: 1.5px solid var(--line);
  background: var(--sweep); font: 450 1rem var(--font); color: var(--ink); transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field textarea { height: auto; padding: .85rem 1rem; resize: vertical; min-height: 7rem; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--miami-deep); background: var(--plate); box-shadow: 0 0 0 4px rgba(30,209,231,.22); }
.field input[aria-invalid="true"] { border-color: #C2362B; }
.picks { display: flex; flex-wrap: wrap; gap: .45rem; }
.picks legend { margin-bottom: .45rem; }
.picks label { position: relative; cursor: pointer; }
.picks input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.picks span { display: inline-flex; height: 2.5rem; align-items: center; padding: 0 1rem; border-radius: 999px; background: var(--sweep); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 500; font-size: .94rem; transition: background-color .25s, box-shadow .25s, transform .4s var(--ease); }
.picks label:hover span { box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.picks input:checked + span { background: var(--miami); color: var(--harbor); box-shadow: inset 0 0 0 1.5px var(--miami); }
.picks input:focus-visible + span { outline: 3px solid var(--miami-deep); outline-offset: 2px; }
.picks span.pop { animation: pop .5s var(--ease-punch); }
@keyframes pop { 40% { transform: scale(1.08); } }
.form-err { color: #B02A20; font-weight: 500; font-size: .95rem; min-height: 0; }
.form-err:empty { display: none; }
.form-done { position: absolute; inset: 0; border-radius: var(--r); background: var(--plate); display: grid; place-content: center; text-align: center; gap: .6rem; padding: 2rem; }
.form-done[hidden] { display: none; }
.done-h { font-size: 2.6rem; font-weight: 600; letter-spacing: -0.05em; }
.form-done p:not(.done-h) { color: var(--prose); max-width: 34ch; }

/* ------------------------------------------------------------ footer -- */
.foot { background: #050A14; color: var(--mist); padding: 3.5rem 0 2rem; }
.foot-word { width: min(100%, 720px); height: auto; opacity: .96; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 2.8rem; padding-top: 2rem; border-top: 1px solid rgba(173,185,196,.16); }
.foot-cols div { display: grid; gap: .45rem; align-content: start; }
.foot h4 { color: var(--signal); font-size: 1rem; letter-spacing: -0.01em; margin-bottom: .3rem; }
.foot a { text-decoration: none; color: var(--mist); }
.foot a:hover { color: var(--miami); }
.foot-legal { margin-top: 2.5rem; font-size: .88rem; }

/* ------------------------------------------------------------ motion -- */
/* everything plays once on arrival; nothing is tied to scroll position */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .proj[data-reveal] .proj-media > img { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease) calc(var(--d, 0s) + .1s), transform 1.2s var(--ease); }
.js .proj[data-reveal].is-in .proj-media > img { clip-path: inset(0 0 0 0); }

.js .hero-h1 .ch { transform: translateY(105%); opacity: 0; }
.js .hero-h1 .w { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; vertical-align: top; }
.js .hero-h1 .dot { transform: scale(0); }
.js .hero-tag, .js .hero-lede, .js .hero-btns, .js .callout, .js .hero-hint { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .hero-h1 .ch, .js .hero-h1 .dot, .js .hero-tag, .js .hero-lede, .js .hero-btns, .js .callout, .js .hero-hint { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .proj[data-reveal] .proj-media > img { clip-path: none; }
  .scale { --p: 1 !important; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* -------------------------------------------------------- responsive -- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-in { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-copy { padding-block: 2.5rem 0; }
  .hero-stage { min-height: 0; }
  .stage-3d { position: relative; aspect-ratio: 1.25; }
  .hero-canvas { inset: -6% -6% -2%; width: 112%; height: 108%; }
  .callout[data-anchor="glass"] { left: 0; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .top-phone { display: none; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head p { justify-self: start; }
  .proj-grid, .tiers { grid-template-columns: 1fr 1fr; }
  .tier--main { order: -1; grid-column: 1 / -1; }
  .scale { grid-template-columns: 1fr; padding: 0 0 0 3.6rem; gap: 1.6rem; }
  .scale::before { top: 0; bottom: 0; left: 0; right: auto; width: 18px; height: auto; background: repeating-linear-gradient(180deg, var(--line-strong) 0 1.5px, transparent 1.5px 12px); -webkit-mask: linear-gradient(180deg, #000 calc(var(--p) * 100%), transparent calc(var(--p) * 100%)); mask: linear-gradient(180deg, #000 calc(var(--p) * 100%), transparent calc(var(--p) * 100%)); }
  .scale::after { top: 0; bottom: 0; left: 18px; right: auto; width: 2px; height: auto; transform: scaleY(var(--p)); transform-origin: top; }
  .step-n { top: -.2rem; left: -3.6rem; margin: 0 0 0 -0.2rem; }
  .step h3 { margin-top: 0; }
  .qa-row { grid-template-columns: 1fr; }
  .contact-in { grid-template-columns: 1fr; }
  .contact-lens { width: min(70%, 300px); }
  .callout-lines { display: none; }
  .callouts { position: static; display: grid; gap: .6rem; padding-bottom: 2.5rem; }
  .callout { position: static; width: auto; }
}
/* plinths + contact lens are always stills; the hero still stands in for its 3D on phones (main.js skips the WebGL there) */
.still { display: none; }
.plinth .still, .contact-lens .still { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-lens .still { -webkit-mask-image: radial-gradient(closest-side, #000 78%, transparent); mask-image: radial-gradient(closest-side, #000 78%, transparent); }
@media (max-width: 760px) {
  .still { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .stage-3d canvas, .hero-hint { display: none; }
  /* the hero still is cut from a slightly different sweep; feather it so no box edge shows */
  .stage-3d .still { -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent); mask-image: radial-gradient(closest-side, #000 72%, transparent); }
}
@media (max-width: 640px) {
  .top-cta .btn { display: none; }
  .brand-word { width: 160px; }
  .proj-grid, .tiers { grid-template-columns: 1fr; }
  /* services stay side by side, 2 x 2: picture, name, two short lines, the link */
  .svc-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .plinth { aspect-ratio: 1 / .92; }
  .svc-body { padding: .85rem .85rem 1rem; gap: .45rem; }
  .svc-body h3 { font-size: 1.08rem; }
  .svc-body p { font-size: .84rem; line-height: 1.45; }
  .svc .chips { display: none; }
  .svc-link { font-size: .86rem; }
  .form { padding: 1.3rem; }
  .form-row { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .stage-3d { aspect-ratio: 1.05; }
}

/* contact form honeypot: hidden from people, bots fill it */
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
