:root {
  /* Lamp-lit ink: cool mist paper + warm apricot light — not cream lifestyle, not amber parchment */
  --ink: #221e1b;
  --ink-soft: #5a5148;
  --paper: #e8e6e2;
  --paper-deep: #ddd8d1;
  --mist: #d5dde6;
  --lamp: #e8b896;
  --lamp-deep: #c4895a;
  --honey: #a86f45;
  --honey-deep: #8a5a38;
  --line: rgba(34, 30, 27, 0.1);
  --font-brand: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-ui: "Outfit", sans-serif;
  --font-prose: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 70rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-prose);
  color: var(--ink);
  background:
    radial-gradient(58% 48% at 86% 4%, rgba(232, 184, 150, 0.42), transparent 58%),
    radial-gradient(42% 36% at 6% 92%, rgba(196, 122, 82, 0.14), transparent 52%),
    radial-gradient(50% 40% at 48% 48%, rgba(213, 221, 230, 0.35), transparent 60%),
    linear-gradient(168deg, #ebe7e1 0%, var(--paper) 42%, #dfe4ea 72%, var(--paper-deep) 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* soft film grain — life without chrome */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

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

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem);
}

.brand-mark {
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: 1.05rem;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav {
  display: flex;
  gap: 1.35rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav a {
  position: relative;
  transition: color 0.25s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.2rem;
  height: 1.5px;
  background: var(--honey);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav a:hover {
  color: var(--honey-deep);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: clip;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 42%;
  animation: drift 24s var(--ease) infinite alternate;
}

.hero-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      105deg,
      rgba(235, 231, 225, 0.92) 0%,
      rgba(235, 231, 225, 0.58) 22%,
      rgba(232, 184, 150, 0.12) 38%,
      transparent 54%
    ),
    linear-gradient(to top, rgba(221, 216, 209, 0.35) 0%, transparent 32%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  right: -4%;
  top: 4%;
  width: min(48vw, 30rem);
  height: min(48vw, 30rem);
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 168, 0.32) 0%, transparent 70%);
  pointer-events: none;
  animation: breathe 7s ease-in-out infinite;
  mix-blend-mode: soft-light;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  padding:
    calc(5.5rem + env(safe-area-inset-top, 0px))
    clamp(1.25rem, 4vw, 2.75rem)
    clamp(3rem, 8vh, 5rem);
  animation: rise 0.95s var(--ease) both;
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-brand);
  font-weight: 650;
  font-optical-sizing: auto;
  font-size: clamp(3rem, 8.5vw, 4.85rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--ink);
  animation: brandIn 1.1s var(--ease) both;
}

.hero-line {
  margin: 0 0 1.05rem;
  font-size: clamp(1.18rem, 2.4vw, 1.4rem);
  color: var(--ink-soft);
  max-width: 28rem;
  font-weight: 400;
}

.studio-credit {
  margin: 0 0 1.55rem;
  font-family: var(--font-ui);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.studio-credit a {
  color: var(--honey-deep);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(168, 111, 69, 0.45);
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

.studio-credit a:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.9rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.2rem;
  border-radius: 0.4rem;
  font-family: var(--font-ui);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn-soft {
  background: linear-gradient(165deg, rgba(232, 184, 150, 0.35), rgba(168, 111, 69, 0.12));
  color: var(--honey-deep);
  border-color: rgba(168, 111, 69, 0.28);
  box-shadow: 0 1px 0 rgba(255, 248, 240, 0.5) inset;
  cursor: default;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.25rem, 7vw, 5rem) clamp(1.25rem, 4vw, 2.5rem);
}

.focus-band {
  position: relative;
  border-top: none;
  animation: rise 1s var(--ease) 0.12s both;
}

.focus-band::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  background:
    radial-gradient(55% 80% at 12% 30%, rgba(232, 184, 150, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(213, 221, 230, 0.28), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.focus-band > * {
  position: relative;
  z-index: 1;
}

.focus-band h2,
.pillars h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-brand);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -0.025em;
}

.focus-band h2 {
  font-size: clamp(1.55rem, 3.2vw, 2rem);
}

.focus-band p {
  margin: 0;
  max-width: 40rem;
  font-size: 1.14rem;
  color: var(--ink-soft);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-top: 0.5rem;
  animation: rise 1s var(--ease) 0.22s both;
}

.pillar {
  position: relative;
  padding: 0.15rem 0 0.15rem 1.15rem;
}

.pillar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--lamp-deep), rgba(168, 111, 69, 0.25));
  transform-origin: top;
  animation: barGrow 0.9s var(--ease) 0.35s both;
}

.pillar h3 {
  font-size: 1.22rem;
  color: var(--ink);
}

.pillar p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
  max-width: 28rem;
}

.studio-band {
  position: relative;
  border-top: none;
  overflow: clip;
  animation: rise 1s var(--ease) 0.28s both;
}

.studio-band::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  background:
    radial-gradient(60% 90% at 88% 20%, rgba(232, 184, 150, 0.22), transparent 55%),
    linear-gradient(185deg, rgba(168, 111, 69, 0.1), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.studio-band > * {
  position: relative;
  z-index: 1;
}

.studio-band h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-brand);
  font-size: clamp(1.55rem, 3.2vw, 2rem);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -0.025em;
}

.studio-band p {
  margin: 0 0 0.85rem;
  max-width: 40rem;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.studio-band a {
  color: var(--honey-deep);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: rgba(168, 111, 69, 0.4);
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

.studio-band a:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}

.studio-band-link {
  margin: 0 !important;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.98rem !important;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--ink-soft);
  background: linear-gradient(180deg, transparent, rgba(232, 184, 150, 0.08));
}

.site-footer a {
  color: var(--honey-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  font-weight: 600;
}

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

.footer-credit,
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  align-items: baseline;
}

.footer-product {
  font-family: var(--font-brand);
  color: var(--ink);
  font-weight: 600;
}

.footer-credit .sep,
.footer-meta .sep {
  opacity: 0.45;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes brandIn {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
    letter-spacing: -0.01em;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: -0.035em;
  }
}

@keyframes drift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.07) translate3d(-1.4%, 0.7%, 0);
  }
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes barGrow {
  from {
    transform: scaleY(0);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (max-width: 720px) {
  .hero-fade {
    background:
      linear-gradient(
        to top,
        rgba(235, 231, 225, 0.96) 0%,
        rgba(235, 231, 225, 0.84) 40%,
        rgba(232, 184, 150, 0.28) 68%,
        transparent 100%
      );
  }

  .hero-glow {
    width: 70vw;
    height: 70vw;
    top: 4%;
    right: -18%;
  }

  .hero-visual img {
    object-position: 85% 28%;
    animation: none;
  }

  .hero-copy {
    padding-bottom: 2.5rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
