@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/inter-normal.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --paper: #faf7f2;
  --surface: #fffdf9;
  --text: #29352c;
  --muted: #596358;
  --accent: #4b644e;
  --accent-hover: #354d39;
  --sage: #8a9a7b;
  --sage-wash: #e8ede4;
  --line: #ccd3c6;
  --contact: #304535;
  --on-contact: #faf7f2;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #19221c;
  --surface: #202b23;
  --text: #f0eee6;
  --muted: #bcc5b8;
  --accent: #c3d0b9;
  --accent-hover: #e2e9dc;
  --sage: #a8ba98;
  --sage-wash: #25332a;
  --line: #445345;
  --contact: #111b15;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #19221c;
    --surface: #202b23;
    --text: #f0eee6;
    --muted: #bcc5b8;
    --accent: #c3d0b9;
    --accent-hover: #e2e9dc;
    --sage: #a8ba98;
    --sage-wash: #25332a;
    --line: #445345;
    --contact: #111b15;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 1rem; line-height: 1.75; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: 0.3em; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2.8rem, 4.5vw, 4rem); line-height: 1.06; letter-spacing: -0.025em; }
h3 { font-size: 1.9rem; line-height: 1.2; }
em { font-weight: 400; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.hero :focus-visible, .contact :focus-visible { outline-color: #faf7f2; }
::selection { background: #cbd8bf; color: #203026; }
.container { width: min(100% - 5rem, 1152px); margin-inline: auto; }
.section-space { padding-block: 6.75rem; }
.eyebrow { margin-bottom: 1.3rem; color: var(--accent); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; }
.skip-link { position: fixed; z-index: 100; inset: 0.5rem auto auto 0.5rem; padding: 0.6rem 1rem; background: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 10; top: 0; background: var(--paper); border-bottom: 2px solid var(--sage); }
.header-inner { max-width: 1440px; min-height: 88px; margin-inline: auto; padding: 0.8rem 3rem; display: flex; gap: 1.8rem; align-items: center; }
.wordmark { color: var(--accent); font-family: var(--serif); font-size: 2rem; font-weight: 500; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap; }
.site-nav { display: flex; gap: 2.3rem; align-items: center; margin-left: auto; }
.site-nav a { padding-block: 0.65rem; color: var(--accent); font-size: 0.875rem; letter-spacing: 0.075em; text-decoration: none; text-transform: uppercase; }
.site-nav a:hover { color: var(--text); text-decoration: underline; }
.theme-toggle { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); background: transparent; cursor: pointer; }
.theme-toggle:hover { background: var(--sage-wash); }
.theme-toggle .sun-icon { display: none; }
.theme-toggle[aria-pressed="true"] .sun-icon { display: block; }
.theme-toggle[aria-pressed="true"] .moon-icon { display: none; }

.hero { position: relative; isolation: isolate; display: grid; align-content: center; justify-items: center; min-height: min(760px, calc(100svh - 88px)); padding: 6rem 2rem 7rem; text-align: center; color: #faf7f2; background: #344637; }
.hero-image, .hero-shade { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 56%; }
.hero-shade { background: linear-gradient(180deg, rgb(21 36 27 / 52%), rgb(21 36 27 / 62%) 55%, rgb(16 31 23 / 76%)); }
.hero-content { max-width: 1000px; }
.hero .eyebrow { color: #faf7f2; margin-bottom: 1.6rem; letter-spacing: 0.19em; }
.hero h1 { font-size: clamp(3.5rem, 6.7vw, 6.1rem); line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; }
.hero-description { max-width: 600px; margin: 2rem auto 0; font-size: 1.0625rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.35rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0.85rem 1.65rem; border: 1px solid transparent; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.05em; text-decoration: none; }
.button-primary { color: #faf7f2; background: #4b644e; border-color: #a8b79a; }
.button-primary:hover { color: #29352c; background: #e8ede4; border-color: #e8ede4; }
.button-outline { color: #faf7f2; border-color: #cbd1c5; }
.button-outline:hover { color: #29352c; background: #faf7f2; border-color: #faf7f2; }
.hero-company { position: absolute; bottom: 1.75rem; font-size: 0.875rem; letter-spacing: 0.045em; }

.section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: end; margin-bottom: 3.75rem; }
.section-lead { font-family: var(--serif); font-size: clamp(1.45rem, 2.1vw, 1.85rem); line-height: 1.42; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 5rem; row-gap: 2.6rem; }
.service { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.service h3 { margin-bottom: 0.9rem; }
.service p { max-width: 470px; color: var(--muted); line-height: 1.85; }

.about { background: var(--sage-wash); }
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: center; gap: 6rem; }
.about-photo img { width: 100%; aspect-ratio: 0.94; object-fit: cover; object-position: center; }
.about-content h2 { margin-bottom: 1.7rem; }
.about-content p:not(.eyebrow) { margin-bottom: 1.25rem; }
.about-content .about-lead { font-family: var(--serif); font-size: 1.6rem; line-height: 1.4; }
.text-link { display: inline-block; padding-block: 0.5rem; color: var(--accent); font-weight: 500; }
.text-link:hover { color: var(--text); }

.digital-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.digital-copy > p + p { margin-top: 1.5rem; color: var(--muted); }

.contact { color: var(--on-contact); background: var(--contact); text-align: center; }
.contact .eyebrow { color: #d0ddc6; }
.contact h2 { font-size: clamp(3.5rem, 5.5vw, 5.1rem); }
.contact-inner > p:not(.eyebrow) { margin-top: 1.8rem; }
.contact-email { display: inline-block; margin-top: 1.75rem; padding-block: 0.4rem; color: #faf7f2; border-bottom: 1px solid #b9c8b0; font-family: var(--serif); font-size: clamp(1.65rem, 3.5vw, 2.65rem); line-height: 1.3; text-decoration: none; }
.contact-email:hover { border-bottom-color: #faf7f2; }

.site-footer { padding: 3rem 0 1.75rem; font-size: 0.875rem; }
.footer-main { display: flex; justify-content: space-between; gap: 2rem; padding-bottom: 2.1rem; }
.legal-name { margin-top: 0.5rem; color: var(--muted); }
.footer-contact { padding-top: 0.5rem; text-align: right; color: var(--muted); }
.footer-contact a { display: inline-block; padding-block: 0.25rem; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--muted); }
.privacy-note summary { cursor: pointer; padding-block: 0.2rem; }
.privacy-note p { width: min(36rem, 100%); padding-top: 1rem; }
.privacy-note[open] { flex-basis: 100%; }
.error-page { min-height: 100svh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.5rem; padding-block: 3rem; }
.error-page h1 { font-size: clamp(3rem, 7vw, 5rem); line-height: 1.05; }

@media (max-width: 900px) {
  .header-inner { padding-inline: 2rem; gap: 1rem; }
  .site-nav { gap: 1.3rem; }
  .container { width: min(100% - 4rem, 1152px); }
  .section-space { padding-block: 5rem; }
  .section-intro, .service-grid, .digital-grid { column-gap: 2.5rem; }
  .about-grid { gap: 3rem; }
  .hero { min-height: 660px; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 8.25rem; }
  .header-inner { min-height: auto; flex-wrap: wrap; column-gap: 1rem; row-gap: 0.15rem; padding: 0.65rem 1.4rem 0.4rem; }
  .wordmark { font-size: 1.8rem; }
  .theme-toggle { margin-left: auto; }
  .site-nav { order: 3; flex-basis: 100%; justify-content: space-between; gap: 0.75rem; margin-left: 0; }
  .site-nav a { font-size: 0.875rem; letter-spacing: 0.045em; padding-block: 0.55rem; }
  .container { width: calc(100% - 2.8rem); }
  .section-space { padding-block: 3.75rem; }
  .eyebrow { font-size: 0.875rem; margin-bottom: 1rem; }
  .hero { min-height: 650px; padding: 4rem 1.4rem 5.75rem; }
  .hero h1 { font-size: clamp(3.15rem, 11.5vw, 4.4rem); line-height: 1.05; }
  .hero h1 br { display: none; }
  .hero-description { margin-top: 1.75rem; font-size: 1rem; line-height: 1.8; }
  .hero-actions { flex-direction: column; gap: 0.85rem; width: min(100%, 290px); margin: 2rem auto 0; }
  .button { width: 100%; }
  .hero-company { font-size: 0.8125rem; bottom: 1.5rem; }
  .section-intro, .service-grid, .about-grid, .digital-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section-intro { margin-bottom: 2.5rem; }
  .service-grid { row-gap: 2rem; }
  .service h3 { font-size: 1.8rem; }
  .about-grid { gap: 2.5rem; }
  .about-photo { max-width: 430px; }
  .about-photo img { aspect-ratio: 1.05; }
  .about-content h2 { font-size: 2.8rem; }
  .contact h2 { font-size: 3.5rem; }
  .desktop-break { display: none; }
  .footer-main { flex-direction: column; gap: 1rem; }
  .footer-contact { text-align: left; }
}

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