/* 88 Drone Studio — public pages. Phone-first; one column that widens, never a second layout. */
:root{
  --ink:#1D1D1F; --grey:#6E6E73; --line:#D2D2D7; --band:#F5F5F7; --bg:#FFFFFF; --link:#0066CC;
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --gut:max(20px,env(safe-area-inset-left,0px));
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:17px;line-height:1.45;-webkit-font-smoothing:antialiased;text-align:center}
img{display:block;max-width:100%;height:auto}
a{color:var(--link);text-decoration:none}
a:hover{text-decoration:underline}
:focus-visible{outline:3px solid var(--link);outline-offset:3px;border-radius:6px}
h1,h2,p{margin:0}
h1,h2{font-weight:600;text-wrap:balance}

.nav{position:sticky;top:0;z-index:10;height:48px;padding:0 var(--gut);display:flex;align-items:center;justify-content:space-between;background:rgba(255,255,255,.82);-webkit-backdrop-filter:saturate(180%) blur(18px);backdrop-filter:saturate(180%) blur(18px)}
.nav::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--line);opacity:0;transition:opacity .3s ease}
.nav.scrolled::after{opacity:1}
.nav .brand{font-size:15px;font-weight:600;letter-spacing:-.01em;color:var(--ink)}
.nav .links{display:flex}
.nav .links a{font-size:14px;color:var(--ink);padding:14px 0 14px 20px}

.hero{padding:clamp(44px,9vw,96px) 24px clamp(36px,6vw,64px);display:flex;flex-direction:column;align-items:center;gap:14px}
.hero h1{font-size:clamp(44px,9vw,88px);line-height:1.05;letter-spacing:-.03em}
.hero p{font-size:clamp(19px,2.4vw,26px);line-height:1.35;color:var(--grey);max-width:22em}
.actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 22px;margin-top:8px}
.pill{display:inline-flex;align-items:center;min-height:44px;padding:0 22px;border-radius:999px;background:var(--ink);color:#fff;font-size:17px;font-weight:500;transition:background .2s ease,transform .2s cubic-bezier(.16,1,.3,1)}
.pill:hover{background:#000;text-decoration:none}
.pill:active{background:#424245;transform:scale(.97)}
.more{display:inline-flex;align-items:center;min-height:44px;font-size:17px}
.herowrap{overflow:hidden}
.heroimg{width:100%;aspect-ratio:9/8;object-fit:cover}

.tiles{display:grid;gap:12px;padding-top:12px}
.tile{background:var(--band);padding:clamp(48px,7vw,72px) 20px 0;display:flex;flex-direction:column;align-items:center;gap:8px;overflow:hidden}
.tile h2,.close h2{font-size:clamp(32px,5vw,48px);line-height:1.1;letter-spacing:-.025em}
.tile p{color:var(--grey);font-size:clamp(17px,2vw,21px);max-width:18em}
.tile .more{margin-bottom:6px}
.tile .shot{width:min(100%,640px);aspect-ratio:35/26;object-fit:cover;border-radius:18px 18px 0 0}
.pair{display:flex;gap:6px;width:min(100%,640px)}
.pair>*{flex:1;min-width:0;overflow:hidden}
.pair img{width:100%;aspect-ratio:17/26;object-fit:cover}
.pair>:first-child{border-radius:18px 0 0 0}
.pair>:last-child{border-radius:0 18px 0 0}
.after{background:url(img/change-april.webp) center/cover}

.close{padding:clamp(72px,10vw,120px) 24px clamp(64px,9vw,104px);display:flex;flex-direction:column;align-items:center;gap:12px}
.close p{color:var(--grey);font-size:clamp(17px,2vw,21px)}
.close .pill{margin-top:10px}

.foot{border-top:1px solid var(--line);padding:20px var(--gut) calc(28px + env(safe-area-inset-bottom,0px));font-size:13px;color:var(--grey);text-align:left;display:flex;flex-direction:column;gap:6px;max-width:1000px;margin:0 auto}
.foot a{color:var(--grey);text-decoration:underline;text-underline-offset:3px}

/* before / after slider */
.cmp{position:relative;width:min(100%,640px);aspect-ratio:1;overflow:hidden;border-radius:18px;--x:50%;touch-action:pan-y;-webkit-user-select:none;user-select:none;cursor:ew-resize;background:var(--band)}
.tile .cmp{border-radius:18px 18px 0 0;aspect-ratio:5/4}
.cmp img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;pointer-events:none;-webkit-user-drag:none}
.cmp .b{clip-path:inset(0 calc(100% - var(--x)) 0 0)}
.cmp .bar{position:absolute;top:0;bottom:0;left:var(--x);width:2px;margin-left:-1px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.12);pointer-events:none}
.cmp .bar::after{content:"‹ ›";position:absolute;top:50%;left:50%;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;background:#fff;color:var(--ink);font-size:17px;font-weight:600;line-height:42px;text-align:center;box-shadow:0 2px 10px rgba(0,0,0,.28)}
.cmp .tag{position:absolute;top:12px;font-size:13px;line-height:1;color:#fff;background:rgba(0,0,0,.5);border-radius:999px;padding:6px 10px;pointer-events:none}
.cmp .tag.l{left:12px}.cmp .tag.r{right:12px}
.cmp input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;bottom:0;left:50%}
.cmp:has(input:focus-visible){outline:3px solid var(--link);outline-offset:3px}

/* capability lists inside tiles */
.can{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:6px;max-width:26em}
.can li{font-size:14px;color:var(--ink);background:#fff;border-radius:999px;padding:6px 12px}

/* work teasers */
.works{padding:clamp(64px,9vw,104px) 0 clamp(40px,6vw,64px);display:flex;flex-direction:column;align-items:center;gap:10px}
.works h2{font-size:clamp(32px,5vw,48px);line-height:1.1;letter-spacing:-.025em}
.works>p{color:var(--grey);font-size:clamp(17px,2vw,21px);padding:0 24px}
.strip{display:flex;gap:12px;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding:14px var(--gut) 6px;scrollbar-width:none}
.strip::-webkit-scrollbar{display:none}
.strip .work{flex:0 0 min(72vw,300px);scroll-snap-align:center}
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px 12px;padding:0 var(--gut);max-width:1100px;margin:0 auto}
.work{appearance:none;border:0;background:none;padding:0;margin:0;font:inherit;color:inherit;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:2px;min-width:0;-webkit-tap-highlight-color:transparent}
.work img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:14px;margin-bottom:8px;transition:transform .5s cubic-bezier(.16,1,.3,1)}
.work:active img{transform:scale(.97)}
.work .wt{font-size:16px;font-weight:600;letter-spacing:-.01em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.work .wk{font-size:14px;color:var(--grey);line-height:1.3}
@media (hover:hover){.work:hover img{transform:scale(1.02)}}

/* locked project sheet */
.sheet{border:0;padding:0 24px calc(24px + env(safe-area-inset-bottom,0px));width:100%;max-width:520px;margin:auto auto 0;border-radius:22px 22px 0 0;background:#fff;color:var(--ink);text-align:center;max-height:92dvh;overflow:auto}
.sheet[open]{display:flex;flex-direction:column;align-items:center;gap:8px}
.sheet::backdrop{background:rgba(0,0,0,.4);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.sheet img{width:calc(100% + 48px);max-width:none;aspect-ratio:3/2;object-fit:cover;margin-bottom:14px}
.sheet h2{font-size:28px;line-height:1.1;letter-spacing:-.025em}
.sheet .wsm{color:var(--grey)}
.sheet .lock{font-size:15px;color:var(--grey);margin:8px 0 6px;max-width:22em}
.sheet .pill{align-self:stretch;justify-content:center}
.sheet .x{appearance:none;border:0;background:none;font:inherit;font-size:15px;color:var(--grey);min-height:44px;padding:0 16px;cursor:pointer}
@media (prefers-reduced-motion:no-preference){
  .sheet[open]{animation:sheetup .45s cubic-bezier(.16,1,.3,1)}
  @keyframes sheetup{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
}
@media (min-width:760px){
  .grid{grid-template-columns:repeat(3,1fr);gap:36px 20px}
  .sheet{margin:auto;border-radius:22px}
  .strip{justify-content:flex-start;max-width:1100px}
}

/* sample results */
.fig{padding:clamp(52px,8vw,88px) 20px;display:flex;flex-direction:column;align-items:center;gap:10px}
.fig.band{background:var(--band)}
.fig .shot{width:min(100%,640px);border-radius:18px;object-fit:cover}
.fig .pair img{aspect-ratio:1}
.fig .pair>:first-child{border-radius:18px 0 0 18px}
.fig .pair>:last-child{border-radius:0 18px 18px 0}
.fig .zoom{aspect-ratio:3/2}
.cap{display:flex;width:min(100%,640px);font-size:14px;color:var(--grey)}
.cap span{flex:1}
.big{font-variant-numeric:tabular-nums;font-size:clamp(56px,10vw,96px);line-height:1;font-weight:600;letter-spacing:-.03em;margin-top:22px}
.fig p.say{color:var(--grey);font-size:clamp(17px,2vw,21px);max-width:18em}
.fig .pill{margin-top:20px}

@media (min-width:760px){
  .heroimg{aspect-ratio:2/1}
  .tiles{grid-template-columns:1fr 1fr;padding:12px 12px 0}
  .tiles .tile:first-child{grid-column:1/-1}
}

/* motion — only when html.js is set (script present, motion allowed). Default state is fully visible. */
.zoom{overflow:hidden}
.zoom img{width:100%;height:100%;object-fit:cover;transform-origin:40% 28%;transform:scale(calc(1 + var(--p,0)*.45));will-change:transform}
@media (prefers-reduced-motion:no-preference){
  @keyframes up{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
  @keyframes settle{from{opacity:0;transform:scale(1.08)}to{opacity:1;transform:none}}
  .js .hero>*{animation:up .9s cubic-bezier(.16,1,.3,1) both}
  .js .hero>:nth-child(2){animation-delay:.12s}
  .js .hero>:nth-child(3){animation-delay:.24s}
  .js .heroimg{animation:settle 1.6s cubic-bezier(.16,1,.3,1) .2s both}
  .js .rise{opacity:0;transform:translateY(22px);transition:opacity .9s cubic-bezier(.16,1,.3,1),transform .9s cubic-bezier(.16,1,.3,1)}
  .js .rise.in{opacity:1;transform:none}
  .js .after img{clip-path:inset(0 100% 0 0);transition:clip-path 1.5s cubic-bezier(.65,0,.35,1) .35s}
  .js .after.in img{clip-path:inset(0)}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}.zoom img{transform:none}}

/* ── Typography ─────────────────────────────────────────────────────────
   Three voices, one family. Display for names and headlines, Text for reading,
   Mono for anything measured: figures' units, dates, references, file types.
   Sizes are rem so they follow the reader's own text-size setting. */
:root{
  --display:"Red Hat Display",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --text:"Red Hat Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --mono:"Red Hat Mono",ui-monospace,"SF Mono",SFMono-Regular,Menlo,Consolas,monospace;
  --ink2:#424245;
  --t-hero:clamp(2.875rem,1.5rem + 6.9vw,6rem);
  --t-title:clamp(2.125rem,1.4rem + 3.6vw,3.75rem);
  --t-lead:clamp(1.1875rem,1.08rem + .55vw,1.4375rem);
  --t-body:1.0625rem; --t-small:.9375rem; --t-data:.8125rem;
}
body{font-family:var(--text);font-size:var(--t-body);line-height:1.5;font-kerning:normal;font-optical-sizing:auto;font-synthesis:none;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}
h1,h2,h3{font-family:var(--display);font-weight:800;text-wrap:balance}
p{text-wrap:pretty}
.nav .brand{font-family:var(--display);font-size:1.0625rem;font-weight:800;letter-spacing:-.012em}
.nav .links a{font-size:var(--t-small);font-weight:500}
.hero h1{font-size:var(--t-hero);line-height:.98;letter-spacing:-.026em}
.hero p{font-size:var(--t-lead);line-height:1.36;letter-spacing:-.008em;color:var(--ink2);max-width:28ch}
.tile h2,.close h2,.works h2{font-size:var(--t-title);line-height:1.02;letter-spacing:-.024em}
.tile p,.close p,.works>p,.fig p.say{font-size:var(--t-lead);line-height:1.36;letter-spacing:-.008em;max-width:26ch}
.pill{font-size:var(--t-body);font-weight:600;letter-spacing:-.005em}
.more{font-size:var(--t-body);font-weight:500}
.can li{font-size:.875rem;font-weight:500;letter-spacing:0}
.work .wt{font-family:var(--display);font-size:1.0625rem;font-weight:700;letter-spacing:-.01em;line-height:1.2}
.work .wk{font-size:.875rem;line-height:1.35}
.sheet h2{font-size:1.875rem;line-height:1.06;letter-spacing:-.02em}
.sheet .wsm{font-size:var(--t-small)}
.sheet .lock{font-size:var(--t-small);line-height:1.4}
.sheet .x{font-size:var(--t-small);font-weight:500}
/* measured things speak in mono */
.big{font-family:var(--display);font-weight:800;font-size:clamp(4rem,2.4rem + 8vw,7.5rem);line-height:.94;letter-spacing:-.028em;font-variant-numeric:tabular-nums lining-nums}
.big .u{font-family:var(--mono);font-size:.26em;font-weight:500;letter-spacing:0;color:var(--grey);margin-left:.18em;vertical-align:.12em}
.cmp .tag,.cap{font-family:var(--mono);font-size:.75rem;font-weight:500;letter-spacing:.01em}
.foot{font-size:var(--t-data);line-height:1.5}
.foot .n{font-family:var(--mono);font-size:.75rem}
.wsm,.dt{font-variant-numeric:tabular-nums}
@media (min-width:760px){
  .hero p{max-width:32ch}
  .work .wt{font-size:1.1875rem}
  .work .wk{font-size:.9375rem}
}
