:root {
  --ink: #000000;
  --paper: #FFFFFF;
  --grey-05: #F5F5F5;
  --grey-30: #B3B3B3;
  --muted: #4D4D4D;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Work Sans', system-ui, sans-serif;
  --gutter: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); font-family: var(--sans); color: var(--ink); }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 480; margin: 0; }
p { margin: 0; }
input, select, textarea, button { font-family: var(--sans); }
input::placeholder, textarea::placeholder { color: var(--grey-30); }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.band-dark :focus-visible { outline-color: var(--paper); }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 780px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Buttons */
.btn { display: inline-block; text-align: center; font-size: 14px; padding: 12px 24px; border: none; cursor: pointer; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-lg { font-size: 15px; padding: 14px 28px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--gutter);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--ink);
}
.logo { font-family: var(--serif); font-size: 22px; font-weight: 560; letter-spacing: -0.3px; }
.nav-links { display: flex; gap: 36px; font-size: 15px; }
.nav-cta { padding: 10px 22px; }

/* Hero */
.hero { padding-top: 110px; padding-bottom: 90px; display: flex; flex-direction: column; gap: 64px; }
.hero-row { display: flex; gap: 64px; align-items: flex-end; flex-wrap: wrap; }
.hero h1 { font-size: 62px; line-height: 1.06; max-width: 640px; letter-spacing: -0.8px; }
.hero-row p { max-width: 320px; font-size: 17px; line-height: 1.6; color: var(--muted); margin-bottom: 6px; }
.hero .btn { align-self: flex-start; }

/* Dark bands */
.band-dark { background: var(--ink); color: var(--paper); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.band-dark h2, .band-dark h3 { color: var(--paper); }

/* Why a website */
.why { padding-top: 100px; padding-bottom: 100px; }
.why-a { font-size: 30px; line-height: 1.35; margin-bottom: 4px; }
.why-b { font-size: 46px; line-height: 1.2; margin-bottom: 56px; letter-spacing: -0.5px; }
.why-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.25); padding-top: 40px;
}
.why-grid p { font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, 0.78); }
.stat { font-family: var(--serif); font-size: 40px; line-height: 1; margin-bottom: 16px; }
.stat-xl { font-size: 64px; }
.stat-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.stat-row .stat { margin-bottom: 0; }
.stat.dim { color: rgba(255, 255, 255, 0.3); }
.unit { font-size: 22px; color: rgba(255, 255, 255, 0.4); }

/* Intro */
.intro { border-top: 1px solid var(--ink); }
.intro .narrow { padding-top: 90px; padding-bottom: 90px; }
.intro h2 { font-size: 32px; line-height: 1.3; margin-bottom: 24px; }
.intro-body { display: flex; flex-direction: column; gap: 18px; }
.intro-body p { font-size: 17px; line-height: 1.65; color: var(--muted); }
.intro-body .kicker { font-family: var(--serif); font-size: 20px; line-height: 1.5; font-weight: 500; color: var(--ink); margin-top: 6px; }

/* Work */
.work { padding-top: 60px; padding-bottom: 110px; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px;
  margin-bottom: 44px; padding-bottom: 20px; border-bottom: 1px solid var(--ink);
}
.section-head h2 { font-size: 34px; }
.section-head p { color: var(--muted); font-size: 15px; max-width: 380px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--ink); }
.card { background: var(--paper); }
.shot {
  height: 170px; background: var(--grey-05); border-bottom: 1px solid var(--ink);
  display: flex; align-items: center; justify-content: center; color: var(--grey-30); font-size: 13px;
}
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card .meta { font-size: 13px; color: var(--muted); }
.card h3 { font-size: 19px; }
.card p { font-size: 14px; color: var(--muted); }

/* Services */
.services { padding-top: 96px; padding-bottom: 96px; }
.services h2 { font-size: 34px; margin-bottom: 14px; }
.services-lead { font-size: 15px; color: var(--grey-30); margin-bottom: 48px; padding-bottom: 20px; border-bottom: 1px solid var(--paper); max-width: 520px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, 0.3); }
.plan { background: var(--ink); padding: 4px 32px 0 0; }
.plan + .plan { padding: 4px 0 0 32px; }
.plan h3 { font-size: 21px; margin-bottom: 6px; }
.price { font-family: var(--serif); font-size: 32px; margin-bottom: 16px; }
.plan > p { font-size: 15px; line-height: 1.6; color: var(--grey-30); margin-bottom: 20px; }
.plan ul {
  list-style: none; padding: 14px 0 0; margin: 0; border-top: 1px solid rgba(255, 255, 255, 0.3);
  display: flex; flex-direction: column; gap: 10px;
}
.plan li { font-size: 14px; }
.plan .btn { margin-top: 24px; }

/* Process */
.process { padding-top: 100px; padding-bottom: 100px; }
.rule-title { font-size: 34px; border-bottom: 1px solid var(--ink); padding-bottom: 20px; }
.process .rule-title { margin-bottom: 52px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.step { position: relative; overflow: hidden; padding: 28px 20px 24px; border-top: 1px solid var(--ink); }
.step-num {
  position: absolute; top: -6px; left: -6px; font-family: var(--serif); font-size: 128px; line-height: 1;
  color: var(--grey-05); user-select: none;
}
.step-body { position: relative; display: flex; flex-direction: column; gap: 10px; }
.step h3 { font-size: 18px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* Why us */
.why-us { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.why-us-grid { padding-top: 84px; padding-bottom: 84px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.why-us-grid > div + div { border-left: 1px solid var(--ink); padding-left: 48px; }
.why-us h3 { font-size: 19px; margin-bottom: 12px; }
.why-us p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Contact */
.contact { padding-top: 110px; padding-bottom: 110px; }
.contact .rule-title { margin-bottom: 0; }
.contact-lead { color: var(--muted); font-size: 15px; margin: 28px 0 36px; }
.underline { color: var(--ink); border-bottom: 1px solid var(--ink); }
#contact form { display: flex; flex-direction: column; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; color: var(--muted); }
.field input, .field textarea {
  padding: 12px 0; border: none; border-bottom: 1px solid var(--ink); border-radius: 0;
  font-size: 15px; background: transparent; color: var(--ink); width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-bottom-width: 2px; padding-bottom: 11px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.submit { align-self: flex-start; margin-top: 10px; padding: 14px 30px; }
.submit:disabled { opacity: 0.5; cursor: wait; }
.form-error { font-size: 14px; color: var(--ink); border-left: 2px solid var(--ink); padding-left: 12px; }
.success { padding: 52px; border: 1px solid var(--ink); text-align: center; }
.success h2 { font-size: 26px; margin-bottom: 14px; }
.success p { color: var(--muted); font-size: 15px; }
[hidden] { display: none !important; }

/* Footer */
.footer {
  border-top: 1px solid var(--ink); padding: 32px var(--gutter);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px;
  color: var(--muted); font-size: 13px;
}

/* Tablet */
@media (max-width: 960px) {
  :root { --gutter: 32px; }
  .nav-links { gap: 22px; font-size: 14px; }
  .hero { padding-top: 72px; padding-bottom: 64px; gap: 44px; }
  .hero h1 { font-size: 48px; }
  .hero-row { gap: 32px; }
  .why-b { font-size: 36px; }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-us-grid { grid-template-columns: 1fr; gap: 32px; }
  .why-us-grid > div + div { border-left: none; padding-left: 0; border-top: 1px solid var(--ink); padding-top: 32px; }
}

/* Phone */
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .nav { flex-wrap: wrap; padding-top: 14px; padding-bottom: 12px; gap: 10px 16px; }
  .nav-cta { display: none; }
  .nav-links { width: 100%; order: 3; gap: 18px; overflow-x: auto; white-space: nowrap; font-size: 14px; padding-bottom: 2px; }
  html { scroll-padding-top: 96px; }
  .hero { padding-top: 48px; padding-bottom: 48px; gap: 32px; }
  .hero h1 { font-size: 38px; }
  .why { padding-top: 64px; padding-bottom: 64px; }
  .why-a { font-size: 22px; }
  .why-b { font-size: 30px; margin-bottom: 40px; }
  .stat-xl { font-size: 52px; }
  .intro .narrow { padding-top: 56px; padding-bottom: 56px; }
  .intro h2 { font-size: 26px; }
  .work { padding-top: 40px; padding-bottom: 64px; }
  .section-head h2, .services h2, .rule-title { font-size: 28px; }
  .services { padding-top: 64px; padding-bottom: 64px; }
  .plans { grid-template-columns: 1fr; background: none; gap: 48px; }
  .plan, .plan + .plan { padding: 0; }
  .process { padding-top: 64px; padding-bottom: 64px; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .why-us-grid { padding-top: 56px; padding-bottom: 56px; }
  .contact { padding-top: 64px; padding-bottom: 64px; }
  .field-row { grid-template-columns: 1fr; }
  .success { padding: 32px 20px; }
  .footer { padding: 24px var(--gutter); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
