:root {
  --paper: #f4f1ec;
  --paper-2: #e9e3d9;
  --ink: #141414;
  --muted: #6b665f;
  --line: #d8d1c7;
  --red: #d23a2a;
  --red-dark: #a92b1f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Switzer", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

/* ---------- Nav ---------- */

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 80px;
  padding: 0 40px;
}

.wm {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.055em;
  text-decoration: none;
}
.wm i {
  width: 7px;
  height: 7px;
  background: var(--red);
  display: inline-block;
}

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
}
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }

.nav-cta {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 10px 17px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }

/* ---------- Hero ---------- */

.hero { padding: 18px 40px 0; }

.meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 11px;
  color: var(--muted);
}

.display {
  margin: 22px 0 0;
  font-size: clamp(56px, 16.4vw, 250px);
  line-height: 0.82;
  letter-spacing: -0.062em;
  font-weight: 700;
  white-space: nowrap;
  text-transform: uppercase;
}
.line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.line > span {
  display: block;
  transform: translateY(110%);
  animation: rise 900ms cubic-bezier(0.16, 1, 0.3, 1) 120ms forwards;
}
@keyframes rise { to { transform: translateY(0); } }
.sq {
  display: inline-block;
  width: 0.105em;
  height: 0.105em;
  background: var(--red);
  margin-left: 0.035em;
  transform: translateY(-0.015em);
}

.stage {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: 36px;
  align-items: end;
  margin-top: 26px;
}

.browser {
  display: block;
  border: 1px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 40px 90px rgba(20, 20, 20, 0.16);
  animation: lift 900ms cubic-bezier(0.16, 1, 0.3, 1) 260ms both;
}
@keyframes lift {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: #faf7f2;
  border-bottom: 1px solid var(--line);
  height: 38px;
}
.browser-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9c2b8;
  flex: 0 0 auto;
}
.browser-bar em {
  margin: 0 auto;
  font-style: normal;
  font-size: 10px;
  color: #8f887e;
}
.browser img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
  animation: zoom 9s ease-out both;
}
.browser:hover img { transform: scale(1.015); }
@keyframes zoom {
  from { transform: scale(1.04); }
  to { transform: scale(1); }
}

.hero-info { padding-bottom: 6px; }
.lede {
  margin: 0;
  max-width: 30ch;
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.hero-cta {
  display: inline-block;
  margin-top: 22px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 0;
  cursor: pointer;
  transition: background 160ms ease;
}
.hero-cta:hover { background: var(--red); }
.hero-cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.note { margin: 18px 0 0; font-size: 11px; line-height: 1.5; color: var(--muted); }

.marquee {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
}
.marquee-track {
  display: inline-flex;
  gap: 28px;
  animation: marquee 26s linear infinite;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.marquee-track span { display: inline-flex; align-items: center; gap: 28px; }
.marquee-track b { color: var(--ink); font-weight: 700; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */

.work, .criterio, .pricing, .contact { padding: 140px 40px; }

.section-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: end;
}
.word {
  margin: 0;
  font-size: clamp(56px, 12vw, 190px);
  line-height: 0.82;
  letter-spacing: -0.062em;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}
.section-head p {
  margin: 0;
  max-width: 38ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Reel ---------- */

.reel {
  display: flex;
  gap: 24px;
  margin-top: 56px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  cursor: grab;
  scrollbar-width: none;
}
.reel::-webkit-scrollbar { display: none; }
.reel.is-dragging { cursor: grabbing; scroll-snap-type: none; }

.card {
  flex: 0 0 min(72vw, 900px);
  scroll-snap-align: start;
}
.card-link {
  display: block;
  border: 1px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
}
.card-link .browser-bar { height: 34px; }
.card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.card-link:hover img { transform: scale(1.012); }
.card-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
}
.card-foot h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.card-foot p { margin: 0; max-width: 32ch; font-size: 13px; line-height: 1.45; color: var(--muted); }

.reel-note {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}
.reel-note a { text-decoration: none; border-bottom: 1px solid var(--red); padding-bottom: 2px; color: var(--ink); }
.reel-note a:hover { color: var(--red); }

/* ---------- Case ---------- */

.case {
  background: var(--ink);
  color: var(--paper);
  padding: 140px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.case-copy .kicker { margin: 0 0 18px; font-size: 11px; color: #9b958c; }
.case-copy h2 {
  margin: 0;
  font-size: clamp(38px, 4.8vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 700;
  text-transform: uppercase;
}
.case-copy > p {
  margin: 24px 0 0;
  max-width: 44ch;
  font-size: 17px;
  line-height: 1.5;
  color: #b9b2a8;
}
.case-copy dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 36px 0 0;
}
.case-copy dt { font-size: 13px; font-weight: 600; }
.case-copy dd { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: #9b958c; }
.case-link {
  display: inline-block;
  margin-top: 32px;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  padding-bottom: 3px;
}
.case-link:hover { color: var(--red); }
.case-img { margin: 0; border: 1px solid #2e2e2e; border-radius: 14px; overflow: hidden; }
.case-img img { width: 100%; display: block; }
.case-img figcaption { padding: 10px 12px; font-size: 10px; color: #8d877e; background: #101010; }

/* ---------- Criterio ---------- */

.criterio { position: relative; overflow: hidden; }
.crit-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 64px;
  max-width: 1100px;
}
.crit-grid h3 { margin: 0 0 8px; font-size: 24px; font-weight: 600; letter-spacing: -0.015em; }
.crit-grid p { margin: 0; max-width: 34ch; font-size: 15px; line-height: 1.6; color: var(--muted); }

.monogram {
  position: absolute;
  right: -0.05em;
  bottom: -0.32em;
  margin: 0;
  font-size: 48vw;
  line-height: 0.7;
  font-weight: 700;
  letter-spacing: -0.08em;
  color: var(--paper-2);
  z-index: 0;
  pointer-events: none;
}

/* ---------- Pricing ---------- */

.plans { margin-top: 56px; }
.plan {
  display: grid;
  grid-template-columns: 1.1fr 1.8fr 0.6fr;
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.plan:last-child { border-bottom: 1px solid var(--line); }
.plan h3 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.plan .price { margin: 4px 0 0; font-size: 14px; font-weight: 700; }
.plan p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.plan span { font-size: 12px; font-weight: 700; text-align: right; }
.plan.featured {
  background: var(--red);
  color: var(--paper);
  padding: 28px 24px;
  margin: 0 -24px;
  border-top: 0;
}
.plan.featured p { color: rgba(244, 241, 236, 0.82); }

.pricing-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
}
.pricing-foot p { margin: 0; max-width: 44ch; font-size: 12px; line-height: 1.5; color: var(--muted); }

/* ---------- Contact ---------- */

.contact {
  background: var(--red);
  color: var(--ink);
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
}
.word-cta { font-size: clamp(56px, 12vw, 190px); color: var(--ink); }
.contact > div > p { margin: 24px 0 0; max-width: 38ch; font-size: 17px; line-height: 1.5; }

.form {
  background: var(--paper);
  padding: 26px;
  display: grid;
  gap: 12px;
}
.form label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; }
.form input, .form textarea, .form select {
  width: 100%;
  border: 1px solid #cfc6b7;
  background: #fffdf9;
  color: var(--ink);
  padding: 12px;
  font-size: 15px;
  border-radius: 0;
}
.form input:focus-visible, .form textarea:focus-visible, .form select:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}
.form textarea { resize: vertical; min-height: 80px; }
.submit {
  width: 100%;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 15px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
}
.submit:hover { background: var(--red-dark); }
.submit:disabled { opacity: 0.55; cursor: default; }
.form-note { margin: 0; font-size: 11px; line-height: 1.45; color: var(--muted); }
.form-note.is-ok { color: #2f6b45; font-weight: 600; }
.form-note.is-error { color: var(--red-dark); }

/* ---------- Footer ---------- */

.footer { background: var(--ink); color: var(--paper); padding: 48px 40px 32px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wm-light { color: var(--paper); }
.footer nav { display: flex; gap: 20px; font-size: 12px; color: #9b958c; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--paper); }
.footer-big {
  margin: 48px 0 8px;
  font-size: clamp(80px, 20vw, 320px);
  line-height: 0.8;
  letter-spacing: -0.07em;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
}
.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #2a2a2a;
  padding-top: 16px;
  font-size: 11px;
  color: #9b958c;
}

/* ---------- Reveal ---------- */

.reveal.will-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .stage, .case, .contact { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .browser img { height: 420px; }
  .case { gap: 40px; }
  .crit-grid { grid-template-columns: 1fr; gap: 28px; }
  .plan { grid-template-columns: 1fr 1.8fr 0.6fr; }
  .word-cta { white-space: normal; }
}

@media (max-width: 720px) {
  .nav { height: 64px; padding: 0 20px; gap: 16px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .hero { padding: 12px 20px 0; }
  .meta span:last-child { display: none; }
  .display { font-size: clamp(48px, 16.8vw, 96px); }
  .browser img { height: 300px; }
  .work, .criterio, .pricing, .contact { padding: 96px 20px; }
  .word { font-size: clamp(48px, 15vw, 96px); white-space: normal; }
  .card { flex-basis: 86vw; }
  .card img { height: 300px; }
  .card-foot { flex-direction: column; gap: 4px; }
  .case { padding: 96px 20px; }
  .case-copy dl { grid-template-columns: 1fr; gap: 16px; }
  .monogram { font-size: 80vw; }
  .plan { grid-template-columns: 1fr; gap: 12px; }
  .plan.featured { margin: 0 -12px; padding: 24px 12px; }
  .plan span { text-align: left; }
  .pricing-foot { flex-direction: column; align-items: flex-start; }
  .contact { padding-bottom: 96px; }
  .footer { padding: 40px 20px 24px; }
  .footer-meta { flex-direction: column; }
  .footer-big { font-size: 22vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .line > span, .browser, .browser img, .marquee-track, .reveal.will-reveal { animation: none; transform: none; opacity: 1; transition: none; }
}
