:root {
  --paper: #F6F3EC;
  --paper-2: #ECE6D8;
  --ink: #1F2421;
  --muted: #666B64;
  --accent: #2E5B4C;
  --sun: #E8B84A;
  --line: rgba(31, 36, 33, .18);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2.5rem; --s5: 4rem; --s6: 7rem;
  --max: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.015em; }
p { margin: 0 0 var(--s2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(var(--max), 100% - 3rem); margin-inline: auto; }

/* Buttons & links */
.btn { display: inline-block; background: var(--accent); color: var(--paper); text-decoration: none; font-weight: 500; padding: .95rem 1.7rem; border: 1px solid var(--accent); border-radius: 2px; cursor: pointer; font: inherit; font-weight: 500; transition: background .2s, color .2s; }
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn-small { padding: .5rem 1.1rem; font-size: .95rem; background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-small:hover { background: var(--ink); color: var(--paper); }
.text-link { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .2s, border-color .2s; }
.text-link:hover { color: var(--accent); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); display: flex; align-items: center; transition: height .25s, background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.site-header.scrolled { --header-h: 62px; height: 62px; background: rgba(246, 243, 236, .96); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--serif); font-size: 1.3rem; }
.nav { display: flex; align-items: center; gap: 2rem; font-size: .95rem; }
.nav a:not(.btn) { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s; padding-bottom: 2px; }
.nav a:not(.btn):hover { background-size: 100% 1px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .25s; }
.nav-toggle span:first-child { top: 17px; } .nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--s5); align-items: end; padding: calc(var(--header-h) + 4rem) 0 var(--s6); min-height: 92vh; }
.tag { font-size: .9rem; color: var(--accent); font-weight: 500; padding-left: 2.2rem; position: relative; margin-bottom: var(--s3); }
.tag::before { content: ""; position: absolute; left: 0; top: .8em; width: 1.6rem; height: 1px; background: var(--accent); }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); margin-bottom: var(--s3); max-width: 14ch; font-weight: 600; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46ch; margin-bottom: var(--s4); }
.hero-actions { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.hero-visual { position: relative; margin-bottom: -2rem; }
.hero-visual svg { width: 100%; aspect-ratio: 520 / 600; }
.hero-note { position: absolute; left: -2.5rem; bottom: 2rem; background: var(--paper); padding: .8rem 1.2rem; margin: 0; border: 1px solid var(--ink); font-size: .9rem; }

/* About */
.about { padding: var(--s6) 0; border-top: 1px solid var(--line); }
.section-title { font-size: clamp(2rem, 4vw, 3.4rem); max-width: 20ch; font-weight: 600; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s5); margin-top: var(--s4); }
.about-copy { columns: 1; max-width: 60ch; }
.about-copy p:first-child::first-line { font-weight: 500; }
.about-aside { background: var(--paper-2); padding: var(--s4); margin-top: 3rem; }
blockquote { margin: 0 0 var(--s4); font-family: var(--serif); font-size: 1.55rem; line-height: 1.3; padding-left: 1.2rem; border-left: 3px solid var(--sun); }
.facts { margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--line); font-size: .95rem; }
.facts dt { font-weight: 500; } .facts dd { margin: 0; color: var(--muted); text-align: right; }

/* Services */
.services { padding: var(--s6) 0; background: #fff; border-block: 1px solid var(--line); }
.services-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); align-items: end; margin-bottom: var(--s5); }
.services-head p { color: var(--muted); margin: 0; max-width: 42ch; }
.feature { display: grid; grid-template-columns: 5fr 6fr; border: 1px solid var(--ink); margin-bottom: var(--s5); }
.feature-art svg { width: 100%; height: 100%; min-height: 260px; }
.feature-body { padding: var(--s4); align-self: center; }
.feature-body h3 { font-size: 2.2rem; margin-bottom: var(--s2); font-weight: 600; }
.feature-body p { color: var(--muted); max-width: 46ch; margin: 0; }
.icon { width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.feature-body .icon { margin-bottom: var(--s2); width: 40px; height: 40px; }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: var(--s5); }
.service-list li { display: flex; gap: var(--s2); padding: var(--s3) 0; border-top: 1px solid var(--line); transition: padding-left .25s; }
.service-list li:hover { padding-left: .6rem; }
.service-list li:nth-child(even) { margin-top: 2.5rem; }
.service-list h3 { font-size: 1.5rem; margin-bottom: .4rem; font-weight: 600; }
.service-list p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Approach */
.approach { background: var(--ink); color: var(--paper); padding: var(--s6) 0; }
.approach .section-title { margin-bottom: var(--s5); }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(246, 243, 236, .3); }
.benefit { padding: var(--s3) var(--s3) 0 0; }
.benefit + .benefit { padding-left: var(--s3); border-left: 1px solid rgba(246, 243, 236, .3); }
.big { display: block; font-family: var(--serif); font-size: 4.5rem; line-height: 1; color: var(--sun); margin-bottom: var(--s3); }
.benefit h3 { font-size: 1.4rem; margin-bottom: var(--s1); font-weight: 600; }
.benefit p { color: rgba(246, 243, 236, .72); font-size: 1rem; }

/* Contact */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--s5); padding: var(--s6) 0; align-items: start; }
.contact-info p { color: var(--muted); margin: var(--s3) 0; max-width: 36ch; }
address { font-style: normal; border-left: 3px solid var(--accent); padding-left: var(--s2); line-height: 1.8; }
address strong { display: block; margin-bottom: .4rem; }
address a { color: var(--accent); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); background: #fff; border: 1px solid var(--ink); padding: var(--s4); }
.field { display: flex; flex-direction: column; gap: .35rem; }
.full { grid-column: 1 / -1; }
label { font-size: .9rem; font-weight: 500; } label small { color: var(--muted); font-weight: 400; }
input, textarea { font: inherit; padding: .75rem .85rem; border: 1px solid var(--line); border-bottom-color: var(--ink); background: var(--paper); color: var(--ink); border-radius: 0; width: 100%; }
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; background: #fff; }
.field.invalid input, .field.invalid textarea { border-color: #A3322B; }
.error { color: #A3322B; font-size: .85rem; min-height: 1.1em; }
.form-foot { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.status { margin: 0; font-size: .95rem; }
.status.ok { color: var(--accent); font-weight: 500; } .status.fail { color: #A3322B; }

/* Footer */
.footer { background: var(--paper-2); padding-top: var(--s5); font-size: .95rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s4); padding-bottom: var(--s4); }
.footer-name { font-family: var(--serif); font-size: 1.25rem; margin-bottom: var(--s1); }
.footer p { color: var(--muted); }
.footer nav { display: flex; flex-direction: column; gap: .4rem; }
.footer a { text-decoration: none; } .footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-bar { display: flex; justify-content: space-between; gap: var(--s2); flex-wrap: wrap; border-top: 1px solid var(--line); padding: var(--s3) 0; font-size: .85rem; }
.footer-bar p { margin: 0; } .footer-bar a { margin-left: var(--s3); }
.footer-bar p:last-child a:first-child { margin-left: 0; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; gap: var(--s4); }
  .hero-visual { max-width: 460px; margin-bottom: 0; }
  .hero-note { left: 1rem; }
  .about-grid, .services-head, .contact { grid-template-columns: 1fr; }
  .about-aside { margin-top: 0; }
  .feature { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .benefit:nth-child(3) { border-left: 0; padding-left: 0; }
  .benefit:nth-child(n+3) { margin-top: var(--s3); border-top: 1px solid rgba(246, 243, 236, .3); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: var(--s2) 1.5rem var(--s3); transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s; }
  .nav.open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: .8rem 0; width: 100%; border-bottom: 1px solid var(--line); background: none; }
  .nav .btn { margin-top: var(--s2); }
  .site-header.menu-open { background: var(--paper); }
  .service-list { grid-template-columns: 1fr; }
  .service-list li:nth-child(even) { margin-top: 0; }
  .benefits { grid-template-columns: 1fr; }
  .benefit, .benefit + .benefit { padding: var(--s3) 0; border-left: 0; border-top: 1px solid rgba(246, 243, 236, .3); }
  .benefit:first-child { border-top: 0; }
  .form { grid-template-columns: 1fr; padding: var(--s3); }
  .footer-grid { grid-template-columns: 1fr; }
  .about, .services, .approach, .contact { padding-block: var(--s5); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
