:root {
  --ink: #16191d;
  --ink-2: #22272d;
  --ink-3: #2d333a;
  --silver: #c9cfd6;
  --silver-2: #e6e9ed;
  --silver-3: #f4f5f7;
  --muted: #3f4750;
  --muted-light: #8b949e;
  --accent: #8f4e2a;
  --accent-2: #7d4324;
  --accent-soft: #f3e4da;
  --white: #fff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(22, 25, 29, 0.04), 0 8px 24px rgba(22, 25, 29, 0.06);
  --shadow-lg: 0 2px 4px rgba(22, 25, 29, 0.05), 0 20px 48px rgba(22, 25, 29, 0.12);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --header-h: 72px;
  --max: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  font-weight: 600;
}

p { margin: 0 0 1em; }

.container { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 100;
  text-decoration: none;
}

.skip-link:focus { top: 1rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--accent-2); color: #fff; }
.btn-primary:hover { background: var(--ink); }

.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); }

.btn-sm { padding: 0.6rem 1.05rem; font-size: 0.9rem; }

.btn-pdf { align-self: flex-start; margin-top: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.scrolled {
  border-color: var(--silver-2);
  box-shadow: 0 4px 20px rgba(22, 25, 29, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  height: var(--header-h);
  gap: 1rem;
  min-width: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: var(--ink);
  flex: none;
}

.site-header .logo { max-width: calc(100% - 3.25rem); }

.logo-word {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.logo-line {
  display: block;
  white-space: nowrap;
}

.logo-line:first-child { letter-spacing: 0.045em; }

.logo-mark {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 6px;
  background:
    linear-gradient(var(--silver), var(--silver)) 50% 0 / 2px 100% no-repeat,
    linear-gradient(var(--silver), var(--silver)) 0 50% / 100% 2px no-repeat,
    linear-gradient(135deg, var(--ink-3), var(--ink));
  box-shadow: inset 0 0 0 2px var(--silver);
}

.site-nav { display: flex; align-items: center; gap: 1.25rem; }

.site-nav ul {
  display: flex;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav ul a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding: 0.25rem 0;
}

.site-nav ul a:hover,
.site-nav ul a[aria-current="page"] { color: var(--ink); }

.site-nav ul a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin: 0 0 0.85rem;
}

.lead {
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 40rem;
}

.hero-full {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}

.hero-full img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 18, 21, 0.82) 0%, rgba(15, 18, 21, 0.55) 46%, rgba(15, 18, 21, 0.15) 100%),
    linear-gradient(180deg, rgba(15, 18, 21, 0.15) 0%, rgba(15, 18, 21, 0.55) 100%);
}

.hero-full .container { position: relative; z-index: 1; padding: 6.5rem 0 4.5rem; }

.hero-full h1 {
  font-size: clamp(2.7rem, 6.4vw, 5rem);
  max-width: 14ch;
  color: #fff;
  margin-bottom: 1rem;
}

.hero-full .lead { color: rgba(255, 255, 255, 0.88); margin-bottom: 1.75rem; }
.hero-full .eyebrow { color: #f0c7ae; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.5rem;
  list-style: none;
  padding: 1.25rem 0 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  max-width: 40rem;
}

.hero-stats strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.15;
  font-weight: 600;
}

.hero-stats span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.78); }

.page-hero {
  position: relative;
  min-height: 380px;
  display: grid;
  align-items: end;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 18, 21, 0.25) 0%, rgba(15, 18, 21, 0.78) 100%);
}

.page-hero .container { position: relative; z-index: 1; padding: 7rem 0 2.75rem; }

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  color: #fff;
  max-width: 18ch;
}

.page-hero .lead { color: rgba(255, 255, 255, 0.88); margin-bottom: 0; }
.page-hero .eyebrow { color: #f0c7ae; }

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.crumb a { color: #fff; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--silver-3); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .section-sub,
.section-dark p { color: var(--muted-light); }
.section-dark .eyebrow { color: #f0c7ae; }

.section-head { max-width: 44rem; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.section-sub { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }

.usp {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--silver-2);
  border-bottom: 1px solid var(--silver-2);
}

.usp article {
  padding: 1.5rem 1.35rem;
  border-right: 1px solid var(--silver-2);
}

.usp article:last-child { border-right: 0; }
.usp h2 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.usp p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.cards,
.portfolio,
.product-grid,
.finish-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card,
.project,
.product-card,
.finish-card {
  background: #fff;
  border: 1px solid var(--silver-2);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: var(--shadow);
}

.card { padding: 0 0 1.35rem; box-shadow: none; }
.card > :not(.media) { margin-left: 1.25rem; margin-right: 1.25rem; }
.card .tag { margin-top: 1rem; }
.card h3, .product-card h3, .project h3 { font-size: 1.2rem; }
.card p, .product-body p { color: var(--muted); }

.media,
.project-art,
.product-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--silver-2);
  flex: none;
}

.media img,
.project-art img,
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-meta,
.product-body,
.finish-card div { padding: 1.15rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }

.project-meta h3,
.product-body h3 { margin: 0; }

.tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  background: var(--accent-soft);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--accent-2);
  margin-top: auto;
}

.text-link:hover { text-decoration: underline; }

.spec-list {
  list-style: none;
  margin: 0.4rem 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.spec-list li {
  display: grid;
  grid-template-columns: minmax(7.5rem, 0.9fr) 1.3fr;
  gap: 0.75rem;
  font-size: 0.9rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--silver-2);
}

.spec-list span { color: var(--muted); }
.spec-list strong { font-weight: 600; }

.note-bar {
  margin-top: 1.75rem;
  padding: 1rem 1.15rem;
  background: var(--silver-3);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.92rem;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.step {
  padding: 1.4rem 1.15rem;
  border-radius: var(--radius);
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  min-height: 100%;
}

.step-num {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.85rem;
  color: #f0c7ae;
  margin-bottom: 1rem;
}

.step h3 { font-size: 1.05rem; color: #fff; }
.step p { font-size: 0.92rem; margin: 0; color: var(--muted-light); }

.why {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.why-list li {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--silver-3);
  border-left: 3px solid var(--accent);
  min-height: 100%;
}

.why-list h3 { font-size: 1.08rem; }
.why-list p { color: var(--muted); margin: 0; font-size: 0.95rem; }

.faq details { border-bottom: 1px solid var(--silver-2); }
.faq details:first-child { border-top: 1px solid var(--silver-2); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 2.2rem 1.15rem 0;
  font-weight: 600;
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  position: absolute;
  right: 0.35rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
}

.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); margin: 0 0 1.15rem; max-width: 46rem; }

.cta-band {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 2rem;
  align-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.4rem; }
.cta-band p { color: var(--muted-light); margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.prose { max-width: 46rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2rem; }
.prose ul { margin: 0 0 1rem; padding-left: 1.15rem; color: var(--muted); }
.prose li { margin: 0.35rem 0; }
.prose li strong { color: var(--ink); }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.panel {
  background: var(--silver-3);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.panel h2 { font-size: 1.2rem; }
.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.contact-lines span { display: block; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-lines a { font-weight: 600; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.1rem;
}

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; }
.opt { font-weight: 400; color: var(--muted); }

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 0.8rem 0.9rem;
  border: 1.5px solid var(--silver-2);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  width: 100%;
}

.field textarea { resize: vertical; min-height: 140px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(143, 78, 42, 0.15);
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: #9d2c2c; }

.form-status { margin: 0; font-size: 0.95rem; }
.form-status.ok { color: #1e7a4a; }
.form-status.err { color: #9d2c2c; }

.map-frame {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--silver-2);
  aspect-ratio: 16 / 7;
  background: var(--silver-3);
}

.map-frame iframe { width: 100%; height: 100%; border: 0; }

.site-footer {
  background: #0f1215;
  color: var(--muted-light);
  padding: 3.5rem 0 1.5rem;
  font-size: 0.93rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--ink-3);
}

.logo-light { color: #fff; }
.footer-tag { margin: 0.9rem 0 0; max-width: 22rem; }
.footer-col h2 {
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--font);
  letter-spacing: 0;
  margin: 0 0 0.75rem;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.25rem;
  font-size: 0.84rem;
}
.footer-bottom p { margin: 0; }

.reveal { opacity: 1; transform: none; }
.js-ready .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js-ready .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .js-ready .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

@media (min-width: 981px) {
  .logo {
    font-size: 0.92rem;
    gap: 0.65rem;
  }

  .site-header .logo { max-width: none; }
}

@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .usp { grid-template-columns: 1fr 1fr; }
  .usp article:nth-child(2) { border-right: 0; }
  .usp article { border-bottom: 1px solid var(--silver-2); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    background: #fff;
    padding: 0.5rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--silver-2);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 0.85rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--silver-3); }
  .site-nav ul a[aria-current="page"]::after { display: none; }
  .site-nav .btn { margin-top: 0.8rem; }
  .cards, .portfolio, .product-grid, .finish-grid, .why, .split, .cta-band { grid-template-columns: 1fr 1fr; }
  .why-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .cards, .portfolio, .product-grid, .finish-grid, .why, .why-list, .split, .steps, .usp, .cta-band, .form, .footer-inner {
    grid-template-columns: 1fr;
  }
  .usp article { border-right: 0; }
  .hero-full { min-height: 0; }
  .hero-full .container, .page-hero .container { padding-top: 6rem; }
  .hero-full::after {
    background: linear-gradient(180deg, rgba(15, 18, 21, 0.35), rgba(15, 18, 21, 0.82));
  }
  .spec-list li { grid-template-columns: 1fr; gap: 0.1rem; }
  .map-frame { aspect-ratio: 4 / 3; }
}
