@font-face {
  font-family: 'DM Sans';
  src: url('assets/dm-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/instrument-serif.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/instrument-serif-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f6f0;
  --white: #fffefa;
  --ink: #1a3329;
  --green: #234337;
  --sage-ink: #455d4b;
  --muted: #4d5b51;
  --sage: #e8eee3;
  --line: #d9ded3;
  --cream: #f4efe0;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 20px; }
:focus-visible { outline: 2px solid #88652c; outline-offset: 4px; }

.container { width: min(100% - clamp(36px, 8vw, 144px), 1200px); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: absolute; z-index: 5; top: 12px; left: 12px; padding: 10px 16px; background: var(--white); border-radius: 6px; translate: 0 -160%; }
.skip-link:focus { translate: 0; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 85px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { width: fit-content; display: block; }
.brand img { width: clamp(185px, 22vw, 235px); height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 38px); }
.site-nav a { font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; text-decoration: none; }
.site-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.site-nav .mobile-contact { display: none; }
.header-contact { justify-self: end; }
.menu-toggle { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 42px; padding: 0 10px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 7px; cursor: pointer; }
.menu-toggle[aria-expanded='false'] .close-icon, .menu-toggle[aria-expanded='true'] .menu-icon { display: none; }

.button { min-height: 49px; padding: 0 19px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 700; line-height: 1.25; text-decoration: none; transition: color 160ms, background-color 160ms, border-color 160ms; }
.button .icon, .text-link .icon { width: 17px; height: 17px; }
.button-primary { min-height: 53px; background: var(--green); color: var(--white); }
.button-primary:hover { background: #122d23; }
.button-outline { min-height: 41px; padding-inline: 14px; border-color: #aab8a9; }
.button-outline:hover { background: var(--sage); border-color: var(--sage-ink); }
.text-link { min-height: 42px; display: inline-flex; align-items: center; gap: 8px; width: fit-content; color: var(--green); font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link:hover, .inline-link { text-decoration: underline; text-underline-offset: 4px; }
.inline-link { color: var(--green); font-weight: 650; }

.hero { border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(28px, 5.2vw, 78px); padding-block: clamp(47px, 6vw, 90px); }
.hero-copy { padding-block: 6px; }
.eyebrow { color: var(--sage-ink); font-size: 11px; font-weight: 700; line-height: 1.3; letter-spacing: .16em; text-transform: uppercase; }
.hero-location { display: flex; align-items: center; gap: 7px; margin-bottom: 23px; }
.hero-location .icon { width: 17px; height: 17px; }
h1, h2 { color: var(--ink); font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(56px, 6.4vw, 92px); line-height: .94; letter-spacing: -.026em; }
h1 em { color: var(--sage-ink); font-weight: 400; }
.hero-description { max-width: 407px; margin-top: 26px; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 23px; margin-top: 29px; }
.hero-booking-note { max-width: 390px; margin-top: 13px; color: var(--muted); font-size: 14px; }
.hero-booking-note strong { color: var(--ink); }
.hero-art {
  position: relative;
  isolation: isolate;
  min-width: 0;
  aspect-ratio: 1.27;
  overflow: hidden;
  border-radius: 13px;
  background: radial-gradient(ellipse at 74% 24%, #22606c 0%, #123f53 57%, #0b2e42 100%);
}

.hero-art::before, .hero-art::after { position: absolute; z-index: -1; content: ''; }
.hero-art::before {
  inset: 0;
  background-image: linear-gradient(to right, #b4e9e41a 1px, transparent 1px), linear-gradient(to bottom, #b4e9e41a 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(125deg, transparent, #000 73%);
}
.hero-art::after {
  top: -40%;
  right: -23%;
  width: 76%;
  aspect-ratio: 1;
  border: 1px solid #a6e3d744;
  border-radius: 50%;
  box-shadow: 0 0 0 23px #a6e3d713, 0 0 0 47px #a6e3d710;
}

.ledger-art { position: absolute; inset: 0; }
.ledger-sheet { position: absolute; width: 37%; height: 67%; border-radius: 10px; }
.ledger-sheet-back {
  top: 17%;
  left: 41.5%;
  rotate: 13deg;
  border: 1px solid #b0dec796;
  background: linear-gradient(150deg, #78bfaa, #438e89);
  box-shadow: 0 16px 35px #08253455;
}
.ledger-sheet-back::after {
  position: absolute;
  inset: 12% 12% 14%;
  content: '';
  background: repeating-linear-gradient(to bottom, #d4f0e26b 0 1px, transparent 1px 24px);
}
.ledger-sheet-front {
  top: 13%;
  left: 24%;
  display: grid;
  grid-template-rows: 1fr 1.15fr 1.6fr;
  gap: 8%;
  padding: 4.3%;
  rotate: -9deg;
  color: #123f53;
  background: #f5f1e5;
  box-shadow: 0 15px 32px #071a2b65;
}
.ledger-heading { display: flex; align-items: center; gap: 9%; }
.ledger-emblem { display: grid; width: 29%; max-width: 43px; flex: none; aspect-ratio: 1; place-items: center; border-radius: 6px; background: #d5e8df; }
.ledger-emblem .icon { width: 63%; height: 63%; }
.ledger-heading-lines { width: 56%; height: 68%; }
.ledger-heading-lines::before, .ledger-heading-lines::after { display: block; height: 15%; min-height: 2px; border-radius: 4px; background: currentColor; content: ''; }
.ledger-heading-lines::before { width: 91%; margin-top: 7%; }
.ledger-heading-lines::after { width: 63%; margin-top: 9%; opacity: .34; }
.ledger-rows {
  border-block: 1px solid #a9beb3;
  background:
    linear-gradient(to right, transparent 64%, #a9beb3 64% calc(64% + 1px), transparent calc(64% + 1px)),
    repeating-linear-gradient(to bottom, transparent 0 calc(33.333% - 1px), #a9beb3 calc(33.333% - 1px) 33.333%);
}
.ledger-chart { display: flex; align-items: end; gap: 8%; padding-inline: 5%; border-bottom: 1px solid #a9beb3; }
.ledger-chart span { width: 16%; border-radius: 3px 3px 0 0; background: #78b5a4; }
.ledger-chart span:nth-child(1) { height: 31%; }
.ledger-chart span:nth-child(2) { height: 49%; }
.ledger-chart span:nth-child(3) { height: 42%; }
.ledger-chart span:nth-child(4) { height: 67%; background: #4b9485; }
.ledger-chart span:nth-child(5) { height: 86%; background: #257167; }
.ledger-check {
  position: absolute;
  right: 17%;
  bottom: 12%;
  display: grid;
  width: 15%;
  max-width: 86px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #f8fffb8c;
  border-radius: 50%;
  color: #103e4d;
  background: #bde5cc;
  box-shadow: 0 9px 27px #09243250;
}
.ledger-check .icon { width: 53%; height: 53%; stroke-width: 1.7; }

.service-years { position: absolute; left: 19px; bottom: 19px; display: flex; align-items: center; gap: 11px; min-height: 72px; padding: 8px 15px; color: var(--ink); background: var(--cream); border-radius: 8px; }
.service-years strong { font-family: var(--serif); font-size: 49px; font-weight: 400; line-height: 1; }
.service-years span { font-size: 12px; font-weight: 700; line-height: 1.2; }

.section { padding-block: clamp(60px, 6.1vw, 95px); }
.section h2 { margin-top: 10px; font-size: clamp(47px, 5.15vw, 68px); line-height: .98; letter-spacing: -.017em; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 31px; }
.section-heading > p { max-width: 355px; margin-bottom: 2px; color: var(--muted); }
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.service-card { padding: clamp(18px, 2vw, 27px); background: var(--paper); border: 1px solid var(--line); border-radius: 11px; }
.service-icon { display: inline-grid; place-items: center; width: 45px; height: 45px; color: var(--green); background: var(--sage); border-radius: 8px; }
.service-icon .icon { width: 22px; height: 22px; }
.service-card h3 { margin-top: 18px; font-size: 17px; font-weight: 700; line-height: 1.25; letter-spacing: -.023em; }
.service-card p { margin-top: 8px; color: var(--muted); font-size: 14px; }

.process { border-block: 1px solid var(--line); background: var(--sage); }
.process-inner, .faq-inner, .contact-inner { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(30px, 7vw, 102px); }
.process-intro > p:last-child, .faq-inner > div:first-child > p:last-child { margin-top: 17px; color: var(--muted); }
.steps { padding-left: 0; margin: 0; list-style: none; counter-reset: steps; }
.steps li { counter-increment: steps; display: flex; align-items: center; gap: 18px; padding-block: 17px; border-bottom: 1px solid #bbcabc; }
.steps li:first-child { border-top: 1px solid #bbcabc; }
.steps li::before { content: counter(steps); display: grid; place-items: center; align-self: start; width: 34px; height: 34px; flex: none; margin-top: 2px; color: var(--ink); background: var(--white); border: 1px solid #c9d4c6; border-radius: 50%; font-size: 14px; font-weight: 700; }
.steps h3, .faq-list summary { font-size: 17px; font-weight: 700; letter-spacing: -.015em; }
.steps p { margin-top: 2px; color: var(--muted); font-size: 14px; }

.faq { background: var(--white); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; display: flex; align-items: center; min-height: 65px; padding: 13px 40px 13px 0; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 12px; height: 1.5px; background: currentColor; }
.faq-list summary::after { rotate: 90deg; }
.faq-list details[open] summary::after { display: none; }
.faq-list summary:hover { color: var(--sage-ink); }
.faq-list details p { padding: 0 35px 17px 0; color: var(--muted); font-size: 15px; }

.contact { color: var(--white); background: var(--ink); }
.contact-inner { align-items: center; grid-template-columns: 1fr .77fr; }
.contact h2 { color: var(--white); }
.contact .eyebrow { color: #d4e3d3; }
.contact-intro { margin-top: 17px; color: #dbe4d9; }
.contact-details { display: grid; justify-items: start; gap: 10px; margin-top: 23px; font-size: 15px; font-style: normal; }
.contact-details a { display: flex; align-items: center; gap: 10px; min-height: 29px; text-decoration: none; }
.contact-details a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-text { font-weight: 700; }
.contact-details .icon { width: 17px; height: 17px; color: #ccdbcb; }
.contact-details .location-arrow { width: 13px; height: 13px; }
.contact :focus-visible { outline-color: #e6c986; }
.client-card { padding: clamp(23px, 3vw, 37px); color: var(--ink); background: var(--cream); border-radius: 11px; }
.client-card :focus-visible { outline-color: #88652c; }
.client-card h3 { margin-top: 14px; font-family: var(--serif); font-size: 35px; font-weight: 400; line-height: 1; }
.client-card p { max-width: 320px; margin-top: 9px; color: var(--muted); font-size: 15px; }
.client-card .text-link { margin-top: 9px; }

.site-footer { color: var(--muted); background: var(--paper); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; min-height: 82px; gap: 16px; padding-block: 15px; }
.footer-inner .brand img { width: 187px; }
.footer-inner > small { font-size: 12px; }
.footer-top { font-size: 13px; }

@media (max-width: 940px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-actions { column-gap: 16px; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 69px; grid-template-columns: 1fr auto; gap: 0 12px; padding-block: 6px; }
  .brand img { width: 188px; }
  .header-contact { display: none; }
  .site-nav { grid-column: 1 / -1; flex-wrap: wrap; gap: 0 22px; padding-top: 8px; }
  .site-nav a { display: inline-flex; align-items: center; min-height: 42px; }
  .site-nav .mobile-contact { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 29px; padding-block: 42px 36px; }
  .hero-copy { padding-block: 0; }
  .hero-location { margin-bottom: 15px; }
  h1 { font-size: clamp(53px, 11vw, 75px); }
  .hero-description { margin-top: 19px; }
  .hero-actions { margin-top: 19px; }
  .hero-art { aspect-ratio: 1.45; }
  .service-years { left: 13px; bottom: 13px; min-height: 54px; gap: 8px; padding: 7px 11px; }
  .service-years strong { font-size: 36px; }
  .service-years span { font-size: 11px; }
  .section-heading { display: grid; align-items: start; gap: 11px; margin-bottom: 22px; }
  .process-inner, .faq-inner, .contact-inner { grid-template-columns: 1fr; gap: 26px; }
  .process-intro br { display: none; }
  .footer-inner .brand img { width: 157px; }
}

@media (max-width: 430px) {
  .services-grid { grid-template-columns: 1fr; gap: 11px; }
  .section { padding-block: 50px; }
  .footer-inner > small { flex-basis: 100%; order: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
