/* Valtrena — ivory paper, forest ink, and restrained brass details. */
:root {
  color-scheme: light;
  --paper: #f7f5ee;
  --paper-deep: #efeee5;
  --ink: #233d32;
  --body: #535e54;
  --muted: #646d60;
  --line: #d6d9ca;
  --brass: #8a754e;
  --brass-ink: #716040;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { color: var(--paper); background: var(--ink); }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--brass); }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brass); outline-offset: 5px; }
svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; overflow-wrap: break-word; }
p { color: var(--body); }
em { font-weight: 400; }
[hidden] { display: none !important; }
.container { width: min(var(--width), calc(100% - 6rem)); margin-inline: auto; }
.skip-link { position: absolute; top: -6rem; left: 1rem; z-index: 20; padding: .7rem 1rem; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 1rem; }
.site-header { position: relative; z-index: 10; }
.header-inner { min-height: 102px; display: flex; align-items: center; gap: 2.5rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark { width: 31px; height: 35px; }
.brand-name { font: 400 1.9rem/1 var(--serif); letter-spacing: -.055em; }
.primary-nav { display: flex; align-items: center; gap: 2.25rem; margin-left: auto; }
.primary-nav > a { position: relative; padding: .5rem 0; font-size: .875rem; text-decoration: none; }
.primary-nav > a:not(.nav-cta)::after { position: absolute; content: ""; height: 1px; background: currentColor; right: 0; left: 0; bottom: .2rem; transform: scaleX(0); transition: transform 160ms ease; }
.primary-nav > a:hover::after, .primary-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav > .nav-cta { padding: .65rem 1.15rem; border: 1px solid var(--ink); }
.nav-cta:hover { background: var(--ink); color: var(--paper); }
.menu-toggle { display: none; align-items: center; gap: .6rem; min-height: 44px; padding: .3rem .6rem; background: transparent; color: var(--ink); border: 1px solid var(--line); cursor: pointer; font-size: .875rem; }
.menu-toggle svg { width: 17px; height: 17px; }
.eyebrow { display: flex; align-items: center; gap: .75rem; font: 500 .75rem/1.5 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; flex: 0 0 1.7rem; width: 1.7rem; height: 1px; background: var(--brass); }
.home-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 4rem; padding-block: 5rem; }
.hero-copy h1 { margin-top: 1.4rem; font-size: clamp(2.8rem, 4.5vw, 4.25rem); line-height: 1.09; letter-spacing: -.05em; }
.hero-copy h1 em { display: block; color: #66734f; }
.hero-description { max-width: 32rem; margin-top: 1.7rem; line-height: 1.85; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.65rem; margin-top: 2rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 1.6rem; min-height: 49px; padding: .8rem 1.3rem; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); text-decoration: none; font-size: .875rem; transition: background 160ms ease; }
.button:hover { background: #385344; }
.button .arrow, .text-link .arrow { font-size: 1.1rem; line-height: 1; }
.text-link { display: inline-flex; align-items: center; gap: 1rem; min-height: 44px; font-size: .875rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.text-link:hover { border-color: var(--ink); }
.hero-art { position: relative; width: 100%; aspect-ratio: 1 / 1.08; background: #e9ebdf; padding: 1.15rem; }
.hero-art::after { content: ""; position: absolute; inset: 1.15rem; border: 1px solid #b9c1a9; pointer-events: none; }
.hero-art svg { width: 100%; height: 100%; }
.hero-art figcaption { position: absolute; bottom: 2rem; left: 0; right: 0; text-align: center; font-size: .75rem; letter-spacing: .16em; color: #596746; }
.hero-footnote { display: flex; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); padding-block: 1.2rem; font-size: .8125rem; color: var(--muted); }
.hero-footnote span:last-child { font-family: var(--serif); font-style: italic; font-size: 1rem; }
.section { padding-block: 6rem; }
.section-tinted { background: var(--paper-deep); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; margin-bottom: 3rem; }
.section-heading h2 { max-width: 35rem; margin-top: 1rem; font-size: clamp(2.4rem, 3.5vw, 3.4rem); line-height: 1.12; letter-spacing: -.04em; }
.section-heading > p { max-width: 24rem; }
.service-list { border-top: 1px solid var(--line); }
.service-preview { display: grid; grid-template-columns: 2.8rem 1fr 1.05fr 2rem; gap: 1.5rem; align-items: center; padding: 1.8rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.service-number { font-size: .75rem; color: var(--brass-ink); font-variant-numeric: tabular-nums; }
.service-preview h3 { font-size: 1.65rem; line-height: 1.25; letter-spacing: -.025em; }
.service-preview p { max-width: 29rem; font-size: .9375rem; line-height: 1.65; }
.service-preview > .arrow { justify-self: end; font-size: 1.2rem; transition: transform 160ms ease; }
.service-preview:hover h3 { color: #60704c; }
.service-preview:hover > .arrow { transform: translate(2px, -2px); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; counter-reset: steps; list-style: none; padding: 0; margin: 3.5rem 0 0; }
.process-grid li { position: relative; padding-top: 1.25rem; border-top: 1px solid #cdd0c0; }
.process-grid .step { display: block; margin-bottom: 1.5rem; font-size: .75rem; color: var(--brass-ink); }
.process-grid h3 { font-size: 1.55rem; line-height: 1.3; margin-bottom: .8rem; }
.process-grid p { font-size: .9375rem; }
.contact-band { padding-block: 4.7rem; }
.contact-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 3rem; }
.contact-band h2 { font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1.15; letter-spacing: -.035em; }
.contact-band p { margin-top: .8rem; }
.contact-band .text-link { max-width: 100%; overflow-wrap: anywhere; font-size: 1rem; gap: 2rem; border-color: #a7af9f; }
.contact-band .arrow { flex-shrink: 0; }
.site-footer { background: var(--ink); color: var(--paper); padding-block: 3rem 1.8rem; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-bottom: 2.3rem; }
.footer-top p { color: #c3cbbd; font-size: .875rem; margin-top: .8rem; }
.footer-contact { font-style: normal; text-align: right; }
.footer-contact p { margin: 0; }
.footer-email { display: inline-block; color: #e0e5d8; font-size: .875rem; text-decoration: none; padding-block: .5rem; overflow-wrap: anywhere; }
.footer-email:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.3rem; border-top: 1px solid #506255; }
.footer-bottom p, .footer-bottom a { font-size: .75rem; color: #c3cbbd; }
.footer-links { display: flex; gap: 1.8rem; }
.footer-links a { display: inline-block; padding-block: .5rem; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.site-footer a:focus-visible { outline-color: #e0d3ad; }

/* Interior pages share the same typography and generous ruled sections. */
.page-intro { padding-block: 5.5rem 4.2rem; max-width: 51rem; }
.page-intro h1 { margin-top: 1.35rem; font-size: clamp(3rem, 5.5vw, 5rem); line-height: 1.09; letter-spacing: -.052em; }
.page-intro h1 em { color: #66734f; }
.page-intro > p:last-child { max-width: 40rem; margin-top: 1.7rem; font-size: 1.0625rem; line-height: 1.8; }
.service-details { border-top: 1px solid var(--line); padding-bottom: 2rem; }
.service-detail { display: grid; grid-template-columns: 2.8rem 1fr 1.2fr; align-items: start; gap: 1.5rem; padding-block: 3rem; border-bottom: 1px solid var(--line); scroll-margin-top: 2rem; }
.service-detail > .service-number { padding-top: .4rem; }
.service-detail h2 { max-width: 22rem; font-size: 2rem; letter-spacing: -.03em; line-height: 1.2; }
.service-detail ul { margin: 1.2rem 0 0; padding-left: 1.1rem; color: var(--body); font-size: .9375rem; }
.service-detail li { padding-left: .3rem; margin-top: .4rem; }
.service-detail li::marker { color: var(--brass); }
.about-story { display: grid; grid-template-columns: .85fr 1.2fr; gap: 7rem; padding-block: 3rem 5.5rem; border-top: 1px solid var(--line); }
.about-story h2 { font-size: 2.5rem; line-height: 1.2; letter-spacing: -.03em; }
.prose p + p { margin-top: 1.1rem; }
.prose > .text-link { margin-top: 1.5rem; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.principle { border-top: 1px solid #cdd0c0; padding-top: 1.3rem; }
.principle h3 { margin-block: 1rem .8rem; font-size: 1.65rem; line-height: 1.3; }
.principle p { font-size: .9375rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; gap: 5rem; padding-bottom: 5rem; }
.contact-card { background: var(--paper-deep); padding: 2.5rem; border: 1px solid var(--line); }
.contact-card .eyebrow::before { display: none; }
.contact-address { display: inline-block; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.3; letter-spacing: -.035em; margin-block: 1.5rem 1rem; overflow-wrap: anywhere; }
.contact-card > p { max-width: 30rem; }
.contact-card .button { margin-top: 2rem; }
.contact-location { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.contact-location h3 { margin-bottom: .4rem; font: 500 .875rem/1.5 var(--sans); }
.contact-location p { color: var(--ink); }
.contact-location .small { margin-top: .35rem; color: var(--body); font-size: .875rem; }
.contact-help { padding-top: .5rem; }
.contact-help h2 { font-size: 1.9rem; line-height: 1.2; margin-bottom: 1rem; }
.contact-help ul { margin: 1.2rem 0 1.7rem; padding-left: 1.2rem; color: var(--body); }
.contact-help li { padding-left: .3rem; margin-bottom: .7rem; }
.contact-help li::marker { color: var(--brass); }
.contact-help .small { font-size: .875rem; }
.contact-help p + p { margin-top: 1rem; }
.legal-layout { display: grid; grid-template-columns: 1fr 2.3fr; gap: 5rem; border-top: 1px solid var(--line); padding-block: 2.5rem 6rem; }
.legal-meta { color: var(--muted); font-size: .875rem; }
.legal-meta p + p { margin-top: .3rem; }
.legal-content { max-width: 47rem; }
.legal-content section + section { margin-top: 2.3rem; }
.legal-content h2 { font-size: 1.65rem; line-height: 1.3; margin-bottom: .8rem; }
.legal-content a { overflow-wrap: anywhere; }

@media (min-width: 1500px) { .home-hero { gap: 6rem; } }
@media (max-width: 1050px) {
  .container { width: calc(100% - 4rem); }
  .primary-nav { gap: 1.5rem; }
  .home-hero { gap: 2.5rem; padding-block: 4.5rem; }
  .hero-copy h1 { font-size: clamp(2.6rem, 4.6vw, 3.4rem); }
  .hero-art { aspect-ratio: 1 / 1.2; }
  .service-preview { grid-template-columns: 2rem 1fr 1fr 1.3rem; gap: 1rem; }
  .process-grid { gap: 1.5rem; }
  .about-story, .contact-layout { gap: 3rem; }
  .contact-card { padding: 2rem; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 3rem); }
  .header-inner { min-height: 82px; gap: 0; flex-wrap: wrap; padding-block: 1rem; }
  .brand-name { font-size: 1.8rem; }
  .brand-mark { width: 27px; height: 31px; }
  .menu-ready .menu-toggle { display: inline-flex; margin-left: auto; }
  .primary-nav { width: 100%; margin: 1rem 0 0; gap: .4rem; flex-wrap: wrap; }
  .primary-nav > a { padding: .6rem .8rem; }
  .primary-nav > .nav-cta { margin-left: auto; }
  .menu-ready .primary-nav { display: none; }
  .menu-ready .primary-nav.is-open { display: flex; flex-direction: column; align-items: stretch; padding-block: .5rem; }
  .menu-ready .primary-nav > a { min-height: 44px; }
  .menu-ready .primary-nav > a::after { display: none; }
  .menu-ready .primary-nav > a[aria-current="page"]:not(.nav-cta) { background: var(--paper-deep); }
  .menu-ready .primary-nav > .nav-cta { margin: .5rem 0 0; text-align: center; }
  .home-hero { grid-template-columns: 1fr; padding-block: 3.5rem 2.5rem; gap: 2.5rem; }
  .hero-copy h1 { font-size: clamp(2.6rem, 7.6vw, 3.75rem); max-width: 35rem; }
  .hero-description { max-width: 34rem; }
  .hero-art { aspect-ratio: 1.55 / 1; max-height: 360px; }
  .hero-art svg { width: 100%; }
  .hero-art figcaption { bottom: 1.8rem; letter-spacing: .09em; }
  .hero-footnote { flex-direction: column; gap: .35rem; padding-block: 1rem; }
  .section { padding-block: 4rem; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
  .section-heading > p { max-width: 33rem; }
  .section-heading h2 { font-size: 2.5rem; }
  .service-preview { grid-template-columns: 1.7rem 1fr 1.2rem; column-gap: .8rem; row-gap: .7rem; padding-block: 1.5rem; }
  .service-preview h3 { font-size: 1.5rem; }
  .service-preview p { grid-column: 2; }
  .service-preview > .arrow { grid-column: 3; grid-row: 1; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 2.25rem 2rem; margin-top: 2.5rem; }
  .process-grid .step { margin-bottom: 1rem; }
  .contact-band { padding-block: 3.5rem; }
  .contact-band-inner { align-items: flex-start; flex-direction: column; gap: 1.6rem; }
  .page-intro { padding-block: 3.5rem 3rem; }
  .page-intro h1 { font-size: clamp(2.8rem, 8vw, 4rem); }
  .service-detail { grid-template-columns: 1.8rem 1fr; gap: .8rem; padding-block: 2.3rem; }
  .service-detail h2 { font-size: 1.85rem; }
  .service-detail > div { grid-column: 2; margin-top: .5rem; }
  .about-story { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 2.5rem 3.5rem; }
  .about-story h2 { max-width: 25rem; font-size: 2.2rem; }
  .principles { grid-template-columns: 1fr; gap: 2rem; }
  .principle p { max-width: 34rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 4rem; }
  .contact-address { font-size: clamp(1.6rem, 6vw, 2.6rem); }
  .legal-layout { grid-template-columns: 1fr; gap: 2rem; padding-block: 2rem 4rem; }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 1.3rem; padding-bottom: 1.8rem; }
  .footer-contact { text-align: left; }
}
@media (max-width: 390px) {
  .container { width: calc(100% - 2.25rem); }
  .hero-copy h1 { font-size: 2.5rem; }
  .actions { gap: 1rem; }
  .hero-art { aspect-ratio: 1.3 / 1; }
  .process-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-card { padding: 1.4rem; }
  .contact-address { font-size: 1.55rem; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: .4rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print {
  body { background: white; color: black; }
  .container { width: 100%; }
  .primary-nav, .menu-toggle, .skip-link, .hero-art, .contact-band { display: none !important; }
  .home-hero, .service-detail, .about-story, .contact-layout, .legal-layout { display: block; }
  .home-hero, .section, .page-intro { padding-block: 1.5rem; }
  .site-footer { background: white; color: black; }
  .site-footer p, .site-footer a { color: black; }
  a { text-decoration: underline; }
  .service-detail, .legal-content section, .principle { break-inside: avoid; }
}
