/* ==========================================================================
   evgeniadigital.com — styles
   Tokens first: change a colour/size here and it changes everywhere.
   ========================================================================== */

:root {
  /* colour */
  --bg: #0A0A0B;
  --surface: #111114;
  --surface-2: #151518;
  --line: #2A2A2F;
  --text: #F4F4F1;
  --muted: #D6D6D0;
  --faint: #B9B9B3;
  --light: #EDEDEA;
  --white: #FFFFFF;
  --ink: #111111;
  --ink-2: #222222;
  --ink-3: #55555A;

  /* accent — "Night indigo-violet": muted, cosmic, not bright.
     --accent-rgb lets us build translucent glows with rgba(). */
  --accent: #2340B5;
  --accent-rgb: 34, 78, 210;
  --accent-2: #070C2B;
  --accent-soft: #7F94E0;--link-blue: #4F6DE4;
  --accent-btn: #1A2F8F;
  --accent-btn-rgb: 26, 47, 143;

  /* type */
  --font-head: 'Syne', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* layout */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 8vw, 104px);
  --radius-card: 20px;
  --radius-btn: 12px;
  --radius-field: 10px;
  --header-h: 72px;

  /* motion — the "Hey!" photo timing lives here, tweak freely */
  --hey-hold: .6s;       /* how long your photo stays full-screen */
  --hey-fade: 1s;        /* how long it takes to melt away */
  --reveal-dur: .8s;
  --reveal-shift: 40px;
}

@media (max-width: 720px) {
  :root { --reveal-shift: 28px; --header-h: 64px; }
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--accent-btn); color: var(--white); font-weight: 700;
  padding: 12px 18px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- type ---------- */
.kicker {
  font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--muted);
}
.h-display {
  font-family: var(--font-head); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.02;
}
.h-section { font-size: clamp(40px, 6vw, 80px); line-height: 1; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 60px; padding: 0 34px; border-radius: var(--radius-btn);
  background: var(--accent-btn); color: var(--white);
  font-weight: 700; font-size: 18px; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(var(--accent-btn-rgb), .45); filter: brightness(1.15); }
.btn:active { transform: translateY(0); }
.btn--block { width: 100%; }
.link-underline { text-decoration: underline; text-underline-offset: 4px; font-weight: 600; }
.link-underline:hover { text-decoration-thickness: 2px; }

/* ---------- decorative plates (the stacked-slab motif) ---------- */
.plate {
  position: absolute; pointer-events: none;
  background: #101012; transform: skewY(-10deg);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  transition: background-color .3s ease, backdrop-filter .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(10,10,11,.88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { font-family: var(--font-head); font-weight: 800; font-size: 22px; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: flex; align-items: center; min-height: 44px; padding: 0 16px;
  color: #E4E4DE; text-decoration: none; font-size: 16px; font-weight: 500;
  border-radius: 8px; transition: color .2s ease;
}
.nav__link:hover { color: var(--link-blue); text-decoration: none; }
.nav__cta {
  display: flex; align-items: center; justify-content: center; min-height: 44px;
  margin-left: 8px; padding: 0 22px; border-radius: 999px;
  background: var(--accent-btn); color: var(--white); text-decoration: none;
  font-size: 16px; font-weight: 700; transition: transform .2s ease;
}
.nav__cta:hover { transform: translateY(-1px); }
.menu-btn {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.menu-btn__bars { position: relative; width: 20px; height: 2px; background: var(--text); transition: background .2s ease; }
.menu-btn__bars::before, .menu-btn__bars::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--text);
  transition: transform .25s ease;
}
.menu-btn__bars::before { top: -6px; }
.menu-btn__bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 720px) {
  .site-header__tools { display: flex; align-items: center; gap: 8px; }
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px; background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__link { min-height: 52px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0; }
  .nav__cta { display: none; }
  .header-cta-mobile { display: inline-flex; }
}
@media (min-width: 721px) {
  .header-cta-mobile { display: none; }
  .site-header__tools { display: contents; }
}
.header-cta-mobile {
  align-items: center; justify-content: center; min-height: 44px; padding: 0 18px;
  border-radius: 999px; background: var(--accent-btn); color: var(--white);
  font-size: 15px; font-weight: 700; text-decoration: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h); }
.hero__inner {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 56px;
  padding-block: 32px clamp(64px, 9vw, 112px);
}
.hero__copy { position: relative; flex: 1 1 auto; max-width: 760px; min-width: 0; display: flex; flex-direction: column; }
.hero__title { margin-top: 20px; }
.hero__lead { margin-top: 28px; max-width: 560px; }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.hero__checks { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 16px; color: var(--muted); }
.hero__checks li { display: flex; align-items: center; gap: 10px; }
.hero__checks li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.btn--outline {
  background: transparent; color: var(--text); border: 1px solid #4A4A52;
}
.btn--outline:hover { box-shadow: none; background: rgba(var(--accent-rgb), .08); border-color: var(--accent-soft); filter: none; }

/* soft cosmic glow behind the hero headline */
.hero__glow {
  position: absolute; z-index: 0; pointer-events: none;
  top: 50%; right: -10vw; width: min(1000px, 75vw); height: 720px; transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), .34), rgba(var(--accent-rgb), 0) 72%);
  filter: blur(10px);
}
.hero__inner { z-index: 1; }
.hero__copy > :not(.hero__glow) { position: relative; z-index: 1; }

.ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  height: 100%; padding: 20px; font-size: 15px; line-height: 1.5; color: var(--faint);
}

/* entrance on load */
@media (prefers-reduced-motion: no-preference) {
  .js [data-hero] { opacity: 0; transform: translateY(24px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, 0s); }
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* ==========================================================================
   Hey! (about) — your photo full-screen, then it melts away
   ========================================================================== */
.hey { position: relative; overflow: hidden; background: var(--light); color: var(--ink); min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.hey__cover {
  position: absolute; inset: 0; z-index: 3; background: #080808; pointer-events: none;
  opacity: 1; visibility: visible;
  transition: opacity var(--hey-fade) ease var(--hey-hold), visibility 0s linear calc(var(--hey-hold) + var(--hey-fade));
}
.hey__cover picture { display: flex; justify-content: center; height: 100%; }
/* whole photo, not just the face: show it full height on black (photo background is black too) */
.hey__cover img { width: auto; height: 100%; max-width: 100%; object-fit: contain;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent); }
@media (max-width: 720px) { .hey__cover picture { align-items: center; } .hey__cover img { width: 100%; height: auto; -webkit-mask-image: none; mask-image: none; } }
.hey.is-played .hey__cover { opacity: 0; visibility: hidden; }
html:not(.js) .hey__cover { display: none; }
@media (prefers-reduced-motion: reduce) { .hey__cover { display: none; } }

.hey__inner { position: relative; z-index: 2; padding-block: clamp(56px, 8vw, 96px) clamp(64px, 8vw, 104px); }
.hey__title { text-align: center; }
.hey__grid { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(56px, 9vw, 140px); }
.bubble {
  flex: 0 1 460px; width: 100%; max-width: 460px; aspect-ratio: 1 / 1; min-width: 0;
  border-radius: 50%; background: var(--bg); color: #ECECE6;
  padding: clamp(32px, 8vw, 64px); display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: clamp(16px, 4.4vw, 22px); line-height: 1.55;
}
.hey__text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; }
.me { display: flex; align-items: center; gap: 16px; }
.me__photo { flex: none; width: 88px; height: 88px; border-radius: 50%; overflow: hidden; background: #DEDEDA; }
.me__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.me__name { font-size: 18px; font-weight: 700; }
.me__meta { margin-top: 2px; font-size: 15px; color: var(--ink-3); }
.hey__big { margin-top: 28px; font-size: clamp(24px, 3vw, 30px); line-height: 1.35; font-weight: 500; color: #1A1A1A; }
.hey__small { margin-top: 16px; font-size: 20px; line-height: 1.55; color: #2A2A2D; }
.hey__link { margin-top: 24px; align-self: flex-start; }

/* ==========================================================================
   Projects
   ========================================================================== */
.projects { overflow: hidden; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; }
.section-head p { max-width: 420px; font-size: 20px; line-height: 1.5; color: var(--muted); }
.cards { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 24px; }
.case {
  flex: 1 1 400px; min-width: 0; padding: 18px;
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
  transition: border-color .25s ease, transform .25s ease;
}
.case:hover { border-color: #55555C; transform: translateY(-4px); }
.case__shot { height: 300px; border-radius: 12px; background: #1B1B20; overflow: hidden; }
.case__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
/* dark "film" over the screenshots so two bright pages don't jump out of the dark site;
   it lifts when you point at the card */
.case__shot { position: relative; }
.case__shot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,11,.72) 0%, rgba(10,10,11,.84) 100%);
  box-shadow: inset 0 0 60px rgba(0,0,0,.55);
  transition: opacity .4s ease;
}
.case:hover .case__shot::after, .case:focus-within .case__shot::after { opacity: .35; }
.case__row { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.case__title { font-family: var(--font-head); font-weight: 800; font-size: 26px; line-height: 1.15; }
.case__meta { margin-top: 6px; font-size: 16px; line-height: 1.45; color: var(--muted); }
.case__line { margin-top: 14px; font-size: 16px; line-height: 1.5; color: var(--muted); }
/* short case story: Goal / What I built / Why it works */
.case__story { margin: 18px 0 0; display: grid; gap: 12px; }
.case__story > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 4px 16px; }
.case__story dt { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--link-blue); padding-top: 3px; }
.case__story dd { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
@media (max-width: 520px) { .case__story > div { grid-template-columns: minmax(0, 1fr); } }
.case__go {
  flex: none; width: 108px; height: 108px; border: 1px solid #8A8A92; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-family: var(--font-head); font-weight: 800; font-size: 40px;
  transition: background-color .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
}
.case__go:hover, .case__go:focus-visible { background: var(--accent-btn); color: var(--white); border-color: var(--accent-soft); transform: scale(1.07); }

/* ==========================================================================
   What you get (light band)
   ========================================================================== */
.gets { background: var(--white); color: var(--ink); }
.gets .kicker { color: var(--ink-3); }
.gets__grid { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 40px; }
.get { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; border-top: 3px solid var(--ink); padding-top: 24px; }
.get__num { font-size: 15px; font-weight: 700; color: var(--ink-3); }
.get__name { margin-top: 8px; font-size: clamp(28px, 3.2vw, 36px); line-height: 1.1; }
.get__sub { margin-top: 10px; font-size: 21px; font-weight: 500; color: var(--ink-3); }
.get__text { margin-top: 16px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }

/* ==========================================================================
   Services
   ========================================================================== */
.services__title { margin-top: 12px; }

/* stack of glass cards: each one sticks a little lower than the last,
   so as you scroll they pile up like a deck of cards */
.plans { margin-top: 48px; max-width: 640px; margin-inline: auto; }
.plan {
  position: sticky; min-width: 0; padding: 32px; margin-bottom: clamp(24px, 12vh, 120px);
  /* --stack goes 0 → 1 while the next card slides over this one (set in main.js):
     the card underneath gently shrinks and dims, so the pile feels deep and smooth */
  transform: scale(calc(1 - var(--stack, 0) * .06));
  transform-origin: 50% 0;
  filter: brightness(calc(1 - var(--stack, 0) * .35));
  will-change: transform, filter;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #0B0B0D, #08080A);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(var(--accent-rgb), .28);
  border-radius: var(--radius-card);
  box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 24px 60px -24px rgba(var(--accent-rgb), .35);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.plan:hover { border-color: rgba(var(--accent-rgb), .55); box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 28px 70px -20px rgba(var(--accent-rgb), .5); }
.plan:nth-child(1) { top: calc(var(--header-h) + 16px); z-index: 1; }
.plan:nth-child(2) { top: calc(var(--header-h) + 32px); z-index: 2; }
.plan:nth-child(3) { top: calc(var(--header-h) + 48px); z-index: 3; }
.plan:nth-child(4) { top: calc(var(--header-h) + 64px); z-index: 4; }
.plan:last-child { margin-bottom: 0; }
@media (max-width: 720px) { .plan { padding: 26px; } }
.plan--addon { border-style: dashed; border-color: rgba(var(--accent-rgb), .45); }
.tag {
  align-self: flex-start; padding: 5px 14px; border: 1px solid #5A5A62; border-radius: 999px;
  font-size: 14px; font-weight: 700; color: var(--muted);
}
.plan__name { margin-top: 16px; font-family: var(--font-head); font-weight: 800; font-size: 30px; line-height: 1.1; }
.plan__text { margin-top: 14px; font-size: 19px; line-height: 1.6; color: var(--muted); }
.plan__list { margin-top: 18px; padding-left: 22px; list-style: disc; font-size: 18px; line-height: 1.85; color: #E4E4DE; }
.plan__note { margin-top: 16px; font-size: 17px; line-height: 1.55; color: var(--muted); }
.plan__foot { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.plan__price { font-size: 23px; font-weight: 700; }
.plan__cta { color: var(--link-blue); font-size: 18px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

.steps-title { margin-top: 80px; }
.steps { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 32px; counter-reset: step; }
.step { flex: 1 1 280px; min-width: 0; display: flex; gap: 16px; align-items: flex-start; }
.step::before {
  counter-increment: step; content: counter(step);
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px;
}
.step h3 { font-size: 20px; font-weight: 700; }
.step p { margin-top: 4px; font-size: 17px; line-height: 1.55; color: var(--muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__box { border-top: 1px solid #1F1F24; padding-top: 56px; }
.faq__title { }
/* two independent columns of click-to-open answers (opening one never moves the other column) */
/* one grid: each row holds a left and a right question, so the lines under them always line up */
.faq__list { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
@media (max-width: 760px) { .faq__list { grid-template-columns: minmax(0, 1fr); } }
.faq__item { min-width: 0; border-bottom: 1px solid #26262C; }
.faq__q { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1.3; }
.faq__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; background: none; border: 0; color: var(--text); font: inherit; text-align: left; cursor: pointer;
  transition: color .25s ease;
}
.faq__btn:hover, .faq__btn[aria-expanded="true"] { color: var(--link-blue); }
.faq__btn:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 4px; border-radius: 6px; }
/* plus that turns into a minus */
.faq__icon { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid #3A3A42; border-radius: 50%; transition: border-color .25s, background .25s, transform .4s ease; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; border-radius: 2px; transition: transform .4s ease; }
.faq__icon::after { transform: rotate(90deg); }
.faq__btn:hover .faq__icon { border-color: var(--link-blue); }
.faq__btn[aria-expanded="true"] .faq__icon { background: rgba(var(--accent-rgb), .18); border-color: var(--accent); transform: rotate(180deg); }
.faq__btn[aria-expanded="true"] .faq__icon::after { transform: rotate(0deg); }
/* the answer slides open smoothly */
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2,.7,.2,1); }
.faq__panel > div { overflow: hidden; }
.faq__panel.is-open { grid-template-rows: 1fr; }
.faq__a { margin: 0; padding: 0 54px 24px 0; font-size: 17px; line-height: 1.6; color: var(--muted); opacity: 0; transform: translateY(-8px); transition: opacity .35s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
.faq__panel.is-open .faq__a { opacity: 1; transform: none; transition-delay: .08s; }
html:not(.js) .faq__panel { grid-template-rows: 1fr; }
html:not(.js) .faq__a { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .faq__panel, .faq__a, .faq__icon, .faq__icon::before, .faq__icon::after { transition: none; } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--white); color: var(--ink); }
.contact .h-display { color: var(--ink); }
.contact .contact__lead { color: var(--ink-3); }
.contact__inner { display: flex; flex-wrap: wrap; gap: 56px; }
.contact__copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; }
.contact__title { }
.contact__lead { margin-top: 24px; max-width: 440px; }
.contact__direct { margin-top: clamp(48px, 7vw, 88px); padding-top: 24px; border-top: 1px solid #E2E2E6; display: flex; flex-direction: column; gap: 6px; }
.contact__direct small { font-size: 15px; color: var(--ink-3); }
.contact__mail { align-self: flex-start; font-size: 21px; font-weight: 700; color: var(--accent-btn); text-decoration: underline; text-underline-offset: 4px; }
.contact__promise { margin-top: 6px; font-size: 16px; color: var(--muted); }
.form {
  flex: 1 1 400px; min-width: 0; padding: clamp(20px, 3vw, 32px);
  display: flex; flex-direction: column; gap: 18px;
  background: var(--bg); color: var(--text); border: 0; border-radius: 28px;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.45);
}
.form__row { display: flex; flex-wrap: wrap; gap: 18px; }
.field { flex: none; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.form__row > .field { flex: 1 1 180px; }
.field label { font-size: 14px; font-weight: 600; color: #E4E4DE; }
.field input, .field textarea {
  width: 100%; padding: 0 16px; height: 54px;
  background: var(--white); color: var(--ink); border: 1px solid var(--white); border-radius: var(--radius-field);
  font-size: 16px; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { height: 160px; padding: 14px 16px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8A8A92; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(141, 162, 238, .45); }
.form > .btn { align-self: flex-start; box-shadow: 0 0 0 1px rgba(141, 162, 238, .35); }
.form__note { font-size: 14px; color: var(--faint); }
.form__error { margin: 0; font-size: 15px; color: #FFB4B4; }
.btn:disabled { opacity: .7; cursor: default; transform: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid #1F1F24; }
.site-footer__top { position: relative; padding-block: 56px 36px; }
.site-footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.site-footer__name { font-family: var(--font-head); font-weight: 800; font-size: 26px; }
.site-footer__role { margin-top: 8px; font-size: 18px; color: var(--muted); }
.site-footer__area { margin-top: 4px; font-size: 15px; color: var(--faint); }
.site-footer__mail { display: inline-flex; align-items: center; min-height: 44px; font-size: 18px; font-weight: 700; color: var(--link-blue); text-decoration: underline; text-underline-offset: 4px; }
.to-top {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; color: var(--link-blue); text-decoration: none;
  transition: transform .25s ease, color .25s ease;
}
.to-top svg { width: 28px; height: 28px; }
.to-top:hover, .to-top:focus-visible { color: var(--link-blue); transform: translateY(-6px); }
.site-footer__bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid #1F1F24;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-size: 15px; line-height: 1.5; color: var(--faint);
}
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__bottom a { color: var(--faint); }

/* ==========================================================================
   Scroll reveal (only when JS is on and motion is allowed)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transition: opacity var(--reveal-dur) ease calc(var(--d, 0s) + var(--after, 0s)), transform var(--reveal-dur) cubic-bezier(.2,.7,.2,1) calc(var(--d, 0s) + var(--after, 0s));
  }
  .js [data-reveal="up"] { transform: translateY(var(--reveal-shift)); }
  .js [data-reveal="left"] { transform: translateX(calc(var(--reveal-shift) * -1)); }
  .js [data-reveal="right"] { transform: translateX(var(--reveal-shift)); }
  .js [data-reveal="zoom"] { transform: scale(.92); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  /* section headings: rise up out of an invisible line, bigger and more noticeable */
  .js .h-section[data-reveal] {
    transform: translateY(70%) skewY(4deg); filter: blur(6px);
    clip-path: inset(-20% -10% 100% -10%);
    transition: opacity 1s ease var(--d, 0s), transform 1.1s cubic-bezier(.16,.8,.2,1) var(--d, 0s),
                filter 1s ease var(--d, 0s), clip-path 1.1s cubic-bezier(.16,.8,.2,1) var(--d, 0s);
  }
  .js .h-section[data-reveal].is-in { transform: none; filter: none; clip-path: inset(-20% -10% -30% -10%); }

  /* Hey!: text appears after your photo melts away (otherwise it plays hidden under the photo) */
  .js .hey [data-reveal] { transition-delay: calc(var(--hey-hold) + var(--hey-fade) * .5 + var(--d, 0s)); }
}

/* ==========================================================================
   Concept-project pages (cases) — thin bar + stub
   ========================================================================== */
.concept-bar {
  position: sticky; top: 0; z-index: 60; background: #000; border-bottom: 1px solid var(--line);
}
.concept-bar__inner { min-height: 52px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; padding-block: 6px; }
.concept-bar p { font-size: 14px; color: var(--muted); }
.concept-bar a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-weight: 700; font-size: 15px; }
.stub { min-height: 70vh; display: flex; align-items: center; }
.stub h1 { font-size: clamp(36px, 5vw, 64px); }
.stub p { margin-top: 20px; max-width: 560px; }

/* ==========================================================================
   Legal pages (Terms & Conditions, Privacy Policy)
   ========================================================================== */
.legal { padding-block: calc(var(--header-h) + 48px) var(--section-y); }
.legal__updated { margin-top: 12px; font-size: 15px; color: var(--muted); }
.legal__intro { margin-top: 20px; max-width: 680px; }
.legal__body { margin-top: 48px; max-width: 760px; }
.legal__body h2 {
  margin-top: 48px; font-family: var(--font-head); font-weight: 800;
  font-size: clamp(24px, 3vw, 32px); line-height: 1.2; color: var(--light);
}
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 {
  margin-top: 32px; font-family: var(--font-head); font-weight: 700;
  font-size: 20px; line-height: 1.3; color: var(--light);
}
.legal__body h4 {
  margin-top: 24px; font-weight: 700; font-size: 18px; color: var(--light);
}
.legal__body p { margin-top: 16px; color: var(--muted); }
.legal__body ul, .legal__body ol { margin-top: 16px; padding-left: 22px; list-style: disc; color: var(--muted); }
.legal__body ol { list-style: decimal; }
.legal__body li { margin-top: 8px; }
.legal__body li p { margin-top: 8px; }
.legal__body li::marker { color: var(--accent-soft); }
.legal__body strong { color: var(--text); font-weight: 700; }
.legal__body a { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 3px; }
.legal__body a:hover, .legal__body a:focus-visible { color: var(--accent-soft); }
.thanks { position: relative; overflow: hidden; min-height: 100vh; display: flex; align-items: center; }

/* ==========================================================================
   Case pages — shared extras (concept-bar already defined above)
   ========================================================================== */
.case-hero { position: relative; overflow: hidden; margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + 56px); padding-bottom: 64px; }
.case-hero__inner { text-align: center; max-width: 760px; margin-inline: auto; }
.case-hero__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 700;
  color: var(--muted); letter-spacing: .04em; text-transform: uppercase;
}
.case-hero__title { margin-top: 22px; }
.case-hero__lead { margin-top: 22px; max-width: 580px; margin-inline: auto; }
.case-hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; }

/* Simple feature grid (reusable for service lists) */
.grid-cards { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 24px; }
.feature-card {
  flex: 1 1 260px; min-width: 0; padding: 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
  transition: border-color .25s ease, transform .25s ease;
}
.feature-card:hover { border-color: #55555C; transform: translateY(-4px); }
.feature-card__icon {
  width: 48px; height: 48px; border-radius: 12px; background: rgba(var(--accent-rgb), .18);
  display: flex; align-items: center; justify-content: center; color: var(--accent-soft);
}
.feature-card__icon svg { width: 24px; height: 24px; }
.feature-card__name { margin-top: 18px; font-family: var(--font-head); font-weight: 800; font-size: 21px; }
.feature-card__text { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* Testimonials */
.testimonials { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 24px; }
.testimonial {
  flex: 1 1 320px; min-width: 0; padding: 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
  display: flex; flex-direction: column;
}
.testimonial__stars { color: var(--accent-soft); font-size: 15px; letter-spacing: 2px; }
.testimonial__quote { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.testimonial__who { margin-top: 18px; font-size: 15px; font-weight: 700; color: var(--text); }

/* Gallery */
.gallery { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 20px; }
.gallery .ph-box { flex: 1 1 260px; min-width: 0; height: 220px; border-radius: 14px; background: #1B1B20; overflow: hidden; }

/* Service-area chips */
.chips { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--muted); }

/* Light band reused for "why choose" type sections on case pages */
.band-light { background: var(--white); color: var(--ink); }
.band-light .kicker { color: var(--ink-3); }

/* ---- Wedding-specific ---- */
.wd-hero { background: var(--light); color: var(--ink); min-height: 86vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h); }
.wd-hero__names { font-size: clamp(48px, 9vw, 108px); line-height: 1; }
.wd-hero__amp { color: var(--accent-soft); }
.wd-hero__date { margin-top: 22px; font-size: 20px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.wd-hero__place { margin-top: 10px; font-size: 18px; color: var(--ink-2); }
.wd-section--light { background: var(--light); color: var(--ink); }
.wd-section--light .kicker { color: var(--ink-3); }
.wd-story { max-width: 680px; margin-inline: auto; text-align: center; }
.wd-story p { margin-top: 18px; font-size: 19px; line-height: 1.7; color: var(--muted); }
.wd-section--light .wd-story p { color: var(--ink-2); }

.wd-details { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.wd-detail {
  flex: 1 1 300px; min-width: 0; max-width: 360px; padding: 32px; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
}
.wd-detail__time { margin-top: 14px; font-size: 22px; font-weight: 700; color: var(--accent-soft); }
.wd-detail__name { margin-top: 10px; font-family: var(--font-head); font-weight: 800; font-size: 22px; }
.wd-detail__addr { margin-top: 8px; font-size: 16px; color: var(--muted); }

.timeline { margin-top: 48px; display: flex; flex-direction: column; gap: 0; max-width: 560px; margin-inline: auto; }
.timeline__item { display: flex; gap: 24px; padding-block: 18px; border-top: 1px solid var(--line); }
.timeline__item:first-child { border-top: 0; }
.timeline__time { flex: none; width: 90px; font-weight: 700; color: var(--accent-soft); }
.timeline__name { font-weight: 700; }
.timeline__text { margin-top: 4px; font-size: 15px; color: var(--muted); }

.rsvp-form { max-width: 560px; margin-inline: auto; margin-top: 40px; }
.rsvp-form .field--radio { flex-direction: row; align-items: center; gap: 24px; }
.radio-opt { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; }
.radio-opt input { width: 18px; height: 18px; accent-color: var(--accent-soft); }

.travel-grid { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 24px; }
.travel-card { flex: 1 1 260px; min-width: 0; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); }
.travel-card__name { font-family: var(--font-head); font-weight: 800; font-size: 19px; }
.travel-card__text { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* Buttons and action links use the heading font (Syne) — chosen by Evgenia, option 2 */
.btn, .nav__cta, .header-cta-mobile, .plan__cta, .contact__mail, .site-footer__mail, .skip-link {
  font-family: var(--font-head); font-weight: 700; letter-spacing: .01em;
}


/* ==========================================================================
   Phone fine-tuning (≤ 720px)
   ========================================================================== */
@media (max-width: 720px) {
  :root { --header-h: 76px; }
  /* header: name on one line, more room above it, no "Contact me" pill (it lives in the menu),
     and the header scrolls away with the page instead of staying on screen */
  .site-header { position: relative; }
  .header-cta-mobile { display: none; }
  .logo { font-size: 21px; white-space: nowrap; }
  .site-header__inner { padding-top: 8px; }
  .nav__cta { display: flex; margin: 16px 0 0; min-height: 50px; }

  /* section headings a touch smaller so long words fit (all headings stay the same size) */
  .h-section { font-size: clamp(30px, 9.3vw, 40px); line-height: 1.04; }

  /* first screen: compact, with air between the parts */
  .hero__inner { padding-block: 20px 56px; }
  .hero .kicker { font-size: 12px; letter-spacing: .12em; line-height: 1.6; }
  .hero__title { margin-top: 14px; }
  .hero__lead { margin-top: 18px; font-size: 16px; line-height: 1.55; }
  .hero__actions { margin-top: 26px; gap: 10px; }
  .hero__checks { margin-top: 22px; gap: 8px 18px; font-size: 14px; }
  .hero__checks li { gap: 8px; }
  .hero__checks li::before { width: 6px; height: 6px; }

  /* buttons: lower and a little smaller everywhere */
  .btn { min-height: 50px; padding: 0 22px; font-size: 16px; }

  /* Hey!: photo starts at the top of the section (no black gap above it);
     you + text first, the circle below */
  .hey__cover picture { align-items: flex-start; }
  .hey__text { order: -1; }
  .hey__grid { margin-top: 32px; gap: 40px; }
  .bubble { margin-inline: auto; }

  /* projects: show the whole screenshot, smaller story text */
  .case__shot { height: auto; aspect-ratio: 1200 / 750; }
  .case__story { gap: 10px; }
  .case__story dd { font-size: 15px; }

  /* contact: the email fits the screen */
  .contact__mail { font-size: 17px; overflow-wrap: anywhere; }

  /* footer: "Based in South Florida" on its own line */
  .site-footer__dot { display: none; }
  .site-footer__base { display: block; }
}

.case__more { display: none; }

/* ==========================================================================
   Minimal first screen + compact projects on phones
   ========================================================================== */
@media (max-width: 720px) {
  .hero__inner { min-height: calc(100svh - var(--header-h)); padding-block: 8px 28px; align-items: stretch; }
  .hero__copy { flex: 1 1 100%; }
  .hero .kicker { display: none; }
  .hero__title { margin-top: auto; font-size: clamp(34px, 10.5vw, 46px); line-height: 1.05; }
  .hero__more { display: none; }
  .hero__lead { margin-top: 22px; font-size: 18px; max-width: 26ch; }
  .hero__actions { margin-top: 34px; flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero__actions .btn--outline { min-height: 0; padding: 0; border: 0; background: none; box-shadow: none; font-size: 15px; text-decoration: underline; text-underline-offset: 5px; color: var(--muted); }
  /* the three short points: a quiet column at the bottom of the screen, a dot before each */
  .hero__checks { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 40px; font-size: 14px; color: var(--muted); }
  .hero__checks li { display: flex; align-items: center; gap: 10px; }
  .hero__checks li::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
  .hero__glow { top: 38%; right: -45vw; width: 120vw; height: 520px; }

  /* projects: only the goal is shown; the rest opens with "Read the story" */
  .case__story > div + div { display: none; }
  .case.is-open .case__story > div + div { display: grid; animation: storyIn .35s ease both; }
  .case__more {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 0;
    background: none; border: 0; color: var(--link-blue); cursor: pointer;
    font-family: var(--font-head); font-weight: 700; font-size: 15px;
  }
  .case__more:focus-visible { outline: 2px solid var(--link-blue); outline-offset: 4px; border-radius: 4px; }
}
@keyframes storyIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   v22 — phone: bigger headings, calmer "Hey!" section, smaller menu button
   ========================================================================== */
@media (max-width: 720px) {
  .h-section { font-size: clamp(32px, 10.4vw, 44px); }

  /* "Contact me" in the menu: a normal-size pill, not the full width */
  .nav__cta { align-self: flex-start; min-height: 46px; padding: 0 26px; }

  /* Hey!: "Based in South Florida" on its own line */
  .me__dot { display: none; }
  .me__base { display: block; }

  /* Hey!: clear main text, smaller grey note, more air, shorter section */
  .hey { min-height: 0; }
  .hey__inner { padding-block: 48px 56px; }
  .hey__grid { margin-top: 24px; gap: 36px; }
  .hey__big { margin-top: 28px; font-size: 25px; line-height: 1.32; }
  .hey__small { margin-top: 18px; font-size: 16px; line-height: 1.6; color: #5A5A60; }
  .hey__link { margin-top: 30px; }
}

/* ==========================================================================
   v23 — phone: centred "Hey!" text, full-screen melting photo, email under the form
   ========================================================================== */
@media (max-width: 720px) {
  /* Hey!: everything centred, like the circle */
  .hey__text { align-items: center; text-align: center; }
  .me { flex-direction: column; gap: 12px; text-align: center; }
  .hey__link { align-self: center; }

  /* the melting photo: one full phone screen tall, it moves up together with its section */
  .hey__cover picture { position: absolute; top: 0; left: 0; right: 0; height: 100vh; height: 100svh; align-items: stretch; }
  .hey__cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

  /* Let's talk: "Prefer email?" goes under the form */
  .contact__inner { flex-direction: column; gap: 0; }
  .contact__copy { display: contents; }
  .contact .form { order: 1; margin-top: 36px; }
  .contact__direct { order: 2; margin-top: 44px; }
}

/* ==========================================================================
   v25 — "Hey!" circle: dark with soft purple rings
   ========================================================================== */
.bubble {
  background: radial-gradient(circle at 50% 40%, #0A1228, #03050F 78%); color: #ECECE6;
  box-shadow: none;
}

/* no lonely last word at the end of a paragraph (browsers that know this setting) */
p, dd, li, .lead, .bubble { text-wrap: pretty; }

/* Let's talk: the email in the site's main purple */
.contact__mail { color: var(--accent); }

/* footer: small "Back to top" next to the arrow */
.to-top { width: auto; gap: 10px; }
.to-top__label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }

/* project screenshots: always the whole picture, never cut off */
.case__shot { height: auto; aspect-ratio: 1200 / 750; }

/* What you get: three in a row on wide screens, one under another on narrow ones */
.gets__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 900px), (orientation: landscape) and (min-width: 721px) {
  .gets__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
}

/* ==========================================================================
   Phone menu: full screen, dark, big vertical words
   ========================================================================== */
@media (max-width: 720px) {
  .site-header.is-scrolled { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; }
  html.menu-open, html.menu-open body { overflow: hidden; }
  .nav {
    position: fixed; inset: 0; top: 0; z-index: -1; height: 100vh; height: 100svh;
    padding: calc(var(--header-h) + 36px) var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
    border: 0;
    background: #0A0A0B radial-gradient(60% 40% at 90% 85%, rgba(var(--accent-rgb), .35), transparent 70%);
  }
  .nav.is-open {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr) auto;
    animation: menuIn .35s ease both;
  }
  .nav.is-open .nav__link {
    writing-mode: vertical-rl; transform: rotate(180deg);
    display: flex; align-items: center; justify-content: center; align-self: stretch; width: 100%;
    min-height: 0; padding: 8px 0; border: 0; border-radius: 0;
    font-family: var(--font-head); font-weight: 800; font-size: clamp(34px, 11vw, 46px); letter-spacing: .02em; color: var(--text);
  }
  .nav.is-open .nav__link + .nav__link { border-right: 1px solid rgba(244, 244, 241, .3); }
  .nav.is-open .nav__link:hover { text-decoration: none; color: var(--accent-soft); }
  .nav.is-open .nav__cta { grid-column: 1 / -1; align-self: stretch; margin: 28px 0 0; min-height: 58px; padding: 0 24px; font-size: 18px; }
}
@keyframes menuIn { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   Tablets and phones turned sideways
   ========================================================================== */
/* the top bar scrolls away with the page instead of following you */
@media (max-width: 1100px), (orientation: landscape) and (max-height: 520px) {
  .site-header { position: relative; }
  .site-header.is-scrolled { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; }
  .plan:nth-child(n) { top: 16px; }
}

/* Hey!: smaller circle on the left, text on the right */
@media (min-width: 721px) and (max-width: 1100px), (orientation: landscape) and (min-width: 721px) and (max-height: 520px) {
  .hey__grid { flex-wrap: nowrap; gap: clamp(32px, 5vw, 56px); }
  .bubble { flex: 0 0 auto; width: min(300px, 70vh); max-width: none; padding: 34px; font-size: 16px; line-height: 1.5; }
  .hey__big { font-size: 22px; }
  .hey__small { font-size: 17px; }
}

/* Let's talk: text, then the form, then "Prefer email?" */
@media (max-width: 1100px), (orientation: landscape) and (max-height: 520px) {
  .contact__inner { flex-direction: column; gap: 0; }
  .contact__copy { display: contents; }
  .contact .form { order: 1; margin-top: 36px; }
  .contact__direct { order: 2; margin-top: 44px; }
  .contact__lead { max-width: 560px; }
}

/* phones turned sideways: low screen, so everything a size smaller */
@media (orientation: landscape) and (max-height: 520px) {
  :root { --section-y: 48px; --header-h: 64px; }
  .h-section { font-size: clamp(32px, 5vw, 44px); }
  .kicker { font-size: 12px; }
  .lead { font-size: 17px; }
  .btn { min-height: 48px; padding: 0 24px; font-size: 16px; }

  .hero__inner { padding-block: 12px 40px; }
  .hero__title { margin-top: 10px; font-size: clamp(34px, 6vw, 52px); }
  .hero__lead { margin-top: 16px; }
  .hero__actions { margin-top: 22px; }
  .hero__checks { margin-top: 20px; font-size: 14px; }

  .hey { min-height: 0; }
  .hey__inner { padding-block: 40px 48px; }
  .hey__grid { margin-top: 28px; }

  .cards { margin-top: 28px; }
  .case { flex-basis: 320px; }
  .case__title { font-size: 22px; }
  .case__go { width: 80px; height: 80px; font-size: 30px; }

  .gets__grid { margin-top: 28px; }
  .get__name { font-size: 24px; }
  .get__sub { font-size: 17px; }
  .get__text { font-size: 15px; }

  /* What I build: two cards side by side, no "deck" effect, so price and button are always visible */
  .plans { max-width: none; margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .plan, .plan:nth-child(n) { position: relative; top: auto; margin: 0; padding: 22px; transform: none; filter: none; }
  .plan__name { font-size: 22px; margin-top: 12px; }
  .plan__text { font-size: 15px; margin-top: 10px; }
  .plan__list { font-size: 15px; line-height: 1.65; margin-top: 12px; }
  .plan__note { font-size: 14px; }
  .plan__foot { padding-top: 18px; }
  .plan__price { font-size: 19px; }
  .plan__cta { font-size: 16px; }

  .faq__box { padding-top: 36px; }
  .faq__list { margin-top: 20px; }
  .faq__q { font-size: 17px; }
  .faq__btn { padding: 16px 0; }

  .field input { height: 46px; }
  .field textarea { height: 110px; }
  .site-footer__top { padding-block: 40px 28px; }
}

/* ==========================================================================
   Section headings: letters rise one by one, left to right, with a small tilt
   (the first screen keeps its own entrance)
   ========================================================================== */
.h-wave .hw { display: inline-block; white-space: nowrap; overflow: hidden; vertical-align: top;
  padding: .06em .04em .2em; margin: -.06em -.04em -.2em; }
.h-wave .hl { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .js .h-section.h-wave[data-reveal] { opacity: 1; transform: none; filter: none; clip-path: none; transition: none; }
  .js .h-wave .hl {
    opacity: 0; transform: translateY(105%) rotate(9deg); transform-origin: 0 100%; filter: blur(4px);
    transition: opacity .7s ease, transform .85s cubic-bezier(.16,.8,.2,1), filter .7s ease;
    transition-delay: calc(var(--d, 0s) + var(--i, 0s));
  }
  .js .h-wave.is-in .hl { opacity: 1; transform: none; filter: none; }
  .js .hey .h-wave .hl { transition-delay: calc(var(--hey-hold) + var(--hey-fade) * .5 + var(--i, 0s)); }
}

/* tablet held upright: the first screen fills more of the screen */
@media (min-width: 721px) and (max-width: 1100px) and (orientation: portrait) {
  .hero__inner { min-height: calc(80svh - var(--header-h)); }
}

/* Let's talk: the email in a bright, rich purple that reads well on white */
.contact__mail { color: #1A2F8F; }

/* phone turned sideways: the small text on the first screen a little smaller */
@media (orientation: landscape) and (max-height: 520px) {
  .hero .kicker { font-size: 11px; }
  .hero__lead { font-size: 15px; line-height: 1.5; max-width: 520px; }
  .hero__checks { font-size: 13px; gap: 6px 20px; }
}

/* ==========================================================================
   v27 — "Hey!" on phones held upright: everything fits on one screen (small circle)
   ========================================================================== */
@media (max-width: 720px) and (orientation: portrait) {
  .hey__inner { padding-block: 36px 40px; }
  .hey__grid { margin-top: 18px; gap: 26px; }
  .me { flex-direction: row; gap: 12px; text-align: left; justify-content: center; }
  .me__photo { width: 60px; height: 60px; }
  .me__name { font-size: 16px; }
  .me__meta { font-size: 13px; }
  .hey__big { margin-top: 18px; font-size: 20px; line-height: 1.35; }
  .hey__small { margin-top: 10px; font-size: 14.5px; }
  .hey__link { margin-top: 18px; min-height: 46px; }
  .bubble { flex: none; width: 230px; max-width: 230px; padding: 28px; font-size: 14px; line-height: 1.45; }
}

/* Projects: when a card is narrow, the label (Goal / What I built / Why it works) sits on top
   and the text uses the full width of the card */
.case { container-type: inline-size; }
@media (max-width: 1100px), (orientation: landscape) and (max-height: 520px) {
  @container (max-width: 520px) {
    .case__story > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .case__story dt { padding-top: 0; }
  }
}
/* small phones (short screens): a little tighter so the whole section still fits */
@media (max-width: 720px) and (orientation: portrait) and (max-height: 760px) {
  .hey__inner { padding-block: 26px 28px; }
  .hey__title { font-size: 34px; }
  .hey__grid { margin-top: 14px; gap: 20px; }
  .me__photo { width: 52px; height: 52px; }
  .hey__big { margin-top: 14px; font-size: 18px; line-height: 1.32; }
  .hey__small { margin-top: 8px; font-size: 13.5px; line-height: 1.5; }
  .hey__link { margin-top: 14px; min-height: 44px; }
  .bubble { width: 206px; max-width: 206px; padding: 24px; font-size: 13px; line-height: 1.42; }
}

/* ==========================================================================
   v28
   ========================================================================== */
/* first-screen headline: a hair more room between the lines (computer and tablets) */
@media (min-width: 721px) { .hero__title { line-height: 1.04; } }

/* "Hey!" on phones held upright: one full screen; text on top, the button in the middle,
   the circle at the bottom, with the same space above and below the button */
@media (max-width: 720px) and (orientation: portrait) {
  .hey { min-height: 100vh; min-height: 100svh; align-items: stretch; }
  .hey__inner { display: flex; flex-direction: column; width: 100%; }
  .hey__grid { flex: 1 1 auto; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0; }
  .hey__text { flex: 1 1 auto; }
  .hey__small { margin-bottom: 20px; }
  .hey__link { margin-top: auto; margin-bottom: auto; }
  .bubble { margin-top: 20px; }
}

/* ==========================================================================
   v29 — "Hey!" on phones held upright: button right under the text,
   a bigger circle on its own in the lower part, even space around it
   ========================================================================== */
@media (max-width: 720px) and (orientation: portrait) {
  .hey__inner { padding-block: 44px 44px; }
  .hey__grid { margin-top: 18px; justify-content: space-evenly; }
  .hey__text { flex: none; }
  .hey__small { margin-bottom: 0; }
  .hey__link { margin-top: 24px; margin-bottom: 0; }
  .bubble { margin-top: 0; width: clamp(215px, calc(100svh - 500px), 290px); max-width: none;
    padding: clamp(26px, 4svh, 38px); font-size: clamp(13px, 1.9svh, 15.5px); line-height: 1.48; }
}

/* v30 — phones held upright: the photo melts a touch faster (computer unchanged) */
@media (max-width: 720px) and (orientation: portrait) {
  :root { --hey-hold: .5s; --hey-fade: .9s; }
}

/* ==========================================================================
   v31 — "Hey!" on phones held upright: three clear text sizes, a bigger circle where there is room
   ========================================================================== */
@media (max-width: 720px) and (orientation: portrait) {
  .hey__inner { padding-block: 36px 36px; }
  .hey__big { font-size: 21px; line-height: 1.34; }
  .hey__small { font-size: 15.5px; line-height: 1.5; }
  .me__name { font-size: 16px; }
  .me__meta { font-size: 13px; }
  .bubble { width: clamp(220px, calc(100svh - 495px), 300px); padding: clamp(28px, 4.5svh, 42px); font-size: 15.5px; line-height: 1.5; }
}
/* narrow phones: main text 20px so it sits in three even lines */
@media (max-width: 370px) and (orientation: portrait) {
  .hey__big { font-size: 20px; }
}
/* shorter phones: a little smaller so the whole section still fits on one screen */
@media (max-width: 720px) and (orientation: portrait) and (max-height: 760px) {
  .hey__big { font-size: 19px; }
  .hey__small { font-size: 14.5px; }
  .hey__grid { margin-top: 14px; }
  .bubble { width: clamp(210px, calc(100svh - 500px), 300px); padding: 26px; font-size: 14.5px; }
}
@media (max-width: 370px) and (orientation: portrait) {
  .hey__big { font-size: 18.5px; text-wrap: balance; }
}
/* very small old phones (iPhone 5 size): a smaller circle so nothing touches */
@media (max-width: 720px) and (orientation: portrait) and (max-height: 660px) {
  .hey__inner { padding-block: 28px 28px; }
  .bubble { width: 180px; padding: 22px; font-size: 13px; }
}

/* ==========================================================================
   v33 — safe with a bigger phone font (Instagram's browser, accessibility settings)
   ========================================================================== */
/* Projects: the 01 / 02 circles grow with their number instead of letting it spill out */
.case__go { width: auto; height: auto; min-width: 108px; min-height: 108px; aspect-ratio: 1 / 1; padding: 0 .12em; }
@media (orientation: landscape) and (max-height: 520px) {
  .case__go { width: auto; height: auto; min-width: 80px; min-height: 80px; }
}
/* the two email links never run past the edge of the screen */
.contact__mail, .site-footer__mail { max-width: 100%; white-space: nowrap; }
.contact__mail { display: inline-block; overflow-wrap: normal; }
/* "Hey!" on phones: if the text above gets taller, the circle keeps clear of the button */
.hey--tight .bubble { margin-top: 30px; }
.hey--tight .hey__grid { justify-content: flex-start; }
/* project cards: the title area can shrink, so a long word never pushes the 01 / 02 circle off the card */
.case__row > div:first-child { flex: 1 1 auto; min-width: 0; }
.case__title { overflow-wrap: normal; }

/* hero: soft grid instead of the circle */
.hero__glow{background:radial-gradient(closest-side, rgba(var(--accent-rgb),.16), rgba(var(--accent-rgb),0) 100%);filter:none}
.hero__glow::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(var(--accent-rgb),.16) 1px,transparent 1px),linear-gradient(90deg, rgba(var(--accent-rgb),.16) 1px,transparent 1px);background-size:56px 56px;-webkit-mask-image:radial-gradient(closest-side,#000 15%,transparent 90%);mask-image:radial-gradient(closest-side,#000 15%,transparent 90%)}
@media (min-width:721px){.hero__glow{width:min(1200px,90vw);height:820px;right:-14vw}}
