:root {
  --ink: #141210;
  --ink-soft: #3d372f;
  --muted: #6b645b;
  --paper: #f6f1e8;
  --paper-2: #efe6d6;
  --white: #fffcf7;
  --copper: #c45c26;
  --copper-dark: #9a4318;
  --moss: #2f4a3c;
  --line: rgba(20, 18, 16, 0.12);
  --line-strong: rgba(20, 18, 16, 0.22);
  --shadow: 0 22px 50px rgba(20, 18, 16, 0.12);
  --radius: 18px;
  --max: 1180px;
  --header: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--copper);
}

h1,
h2,
.display {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3.3rem);
}

h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 58ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 560;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--copper);
  color: #fff;
}

.btn-primary:hover {
  background: var(--copper-dark);
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost.light {
  border-color: rgba(255, 252, 247, 0.28);
  color: var(--white);
}

.topbar {
  background: var(--ink);
  color: #d9d0c4;
  font-size: 0.82rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  flex-wrap: wrap;
}

.topbar a:hover {
  color: #fff;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 241, 232, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

header.site.scrolled {
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  object-fit: cover;
}

.brand strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.mobile-cta {
  display: none;
}

.nav-links a {
  padding: 8px 9px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: rgba(20, 18, 16, 0.05);
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 18px;
  height: 1.6px;
  background: var(--ink);
  margin: auto;
  position: relative;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn span::before {
  top: -6px;
}

.menu-btn span::after {
  top: 6px;
}

.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 18, 16, 0.22) 0%, rgba(20, 18, 16, 0.52) 48%, rgba(20, 18, 16, 0.84) 100%),
    linear-gradient(90deg, rgba(20, 18, 16, 0.7) 0%, rgba(20, 18, 16, 0.28) 52%, transparent 78%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 48px 0 64px;
}

.hero-content h1,
.hero-content > p,
.hero-actions {
  max-width: 38rem;
}

.hero p {
  margin: 22px 0 32px;
  color: #efe6d6;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.stat {
  padding: 28px 20px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.stat:last-child {
  border-right: 0;
}

.stat b {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 88px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 40px;
}

.section-head p {
  max-width: 42ch;
  color: var(--ink-soft);
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-body {
  padding: 24px;
}

.card-body p {
  color: var(--ink-soft);
  margin-top: 10px;
}

.service-card {
  padding: 28px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.08), rgba(20, 18, 16, 0.72)),
    var(--img) center / cover no-repeat;
  color: var(--white);
  border: 0;
}

.service-card span {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.8;
}

.service-card h3 {
  margin-top: 80px;
}

.project-card img {
  height: 240px;
  width: 100%;
  object-fit: cover;
}

.meta {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 12px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 560px;
}

.split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.split-copy {
  padding: 72px 56px;
  background: var(--moss);
  color: #efe8d9;
}

.split-copy h2,
.split-copy .eyebrow {
  color: #f6f1e8;
}

.split-copy p {
  margin: 18px 0 28px;
}

.list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--copper);
  flex-shrink: 0;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  padding: 24px;
  border-top: 2px solid var(--ink);
}

.step b {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--copper);
  margin-bottom: 12px;
}

.quote {
  background: var(--ink);
  color: var(--paper);
}

.quote .container {
  max-width: 820px;
  text-align: center;
}

.quote p {
  font-family: "Fraunces", serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.35;
}

.quote cite {
  display: block;
  margin-top: 22px;
  font-style: normal;
  color: #c7bbaa;
}

.blog-card img {
  height: 210px;
  width: 100%;
  object-fit: cover;
}

.page-hero {
  padding: 72px 0 40px;
}

.page-hero p {
  margin-top: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
}

.contact-card,
form.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.contact-card + .contact-card {
  margin-top: 16px;
}

.contact-card h3 {
  margin-bottom: 8px;
}

label {
  display: block;
  font-size: 0.88rem;
  margin: 14px 0 6px;
  font-weight: 560;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 12px;
  padding: 13px 14px;
  outline: none;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 4px rgba(196, 92, 38, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-note {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #e8f0ea;
  color: var(--moss);
}

.form-note.show {
  display: block;
}

.map {
  height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 16px;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

footer.site {
  background: var(--ink);
  color: #d8cec2;
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 252, 247, 0.1);
}

footer .brand span,
footer a {
  color: #b7ad9f;
}

footer a:hover {
  color: #fff;
}

footer h4 {
  color: var(--paper);
  margin-bottom: 14px;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 8px;
}

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  font-size: 0.84rem;
  flex-wrap: wrap;
}

.wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}

.wa svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter {
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.filter.active,
.filter:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.hidden {
  display: none !important;
}

.article {
  max-width: 760px;
  margin: 0 auto;
}

.article img.cover {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 24px 0 32px;
}

.article p {
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 560;
  list-style: none;
}

.faq details p {
  margin-top: 10px;
  color: var(--ink-soft);
}

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.team img {
  height: 280px;
  width: 100%;
  object-fit: cover;
}

@media (max-width: 1100px) {
  .menu-btn {
    display: grid;
    place-items: center;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 45;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(20, 18, 16, 0.08);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
  }

  body.menu-open .nav-links {
    display: flex;
  }

  .mobile-cta {
    display: block;
    padding: 8px 10px 4px;
  }

  .mobile-cta .btn,
  .nav-links a.btn-dark {
    width: 100%;
    background: var(--ink);
    color: var(--paper);
  }

  .nav-links a.btn-dark:hover {
    background: var(--copper);
    color: #fff;
  }

  .nav-links a {
    padding: 12px 10px;
    font-size: 0.94rem;
  }
}

@media (max-width: 980px) {
  .grid-3,
  .process,
  .stats,
  .project-grid,
  .team,
  .footer-grid,
  .contact-grid,
  .split,
  .grid-2,
  .trust,
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split-copy {
    padding: 40px 28px;
  }
}

@media (max-width: 820px) {

  .grid-3,
  .process,
  .stats,
  .project-grid,
  .team,
  .footer-grid,
  .contact-grid,
  .split,
  .grid-2,
  .form-row,
  .trust,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .article img.cover {
    height: 240px;
  }

  .hero {
    min-height: 78vh;
  }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 120;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 999px;
}

.skip-link:focus {
  left: 16px;
}

.crumbs {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.crumbs a:hover {
  color: var(--ink);
}

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust article {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.trust article:last-child {
  border-right: 0;
}

.trust b {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.trust span {
  color: var(--muted);
  font-size: 0.88rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.product-code {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
}

.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.specs div dt {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.specs div dd {
  font-size: 0.92rem;
  font-weight: 560;
  margin-top: 2px;
}

.org-note {
  margin-top: 16px;
  max-width: 42ch;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.legal-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--muted);
}

.identity {
  background: var(--ink);
  color: #d9d0c4;
  padding: 28px 0;
}

.identity .container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.identity strong {
  color: var(--white);
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.identity p {
  font-size: 0.88rem;
  max-width: 62ch;
  margin-top: 6px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
