:root {
  --paper: #f7f4ef;
  --paper-deep: #ebe4d8;
  --ink: #1f2428;
  --ink-soft: #4a5259;
  --lens: #506f8c;
  --lens-deep: #3a556d;
  --ochre: #c48a1a;
  --olive: #5a6a32;
  --sienna: #8f5e3d;
  --frame: #2c3034;
  --line: rgba(31, 36, 40, 0.12);
  --shadow: 0 28px 60px rgba(31, 36, 40, 0.14);
  --radius: 1.25rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(80, 111, 140, 0.18), transparent 55%),
    radial-gradient(900px 600px at -10% 20%, rgba(196, 138, 26, 0.12), transparent 50%),
    linear-gradient(180deg, #fbf9f5 0%, var(--paper) 40%, #f3eee5 100%);
  min-height: 100vh;
}

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

a {
  color: var(--lens-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

.paint { color: var(--ink); }
.lens { color: var(--lens); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2rem);
  backdrop-filter: blur(12px);
  background: rgba(251, 249, 245, 0.82);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  border-radius: 0.55rem;
  box-shadow: 0 4px 14px rgba(31, 36, 40, 0.12);
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper) !important;
}

.nav-cta:hover {
  background: var(--lens-deep);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2rem) clamp(3rem, 7vw, 5rem);
  min-height: calc(100svh - 4.5rem);
}

.hero-atmosphere {
  position: absolute;
  inset: 8% 5% auto auto;
  width: min(48vw, 520px);
  height: min(48vw, 520px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 40%, rgba(80, 111, 140, 0.22), transparent 65%),
    radial-gradient(circle at 70% 70%, rgba(196, 138, 26, 0.16), transparent 60%);
  filter: blur(8px);
  pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-18px, 22px, 0) scale(1.06); }
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 600;
}

.brand-hero {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(3rem, 8vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.lede {
  margin: 0 0 1.6rem;
  max-width: 32rem;
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: var(--ink-soft);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.btn-primary {
  background: var(--ink);
  color: var(--paper) !important;
}

.btn-primary:hover {
  background: var(--lens-deep);
  color: #fff !important;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink) !important;
}

.btn-ghost:hover {
  border-color: var(--lens);
  color: var(--lens-deep) !important;
}

.btn-disabled {
  opacity: 0.72;
  cursor: default;
  transform: none !important;
}

.hero-visual {
  margin: 0;
  position: relative;
  z-index: 1;
}

.hero-visual img {
  width: 100%;
  border-radius: calc(var(--radius) + 0.4rem);
  animation: rise-in 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2rem);
}

.band-reverse {
  direction: rtl;
}

.band-reverse > * {
  direction: ltr;
}

.band-text h2,
.studio-copy h2,
.get-inner h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.band-text p,
.studio-copy p,
.get-inner p {
  margin: 0;
  max-width: 28rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.phone-frame {
  margin: 0;
  justify-self: center;
  width: min(100%, 280px);
  filter: drop-shadow(var(--shadow));
}

.phone-frame img {
  border-radius: 1.6rem;
}

.studio {
  max-width: min(var(--max), 720px);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem) clamp(3rem, 7vw, 5rem);
  display: grid;
  gap: 1.5rem;
}

.studio-copy {
  max-width: 36rem;
}

.compare {
  width: 100%;
}

.compare-frame {
  position: relative;
  container-type: inline-size;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #ddd7cb;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
}

.compare-after {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

.compare-before-wrap {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--pos, 50%);
  overflow: hidden;
  border-right: 2px solid rgba(251, 249, 245, 0.92);
  pointer-events: none;
}

.compare-before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100cqi;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 0;
  z-index: 2;
  pointer-events: none;
}

.compare-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.5rem;
  height: 2.5rem;
  margin: -1.25rem 0 0 -1.25rem;
  border-radius: 50%;
  background: rgba(251, 249, 245, 0.95);
  border: 2px solid var(--ink);
  box-shadow: 0 8px 20px rgba(31, 36, 40, 0.22);
}

.compare-knob::before,
.compare-knob::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  transform: translateY(-50%) rotate(45deg);
}

.compare-knob::before {
  left: 0.55rem;
  transform: translateY(-50%) rotate(-135deg);
}

.compare-knob::after {
  right: 0.55rem;
}

.compare-label {
  position: absolute;
  bottom: 0.85rem;
  z-index: 3;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(31, 36, 40, 0.62);
  color: var(--paper);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  pointer-events: none;
}

.compare-label-before { left: 0.85rem; }
.compare-label-after { right: 0.85rem; }

.compare-control {
  display: block;
  margin-top: 0.85rem;
}

.compare-control input[type="range"] {
  width: 100%;
  accent-color: var(--lens);
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.get {
  padding: 0 clamp(1rem, 4vw, 2rem) clamp(3.5rem, 8vw, 5.5rem);
}

.get-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: calc(var(--radius) + 0.35rem);
  background:
    linear-gradient(135deg, rgba(80, 111, 140, 0.12), rgba(196, 138, 26, 0.1)),
    var(--paper-deep);
  border: 1px solid var(--line);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0.85rem;
}

.get-icon {
  border-radius: 1rem;
  box-shadow: 0 10px 24px rgba(31, 36, 40, 0.14);
}

.get-inner .cta-row {
  justify-content: center;
  margin-top: 0.4rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem clamp(1rem, 4vw, 2rem) 2.5rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.35rem;
}

.footer-tag,
.footer-meta {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.footer-meta a {
  text-decoration: none;
  font-weight: 500;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 0;
    max-width: 420px;
    margin-inline: auto;
  }

  .band,
  .band-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    text-align: center;
  }

  .band-text p {
    margin-inline: auto;
  }

  .studio-copy {
    text-align: center;
    margin-inline: auto;
  }

  .studio-copy p {
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-atmosphere,
  .hero-visual img,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
