/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

/* ── TOKENS ── */
:root {
  --ink:        #0c0c0a;
  --ink-mid:    #141412;
  --ink-light:  #1c1c19;
  --ink-hover:  #222220;
  --paper:      #f0ece3;
  --paper-dim:  #b0aca4;
  --paper-mute: #68655f;
  --gold:       #c8a96a;
  --gold-pale:  rgba(200,169,106,0.12);
  --gold-dim:   #8a6e42;
  --border:     rgba(200,169,106,0.13);
  --border-sub: rgba(200,169,106,0.06);
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'DM Sans', system-ui, sans-serif;
  --nav-h:      64px;
  --max:        1140px;
  --pad:        clamp(1.25rem, 5vw, 3.5rem);
  --sec:        clamp(3.5rem, 7vw, 6rem);
}

/* ── BASE ── */
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 2px; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 300; line-height: 1.15; }

.section-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--paper);
}
.section-title em { font-style: italic; color: var(--gold); }

/* ── LAYOUT ── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section-head {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1),
              transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-fast { animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) both; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-dim);
  border-bottom: 0.5px solid var(--paper-mute);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--paper); border-color: var(--paper); }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  background: rgba(12,12,10,0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 0.5px solid var(--border);
  transition: background 0.3s;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.4rem; font-weight: 300;
  letter-spacing: 0.1em; color: var(--paper);
}
.wordmark span { color: var(--gold); }
.nav-links { display: flex; gap: 2.25rem; list-style: none; }
.nav-links a {
  font-size: 0.75rem; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--paper-dim); position: relative; transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 100%; height: 0.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1);
}
.nav-links a:hover { color: var(--paper); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); border: 0.5px solid var(--gold);
  padding: 0.45rem 1.1rem;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--gold); color: var(--ink); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.hamburger span {
  display: block; width: 22px; height: 1px;
  background: var(--paper); transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }
.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; z-index: 199;
  background: var(--ink-mid); border-bottom: 0.5px solid var(--border);
  padding: 1.75rem var(--pad) 2rem;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; }
.mobile-menu a { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper-dim); }
.mobile-menu a:hover { color: var(--paper); }
.mobile-cta {
  display: inline-block; margin-top: 1.4rem;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); border: 0.5px solid var(--gold); padding: 0.6rem 1.4rem;
}

/* ── HERO ── */
.hero {
  min-height: 92svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: var(--nav-h);
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 75% 25%, rgba(200,169,106,0.06) 0%, transparent 65%),
    radial-gradient(ellipse 35% 55% at 15% 75%, rgba(200,169,106,0.025) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border-sub) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-sub) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 8%, black 35%, black 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 8%, black 35%, black 72%, transparent 100%);
}
.hero-inner {
  position: relative; z-index: 1;
}
.hero-label {
  display: flex; align-items: center; gap: 0.85rem;
  margin-bottom: 2rem;
}
.label-line { width: 32px; height: 0.5px; background: var(--gold); opacity: 0.55; flex-shrink: 0; }

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  font-weight: 300; line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  max-width: 800px;
}
.hero-headline em { font-style: italic; color: var(--gold); }

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--paper-dim); line-height: 1.7;
  max-width: 560px; margin-bottom: 2rem;
}
.hero-actions {
  display: flex; align-items: center; gap: 1.75rem;
  flex-wrap: wrap; margin-bottom: 1.25rem;
}
.hero-trust {
  font-size: 0.8rem;
  color: var(--paper-mute);
  letter-spacing: 0.04em;
  border-left: 2px solid var(--gold);
  padding-left: 0.85rem;
  opacity: 0.75;
}

/* ── POSITIONING CARDS ── */
.positioning {
  background: var(--ink-mid);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  padding: clamp(2rem, 4vw, 3rem) 0;
}
.pos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.pos-card {
  background: var(--ink-mid);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  position: relative;
  transition: background 0.25s;
}
.pos-card:hover { background: var(--ink-hover); }
.pos-num {
  display: block;
  font-family: var(--serif);
  font-size: 0.78rem;
  color: var(--gold);
  opacity: 0.55;
  margin-bottom: 0.85rem;
}
.pos-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 300; margin-bottom: 0.6rem;
  color: var(--paper);
}
.pos-card p {
  font-size: 0.9rem;
  color: var(--paper-dim);
  line-height: 1.65;
}

/* ── SERVICES ── */
.services {
  padding: var(--sec) 0;
  background: var(--ink);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}
.service-card {
  background: var(--ink);
  padding: clamp(1.6rem, 3vw, 2.25rem);
  position: relative; overflow: hidden;
  transition: background 0.25s;
}
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; width: 2px; height: 0;
  background: var(--gold);
  transition: height 0.35s cubic-bezier(0.16,1,0.3,1);
}
.service-card:hover { background: var(--ink-light); }
.service-card:hover::before { height: 100%; }
.service-num {
  display: block; font-family: var(--serif);
  font-size: 0.78rem; color: var(--gold);
  opacity: 0.5; margin-bottom: 0.9rem;
}
.service-card h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  margin-bottom: 0.6rem; color: var(--paper);
}
.service-card p { font-size: 0.93rem; color: var(--paper-dim); line-height: 1.65; }

/* ── EXPERTISE ── */
.expertise {
  padding: var(--sec) 0;
  background: var(--ink-mid);
  border-top: 0.5px solid var(--border);
}
.expertise-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.expertise-sub {
  font-size: 0.97rem;
  color: var(--paper-dim);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 340px;
}
.tag-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}
.exp-tag {
  background: var(--ink-light);
  padding: 1.25rem 1.4rem;
  display: flex; flex-direction: column; gap: 0.3rem;
  transition: background 0.2s;
}
.exp-tag:hover { background: var(--ink-hover); }
.exp-tag-title {
  font-family: var(--serif);
  font-size: 1.5rem; font-weight: 300;
  color: var(--gold);
}
.exp-tag-sub {
  font-size: 0.78rem;
  color: var(--paper-mute);
  letter-spacing: 0.04em;
}

/* ── ABOUT ── */
.about {
  padding: var(--sec) 0;
  background: var(--ink);
  border-top: 0.5px solid var(--border);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.about-body {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--paper-dim);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}
.values-row {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.value-pill {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 0.5px solid var(--border);
  padding: 0.35rem 0.85rem;
  background: var(--gold-pale);
}

/* ── WHY ── */
.why {
  background: var(--ink-mid);
  border-top: 0.5px solid var(--border);
  padding: var(--sec) 0;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.why-card {
  background: var(--ink-mid);
  padding: clamp(1.6rem, 2.5vw, 2.25rem);
  transition: background 0.2s;
}
.why-card:hover { background: var(--ink-hover); }
.why-card h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  margin-bottom: 0.7rem; color: var(--paper);
}
.why-card p { font-size: 0.93rem; color: var(--paper-dim); line-height: 1.65; }

/* ── CONTACT ── */
.contact {
  padding: var(--sec) 0;
  background: var(--ink);
  border-top: 0.5px solid var(--border);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: start;
}
.contact-sub {
  font-size: 0.97rem;
  color: var(--paper-dim);
  margin-top: 1rem;
  line-height: 1.7;
}
.contact-details {
  margin-top: 2rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.contact-item {
  display: flex; flex-direction: column; gap: 0.2rem;
}
.contact-label {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-item a, .contact-item span:last-child {
  font-size: 0.95rem;
  color: var(--paper-dim);
  line-height: 1.65;
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--paper); }

/* FORM */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field label {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.form-field input,
.form-field textarea {
  background: var(--ink-light);
  border: 0.5px solid var(--border);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  padding: 0.8rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  -webkit-appearance: none;
}
.form-field input:focus,
.form-field textarea:focus { border-color: rgba(200,169,106,0.45); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--paper-mute); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  display: inline-flex; align-items: center; gap: 0.65rem;
  background: var(--gold); color: var(--ink);
  border: none; cursor: pointer;
  font-family: var(--sans); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.85rem 1.85rem;
  transition: opacity 0.2s, transform 0.2s;
  align-self: flex-start; margin-top: 0.25rem;
}
.form-submit:hover { opacity: 0.87; transform: translateY(-1px); }
.form-submit svg { width: 13px; height: 13px; }
.form-confirm {
  display: none; padding: 1.75rem;
  border: 0.5px solid var(--border);
  background: var(--ink-light); text-align: center;
}
.form-confirm.show { display: block; }
.form-confirm h4 {
  font-family: var(--serif); font-size: 1.4rem;
  margin-bottom: 0.4rem;
}
.form-confirm p { font-size: 0.9rem; color: var(--paper-dim); }

/* ── FOOTER ── */
footer {
  background: var(--ink-mid);
  border-top: 0.5px solid var(--border);
  padding: 2.25rem var(--pad) 2rem;
}
.footer-inner {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1.5rem;
}
.footer-wordmark {
  font-family: var(--serif); font-size: 1.25rem;
  font-weight: 300; letter-spacing: 0.1em;
  color: var(--paper); margin-bottom: 0.2rem;
}
.footer-wordmark span { color: var(--gold); }
.footer-sub { font-size: 0.72rem; color: var(--paper-mute); letter-spacing: 0.05em; }
.footer-nav {
  display: flex; gap: 1.75rem; list-style: none; flex-wrap: wrap;
}
.footer-nav a {
  font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--paper-mute);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--paper); }
.footer-bottom {
  margin-top: 1.5rem; padding-top: 1.25rem;
  border-top: 0.5px solid var(--border-sub);
}
.footer-legal {
  font-size: 0.7rem; color: var(--paper-mute); line-height: 1.7;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .pos-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .expertise-inner { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .expertise-sub { max-width: 100%; }
}

@media (max-width: 540px) {
  .hero-headline { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .tag-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
