@view-transition { navigation: auto; }

:root {
  --bg: #0B0B0F;
  --surface: #16161D;
  --line: #2C2C36;
  --text: #F4F3EE;
  --muted: #B0AFB9;
  --yellow: #FDBF00;
  --blue: #5B9BFF;
  --pink: #FF4F82;
  --green: #02F327;
  --cyan: #00D7DC;
  --max: 97.5rem;
  --gut: max(clamp(1.25rem, 5vw, 5rem), calc((100vw - var(--max)) / 2));
  --bar: 5rem;
  --tab: 3.75rem;
  --stack: "Anek Gujarati", "Noto Sans Gujarati", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
/* Everything is in rem, so the whole layout scales up on very wide monitors */
html { font-size: clamp(100%, .84vw, 150%); -webkit-text-size-adjust: 100%; scrollbar-color: #4A4A57 var(--bg); scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.125rem/1.65 var(--stack);
  caret-color: var(--yellow);
  -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; }
::selection { background: var(--yellow); color: var(--bg); }
img { display: block; max-width: 100%; height: auto; }
ul, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
p { text-wrap: pretty; }
h1, h2, h3 { font-stretch: 112%; font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 6.6vw, 6rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.08; }
h3 { font-size: 1.5rem; line-height: 1.25; }
h1 span { display: block; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 90; background: var(--yellow); color: var(--bg); padding: .5rem 1rem; }
.skip:focus { top: 1rem; }
.lede { max-width: 36em; font-size: clamp(1.1875rem, 1.6vw, 1.375rem); color: var(--muted); margin-top: 1.5rem; }
.wrap { padding-inline: var(--gut); }

.btn {
  display: inline-block;
  font: 700 1.125rem/1 var(--stack);
  background: var(--yellow); color: var(--bg); border: 0; border-radius: .25rem;
  padding: 1.0625rem 1.625rem; min-height: 3.25rem; cursor: pointer; text-decoration: none;
  transition: transform 220ms var(--ease), background 220ms;
}
.btn:hover { transform: translateY(-2px); background: #FFD24D; }
.btn-o { background: none; color: var(--text); box-shadow: inset 0 0 0 1px var(--muted); }
.btn-o:hover { background: var(--surface); }
.go { font-weight: 700; color: var(--yellow); text-decoration: none; border-bottom: 1px solid; padding-bottom: .125rem; }
.go:hover { color: #FFD24D; }
.plain { color: var(--muted); margin-left: 1.25rem; display: inline-block; padding: .75rem 0; }
.plain:hover { color: var(--text); }

/* Header */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  height: var(--bar); padding-inline: var(--gut);
  background: rgba(11, 11, 15, .82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  view-transition-name: bar;
}
.logo { display: block; }
.logo img { height: 2.75rem; width: auto; }
/* The nav sits outside the header so nothing on the header can ever trap the fixed phone bar */
.tabs { position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: 41; height: var(--bar); display: flex; align-items: center; view-transition-name: tabs; }
.tabs ul { display: flex; gap: 2rem; }
.tabs li:nth-child(1) { --c: var(--yellow); }
.tabs li:nth-child(2) { --c: var(--blue); }
.tabs li:nth-child(3) { --c: var(--pink); }
.tabs li:nth-child(4) { --c: var(--green); }
.tabs li:nth-child(5) { --c: var(--cyan); }
.tabs a { display: block; padding: .8125rem 0 .4375rem; font-weight: 500; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; transition: color 200ms; }
.tabs a:hover { color: var(--text); }
.tabs a[aria-current] { color: var(--text); border-color: var(--c); }
.ico { display: none; width: 1.375rem; height: 1.375rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.bar-cta { font-weight: 700; color: var(--yellow); text-decoration: none; padding: .75rem 0 .5rem; white-space: nowrap; }
.bar-cta:hover { color: #FFD24D; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 7rem var(--gut) 4rem; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: calc(var(--gut) - 8rem); top: 6%; width: min(66%, 62rem); height: 94%;
  background:
    radial-gradient(34% 34% at 42% 34%, rgba(253, 191, 0, .2), transparent 72%),
    radial-gradient(45% 40% at 70% 50%, rgba(22, 114, 251, .28), transparent 70%),
    radial-gradient(36% 30% at 55% 72%, rgba(247, 11, 83, .2), transparent 72%);
}
.bloom { position: absolute; }
.hero .bloom { right: calc(var(--gut) - 3rem); top: calc(50% + 1.5rem); height: min(82vh, 44vw, 54rem); width: auto; margin-top: calc(min(82vh, 44vw, 54rem) / -2); }
.hero h1 { font-size: clamp(2.75rem, 5.6vw, 6rem); }
.hero .lede { max-width: 31em; }
.hero-copy { position: relative; max-width: 60vw; }
.entry { display: flex; gap: .625rem; margin-top: 2.25rem; max-width: 34rem; }
.entry input {
  flex: 1; min-width: 0; min-height: 3.25rem; padding: 0 1rem;
  font: inherit; color: var(--text); background: rgba(22, 22, 29, .85);
  border: 1px solid var(--line); border-radius: .25rem;
}
.entry input::placeholder { color: var(--muted); opacity: 1; }
.entry input:focus { border-color: var(--yellow); outline: 0; }
.hero-services { display: flex; flex-wrap: wrap; gap: 1rem 2.25rem; margin-top: 2.25rem; }
.hero-services a { display: flex; flex-direction: column; align-items: center; gap: .5rem; min-width: 5rem; color: var(--muted); font-size: .9375rem; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; transition: color 200ms; }
.hero-services svg { width: 3.5rem; height: 3.5rem; padding: .875rem; fill: none; stroke: var(--c); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; background: var(--surface); border: 1px solid var(--line); border-radius: .75rem; transition: border-color 200ms, transform 220ms var(--ease); }
.hero-services a:hover { color: var(--text); }
.hero-services a:hover svg { border-color: var(--c); transform: translateY(-3px); }

/* Client names */
.names { border-block: 1px solid var(--line); overflow: hidden; padding-block: 1.25rem; }
.marquee { display: flex; width: max-content; animation: slide 46s linear infinite; }
.marquee ul { display: flex; flex-shrink: 0; }
.marquee li { padding-right: 3.5rem; font-size: 1.5rem; font-stretch: 112%; font-weight: 600; color: var(--muted); white-space: nowrap; }
.names:hover .marquee, .names:focus-within .marquee { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Work reel */
.reel { overflow: hidden; }
.reel-inner { display: flex; align-items: center; gap: 2rem; width: max-content; min-height: 100svh; padding: 6rem var(--gut) 3rem; }
.reel-track { display: flex; gap: 2rem; }
.reel-intro { width: min(30rem, 36vw); flex-shrink: 0; padding-right: 2rem; }
.reel-intro p { color: var(--muted); margin-top: 1.25rem; }
.reel figure { flex-shrink: 0; width: min(68vh, 44vw); }
.reel img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #fff; border-radius: .25rem; }
figcaption { margin-top: .75rem; font-size: 1rem; color: var(--muted); }
figcaption b { color: var(--text); font-weight: 600; }

/* Services: the main highlight, straight after the first screen */
.offer { padding-block: clamp(4rem, 7vw, 7rem); }
.offer-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem 4rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.offer-head h2 { max-width: 16em; }
.offer-head p { flex-shrink: 0; padding-bottom: .5rem; }
.line {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); gap: 1rem clamp(2rem, 4vw, 4rem); align-items: center;
  padding-block: clamp(1.75rem, 3vw, 2.75rem); border-top: 1px solid var(--line);
}
.line:last-child { border-bottom: 1px solid var(--line); }
.line h3 { font-size: clamp(3rem, 6.4vw, 6rem); line-height: 1; }
.line p { font-size: 1.25rem; color: var(--text); text-wrap: pretty; }

/* Websites built */
.websites { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.websites h2 { margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.sites { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.site { display: block; text-decoration: none; }
.site-frame { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: .5rem; background: var(--surface); transition: border-color 220ms; }
.site-bar { display: flex; align-items: center; gap: .3125rem; padding: .5rem .75rem; font-size: .8125rem; line-height: 1.2; color: var(--muted); border-bottom: 1px solid var(--line); }
.site-bar i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--line); }
.site-bar span { margin-left: .5rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.site img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; transition: transform 600ms var(--ease); }
.site:hover .site-frame { border-color: var(--muted); }
.site:hover img { transform: scale(1.03); }
.site-name { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .875rem; }
.site-name b { font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.site-name span { display: inline-flex; align-items: center; gap: .25rem; color: var(--yellow); font-weight: 700; white-space: nowrap; }
.ext { width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.line h3 a { color: var(--c); text-decoration: none; transition: letter-spacing 400ms var(--ease); }
.line h3 a:hover { letter-spacing: .01em; }
.line ul { color: var(--muted); }

/* Close */
.close { position: relative; overflow: hidden; padding: clamp(6rem, 12vw, 11rem) var(--gut); background: var(--surface); }
.close .bloom { right: var(--gut); top: 8%; height: 84%; width: auto; }
.close h2 { position: relative; font-size: clamp(2.5rem, 7vw, 6rem); max-width: 11em; }
.close p { position: relative; color: var(--muted); font-size: 1.25rem; margin-top: 1.25rem; max-width: 30em; }
.close p + p { margin-top: 2.25rem; max-width: none; }

/* Inner pages */
.head { padding-top: calc(var(--bar) + clamp(2.5rem, 5vw, 5rem)); padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.head h1 { font-size: clamp(2.75rem, 5vw, 5.25rem); }
.part { padding-block: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid var(--line); }
.part h2 { color: var(--c, var(--text)); }
.part > p { max-width: 42em; color: var(--muted); margin-top: 1.25rem; }
.items { columns: 2 11rem; max-width: 42em; margin-top: 1.5rem; }
.faq { padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 8vw, 7rem); }
.faq { border-top: 1px solid var(--line); }
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 4rem; margin-top: 2.5rem; }
.qa p { color: var(--muted); margin-top: .5rem; }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 2rem; }
.ways dt { font-weight: 700; font-size: 1.375rem; }
.ways dd { color: var(--muted); margin-top: .25rem; }
.client-list { columns: 3 11rem; margin-block: 1.5rem 2rem; font-size: 1.25rem; }

/* Portfolio */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.filters button {
  font: 600 1.0625rem/1 var(--stack); min-height: 2.75rem; padding: 0 1.125rem; cursor: pointer;
  background: none; color: var(--text); border: 1px solid var(--line); border-radius: .25rem;
}
.filters button:hover { border-color: var(--muted); }
.filters button[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--bg); }
.wall { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line); }
.wall-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.wall-head .filters { margin-top: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 2.5rem clamp(1rem, 2.5vw, 2rem); }
.gallery li[hidden] { display: none; }
.gallery li:nth-child(5n + 1):not([hidden]) { grid-column: span 2; grid-row: span 2; }
.gallery figure { display: flex; flex-direction: column; height: 100%; }
.gallery img { flex: 1; width: 100%; min-height: 0; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: .25rem; transition: transform 500ms var(--ease); }
.gallery [data-kind="ads"] img { object-fit: cover; background: var(--surface); }
.gallery li:hover img { transform: scale(1.015); }
.tile-cta { display: none; }
.tile-cta a { display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: clamp(1.5rem, 3vw, 3rem); background: var(--yellow); color: var(--bg); border-radius: .25rem; text-decoration: none; transition: background 220ms; }
.tile-cta a:hover { background: #FFD24D; }
.tile-cta b { font-size: clamp(2.25rem, 3.6vw, 4rem); line-height: 1.05; font-stretch: 112%; letter-spacing: -.015em; }
.tile-cta span { font-weight: 700; font-size: 1.25rem; }

/* Contact */
.talk { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(2rem, 5vw, 6rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.talk h2 { font-size: 2rem; margin-bottom: 1.5rem; }
.project p { margin-bottom: 1.125rem; }
.project label { display: block; font-weight: 600; margin-bottom: .25rem; }
.project input, .project textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--line); border-radius: .25rem; padding: .75rem 1rem; min-height: 3.25rem;
}
.project input:focus, .project textarea:focus { border-color: var(--yellow); outline: 0; }
.project textarea { resize: vertical; }
.send { display: flex; flex-wrap: wrap; gap: .75rem; }
.err { color: var(--pink); font-weight: 600; }
.note { margin-top: 1rem; font-size: 1rem; color: var(--muted); }
.direct dt { color: var(--muted); font-size: 1rem; }
.direct dd { font-size: 1.375rem; margin-bottom: 1.25rem; overflow-wrap: anywhere; }

/* Foot */
.foot {
  display: grid; grid-template-columns: 1fr auto; gap: 2rem 3rem;
  border-top: 1px solid var(--line); padding: 3rem var(--gut); color: var(--muted);
}
.foot a { display: inline-block; padding: .125rem 0; }
.foot a:hover { color: var(--text); }
.foot-big { font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 700; font-stretch: 112%; color: var(--text); line-height: 1.2; }
.foot-links { display: flex; gap: 3rem; }
.legal { grid-column: 1 / -1; font-size: .9375rem; }

@media (max-width: 1100px) {
  .tabs ul { gap: 1.25rem; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .line { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .line h3 { grid-column: 1 / -1; }
  .gallery li:nth-child(5n + 1):not([hidden]) { grid-column: span 2; grid-row: auto; }
  .talk, .qa { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
}

/* Wide screens: inner pages read in two columns so nothing sits in half a page */
@media (min-width: 1000px) {
  .head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(2rem, 5vw, 6rem); align-items: end; }
  .head .lede { margin-top: 0; padding-bottom: .5rem; }
  .part, .faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2rem, 5vw, 6rem); align-items: start; }
  .part h2, .faq h2 { grid-row: 1 / span 4; font-size: clamp(2rem, 3.2vw, 3.25rem); position: sticky; top: calc(var(--bar) + 1.5rem); }
  .part > :not(h2), .faq > :not(h2) { grid-column: 2; }
  .part > p:first-of-type { margin-top: .25rem; font-size: 1.25rem; }
  .part > p, .items { max-width: none; }
  .qa { margin-top: .25rem; }
  .ways { margin-top: .25rem; }
  .client-list { margin-top: .25rem; }
}
@media (min-width: 1500px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tile-cta:not([hidden]) { display: block; grid-column: span 2; grid-row: span 2; }
}

/* Below this the reel is a native swipe strip, not a pinned scroll */
@media (max-width: 899px) {
  .reel-inner { display: block; width: auto; min-height: 0; padding: 3.5rem 0; }
  .reel-intro { width: auto; padding: 0 var(--gut) 1.75rem; }
  .reel-track { gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); padding-inline: var(--gut); scrollbar-width: none; }
  .reel-track::-webkit-scrollbar { display: none; }
  .reel figure { width: min(78vw, 26rem); scroll-snap-align: start; }
  .sites { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; max-width: 40rem; }
}

/* Phone: app bar on top, tab bar below, centred first screen */
@media (max-width: 767px) {
  :root { --gut: clamp(1rem, 5vw, 1.5rem); }
  html { scroll-padding-top: 4.5rem; }
  body { padding-bottom: calc(var(--tab) + 1px + env(safe-area-inset-bottom)); font-size: 1.0625rem; }
  h1 { font-size: clamp(2.125rem, 10vw, 3.25rem); }
  h2 { font-size: clamp(1.75rem, 7.6vw, 2.5rem); }
  .lede { font-size: 1.125rem; line-height: 1.55; margin-top: 1rem; }
  .bar {
    position: sticky; top: 0; height: auto; min-height: 3.5rem; padding: .375rem var(--gut);
    padding-top: calc(.375rem + env(safe-area-inset-top));
    background: var(--bg); border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .logo { display: flex; align-items: center; min-height: 2.75rem; }
  .logo img { height: 2.25rem; }
  .bar-cta { display: flex; align-items: center; min-height: 2.75rem; padding: 0 0 0 .75rem; }

  .tabs {
    display: block; height: auto; top: auto; left: 0; right: 0; bottom: 0; transform: none; z-index: 50;
    background: var(--surface); border-top: 1px solid var(--line);
    padding: 0 0 env(safe-area-inset-bottom);
  }
  .tabs ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; max-width: 34rem; margin-inline: auto; }
  .tabs a {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .125rem;
    height: var(--tab); padding: 0; border: 0;
    font-size: clamp(.6875rem, 3.1vw, .8125rem); line-height: 1rem; font-weight: 600;
    -webkit-tap-highlight-color: transparent;
  }
  .tabs a:active { background: var(--line); }
  .tabs a[aria-current] { color: var(--c); }
  .tabs a[aria-current]::before { content: ""; position: absolute; top: -1px; left: 25%; right: 25%; height: 2px; background: var(--c); }
  .ico { display: block; }

  .hero {
    flex-direction: column; justify-content: center; text-align: center;
    min-height: calc(100svh - 3.5rem - var(--tab) - 2px - env(safe-area-inset-bottom));
    padding: 1.25rem var(--gut) 1.75rem;
  }
  .hero::before { inset: 0 auto auto 50%; width: 130%; height: 62%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(22, 114, 251, .24), rgba(247, 11, 83, .1) 55%, transparent); }
  .hero .bloom { position: relative; right: auto; top: auto; margin: 0 auto .75rem; height: clamp(5rem, calc(100svh - 33.5rem), 19rem); width: auto; flex-shrink: 0; }
  .hero h1 { font-size: min(calc((100vw - 2.25rem) / 9), 3.5rem); line-height: 1.08; }
  .hero-copy { max-width: 32rem; width: 100%; }
  .hero .lede { margin-inline: auto; max-width: 30em; text-wrap: wrap; }
  .entry { flex-direction: column; margin: 1.25rem auto 0; max-width: none; }
  .entry input { flex: none; text-align: center; }
  .entry .btn { width: 100%; }

  .names { padding-block: .875rem; }
  .marquee li { font-size: 1.125rem; padding-right: 2.25rem; }
  .offer { padding-block: 3rem; }
  .offer-head { flex-direction: column; align-items: flex-start; gap: .75rem; margin-bottom: 1.5rem; }
  .offer-head p { padding-bottom: 0; }
  .line { grid-template-columns: minmax(0, 1fr); gap: .625rem; padding-block: 1.5rem; }
  .line h3 { font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .line p { font-size: 1.125rem; }
  .line ul { columns: 2 9.5rem; }
  .websites { padding-block: 3rem; }
  .hero-services { display: none; }
  .head { padding-top: 2.5rem; padding-bottom: 1.5rem; }
  .part { padding-block: 2rem; }
  .part > p { margin-top: .75rem; }
  .faq { padding-block: 2rem 3.5rem; }
  .qa { margin-top: 1.5rem; gap: 1.75rem; }
  h3 { font-size: 1.25rem; }
  .ways { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin-top: 1.25rem; }
  .client-list { font-size: 1.0625rem; }
  .wall { padding-block: 2rem 3.5rem; }
  .wall-head { margin-bottom: 1.25rem; }
  .gallery { gap: 1.5rem .75rem; }
  .gallery figcaption { font-size: .9375rem; line-height: 1.35; }
  .gallery figcaption span { display: block; }
  .talk { padding-bottom: 3.5rem; gap: 2.5rem; }
  .talk h2 { font-size: 1.625rem; margin-bottom: 1rem; }
  .direct dd { font-size: 1.1875rem; margin-bottom: 1rem; }
  .close { padding: 8.25rem var(--gut) 3.5rem; }
  .close h2 { font-size: clamp(2.25rem, 10.5vw, 3.5rem); }
  .close p { font-size: 1.125rem; margin-top: .75rem; }
  .close p + p { margin-top: 1.5rem; }
  .close .bloom { height: 6.5rem; top: 1.25rem; left: var(--gut); right: auto; }
  .close .btn { display: block; text-align: center; }
  .plain, .close .plain { display: block; margin: .5rem 0 0; text-align: center; color: var(--text); }
  .send .btn { flex: 1 1 100%; }
  .foot { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-block: 2.25rem; }
  .foot-links { flex-wrap: wrap; gap: .25rem 2.5rem; }
  .foot-links a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0; }
}

/* Very short phones: tighten so the action stays on the first screen */
@media (max-width: 767px) and (max-height: 620px) {
  .hero { padding-block: .625rem 1rem; }
  .hero .bloom { margin-bottom: .25rem; }
  .hero .lede { font-size: 1rem; line-height: 1.45; margin-top: .5rem; }
  .entry { margin-top: .75rem; gap: .5rem; }
}

/* Phone on its side: no room to stack, so the bloom goes beside the copy */
@media (max-width: 767px) and (max-height: 480px) {
  :root { --tab: 3rem; }
  .tabs a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .hero { flex-direction: row; gap: 1.25rem; min-height: 0; text-align: left; padding-block: 1rem; }
  .hero h1 { font-size: 2rem; }
  .hero .bloom { height: 11rem; margin: 0; flex-shrink: 0; }
  .hero .lede { margin-inline: 0; }
  .entry { flex-direction: row; }
  .entry input { flex: 1; text-align: left; }
  .entry .btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  @view-transition { navigation: none; }
}
