:root {
  color-scheme: light;
  --ink: #173542;
  --muted: #4f6368;
  --blue: #143e50;
  --green: #3b6456;
  --red: #994e42;
  --paper: #f8f7f3;
  --line: #dce2dc;
  --header: 78px;
  font: 100%/1.6 'Trebuchet MS', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-padding-top: var(--header);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #b45547; outline-offset: 4px; }
.wrap { width: min(100% - 5rem, 1240px); margin-inline: auto; }
.skip { position: fixed; z-index: 5; inset: .5rem auto auto 1rem; padding: .5rem 1rem; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.header { position: sticky; top: 0; z-index: 4; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 77px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; flex: 0 0 auto; font-size: 1.22rem; letter-spacing: -.045em; text-decoration: none; }
.brand strong { font-weight: 800; }
.header nav { display: flex; align-items: center; gap: clamp(.8rem, 2.15vw, 2rem); }
.header nav a { text-decoration: none; font-weight: 700; white-space: nowrap; font-size: .91rem; }
.header nav a:not(.button):hover, .header nav a[aria-current]:not(.button) { color: var(--red); }
.menu-toggle { border: 1px solid var(--line); border-radius: .5rem; background: white; color: var(--ink); padding: .4rem .7rem; }
.menu-toggle span { margin-inline-start: .3rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: .7rem 1.27rem; border: 1px solid var(--blue); border-radius: .55rem; background: var(--blue); color: white; font-weight: 700; text-decoration: none; text-align: center; }
.button:hover { background: #23596b; color: white; }
.button.small { min-height: 42px; padding-inline: 1rem; }
.button.outline { color: var(--blue); background: transparent; border-color: #acbcba; }
.button.outline:hover { background: #e8efeb; }
.hero { padding: clamp(2.6rem, 5.4vw, 5.25rem) 0 clamp(2.8rem, 5vw, 4.8rem); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.12fr; align-items: center; gap: clamp(2rem, 4vw, 4.6rem); }
.eyebrow { display: flex; align-items: center; gap: .55rem; margin: 0 0 .65rem; color: var(--green); font-weight: 800; font-size: .87rem; text-transform: uppercase; letter-spacing: .12em; }
.eyebrow span { width: .58rem; height: .58rem; border-radius: 50%; background: var(--red); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { line-height: 1.05; letter-spacing: -.055em; }
h1 { font-size: clamp(3rem, 5.5vw, 5.3rem); }
h1 em { display: block; color: var(--green); font-style: normal; }
h2 { font-size: clamp(2rem, 4.25vw, 3.75rem); }
h3 { font-size: 1.24rem; line-height: 1.22; letter-spacing: -.025em; }
.intro { max-width: 35ch; margin-top: 1.25rem; color: var(--muted); font-size: clamp(1.06rem, 1.5vw, 1.2rem); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.7rem; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; height: auto; aspect-ratio: 1.33; object-fit: cover; border-radius: 1.05rem; background: #315660; }
.hero-visual figcaption { position: absolute; bottom: 1.15rem; left: 1.15rem; display: grid; gap: .1rem; background: var(--paper); border-radius: .7rem; padding: .66rem 1rem; line-height: 1.3; }
.hero-visual strong { color: var(--blue); font-size: 1.6rem; }
.hero-visual figcaption span { color: var(--muted); font-size: .9rem; }
.section { padding: clamp(3rem, 6vw, 5.7rem) 0; }
.services { background: #eaf0ec; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.25rem; margin-bottom: 1.75rem; }
.section-note { max-width: 34ch; color: var(--muted); }
.section-link { margin-top: 1.2rem; }
.text-link, .cards article a { font-weight: 800; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cards article { display: flex; align-items: flex-start; flex-direction: column; gap: .75rem; border: 1px solid var(--line); border-radius: .85rem; background: #fff; padding: clamp(1rem, 2.1vw, 1.7rem); }
.cards article p, .steps p, .about p:not(.eyebrow) { color: var(--muted); }
.cards article a { margin-top: auto; }
.service-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: .65rem; }
.service-icon svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.blue { background: #e1ecf1; color: var(--blue); }
.green { background: #e0ece3; color: var(--green); }
.red { background: #f6e6e0; color: var(--red); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.photo { overflow: hidden; border: 1px solid var(--line); border-radius: .8rem; text-decoration: none; background: white; }
.photo img { width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; background: var(--paint); }
.photo span { display: flex; align-items: center; gap: .55rem; padding: .75rem .9rem; font-weight: 700; }
.photo span::before { content: ''; flex: 0 0 auto; width: .82rem; height: .82rem; border-radius: 50%; background: var(--paint); }
.photo:hover span { text-decoration: underline; }
.process { background: var(--blue); color: white; }
.process .eyebrow { color: #c5e0d1; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; padding: 0; margin: 2rem 0 0; list-style: none; counter-reset: step; }
.steps li { border-top: 1px solid #6b858e; padding: 1rem 0 0; }
.steps li::before { counter-increment: step; content: counter(step) "."; display: block; margin-bottom: .65rem; font-weight: 800; font-size: 1.55rem; color: #f2b7aa; }
.steps p { margin-top: .55rem; color: #e0ebed; }
.about-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 6vw, 5rem); }
.about-grid p + p { margin-top: .85rem; }
.contact { min-height: calc(100vh - var(--header)); min-height: calc(100svh - var(--header)); background: #eaf0ec; }
.contact-details { display: grid; justify-items: start; gap: .2rem; margin-top: 1rem; font-style: normal; overflow-wrap: anywhere; }
.contact-details a { font-weight: 800; }
.contact-form { display: grid; gap: .8rem; background: white; border: 1px solid var(--line); border-radius: .9rem; padding: clamp(1rem, 3vw, 2rem); }
.contact-form label { display: block; font-weight: 700; }
.contact-form input:not([type="hidden"]), .contact-form textarea { display: block; width: 100%; margin-top: .25rem; padding: .6rem .68rem; border: 1px solid #9fb0ae; background: white; border-radius: .4rem; color: var(--ink); }
.contact-form textarea { resize: vertical; }
.contact-form button { justify-self: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.form-row > label { min-width: 0; }
.optional, .form-privacy { color: var(--muted); font-size: .9rem; font-weight: 400; }
.form-status { color: var(--green); }
.form-status.error { color: #9a372b; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
footer { padding: 1.35rem 0; }
.footer-inner { flex-wrap: wrap; }
.footer-credit { color: var(--muted); font-size: .9rem; }
.footer-inner + .footer-credit { margin-top: .7rem; }
.to-top { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); display: grid; place-items: center; z-index: 3; width: 48px; height: 48px; border-radius: .65rem; background: var(--blue); color: white; box-shadow: 0 3px 14px #143e5038; }
.to-top svg { display: block; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.lightbox { width: min(92vw, 940px); max-height: 94vh; border: 0; border-radius: .85rem; padding: 0; color: var(--ink); }
.lightbox::backdrop { background: #10252beb; }
.lightbox-body { position: relative; background: var(--paper); padding: 1rem; }
.lightbox img { width: 100%; max-height: 70vh; object-fit: contain; background: #e9ebe6; }
.lightbox-close { position: absolute; top: 1.45rem; right: 1.45rem; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--blue); color: white; font-size: 1.65rem; }
.lightbox p { margin: .5rem 0; font-weight: 800; }
.lightbox-controls { display: flex; justify-content: space-between; gap: 1rem; }
.lightbox-controls button { padding: .35rem .8rem; border: 1px solid #a8b7b3; border-radius: .4rem; background: white; color: var(--ink); }
.subpage { max-width: 820px; }
.reference-page { max-width: 1120px; }
.reference-gallery .photo img { aspect-ratio: 470 / 338; }
.reference-gallery .photo span::before { display: none; }
.subpage h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); margin-bottom: 1.3rem; }
.subpage h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: .8rem; }
.subpage section { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.subpage section:target { min-height: calc(100vh - var(--header)); min-height: calc(100svh - var(--header)); }
.subpage > p, .subpage section p + p { margin-bottom: 1rem; }
.subpage > .intro { max-width: 63ch; }
.subpage section .actions { margin-top: 1rem; }
.subpage .contact-form { margin-top: 1.3rem; }
@media (max-width: 940px) {
  .wrap { width: min(100% - 3rem, 1240px); }
  .header nav { gap: .75rem; }
  .header nav a { font-size: .85rem; }
  .hero-grid { gap: 1.5rem; }
}
@media (min-width: 771px) { .menu-toggle { display: none; } }
@media (max-width: 770px) {
  :root { --header: 63px; }
  .wrap { width: min(100% - 2rem, 660px); }
  .header-inner { min-height: 62px; flex-wrap: wrap; }
  .header nav { flex-wrap: wrap; padding: .6rem 0; }
  .header .menu-toggle:not([hidden]) ~ nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: .7rem 1rem 1rem; background: var(--paper); border-bottom: 1px solid var(--line); }
  .header .menu-toggle[aria-expanded="true"] ~ nav { display: grid; }
  .header .menu-toggle:not([hidden]) ~ nav { max-height: calc(100dvh - var(--header)); overflow-y: auto; }
  .header nav a { padding: .35rem .3rem; font-size: 1rem; }
  .header nav .button { justify-self: start; padding-inline: 1rem; }
  .hero-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-visual img { aspect-ratio: 1.55; }
  .hero-grid { gap: 1.6rem; }
  h1 em { display: inline; }
  .gallery-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .footer-inner { padding-right: 3rem; }
}
@media (max-width: 405px) {
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { gap: .6rem; }
  .photo span { align-items: flex-start; font-size: .9rem; padding: .55rem; }
  .photo span::before { margin-top: .24rem; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
