@font-face { font-family: "DM Sans"; src: url("dm-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Baskervville"; src: url("baskervville.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  color-scheme: light dark;
  --paper: light-dark(#fcfaf4, #14211c);
  --white: light-dark(#fffefa, #1b2a23);
  --sand: light-dark(#f1ead9, #28352c);
  --soft-green: light-dark(#eaf0e8, #23392e);
  --forest: light-dark(#163931, #edf4ea);
  --ink: light-dark(#202c24, #eff1e9);
  --muted: light-dark(#515d52, #c1cdc2);
  --line: light-dark(#dcd8ca, #415245);
  --control-line: light-dark(#768579, #829788);
  --tint-line: light-dark(#ced8ca, #4c6455);
  --accent-dark: light-dark(#28564a, #c1d7bd);
  --accent-line: light-dark(#577568, #a7beb1);
  --focus: light-dark(#28564a, #c1d7bd);
  --hero-emphasis: light-dark(#3b5c47, #c1d7bd);
  --button-bg: light-dark(#163931, #cee3ce);
  --button-text: light-dark(#fffefa, #14211c);
  --button-hover: light-dark(#245448, #e1efe0);
  --drop-shadow: light-dark(#283b2414, #0005);
  --serif: Baskervville, Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--ink); background: var(--paper); font: 400 1rem/1.58 var(--sans); }
main { flex: 1; }
figure, h1, h2, h3, p, dl, dd { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: default; opacity: .64; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
[id] { scroll-margin-top: 104px; }
.wrap { width: min(100% - 112px, 1328px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 12; left: 12px; top: 10px; transform: translateY(-160%); padding: 10px 16px; background: var(--white); color: var(--forest); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; inset-block-start: 0; z-index: 5; background: var(--white); border-bottom: 1px solid var(--line); }
.header-content { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex: none; display: inline-grid; width: clamp(174px, 18vw, 234px); align-content: center; gap: 5px; }
.brand-logo { width: 100%; }
.brand-logo--dark { display: none; }
:root[data-theme="dark"] .brand-logo--light { display: none; }
:root[data-theme="dark"] .brand-logo--dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .brand-logo--light { display: none; }
  :root:not([data-theme]) .brand-logo--dark { display: block; }
}
.brand-subtitle { color: var(--forest); font-weight: 650; font-size: .66rem; line-height: 1.2; letter-spacing: .035em; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.25vw, 38px); color: var(--forest); font-size: .93rem; font-weight: 650; }
.main-nav a, .bagger-menu > summary { display: flex; align-items: center; min-height: 44px; white-space: nowrap; }
.main-nav a:hover, .main-nav [aria-current="page"], .bagger-menu.is-current > summary { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--accent-line); }
.header-actions { display: flex; flex: none; align-items: center; gap: 8px; }
.menu-toggle { display: none; }
.bagger-menu { position: relative; }
.bagger-menu > summary { gap: 7px; list-style: none; }
.bagger-menu > summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.nav-caret { width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.bagger-menu[open] .nav-caret { transform: translateY(2px) rotate(225deg); }
.bagger-links { position: absolute; z-index: 5; inset: 100% auto auto -18px; min-width: 208px; padding: 6px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 25px var(--drop-shadow); }
.bagger-links a + a { border-top: 1px solid var(--line); }

h1, h2 { font: 400 3rem/1.02 var(--serif); color: var(--forest); letter-spacing: -.045em; }
h1 { font-size: clamp(3.15rem, 5.5vw, 5.6rem); }
h2 { font-size: clamp(2.2rem, 4.25vw, 4rem); }
h3 { color: var(--forest); font-size: clamp(1.18rem, 2vw, 1.45rem); line-height: 1.22; letter-spacing: -.025em; }
.eyebrow { color: var(--accent-dark); font-weight: 700; font-size: .73rem; letter-spacing: .125em; text-transform: uppercase; }
.eyebrow + h1, .eyebrow + h2 { margin-top: .33em; }
.button, .text-link { display: inline-flex; align-items: center; gap: .65em; font-weight: 700; font-size: .91rem; line-height: 1.24; }
.button { justify-content: center; min-height: 48px; padding: 0 17px; border: 1px solid transparent; border-radius: 6px; }
.button > span, .text-link > span { flex-shrink: 0; }
.button-primary { background: var(--button-bg); color: var(--button-text); }
.button-primary:hover { background: var(--button-hover); }
.button-outline, .button-header { background: transparent; color: var(--forest); border-color: var(--control-line); }
.button-header { min-height: 44px; }
.button-outline:hover, .button-header:hover { background: var(--soft-green); }
.text-link { width: fit-content; min-height: 44px; color: var(--forest); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent-line); }
.text-link:hover { color: var(--accent-dark); }
p a:not(.button) { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }

.hero { padding: clamp(34px, 4vw, 64px) 0 clamp(25px, 3.3vw, 52px); background: var(--paper); }
.hero-inner { display: grid; grid-template-columns: minmax(0, .97fr) minmax(0, 1.22fr); align-items: center; gap: clamp(26px, 4.15vw, 68px); }
.hero-copy { padding-block: 16px; }
.location { display: flex; align-items: center; gap: 9px; letter-spacing: .105em; }
.location > span { width: 10px; height: 10px; flex: 0 0 10px; border: 2px solid var(--accent-dark); border-radius: 50%; }
.hero h1 { margin-top: 23px; }
.hero h1 em { color: var(--hero-emphasis); font-style: normal; }
.hero-lead, .subpage-lead { max-width: 43ch; margin: 24px 0 0; color: var(--muted); font-size: clamp(1rem, 1.55vw, 1.19rem); }
.hero-actions, .detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 19px; margin-top: 24px; }
.hero .button-primary { min-height: 52px; }
.hero-media, .equipment-photo { overflow: hidden; border-radius: 10px; background: var(--sand); }
.hero-media img, .equipment-photo img { width: 100%; object-fit: cover; aspect-ratio: 3/2; }

.quick-routes { padding-bottom: clamp(30px, 4.7vw, 74px); background: var(--paper); }
.route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--white); }
.route-card { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 11px; min-height: 98px; padding: 19px clamp(12px, 1.9vw, 25px); }
.route-card + .route-card { border-inline-start: 1px solid var(--line); }
.route-card:hover, .route-card:focus-visible { background: var(--sand); }
.route-card:focus-visible { outline-offset: -4px; }
.route-index { display: grid; place-items: center; min-width: 31px; min-height: 31px; border-radius: 50%; background: var(--sand); color: var(--accent-dark); font-size: .68rem; font-weight: 700; }
.route-title, .route-description { display: block; }
.route-title { font-weight: 700; color: var(--forest); line-height: 1.25; margin-top: 2px; }
.route-description { color: var(--muted); font-size: .83rem; margin-top: 4px; line-height: 1.4; }
.route-arrow { color: var(--forest); }

.section { padding: clamp(48px, 6.4vw, 100px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; gap: 18px 44px; margin-bottom: clamp(24px, 3.5vw, 42px); }
.section-head > p, .section-head > div + p { max-width: 46ch; color: var(--muted); }
.projects, .model-selection, .faq { background: var(--sand); }
.project-grid, .service-grid, .bucket-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 32px); }
.project-card, .bucket-card { background: var(--white); border-radius: 9px; overflow: hidden; border: 1px solid var(--line); }
.project-card > img, .bucket-card > img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.project-copy, .bucket-content { padding: clamp(20px, 2.5vw, 34px); }
.project-copy h3, .bucket-content h3 { margin-top: 7px; }
.project-copy p:not(.eyebrow), .bucket-content p:not(.eyebrow) { margin: 8px 0 4px; color: var(--muted); max-width: 52ch; }
.service-card { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; padding: clamp(22px, 3vw, 39px); background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.operator-card { background: var(--soft-green); border-color: var(--tint-line); }
.service-card > :last-child { margin-top: auto; }
.service-card p, .service-card li { color: var(--muted); }
.service-points { margin: 0; padding-left: 1.15rem; }
.service-points li + li { margin-top: 5px; }
.service-points li::marker { color: var(--accent-dark); }

.process { border-top: 1px solid var(--line); background: var(--white); }
.process-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; }
.process-grid li { border-top: 1px solid var(--line); padding-top: 17px; }

.process-grid p { margin-top: 8px; color: var(--muted); max-width: 34ch; }
.faq-grid, .inquiry-grid, .about-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 6.4vw, 88px); align-items: start; }
.faq-list details { border-bottom: 1px solid var(--tint-line); }
.faq-list details:first-child { border-top: 1px solid var(--tint-line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; list-style: none; min-height: 54px; padding: 11px 2px; font-weight: 700; color: var(--forest); }
.faq-list summary::after { content: "+"; flex: none; font-size: 1.22em; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: 0 32px 16px 2px; color: var(--muted); }

.inquiry { background: var(--soft-green); }
.inquiry-intro > p:last-child { max-width: 36ch; margin-top: 18px; color: var(--muted); }
.inquiry-form { display: grid; gap: 15px; background: var(--white); border: 1px solid var(--tint-line); border-radius: 10px; padding: clamp(16px, 3vw, 34px); }
.inquiry-form label, .inquiry-form legend { color: var(--forest); font-weight: 700; }
.inquiry-form fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.inquiry-form legend { margin-bottom: 7px; padding: 0; }
.radio-grid, .input-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.radio-label { display: flex; align-items: center; gap: 8px; min-height: 46px; border: 1px solid var(--control-line); padding: 7px 10px; border-radius: 5px; cursor: pointer; }
.radio-label:has(:checked) { background: var(--soft-green); border-color: var(--forest); }
input[type="radio"] { margin: 0; accent-color: var(--forest); }
.inquiry-form input:not([type="radio"]), .inquiry-form textarea { display: block; width: 100%; min-height: 45px; margin-top: 4px; padding: 9px 10px; background: var(--white); color: var(--ink); border: 1px solid var(--control-line); border-radius: 5px; font-weight: 400; }
.inquiry-form textarea { resize: vertical; }
.inquiry-form .button { justify-self: start; }
.optional, .form-note, .copy-status { font-size: .83rem; color: var(--muted); font-weight: 400; }
.required { color: var(--focus); }
.form-note { margin-top: -5px; }
.form-result { display: grid; gap: 11px; border-top: 1px solid var(--line); padding-top: 14px; }

.subpage-intro, .about-page { background: var(--paper); }
.subpage-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(25px, 5.1vw, 74px); }
.detail-actions { margin-top: 23px; }
.back-link { margin-bottom: 17px; }
.model-data, .site-note { padding: clamp(18px, 3vw, 33px); border: 1px solid var(--line); background: var(--white); border-radius: 8px; }
.model-data h2 { font-size: clamp(1.75rem, 3.4vw, 2.55rem); margin: .2em 0 .48em; }
.model-data > p:last-child, .image-note { margin-top: 15px; color: var(--muted); font-size: .9rem; }
.specs { width: 100%; }
.specs div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.specs dd { flex: none; color: var(--forest); font-weight: 700; }
.bucket-card > img { object-fit: contain; background: #ebe6da; }
.site-note { margin-top: 24px; }
.site-note p { margin-top: 6px; color: var(--muted); }
.about-copy > p { margin-bottom: 16px; color: var(--muted); }

.site-footer { background: var(--white); border-top: 1px solid var(--line); }
.footer-content { min-height: 112px; display: flex; flex-wrap: wrap; gap: 14px 25px; align-items: center; justify-content: space-between; padding-block: 17px; }
.footer-location { color: var(--muted); font-size: .87rem; }
.footer-location span { white-space: nowrap; }

@media (max-width: 1030px) {
  .wrap { width: calc(100% - 64px); }
  .main-nav { gap: 17px; font-size: .87rem; }
  .header-content { gap: 16px; }
  html:not(.js) .site-header { position: static; }
  html:not(.js) [id] { scroll-margin-top: 12px; }
  [id] { scroll-margin-top: 85px; }
  .header-content { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 70px; gap: 0 12px; }
  .header-content > .brand { grid-column: 1; grid-row: 1; max-width: 100%; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; width: 100%; flex-wrap: wrap; line-height: 1.35; }
  .js .main-nav { display: none; }
  .js .main-nav.is-open { display: flex; padding: 12px 0; border-top: 1px solid var(--line); }
  .js .menu-toggle { display: inline-flex; align-items: center; min-height: 44px; gap: 7px; border: 1px solid var(--control-line); border-radius: 5px; background: var(--white); color: var(--forest); padding: 0 11px; font-size: .9rem; font-weight: 700; }
}
@media (max-width: 840px) {
  .header-actions > .button-header { display: none; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-copy { padding-block: 0; }
  .hero h1 { font-size: clamp(3.1rem, 8vw, 4.6rem); margin-top: 14px; }
  .hero-lead { margin-top: 14px; }
  .desktop-break { display: none; }
  .route-card { grid-template-columns: 1fr auto; gap: 8px; padding: 13px; }
  .route-index { display: none; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .hero { padding-top: 27px; }
  .brand { width: min(54vw, 215px); }
  .brand-subtitle { font-size: .62rem; }
  .hero h1 { font-size: clamp(2.62rem, 11vw, 3.9rem); }
  .location { font-size: .65rem; gap: 7px; }
  .hero-actions, .detail-actions { margin-top: 18px; }
  .section-head, .subpage-grid, .projects .project-grid, .service-grid, .process-grid, .faq-grid, .inquiry-grid, .about-grid, .bucket-grid { grid-template-columns: minmax(0, 1fr); }
  .section-head { gap: 11px; }
  .route-grid { grid-template-columns: 1fr; }
  .route-card { grid-template-columns: auto 1fr auto; align-items: center; min-height: 61px; padding: 10px 12px; }
  .route-card + .route-card { border-inline-start: 0; border-top: 1px solid var(--line); }
  .route-index { display: grid; }
  .route-description { margin-top: 3px; }
  .process-grid { gap: 15px; }

  .main-nav, .js .main-nav.is-open { display: grid; grid-template-columns: 1fr; gap: 0; }
  .js .main-nav:not(.is-open) { display: none; }
  .bagger-links { position: static; background: var(--paper); box-shadow: none; margin: 0 0 6px; }
  .footer-content { justify-content: flex-start; }
  .footer-location { flex-basis: 100%; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 28px); }
  .brand { width: min(54vw, calc(100vw - 156px)); }
  .input-grid { grid-template-columns: 1fr; }
  .radio-grid { gap: 7px; }
  .radio-label { font-size: .88rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal:not(:focus-within) { animation: scroll-reveal .42s cubic-bezier(.22, .61, .36, 1); }
  @keyframes scroll-reveal {
    from { opacity: .35; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.phone-placeholder {
  display: inline-block;
  color: var(--muted);
}

.about-grid {
  row-gap: clamp(20px, 3vw, 38px);
  column-gap: clamp(24px, 3.8vw, 52px);
}
.about-grid > h1 { grid-column: 1 / -1; }
.about-grid .profile-grid { margin-top: 0; }

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.2vw, 32px);
  margin-top: clamp(28px, 4.5vw, 58px);
}

.profile-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px clamp(14px, 2vw, 26px);
  align-items: center;
  padding: clamp(16px, 2.8vw, 35px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.profile-portrait {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: clamp(58px, 8vw, 106px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--soft-green);
  color: var(--forest);
  font: 400 clamp(1.28rem, 3vw, 2.6rem)/1 var(--serif);
  overflow: hidden;
}

.profile-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-card h2 {
  align-self: end;
  overflow-wrap: anywhere;
  font-size: clamp(1.35rem, 2.3vw, 2.1rem);
}

.profile-card p {
  align-self: start;
  color: var(--muted);
}

.contact-direct { margin-block: 12px 16px; }
.contact-direct a, .legal-copy a[href^="tel:"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--forest);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 680px) {
  .profile-grid { grid-template-columns: 1fr; }
}
