@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/space-grotesk.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/instrument-serif-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/instrument-serif.woff2") format("woff2");
}

:root {
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f3ec;
  --bg-soft: #efebe1;
  --ink: #141310;
  --muted: #6e6a60;
  --line: rgba(20, 19, 16, 0.1);
  --accent: #2f6b3f;
  --pop: #b9e34a;
  --pop-ink: #1c2a0e;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(20, 19, 16, 0.08);
  --spot: rgba(20, 19, 16, 0.05);
  --spot-strong: rgba(20, 19, 16, 0.085);
  --shadow: 0 18px 50px -18px rgba(20, 19, 16, 0.22);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e0e0c;
  --bg-soft: #141411;
  --ink: #f2efe7;
  --muted: #98948a;
  --line: rgba(242, 239, 231, 0.1);
  --accent: #9fd9a9;
  --pop: #d6f655;
  --pop-ink: #161c07;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(242, 239, 231, 0.09);
  --spot: rgba(242, 239, 231, 0.045);
  --spot-strong: rgba(242, 239, 231, 0.075);
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.5s ease, color 0.5s ease;
}

::selection { background: var(--pop); color: var(--pop-ink); }

.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0.01em; }

.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120;
  pointer-events: none;
}
.progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--pop));
  border-radius: 0 99px 99px 0;
}

/* push  */

.grain {
  position: fixed; inset: -50%; z-index: 110; pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 7s steps(8) infinite;
}
@keyframes grain-shift {
  0%,100% { transform: translate(0,0); } 25% { transform: translate(-2%,3%); }
  50% { transform: translate(3%,-2%); } 75% { transform: translate(-3%,-3%); }
}

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  transition: padding 0.4s var(--ease-out), background 0.4s ease,
              backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding-top: 0.65rem; padding-bottom: 0.65rem;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.logo {
  font-weight: 700; font-size: 1.18rem; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: baseline;
  user-select: none;
}
.logo-o { display: inline-block; transition: transform 0.35s var(--ease-spring); }
.logo:hover .o-1 { transform: translateY(-3px) rotate(-8deg); }
.logo:hover .o-2 { transform: translateY(-3px) rotate(8deg); transition-delay: 0.05s; }
.logo-spot {
  width: 7px; height: 7px; margin-left: 4px; align-self: center;
  background: var(--pop);
  border-radius: 58% 42% 55% 45% / 48% 60% 40% 52%;
  transition: transform 0.3s var(--ease-spring), background 0.3s ease;
}
.logo:hover .logo-spot { transform: scale(1.5) rotate(40deg); background: var(--accent); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.nav a {
  color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 500;
  position: relative; transition: color 0.25s ease;
}
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s var(--ease-out);
}
.nav a:not(.nav-cta):hover { color: var(--ink); }
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current] { color: var(--ink); }
.nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  color: var(--bg) !important; background: var(--ink);
  padding: 0.5rem 1.1rem; border-radius: 99px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-spring) !important;
}
.nav-cta:hover { background: var(--accent); }

.theme-toggle {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--glass-border);
  color: var(--ink); cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease;
}
.theme-toggle:hover { transform: rotate(20deg) scale(1.08); border-color: var(--accent); }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }

@media (max-width: 640px) {
  .nav a:not(.nav-cta) { display: none; }
}

.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 7rem clamp(1.25rem, 6vw, 6rem) 5rem;
  position: relative;
}

.pasture { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.spot {
  position: absolute; background: var(--spot);
  will-change: transform;
  transition: background 0.5s ease;
}
.spot-a {
  width: 44vmax; height: 38vmax; top: -12%; right: -10%;
  border-radius: 62% 38% 54% 46% / 45% 58% 42% 55%;
  animation: drift 26s ease-in-out infinite alternate;
}
.spot-b {
  width: 26vmax; height: 22vmax; bottom: -8%; left: -6%;
  background: var(--spot-strong);
  border-radius: 45% 55% 60% 40% / 55% 45% 55% 45%;
  animation: drift 32s ease-in-out infinite alternate-reverse;
}
.spot-c {
  width: 13vmax; height: 11vmax; top: 22%; left: 16%;
  border-radius: 58% 42% 48% 52% / 50% 60% 40% 50%;
  animation: drift 22s ease-in-out infinite alternate;
}
.spot-d {
  width: 8vmax; height: 7vmax; bottom: 26%; right: 22%;
  background: var(--spot-strong);
  border-radius: 50% 50% 42% 58% / 60% 44% 56% 40%;
  animation: drift 19s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(0, 0) rotate(0deg); }
  to   { transform: translate(3%, -4%) rotate(7deg); }
}

.eyebrow {
  display: none;
  align-items: center; gap: 0.55rem;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line); border-radius: 99px;
  padding: 0.45rem 1rem 0.45rem 0.8rem;
  background: var(--glass);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  margin-bottom: 2.2rem;
  position: relative; z-index: 2;
}
.tag-pin {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--pop);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pop) 25%, transparent);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--pop) 25%, transparent); }
  50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--pop) 8%, transparent); }
}

.hero-title {
  font-size: clamp(3rem, 11vw, 8.6rem);
  font-weight: 600; line-height: 0.98; letter-spacing: -0.04em;
  position: relative; z-index: 2;
  margin-bottom: 2.2rem;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .word {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1s var(--ease-out) forwards;
}
.line:nth-child(1) .word { animation-delay: 0.15s; }
.line:nth-child(2) .word { animation-delay: 0.3s; }
.line:nth-child(3) .word { animation-delay: 0.45s; }
@keyframes rise { to { transform: translateY(0); } }

.hero-title .serif { color: var(--accent); }

/* variable-font proximity: letters ink up under the cursor */
.hero-title .char {
  display: inline-block;
  font-variation-settings: "wght" 600;
  transition: font-variation-settings 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  will-change: font-variation-settings, transform;
}
.hero-title.lit .line { overflow: visible; }

.dot { display: inline-block; color: var(--pop); cursor: help; transition: transform 0.4s var(--ease-spring), opacity 0.3s ease; }
.dot:hover { transform: scale(1.6) rotate(25deg); }
.dot.fled { opacity: 0; transform: scale(0); }
.dot-cow {
  position: fixed; z-index: 140; pointer-events: none;
  line-height: 1; transform: translate(-50%, -50%);
  animation: dot-flee 2.4s cubic-bezier(0.5, 0.05, 0.7, 0.5) forwards;
}
@keyframes dot-flee {
  0%   { transform: translate(-50%, -50%) scaleX(-1) translateY(0); }
  8%   { transform: translate(-50%, -50%) scaleX(-1) translateY(-0.6em); }
  16%  { transform: translate(-50%, -50%) scaleX(-1) translateY(0); }
  100% { transform: translate(-50%, -50%) scaleX(-1) translateX(-110vw); }
}

.hero-sub {
  max-width: 34rem; font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--muted);
  position: relative; z-index: 2; margin-bottom: 2.6rem;
}
.pun {
  color: var(--ink); font-weight: 500;
  text-decoration: underline dotted var(--accent) 1.5px;
  text-underline-offset: 4px; cursor: help;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; position: relative; z-index: 2; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.95rem 1.9rem; border-radius: 99px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease-spring), background 0.3s ease,
              color 0.3s ease, border-color 0.3s ease;
}
.btn span { position: relative; z-index: 1; }
.btn-solid { background: var(--ink); color: var(--bg); border: 1px solid var(--ink); }
.btn-solid::before {
  content: ""; position: absolute; inset: 0;
  background: var(--accent);
  transform: translateY(101%); border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  transition: transform 0.4s var(--ease-out), border-radius 0.4s var(--ease-out);
}
.btn-solid:hover::before { transform: translateY(0); border-radius: 0; }
.btn-solid:hover { color: #fff; }
.btn-ghost {
  background: var(--glass); color: var(--ink);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-big { font-size: clamp(1.05rem, 2vw, 1.35rem); padding: 1.2rem 2.6rem; }

.scroll-cue {
  position: absolute; bottom: 2.2rem; left: clamp(1.25rem, 6vw, 6rem);
  display: flex; align-items: center; gap: 0.7rem;
  color: var(--muted); text-decoration: none; font-size: 0.75rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  z-index: 2; transition: color 0.3s ease;
}
.scroll-cue:hover { color: var(--ink); }
.scroll-cue-track {
  width: 22px; height: 38px; border: 1.5px solid currentColor; border-radius: 99px;
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll-cue-thumb {
  width: 4px; height: 8px; background: currentColor; border-radius: 99px;
  animation: cue 1.8s var(--ease-out) infinite;
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

.section { padding: clamp(5rem, 12vw, 9rem) clamp(1.25rem, 6vw, 6rem); }

.section-head {
  display: flex; align-items: baseline; gap: 1.2rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.section-no {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.1rem; color: var(--accent);
}
.section-head h2 {
  font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 600;
  letter-spacing: -0.03em; line-height: 1.05;
}

.studio-grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: start;
}
.studio-lede {
  font-size: clamp(1.25rem, 2.4vw, 1.8rem); line-height: 1.45;
  font-weight: 400; letter-spacing: -0.01em;
}
.stats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.stat {
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 1.4rem 1.5rem;
  transition: transform 0.35s var(--ease-spring), border-color 0.3s ease;
}
.stat:hover { transform: translateY(-4px); border-color: var(--accent); }
.stat-num {
  display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.1; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 800px) { .studio-grid { grid-template-columns: 1fr; } }

.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1.3rem;
}
.services-more {
  margin-top: 1.8rem; text-align: center;
  font-size: 0.92rem; color: var(--muted);
}
.services-more a { color: var(--accent); text-underline-offset: 3px; }
.card {
  position: relative; overflow: hidden;
  border: 1px solid var(--glass-border); border-radius: 22px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding: 2rem 1.8rem 2.2rem;
  box-shadow: var(--shadow);
  transition: border-color 0.3s ease, transform 0.65s var(--ease-out);
  transform-style: preserve-3d;
  will-change: transform;
}
.card:hover { border-color: var(--accent); }
.card-no {
  font-family: var(--font-serif); font-style: italic;
  font-size: 2.4rem; color: var(--accent); opacity: 0.55;
  display: block; margin-bottom: 1.6rem; line-height: 1;
}
.card h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.7rem; }
.card p { font-size: 0.95rem; color: var(--muted); }
.card-spot {
  position: absolute; right: -22px; bottom: -26px;
  width: 90px; height: 78px;
  background: var(--spot-strong);
  border-radius: 58% 42% 55% 45% / 48% 60% 40% 52%;
  transition: transform 0.5s var(--ease-spring), background 0.4s ease;
}
.card:hover .card-spot {
  transform: scale(1.35) rotate(18deg);
  background: color-mix(in srgb, var(--pop) 28%, transparent);
}

.steps {
  list-style: none;
  display: grid; gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  display: grid; grid-template-columns: 5rem 1fr; gap: 1.5rem;
  padding: 2.2rem 0.6rem;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background 0.4s ease, padding-left 0.4s var(--ease-out);
  border-radius: 14px;
}
.step:hover { background: var(--glass); padding-left: 1.4rem; }
.step-no {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.6rem; color: var(--accent);
}
.step h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.4rem; }
.step p { color: var(--muted); max-width: 46rem; }

.quote-band {
  background: linear-gradient(180deg,
    var(--bg) 0%, var(--bg-soft) 26%, var(--bg-soft) 74%, var(--bg) 100%);
  position: relative; overflow: hidden;
}
.quote-spots { display: none; position: absolute; inset: 0; pointer-events: none; }
@media (min-width: 900px) {
  .quote-spots { display: block; }
}
.quote-spot {
  position: absolute;
  background: var(--spot-strong);
  border-radius: 58% 42% 55% 45% / 48% 60% 40% 52%;
  opacity: 0.9;
}
.quote-spot-a { width: 13vw; height: 11vw; top: 10%; left: 7%; }
.quote-spot-b {
  width: 8vw; height: 7vw; top: 18%; right: 10%;
  background: var(--spot);
  border-radius: 45% 55% 60% 40% / 55% 45% 55% 45%;
}
.quote-spot-c {
  width: 10vw; height: 9vw; bottom: 14%; left: 16%;
  border-radius: 50% 50% 42% 58% / 60% 44% 56% 40%;
}
.quote-spot-d {
  width: 7vw; height: 6vw; bottom: 22%; right: 20%;
  background: var(--spot);
  border-radius: 54% 46% 48% 52% / 42% 58% 42% 58%;
}
@supports (animation-timeline: view()) {
  .quote-spot {
    opacity: 0;
    animation: spot-drift-in linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 70%;
  }
  .quote-spot-b { animation-range: entry 10% cover 80%; }
  .quote-spot-c { animation-range: entry 5% cover 75%; }
  .quote-spot-d { animation-range: entry 15% cover 85%; }
}
.big-quote { position: relative; z-index: 1; text-align: center; max-width: 60rem; margin: 0 auto; }
.big-quote p {
  font-size: clamp(1.8rem, 5vw, 3.8rem); font-weight: 500;
  letter-spacing: -0.03em; line-height: 1.15;
}
.big-quote .serif { color: var(--accent); }
.big-quote cite {
  display: block; margin-top: 1.6rem;
  font-style: normal; font-size: 0.9rem; color: var(--muted);
  letter-spacing: 0.08em;
}

.contact { text-align: center; }
.contact-inner { max-width: 46rem; margin: 0 auto; }
.contact .eyebrow { margin-bottom: 1.8rem; }
.contact-title {
  font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 600;
  letter-spacing: -0.04em; line-height: 1; margin-bottom: 1.4rem;
}
.contact-title .serif { color: var(--accent); }
.contact-sub { color: var(--muted); margin-bottom: 2.6rem; font-size: 1.05rem; }

.contact-form {
  max-width: 34rem; margin: 0 auto; text-align: left;
  display: grid; gap: 1rem;
}
.field { position: relative; }
.field input, .field textarea {
  width: 100%;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem 1.1rem 0.65rem;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  resize: vertical;
}
.field textarea { min-height: 7rem; line-height: 1.5; }
.field label {
  position: absolute; left: 1.15rem; top: 1.05rem;
  color: var(--muted); font-size: 1rem; pointer-events: none;
  transform-origin: left top;
  transition: transform 0.22s var(--ease-out), color 0.22s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, var(--glass));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);
}
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-0.7rem) scale(0.74);
  color: var(--accent);
}
.field input:user-invalid, .field textarea:user-invalid {
  border-color: color-mix(in srgb, #e5484d 60%, var(--line));
}

.field select {
  width: 100%;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem 2.6rem 0.65rem 1.1rem;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  cursor: pointer;
}
.field select:focus {
  outline: none; border-color: var(--accent);
  background-color: color-mix(in srgb, var(--accent) 6%, var(--glass));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);
}
.field select option {
  background: var(--bg-soft);
  color: var(--ink);
}
.field-select label {
  transform: translateY(-0.7rem) scale(0.74);
  color: var(--muted);
}
.field-select:focus-within label { color: var(--accent); }
.select-arrow {
  position: absolute; right: 1.15rem; top: 50%;
  transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
}

.cf-hp {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

.cf-submit {
  width: 100%; margin-top: 0.4rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
}
.cf-submit[disabled] { opacity: 0.7; cursor: progress; }
.cf-spinner {
  width: 16px; height: 16px; flex: none;
  border: 2px solid color-mix(in srgb, currentColor 30%, transparent);
  border-top-color: currentColor; border-radius: 50%;
  display: none;
}
.cf-submit.loading .cf-spinner { display: inline-block; animation: cf-spin 0.7s linear infinite; }
@keyframes cf-spin { to { transform: rotate(360deg); } }

.cf-status {
  min-height: 1.2rem; margin-top: 0.3rem; font-size: 0.92rem;
  text-align: center; opacity: 0;
  transition: opacity 0.3s ease;
}
.cf-status.show { opacity: 1; }
.cf-status.ok { color: var(--accent); }
.cf-status.err { color: #e5675b; }

.contact-form.sent { text-align: center; }
.contact-sent {
  max-width: 34rem; margin: 0 auto;
  border: 1px solid var(--glass-border); border-radius: 20px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding: 2.4rem 2rem;
  animation: reveal-up 0.6s var(--ease-out) backwards;
}
.contact-sent h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.contact-sent p { color: var(--muted); }

.contact-alt { margin-top: 1.8rem; font-size: 0.92rem; color: var(--muted); }
.contact-alt a { color: var(--accent); text-underline-offset: 3px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem clamp(1.25rem, 6vw, 6rem);
  font-size: 0.85rem; color: var(--muted);
}
.footer-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
}
.footer-links { display: inline-flex; align-items: center; gap: 0.6rem; }
.footer-links a {
  color: var(--muted); text-decoration: none;
  border-bottom: 1px dotted var(--line);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.footer-links a:hover { color: var(--ink); border-color: var(--accent); }
.footer-fine {
  margin-top: 0.9rem; text-align: center;
  opacity: 0.65; font-size: 0.78rem;
}
.footer-dot { cursor: default; transition: color 0.3s ease; }
.footer-dot:hover { color: var(--pop); }
@media (max-width: 700px) { .footer-row { flex-direction: column; text-align: center; } }

.cookie-card {
  position: fixed; bottom: 1.2rem; left: 1.2rem; z-index: 115;
  max-width: 320px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border: 1px solid var(--glass-border); border-radius: 18px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem;
  transform: translateY(calc(100% + 2rem)); opacity: 0;
  pointer-events: none;
  transition: transform 0.6s var(--ease-spring), opacity 0.4s ease;
}
.cookie-card.show { transform: none; opacity: 1; pointer-events: auto; }
.cookie-text { font-size: 0.84rem; color: var(--muted); margin-bottom: 0.85rem; line-height: 1.5; }
.cookie-text strong { color: var(--ink); font-weight: 600; }
.cookie-text a { color: var(--accent); text-decoration: underline dotted; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 0.6rem; }
.cookie-btn {
  flex: 1; padding: 0.5rem 0.9rem; border-radius: 99px;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-spring);
}
.cookie-btn:hover { transform: translateY(-2px); }
.cookie-accept { background: var(--ink); color: var(--bg); border: 1px solid var(--ink); }
.cookie-accept:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.cookie-decline { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.cookie-decline:hover { color: var(--ink); border-color: var(--muted); }
@media (max-width: 480px) { .cookie-card { left: 0.8rem; right: 0.8rem; max-width: none; } }

.error-page {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: 7rem clamp(1.25rem, 6vw, 6rem) 5rem;
  position: relative; overflow: hidden;
}
.error-code {
  display: flex; align-items: center; justify-content: center; gap: 0.06em;
  font-size: clamp(6rem, 24vw, 16rem);
  font-weight: 700; line-height: 1; letter-spacing: -0.05em;
  position: relative; z-index: 2;
  margin-bottom: 1.6rem;
}
.blob-zero {
  display: inline-block;
  width: 0.74em; height: 0.84em;
  background: var(--pop);
  border-radius: 58% 42% 55% 45% / 48% 60% 40% 52%;
  animation: blob-morph 7s ease-in-out infinite;
}
@keyframes blob-morph {
  0%, 100% { border-radius: 58% 42% 55% 45% / 48% 60% 40% 52%; transform: rotate(0deg); }
  33% { border-radius: 45% 55% 48% 52% / 58% 44% 56% 42%; transform: rotate(4deg); }
  66% { border-radius: 52% 48% 60% 40% / 44% 56% 46% 54%; transform: rotate(-4deg); }
}
.error-title {
  font-size: clamp(1.6rem, 4vw, 2.8rem); font-weight: 600;
  letter-spacing: -0.03em; margin-bottom: 1rem;
  position: relative; z-index: 2;
}
.error-title .serif { color: var(--accent); }
.error-sub {
  max-width: 32rem; color: var(--muted);
  margin-bottom: 2.4rem; position: relative; z-index: 2;
}
.error-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; position: relative; z-index: 2; }
.lost-cow {
  position: absolute; bottom: 5vh; left: 0;
  font-size: 2.1rem; z-index: 2;
  cursor: pointer; user-select: none;
  animation: wander 40s linear infinite;
}
.lost-cow:active { transform: scale(1.2); }
@keyframes wander {
  0%   { transform: translateX(-12vw) scaleX(-1); }
  48%  { transform: translateX(106vw) scaleX(-1); }
  52%  { transform: translateX(106vw) scaleX(1); }
  100% { transform: translateX(-12vw) scaleX(1); }
}

.legal-main { padding-top: clamp(7rem, 14vw, 10rem); }
.legal-wrap { max-width: 44rem; margin: 0 auto; }
.legal-wrap h1 {
  font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 600;
  letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 0.6rem;
}
.legal-updated {
  font-family: var(--font-serif); font-style: italic;
  color: var(--accent); margin-bottom: 2.6rem;
}
.legal-wrap h2 {
  font-size: 1.4rem; font-weight: 600; letter-spacing: -0.02em;
  margin: 2.4rem 0 0.7rem;
}
.legal-wrap p, .legal-wrap li { color: var(--muted); margin-bottom: 0.8rem; }
.legal-wrap ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.legal-wrap a { color: var(--accent); text-underline-offset: 3px; }
.legal-wrap strong { color: var(--ink); font-weight: 600; }
.legal-table {
  width: 100%; border-collapse: collapse; margin: 1rem 0 1.6rem;
  font-size: 0.9rem;
}
.legal-table th, .legal-table td {
  text-align: left; padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.legal-table th { color: var(--ink); font-weight: 600; }
.legal-table td { color: var(--muted); }

.page-hero {
  position: relative;
  padding: clamp(8rem, 16vw, 11rem) clamp(1.25rem, 6vw, 6rem) clamp(1rem, 3vw, 2rem);
  text-align: center;
  overflow: hidden;
}
.page-hero-title {
  font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 600;
  letter-spacing: -0.04em; line-height: 1.02; margin-bottom: 1.3rem;
  position: relative; z-index: 2;
}
.page-hero-title .serif { color: var(--accent); }
.page-hero-sub {
  max-width: 36rem; margin: 0 auto;
  color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem);
  position: relative; z-index: 2;
}

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.3rem; align-items: stretch;
}
.tier {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid var(--glass-border); border-radius: 22px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding: 2.2rem 1.9rem;
  box-shadow: var(--shadow);
  transition: border-color 0.3s ease, transform 0.35s var(--ease-spring);
}
.tier:hover { border-color: var(--accent); transform: translateY(-5px); }
.tier-featured {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--glass-border));
  background: color-mix(in srgb, var(--accent) 5%, var(--glass));
}
.tier-badge {
  position: absolute; top: 1.3rem; right: 1.3rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--pop-ink); background: var(--pop);
  padding: 0.32rem 0.75rem; border-radius: 99px;
}
.tier-name {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 1.9rem; line-height: 1; color: var(--accent);
  margin-bottom: 0.9rem;
}
.tier-tag { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.6rem; }
.tier-price {
  font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 0.35rem;
  font-variant-numeric: tabular-nums;
}
.tier-hosting {
  font-family: var(--font-serif); font-style: italic;
  font-size: 0.95rem; color: var(--muted);
  margin-bottom: 1.6rem;
}
.tier-from {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 1.05rem; color: var(--muted); letter-spacing: 0;
  margin-right: 0.15rem;
}
.tier-list {
  list-style: none; display: grid; gap: 0.55rem;
  margin-bottom: 2rem; font-size: 0.92rem; color: var(--muted);
}
.tier-list li { padding-left: 1.5rem; position: relative; }
.tier-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 700;
}
.tier-cta { margin-top: auto; position: relative; z-index: 1; }
.tiers-actions {
  display: flex; justify-content: center;
  margin-top: 2.6rem;
}
.trust-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1.6rem;
  margin-top: 2.8rem;
}
.trust-item { border-top: 1px solid var(--line); padding-top: 1.3rem; }
.trust-item h3 {
  font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.trust-item p { font-size: 0.9rem; color: var(--muted); }

.tech-lede {
  max-width: 44rem;
  font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.tech-lede .serif { color: var(--accent); }
.tech-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr));
  gap: 1rem;
}
.tech-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.85rem;
  padding: 1.7rem 1rem 1.4rem;
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--muted);
  transition: transform 0.35s var(--ease-spring), border-color 0.3s ease, color 0.3s ease;
}
.tech-item svg { width: 34px; height: 34px; fill: currentColor; }
.tech-item span { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.02em; }
.tech-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent); color: var(--ink);
}

.pricing-cta .btn-big { margin-top: 0.4rem; }

.section.devops { position: relative; }
.devops-spots {
  display: none;
  position: absolute; top: 0; bottom: 0; right: 0; width: 42%;
  pointer-events: none; overflow: hidden;
}
@media (min-width: 900px) {
  .devops-spots { display: block; }
}
.devops-spot {
  position: absolute;
  background: var(--spot-strong);
  border-radius: 58% 42% 55% 45% / 48% 60% 40% 52%;
  opacity: 0.9;
}
.devops-spot-a { width: 15vw; height: 13vw; top: 2%; right: 22%; }
.devops-spot-b {
  width: 9vw; height: 8vw; top: 34%; right: 52%;
  background: var(--spot);
  border-radius: 45% 55% 60% 40% / 55% 45% 55% 45%;
}
.devops-spot-c {
  width: 11vw; height: 10vw; top: 58%; right: 10%;
  border-radius: 50% 50% 42% 58% / 60% 44% 56% 40%;
}
.devops-spot-d {
  width: 7vw; height: 6vw; top: 84%; right: 40%;
  background: var(--spot);
  border-radius: 54% 46% 48% 52% / 42% 58% 42% 58%;
}
@supports (animation-timeline: view()) {
  .devops-spot {
    opacity: 0;
    animation: spot-drift-in linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 60%;
  }
  .devops-spot-b { animation-range: entry 8% cover 68%; }
  .devops-spot-c { animation-range: entry 16% cover 76%; }
  .devops-spot-d { animation-range: entry 24% cover 84%; }
}
@keyframes spot-drift-in {
  from { opacity: 0; transform: translateY(60px) scale(0.82) rotate(-5deg); }
  to   { opacity: 1; transform: translateY(-16px) scale(1) rotate(4deg); }
}

.devops-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative; z-index: 1;
}
.devops-grid + .devops-grid { margin-top: clamp(2.5rem, 6vw, 4rem); }
.devops-icon {
  width: 96px; height: 96px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--glass-border); border-radius: 26px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--accent);
}
.devops-icon svg { width: 42px; height: 42px; fill: currentColor; }
.devops-copy { display: grid; gap: 0.6rem; max-width: 40rem; }
.devops-copy h3 {
  font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em;
}
.devops-copy p {
  color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.6;
}
@media (max-width: 640px) {
  .devops-grid { grid-template-columns: 1fr; justify-items: start; }
}

.cms-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.cms-grid .tech-lede { margin-bottom: 0; }
.cms-stat { grid-template-columns: 1fr; }
@media (max-width: 800px) { .cms-grid { grid-template-columns: 1fr; } }

.reveal { opacity: 0; transform: translateY(34px); }
.reveal.in {
  opacity: 1; transform: none;
  animation: reveal-up 0.9s var(--ease-out) backwards;
  animation-delay: var(--d, 0s);
}
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(34px); }
}

.stampede-cow {
  position: fixed; z-index: 140; left: 100vw; pointer-events: none;
  animation: stampede var(--dur, 3s) linear forwards;
  filter: grayscale(0.2);
}
@keyframes stampede {
  from { transform: translateX(0) scaleX(-1); }
  to   { transform: translateX(calc(-100vw - 140px)) scaleX(-1); }
}
.moo-toast {
  position: fixed; bottom: 2rem; left: 50%; z-index: 150;
  transform: translate(-50%, 120%);
  background: var(--ink); color: var(--bg);
  padding: 0.8rem 1.6rem; border-radius: 99px;
  font-weight: 600; font-size: 1rem; letter-spacing: 0.02em;
  box-shadow: var(--shadow);
  animation: toast 2.8s var(--ease-spring) forwards;
}
@keyframes toast {
  0% { transform: translate(-50%, 140%); }
  15%, 80% { transform: translate(-50%, 0); }
  100% { transform: translate(-50%, 160%); }
}
body.cowhide .spot { background: var(--spot-strong); transform: scale(1.25); }
body.cowhide .logo-spot { background: var(--accent); transform: scale(1.8) rotate(120deg); }
body.cowhide::after {
  content: ""; position: fixed; inset: 0; z-index: 5; pointer-events: none;
  background-image:
    radial-gradient(closest-side, var(--spot-strong) 96%, transparent),
    radial-gradient(closest-side, var(--spot-strong) 96%, transparent);
  background-size: 220px 180px, 140px 120px;
  background-position: 12% 28%, 78% 64%;
  background-repeat: no-repeat;
  animation: hide-in 0.6s var(--ease-out);
}
@keyframes hide-in { from { opacity: 0; transform: scale(1.1); } }

@supports (animation-timeline: view()) {
  .big-quote p {
    animation: quote-zoom linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 45%;
  }
  @keyframes quote-zoom {
    from { transform: scale(0.92); opacity: 0.3; }
    to   { transform: scale(1); opacity: 1; }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
