/* ============================================================
   ARTIFEX — premium minimalist design system
   ============================================================ */

:root {
  /* Palette — warm earth tones pulled from brand */
  --cream:        #f5efe4;
  --cream-2:      #ece4d4;
  --paper:        #ffffff;
  --ink:          #1a2128;
  --ink-soft:     #2d3842;
  --muted:        #717c86;
  --line:         #e1d9c9;
  --line-soft:    #ede6d7;

  --accent:       #d9a983;      /* warm peach / terracotta */
  --accent-dark:  #b2825e;
  --accent-soft:  #efd6bc;
  --accent-50:    #f8ebdc;

  --dark:         #161c22;
  --dark-2:       #1e262d;
  --dark-3:       #2a333b;

  /* Type */
  --font-serif:   'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Rhythm */
  --r-xs: 2px; --r-sm: 6px; --r-md: 12px; --r-lg: 18px; --r-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(20,26,30,.05);
  --shadow-md: 0 10px 30px -12px rgba(20,26,30,.18);
  --shadow-lg: 0 40px 80px -30px rgba(20,26,30,.35);
  --shadow-xl: 0 60px 120px -40px rgba(20,26,30,.4);

  --ease:     cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in:  cubic-bezier(.5, 0, .75, 0);

  --container: 1280px;
  --gutter:    clamp(20px, 4vw, 56px);
  --section-y: clamp(88px, 11vw, 160px);
}

/* ============ Base ============ */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}
body.nav-open { overflow: hidden; }

/* Subtle canvas grain across the whole page */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

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

/* Skip layout/paint for off-screen sections until needed */
.story,
.spotlight,
.materials,
.feature,
.gallery,
.process,
.testimonials,
.faq,
.cta,
.contact,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

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

/* ============ Loader ============ */

.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 24px;
  /* Auto-dismiss via pure CSS so loader cannot block LCP even if JS is slow */
  animation: loaderAutoHide .5s var(--ease) .55s forwards;
  pointer-events: none;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__mark { width: 72px; height: 52px; color: var(--accent-dark); animation: loaderFloat 2.4s var(--ease) infinite; }
.loader__word {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .4em;
  color: var(--ink);
  padding-left: .4em;
}
.loader__bar {
  width: 140px; height: 1px; background: var(--line); overflow: hidden;
}
.loader__bar-fill {
  display: block; width: 0%; height: 100%;
  background: var(--accent-dark);
  animation: loaderFill .55s var(--ease-out) forwards;
}
@keyframes loaderFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes loaderFill { to { width: 100%; } }
@keyframes loaderAutoHide { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .loader { animation: none; opacity: 0; visibility: hidden; }
}

/* ============ Custom cursor (desktop only, touch hides) ============ */

.cursor, .cursor-dot {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 999;
  border-radius: 50%;
  mix-blend-mode: difference;
  transition: transform .18s var(--ease), width .3s var(--ease), height .3s var(--ease), background .3s var(--ease), opacity .3s var(--ease);
  opacity: 0;
}
.cursor {
  width: 34px; height: 34px;
  border: 1px solid rgba(245, 239, 228, .9);
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 5px; height: 5px;
  background: var(--cream);
  transform: translate(-50%, -50%);
  transition: transform .08s linear;
}
body.cursor-ready .cursor,
body.cursor-ready .cursor-dot { opacity: 1; }

.cursor.is-link { transform: translate(-50%, -50%) scale(1.5); border-color: var(--accent-soft); }
.cursor.is-cta  { transform: translate(-50%, -50%) scale(2.2); background: rgba(217, 169, 131, .15); border-color: transparent; }
.cursor.is-view::after {
  content: 'view';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: 10px; letter-spacing: .2em; color: var(--cream); text-transform: uppercase;
  mix-blend-mode: difference;
}
.cursor.is-view { transform: translate(-50%, -50%) scale(2.4); background: rgba(217, 169, 131, .2); border-color: transparent; }

@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-dot { display: none !important; }
}

/* ============ Typography ============ */

h1, h2, h3, .h1, .h2, .h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.018em;
  color: var(--ink);
  line-height: 1.06;
}

.h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  margin-bottom: .6em;
}
.h2 em, h1 em { font-style: italic; font-weight: 300; color: var(--ink-soft); }
.h2--light { color: var(--cream); }
.h2--light em { color: var(--accent-soft); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 1.4em;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px; background: currentColor;
  display: inline-block;
}
.eyebrow--light { color: var(--accent-soft); }

.lede {
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 56ch;
}
.lede--light { color: rgba(245,239,228,.78); }
.lede--center { margin: 0 auto; text-align: center; }

.p { color: var(--muted); max-width: 58ch; }

.link-inline {
  color: var(--accent-dark);
  border-bottom: 1px solid currentColor;
  transition: color .3s var(--ease);
}
.link-inline:hover { color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.link-arrow svg { width: 22px; height: 22px; transition: transform .4s var(--ease); }
.link-arrow:hover { color: var(--accent-dark); border-color: var(--accent-dark); }
.link-arrow:hover svg { transform: translateX(8px); }

/* ============ Layout ============ */

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); position: relative; }
.section--dark { background: var(--dark); color: var(--cream); }

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(56px, 7vw, 96px);
}
.section__head--between {
  display: flex; justify-content: space-between; align-items: flex-end;
  max-width: 100%; text-align: left; gap: 40px;
}
@media (max-width: 800px) {
  .section__head--between { flex-direction: column; align-items: flex-start; }
  .section__head--between .lede { text-align: left !important; }
}
.section__head .eyebrow { display: inline-flex; }

/* ============ Buttons ============ */

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 12px;
  padding: 15px 28px;
  font-family: var(--font-sans);
  font-size: .86rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: transform .5s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .5s var(--ease);
  white-space: nowrap;
  overflow: hidden;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--lg { padding: 18px 36px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn--pill { border-radius: 999px; padding: 12px 20px 12px 24px; font-size: .78rem; }

.btn--primary {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.btn--primary::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
  z-index: 0;
}
.btn--primary > * { position: relative; z-index: 1; transition: color .4s var(--ease); }
.btn--primary:hover::before { transform: translateY(0); }
.btn--primary:hover { color: var(--ink); border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245, 239, 228, .35);
}
.btn--ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); transform: translateY(-2px); }

.btn--ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: rgba(26, 33, 40, .2);
}
.btn--ghost-dark:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: translateY(-2px); }

/* ============ Navigation ============ */

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px 0;
  color: var(--cream);
  transition: background .45s var(--ease), padding .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease);
}
.nav.is-scrolled {
  background: rgba(245, 239, 228, .88);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  color: var(--ink);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(26,33,40,.06);
}

.nav__inner { display: flex; align-items: center; gap: 36px; }

.nav__logo { display: inline-flex; align-items: center; gap: 12px; }
.nav__mark { width: 30px; height: 26px; color: var(--accent); }
.nav__wordmark {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: .32em;
  font-size: .95rem;
}

/* Real logo image — white over dark hero, full colour once scrolled */
.nav__brand-img {
  display: block;
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter .45s var(--ease);
}
.nav.is-scrolled .nav__brand-img { filter: none; }

.nav__links {
  display: flex; gap: 32px;
  margin-left: auto;
  font-size: .84rem;
  letter-spacing: .04em;
}
.nav__links a {
  position: relative;
  padding: 6px 2px;
  opacity: .88;
  transition: opacity .3s var(--ease);
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width .45s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { width: 100%; }

.nav__cta { margin-left: 8px; }
.nav__cta svg { width: 14px; height: 14px; }

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav__burger span { display: block; width: 22px; height: 1.4px; background: currentColor; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.nav__burger.is-open span:first-child { transform: translateY(3.7px) rotate(45deg); }
.nav__burger.is-open span:last-child  { transform: translateY(-3.7px) rotate(-45deg); }

.nav__mobile {
  position: fixed;
  top: 70px; left: 0; right: 0; bottom: 0;
  background: var(--cream);
  padding: 40px var(--gutter);
  display: flex; flex-direction: column;
  gap: 28px;
  color: var(--ink);
  border-top: 1px solid var(--line);
  overflow-y: auto;
}
.nav__mobile[hidden] { display: none; }
.nav__mobile nav { display: flex; flex-direction: column; gap: 4px; }
.nav__mobile nav a {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.nav__mobile-meta { margin-top: auto; display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: .88rem; }

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: inline-flex; }
}

/* ============ Hero ============ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 60px;
}
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__media img {
  width: 100%; height: 110%;
  object-fit: cover; object-position: center;
  transform: scale(1.05);
  animation: heroZoom 10s var(--ease-out) forwards;
  will-change: transform;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(16,20,24,.70) 0%, rgba(16,20,24,.28) 55%, rgba(16,20,24,.1) 100%),
    linear-gradient(180deg, rgba(16,20,24,.35) 0%, rgba(16,20,24,0) 40%, rgba(16,20,24,.5) 100%);
}
.hero__grain {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(217,169,131,.14), transparent 60%);
  mix-blend-mode: soft-light;
}

.hero__inner { position: relative; z-index: 2; width: 100%; }

.hero__meta {
  display: flex; gap: 28px;
  margin-bottom: 32px;
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(245,239,228,.75);
}
.hero__meta-item { display: inline-flex; align-items: center; gap: 10px; }
.hero__meta-item i {
  width: 6px; height: 6px; background: var(--accent-soft); border-radius: 50%; display: inline-block;
}

.hero__title {
  font-size: clamp(3rem, 8.6vw, 8rem);
  font-weight: 300;
  line-height: .94;
  letter-spacing: -0.028em;
  color: var(--cream);
  margin-bottom: 40px;
}
.hero__title .split { display: block; }
.hero__title .split--italic {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-soft);
}

.hero__row {
  display: flex; gap: 48px;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.hero__lede {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.7;
  max-width: 66ch;
  color: rgba(245,239,228,.88);
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(245,239,228,.18);
  padding-top: 32px;
}
.hero__ministat {
  display: flex; flex-direction: column; gap: 8px;
  padding-right: 24px;
}
.hero__ministat--last { padding-right: 0; }
.hero__ministat-num {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  font-weight: 400;
  line-height: 1;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.hero__ministat-num em {
  font-style: normal;
  font-size: .55em;
  color: var(--accent-soft);
  margin-left: 4px;
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: .05em;
}
.hero__ministat-label {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(245,239,228,.55);
  line-height: 1.5;
}

.hero__scroll {
  position: absolute;
  bottom: 28px; right: var(--gutter);
  z-index: 2;
  display: inline-flex;
  flex-direction: column; align-items: center;
  gap: 10px;
  font-size: .68rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(245,239,228,.65);
  transition: color .3s var(--ease);
}
.hero__scroll svg { width: 16px; height: 16px; animation: bounce 2.4s infinite; }
.hero__scroll:hover { color: var(--cream); }
@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: .55; }
  50%      { transform: translateY(8px); opacity: 1; }
}

@media (max-width: 900px) {
  .hero__footer { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .hero__ministat:nth-child(2) { padding-right: 0; }
  .hero__scroll { display: none; }
}
@media (max-width: 540px) {
  .hero__meta { gap: 18px; flex-wrap: wrap; }
  .hero__footer { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { flex: 1; min-width: 150px; }
}

/* ============ Marquee ============ */

.marquee {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  overflow: hidden;
  position: relative;
}
.marquee__track {
  display: inline-flex; align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
  will-change: transform;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--ink-soft);
}
.marquee__dot { color: var(--accent-dark); font-size: .8em; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 700px) {
  .marquee__track { font-size: 1.05rem; gap: 28px; animation-duration: 28s; }
}

/* ============ Manifesto ============ */

.manifesto__inner {
  max-width: 1000px;
  text-align: center;
}
.manifesto__inner .eyebrow { display: inline-flex; }
.manifesto__text {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  line-height: 1.3;
  font-weight: 300;
  color: var(--ink-soft);
  margin: 24px auto 40px;
}
.reveal-word {
  display: inline-block;
  opacity: .18;
  transition: opacity .8s var(--ease-out), color .8s var(--ease-out);
}
.reveal-word.is-lit { opacity: 1; color: var(--ink); }
.reveal-word--accent.is-lit { color: var(--accent-dark); font-style: italic; }

.manifesto__sign {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--muted);
  font-size: .9rem;
  letter-spacing: .04em;
}
.manifesto__sign svg { width: 36px; height: 26px; color: var(--accent-dark); }

/* ============ Story ============ */

.story__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 104px);
  align-items: center;
}
.story__copy .lede { margin-bottom: 24px; }
.story__copy .p   { margin-bottom: 44px; }

.specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.spec { display: flex; align-items: flex-start; gap: 14px; }
.spec svg { width: 34px; height: 34px; color: var(--accent-dark); flex-shrink: 0; }
.spec strong {
  display: block;
  font-family: var(--font-serif); font-size: 1.08rem; font-weight: 500;
  color: var(--ink); margin-bottom: 2px;
}
.spec span { font-size: .86rem; color: var(--muted); }

.story__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.story__visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s var(--ease-out);
}
.story__visual:hover img { transform: scale(1.04); }
.story__badge {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--cream);
  color: var(--ink);
  padding: 20px 24px;
  border-radius: var(--r-md);
  display: flex; flex-direction: column; gap: 2px;
  box-shadow: var(--shadow-md);
}
.story__badge-sm {
  font-size: .68rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted);
}
.story__badge-lg {
  font-family: var(--font-serif);
  font-size: 2.2rem; line-height: 1;
  margin: 2px 0;
}
@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__visual { aspect-ratio: 4 / 3; }
  .specs { grid-template-columns: 1fr; gap: 20px; }
}

/* ============ Spotlight ============ */

.spotlight {
  background: var(--dark);
  color: var(--cream);
  overflow: hidden;
  position: relative;
}
.spotlight::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 85% 50%, rgba(217,169,131,.1), transparent 55%),
    radial-gradient(ellipse at 0% 0%, rgba(217,169,131,.06), transparent 50%);
  pointer-events: none;
}
.spotlight__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.spotlight__left .lede { margin-bottom: 36px; }
.spotlight__list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; }
.spotlight__list li {
  display: flex; align-items: baseline; gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(245,239,228,.1);
  color: rgba(245,239,228,.88);
  font-size: 1rem;
}
.spotlight__list li span {
  font-family: var(--font-serif); font-size: .88rem;
  color: var(--accent-soft); letter-spacing: .1em;
}
.spotlight__right {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.spotlight__right img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s var(--ease-out);
}
.spotlight__right:hover img { transform: scale(1.04); }
.spotlight__price {
  position: absolute; top: 24px; right: 24px;
  background: rgba(22,28,34,.88);
  backdrop-filter: blur(14px);
  color: var(--cream);
  padding: 14px 20px;
  border-radius: var(--r-md);
  display: flex; flex-direction: column; gap: 2px;
  border: 1px solid rgba(245,239,228,.15);
}
.spotlight__price span {
  font-size: .68rem; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(245,239,228,.6);
}
.spotlight__price strong {
  font-family: var(--font-serif); font-size: 1.6rem; line-height: 1; font-weight: 500;
}

@media (max-width: 900px) {
  .spotlight__inner { grid-template-columns: 1fr; }
  .spotlight__right { aspect-ratio: 16 / 10; }
}

/* ============ Materials ============ */

.materials__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.material {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s var(--ease);
  cursor: default;
}
.material:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}
.material__swatch {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(180deg, rgba(255,255,255,.12) 0%, rgba(0,0,0,.18) 100%),
    repeating-linear-gradient(
      95deg,
      var(--swatch) 0px,
      var(--swatch) 8px,
      color-mix(in srgb, var(--swatch) 88%, #000) 8px,
      color-mix(in srgb, var(--swatch) 88%, #000) 9px,
      var(--swatch) 9px,
      var(--swatch) 22px,
      color-mix(in srgb, var(--swatch) 82%, #000) 22px,
      color-mix(in srgb, var(--swatch) 82%, #000) 23px
    );
  background-color: var(--swatch);
}
.material__swatch::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(255,255,255,.18), transparent 60%);
}
.material__body { padding: 26px 26px 30px; }
.material__body h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem; font-weight: 400;
  margin-bottom: 12px;
}
.material__body p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.6;
  margin-bottom: 22px;
  min-height: 80px;
}
.material__body dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.material__body dt {
  font-size: .7rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 4px;
}
.material__body dd {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--ink);
}

@media (max-width: 900px) { .materials__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .materials__grid { grid-template-columns: 1fr; } }

/* ============ Feature / Why ============ */

.feature::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(217,169,131,.09), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(217,169,131,.06), transparent 50%);
  pointer-events: none;
}
.feature__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.feature__text { position: sticky; top: 120px; }
.feature__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(245,239,228,.08);
  border: 1px solid rgba(245,239,228,.08);
}
.feature__item {
  background: var(--dark);
  padding: 40px 36px 44px;
  transition: background .5s var(--ease);
}
.feature__item:hover { background: var(--dark-2); }
.feature__num {
  display: block;
  font-family: var(--font-serif);
  font-size: .92rem; color: var(--accent); letter-spacing: .1em;
  margin-bottom: 28px;
}
.feature__item h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem; font-weight: 400;
  color: var(--cream);
  margin-bottom: 12px;
}
.feature__item p {
  font-size: .95rem; line-height: 1.65;
  color: rgba(245,239,228,.68);
}
@media (max-width: 900px) {
  .feature__grid { grid-template-columns: 1fr; }
  .feature__text { position: static; }
  .feature__list { grid-template-columns: 1fr; }
}

/* ============ Gallery ============ */

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--cream-2);
  cursor: pointer;
  grid-row: span 1;
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; grid-row: span 2; }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.gallery__item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(16,20,24,.78) 100%);
  opacity: .0;
  transition: opacity .45s var(--ease);
}
.gallery__item figcaption {
  position: absolute; left: 24px; bottom: 22px; right: 24px;
  color: var(--cream);
  z-index: 1;
  transform: translateY(10px);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
  display: flex; flex-direction: column; gap: 4px;
}
.gallery__item-meta {
  font-size: .68rem; letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.gallery__item-title {
  font-family: var(--font-serif);
  font-size: 1.35rem; font-style: italic; font-weight: 400;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item:hover figcaption { opacity: 1; transform: translateY(0); }

.gallery__more { margin-top: 56px; text-align: center; }
.gallery__more .link-arrow { font-size: 1.25rem; }

@media (max-width: 900px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery__item--wide { grid-column: span 2; grid-row: span 1; }
  .gallery__item--tall { grid-row: span 2; }
}
@media (max-width: 560px) {
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .gallery__item--tall, .gallery__item--wide { grid-column: span 1; grid-row: span 1; }
}

/* ============ Process ============ */

.process__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process__list::before {
  content: '';
  position: absolute;
  left: 24px; right: 24px;
  top: 24px;
  height: 1px;
  background: var(--line);
}
.process__list::after {
  content: '';
  position: absolute;
  left: 24px;
  top: 24px;
  height: 1px;
  width: 0;
  background: var(--accent-dark);
  animation: processLine 2s var(--ease-out) forwards;
}
.process__step {
  position: relative;
  padding: 0 24px;
  padding-top: 0;
}
.process__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: .98rem;
  color: var(--accent-dark);
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.process__step:hover .process__num { background: var(--accent); color: var(--ink); }
.process__step h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem; font-weight: 400;
  margin-bottom: 12px;
}
.process__step p {
  color: var(--muted); font-size: .95rem; line-height: 1.65;
  margin-bottom: 24px;
}
.process__time {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-dark);
  padding: 6px 12px;
  background: var(--accent-50);
  border-radius: 999px;
}
@keyframes processLine { to { width: calc(100% - 48px); } }
@media (max-width: 900px) {
  .process__list { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .process__list::before, .process__list::after { display: none; }
}
@media (max-width: 560px) {
  .process__list { grid-template-columns: 1fr; }
}

/* ============ Testimonials ============ */

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 40px 32px 32px;
  display: flex; flex-direction: column; gap: 24px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s var(--ease);
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}
.testimonial__quote { width: 28px; height: 28px; color: var(--accent); }
.testimonial blockquote {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
  flex: 1;
}
.testimonial figcaption {
  display: flex; flex-direction: column; gap: 2px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.testimonial figcaption strong {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
}
.testimonial figcaption span {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 900px) { .testimonials__grid { grid-template-columns: 1fr; } }

/* ============ FAQ ============ */

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq__head { position: sticky; top: 120px; }
.faq__head .lede { margin-top: 20px; }

.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 400;
  color: var(--ink);
  transition: color .3s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent-dark); }
.faq__plus {
  position: relative;
  width: 20px; height: 20px;
  flex-shrink: 0;
}
.faq__plus::before, .faq__plus::after {
  content: '';
  position: absolute; left: 50%; top: 50%;
  background: currentColor;
  transition: transform .35s var(--ease);
}
.faq__plus::before { width: 16px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__plus::after  { width: 1.5px; height: 16px; transform: translate(-50%, -50%); }
.faq__item[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] summary { color: var(--accent-dark); }

.faq__body {
  overflow: hidden;
  padding: 0 0 28px;
  animation: faqOpen .45s var(--ease-out);
}
.faq__body p {
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 62ch;
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 900px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
}

/* ============ CTA ============ */

.cta {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(217,169,131,.35), transparent 60%),
    var(--accent-soft);
  text-align: center;
}
.cta__inner {
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  max-width: 820px; margin: 0 auto;
}
.cta__inner .eyebrow { display: inline-flex; color: var(--accent-dark); }
.cta__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.cta__title .split { display: block; }
.cta__title .split--italic { font-style: italic; color: var(--accent-dark); }
.cta__lede {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 52ch;
  margin-top: 8px;
}
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }

/* ============ Contact ============ */

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact__list {
  margin: 32px 0 40px;
  border-top: 1px solid var(--line);
}
.contact__list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  align-items: baseline;
}
.contact__label {
  font-size: .72rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}
.contact__list a { transition: color .25s var(--ease); }
.contact__list a:hover { color: var(--accent-dark); }

.contact__social { display: flex; gap: 10px; }
.contact__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.contact__social a:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: translateY(-2px); }
.contact__social svg { width: 18px; height: 18px; }

/* Form */
.contact__form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-md);
  display: grid; gap: 20px;
}
.contact__form-title {
  font-family: var(--font-serif);
  font-size: 1.4rem; font-weight: 400;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 6px;
}

.field { position: relative; }
.field input, .field textarea {
  width: 100%;
  padding: 22px 16px 12px;
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color .3s var(--ease);
  resize: vertical;
  font-family: inherit;
}
.field textarea { min-height: 110px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-dark);
}
.field label {
  position: absolute;
  left: 14px; top: 18px;
  color: var(--muted);
  font-size: .95rem;
  pointer-events: none;
  transition: transform .28s var(--ease), font-size .28s var(--ease), color .28s var(--ease), letter-spacing .28s var(--ease);
  background: var(--paper);
  padding: 0 6px;
}
.field input::placeholder, .field textarea::placeholder { color: transparent; }
.field input:not(:placeholder-shown) + label,
.field input:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field textarea:focus + label {
  transform: translateY(-24px);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.field-group__label {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  position: relative;
  cursor: pointer;
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 10px 16px;
  font-size: .82rem;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.chip:hover span { border-color: var(--accent-dark); }
.chip input:checked + span {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.consent {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .82rem; color: var(--muted); line-height: 1.55;
  cursor: pointer;
}
.consent input { margin-top: 3px; accent-color: var(--accent-dark); }

.form__status {
  font-size: .88rem; color: var(--accent-dark); min-height: 1.3em;
}

@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

/* ============ Footer ============ */

.footer {
  background: var(--dark);
  color: rgba(245,239,228,.75);
  padding: 44px 0 20px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .5;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(245,239,228,.1);
  align-items: start;
}
.footer__brand { color: var(--cream); }
.footer__brand .nav__logo { margin-bottom: 10px; display: inline-block; }
.footer__brand .nav__wordmark { color: var(--cream); }
.footer__logo .nav__brand-img {
  height: 40px;
  filter: brightness(0) invert(1);
}
.footer__brand p { color: rgba(245,239,228,.55); line-height: 1.5; font-size: .9rem; max-width: 32ch; margin: 0; }
.footer__brand p + p { margin-top: 6px; }

/* Newsletter */
.newsletter { justify-self: end; width: 100%; max-width: 400px; }
.newsletter__label {
  display: block;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 10px;
}
.newsletter__row { display: flex; gap: 8px; }
.newsletter__row input {
  flex: 1;
  padding: 11px 14px;
  background: rgba(245,239,228,.06);
  border: 1px solid rgba(245,239,228,.15);
  border-radius: var(--r-sm);
  color: var(--cream);
  font: inherit;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.newsletter__row input::placeholder { color: rgba(245,239,228,.35); }
.newsletter__row input:focus { outline: none; border-color: var(--accent); background: rgba(245,239,228,.08); }
.newsletter__row .btn { padding: 11px 16px; }
.newsletter__row .btn svg { margin: 0; }
.newsletter__note { margin-top: 8px; font-size: .76rem; color: rgba(245,239,228,.45); }
.newsletter__note.is-ok { color: var(--accent-soft); }
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr; }
  .newsletter { justify-self: start; }
}

.footer__middle {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(245,239,228,.08);
}
.footer__nav { display: flex; flex-direction: column; gap: 8px; font-size: .88rem; }
.footer__nav-title {
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 2px;
}
.footer__nav a { transition: color .25s var(--ease); }
.footer__nav a:hover { color: var(--cream); }

.footer__bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 14px;
  font-size: .76rem; color: rgba(245,239,228,.45);
}

@media (max-width: 700px) {
  .footer__middle { grid-template-columns: 1fr 1fr; gap: 22px 20px; }
}
@media (max-width: 480px) {
  .footer__middle { grid-template-columns: 1fr; gap: 18px; }
}

/* ============ Reveal animations ============ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Split-text reveal (hero + CTA titles) */
.split {
  display: block;
  overflow: hidden;
}
.split > .split__word {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease-out);
  will-change: transform;
}
.split.is-visible > .split__word { transform: translateY(0); }
.split > .split__word:nth-child(2) { transition-delay: .08s; }
.split > .split__word:nth-child(3) { transition-delay: .16s; }
.split > .split__word:nth-child(4) { transition-delay: .24s; }
.split > .split__word:nth-child(5) { transition-delay: .32s; }

/* ============ Accessibility ============ */

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  border-radius: var(--r-md);
  z-index: 9999;
  font-weight: 600;
  letter-spacing: .02em;
}

/* Netlify Forms honeypot */
.hidden-pot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* Footer SEO keyword line */
.footer__keywords {
  margin-top: 8px;
  font-size: .76rem;
  color: rgba(245,239,228,.38);
  letter-spacing: .02em;
  line-height: 1.45;
}
