/* ==========================================================================
   svacant.com — design system
   Derived from "svacant Redesign.dc.html" (Claude Design).
   Typography: EB Garamond (display) + Public Sans (UI/body).
   ========================================================================== */

:root {
  --bg: #FBFAF6;
  --white: #FFFFFF;
  --cream: #F4F1E9;
  --ink: #1E1D1A;
  --body: #4A4842;
  --muted: #6B685F;
  --muted-2: #8A8578;
  --faint: #A39E90;
  --line: #E6E2D8;
  --line-strong: #CFC9BC;
  --accent: #B8683A;
  --green: #5E7A5A;

  --serif: 'EB Garamond', 'Iowan Old Style', Georgia, serif;
  --sans: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --shell: 1240px;
  --gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }

img { max-width: 100%; display: block; }

input, textarea, select, button { font-family: var(--sans); }
input, textarea, select { outline: none; }

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.page { min-height: 100vh; display: flex; flex-direction: column; }
.page > footer { margin-top: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; font-size: 14px;
}
.skip-link:focus { left: 12px; top: 12px; color: var(--bg); }

/* --- shared type ------------------------------------------------------- */

.eyebrow {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.eyebrow--green { color: var(--green); }

.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.01em;
  text-wrap: pretty;
}

.lede { font-size: 19px; line-height: 1.55; color: var(--body); text-wrap: pretty; }

.serif { font-family: var(--serif); }

/* --- buttons ----------------------------------------------------------- */

.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  padding: 15px 26px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--accent); color: var(--bg); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--sm { font-size: 14px; padding: 10px 16px; }
.btn[disabled] { opacity: .65; cursor: wait; }

.link-accent { font-size: 14px; font-weight: 500; color: var(--accent); }
.link-underline { border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }

/* --- header ------------------------------------------------------------ */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 250, 246, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 12px 20px;
  min-height: 68px; padding-top: 12px; padding-bottom: 12px;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  white-space: nowrap; margin-right: auto;
}
.site-nav {
  display: flex; gap: 2px; align-items: center; flex-wrap: wrap;
  order: 3; flex-basis: 100%; justify-content: flex-end; margin: 0 -11px;
  font-size: 14px;
}
.site-nav a {
  padding: 6px 11px; color: var(--muted);
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.site-nav a.is-primary { color: var(--ink); }
.site-nav a.is-active { color: var(--ink); border-bottom-color: var(--accent); }

.lang { display: flex; align-items: center; gap: 2px; }
.lang a {
  padding: 6px; font-size: 12px; letter-spacing: .08em;
  color: var(--faint); font-weight: 400;
}
.lang a:hover { color: var(--accent); }
.lang a.is-active { color: var(--ink); font-weight: 600; }

.nav-cta {
  font-size: 14px; font-weight: 500; padding: 10px 18px;
  border: 1px solid var(--ink); border-radius: 2px; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease;
}
.nav-cta:hover { background: var(--ink); color: var(--bg); }

.nav-toggle { display: none; }

/* --- home: hero -------------------------------------------------------- */

.hero { padding-top: 96px; padding-bottom: 80px; display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; }
.hero__eyebrow { margin-bottom: 22px; }
.hero h1 { font-size: 62px; }
.hero__intro { margin-top: 28px; max-width: 600px; }
.hero__actions { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.hero__note { margin-top: 16px; font-size: 13px; color: var(--muted-2); }

.ask {
  border: 1px solid var(--line); background: var(--white);
  padding: 28px 28px 22px; margin-top: 8px;
}
.ask__eyebrow { margin-bottom: 6px; }
.ask__title { margin-bottom: 18px; font-family: var(--serif); font-size: 24px; line-height: 1.2; }
.ask__list { display: flex; flex-direction: column; }
.ask__item {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 0; border-top: 1px solid var(--line);
  font-size: 15px; line-height: 1.4;
}
.ask__item span:last-child { color: var(--accent); }
.ask__other {
  display: block; margin-top: 14px; padding: 12px; text-align: center;
  background: var(--cream); font-size: 14px; font-weight: 500;
  transition: background-color .18s ease, color .18s ease;
}
.ask__other:hover { background: var(--ink); color: var(--bg); }

/* --- home: stats ------------------------------------------------------- */

.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__grid { padding-top: 26px; padding-bottom: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { display: flex; gap: 12px; align-items: baseline; }
.stat__n { font-family: var(--serif); font-size: 34px; line-height: 1; }
.stat__l { font-size: 13px; color: var(--muted); line-height: 1.3; }

/* --- section header (4fr / 8fr) ---------------------------------------- */

.split { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; }
.split--end { align-items: end; }
.split h2 { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.15; text-wrap: pretty; }

.section { padding-top: 96px; padding-bottom: 40px; }
.section--tight { padding-top: 72px; padding-bottom: 72px; }
.section--cream { background: var(--cream); }
.section__head { margin-bottom: 56px; }

/* --- service cards ----------------------------------------------------- */

.cards {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.card {
  background: var(--bg); padding: 32px 26px;
  display: flex; flex-direction: column; gap: 14px; min-height: 330px;
  transition: background-color .18s ease;
}
.card:hover { background: var(--cream); }
.card__meta { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; }
.card p { font-size: 14px; line-height: 1.6; color: var(--body); flex: 1; }
.card__model { font-size: 13px; color: var(--muted-2); }
.card__more { font-size: 14px; font-weight: 500; color: var(--accent); }

/* --- method ------------------------------------------------------------ */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { border-top: 2px solid var(--ink); padding-top: 20px; }
.step__n { font-family: var(--serif); font-size: 14px; color: var(--muted-2); }
.step h3 { margin: 10px 0 8px; font-size: 18px; font-weight: 600; }
.step p { font-size: 15px; line-height: 1.6; color: var(--body); }

/* --- credentials ------------------------------------------------------- */

.cred { padding-top: 80px; padding-bottom: 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.cred h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.2; text-wrap: pretty; }
.cred__p { margin-top: 18px; font-size: 15px; line-height: 1.65; color: var(--body); text-wrap: pretty; }
.cred__link { display: inline-block; margin-top: 22px; }
.cred__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-content: start; }
.cred__fact--wide { grid-column: 1 / -1; }
.cred__fact-l { margin-bottom: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.cred__fact-v { font-size: 15px; line-height: 1.7; color: var(--body); }
.cred__links { grid-column: 1 / -1; display: flex; gap: 28px; font-size: 14px; padding-top: 4px; flex-wrap: wrap; }

/* --- service landing --------------------------------------------------- */

.svc-hero { padding-top: 88px; padding-bottom: 64px; display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; }
.svc-hero h1 { font-size: 56px; line-height: 1.06; }
.svc-hero__intro { margin-top: 26px; }
.svc-hero__actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.svc-aside { border: 1px solid var(--line); background: var(--white); padding: 26px 28px; }
.svc-aside__model { font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.svc-aside__note { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--body); }
.svc-aside__foot { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px; font-size: 13px; color: var(--muted); line-height: 1.6; }

/* IP line: engagement is conditional on counsel already being instructed. */
.svc-req { margin-top: 20px; border-left: 2px solid var(--accent); background: var(--cream); padding: 14px 16px; }
.svc-req__l { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.svc-req__t { font-size: 14px; line-height: 1.6; color: var(--ink); }
.card__req { font-size: 13px; color: var(--accent); }

.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.case { background: var(--bg); padding: 26px 24px; }
.case h3 { margin-bottom: 8px; font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.2; }
.case p { font-size: 14px; line-height: 1.6; color: var(--body); }

.deliverables { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; }
.deliverables li { display: flex; gap: 12px; font-size: 15px; line-height: 1.55; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.deliverables li::before { content: '—'; color: var(--green); }

.faq { display: flex; flex-direction: column; }
.faq__item { border-top: 1px solid var(--line); padding: 22px 0; }
.faq__item h3 { margin-bottom: 8px; font-size: 17px; font-weight: 600; line-height: 1.35; }
.faq__item p { font-size: 15px; line-height: 1.65; color: var(--body); text-wrap: pretty; }
.faq__foot { border-top: 1px solid var(--line); padding-top: 28px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.faq__foot span { font-size: 14px; color: var(--muted); }

/* --- gigs / listino ---------------------------------------------------- */

.gig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gig {
  background: var(--white); border: 1px solid var(--line); padding: 30px 28px;
  display: flex; flex-direction: column; gap: 14px; position: relative;
}
.gig__flag {
  position: absolute; top: -1px; right: 24px;
  background: var(--green); color: var(--bg);
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px;
}
.gig__cat { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.gig h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.2; }
.gig__desc { font-size: 14px; line-height: 1.6; color: var(--body); flex: 1; }
.gig__items { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--body); }
.gig__items li { display: flex; gap: 8px; }
.gig__items li::before { content: '—'; color: var(--green); }
.gig__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--line); padding-top: 16px; margin-top: 6px;
}
.gig__price { font-family: var(--serif); font-size: 26px; }
.gigs__note { margin-top: 28px; font-size: 12px; color: var(--muted-2); }

/* --- mini-gigs: entry-priced, single-task ------------------------------ */

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.mini { background: var(--bg); padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; }
.mini__cat { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.mini h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.25; }
.mini__desc { font-size: 14px; line-height: 1.6; color: var(--body); flex: 1; }
.mini__req { font-size: 12px; line-height: 1.5; color: var(--accent); }
.mini__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.mini__price { font-family: var(--serif); font-size: 22px; }
/* delivery tiers — turnaround is what the price buys */
.tiers { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.tiers__l { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.tiers__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tier {
  display: flex; flex-direction: column; gap: 2px; align-items: flex-start;
  padding: 8px 10px; background: transparent; border: 1px solid var(--line);
  border-radius: 2px; cursor: pointer; text-align: left; color: var(--muted);
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.tier:hover { border-color: var(--line-strong); color: var(--ink); }
.tier.is-active { border-color: var(--ink); background: var(--bg); color: var(--ink); }
.tier__n { font-size: 12px; font-weight: 600; }
.tier__d { font-size: 11px; color: var(--muted-2); white-space: nowrap; }
.tier.is-active .tier__d { color: var(--accent); }

/* mini-gig category filter */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  font-size: 13px; padding: 8px 14px; border: 1px solid var(--line-strong);
  background: transparent; border-radius: 999px; cursor: pointer; color: var(--muted);
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip__n { opacity: .55; font-size: 11px; }

.mini[hidden] { display: none; }
.mini__eta { font-size: 12px; color: var(--muted-2); }
.mini__x {
  align-self: flex-start; font-size: 12px; padding: 5px 10px;
  border: 1px dashed var(--line-strong); background: transparent;
  border-radius: 999px; cursor: pointer; color: var(--muted);
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.mini__x:hover { border-color: var(--accent); color: var(--accent); }
.mini__x.is-active { border-style: solid; border-color: var(--accent); background: var(--accent); color: var(--bg); }

.mini__disclaimer {
  margin-top: 24px; max-width: 860px;
  border-left: 2px solid var(--accent); padding: 4px 0 4px 16px;
  font-size: 13px; line-height: 1.65; color: var(--muted);
}

/* --- about ------------------------------------------------------------- */

.about { padding-top: 88px; padding-bottom: 96px; display: grid; grid-template-columns: 7fr 5fr; gap: 72px; }
.about h1 { font-size: 52px; line-height: 1.08; }
.about__p { margin-top: 26px; font-size: 17px; line-height: 1.65; color: var(--body); text-wrap: pretty; }
.about__blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 44px; }
.about__l { margin-bottom: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.about__v { font-size: 15px; line-height: 1.7; color: var(--body); }
.about__side { display: flex; flex-direction: column; gap: 20px; }
.about__photo { aspect-ratio: 4 / 5; border: 1px solid var(--line); object-fit: cover; width: 100%; }

/* --- contact ----------------------------------------------------------- */

.contact { padding-top: 88px; padding-bottom: 96px; display: grid; grid-template-columns: 5fr 7fr; gap: 72px; }
.contact h1 { font-size: 48px; line-height: 1.1; }
.contact__p { margin-top: 22px; font-size: 16px; line-height: 1.65; color: var(--body); }
.contact__links { margin-top: 40px; font-size: 15px; line-height: 1.8; color: var(--body); display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }

.form { background: var(--white); border: 1px solid var(--line); padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; }
.form label.is-wide { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  border: 1px solid var(--line-strong); padding: 12px; font-size: 15px;
  background: var(--bg); color: var(--ink); border-radius: 0;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form__privacy { font-size: 12px; color: var(--muted-2); }
.form__status { grid-column: 1 / -1; font-size: 14px; line-height: 1.5; }
.form__status.is-ok { color: var(--green); }
.form__status.is-err { color: #A8442A; }

/* --- insights (Medium) & events (Eventbrite) --------------------------- */

.feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feed__item { background: var(--bg); padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; min-height: 210px; }
.feed__item:hover { background: var(--cream); }
.feed__meta { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.feed__item h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.25; }
.feed__item p { font-size: 14px; line-height: 1.6; color: var(--body); flex: 1; }
.feed__more { font-size: 14px; font-weight: 500; color: var(--accent); }
.feed__empty { background: var(--bg); padding: 26px 24px; font-size: 14px; color: var(--muted-2); grid-column: 1 / -1; }

/* --- footer ------------------------------------------------------------ */

.site-footer { border-top: 1px solid var(--line); }
.site-footer__grid { padding-top: 48px; padding-bottom: 48px; display: grid; grid-template-columns: 5fr 2fr 2fr 3fr; gap: 40px; font-size: 14px; }
.site-footer__brand { font-family: var(--serif); font-size: 20px; }
.site-footer__about { margin-top: 10px; color: var(--muted); line-height: 1.6; max-width: 360px; }
.site-footer__col { display: flex; flex-direction: column; gap: 8px; }
.site-footer__meta { color: var(--muted); line-height: 1.6; }
.site-footer__seo { padding-bottom: 28px; font-size: 12px; color: var(--faint); }

/* --- responsive -------------------------------------------------------- */

@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gig-grid, .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .feed { grid-template-columns: repeat(2, 1fr); }
  .hero { gap: 48px; }
  .hero h1 { font-size: 52px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --gutter: 24px; }

  .site-header__inner { min-height: 60px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; order: 2;
    background: none; border: 1px solid var(--line-strong); border-radius: 2px;
    cursor: pointer; padding: 0; color: var(--ink);
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ''; display: block; width: 16px; height: 1.5px; background: currentColor; position: relative;
  }
  .nav-toggle span::before { position: absolute; top: -5px; }
  .nav-toggle span::after { position: absolute; top: 5px; }

  /* The desktop header packs brand + nav + langs + CTA onto one row. Below
     900px that row is wider than the viewport and pushes the whole document
     sideways, so the CTA and the nav each get a row of their own. */
  .site-header__inner { gap: 10px 12px; }
  .brand { font-size: 20px; }
  .lang { order: 1; }
  .nav-toggle { order: 2; }
  .nav-cta { order: 3; flex-basis: 100%; text-align: center; }

  .site-nav {
    display: none; flex-direction: column; align-items: stretch;
    justify-content: flex-start; margin: 0; gap: 0; order: 4;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav a.is-active { border-bottom-color: var(--accent); }

  .hero, .svc-hero, .about, .contact, .cred, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 56px; padding-bottom: 48px; }
  .hero h1 { font-size: 40px; }
  .lede { font-size: 17px; }
  .svc-hero { padding-top: 56px; padding-bottom: 40px; }
  .svc-hero h1 { font-size: 38px; }
  .about, .contact { padding-top: 56px; padding-bottom: 64px; }
  .about h1, .contact h1 { font-size: 36px; }
  .section { padding-top: 56px; padding-bottom: 32px; }
  .section--tight { padding-top: 48px; padding-bottom: 48px; }
  .section__head { margin-bottom: 32px; }
  .split h2 { font-size: 30px; }
  .cred { padding-top: 48px; padding-bottom: 48px; }
  .cred h2 { font-size: 26px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .case-grid, .deliverables { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; padding: 24px; }
  .about__blocks { grid-template-columns: 1fr; gap: 24px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 700px) {
  .tiers__row { grid-template-columns: 1fr; }
  .tier { flex-direction: row; align-items: baseline; gap: 8px; }
}

@media (max-width: 620px) {
  .cards, .gig-grid, .mini-grid, .feed { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .hero h1 { font-size: 34px; }
  .stats__grid { grid-template-columns: 1fr; gap: 14px; }
  .cred__facts { grid-template-columns: 1fr; }
  .btn { width: 100%; text-align: center; }
  .gig__foot .btn, .mini__foot .btn, .faq__foot .btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* --- vacation mode ----------------------------------------------------- */

.closed-bar {
  background: var(--accent); color: #FBFAF6;
  padding: 12px var(--gutter); text-align: center;
  font-size: 14px; line-height: 1.5;
}
.closed-bar strong { font-weight: 600; }

.is-closed .btn[disabled] { cursor: not-allowed; opacity: .45; }
.is-closed .tier, .is-closed .mini__x { opacity: .45; pointer-events: none; }
.is-closed .form input[disabled],
.is-closed .form select[disabled],
.is-closed .form textarea[disabled] {
  background: var(--cream); color: var(--muted-2); cursor: not-allowed;
}

/* --- client upload area ------------------------------------------------- */

/* .form and the panel halves are grids, and a grid beats the UA's
   [hidden]{display:none}: without this the hidden half stays on screen. */
[hidden] { display: none !important; }

.upload__why {
  margin-top: 28px; display: flex; flex-direction: column; gap: 10px;
  font-size: 15px; line-height: 1.6; color: var(--body);
}
.upload__why li { position: relative; padding-left: 18px; }
.upload__why li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 8px; height: 1px; background: var(--line-strong);
}

.upload__who { font-size: 14px; color: var(--muted); }
.upload__who strong { color: var(--ink); font-weight: 600; }

.upload__drop {
  border: 1px dashed var(--line-strong); background: var(--bg);
  padding: 40px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transition: border-color .15s, background-color .15s;
}
.upload__drop.is-over { border-color: var(--accent); background: var(--cream); }
.upload__drop label { cursor: pointer; margin-bottom: 2px; }
.upload__title { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.upload__hint { font-size: 12px; line-height: 1.5; color: var(--muted-2); max-width: 400px; }
/* The input is the label's own control: keep it reachable by keyboard, just
   never visible. display:none would take it out of the tab order. */
.upload__file { position: absolute; width: 1px; height: 1px; opacity: 0; }

.upload__list { display: flex; flex-direction: column; gap: 8px; }
.upload__list:empty { display: none; }
.upload__item { border: 1px solid var(--line); background: var(--white); padding: 12px 14px; }
.upload__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.upload__name { font-size: 14px; font-weight: 500; word-break: break-word; }
.upload__size { font-size: 12px; color: var(--muted-2); white-space: nowrap; }
.upload__bar { margin-top: 10px; height: 2px; background: var(--line); }
.upload__fill { height: 2px; width: 0; background: var(--ink); transition: width .2s linear; }
.upload__item.is-done .upload__fill { background: var(--green); }
.upload__item.is-bad .upload__fill { background: #A8442A; }
.upload__msg { margin-top: 6px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.upload__item.is-bad .upload__msg { color: #A8442A; }

@media (max-width: 620px) {
  .upload__drop { padding: 28px 16px; }
  .upload__title { font-size: 19px; }
}

/* --- portfolio ----------------------------------------------------------- */

.work { display: flex; flex-direction: column; gap: 10px; }
.work h3 { margin-bottom: 0; }
.work__meta { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.work__result { border-left: 2px solid var(--accent); padding-left: 12px; color: var(--ink) !important; }
.work__result span { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.work__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 4px; }
.work__head h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.2; text-wrap: pretty; }
.work__svc { display: inline-block; margin-top: 22px; }
.case-grid > .work:last-child:nth-child(odd) { grid-column: 1 / -1; }
.split > div > h2 { font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1.15; text-wrap: pretty; }
@media (max-width: 900px) { .work__head h2 { font-size: 26px; } }

/* Section labels on service pages are real <h2>s (for outline and snippets)
   dressed as eyebrows. */
h2.eyebrow,
.split h2.eyebrow,
.split > div > h2.eyebrow { font-family: var(--sans); font-size: 12px; font-weight: 400; line-height: 1.5; letter-spacing: .14em; }
