:root {
  --navy: #12151c;
  --navy-soft: #1a1f2a;
  --navy-mid: #242b38;
  --gold: #c9a24b;
  --gold-light: #e3c584;
  --gold-dim: rgba(201, 162, 75, 0.14);
  --paper: #f6f3ec;
  --paper-dim: #ebe6da;
  --ink: #16181c;
  --ink-soft: #5c584f;
  --line: #ddd6c4;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1140px;
  --shadow: 0 18px 40px -24px rgba(18, 21, 28, 0.35);
  --shadow-gold: 0 12px 28px -10px rgba(201, 162, 75, 0.45);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --header-h: 74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 0.55em;
  letter-spacing: -0.015em;
  color: var(--ink);
}
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; }
img { max-width: 100%; display: block; height: auto; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 24px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1em;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.9em 1.75em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1a1305;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -8px rgba(201, 162, 75, 0.55);
}
.btn-gold:active { transform: translateY(-1px); }
.btn-outline {
  border-color: rgba(255,255,255,0.32);
  color: #fff;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  background: rgba(201,162,75,0.08);
  transform: translateY(-2px);
}
.btn-outline-ink {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-outline-ink:hover {
  border-color: var(--gold);
  color: #8a6d1f;
  transform: translateY(-2px);
}

/* ---- Icons ---- */
.icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a1305;
  box-shadow: var(--shadow-gold);
  transition: transform 0.35s var(--ease-spring);
}
.icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 40px; height: 40px; border-radius: 12px; }
.icon-sm svg { width: 18px; height: 18px; }
.icon-ghost {
  background: var(--gold-dim);
  color: var(--gold);
  box-shadow: none;
}
.service-card:hover .icon,
.approach-item:hover .icon,
.pillar:hover .icon { transform: scale(1.08) rotate(-3deg); }

/* ---- Header ---- */
header.site {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(18, 21, 28, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
header.site.scrolled {
  background: rgba(18, 21, 28, 0.94);
  box-shadow: 0 12px 40px -20px rgba(0,0,0,0.55);
  border-bottom-color: rgba(201,162,75,0.12);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.25rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6em;
  text-decoration: none;
  color: #fff;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.05rem;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 0.5rem;
}
.brand .mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: grid;
  place-items: center;
  color: #1a1305;
  box-shadow: 0 0 16px rgba(201,162,75,0.45);
  flex-shrink: 0;
  animation: pulse-glow 3.5s ease-in-out infinite;
}
.brand .mark svg { width: 14px; height: 14px; }
nav.links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  gap: 0.35rem 1.35rem;
  margin-left: 0.75rem;
  margin-right: 0.75rem;
  min-width: 0;
  flex-wrap: nowrap;
}
nav.links a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 650;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0.35rem 0.15rem;
  line-height: 1.2;
}
nav.links a::after {
  content: "";
  position: absolute;
  left: 0.15rem; right: 100%; bottom: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: right 0.3s var(--ease-out);
}
nav.links a:hover::after,
nav.links a.active::after { right: 0.15rem; }
nav.links a:hover,
nav.links a.active { color: var(--gold-light); }
.nav-cta {
  margin-left: 0;
  flex-shrink: 0;
  padding: 0.7em 1.25em;
  font-size: 0.84rem;
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}
.nav-toggle:hover { border-color: var(--gold); background: rgba(201,162,75,0.1); }
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle[aria-expanded="true"] { border-color: var(--gold); background: rgba(201,162,75,0.12); }

/* ---- Hero ---- */
.hero {
  position: relative;
  color: #fff;
  padding: clamp(72px, 12vw, 110px) 0 clamp(80px, 12vw, 120px);
  background:
    radial-gradient(ellipse 70% 55% at 15% 0%, rgba(201,162,75,0.18), transparent 55%),
    linear-gradient(180deg, var(--navy), var(--navy-soft));
  overflow: hidden;
}
.hero-photo {
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(18,21,28,0.9) 0%, rgba(18,21,28,0.58) 55%, rgba(18,21,28,0.78) 100%);
  z-index: 0;
}
.hero-photo::after {
  content: "";
  position: absolute;
  width: 46vmin;
  height: 46vmin;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,75,0.2), transparent 70%);
  top: -12%;
  right: -6%;
  pointer-events: none;
  z-index: 0;
  animation: float-orb 10s ease-in-out infinite;
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.45rem);
  color: #fff;
  max-width: 16ch;
}
.hero .lead {
  color: rgba(255,255,255,0.74);
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  max-width: 48ch;
  margin-bottom: 2em;
}
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-compact { padding: clamp(64px, 10vw, 92px) 0; }
.hero-compact h1 { max-width: 22ch; }

/* Hero entrance */
.hero .eyebrow,
.hero h1,
.hero .lead,
.hero .hero-actions,
.hero .hero-pillars {
  opacity: 0;
  animation: fade-up 0.85s var(--ease-out) forwards;
}
.hero .eyebrow { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.15s; }
.hero .lead { animation-delay: 0.28s; }
.hero .hero-actions { animation-delay: 0.4s; }
.hero .hero-pillars { animation-delay: 0.55s; }

.hero-pillars {
  margin-top: clamp(2.2rem, 5vw, 3.6rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.pillar {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  transition: transform 0.35s var(--ease-out), border-color 0.3s ease, background 0.3s ease;
}
.pillar:hover {
  transform: translateY(-6px);
  border-color: rgba(201,162,75,0.35);
  background: rgba(255,255,255,0.07);
}
.pillar .num {
  display: flex;
  align-items: center;
  gap: 0.55em;
  font-family: 'Fraunces', serif;
  color: var(--gold-light);
  font-size: 1.15rem;
  margin-bottom: 0.45em;
}
.pillar .num .icon { width: 32px; height: 32px; border-radius: 9px; }
.pillar .num .icon svg { width: 15px; height: 15px; }
.pillar p { color: rgba(255,255,255,0.64); font-size: 0.88rem; margin: 0; }

/* ---- Sections ---- */
section { padding: clamp(64px, 10vw, 96px) 0; }
.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-head.left { margin: 0 0 2.6rem; text-align: left; }
.section-head h2 { font-size: clamp(1.55rem, 3.2vw, 2.35rem); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.7rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s ease;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px -28px rgba(18,21,28,0.5);
  border-color: rgba(201,162,75,0.35);
}
.service-card-media {
  position: relative;
  margin-bottom: 1.9rem;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.service-card-img {
  width: 100%;
  height: clamp(150px, 22vw, 180px);
  object-fit: cover;
  display: block;
  margin-bottom: 0;
  transition: transform 0.6s var(--ease-out);
}
.service-card:hover .service-card-img { transform: scale(1.06); }
.service-card-media .icon {
  position: absolute;
  left: 14px;
  bottom: -18px;
  margin-bottom: 0;
  border: 3px solid var(--white);
  z-index: 1;
}
.service-card .icon { margin-bottom: 1rem; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
.service-card p { font-size: 0.92rem; flex: 1; }
.service-card .btn { margin-top: 1.1rem; align-self: flex-start; padding: 0.65em 1.25em; font-size: 0.84rem; }

.band-dark {
  background:
    radial-gradient(ellipse 50% 60% at 90% 20%, rgba(201,162,75,0.1), transparent 50%),
    var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.band-dark .section-head p { color: rgba(255,255,255,0.65); }
.band-dark h2,
.band-dark h3,
.band-dark h4 { color: #fff; }

.network-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.network-card {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: rgba(255,255,255,0.035);
  transition: transform 0.35s var(--ease-out), border-color 0.3s ease, background 0.3s ease;
}
.network-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201,162,75,0.4);
  background: rgba(255,255,255,0.06);
}
.network-card .tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(201,162,75,0.4);
  border-radius: 999px;
  padding: 0.3em 0.85em;
  margin-bottom: 0.9em;
}
.network-card .tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 8px var(--gold);
  animation: blink-dot 2s ease-in-out infinite;
}
.network-card h4 { font-size: 1.02rem; margin-bottom: 0.35em; }
.network-card p { color: rgba(255,255,255,0.6); font-size: 0.87rem; margin: 0; }

.section-banner {
  width: 100%;
  height: clamp(180px, 28vw, 280px);
  object-fit: cover;
  border-radius: var(--radius);
  margin: 0 0 2.2rem;
  box-shadow: var(--shadow);
}
.band-dark .section-banner {
  box-shadow: 0 18px 40px -20px rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.08);
}

.about-story {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.6rem, 4vw, 2.8rem);
  align-items: center;
  max-width: var(--max);
}
.about-story-copy .section-head { margin-bottom: 1.4rem; }
.about-detail-img {
  width: 100%;
  height: clamp(240px, 36vw, 380px);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  .about-story { grid-template-columns: 1fr; }
  .about-detail-img { height: 240px; order: -1; }
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-img {
  width: 100%;
  height: clamp(220px, 36vw, 320px);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease-out);
}
.split:hover .split-img { transform: scale(1.02); }
.band-dark .split-img { box-shadow: 0 18px 40px -20px rgba(0,0,0,0.55); }
.band-dark .icon { margin-bottom: 1rem; }
.split .icon { margin-bottom: 1rem; }

.approach-list {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, 1fr);
}
.approach-list.single {
  grid-template-columns: 1fr;
  margin-top: 1.4rem;
}
.approach-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease;
}
.approach-item:hover {
  transform: translateY(-3px);
  border-color: rgba(201,162,75,0.4);
  box-shadow: var(--shadow);
}
.band-dark .approach-item {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}
.band-dark .approach-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(201,162,75,0.35);
  box-shadow: none;
}
.approach-item .mark,
.approach-item .icon { flex-shrink: 0; }
.approach-item .mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--gold-dim);
  color: #8a6d1f;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 0.95rem;
}
.approach-item h4 { font-size: 1rem; margin-bottom: 0.25em; }
.approach-item p { font-size: 0.88rem; margin: 0; }
.band-dark .approach-item h4 { color: #fff; }
.band-dark .approach-item p { color: rgba(255,255,255,0.62); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.process-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem;
  transition: transform 0.35s var(--ease-out), border-color 0.3s ease, box-shadow 0.35s ease;
}
.process-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,162,75,0.45);
  box-shadow: var(--shadow);
}
.process-card .step {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 0.6em;
  transition: transform 0.35s var(--ease-spring);
  display: inline-block;
}
.process-card:hover .step { transform: scale(1.12); }
.process-card h4 { font-size: 1rem; }
.process-card p { font-size: 0.86rem; margin: 0; }

.cta-band {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(201,162,75,0.22), transparent 55%),
    linear-gradient(145deg, #1a1305, var(--navy) 55%);
  color: #fff;
  border-radius: clamp(16px, 3vw, 24px);
  padding: clamp(2.2rem, 5vw, 3.4rem) clamp(1.2rem, 4vw, 2.4rem);
  text-align: center;
  margin: 0 clamp(12px, 3vw, 24px);
  border: 1px solid rgba(201,162,75,0.18);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}
.cta-band:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px -28px rgba(201,162,75,0.35);
}
.cta-band h2 { color: #fff; }
.cta-band p {
  color: rgba(255,255,255,0.7);
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---- FAQ accordion ---- */
.faq-list { display: grid; gap: 0.75rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item:hover,
.faq-item.open {
  border-color: rgba(201,162,75,0.4);
  box-shadow: var(--shadow);
}
.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.4rem;
  font-family: 'Fraunces', serif;
  font-size: clamp(0.95rem, 2.5vw, 1.02rem);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item button .chev {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--gold-dim);
  color: #8a6d1f;
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease-out);
  flex-shrink: 0;
}
.faq-item button .chev svg { width: 14px; height: 14px; }
.faq-item.open button .chev { transform: rotate(180deg); }
.faq-item .faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.35s ease;
  padding: 0 1.4rem;
}
.faq-item.open .faq-body {
  max-height: 280px;
  padding: 0 1.4rem 1.3rem;
}
.faq-item .faq-body p { font-size: 0.92rem; margin: 0; }

/* ---- Contact form ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.6rem;
  align-items: start;
}
.form-card,
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 1.8rem) clamp(1.2rem, 3vw, 1.7rem);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}
.form-card:hover,
.info-card:hover { box-shadow: 0 22px 48px -28px rgba(18,21,28,0.4); }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.4em;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.85em 1em;
  font: inherit;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin: 0.8rem 0 0; }
.form-success {
  display: none;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #bbf7d0;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.form-success.show { display: block; animation: fade-up 0.4s var(--ease-out); }
.info-card .icon { margin-bottom: 1rem; }
.info-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 1rem; }
.info-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.info-list strong { display: block; color: var(--ink); font-size: 0.88rem; margin-bottom: 0.15em; }

/* ---- Legal / prose ---- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose ul { color: var(--ink-soft); padding-left: 1.2rem; }
.legal-page { max-width: 760px; }
.legal-page h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.legal-page h3 { margin-top: 2rem; font-size: 1.15rem; }
.legal-page a { color: #8a6d1f; font-weight: 600; }
.legal-notice {
  background: #fff8e8;
  border: 1px solid #e8d5a0;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  color: #6b5405;
  font-size: 0.88rem;
}

/* ---- Footer ---- */
footer.site {
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  padding: 3.4rem 0 2rem;
  margin-top: 48px;
  font-size: 0.87rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand {
  color: #fff;
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  margin-bottom: 0.55em;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.footer-brand .mark {
  width: 24px; height: 24px; border-radius: 7px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: grid; place-items: center; color: #1a1305;
}
.footer-brand .mark svg { width: 12px; height: 12px; }
.footer-col h5 {
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 1em;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.58);
  text-decoration: none;
  margin-bottom: 0.55em;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-col a:hover {
  color: var(--gold-light);
  transform: translateX(3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.35rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ---- Cookie bar ---- */
.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  max-width: 560px;
  margin: 0 auto;
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(201,162,75,0.25);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  display: none;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  animation: slide-up 0.45s var(--ease-out);
}
.cookie-bar.show { display: flex; }
.cookie-bar p { margin: 0; font-size: 0.84rem; color: rgba(255,255,255,0.7); flex: 1; min-width: 200px; }
.cookie-bar a { color: var(--gold-light); }

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ---- Keyframes ---- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes slide-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 12px rgba(201,162,75,0.35); }
  50% { box-shadow: 0 0 22px rgba(201,162,75,0.65); }
}
@keyframes blink-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@keyframes float-orb {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-24px, 18px); }
}

/* ---- Pro features: progress, marquee, gallery, tabs, sticky CTA ---- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 120;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 12px rgba(201,162,75,0.55);
  pointer-events: none;
  transition: width 0.05s linear;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: -2.2rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 5;
}
@media (max-width: 640px) {
  .trust-strip { margin-top: 1.2rem; }
}
.trust-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  transition: transform 0.35s var(--ease-out), border-color 0.3s ease;
}
.trust-item:hover {
  transform: translateY(-4px);
  border-color: rgba(201,162,75,0.45);
}
.trust-item h4 {
  font-size: 0.95rem;
  margin: 0 0 0.2em;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
}
.trust-item p { margin: 0; font-size: 0.82rem; }

.marquee-wrap {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, var(--paper-dim), var(--white), var(--paper-dim));
  padding: 1rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.marquee-track span::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.feature-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin-bottom: 1.8rem;
}
.feature-tabs button {
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.65em 1.25em;
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.feature-tabs button:hover { border-color: var(--gold); color: #8a6d1f; }
.feature-tabs button.active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: transparent;
  color: #1a1305;
  box-shadow: var(--shadow-gold);
}
.tab-panels { position: relative; }
.tab-panel { display: none; }
.tab-panel.active {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  animation: fade-up 0.45s var(--ease-out);
}
.tab-panel img {
  width: 100%;
  height: clamp(220px, 32vw, 340px);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.tab-panel .checks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 0.7rem; }
.tab-panel .checks li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.tab-panel .checks li svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  margin-top: 2px;
}

.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px;
  gap: 0.75rem;
}
.photo-mosaic .tile {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid var(--line);
  grid-column: span 4;
  grid-row: span 2;
}
.photo-mosaic .tile.wide { grid-column: span 8; }
.photo-mosaic .tile.tall { grid-row: span 3; }
.photo-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.photo-mosaic .tile:hover img { transform: scale(1.08); }
.photo-mosaic .tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(18,21,28,0.35));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.photo-mosaic .tile:hover::after { opacity: 1; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10,12,16,0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; animation: fade-up 0.25s ease; }
.lightbox img {
  max-width: min(960px, 94vw);
  max-height: 86vh;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
  font-size: 1.4rem;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.compare-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease-out);
}
.compare-card:hover { transform: translateY(-6px); }
.compare-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.compare-card .body { padding: 1.3rem 1.35rem 1.5rem; }
.compare-card h3 { font-size: 1.1rem; margin-bottom: 0.4em; }
.compare-card ul {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}
.compare-card li {
  font-size: 0.86rem;
  color: var(--ink-soft);
  padding-left: 1.1em;
  position: relative;
}
.compare-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.spotlight-band {
  position: relative;
  border-radius: clamp(16px, 3vw, 24px);
  overflow: hidden;
  min-height: 320px;
  margin: 0 clamp(12px, 3vw, 24px);
  display: grid;
  align-items: end;
  background-size: cover;
  background-position: center;
}
.spotlight-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,21,28,0.15), rgba(18,21,28,0.88));
}
.spotlight-band .inner {
  position: relative;
  z-index: 1;
  padding: clamp(1.8rem, 4vw, 3rem);
  color: #fff;
  max-width: 560px;
}
.spotlight-band h2 { color: #fff; }
.spotlight-band p { color: rgba(255,255,255,0.75); }

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(120%);
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(18,21,28,0.95);
  border: 1px solid rgba(201,162,75,0.3);
  border-radius: 999px;
  padding: 0.55rem 0.55rem 0.55rem 1.3rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 650;
  transition: transform 0.4s var(--ease-out);
  max-width: calc(100vw - 24px);
}
.sticky-cta.show { transform: translateX(-50%) translateY(0); }
.sticky-cta .btn { padding: 0.7em 1.3em; font-size: 0.84rem; white-space: nowrap; }
.sticky-cta span { display: none; }
@media (min-width: 720px) {
  .sticky-cta span { display: inline; }
}

.wizard-steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}
.wizard-steps .wstep {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  transition: background 0.3s ease;
}
.wizard-steps .wstep.on { background: linear-gradient(90deg, var(--gold-light), var(--gold)); }
.wizard-panel { display: none; }
.wizard-panel.active { display: block; animation: fade-up 0.35s var(--ease-out); }
.wizard-nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.2rem;
  justify-content: space-between;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--navy);
  display: grid;
  place-items: center;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.page-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-loader .mark {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: grid;
  place-items: center;
  color: #1a1305;
  animation: pulse-glow 1.4s ease-in-out infinite;
}
.page-loader .mark svg { width: 22px; height: 22px; }

/* ---- Back to top ---- */
.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(201,162,75,0.35);
  background: rgba(18,21,28,0.92);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out), background 0.2s ease;
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}
.back-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.back-top:hover { background: var(--navy); border-color: var(--gold); }
.back-top svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .hero-pillars,
  .services-grid,
  .network-grid,
  .compare-grid,
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .contact-layout,
  .footer-grid,
  .split,
  .tab-panel.active { grid-template-columns: 1fr; }
  .split.reverse { direction: ltr; }
  .hero h1 { max-width: 20ch; }
  .photo-mosaic .tile,
  .photo-mosaic .tile.wide { grid-column: span 6; }
}

/* Compact secondary links on mid-wide screens before hamburger */
@media (max-width: 1280px) {
  nav.links a.nav-priority-low { display: none; }
  nav.links { gap: 0.25rem 1.1rem; }
  .brand { font-size: 0.98rem; }
}

@media (max-width: 1100px) {
  .nav-tools .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  nav.links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(18,21,28,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1.2rem 20px 1.6rem;
    gap: 0.15rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: transform 0.3s var(--ease-out), opacity 0.25s ease, visibility 0.25s;
    margin: 0;
    z-index: 70;
    flex: none;
  }
  nav.links.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }
  nav.links a,
  nav.links a.nav-priority-low {
    display: block;
    padding: 0.95rem 0.4rem;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    white-space: normal;
  }
  nav.links a::after { display: none; }
  nav.links a:last-child { border-bottom: none; }
  .nav-tools { margin-left: auto; }
}

@media (max-width: 760px) {
  .nav-cta { display: none; }
}

@media (max-width: 640px) {
  .hero-pillars,
  .services-grid,
  .network-grid,
  .process-grid,
  .approach-list,
  .form-grid,
  .compare-grid,
  .trust-strip { grid-template-columns: 1fr; }
  .photo-mosaic { grid-auto-rows: 100px; }
  .photo-mosaic .tile,
  .photo-mosaic .tile.wide,
  .photo-mosaic .tile.tall { grid-column: span 12; grid-row: span 2; }
  .hero { padding: 64px 0 72px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .pillar,
  .service-card,
  .network-card,
  .process-card { padding: 1.2rem; }
  .footer-bottom { flex-direction: column; gap: 0.4rem; }
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; }
  .back-top { right: 14px; bottom: 100px; }
  .sticky-cta { bottom: 12px; padding-left: 0.9rem; }
  .marquee-track { animation-duration: 22s; }
}

/* Touch: avoid hover stickiness */
@media (hover: none) {
  .service-card:hover,
  .pillar:hover,
  .network-card:hover,
  .process-card:hover,
  .approach-item:hover,
  .cta-band:hover {
    transform: none;
  }
  .service-card:hover .service-card-img,
  .split:hover .split-img { transform: none; }
}

/* Reduced motion */
@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;
    transform: none;
  }
  .marquee-track { animation: none !important; }
  .hero-photo { animation: none; }
  .hero-photo::after { animation: none; }
}

/* ---- Skip link / a11y ---- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #1a1305;
  padding: 0.7rem 1rem;
  z-index: 400;
  font-weight: 800;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: 0;
  flex-shrink: 0;
}
.lang-dropdown { position: relative; }
.lang-switch {
  width: auto;
  min-width: 40px;
  height: 40px;
  padding: 0 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.78rem;
  gap: 0.25rem;
}
.lang-switch:hover,
.lang-switch[aria-expanded="true"] {
  border-color: var(--gold);
  color: var(--gold-light);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  max-height: min(70vh, 420px);
  overflow: auto;
  background: rgba(18,21,28,0.98);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 0.4rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  z-index: 90;
  display: none;
}
.lang-menu.open { display: grid; }
.lang-menu a {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
}
.lang-menu a span {
  display: inline-flex;
  width: 28px;
  justify-content: center;
  color: var(--gold-light);
  font-weight: 800;
  font-size: 0.72rem;
}
.lang-menu a:hover,
.lang-menu a.active {
  background: rgba(201,162,75,0.12);
  color: #fff;
}
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.78rem;
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold-light); }

.tag-live, .tag-build {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25em 0.7em;
  border-radius: 999px;
  margin-bottom: 0.7em;
}
.tag-live { color: #166534; background: #ecfdf3; border: 1px solid #bbf7d0; }
.tag-build { color: #8a6d1f; background: var(--gold-dim); border: 1px solid rgba(201,162,75,0.35); }

.brief-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.check-print { list-style: none; padding: 0; }
.check-print li { padding: 0.45rem 0; border-bottom: 1px dashed var(--line); color: var(--ink); }

.estimator-result {
  margin-top: 1.4rem;
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius-sm);
  background: var(--gold-dim);
  border: 1px solid rgba(201,162,75,0.35);
  color: var(--ink);
}
.estimator-result h3 { margin-bottom: 0.4em; font-size: 1.15rem; }

.cookie-copy { width: 100%; }
.cookie-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.8rem; }

/* Dark theme */
html[data-theme="dark"] {
  --paper: #0f1218;
  --paper-dim: #161b24;
  --ink: #f3efe6;
  --ink-soft: #b7b1a4;
  --line: #2c3442;
  --white: #1a1f2a;
  --shadow: 0 18px 40px -24px rgba(0,0,0,0.65);
}
html[data-theme="dark"] body { background: var(--paper); color: var(--ink); }
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .process-card,
html[data-theme="dark"] .approach-item,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .info-card,
html[data-theme="dark"] .compare-card,
html[data-theme="dark"] .trust-item,
html[data-theme="dark"] .brief-box { background: var(--white); }
html[data-theme="dark"] .btn-outline-ink { color: var(--ink); }
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea {
  background: var(--paper-dim);
  color: var(--ink);
  border-color: var(--line);
}

@media print {
  header.site, footer.site, .cookie-bar, .sticky-cta, .back-top, .scroll-progress, .page-loader, .nav-tools, .hero-actions .btn-outline { display: none !important; }
  .brief-box { box-shadow: none; border: 1px solid #ccc; }
  body { background: #fff; color: #000; }
}

@media (max-width: 980px) {
  .nav-tools .nav-cta { display: none; }
}
@media (max-width: 760px) {
  .nav-tools { margin-left: auto; }
  .nav-tools .lang-switch { display: inline-flex; }
}
