:root {
  --bg: #0a0a0a;
  --bg-elev: #101010;
  --bg-elev-2: #161616;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f1ec;
  --text-muted: #9c9893;
  --text-dim: #5e5b56;
  --accent: #d4b896;
  --accent-hover: #e5cca9;
  --accent-soft: rgba(212, 184, 150, 0.12);
  --accent-glow: rgba(212, 184, 150, 0.18);
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1180px;
  --section-pad: clamp(4rem, 10vw, 8rem);
  --radius: 14px;
  --radius-lg: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #1a1208; }

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

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

button { font-family: inherit; cursor: pointer; border: 0; }

ul, ol { margin: 0; padding: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #1a1208;
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 0;
  z-index: 9999;
}
.skip-link:focus { left: 0; }

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

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 300; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 400; }
h3 { font-size: clamp(1.18rem, 1.8vw, 1.35rem); font-weight: 500; }
h4 {
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

p { margin: 0; color: var(--text-muted); }
strong { color: var(--text); font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--sans);
}
.eyebrow__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  box-shadow: 0 0 12px var(--accent-glow);
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand__mark {
  width: 16px;
  height: 16px;
  border: 1.6px solid var(--accent);
  border-radius: 50%;
  border-right-color: transparent;
  display: inline-block;
  transform: rotate(-22deg) translateY(2px);
  flex-shrink: 0;
}
.brand__name { color: var(--text); font-weight: 500; }
.brand__suffix { color: var(--text-muted); font-size: 0.92rem; font-weight: 300; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(10, 10, 10, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms var(--ease), background 220ms var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 10, 10, 0.88);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
}
.nav__links {
  list-style: none;
  display: flex;
  gap: 2rem;
  font-size: 0.92rem;
}
.nav__links a {
  color: var(--text-muted);
  transition: color 150ms ease;
  position: relative;
}
.nav__links a:hover { color: var(--text); }
.nav__cta { white-space: nowrap; }

@media (max-width: 780px) {
  .nav__links { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.78rem 1.4rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 220ms var(--ease);
  white-space: nowrap;
  letter-spacing: 0.01em;
  font-family: var(--sans);
}
.btn--primary {
  background: var(--text);
  color: #0a0a0a;
  border-color: var(--text);
}
.btn--primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1208;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px -8px var(--accent-glow);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn--block { width: 100%; padding: 1rem 1.2rem; }

/* Sections */
section {
  padding: var(--section-pad) 0;
  position: relative;
}
.section-head {
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}
.section-head--left {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}
.section-head > * + * { margin-top: 0.9rem; }
.section-head p { font-size: 1.05rem; }

/* Hero */
.hero {
  padding-top: clamp(5rem, 13vw, 9rem);
  padding-bottom: clamp(5rem, 12vw, 9rem);
  position: relative;
  overflow: hidden;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, black 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, black 30%, transparent 80%);
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 38%;
  width: 65vw;
  height: 65vw;
  max-width: 900px;
  max-height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 65%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.hero__title {
  margin-top: 1.7rem;
  line-height: 1.04;
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
  font-family: var(--serif);
  font-weight: 300;
}
.hero__lede {
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
  line-height: 1.55;
}
.hero__cta {
  margin-top: 2.4rem;
  display: inline-flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__meta {
  margin-top: 2.6rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Services */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.service-card {
  position: relative;
  padding: 1.85rem 1.85rem 1.95rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 280ms var(--ease);
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, var(--accent-soft) 0%, transparent 40%);
  opacity: 0;
  transition: opacity 280ms var(--ease);
  pointer-events: none;
}
.service-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  background: var(--bg-elev-2);
}
.service-card:hover::after { opacity: 1; }
.service-card h3 {
  margin-bottom: 0.7rem;
  color: var(--text);
  position: relative;
}
.service-card p {
  font-size: 0.96rem;
  position: relative;
}
.service-card--featured {
  background: linear-gradient(155deg, var(--bg-elev-2), var(--bg-elev));
  border-color: rgba(212, 184, 150, 0.28);
  grid-column: span 1;
}
.service-card--featured:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 48px -16px var(--accent-glow);
}
.service-card__tag {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  z-index: 1;
}
.service-card__list {
  list-style: none;
  margin: 1.1rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  position: relative;
}
.service-card__list li {
  padding: 0.4rem 0;
  border-top: 1px solid var(--border);
}
.service-card__list li::before {
  content: '— ';
  color: var(--accent);
  margin-right: 0.25rem;
}

/* Approach / Steps */
.approach { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015)); }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.step {
  position: relative;
  padding: 2rem 1.6rem 1.8rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 280ms var(--ease);
}
.step:hover {
  border-color: var(--border-strong);
  background: var(--bg-elev-2);
}
.step__num {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: 0.06em;
}
.step h3 { margin-bottom: 0.6rem; color: var(--text); }
.step p { font-size: 0.95rem; }

/* About */
.about__container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 820px) {
  .about__container { grid-template-columns: 1fr; }
}
.about__copy h2 { margin: 0.9rem 0 1.5rem; }
.about__lead {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1.2rem;
  line-height: 1.55;
}
.about__copy p + p { margin-top: 1rem; }
.about__stats {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
@media (max-width: 560px) {
  .about__stats { grid-template-columns: 1fr; }
}
.about__stats > div {
  padding: 1.3rem 1.1rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.about__stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}
.about__stats span {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.45rem;
  display: block;
  line-height: 1.35;
}
.about__card {
  padding: 2.2rem;
  background: linear-gradient(160deg, var(--bg-elev-2), var(--bg-elev));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.about__card::before {
  content: '"';
  position: absolute;
  top: 0.6rem;
  left: 1.5rem;
  font-family: var(--serif);
  font-size: 5.5rem;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
}
.about__card blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.22rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--text);
  font-weight: 300;
  position: relative;
}
.about__card cite {
  display: block;
  margin-top: 1.2rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--sans);
  letter-spacing: 0.04em;
}

/* Stack */
.stack__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.stack__col h4 { margin-bottom: 1rem; }
.stack__col ul {
  list-style: none;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.stack__col li {
  padding: 0.5rem 0;
  border-top: 1px solid var(--border);
}
.stack__col li:last-child { border-bottom: 1px solid var(--border); }

/* FAQ */
.faq__list { max-width: 820px; margin: 0 auto; }
.faq__item {
  border-top: 1px solid var(--border);
  padding: 1.3rem 0;
}
.faq__item:last-child { border-bottom: 1px solid var(--border); }
.faq__item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--serif);
  font-size: 1.18rem;
  color: var(--text);
  font-weight: 400;
  transition: color 150ms ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-size: 1.45rem;
  color: var(--accent);
  transition: transform 240ms var(--ease);
  flex-shrink: 0;
  line-height: 1;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--accent); }
.faq__item p {
  margin-top: 1rem;
  max-width: 720px;
  font-size: 0.97rem;
  line-height: 1.6;
}

/* Contact */
.contact {
  background: linear-gradient(180deg, transparent, rgba(212, 184, 150, 0.028));
  border-top: 1px solid var(--border);
}
.contact__container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 860px) {
  .contact__container { grid-template-columns: 1fr; }
}
.contact__copy h2 { margin: 0.9rem 0 1.2rem; }
.contact__copy p { font-size: 1.05rem; }
.contact__meta {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  font-size: 0.92rem;
}
.contact__meta p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.contact__meta strong {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact__meta a { color: var(--accent); }
.contact__meta a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Form */
.contact__form {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  display: grid;
  gap: 1.1rem;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
@media (max-width: 520px) {
  .form__row { grid-template-columns: 1fr; }
}
.field { display: grid; gap: 0.45rem; }
.field--trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field .optional {
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-dim);
  font-weight: 400;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.88rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.96rem;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-dim); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-elev-2);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 120px; font-family: inherit; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%23d4b896' stroke-width='1.6' stroke-linecap='round' d='M1 1.5l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form__notice {
  font-size: 0.92rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  margin-top: 0.2rem;
}
.form__notice.is-success {
  background: rgba(120, 200, 150, 0.08);
  border: 1px solid rgba(120, 200, 150, 0.3);
  color: #a8e0b8;
}
.form__notice.is-error {
  background: rgba(220, 110, 110, 0.08);
  border: 1px solid rgba(220, 110, 110, 0.3);
  color: #e8a8a8;
}
.form__legal {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-top: 0.3rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2.5rem;
  background: var(--bg);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.footer__tag {
  margin-top: 0.55rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer__nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
  justify-content: center;
  font-size: 0.9rem;
}
.footer__nav a { color: var(--text-muted); transition: color 150ms ease; }
.footer__nav a:hover { color: var(--text); }
.footer__legal {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: right;
}
@media (max-width: 760px) {
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__legal { text-align: center; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
