/* Astonishing Studio — editorial */
:root {
  --bg: #F8F1F4; --surface: #FFF7FA; --ink: #1A0612; --ink2: #2D0F1E;
  --primary: #7A1F4A; --accent: #D4A017; --warm: #F3E5D8;
  --primary-ink: #5C1537; --warm-ink: #8A6A14; --mist: #E6D3DB;
  --font-display: "Cormorant Garamond", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --nav-h: 4.25rem; --radius: 0.15rem; --tracking: -0.03em;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
body {
  font-family: var(--font-body); color: var(--ink); background: var(--bg);
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
.container { width: min(1120px, 92vw); margin-inline: auto; }
.container-wide { width: min(1320px, 94vw); margin-inline: auto; }
.eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--primary-ink);
}
h1,h2,h3,.display {
  font-family: var(--font-display); font-weight: 560; line-height: 1.08;
  letter-spacing: var(--tracking); text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); }
.lede { font-size: clamp(1.05rem, 1.8vw, 1.28rem); font-weight: 400; max-width: 42ch;
  color: color-mix(in srgb, var(--ink) 72%, transparent); text-wrap: pretty; }
.muted { color: color-mix(in srgb, var(--ink) 58%, transparent); }
em { font-style: italic; color: var(--primary-ink); }
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; color: #fff;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 75%, transparent), transparent);
  transition: background .35s var(--ease), color .35s, box-shadow .35s;
}
.site-header.scrolled {
  color: var(--ink); background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--mist);
}
.nav-inner {
  width: min(1320px, 94vw); margin-inline: auto; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
}
.logo-link { display: flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-size: 1.15rem; color: inherit; }
.logo-link .word span { font-weight: 400; opacity: .75; }
.nav-links { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.nav-links a { font-size: .88rem; font-weight: 500; opacity: .92; }
.nav-links a:hover { opacity: 1; color: var(--accent); }
.nav-toggle { display: none; width: 2.5rem; height: 2.5rem; position: relative; }
.nav-toggle span {
  position: absolute; left: .55rem; right: .55rem; height: 2px; background: currentColor;
  transition: transform .25s;
}
.nav-toggle span:nth-child(1) { top: .8rem; }
.nav-toggle span:nth-child(2) { top: 1.2rem; }
.nav-toggle span:nth-child(3) { top: 1.6rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.35rem; border-radius: var(--radius); font-weight: 600; font-size: .92rem;
  border: 1px solid transparent; transition: transform .2s var(--ease), background .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-ink); }
.btn-ghost { border-color: color-mix(in srgb, currentColor 35%, transparent); }
.btn-light { background: var(--surface); color: var(--ink); }
.hero {
  position: relative; min-height: 92vh; display: grid; align-items: end;
  padding: calc(var(--nav-h) + 3rem) 0 4rem; color: #fff; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 35%, transparent) 0%, color-mix(in srgb, var(--ink) 82%, transparent) 100%);
}
.hero-content { position: relative; z-index: 2; text-align: left; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; justify-content: left; }
.section { padding: 5rem 0; }
.section-tight { padding: 3.5rem 0; }
.section-dark { background: var(--ink); color: #f5f5f5; }
.section-dark .lede, .section-dark .muted { color: color-mix(in srgb, #fff 70%, transparent); }
.section-surface { background: var(--surface); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 900px) {
  .grid-3, .grid-4, .asymmetric, .stat-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .grid-4, .asymmetric, .stat-row { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--surface); color: var(--ink); flex-direction: column; padding: 1rem 1.25rem 1.5rem;
    box-shadow: 0 12px 40px rgba(0,0,0,.12);
  }
  .nav-links.open { display: flex; }
}
.card {
  background: var(--surface); border: 1px solid var(--mist); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; container-type: inline-size;
}
.card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card-body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-body .kicker { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--warm-ink); font-weight: 600; }
.card:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--mist)); }

.asymmetric { display:grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items:end; }
.asymmetric .bleed { margin-right: -8vw; }
.pull-quote { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.8rem); line-height:1.2; max-width: 18ch; }

.page-hero {
  padding: calc(var(--nav-h) + 3rem) 0 2.5rem; background: var(--surface);
  border-bottom: 1px solid var(--mist);
}
.breadcrumbs { font-size: .85rem; color: var(--primary-ink); margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.prose { max-width: 68ch; }
.prose p { margin: 1rem 0; text-wrap: pretty; }
.prose h2 { margin: 2rem 0 .75rem; }
.prose ul { list-style: disc; padding-left: 1.2rem; margin: 1rem 0; }
.prose li { margin: .35rem 0; }
.specs { width: 100%; border-collapse: collapse; font-size: .95rem; }
.specs th, .specs td { text-align: left; padding: .75rem .5rem; border-bottom: 1px solid var(--mist); }
.specs th { width: 38%; color: var(--primary-ink); font-weight: 600; }
.cta-band {
  padding: 4.5rem 0; background: var(--ink); color: #fff; text-align: center; position: relative; overflow: hidden;
}
.site-footer { background: var(--ink2); color: color-mix(in srgb, #fff 82%, transparent); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand p { margin-top: .9rem; font-size: .92rem; max-width: 36ch; }
.footer-company { margin-top: 1rem !important; font-size: .85rem !important; opacity: .85; }
.footer-col h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8rem; }
.footer-col a { display: block; font-size: .92rem; padding: .25rem 0; opacity: .85; }
.footer-col a:hover { opacity: 1; color: var(--accent); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid color-mix(in srgb, #fff 15%, transparent);
  font-size: .85rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
/* Scroll reveals — varied ranges */
@supports ((animation-timeline: view()) and (animation-range: entry)) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
    .reveal-late { animation: rise-soft linear both; animation-timeline: view(); animation-range: entry 10% entry 50%; }
    .reveal-side { animation: slide-in linear both; animation-timeline: view(); animation-range: entry 5% entry 40%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes rise-soft { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.tag { display: inline-block; padding: .25rem .6rem; border: 1px solid var(--mist); border-radius: var(--radius); font-size: .75rem; }
.media-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--mist); }
.media-frame img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.list-links a { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--mist); }
.list-links a:hover { color: var(--primary-ink); }
