:root {
  color-scheme: light;
  --ink: #25372f;
  --muted: #59665e;
  --accent: #a64c20;
  --accent-hover: #873c19;
  --on-accent: #fff;
  --surface: #fff;
  --paper: #f5f6f3;
  --sage: #edf2ed;
  --line: #dbe2db;
  --header-bg: rgba(255, 255, 255, .96);
  --card-bg: rgba(255, 255, 255, .78);
  --card-hover: rgba(255, 255, 255, .92);
  --hero-shade: 250, 250, 246;
  --shadow: 0 12px 36px rgba(26, 42, 32, .06);
  --header: 88px;
  background: var(--surface);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f2f3ed;
  --muted: #b7c1b9;
  --accent: #eca16c;
  --accent-hover: #f5ba8e;
  --on-accent: #292118;
  --surface: #1b1e1c;
  --paper: #222622;
  --sage: #29332c;
  --line: #3c473f;
  --header-bg: rgba(27, 30, 28, .96);
  --card-bg: rgba(36, 41, 36, .77);
  --card-hover: rgba(46, 51, 45, .86);
  --hero-shade: 23, 28, 24;
  --shadow: 0 12px 36px rgba(0, 0, 0, .12);
}
body { background: var(--surface); line-height: 1.7; }
body, .intro-strip, .services-section, .about-section, .contact-section, .site-footer { transition: background-color 220ms ease, color 220ms ease; }
[hidden] { display: none !important; }
:focus-visible { outline-color: var(--accent); }
.skip-link:focus { color: var(--surface); }
h1 { font-size: 62px; }
h2 { font-size: 42px; }
.container { width: min(1220px, calc(100% - 112px)); }
.section { padding-block: 108px; }
.site-header { justify-content: initial; gap: 26px; padding: 12px 36px; border-color: var(--line); background: var(--header-bg); transition: background 220ms ease, box-shadow 220ms ease; }
.site-header.is-scrolled { box-shadow: var(--shadow); }
.brand__logo { width: 41px; height: 54px; }
.brand strong { font-size: 16px; }
.brand small { font-size: 11px; }
.site-nav { margin-left: auto; }
.site-nav a { position: relative; font-size: 13px; gap: 6px; padding-block: 14px; white-space: nowrap; }
.site-nav a:not(.nav-contact)::after { content: ""; position: absolute; bottom: 5px; left: 0; right: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 220ms ease; }
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); }
.site-nav .nav-contact { padding: 11px 16px; color: var(--on-accent); background: var(--accent); border-radius: 4px; min-height: 44px; }
.site-nav .nav-contact:hover { background: var(--accent-hover); color: var(--on-accent); }
.header-tools { display: flex; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); text-decoration: none; transition: background 180ms ease, border-color 180ms ease, color 180ms ease; }
.icon-button:hover { background: var(--paper); border-color: var(--accent); color: var(--accent); }
.header-call, .menu-button { display: none; }
.theme-toggle .theme-sun { display: none; }
.theme-toggle:disabled { opacity: .45; cursor: default; }
[data-theme="dark"] .theme-toggle .theme-moon { display: none; }
[data-theme="dark"] .theme-toggle .theme-sun { display: block; }
.scroll-progress { position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--accent); transform: scaleX(var(--scroll-progress, 0)); transform-origin: left; pointer-events: none; }
.hero { height: calc(100svh - 200px); min-height: 560px; max-height: 800px; background: var(--paper); }
.hero::after { background: linear-gradient(90deg, rgba(var(--hero-shade), .96), rgba(var(--hero-shade), .73) 34%, rgba(var(--hero-shade), .05) 68%); }
.hero__content { max-width: 600px; width: 51%; }
.hero h1 { margin-bottom: 24px; }
.hero__lead { font-size: 20px; line-height: 1.6; }
.hero__copy { font-size: 14px; color: var(--muted); line-height: 1.8; max-width: 365px; }
.eyebrow { font-size: 11px; margin-bottom: 20px; }
.button { min-height: 52px; gap: 16px; font-size: 13px; padding: 14px 21px; transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.button svg { width: 18px; height: 18px; transition: transform 220ms ease; }
.button:hover svg { transform: translate(3px, -2px); }
.button:hover { transform: translateY(-2px); }
.button:active { transform: none; }
.button--primary { color: var(--on-accent); }
.button--primary:hover { box-shadow: var(--shadow); }
.button--white { background: #f9faf5; color: #25372f; }
.button--white:hover { background: #e5ede3; }
.text-link { min-height: 42px; font-size: 13px; gap: 10px; }
.hero-scroll { position: absolute; bottom: 24px; right: 36px; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; background: rgba(27, 34, 29, .25); color: #fff; backdrop-filter: blur(8px); transition: background 200ms ease; }
.hero-scroll:hover { background: rgba(27, 34, 29, .6); }
.intro-grid { gap: 0; padding-block: 34px; }
.intro-grid > a { display: flex; gap: 17px; align-items: center; text-decoration: none; padding-inline: 28px; border-right: 1px solid var(--line); min-height: 54px; }
.intro-grid > a:first-child { padding-left: 0; }
.intro-grid > a:last-child { padding-right: 0; border: 0; }
.intro-grid > a > svg:first-child { width: 25px; height: 25px; color: var(--accent); }
.intro-grid > a > svg:last-child { width: 17px; margin-left: auto; color: var(--muted); transition: transform 220ms ease, color 220ms ease; }
.intro-grid > a:hover > svg:last-child { transform: translate(3px, -3px); color: var(--accent); }
.intro-grid > a > span { display: grid; gap: 4px; margin: 0; }
.intro-grid > a > span { color: var(--ink); }
.intro-grid strong { font-size: 14px; }
.intro-grid small { font-size: 12px; color: var(--muted); }
.section-heading { margin-bottom: 48px; }
.section-copy { line-height: 1.85; }
.services-section::before { background-size: 475px auto; background-position: center 60%; opacity: .12; }
[data-theme="dark"] .services-section::before { opacity: .18; }
.service-grid { gap: 22px; }
.service { border-color: var(--line); background: var(--card-bg); transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease; }
.service[open], .service:hover { border-color: var(--accent); background: var(--card-hover); box-shadow: var(--shadow); }
.service summary { min-height: 296px; padding: 32px; }
.service summary > .service-icon { width: 34px; height: 34px; margin-bottom: 36px; transition: transform 220ms ease; }
.service:hover .service-icon { transform: translateY(-3px); }
.service-number { top: 32px; right: 32px; color: var(--muted); }
.service h3 { font-size: 21px; margin-bottom: 14px; }
.service-more { margin-top: 30px; font-size: 12px; }
.service-more svg, .faq-list summary svg { transition-duration: 240ms; }
.service-body { padding: 0 32px 30px; }
.area-list button { min-height: 44px; border-color: var(--line); background: var(--surface); }
.area-list button.is-active, .area-list button[aria-pressed="true"] { color: var(--on-accent); }
.map-visual { background: #f7f7f1; }
.qualifications svg { color: var(--accent); }
.career-band { padding-block: 64px; background: #294b3c; }
[data-theme="dark"] .career-band { background: #304f3f; }
.career-band h2 { font-size: 34px; }
.career-band .eyebrow { color: #f1b990; }
.faq-list summary { padding-block: 25px; transition: color 180ms ease; }
.faq-list summary:hover { color: var(--accent); }
.faq-list details > div { padding-bottom: 26px; }
.contact-section { padding-block: 86px; }
.contact-modes { background: var(--surface); }
.contact-modes button { min-height: 40px; transition: color 180ms ease, background 180ms ease; }
.contact-modes button[aria-pressed="true"] { color: var(--surface); }
.contact-email svg:last-child { transition: transform 220ms ease; }
.contact-email:hover svg:last-child { transform: translate(3px, -3px); }
.site-footer { padding-block: 40px; border-top: 1px solid var(--line); }
.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 80; box-shadow: var(--shadow); }
.career-intro h1 { font-size: 58px; }
.legal-content mark { background: var(--sage); color: var(--ink); }
html.motion-ready [data-reveal] { transform: translateY(22px); transition: opacity 500ms ease, transform 500ms cubic-bezier(.2, .65, .3, 1); transition-delay: var(--reveal-delay, 0ms); }
html.motion-ready [data-reveal].is-visible { transform: none; }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: page-out 180ms ease both; }
::view-transition-new(root) { animation: page-in 260ms ease both; }
@keyframes page-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 1200px) {
  .site-header { padding-inline: 26px; gap: 18px; }
  .site-nav { gap: 17px; }
  .site-nav a { font-size: 12px; }
  .container { width: calc(100% - 80px); }
  .hero h1 { font-size: 54px; }
  .intro-grid > a { padding-inline: 20px; gap: 12px; }
  .intro-grid strong { font-size: 13px; }
  .service summary { padding: 28px; }
  .service-body { padding-inline: 28px; }
  .service-number { top: 28px; right: 28px; }
}
@media (max-width: 1100px) {
  :root { --header: 80px; }
  .header-tools { margin-left: auto; }
  .menu-button, .header-call { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; align-items: stretch; margin: 0; padding: 14px 26px 24px; flex-direction: column; gap: 0; max-height: calc(100svh - var(--header)); overflow-y: auto; border-bottom: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
  .is-open .site-nav { display: flex; animation: menu-in 220ms ease; }
  .site-nav a { font-size: 15px; padding: 13px 0; }
  .site-nav a:not(.nav-contact)::after { display: none; }
  .site-nav .nav-contact { margin-top: 12px; padding: 14px 18px; justify-content: center; }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 900px) {
  .section { padding-block: 80px; }
  .container { width: calc(100% - 64px); }
  h2 { font-size: 36px; }
  .hero { min-height: 550px; }
  .hero h1 { font-size: 46px; }
  .hero__content { width: 56%; }
  .hero__lead { font-size: 18px; }
  .hero__copy { max-width: 290px; }
  .intro-grid { padding-block: 27px; }
  .intro-grid > a { padding-inline: 15px; gap: 10px; }
  .intro-grid > a > svg:first-child { width: 22px; }
  .intro-grid > a > svg:last-child { display: none; }
  .intro-grid small { font-size: 11px; }
  .service-grid { gap: 12px; }
  .service summary { padding: 24px 20px; min-height: 302px; }
  .service summary > .service-icon { margin-bottom: 30px; }
  .service-number { top: 24px; right: 20px; }
  .service h3 { font-size: 18px; }
  .service-body { padding-inline: 20px; }
  .career-band h2 { font-size: 29px; }
  .career-intro h1 { font-size: 44px; }
}
@media (min-width: 621px) and (max-width: 900px) and (min-height: 700px) {
  .hero { max-height: 760px; }
  .hero__inner { align-items: flex-start; }
  .hero__content { width: 100%; max-width: 520px; padding-top: 40px; }
  .hero__image { top: 40px; object-position: center 30%; }
  .hero::after { background: linear-gradient(180deg, rgba(var(--hero-shade), .95), rgba(var(--hero-shade), .83) 34%, rgba(var(--hero-shade), .04) 72%); }
}
@media (max-width: 620px) {
  :root { --header: 76px; }
  .container { width: calc(100% - 40px); }
  .section { padding-block: 62px; }
  .site-header { padding: 10px 20px; gap: 12px; }
  .brand__logo { width: 32px; height: 45px; }
  .brand strong { font-size: 14px; }
  .brand small { font-size: 10px; }
  .header-tools { gap: 6px; }
  .site-nav { padding-inline: 20px; }
  .icon-button { width: 40px; height: 42px; }
  h2 { font-size: 32px; }
  .eyebrow { font-size: 10px; margin-bottom: 15px; }
  .hero { height: calc(100svh - 154px); min-height: 490px; max-height: 780px; }
  .hero::after { background: linear-gradient(180deg, rgba(var(--hero-shade), .94), rgba(var(--hero-shade), .8) 34%, rgba(var(--hero-shade), .08) 72%); }
  .hero__content { width: 100%; max-width: 410px; padding-top: 30px; padding-bottom: 20px; }
  .hero h1 { font-size: 36px; margin-bottom: 17px; }
  .hero__lead { font-size: 17px; line-height: 1.45; }
  .hero__copy { font-size: 13px; max-width: 310px; }
  .hero .button-row { margin-top: 22px; gap: 15px; }
  .button { font-size: 12px; min-height: 48px; padding-inline: 17px; gap: 11px; }
  .hero-scroll { right: 20px; bottom: 20px; width: 40px; height: 40px; }
  .intro-grid { grid-template-columns: 1fr; padding-block: 10px; }
  .intro-grid > a, .intro-grid > a:first-child, .intro-grid > a:last-child { border-right: 0; padding: 19px 0; }
  .intro-grid > a:not(:last-child) { border-bottom: 1px solid var(--line); }
  .intro-grid > a { gap: 16px; }
  .intro-grid > a > svg:last-child { display: block; }
  .intro-grid strong { font-size: 14px; }
  .intro-grid small { font-size: 12px; }
  .service-grid { gap: 14px; }
  .services-section::before { background-size: 330px auto; background-position: center 57%; }
  .service summary { min-height: 212px; padding: 26px; }
  .service summary > .service-icon { width: 28px; height: 28px; margin-bottom: 22px; }
  .service-number { top: 26px; right: 26px; }
  .service h3 { font-size: 20px; }
  .service-more { margin-top: 22px; }
  .service-body { padding-inline: 26px; }
  .portrait { max-width: 320px; }
  .career-band { padding-block: 48px; }
  .career-band h2 { font-size: 29px; }
  .faq-list summary { padding-block: 21px; }
  .contact-phone { font-size: 25px; }
  .footer-grid { gap: 20px; }
  .back-to-top { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
  .career-intro h1 { font-size: 39px; }
  .career-portrait { width: min(300px, 100%); }
}
@media (max-width: 420px) {
  .header-call { display: none; }
  .hero h1 { font-size: 34px; }
}
@media (max-width: 360px) {
  :root { --header: 72px; }
  .container { width: calc(100% - 32px); }
  .site-header { padding-inline: 16px; gap: 8px; }
  .brand__logo { width: 27px; height: 39px; }
  .brand strong { font-size: 13px; }
  .brand small { font-size: 9px; }
  .header-tools { gap: 5px; }
  .icon-button { width: 38px; height: 40px; }
  .hero h1 { font-size: 31px; }
  .hero__content { padding-top: 22px; }
  .hero__lead { font-size: 15px; }
  .hero__copy { display: none; }
  .hero__image { top: 64px; height: calc(100% - 24px); }
  .hero .text-link { display: inline-flex; }
  .hero .button-row { gap: 6px; margin-top: 16px; }
  .contact-phone { font-size: 22px; }
  .career-intro h1 { font-size: 33px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:hover { transform: none; }
  html.motion-ready [data-reveal] { transform: none; }
  @view-transition { navigation: none; }
}
