/* ==========================================================================
   KOMPLETT ENTREPRISE ApS — delt stylesheet
   Design-tokens udledt af logoets sort / guld / hvid.
   Skrifter: Big Shoulders Display (overskrifter), Public Sans (brødtekst),
   IBM Plex Mono (labels / metadata).
   ========================================================================== */

:root {
  --bg: #FBF3E6;
  --bg-raised: #F4E7CE;
  --bg-card: #FFFDF8;
  --ink: #1E170D;
  --ink-soft: #5C4C36;
  --ink-faint: #93805C;
  --line: #E6D6B3;
  --line-strong: #D3BD8B;
  --gold: #A5732A;
  --gold-fill: #CB8C3C;
  --gold-tint: #F7E7C8;
  --amber-deep: #7A4B1E;
  --on-ink: #FBF3E6;

  --serif-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --serif-warm: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --sans: "Public Sans", -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;

  --radius: 3px;
  --max: 72rem;
  --header-h: 4.5rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1A130A;
    --bg-raised: #241B0F;
    --bg-card: #271D10;
    --ink: #F5E9D3;
    --ink-soft: #C2AD86;
    --ink-faint: #8B7A57;
    --line: #362A16;
    --line-strong: #493A1E;
    --gold: #E0AC5C;
    --gold-fill: #D19A4A;
    --gold-tint: #2E2210;
    --amber-deep: #4A2F14;
    --on-ink: #1A130A;
  }
}
:root[data-theme="dark"] {
  --bg: #1A130A;
  --bg-raised: #241B0F;
  --bg-card: #271D10;
  --ink: #F5E9D3;
  --ink-soft: #C2AD86;
  --ink-faint: #8B7A57;
  --line: #362A16;
  --line-strong: #493A1E;
  --gold: #E0AC5C;
  --gold-fill: #D19A4A;
  --gold-tint: #2E2210;
  --amber-deep: #4A2F14;
  --on-ink: #1A130A;
}

* { box-sizing: border-box; }
html { color-scheme: light dark; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.98;
  text-wrap: balance;
  margin: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  border-radius: 2px;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn.primary { background: var(--ink); color: var(--bg); }
.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -12px color-mix(in srgb, var(--amber-deep) 65%, transparent);
}
.btn.secondary { border-color: var(--line-strong); color: var(--ink); }
.btn.secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-tint);
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .btn.primary:hover, .btn.secondary:hover { transform: none; }
}
.btn.small { padding: 0.6rem 1.05rem; font-size: 0.82rem; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand img, .brand svg { width: auto; height: 30px; }
.brand-text {
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav > ul { display: flex; gap: 1.7rem; }
.main-nav a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.3rem 0;
  transition: color .15s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -1px;
  height: 1px;
  background: var(--gold);
  transition: right .25s cubic-bezier(.2,.7,.2,1);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.main-nav a[aria-current="page"] { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.nav-toggle {
  display: none;
  position: relative;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle::before, .nav-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1.1rem;
  height: 1px;
  background: var(--ink);
  transform: translate(-50%, -4px);
}
.nav-toggle::after { transform: translate(-50%, 4px); }
.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: var(--ink);
}

@media (max-width: 900px) {
  /* .main-nav itself (not just its list) must be hidden here, not merely
     its <ul> — otherwise the empty nav still occupies a flex slot and a
     `gap` in .site-header .wrap, which combined with the brand name was
     pushing .nav-toggle off the right edge of narrow phone screens. */
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  /* On narrow phones, brand name + tilbud-button + hamburger don't fit on
     one row and the hamburger gets pushed off-screen, making the menu
     unreachable. Drop the header CTA here — the floating CTA and the
     mobile menu's own Kontakt link cover the same need. */
  .header-actions .btn.primary.small { display: none; }
  /* backdrop-filter on .site-header creates a containing block for fixed
     descendants, which used to trap this panel inside the header's own
     4.5rem box instead of covering the viewport. Drop the filter while
     the menu is open so the panel is fixed to the real viewport. */
  body.nav-open .site-header { backdrop-filter: none; }
  body.nav-open .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg);
    display: flex; align-items: flex-start; padding: 2rem 1.5rem; z-index: 45;
    overflow-y: auto;
  }
  body.nav-open .main-nav > ul { display: flex; flex-direction: column; gap: 0; width: 100%; }
  body.nav-open .main-nav a { display: block; padding: 1rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); width: 100%; }

  body.nav-open .main-nav li.has-sub { border-bottom: 1px solid var(--line); }
  body.nav-open .main-nav li.has-sub > .nav-row { display: flex; align-items: center; justify-content: space-between; }
  body.nav-open .main-nav li.has-sub > .nav-row > a { border-bottom: none; flex: 1; }
  .submenu-toggle {
    width: 2.4rem; height: 2.4rem; flex: none;
    display: flex; align-items: center; justify-content: center;
    background: none; border: none; cursor: pointer; color: var(--ink-soft);
  }
  .submenu-toggle svg { width: 14px; height: 14px; transition: transform .2s ease; }
  li.has-sub.open .submenu-toggle svg { transform: rotate(180deg); }
  body.nav-open .submenu {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0 0 0.75rem 1rem;
  }
  body.nav-open li.has-sub.open .submenu { display: flex; }
  body.nav-open .submenu a { padding: 0.7rem 0; font-size: 0.98rem; color: var(--ink-faint); border-bottom: none; }
}
@media (min-width: 901px) {
  .submenu-toggle, .main-nav .submenu { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 4rem;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 39px, color-mix(in srgb, var(--line-strong) 45%, transparent) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, color-mix(in srgb, var(--line-strong) 45%, transparent) 39px 40px);
  background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
  mask-image: linear-gradient(to bottom, black, transparent);
}
.hero > .wrap { position: relative; }
.hero .eyebrow { margin-bottom: 1.2rem; }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  max-width: 46rem;
  animation: rise .8s cubic-bezier(.2,.7,.2,1) both;
}
.hero h1 em { font-style: normal; color: var(--gold-fill); }
.hero .lede {
  margin-top: 1.2rem;
  max-width: 38rem;
  font-size: 1.12rem;
  color: var(--ink-soft);
  animation: rise .8s cubic-bezier(.2,.7,.2,1) .1s both;
}
.hero .ctas {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  animation: rise .8s cubic-bezier(.2,.7,.2,1) .2s both;
}
@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero .lede, .hero .ctas { animation: none; }
}

/* ---------- usp bar ---------- */
.usp-bar { padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.usp-item { display: flex; align-items: center; gap: 0.9rem; padding: 0.4rem 1.4rem; }
.usp-item:not(:first-child) { border-left: 1px solid var(--line); }
.usp-item .icon-badge { width: 2.5rem; height: 2.5rem; flex-shrink: 0; }
.usp-item .icon-badge .mark { width: 18px; height: 18px; color: var(--gold); }
.usp-item span:last-child { font-size: 0.88rem; font-weight: 500; line-height: 1.3; color: var(--ink-soft); }
@media (max-width: 780px) and (min-width: 481px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.2rem; }
  .usp-item, .usp-item:not(:first-child) { border-left: none; padding: 0.9rem 0.6rem 0; border-top: 1px solid var(--line); }
  .usp-item:nth-child(-n+2) { border-top: none; padding-top: 0; }
}
@media (max-width: 480px) {
  .usp-grid { grid-template-columns: 1fr; }
  .usp-item { border-top: 1px solid var(--line); padding: 1rem 0 0; }
  .usp-item:first-child { border-top: none; padding-top: 0; }
}

/* ---------- generic section ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; border-bottom: 1px solid var(--line); }
.section:last-of-type, main > .section:last-child { border-bottom: none; }
.section-head { max-width: 40rem; margin-bottom: 2.4rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-top: 0.6rem; }
.section-head .lede { margin-top: 0.9rem; color: var(--ink-soft); font-size: 1.02rem; }
.section.alt { background: var(--bg-raised); }

/* ---------- ydelser ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; counter-reset: svc; }
@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .service-grid { grid-template-columns: 1fr; } }
.service-card {
  position: relative;
  counter-increment: svc;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -18px color-mix(in srgb, var(--amber-deep) 55%, transparent);
}
.service-card .thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-raised);
}
.service-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) sepia(0.1) contrast(1.03);
  transition: transform .4s ease;
}
.service-card:hover .thumb img { transform: scale(1.05); }
.service-card .body {
  position: relative;
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.icon-badge {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-tint);
  border-radius: var(--radius);
  transition: background .2s;
}
.service-card .icon-badge .mark { width: 20px; height: 20px; color: var(--gold); transition: transform .2s; }
.service-card:hover .icon-badge { background: var(--gold-fill); }
.service-card:hover .icon-badge .mark { color: var(--on-ink); transform: scale(1.08) rotate(-4deg); }
.service-card::before {
  content: counter(svc, decimal-leading-zero);
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  z-index: 1;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--on-ink);
  background: color-mix(in srgb, var(--ink) 55%, transparent);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
}
.service-card h3 { font-family: var(--sans); text-transform: none; font-weight: 600; font-size: 1.08rem; }
.service-card p { color: var(--ink-soft); font-size: 0.92rem; flex: 1; }
.service-card .link { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }

/* ---------- why us ---------- */
.hvorfor-text { max-width: 42rem; }
.hvorfor-text p { color: var(--ink-soft); }
.hvorfor-text p + p { margin-top: 0.9rem; }

/* ---------- value boxes (vision/mission/værdier page) ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 900px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }
.value-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 700px) { .value-grid-3 { grid-template-columns: 1fr; } }
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.value-card h3 { font-family: var(--sans); text-transform: none; font-weight: 600; font-size: 1.05rem; }
.value-card p { margin-top: 0.6rem; font-size: 0.9rem; color: var(--ink-soft); }
.statement { max-width: 42rem; }
.statement h3 { font-size: 1.1rem; font-family: var(--sans); text-transform: none; font-weight: 600; color: var(--gold); }
.statement p { margin-top: 0.7rem; color: var(--ink-soft); }
.statement + .statement { margin-top: 2.2rem; }

/* ---------- reserved content placeholder (visible, for content added later) ---------- */
.content-placeholder {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

/* ---------- process ---------- */
.steps { position: relative; display: flex; flex-direction: column; }
.steps::before {
  content: "";
  position: absolute;
  left: 4.65rem;
  top: 1.3rem;
  bottom: 1.3rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold-fill), var(--line-strong) 85%);
  opacity: .55;
}
.step { position: relative; display: grid; grid-template-columns: 4rem 1fr; gap: 1.3rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: none; }
.step::before {
  content: "";
  position: absolute;
  left: 4.65rem;
  top: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold-fill);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px var(--bg), 0 0 10px color-mix(in srgb, var(--gold-fill) 60%, transparent);
}
.section.alt .steps::before, .section.alt .step::before { box-shadow: 0 0 0 4px var(--bg-raised); }
.step .num { font-family: var(--serif-display); font-size: 2rem; color: var(--gold-fill); line-height: 1; }
.step h3 { font-family: var(--sans); text-transform: none; font-weight: 600; font-size: 1.05rem; }
.step p { margin-top: 0.35rem; color: var(--ink-soft); font-size: 0.92rem; max-width: 34rem; }
@media (max-width: 480px) {
  .steps::before, .step::before { display: none; }
}

/* ---------- about teaser / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 2rem; } }
.split .figure {
  aspect-ratio: 4/3;
  background: linear-gradient(155deg, var(--bg-raised), var(--gold-tint) 130%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 1.5rem;
}
.split p { color: var(--ink-soft); }
.split p + p { margin-top: 0.9rem; }

.detail-photo {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) sepia(0.1) contrast(1.03);
}

/* ---------- reserved placeholder note (dev-only, not shown to visitors) ---------- */
.reserved-note {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-faint);
}

/* ---------- manifesto band ---------- */
.manifesto {
  position: relative;
  overflow: hidden;
  padding: clamp(3.6rem, 9vw, 6.5rem) 0;
  background: radial-gradient(90% 160% at 50% 120%, color-mix(in srgb, var(--amber-deep) 88%, transparent), var(--ink) 65%);
  color: var(--on-ink);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.manifesto .wrap { position: relative; }
.manifesto-text {
  font-family: var(--serif-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(1.7rem, 4.6vw, 3.1rem);
  line-height: 1.12;
  max-width: 46rem;
  margin: 0 auto;
  text-wrap: balance;
}
.manifesto-text em { font-style: normal; color: var(--gold-fill); }
.manifesto-sub {
  margin: 1rem auto 0;
  max-width: 34rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: color-mix(in srgb, var(--on-ink) 78%, transparent);
}
.manifesto .eyebrow { color: var(--gold-fill); margin-bottom: 1.2rem; }

/* ---------- CTA band ---------- */
.cta-band {
  padding: clamp(3rem, 7vw, 5rem) 0;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(120% 160% at 12% 0%, var(--amber-deep), var(--ink) 62%);
  color: var(--on-ink);
}
.cta-band.photo {
  background:
    radial-gradient(120% 160% at 12% 0%, color-mix(in srgb, var(--amber-deep) 85%, transparent), rgba(17,14,8,0.9) 62%),
    url("../assets/images/tilbygning.jpg") center 25% / cover no-repeat;
}
.cta-band h2 { color: var(--on-ink); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta-band .lede { margin-top: 0.9rem; color: color-mix(in srgb, var(--on-ink) 70%, transparent); max-width: 34rem; }
.cta-band .ctas { margin-top: 1.6rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }
.cta-band .btn.primary { background: var(--on-ink); color: var(--ink); }
.cta-band .btn.secondary { border-color: color-mix(in srgb, var(--on-ink) 35%, transparent); color: var(--on-ink); }
.cta-band .btn.secondary:hover { border-color: var(--gold); color: var(--gold); background: transparent; }

/* ---------- footer ---------- */
.site-footer { padding: 3.2rem 0 2.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.4rem; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; }
.footer-brand img, .footer-brand svg { width: auto; height: 26px; }
.footer-tagline { margin-top: 0.9rem; color: var(--ink-soft); font-size: 0.92rem; max-width: 18rem; }
.footer-col h4 { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; }
.footer-col ul { margin-top: 0.9rem; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { font-size: 0.88rem; color: var(--ink-soft); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
  font-family: var(--mono); font-size: 0.72rem; color: var(--ink-faint);
}

/* ---------- placeholder text markers ---------- */
.ph { color: var(--gold); font-style: normal; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--ink-faint); }
.field .req, .form-note .req { color: var(--gold); font-weight: 700; }
.field input[type="file"] { padding: 0.6rem 0.7rem; font-size: 0.85rem; }
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--bg-card);
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 7rem; }
.form-note { margin-top: 1.2rem; font-size: 0.82rem; color: var(--ink-faint); }
.form-status { margin-top: 1rem; font-size: 0.9rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: var(--gold); }

.contact-info { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-info .item h4 { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; }
.contact-info .item p { margin-top: 0.4rem; font-size: 1rem; }
.contact-info .map {
  aspect-ratio: 16/10; border-radius: var(--radius); border: 1px solid var(--line-strong);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.7rem;
  text-align: center; padding: 1.2rem; position: relative; overflow: hidden;
  background: radial-gradient(130% 170% at 50% 115%, color-mix(in srgb, var(--amber-deep) 85%, transparent), var(--ink) 62%);
}
.map-corner { position: absolute; width: 0.85rem; height: 0.85rem; border: 1px solid color-mix(in srgb, var(--gold-fill) 70%, transparent); }
.map-corner.tl { top: 0.7rem; left: 0.7rem; border-right: none; border-bottom: none; }
.map-corner.tr { top: 0.7rem; right: 0.7rem; border-left: none; border-bottom: none; }
.map-corner.bl { bottom: 0.7rem; left: 0.7rem; border-right: none; border-top: none; }
.map-corner.br { bottom: 0.7rem; right: 0.7rem; border-left: none; border-top: none; }
.coverage-eyebrow {
  font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--gold-fill); position: relative;
}
.coverage-area {
  font-family: var(--serif-display); font-size: clamp(2rem, 4.4vw, 2.7rem); font-weight: 700;
  letter-spacing: 0.02em; color: var(--on-ink); text-transform: uppercase; line-height: 1; position: relative;
}
.coverage-rule { width: 2.2rem; height: 1px; background: color-mix(in srgb, var(--gold-fill) 60%, transparent); position: relative; }
.coverage-note {
  font-family: var(--mono); font-size: 0.76rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: color-mix(in srgb, var(--on-ink) 65%, transparent); position: relative;
}
.map .btn { position: relative; margin-top: 0.3rem; }
.map .btn.secondary { border-color: color-mix(in srgb, var(--on-ink) 35%, transparent); color: var(--on-ink); }
.map .btn.secondary:hover { border-color: var(--gold-fill); color: var(--gold-fill); background: transparent; }
.map.map--loaded {
  background: none; border-color: var(--line); padding: 0;
}
.map.map--loaded iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- service detail page ---------- */
.service-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) 0 3rem;
  border-bottom: 1px solid var(--line);
}
.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 39px, color-mix(in srgb, var(--line-strong) 45%, transparent) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, color-mix(in srgb, var(--line-strong) 45%, transparent) 39px 40px);
  background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
  mask-image: linear-gradient(to bottom, black, transparent);
}
.service-hero > .wrap { position: relative; }
.service-hero .eyebrow { margin-bottom: 1rem; animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.service-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 34rem; animation: rise .8s cubic-bezier(.2,.7,.2,1) .08s both; }
.service-hero .lede { margin-top: 1.1rem; max-width: 36rem; color: var(--ink-soft); font-size: 1.05rem; animation: rise .8s cubic-bezier(.2,.7,.2,1) .16s both; }
@media (prefers-reduced-motion: reduce) {
  .service-hero .eyebrow, .service-hero h1, .service-hero .lede { animation: none; }
}
.service-body { max-width: 42rem; }
.service-body p { color: var(--ink-soft); }
.service-body p + p { margin-top: 1rem; }
.related-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 620px) { .related-services { grid-template-columns: 1fr; } }
.related-services a {
  display: block; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 0.88rem; font-weight: 600; transition: border-color .15s;
}
.related-services a:hover { border-color: var(--gold); color: var(--gold); }
.related-services a[aria-current="page"] { border-color: var(--gold); color: var(--gold); }

/* ---------- breadcrumb ---------- */
.breadcrumb { padding: 1.1rem 0; font-family: var(--mono); font-size: 0.75rem; color: var(--ink-faint); border-bottom: 1px solid var(--line); }
.breadcrumb a { color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span.sep { margin: 0 0.4rem; }
.breadcrumb span.current { color: var(--ink-soft); }

/* ---------- warm grain texture (whole site, very low opacity) ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- home hero ---------- */
.home-hero {
  --hero-text: #FBF3E6;
  --hero-text-soft: #DCCEB0;
  --hero-accent: #E0AC5C;
  position: relative;
  overflow: hidden;
  padding: clamp(5.5rem, 15vw, 10rem) 0 clamp(4rem, 10vw, 6.5rem);
  border-bottom: 1px solid var(--line);
  color: var(--hero-text);
  background:
    linear-gradient(100deg, rgba(17,14,8,0.92) 0%, rgba(17,14,8,0.62) 48%, rgba(17,14,8,0.85) 100%),
    url("../assets/images/hero-bg.jpg") center 38% / cover no-repeat;
}
.home-hero .wrap { max-width: 40rem; }
.home-hero .eyebrow { margin-bottom: 1.2rem; color: var(--hero-accent); }
.home-hero h1 {
  font-size: clamp(2.6rem, 6.6vw, 5.1rem);
  max-width: none;
  animation: rise .8s cubic-bezier(.2,.7,.2,1) both;
}
.home-hero h1 em { font-style: normal; color: var(--hero-accent); }
.home-hero .lede {
  margin-top: 1.2rem;
  max-width: 32rem;
  font-size: 1.14rem;
  color: var(--hero-text-soft);
  animation: rise .8s cubic-bezier(.2,.7,.2,1) .1s both;
}
.home-hero .ctas {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  animation: rise .8s cubic-bezier(.2,.7,.2,1) .2s both;
}
.home-hero .btn.primary { background: var(--hero-text); color: #1E170D; }
.home-hero .btn.secondary { border-color: rgba(251,243,230,0.4); color: var(--hero-text); }
.home-hero .btn.secondary:hover { border-color: var(--hero-accent); color: var(--hero-accent); background: rgba(0,0,0,0.2); }
.home-hero .micro-note {
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--hero-text-soft);
  letter-spacing: 0.02em;
  animation: rise .8s cubic-bezier(.2,.7,.2,1) .3s both;
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .home-hero h1, .home-hero .lede, .home-hero .ctas, .home-hero .micro-note { animation: none; }
}

/* ---------- founder note ---------- */
.founder-note {
  border-left: 3px solid var(--gold);
  background: var(--bg-raised);
  border-radius: var(--radius);
  padding: 1.7rem 1.9rem;
  max-width: 40rem;
}
.founder-note .quote {
  font-family: var(--serif-warm);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 2.1vw, 1.45rem);
  color: var(--ink);
  line-height: 1.5;
  text-wrap: balance;
}
.founder-note .sig {
  margin-top: 1.1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-fill));
  z-index: 100;
}

/* ---------- floating mobile CTA ---------- */
.floating-cta {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.floating-cta.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.floating-cta .btn {
  width: 100%;
  max-width: 22rem;
  justify-content: center;
  box-shadow: 0 12px 26px -10px color-mix(in srgb, var(--amber-deep) 70%, black 20%);
}
@media (min-width: 901px) { .floating-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .floating-cta { transition: opacity .25s ease; } }
