:root {
  --bg: #f5f1ea;
  --surface: #fffdf9;
  --surface-soft: #eae2d7;
  --ink: #24211d;
  --ink-soft: #625c53;
  --brand: #b74325;
  --brand-dark: #91331e;
  --brown: #4a3422;
  --line: rgba(36, 33, 29, .17);
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(43, 33, 24, .13);
  --container: min(1360px, calc(100% - 64px));
  --header-height: 94px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
figure { margin: 0; }

.container { width: var(--container); margin-inline: auto; }
.section { padding: clamp(92px, 8vw, 138px) 0; }
.section-soft { background: var(--surface-soft); }
.section-dark { color: var(--white); background: #211f1b; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 4px;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.eyebrow {
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow-light { color: #efa489; }

h1, h2, h3 { margin-top: 0; color: inherit; }
h1, h2 {
  font-weight: 760;
  letter-spacing: -.045em;
  text-wrap: balance;
}
h1 { max-width: 820px; margin-bottom: 28px; font-size: clamp(52px, 5.4vw, 82px); line-height: 1.02; }
h2 { margin-bottom: 26px; font-size: clamp(38px, 4.2vw, 62px); line-height: 1.08; }
h3 { margin-bottom: 12px; font-size: clamp(22px, 2vw, 28px); line-height: 1.25; letter-spacing: -.025em; }
p { margin-top: 0; }
.lead { font-size: clamp(21px, 2vw, 29px); line-height: 1.48; letter-spacing: -.018em; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  color: var(--ink);
  background: rgba(255, 253, 249, .97);
  border-top: 6px solid var(--ink);
  border-bottom: 1px solid rgba(36, 33, 29, .09);
  backdrop-filter: blur(14px);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 34px rgba(36, 28, 20, .11); }
.header-row { height: 100%; display: flex; align-items: center; gap: 34px; }
.brand { min-width: 285px; display: flex; align-items: center; gap: 16px; }
.brand img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  padding: 5px;
  background: #fbf3e7;
  border-radius: 9px;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.08; }
.brand-copy strong { font-size: 23px; letter-spacing: .015em; }
.brand-copy small { margin-top: 7px; color: var(--ink-soft); font-size: 10px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(24px, 2.5vw, 42px); }
.desktop-nav a { position: relative; padding: 10px 0; font-size: 15px; font-weight: 750; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 2px; background: var(--brand); transition: right .18s ease; }
.desktop-nav a:hover::after { right: 0; }
.header-call { min-width: 175px; padding-left: 30px; border-left: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.header-call span { color: var(--ink-soft); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.header-call strong { margin-top: 6px; font-size: 17px; }
.menu-toggle { display: none; width: 50px; height: 50px; margin-left: auto; padding: 11px; border: 0; color: var(--ink); background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 6px 0; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-nav { position: fixed; inset: var(--header-height) 0 auto; z-index: 99; color: var(--ink); background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 24px 50px rgba(38, 30, 22, .16); }
.mobile-nav[hidden] { display: none; }
.mobile-nav-inner { padding-top: 18px; padding-bottom: 28px; display: flex; flex-direction: column; }
.mobile-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 23px; font-weight: 750; }
.mobile-nav .mobile-call { margin-top: 18px; padding: 15px 18px; color: var(--white); background: var(--brand); border: 0; border-radius: 5px; text-align: center; font-size: 17px; }

.hero {
  min-height: clamp(720px, calc(100svh - var(--header-height)), 900px);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #201e1b;
}
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 61% center; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 26, 23, .94) 0%, rgba(28, 26, 23, .80) 41%, rgba(28, 26, 23, .28) 70%, rgba(28, 26, 23, .08) 100%),
    linear-gradient(to top, rgba(28, 26, 23, .40), transparent 48%);
}
.hero-content { position: relative; z-index: 2; padding-block: 104px; }
.hero-panel { width: min(780px, 60%); }
.hero-text { max-width: 680px; margin-bottom: 0; color: rgba(255,255,255,.83); font-size: clamp(19px, 1.75vw, 25px); line-height: 1.58; }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.button { min-height: 58px; padding: 0 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 4px; font-size: 15px; font-weight: 800; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--brand); }
.button-primary:hover { background: var(--brand-dark); }
.button-secondary { color: var(--white); border-color: rgba(255,255,255,.48); background: rgba(255,255,255,.07); }
.button-secondary:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.78); }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: #0f0e0c; }
.button-outline-light { color: var(--white); border-color: rgba(255,255,255,.55); background: transparent; }
.button-outline-light:hover { background: rgba(255,255,255,.10); border-color: var(--white); }
.hero-meta { margin: 36px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.24); color: rgba(255,255,255,.70); font-size: 14px; }

.intro { background: var(--surface); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .76fr); gap: clamp(70px, 9vw, 150px); align-items: start; }
.section-heading h2 { max-width: 820px; }
.intro-copy { padding-top: 38px; }
.intro-copy .lead { margin-bottom: 26px; }
.intro-copy > p:last-child { color: var(--ink-soft); font-size: 18px; }

.services-layout { display: grid; grid-template-columns: minmax(330px, .68fr) minmax(0, 1.32fr); gap: clamp(70px, 8vw, 130px); align-items: start; }
.services-intro { position: sticky; top: calc(var(--header-height) + 42px); }
.services-intro h2 { max-width: 570px; }
.services-intro > p:not(.eyebrow) { max-width: 520px; margin-bottom: 34px; color: var(--ink-soft); font-size: 18px; }
.service-list { border-top: 1px solid rgba(36,33,29,.28); }
.service-item { display: grid; grid-template-columns: minmax(240px, .72fr) minmax(0, 1fr); gap: 42px; padding: 30px 0 32px; border-bottom: 1px solid rgba(36,33,29,.28); }
.service-item h3 { margin: 0; }
.service-item p { max-width: 690px; margin: 0; color: var(--ink-soft); font-size: 18px; }

.feature { background: var(--surface); }
.feature-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(430px, 1fr); gap: clamp(54px, 7vw, 110px); align-items: center; }
.feature-main-image img { width: 100%; height: clamp(430px, 38vw, 560px); object-fit: cover; object-position: center; border-radius: 5px; box-shadow: var(--shadow); }
.feature-copy > p:not(.eyebrow) { max-width: 680px; color: var(--ink-soft); }
.feature-copy .lead { color: var(--ink); }
.check-list { max-width: 680px; margin: 34px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.check-list li { padding: 18px 0 18px 30px; position: relative; border-bottom: 1px solid var(--line); font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 900; }

.about { overflow: hidden; }
.about-grid { display: grid; grid-template-columns: minmax(430px, .84fr) minmax(0, 1.16fr); gap: clamp(70px, 9vw, 140px); align-items: center; }
.about-copy .lead { color: var(--white); }
.about-copy > p:not(.eyebrow):not(.lead) { max-width: 650px; color: rgba(255,255,255,.68); font-size: 18px; }
.about-copy .button { margin-top: 20px; }
.about-image { position: relative; }
.about-image img { width: 100%; height: min(65vh, 620px); object-fit: cover; object-position: center; border-radius: 5px; }
.about-image figcaption { position: absolute; left: 28px; bottom: 28px; padding: 18px 22px; color: var(--white); background: var(--brand); font-size: 16px; font-weight: 800; box-shadow: var(--shadow); }

.process { background: var(--surface); }
.process-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .58fr); gap: clamp(60px, 8vw, 120px); align-items: end; margin-bottom: 58px; }
.process-head > p { margin-bottom: 10px; color: var(--ink-soft); font-size: 18px; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-grid article { min-height: 255px; padding: 38px 46px 38px 0; }
.process-grid article + article { padding-left: 46px; border-left: 1px solid var(--line); }
.process-grid span { display: block; margin-bottom: 30px; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.process-grid p { margin-bottom: 0; color: var(--ink-soft); font-size: 17px; }

.contact { color: var(--white); background: var(--brand); }
.contact-grid { display: grid; grid-template-columns: minmax(400px, .82fr) minmax(500px, 1fr); gap: clamp(80px, 10vw, 155px); align-items: start; }
.contact-copy > p:last-child { max-width: 630px; margin-bottom: 0; color: rgba(255,255,255,.78); font-size: 20px; }
.contact-links { border-top: 1px solid rgba(255,255,255,.40); }
.contact-links a { min-height: 104px; padding: 24px 0; display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid rgba(255,255,255,.40); }
.contact-links span { color: rgba(255,255,255,.70); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-links strong { margin-top: 6px; overflow-wrap: anywhere; font-size: clamp(23px, 2.1vw, 32px); }

.site-footer { padding-top: 70px; color: var(--white); background: #171613; }
.footer-top { display: grid; grid-template-columns: 94px minmax(260px, 1fr) auto auto; gap: 46px; align-items: start; padding-bottom: 56px; }
.footer-brand img { width: 88px; height: 88px; object-fit: contain; padding: 5px; background: #f8efe3; border-radius: 7px; }
.footer-top > div strong { font-size: 22px; }
.footer-top > div p { max-width: 360px; margin: 8px 0 0; color: rgba(255,255,255,.56); }
.footer-top nav { display: flex; flex-direction: column; gap: 10px; }
.footer-top nav a { color: rgba(255,255,255,.72); }
.footer-top nav a:hover { color: var(--white); }
.footer-bottom { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.11); color: rgba(255,255,255,.40); font-size: 14px; }

.legal-page { padding: clamp(76px, 7vw, 118px) 0; background: var(--surface); }
.legal-page-grid { display: grid; grid-template-columns: minmax(280px, .56fr) minmax(0, 1fr); gap: clamp(70px, 9vw, 150px); align-items: start; }
.legal-page-intro { position: sticky; top: calc(var(--header-height) + 42px); }
.legal-page-intro h1 { margin-bottom: 30px; color: var(--ink); font-size: clamp(48px, 5.8vw, 76px); }
.text-link { color: var(--brand); font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }
.legal-page-content { max-width: 860px; }
.legal-content h2 { margin: 42px 0 10px; font-size: clamp(24px, 2.2vw, 31px); line-height: 1.24; letter-spacing: -.025em; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { margin-bottom: 0; color: var(--ink-soft); line-height: 1.78; }
.legal-content p + p { margin-top: 14px; }
.legal-content strong { color: var(--ink); }
.legal-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-date { margin-bottom: 34px !important; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-weight: 700; }

.error-page { min-height: 100svh; background: #211f1b; }
.error-main { min-height: 100svh; display: grid; place-items: center; padding: 36px 0; }
.error-card { max-width: 850px; padding: clamp(42px, 7vw, 86px); color: var(--white); background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.14); border-radius: 7px; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.error-brand { display: inline-block; margin-bottom: 42px; }
.error-brand img { width: 88px; height: 88px; object-fit: contain; padding: 6px; background: #f8efe3; border-radius: 8px; }
.error-card h1 { margin-bottom: 24px; }
.error-card > p:not(.eyebrow) { max-width: 650px; margin-bottom: 34px; color: rgba(255,255,255,.72); font-size: 20px; }

@media (max-width: 1180px) {
  :root { --container: min(100% - 44px, 1360px); }
  .header-call { display: none; }
  .services-layout, .feature-grid, .about-grid { gap: 62px; }
  .footer-top { grid-template-columns: 90px 1fr auto; }
  .footer-top nav:last-child { grid-column: 3; }
}

@media (max-width: 900px) {
  :root { --header-height: 80px; --container: min(100% - 36px, 1360px); }
  .site-header { border-top-width: 4px; }
  .brand { min-width: 0; }
  .brand img { width: 54px; height: 54px; }
  .brand-copy strong { font-size: 19px; }
  .brand-copy small { display: none; }
  .desktop-nav, .header-call { display: none; }
  .menu-toggle { display: block; }
  .hero { min-height: 720px; align-items: flex-end; }
  .hero-image { object-position: 68% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(29,27,24,.92), rgba(29,27,24,.48)), linear-gradient(to top, rgba(29,27,24,.78), transparent 58%); }
  .hero-content { padding-top: 160px; padding-bottom: 78px; }
  .hero-panel { width: min(760px, 88%); }
  .intro-grid, .services-layout, .feature-grid, .about-grid, .process-head, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .intro-copy { padding-top: 0; }
  .services-intro { position: static; }
  .service-item { grid-template-columns: minmax(220px, .72fr) minmax(0, 1fr); }
  .feature-main-image { order: -1; }
  .feature-main-image img { height: 470px; }
  .about-image { order: -1; }
  .about-image img { height: 520px; }
  .process-grid { grid-template-columns: 1fr; border-bottom: 0; }
  .process-grid article { min-height: auto; padding: 30px 0; border-bottom: 1px solid var(--line); }
  .process-grid article + article { padding-left: 0; border-left: 0; }
  .footer-top { grid-template-columns: 82px 1fr; }
  .legal-page-grid { grid-template-columns: 1fr; gap: 46px; }
  .legal-page-intro { position: static; }
  .footer-top nav, .footer-top nav:last-child { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 10px 26px; }
}

@media (max-width: 620px) {
  :root { --container: min(100% - 28px, 1360px); }
  body { font-size: 16px; }
  .section { padding-block: 78px; }
  h1 { font-size: clamp(44px, 13vw, 60px); }
  h2 { font-size: clamp(34px, 10vw, 48px); }
  .brand-copy strong { font-size: 17px; }
  .hero { min-height: 720px; }
  .hero-image { object-position: 72% center; }
  .hero-overlay { background: linear-gradient(to right, rgba(28,26,23,.93), rgba(28,26,23,.38)), linear-gradient(to top, rgba(28,26,23,.86), transparent 58%); }
  .hero-content { padding-top: 150px; padding-bottom: 58px; }
  .hero-panel { width: 100%; }
  .hero-text { font-size: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-meta { font-size: 13px; line-height: 1.55; }
  .service-item { grid-template-columns: 1fr; gap: 8px; padding: 26px 0 28px; }
  .service-item p { font-size: 16px; }
  .feature-main-image img { height: 330px; }
  .about-image img { height: 430px; }
  .about-image figcaption { left: 12px; right: 12px; bottom: 12px; padding: 15px 17px; text-align: center; }
  .contact-links a { min-height: 92px; }
  .contact-links strong { font-size: 20px; }
  .footer-top { grid-template-columns: 74px 1fr; gap: 26px; }
  .footer-brand img { width: 70px; height: 70px; }
  .footer-bottom { min-height: 94px; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; }
  .legal-page { padding-top: 64px; }
  .legal-page-intro h1 { font-size: clamp(42px, 13vw, 58px); }
  .error-card { padding: 34px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
