/* Tuckes Dev — implemented from the Claude Design file "Tuckes Dev.dc.html".
   Wide layout starts at 860px; below that everything stacks into one column. */

:root {
  --paper: #F9F6F1;
  --paper-2: #F2EDE5;
  --ink: #1D1713;
  --muted: #5A544F;
  --faint: #8F867D;
  --mist: #C7C1B9;
  --line: rgba(29, 23, 19, .14);
  --acc: #F65311;
  --err: #B42318;

  --px: clamp(20px, 4vw, 56px);
  --gut: 0px;
  --header: 68px;

  --sans: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}
@media (min-width: 860px) {
  :root { --gut: clamp(40px, 6vw, 96px); }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
::selection { background: var(--acc); color: var(--ink); }
input, textarea, button { font: inherit; color: inherit; }
input::placeholder, textarea::placeholder { color: var(--faint); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.contact :focus-visible { outline-color: var(--ink); }
[hidden] { display: none !important; }
sup { font-size: .62em; line-height: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--paper);
  font-weight: 600; text-decoration: none;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

.page { position: relative; min-height: 100vh; overflow-x: clip; }

/* Two-column "zip": the left column hugs the seam from the right, the right column from the left. */
.split { display: grid; grid-template-columns: 1fr; column-gap: var(--gut); }
.zip { justify-self: start; text-align: left; }
.seam {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: var(--acc); pointer-events: none; display: none;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .zip { justify-self: end; text-align: right; }
  .seam { display: block; }
}

/* Type */
.h2 {
  margin: 0;
  font-size: clamp(44px, 6vw, 96px); font-weight: 750; line-height: .92; letter-spacing: -.045em;
  text-wrap: balance;
}
.body {
  margin: 0;
  font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; color: var(--muted);
  text-wrap: pretty;
}

/* Buttons */
.pill {
  --o: 0;
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap;
  overflow: hidden; isolation: isolate; cursor: pointer;
  transition: color .3s;
}
.pill::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--acc); transform: scaleX(var(--o)); transition: transform .5s var(--ease);
}
.pill:focus-visible { --o: 1; color: var(--ink); }
.pill__arrow { display: inline-block; transform: translateX(calc(var(--o) * 3px)); transition: transform .35s; }
.pill--sm { height: 44px; padding: 0 18px; font-size: 15px; }
.pill--lg { height: 52px; padding: 0 24px; }
.contact .pill::before { background: var(--acc); }

.menu-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: transparent;
  font-size: 15px; font-weight: 600;
  cursor: pointer;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 var(--px);
  background: rgba(249, 246, 241, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: rgba(29, 23, 19, .12); }

.logo { --o: 0; display: flex; align-items: baseline; gap: .28em; padding-block: 9px; color: var(--ink); text-decoration: none; }
.logo:focus-visible { --o: 1; }
.logo__word {
  display: inline-flex; align-items: center;
  font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -.045em;
  font-variation-settings: 'opsz' 96; white-space: nowrap;
}
.logo__tail {
  display: inline-block; overflow: hidden;
  max-width: calc(var(--o) * 1.6em); opacity: var(--o); color: var(--faint);
  transition: max-width .6s var(--ease), opacity .4s;
}
.logo__bar {
  display: inline-block; width: 3px; height: .84em; margin: 0 .1em 0 .08em;
  border-radius: 2px; background: var(--acc);
}
.logo__llc { font-size: 26px; font-weight: 500; letter-spacing: -.03em; line-height: 1; color: var(--muted); }

.nav { display: none; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.navlink {
  --o: 0; position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px;
  font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none;
}
.navlink:focus-visible { --o: 1; }
.navlink::after {
  content: ""; position: absolute; left: 4px; right: 4px; bottom: 9px; height: 1.5px;
  background: var(--acc); transform: scaleX(var(--o)); transition: transform .35s var(--ease);
}
@media (min-width: 860px) {
  .nav { display: flex; }
  .site-header > .menu-btn { display: none; }
}

/* Mobile menu: two accent panels close in from the sides. */
.menu { --m: 0; position: fixed; inset: 0; z-index: 60; overflow: hidden; pointer-events: none; }
.menu.is-open { --m: 1; pointer-events: auto; }
.menu__half {
  position: absolute; top: 0; bottom: 0; width: 50.5%;
  background: var(--acc); transition: transform .75s var(--ease-io);
}
.menu__half--l { left: 0; transform: translateX(calc((var(--m) - 1) * 101%)); }
.menu__half--r { right: 0; transform: translateX(calc((1 - var(--m)) * 101%)); }
.menu__inner {
  position: relative; height: 100%; display: flex; flex-direction: column;
  padding: 0 var(--px) 32px;
  opacity: var(--m); transition: opacity .35s ease .35s;
}
.menu:not(.is-open) .menu__inner { transition-delay: 0s; transition-duration: .2s; }
.menu__bar { height: var(--header); display: flex; align-items: center; justify-content: space-between; }
.menu__word { font-size: 26px; font-weight: 800; letter-spacing: -.045em; font-variation-settings: 'opsz' 96; }
.menu__nav { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.menu__nav a {
  font-size: clamp(48px, 14vw, 96px); font-weight: 800; line-height: 1.04; letter-spacing: -.045em;
  color: var(--ink); text-decoration: none;
}
.menu__mail { font-size: 17px; font-weight: 500; color: var(--ink); }
.menu :focus-visible { outline-color: var(--ink); }

/* Hero */
.hero {
  position: relative; min-height: calc(100svh - var(--header));
  display: flex; flex-direction: column; padding: 0 var(--px);
}
.hero__seam {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px;
  background: var(--acc); transform-origin: 50% 0; display: none;
}
.hero__stage {
  position: relative; flex: 1; display: flex; align-items: center;
  padding: clamp(28px, 7vh, 88px) 0 clamp(24px, 5vh, 56px);
}
.hero__seam-n {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px;
  background: var(--acc);
}
@media (min-width: 860px) {
  .hero__seam { display: block; }
  .hero__seam-n { display: none; }
}
.giant {
  position: relative; margin: 0; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: .1em;
  font-size: clamp(76px, 27vw, 520px); font-weight: 800; line-height: .8; letter-spacing: -.055em;
  font-variation-settings: 'opsz' 96; user-select: none;
}
.giant__l { justify-self: end; display: block; margin-right: .055em; }
.giant__r { justify-self: start; display: block; }
.hero__foot { row-gap: 24px; align-items: end; padding-bottom: clamp(36px, 7vh, 72px); }
.hero__line {
  margin: 0; max-width: 13ch;
  font-size: clamp(32px, 3.8vw, 60px); font-weight: 700; line-height: 1; letter-spacing: -.035em;
  text-wrap: balance;
}
.hero__copy { max-width: 460px; }
.lede { margin: 0 0 26px; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.down-link {
  --o: 0; display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none;
}
.down-link:focus-visible { --o: 1; }
.down-link span { display: inline-block; transform: translateY(calc(var(--o) * 3px)); transition: transform .35s var(--ease); }

/* Hidden until main.js starts the intro (the class is removed right after). */
.intro .hero .giant__l, .intro .hero .giant__r, .intro [data-intro] { opacity: 0; }

/* Sections */
.section { position: relative; scroll-margin-top: var(--header); padding-inline: var(--px); }
.head { row-gap: 20px; align-items: end; }

/* Work */
.work { padding-block: clamp(96px, 12vw, 180px) clamp(48px, 6vw, 88px); }
.case {
  position: relative; row-gap: 40px; margin-top: clamp(16px, 2vw, 28px);
  padding: clamp(28px, 4.4vw, 72px) clamp(22px, 4vw, 64px);
  border-radius: clamp(24px, 3vw, 40px); background: var(--paper-2);
}
.case--first { margin-top: clamp(48px, 7vw, 104px); }
.case--center { align-items: center; }
.case--dark { background: var(--ink); color: var(--paper); }
.case__text { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
.case__meta { display: flex; align-items: center; gap: 16px; }
.case__icon { width: 80px; height: 80px; flex: none; }
.case__tags { font-size: 16px; font-weight: 500; color: var(--muted); }
.case--dark .case__tags { color: var(--mist); }
.case__title {
  margin: 6px 0 0;
  font-size: clamp(56px, 7.4vw, 120px); font-weight: 800; line-height: .86; letter-spacing: -.05em;
  font-variation-settings: 'opsz' 96;
}
.case__desc {
  margin: 0; max-width: 26ch;
  font-size: clamp(19px, 1.6vw, 24px); line-height: 1.35; letter-spacing: -.01em; text-wrap: pretty;
}

/* Image placeholders — swap each .slot for an <img> once assets are approved. */
.slot {
  position: relative; width: 100%; height: 100%;
  display: grid; place-items: center; padding: 8px;
  border-radius: var(--r, 26px);
  background: rgba(127, 127, 127, .08);
  border: 1.5px solid color-mix(in oklab, currentColor 12%, transparent);
  text-align: center; overflow: hidden;
}
.slot__cap { font-size: 13px; line-height: 1.3; opacity: .62; }

/* Real app captures: simulator screenshots and home-screen icons (iOS 26, with the Liquid Glass rim). */
.shot {
  display: block; width: 100%; height: 100%; object-fit: cover;
  border-radius: 14% / 6.45%;
  background: var(--paper-2);
  box-shadow: 0 0 0 1px rgba(29, 23, 19, .08), 0 26px 50px -30px rgba(29, 23, 19, .55);
}
.blank-shot {
  width: 100%; height: 100%; border-radius: 14% / 6.45%;
  background: var(--paper-2);
  box-shadow: 0 0 0 1px rgba(29, 23, 19, .08), 0 26px 50px -30px rgba(29, 23, 19, .35);
}
.case--dark .shot { background: #111; box-shadow: 0 0 0 1px rgba(249, 246, 241, .12), 0 30px 60px -30px rgba(0, 0, 0, .8); }
.app-icon { display: block; width: 100%; height: 100%; filter: drop-shadow(0 8px 16px rgba(29, 23, 19, .18)); }
.case--dark .app-icon { filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .5)); }

.phones {
  display: flex; gap: 14px; align-items: flex-start; min-width: 0; padding-bottom: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.phones::-webkit-scrollbar { display: none; }
.phone { flex: 1 1 0; min-width: 150px; max-width: 216px; aspect-ratio: 1206 / 2622; scroll-snap-align: start; }
@media (min-width: 860px) {
  .phones { overflow-x: visible; }
  .phone { min-width: 0; }
}

/* Thrifted price tag */
.tagrow {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1fr;
  column-gap: clamp(20px, 3vw, 44px); row-gap: 20px; align-items: center;
}
.note { margin: 0; max-width: 30ch; font-size: 14px; line-height: 1.5; color: var(--muted); }
.pitch {
  margin: 0; max-width: 11ch;
  font-size: clamp(30px, 3vw, 46px); font-weight: 750; line-height: 1; letter-spacing: -.035em; text-wrap: balance;
}
.pitch-body { display: grid; gap: 14px; max-width: 34ch; }
.pitch-body > p:first-child { margin: 0; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.pitch-body .note { max-width: none; font-size: 13px; }
.tag { order: -1; justify-self: start; width: 226px; }
@media (min-width: 600px) and (max-width: 859px) {
  .tagrow { grid-template-columns: auto 1fr; grid-template-areas: "tag head" "tag body"; align-content: center; }
  .tagrow--without-tag { grid-template-columns: 1fr; grid-template-areas: "head" "body"; }
  .tag { grid-area: tag; }
  .pitch { grid-area: head; align-self: end; }
  .pitch-body { grid-area: body; align-self: start; }
  .people { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .person { width: 100%; }
}
@media (min-width: 860px) {
  .tagrow { grid-template-columns: 1fr auto 1fr; }
  .tagrow--without-tag { grid-template-columns: 1fr 1fr; }
  .tag { order: 0; justify-self: center; }
}
.tag__swing { position: relative; transform-origin: 50% 20px; }
.tag__body {
  position: relative; padding: 46px 24px 26px;
  background: var(--acc); color: var(--ink);
  clip-path: polygon(24% 0, 76% 0, 100% 12%, 100% 100%, 0 100%, 0 12%);
}
.tag__hole {
  position: absolute; left: 50%; top: 14px; width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; background: var(--paper-2); box-shadow: inset 0 0 0 1.5px rgba(29, 23, 19, .4);
}
.tag__label { font-size: 14px; font-weight: 600; }
.tag__big { margin-top: 14px; font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -.045em; }
.tag__rule + .tag__big { margin-top: 0; }
.tag__small { margin-top: 4px; font-size: 15px; line-height: 1.3; }
.tag__rule { margin: 16px 0; border-top: 1.5px dashed rgba(29, 23, 19, .55); }

/* Pulled: fanned phones with a holographic sheen on hover */
.fan {
  display: flex; justify-content: safe center; align-items: flex-end; min-width: 0;
  padding: 28px 12px 12px; overflow-x: visible;
}
.fan::-webkit-scrollbar { display: none; }
@media (min-width: 860px) {
  .fan { order: -1; overflow-x: visible; }
}
.fan__item { flex: 1 1 0; min-width: 0; max-width: 206px; position: relative; z-index: 1; }
.fan__item--l { margin-right: -22px; rotate: -7deg; transform-origin: 50% 100%; }
.fan__item--m { z-index: 2; translate: 0 -14px; }
.fan__item--r { margin-left: -22px; rotate: 7deg; transform-origin: 50% 100%; }
.holo {
  --ho: 0; --mx: 50%; --my: 50%;
  position: relative; aspect-ratio: 1206 / 2622; border-radius: 14% / 6.45%;
  transition: transform .5s var(--ease);
}
.holo::before, .holo::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  transition: opacity .45s;
}
/* Silver foil: a desaturated sheen band plus fine foil striations, swept by the pointer. */
.holo::before {
  mix-blend-mode: overlay; opacity: calc(var(--ho) * .6);
  background:
    repeating-linear-gradient(112deg, rgba(255, 255, 255, 0) 0 5px, rgba(236, 240, 247, .1) 6px, rgba(255, 255, 255, 0) 8px),
    linear-gradient(112deg, transparent 32%, rgba(214, 222, 236, .5) 45%, rgba(255, 255, 255, .85) 50%, rgba(206, 214, 230, .5) 55%, transparent 68%);
  background-size: 100% 100%, 260% 260%;
  background-position: 0 0, calc(100% - var(--mx)) var(--my);
}
/* Soft specular glint under the pointer. */
.holo::after {
  mix-blend-mode: screen; opacity: calc(var(--ho) * .5);
  background: radial-gradient(circle at var(--mx) var(--my), rgba(236, 241, 250, .32), rgba(236, 241, 250, 0) 36%);
}

/* Decipher letter tiles */
.tiles {
  --gap: clamp(4px, .5vw, 8px);
  margin: 6px 0 0; width: 100%; max-width: 584px; display: flex; gap: var(--gap);
  font-size: clamp(16px, 2.6vw, 42px); font-weight: 750; line-height: 1; cursor: default;
}
.tiles span {
  flex: 0 1 66px; min-width: 0; aspect-ratio: 1; display: grid; place-items: center;
  border: 1.5px solid var(--ink); border-radius: 8px; background: var(--paper);
}

/* Services */
.services { padding-block: clamp(80px, 10vw, 160px); }
.svc-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.svc {
  --o: 0; position: relative;
  display: grid; grid-template-columns: 1fr; column-gap: calc(var(--gut) + var(--o) * 132px); row-gap: 6px; align-items: center;
  padding: clamp(20px, 2.4vw, 32px) 90px clamp(20px, 2.4vw, 32px) 0; border-top: 1px solid var(--line);
  transition: column-gap .65s var(--ease);
}
.svc__name {
  margin: 0; text-align: left;
  font-size: clamp(34px, 4.2vw, 66px); font-weight: 700; line-height: 1; letter-spacing: -.035em; text-wrap: balance;
  transition: color .45s ease;
}
.svc__desc { margin: 0; max-width: 34ch; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.45; color: var(--muted); text-wrap: pretty; }
/* The row crossing the middle of the screen is "active" (main.js sets .is-active): its drawing
   pops in and the other names step back. On phones the drawing sits top-right of the row. */
.svc.is-active { --o: 1; }
.svc-list.has-active .svc:not(.is-active) .svc__name { color: color-mix(in oklab, var(--ink) 58%, var(--paper)); }
.svc__art {
  position: absolute; right: 0; top: clamp(20px, 2.4vw, 32px); width: 104px; height: 76px;
  border-radius: 14px; background: var(--ink); overflow: hidden; pointer-events: none;
  opacity: var(--o); transform-origin: 100% 0; transform: scale(calc((.5 + var(--o) * .5) * .74));
  transition: opacity .3s, transform .6s var(--ease);
}
@media (min-width: 860px) {
  .svc { grid-template-columns: 1fr 1fr; }
  .svc { padding-right: 0; }
  .svc__name { text-align: right; }
  .svc__art { right: auto; left: 50%; top: 50%; margin: -38px 0 0 -52px; transform-origin: 50% 50%; transform: scale(calc(.5 + var(--o) * .5)); }
}
.art-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--paper); }
.art-line {
  display: block; border-radius: 2px; background: var(--paper);
  transform-origin: 0 50%; transform: scaleX(var(--o)); transition: transform .5s var(--ease);
}
.art-flip {
  width: 22px; height: 22px; border-radius: 5px; border: 1.5px solid var(--paper);
  background: color-mix(in oklab, var(--acc) calc(var(--o) * 100%), transparent);
  transform: rotateX(calc(var(--o) * 180deg));
  transition-property: transform, background-color;
  transition-duration: .6s, .15s;
  transition-timing-function: var(--ease), linear;
}
.art-bar {
  flex: 1; height: 100%; border-radius: 2px 2px 0 0; background: var(--paper);
  transform-origin: 50% 100%; transform: scaleY(calc(var(--a) + var(--o) * var(--b)));
  transition: transform .7s cubic-bezier(.34, 1.3, .64, 1);
}
.art-glyph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; font-weight: 800; }

/* About */
.about { padding-block: clamp(96px, 12vw, 180px); background: var(--paper-2); }

/* "tuc|kes" opens into "tucich | kester" as the section scrolls through; main.js drives --fold. */
.fold {
  --fold: 0; position: relative;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: .1em;
  font-size: clamp(56px, 13vw, 240px); font-weight: 800; line-height: .82; letter-spacing: -.055em;
  font-variation-settings: 'opsz' 96; white-space: nowrap; cursor: default;
}
.fold.is-scrubbed .fold__tail { transition: none; }
.fold__seam { position: absolute; left: 50%; top: -6%; bottom: -6%; width: 2px; margin-left: -1px; background: var(--acc); }
.fold__l { justify-self: end; display: flex; margin-right: .055em; }
.fold__r { justify-self: start; display: flex; }
.fold__tail {
  display: inline-block; overflow: hidden;
  max-width: calc((1 - var(--fold)) * 1.5em); opacity: calc(1 - var(--fold)); color: var(--faint);
  transition: max-width 1.1s var(--ease-io), opacity .7s;
}
.fold__tail span { display: inline-block; padding-right: .06em; }

.people { row-gap: 48px; margin-top: clamp(48px, 7vw, 104px); }
.person { margin: 0; width: min(100%, 320px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.person__photo { position: relative; width: 100%; aspect-ratio: 4 / 5; }
.person__photo img {
  display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 20px;
  background: var(--paper); box-shadow: 0 0 0 1px rgba(29, 23, 19, .08), 0 24px 44px -30px rgba(29, 23, 19, .45);
}
.person figcaption { display: grid; gap: 6px; }
.person__name { font-size: clamp(26px, 2.4vw, 36px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.person__role { font-size: 16px; color: var(--muted); }
.about__close { row-gap: 18px; margin-top: clamp(56px, 7vw, 104px); align-items: start; }
.about__h {
  margin: 0; max-width: 13ch;
  font-size: clamp(36px, 4.4vw, 68px); font-weight: 750; line-height: .96; letter-spacing: -.04em; text-wrap: balance;
}

/* Contact */
.contact { padding-block: clamp(80px, 10vw, 160px); background: var(--acc); color: var(--ink); }
.contact .seam { background: var(--ink); }
.contact__grid { row-gap: 48px; align-items: start; }
.contact__intro { display: grid; justify-items: start; text-align: left; }
.contact__h {
  margin: 18px 0 0; max-width: 9ch;
  font-size: clamp(52px, 7.2vw, 120px); font-weight: 800; line-height: .88; letter-spacing: -.05em;
  font-variation-settings: 'opsz' 96; text-wrap: balance;
}
.contact__lede { margin: 28px 0 0; max-width: 30ch; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.45; }
.contact__mail { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 12px 16px; }
.contact__addr {
  font-size: clamp(22px, 2.4vw, 38px); font-weight: 700; letter-spacing: -.02em; color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .16em;
  overflow-wrap: anywhere; display: inline-block; padding-block: 9px;
}
@media (min-width: 860px) {
  .contact__intro { justify-items: end; text-align: right; }
  .contact__mail { justify-content: flex-end; }
}
.copy {
  --c: 0; position: relative; height: 44px; min-width: 104px; padding: 0 14px;
  border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  overflow: hidden; cursor: pointer;
  font-size: 15px; font-weight: 600;
  transition: background-color .2s, color .2s;
}
.copy.is-copied { --c: 1; }
.copy__a { display: block; transform: translateY(calc(var(--c) * -160%)); transition: transform .45s var(--ease); }
.copy__b {
  position: absolute; left: 0; right: 0; top: 50%; margin-top: -.6em; line-height: 1.2;
  transform: translateY(calc((1 - var(--c)) * 180%)); transition: transform .45s var(--ease);
}

.panel {
  width: 100%; max-width: 580px; padding: clamp(24px, 3vw, 44px);
  border-radius: clamp(20px, 2.4vw, 32px); background: var(--paper);
  box-shadow: 0 34px 70px -44px rgba(29, 23, 19, .6);
}
.panel :focus-visible { outline-color: var(--acc); }
.form { display: grid; gap: 28px; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 28px 22px; }
.field { display: grid; gap: 6px; }
.field__label { padding: 0; font-size: 15px; font-weight: 500; color: var(--muted); }
.field__input {
  width: 100%; height: 46px; padding: 0;
  border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; background: transparent;
  font-size: 18px; outline: none; transition: border-color .2s;
}
.field__input:focus, .field__input:focus-visible { border-bottom-color: var(--acc); outline: none; }
.field__input[aria-invalid="true"] { border-bottom-color: var(--err); }
.field__input--area { height: auto; min-height: 120px; padding: 10px 0; font-size: 17px; line-height: 1.5; resize: vertical; }
.field__err { font-size: 14px; color: var(--err); }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; }
.form__status, .form__fallback { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.form__status a, .form__fallback a { color: var(--ink); }
.form__note { margin: -12px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.form__turnstile:empty { display: none; }
.form .pill:disabled { opacity: .65; cursor: wait; }

.sent { display: grid; gap: 18px; min-height: 380px; align-content: center; }
.sent__mark { width: 14px; height: 44px; border-radius: 3px; background: var(--acc); }
.sent__h { margin: 0; font-size: clamp(32px, 3vw, 44px); font-weight: 750; letter-spacing: -.035em; line-height: 1; outline: none; }
.sent__p { margin: 0; max-width: 38ch; font-size: 17px; line-height: 1.5; color: var(--muted); }
.sent__p a { color: var(--ink); }
.sent__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.sent__again, .sent__edit {
  display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.sent__again { background: var(--ink); color: var(--paper); }
.sent__edit { border: 1.5px solid var(--ink); background: transparent; }

/* Footer */
.footer { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 112px) var(--px) 28px; background: var(--ink); color: var(--paper); }
.footer__seam { position: absolute; left: 50%; top: -18%; bottom: -10%; width: 2px; margin-left: -1px; background: var(--acc); }
.footer__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px;
  margin-top: clamp(40px, 6vw, 80px); padding-top: 22px; border-top: 1px solid rgba(249, 246, 241, .16);
  font-size: 15px; color: var(--mist);
}
.footer__mail, .footer__top { display: inline-flex; align-items: center; min-height: 44px; }
.footer__mail { color: var(--paper); }
.footer__top { color: var(--mist); text-decoration: none; }

/* Screenshot viewer: the tapped screenshot lifts out of the page into a full-screen stage. */
.shot[role="button"] { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: var(--paper); overflow: hidden;
}
.lightbox[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.lightbox { transition: background-color .4s ease; }
.lightbox.is-in { background: rgba(16, 12, 10, .84); }
.lightbox::backdrop {
  background: transparent;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  opacity: 0; transition: opacity .4s ease;
}
.lightbox.is-in::backdrop { opacity: 1; }
.lightbox__ambient { position: fixed; inset: -12%; pointer-events: none; opacity: 0; transition: opacity .6s ease; }
.lightbox.is-in .lightbox__ambient { opacity: .5; }
.lightbox__ambient img { width: 100%; height: 100%; object-fit: cover; filter: blur(80px) saturate(1.5); }
.lightbox__stage { position: relative; min-height: 0; touch-action: none; cursor: grab; }
.lightbox__stage:active { cursor: grabbing; }
.lightbox__img {
  position: absolute; inset: 64px 0 12px; margin: auto;
  display: block; height: calc(100% - 76px); max-height: 920px; width: auto; max-width: calc(100% - 40px);
  border-radius: 14% / 6.45%; user-select: none; -webkit-user-drag: none;
  box-shadow: 0 0 0 1px rgba(249, 246, 241, .1), 0 50px 100px -40px rgba(0, 0, 0, .9);
  will-change: transform;
}
.lightbox__chrome { opacity: 0; transition: opacity .3s ease; }
.lightbox.is-in .lightbox__chrome { opacity: 1; transition-delay: .12s; }
.lightbox__foot { display: grid; justify-items: center; gap: 14px; padding: 6px 16px max(20px, env(safe-area-inset-bottom)); min-width: 0; }
.lightbox__cap { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 16px; line-height: 1.2; }
.lightbox__cap-icon { width: 24px; height: 24px; }
.lightbox__cap-app { font-weight: 700; }
.lightbox__cap-title { color: var(--mist); }
.lightbox__count { margin-left: 6px; color: var(--mist); font-variant-numeric: tabular-nums; }
.lightbox__strip {
  position: relative; display: flex; align-items: center; gap: 8px; max-width: 100%;
  padding: 6px 4px; overflow-x: auto; scrollbar-width: none;
}
.lightbox__strip::-webkit-scrollbar { display: none; }
.lightbox__thumb {
  flex: none; width: 36px; aspect-ratio: 1206 / 2622; padding: 0; border: 0; border-radius: 7px;
  overflow: hidden; background: #111; cursor: pointer;
  opacity: .42; transform: scale(.92); transition: opacity .25s, transform .35s var(--ease), box-shadow .25s;
}
.lightbox__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lightbox__thumb[aria-current="true"] { opacity: 1; transform: none; box-shadow: 0 0 0 2px var(--paper); }
.lightbox__thumb.is-new-app { margin-left: 14px; }
.lightbox__btn {
  position: fixed; z-index: 2; display: grid; place-items: center; width: 50px; height: 50px; padding: 0;
  border: 1px solid rgba(249, 246, 241, .14); border-radius: 50%;
  background: rgba(249, 246, 241, .08); color: var(--paper);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  cursor: pointer; transition: opacity .3s ease, background-color .2s, transform .2s var(--ease);
}
.lightbox__btn:active { transform: scale(.94); }
.lightbox__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__prev { left: max(20px, 4vw); top: calc(50% - 60px); }
.lightbox__next { right: max(20px, 4vw); top: calc(50% - 60px); }
.lightbox__close { right: max(16px, 3vw); top: max(16px, env(safe-area-inset-top)); }
.lightbox :focus-visible { outline-color: var(--paper); }
@media (max-width: 859px) {
  .lightbox__prev, .lightbox__next { display: none; }
  .lightbox__img { inset: 72px 0 8px; height: calc(100% - 80px); }
  .lightbox__thumb { width: 30px; }
}

/* Hover effects only where a pointer can actually hover, so a tap never leaves one stuck on touch screens. */
@media (hover: hover) {
  .pill:hover { --o: 1; color: var(--ink); }
  .logo:hover { --o: 1; }
  .navlink:hover { --o: 1; }
  .down-link:hover { --o: 1; }
  .fan__item:hover { z-index: 5; }
  .copy:hover { background: var(--ink); color: var(--paper); }
  .footer__top:hover { color: var(--paper); }
  .lightbox__thumb:hover { opacity: .75; }
  .lightbox__btn:hover { background: rgba(249, 246, 241, .18); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
}
.nowrap { white-space: nowrap; }
