:root {
  --bg: #231F20;
  --primary: #FA7237;
  --secondary: #F9E9B7;
  --text: #fff8e8;
  --muted: rgba(249, 233, 183, 0.72);
  --line: rgba(249, 233, 183, 0.14);
  --glass: rgba(249, 233, 183, 0.06);
  --shadow: rgba(250, 114, 55, 0.24);
  --hero-progress: 0;
  --track-progress: 0;
  --container: min(1120px, calc(100% - 2.4rem));
  --section-gutter: clamp(1rem, 3.8vw, 5rem);
  --font-sans: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(250, 114, 55, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(249, 233, 183, 0.10), transparent 24rem),
    linear-gradient(180deg, #231f20 0%, #171415 100%);
  overflow-x: clip;
}

section[id] {
  scroll-margin-top: 6.5rem;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(249, 233, 183, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249, 233, 183, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 70%);
  z-index: -3;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.site-header a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 120;
  padding: 0.75rem 1rem;
  background: var(--secondary);
  color: #231f20;
  border-radius: 0.5rem;
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
}

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

.noise {
  position: fixed;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  z-index: 50;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.cursor-glow {
  position: fixed;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250,114,55,0.18), transparent 65%);
  pointer-events: none;
  z-index: -1;
  transform: translate3d(-50%, -50%, 0);
  left: 50%;
  top: 50%;
  transition: opacity 0.2s ease;
}

.page-progress {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  z-index: 100;
  background: rgba(249,233,183,0.08);
}

.page-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  box-shadow: 0 0 18px var(--shadow);
}

.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 1rem;
  transform: none;
  width: var(--container);
  height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.85rem 0.7rem 1rem;
  border: 1px solid rgba(249, 233, 183, 0.12);
  background: rgba(35, 31, 32, 0.72);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  z-index: 20;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.24);
}

.brand {
  width: auto;
  height: auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand img {
  width: auto;
  height: 32px;
  object-fit: contain;
  transform: none;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.site-header nav a {
  color: rgba(249, 233, 183, 0.78);
  font-size: 0.92rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}

.site-header nav a:hover {
  color: var(--secondary);
  background: rgba(249, 233, 183, 0.07);
}

.site-header .nav-cta {
  color: #231f20;
  background: var(--primary);
  font-weight: 700;
}

.site-header .nav-cta:hover {
  color: #231f20;
  background: var(--secondary);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(390px, 1.06fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  padding: clamp(7rem, 10vw, 8.5rem) var(--section-gutter) 5rem;
  overflow: clip;
}

.section-inner {
  width: var(--container);
  margin-inline: auto;
}

.hero-left {
  position: relative;
  z-index: 2;
  align-self: center;
  min-height: auto;
  display: grid;
  align-items: center;
}

.hero-copy {
  position: relative;
  top: auto;
  grid-area: 1 / 1;
  width: min(760px, 100%);
  padding-top: 0;
  will-change: opacity, transform;
}

.hero-output-showcase {
  position: absolute;
  left: 0;
  top: 50%;
  width: min(560px, 100%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  will-change: opacity, transform;
}

.hero-output-showcase.is-active {
  pointer-events: auto;
}

.output-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.2rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
}

.eyebrow span {
  width: 0.75rem;
  height: 0.75rem;
  display: inline-block;
  color: var(--primary);
  position: relative;
}

.eyebrow span::before {
  content: "*";
  position: absolute;
  inset: -0.25rem 0 0;
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 1.4rem;
  line-height: 1;
  filter: drop-shadow(0 0 12px rgba(250,114,55,0.8));
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 1.4rem;
  font-size: 6rem;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

h1::selection,
h2::selection,
p::selection,
a::selection,
li::selection {
  color: #231f20;
  background: var(--secondary);
}

.hero-subtitle {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  line-height: 1.75;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.55rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn::after {
  content: "→";
  transform: translateX(0);
  transition: transform 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:hover::after {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--primary);
  color: #231f20;
  box-shadow: 0 16px 50px var(--shadow);
}

.btn-primary:hover {
  background: var(--secondary);
}

.btn-ghost {
  border-color: rgba(249, 233, 183, 0.16);
  background: rgba(249, 233, 183, 0.05);
  color: var(--secondary);
}

.brew-stage {
  position: relative;
  top: auto;
  min-height: 700px;
  display: grid;
  place-items: center;
  align-self: start;
  isolation: isolate;
  overflow: visible;
}

.brew-stage::before,
.brew-stage::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.brew-stage::before {
  width: 42vw;
  max-width: 640px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(250,114,55,0.22), transparent 63%);
  filter: blur(6px);
  transform: scale(0.98);
  z-index: -2;
}

.brew-stage::after {
  width: 72%;
  height: 44%;
  bottom: 6%;
  background: radial-gradient(ellipse, rgba(0,0,0,0.4), transparent 68%);
  z-index: -3;
}

.kettle-wrap {
  position: relative;
  width: min(560px, 88vw);
  z-index: 5;
  transform-origin: 50% 62%;
  will-change: transform;
}

.kettle-svg {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: visible;
  filter: drop-shadow(0 34px 70px rgba(0,0,0,0.42));
}

#kettle-base {
  fill: var(--secondary);
}

#kettle-lid {
  transform-box: fill-box;
  transform-origin: 0% 100%;
  filter: drop-shadow(0 10px 28px rgba(250, 114, 55, 0.22));
  will-change: transform;
}

#kettle-asterisk {
  filter: drop-shadow(0 0 18px rgba(249, 233, 183, 0.45));
  will-change: filter;
}

.brew-energy {
  position: absolute;
  left: 60%;
  top: 68%;
  z-index: 3;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(249, 233, 183, 0.62) 0 12%, rgba(250, 114, 55, 0.46) 24%, rgba(250, 114, 55, 0.12) 54%, transparent 72%);
  opacity: 0;
  filter: blur(20px);
  mix-blend-mode: screen;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.72);
  transform-origin: 50% 50%;
  will-change: opacity, transform;
}

.heat-glow {
  position: absolute;
  left: 50%;
  bottom: -8%;
  transform: translateX(-50%);
  width: 60%;
  height: 20%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(250,114,55,0.36), transparent 70%);
  filter: blur(18px);
  opacity: 0.62;
  z-index: -2;
}

.ingredient-field,
.product-output-origin {
  position: absolute;
  pointer-events: none;
}

.ingredient-field {
  inset: 0;
  z-index: 7;
}

.ingredient {
  position: absolute;
  left: 50%;
  top: 18%;
  width: clamp(42px, 4.4vw, 58px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--secondary);
  border-radius: 1.15rem;
  border: 1px solid rgba(249, 233, 183, 0.2);
  background:
    linear-gradient(145deg, rgba(249, 233, 183, 0.14), rgba(250, 114, 55, 0.08)),
    rgba(35,31,32,0.7);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.28), inset 0 1px 0 rgba(249,233,183,0.12);
  opacity: 0;
  transform: translate(var(--from-x), var(--from-y)) scale(0.88);
  will-change: transform, opacity;
}

.ingredient::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: inherit;
  border: 1px solid rgba(250, 114, 55, 0.14);
  opacity: 0.7;
}

.ingredient svg {
  position: relative;
  z-index: 1;
  width: 58%;
  height: 58%;
  fill: currentColor;
  overflow: visible;
}

.ingredient svg [fill="none"] {
  fill: none;
}

.ingredient-github,
.ingredient-react,
.ingredient-cloud,
.ingredient-db {
  color: var(--secondary);
}

.ingredient-python,
.ingredient-js,
.ingredient-shopify,
.ingredient-ai {
  color: var(--primary);
}

.ingredient-php,
.ingredient-node,
.ingredient-laravel,
.ingredient-woo {
  color: rgba(249, 233, 183, 0.9);
}

.steam-trail {
  position: absolute;
  width: min(420px, 72vw);
  height: 430px;
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 4;
  opacity: 0.42;
  will-change: opacity, transform;
}

.steam {
  position: absolute;
  bottom: 0;
  width: 4px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(to top, transparent, rgba(249,233,183,0.16), rgba(250,114,55,0.58), transparent);
  filter: blur(0.2px) drop-shadow(0 0 12px rgba(250,114,55,0.28));
  transform-origin: bottom;
  animation: steamRise 4s ease-in-out infinite;
}

.steam-a { left: 34%; animation-delay: 0s; }
.steam-b { left: 46%; animation-delay: -1s; height: 260px; }
.steam-c { left: 58%; animation-delay: -2.2s; height: 240px; }
.steam-d { left: 68%; animation-delay: -3s; height: 205px; }

.grind-zone {
  position: absolute;
  left: 60%;
  top: 62%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 8;
}

.grind-particles {
  position: absolute;
  left: 57%;
  top: 62%;
  width: 150px;
  height: 150px;
  opacity: 0;
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
  pointer-events: none;
  z-index: 8;
  will-change: opacity, transform;
}

.grind-particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 18px rgba(250, 114, 55, 0.8);
}

.grind-particles span:nth-child(1) { left: 50%; top: 0; }
.grind-particles span:nth-child(2) { right: 8%; top: 28%; }
.grind-particles span:nth-child(3) { right: 18%; bottom: 10%; }
.grind-particles span:nth-child(4) { left: 16%; bottom: 16%; }
.grind-particles span:nth-child(5) { left: 4%; top: 36%; }

.product-output-origin {
  left: 16.5%;
  top: 53.5%;
  width: 1px;
  height: 1px;
  z-index: 9;
}

.nozzle-trail {
  position: absolute;
  left: -4px;
  top: -4px;
  width: 178px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(250,114,55,0.95), rgba(249,233,183,0.42), transparent);
  filter: blur(1px) drop-shadow(0 0 16px rgba(250,114,55,0.5));
  opacity: 0;
  transform: translateX(-4px) scaleX(0.18);
  transform-origin: left center;
  will-change: opacity, transform;
}

.product-output {
  position: relative;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  gap: 0.44rem;
  justify-content: flex-end;
  padding: 0.9rem;
  border: 1px solid rgba(249, 233, 183, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 12%, rgba(250, 114, 55, 0.16), transparent 44%),
    rgba(249, 233, 183, 0.06);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.28), 0 0 24px rgba(250, 114, 55, 0.08);
  opacity: 0;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

.product-output strong {
  color: var(--secondary);
  font-size: 0.93rem;
  letter-spacing: 0.02em;
}

.product-output small {
  color: rgba(249,233,183,0.62);
  font-size: 0.72rem;
  line-height: 1.4;
}

.output-icon {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 0.9rem;
  border: 1px solid rgba(250,114,55,0.18);
  background: rgba(250,114,55,0.1);
  color: var(--primary);
  font-family: var(--font-mono);
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(249,233,183,0.1);
}

.output-icon::before {
  font-size: 0.84rem;
  line-height: 1;
}

.output-icon-mobile::before { content: "APP"; }
.output-icon-saas::before { content: "SaaS"; font-size: 0.7rem; }
.output-icon-ecommerce::before { content: "EC"; }
.output-icon-ai::before { content: "AI"; }
.output-icon-crm::before { content: "CRM"; font-size: 0.68rem; }
.output-icon-dashboard::before { content: "DB"; }
.output-icon-api::before { content: "API"; font-size: 0.7rem; }
.output-icon-website::before { content: "WWW"; font-size: 0.62rem; }

.nozzle-steam {
  position: absolute;
  left: -2px;
  top: -2px;
  opacity: 0;
  pointer-events: none;
}

.nozzle-steam span {
  position: absolute;
  width: 58px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(249,233,183,0.76), rgba(250,114,55,0.28), transparent);
  filter: blur(0.4px) drop-shadow(0 0 10px rgba(250,114,55,0.38));
}

.nozzle-steam span:nth-child(2) {
  transform: translateY(8px);
}

.nozzle-steam span:nth-child(3) {
  transform: translateY(-8px);
}

.is-reduced-motion .steam-trail {
  display: none;
}

.is-reduced-motion .ingredient {
  opacity: 0.78;
  transform: translate(var(--from-x), var(--from-y)) scale(0.9);
}

.is-reduced-motion .hero-copy {
  opacity: 0;
  transform: translateY(-24px);
}

.is-reduced-motion .hero-output-showcase {
  opacity: 1;
  pointer-events: auto;
}

.is-reduced-motion .product-output {
  opacity: 1;
  transform: none;
  filter: none;
}

.is-reduced-motion #kettle-lid {
  transform: translate(-12px, -26px) rotate(-18deg);
}

.is-reduced-motion .brew-energy {
  opacity: 0.22;
}

.scroll-hint {
  position: fixed;
  left: 50%;
  bottom: 4.25rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(249,233,183,0.72);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 45;
  pointer-events: none;
}

.scroll-hint i {
  width: 28px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(249,233,183,0.22);
  position: relative;
}

.scroll-hint i::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  left: 50%;
  top: 10px;
  background: var(--primary);
  transform: translateX(-50%);
  animation: mouseDot 1.8s ease-in-out infinite;
}

section:not(.hero) {
  padding: clamp(5rem, 8.5vw, 7.5rem) var(--section-gutter);
  position: relative;
}

.section-heading {
  width: min(820px, 100%);
  margin: 0 auto clamp(2.2rem, 5vw, 4rem);
  text-align: center;
}

.section-heading.narrow {
  width: min(660px, 100%);
}

h2 {
  margin-bottom: 0;
  color: var(--secondary);
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.service-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.process-step,
.terminal-card,
.contact-inner {
  border: 1px solid rgba(249, 233, 183, 0.13);
  background:
    linear-gradient(145deg, rgba(249, 233, 183, 0.08), rgba(249, 233, 183, 0.025)),
    rgba(35, 31, 32, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 90px rgba(0,0,0,0.22);
}

.service-card {
  min-height: 320px;
  border-radius: 2rem;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 70%;
  background: radial-gradient(circle at 50% 0%, rgba(250,114,55,0.24), transparent 62%);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
  transform: translateY(-8%);
}

.card-icon {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  min-width: 3.2rem;
  height: 3.2rem;
  display: inline-grid;
  place-items: center;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: rgba(250,114,55,0.12);
  color: var(--primary);
  font-family: var(--font-mono);
  font-weight: 800;
  border: 1px solid rgba(250,114,55,0.22);
}

.service-card h3,
.process-step h3 {
  color: var(--secondary);
  font-size: 1.45rem;
  margin-bottom: 0.8rem;
}

.service-card p,
.process-step p,
.why-copy li,
.contact-inner p {
  color: var(--muted);
  line-height: 1.72;
}

.service-card p,
.process-step p {
  margin-bottom: 0;
}

.process {
  overflow: hidden;
}

.process-track {
  width: min(1100px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
  padding-top: 3rem;
}

.track-line {
  position: absolute;
  top: 1.1rem;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: rgba(249,233,183,0.12);
  overflow: hidden;
}

.track-line span {
  display: block;
  width: calc(var(--track-progress) * 100%);
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  box-shadow: 0 0 22px rgba(250,114,55,0.5);
}

.process-step {
  border-radius: 1.6rem;
  padding: 1.35rem;
  min-height: 260px;
}

.process-step strong {
  display: inline-grid;
  place-items: center;
  width: 3.3rem;
  height: 3.3rem;
  margin-bottom: 2.2rem;
  border-radius: 50%;
  background: #231f20;
  color: var(--primary);
  border: 1px solid rgba(250,114,55,0.3);
  font-family: var(--font-mono);
  box-shadow: 0 0 30px rgba(250,114,55,0.16);
}

.why {
  display: block;
}

.why-grid {
  width: min(1240px, 100%);
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.why .section-inner {
  width: min(1240px, calc(100% + 0rem));
}

.why-visual {
  min-height: 460px;
  position: relative;
  display: grid;
  place-items: center;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.8;
}

.orb-one {
  width: 210px;
  height: 210px;
  background: rgba(250,114,55,0.24);
  left: 6%;
  top: 8%;
  animation: orbMove 7s ease-in-out infinite;
}

.orb-two {
  width: 160px;
  height: 160px;
  background: rgba(249,233,183,0.12);
  right: 6%;
  bottom: 12%;
  animation: orbMove 8s ease-in-out infinite reverse;
}

.terminal-card {
  width: min(520px, 100%);
  border-radius: 1.8rem;
  overflow: hidden;
  transform: rotate(-2deg);
}

.terminal-top {
  display: flex;
  gap: 0.45rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(249,233,183,0.12);
}

.terminal-top span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.9;
}

.terminal-top span:nth-child(2) { background: var(--secondary); opacity: 0.7; }
.terminal-top span:nth-child(3) { background: rgba(249,233,183,0.3); }

.terminal-card pre {
  margin: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  white-space: pre-wrap;
}

.terminal-card code {
  color: var(--secondary);
  font-family: var(--font-mono);
  line-height: 1.9;
  font-size: clamp(0.86rem, 1.6vw, 1rem);
}

.why-copy ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1rem;
}

.why-copy li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(249,233,183,0.09);
  padding-bottom: 1rem;
}

.why-copy li::before {
  content: "*";
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 1.5rem;
  line-height: 1.1;
  filter: drop-shadow(0 0 10px rgba(250,114,55,0.6));
}

.contact {
  padding-top: 3rem !important;
}

.contact .section-inner {
  width: min(940px, 100%);
}

.contact-inner {
  width: min(920px, 100%);
  margin-inline: auto;
  text-align: center;
  border-radius: 2.4rem;
  padding: clamp(2rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.contact-inner::before {
  content: "Let’s Brew";
  position: absolute;
  left: 50%;
  top: 14%;
  transform: translateX(-50%);
  font-size: clamp(4rem, 12vw, 9rem);
  letter-spacing: -0.08em;
  font-weight: 800;
  line-height: 1;
  color: rgba(249,233,183,0.04);
  white-space: nowrap;
}

.contact-inner img {
  width: min(185px, 42vw);
  margin: 0 auto 1.8rem;
  filter: drop-shadow(0 24px 50px rgba(0,0,0,0.35));
  animation: kettleFloat 5s ease-in-out infinite;
}

.contact-inner h2 {
  margin-bottom: 1rem;
}

.contact-inner p:not(.eyebrow) {
  width: min(620px, 100%);
  margin: 0 auto 2rem;
  font-size: 1.12rem;
}

.contact-meta {
  width: min(640px, 100%);
  margin: 1rem auto 1.35rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(249, 233, 183, 0.12);
  border-radius: 1.2rem;
  background: rgba(249, 233, 183, 0.045);
  color: rgba(249, 233, 183, 0.72);
  font-size: 1rem;
  line-height: 1.42;
}

.contact-inner .contact-meta p {
  width: auto;
  margin: 0 0 2px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.contact-inner .contact-meta p:last-child {
  margin-bottom: 0;
}

.contact-inner .contact-meta p + p {
  margin-top: 0;
}

.contact-meta strong {
  color: rgba(249, 233, 183, 0.94);
  font-weight: 700;
}

.contact-meta span {
  color: rgba(249, 233, 183, 0.56);
}

.contact-meta a {
  color: rgba(249, 233, 183, 0.84);
  text-decoration: none;
  border-bottom: 1px solid rgba(250, 114, 55, 0.32);
}

.contact-meta a:hover {
  color: var(--secondary);
  border-bottom-color: var(--primary);
}

.business-id {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding-top: 0.1rem;
}

.business-id span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem min(6vw, 5rem) 2.4rem;
  color: rgba(249,233,183,0.58);
  border-top: 1px solid rgba(249,233,183,0.08);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--secondary);
}

.footer-meta {
  margin: 0.35rem 0 0;
  color: rgba(249, 233, 183, 0.46);
  font-size: 0.82rem;
}

.footer-meta a {
  color: rgba(249, 233, 183, 0.62);
}

.footer-meta a:hover {
  color: var(--secondary);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:nth-child(2),
.process-step:nth-child(3) { transition-delay: 0.08s; }
.service-card:nth-child(3),
.process-step:nth-child(4) { transition-delay: 0.16s; }
.service-card:nth-child(4),
.process-step:nth-child(5) { transition-delay: 0.24s; }

@keyframes kettleFloat {
  0%, 100% { transform: translateY(0) rotate(-0.4deg); }
  50% { transform: translateY(-12px) rotate(0.4deg); }
}

@keyframes flamePulse {
  0%, 100% { opacity: 0.82; filter: blur(0); }
  50% { opacity: 1; filter: blur(1px); }
}

@keyframes steamRise {
  0% { transform: translateY(90px) translateX(0) rotate(0deg) scaleY(0.5); opacity: 0; }
  20% { opacity: 0.7; }
  60% { opacity: 0.65; }
  100% { transform: translateY(-90px) translateX(var(--steam-drift, 20px)) rotate(18deg) scaleY(1.25); opacity: 0; }
}

@keyframes mouseDot {
  0% { transform: translate(-50%, 0); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translate(-50%, 18px); opacity: 0; }
}

@keyframes orbMove {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(18px,-20px,0) scale(1.08); }
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
    border-radius: 1.4rem;
  }

  .site-header nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: auto;
    display: block;
    padding-bottom: 8rem;
  }

  h1 {
    font-size: clamp(3.8rem, 10vw, 5.4rem);
  }

  .hero-left,
  .hero-copy,
  .brew-stage {
    position: relative;
    top: auto;
  }

  .hero-left {
    min-height: clamp(480px, 66vh, 620px);
  }

  .hero-copy {
    padding-top: 21vh;
  }

  .hero-left,
  .hero-copy,
  .hero,
  .site-header,
  .skip-link:focus {
    width: auto;
  }

  .brew-stage {
    min-height: 640px;
    margin-top: 2rem;
    overflow: hidden;
  }

  .kettle-wrap {
    width: min(540px, 82vw);
  }

  .product-output-origin {
    left: 17.5%;
    top: 54%;
  }

  .output-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-output {
    min-height: 116px;
  }

  section[id] {
    scroll-margin-top: 5.8rem;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .process-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .track-line {
    display: none;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why {
    width: min(100% - 2rem, 720px);
  }

  .why-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 1rem);
    top: 0.5rem;
    padding: 0.55rem;
  }

  .brand {
    width: auto;
    height: auto;
    padding: 0;
  }

  .brand img {
  height: 24px;
  }

  .site-header .nav-cta {
    font-size: 0.82rem;
    padding: 0.75rem 0.85rem;
  }

  .hero {
    min-height: 100vh;
    padding-inline: 1rem;
    padding-top: 7.5rem;
    padding-bottom: 5rem;
  }

  h1 {
    font-size: 3.7rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .brew-stage {
    min-height: 500px;
    margin-top: 1rem;
  }

  .brew-stage.kettle-sequence {
    position: fixed;
    top: 5rem;
    left: 50%;
    right: auto;
    width: min(42vw, 175px);
    min-height: 180px;
    margin: 0;
    z-index: 80;
    pointer-events: none;
    overflow: visible;
    transform: translateX(-50%);
  }

  .brew-stage.kettle-sequence::before {
    width: 150%;
    max-width: none;
    opacity: 0.65;
  }

  .brew-stage.kettle-sequence::after {
    width: 120%;
    height: 28%;
    bottom: 3%;
    opacity: 0.7;
  }

  .kettle-wrap {
    width: 100%;
  }

  .brew-stage.kettle-sequence .ingredient-field,
  .brew-stage.kettle-sequence .steam-trail,
  .brew-stage.kettle-sequence .grind-particles {
    transform: scale(0.55);
    transform-origin: 50% 50%;
  }

  .brew-stage.kettle-sequence .steam-trail {
    top: -113%;
    left: -82%;
  }

  .brew-stage.kettle-sequence .grind-particles {
    left: 31%;
    top: 36%;
    width: 100px;
    height: 100px;
  }

  .brew-stage.kettle-sequence .product-output-origin {
    transform: scale(0.75);
    transform-origin: 0 0;
  }

  .hero-left {
    min-height: clamp(500px, 76vh, 640px);
    align-items: end;
  }

  .hero-output-showcase {
    width: 100%;
  }

  .output-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .ingredient {
    width: 42px;
    border-radius: 0.9rem;
  }

  .ingredient.secondary {
    display: none;
  }

  .product-output-origin {
    left: 18%;
    top: 54%;
  }

  .product-output {
    width: auto;
    min-height: 90px;
    padding: 0.6rem;
    border-radius: 0.8rem;
  }

  .product-output strong {
    font-size: 0.72rem;
    line-height: 1.15;
  }

  .product-output small {
    font-size: 0.6rem;
    line-height: 1.28;
  }

  .output-icon {
    width: 1.85rem;
    height: 1.85rem;
    top: 0.55rem;
    left: 0.55rem;
    border-radius: 0.7rem;
  }

  .nozzle-trail {
    width: 96px;
  }

  .phone-frame {
    width: 46px;
    height: 62px;
  }

  .dashboard-frame,
  .store-frame {
    height: 56px;
  }

  section:not(.hero) {
    padding-inline: 1rem;
  }

  .service-grid,
  .process-track,
  .why {
    grid-template-columns: 1fr;
  }

  .process-track {
    padding-top: 0;
  }

  .track-line {
    display: block;
    left: 1.65rem;
    top: 0;
    bottom: 0;
    width: 2px;
    height: 100%;
    right: auto;
  }

  .track-line span {
    width: 100%;
    height: calc(var(--track-progress) * 100%);
  }

  .process-step {
    padding-left: 5rem;
  }

  .process-step strong {
    position: absolute;
    left: 1rem;
  }

  .terminal-card {
    transform: rotate(0deg);
  }

  .contact-meta {
    font-size: 0.82rem;
    padding: 0.85rem;
    overflow-wrap: anywhere;
  }

  .business-id {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-meta {
    font-size: 0.76rem;
    line-height: 1.5;
  }

  .site-footer {
    flex-direction: column;
    padding-inline: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .steam-trail,
  .cursor-glow {
    display: none;
  }
  .ingredient {
    opacity: 0.78;
    transform: translate(var(--from-x), var(--from-y)) scale(0.9);
  }
  .product-output {
    opacity: 1;
    filter: none;
  }
  .product-mobile {
    transform: translate(-50%, -50%) translate(-190px, -150px) scale(0.92);
  }
  .product-saas {
    transform: translate(-50%, -50%) translate(-285px, 0) scale(0.92);
  }
  .product-ecommerce {
    transform: translate(-50%, -50%) translate(-170px, 150px) scale(0.92);
  }
  #kettle-lid {
    transform: translate(-12px, -26px) rotate(-18deg);
  }
  .brew-energy {
    opacity: 0.22;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
