@layer reset, layout, components, pages;
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { color-scheme: light; }
  body { margin: 0; font: 1rem/1.62 'Segoe UI', system-ui, sans-serif; background: #f8f6ef; color: #17233a; }
  h1, h2, h3, p, figure { margin: 0; }
  h1, h2, h3 { line-height: 1.12; }
  h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.038em; }
  h3 { font-size: 1.14rem; font-weight: 650; }
  img { max-width: 100%; height: auto; display: block; }
  a { color: inherit; text-underline-offset: .2em; }
  button { font: inherit; color: inherit; }
  button:not(:disabled), summary { cursor: pointer; }
  [hidden] { display: none !important; }
  :focus-visible { outline: 3px solid #9d641a; outline-offset: 5px; }
  ::selection { background: #f0cf8c; color: #121e35; }
}
@layer layout {
  :root {
    --ink: #101a2c;
    --dark: #0b1321;
    --text: #25324a;
    --muted: #515a6b;
    --gold: #edc37d;
    --gold-dark: #785010;
    --cream: #f8f6ef;
    --paper: #fffcf5;
    --line: #e0d9ca;
    --rail: 1240px;
    --gutter: clamp(18px, 5vw, 72px);
  }
  .wrap { width: min(calc(100% - 2 * var(--gutter)), var(--rail)); margin-inline: auto; }
  .skip { position: fixed; inset: .75rem auto auto .75rem; z-index: 20; transform: translateY(-200%); }
  .skip:focus { transform: translateY(0); }
  .section { padding-block: clamp(3.6rem, 7vw, 7.2rem); }
  .section-mid { padding-block: clamp(2.5rem, 5vw, 5rem); }
  .soft { background: #efeae0; }
  .dark { background: var(--ink); color: var(--paper); }
  .dark :focus-visible, .site-header :focus-visible, .hero :focus-visible { outline-color: var(--gold); }
  .two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.65rem, 4.5vw, 5rem); align-items: center; }
  .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
  .stack > * + * { margin-top: 1rem; }
  .measure { max-width: 72ch; }
  .muted { color: var(--muted); }
  .dark .muted { color: #d3d6e1; }
  .rule { border-block: 1px solid var(--line); }
  h1 { font-size: clamp(2.8rem, 5.7vw, 5.5rem); text-wrap: balance; }
  h2 { font-size: clamp(2.15rem, 4vw, 3.7rem); text-wrap: balance; }
  .section-heading { max-width: 69ch; margin-bottom: clamp(1.5rem, 3vw, 2.75rem); }
  .section-heading p { margin-top: .85rem; color: var(--muted); }
  .dark .section-heading p { color: #d3d6e1; }
  @media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 680px) { .two-col, .grid { grid-template-columns: 1fr; } }
}
@layer components {
  .site-header { position: relative; z-index: 5; background: var(--dark); color: #fff9eb; border-bottom: 1px solid #ffffff26; }
  .header-row { min-height: 85px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; flex-shrink: 0; }
  .brand img { height: 66px; width: auto; object-fit: contain; }
  .nav-list, .sub-menu, .bare { list-style: none; margin: 0; padding: 0; }
  .nav-list { display: flex; gap: clamp(.35rem, 1.55vw, 1.55rem); align-items: center; }
  .nav-list a, .nav-list summary { display: flex; align-items: center; gap: .25rem; padding: .65rem .15rem; text-decoration: none; font-size: .9rem; white-space: nowrap; }
  .nav-list a:hover, .nav-list summary:hover, .nav-list [aria-current] { color: var(--gold); }
  .nav-group { position: relative; }
  .nav-group summary { list-style: none; }
  .nav-group summary::-webkit-details-marker { display: none; }
  .nav-group summary::after { content: '⌄'; margin-left: .18rem; color: var(--gold); }
  .sub-menu { position: absolute; z-index: 6; top: 100%; left: -.8rem; min-width: 235px; padding: .55rem; border: 1px solid #ffffff37; background: #142135; box-shadow: 0 12px 24px #0003; }
  .sub-menu a { padding: .65rem .55rem; white-space: normal; }
  .sub-menu a:hover { background: #ffffff10; }
  .nav-toggle { display: none; border: 1px solid #ffffff50; background: transparent; border-radius: 2px; padding: .45rem .7rem; min-height: 44px; }
  .buttons { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; }
  .button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 46px; padding: .66rem 1.15rem; border: 1px solid transparent; border-radius: 2px; background: var(--ink); color: white; text-decoration: none; font-size: .92rem; line-height: 1.28; font-weight: 650; }
  .button:hover { background: #263a57; }
  .gold { background: var(--gold); color: #101a2c; }
  .gold:hover { background: #ffdb9c; }
  .outline { border-color: #998d7b; background: transparent; color: inherit; }
  .outline:hover { background: #8e7a4217; }
  .dark .outline, .hero .outline { border-color: #ffffff65; }
  .hero .outline:hover, .dark .outline:hover { background: #ffffff18; }
  .text-link { display: inline-flex; align-items: center; gap: .55rem; font-weight: 650; color: var(--gold-dark); }
  .text-link::after { content: '↗'; }
  .dark .text-link { color: var(--gold); }
  .crumb { padding-block: .8rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
  .crumb ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .6rem; padding: 0; list-style: none; margin: 0; }
  .crumb li + li::before { content: '/'; color: #716956; margin-right: .6rem; }
  .media { overflow: hidden; border-radius: 3px; background: #e6dece; }
  .media img { width: 100%; object-fit: cover; }
  .tile { display: flex; flex-direction: column; padding: clamp(1.2rem, 2.5vw, 2rem); border: 1px solid var(--line); background: var(--paper); min-width: 0; }
  .tile p { margin-top: .65rem; color: var(--muted); }
  .tile .text-link { margin-top: auto; padding-top: 1rem; align-self: flex-start; }
  .dark .tile { background: #18263c; border-color: #ffffff24; }
  .dark .tile p { color: #d3d6e1; }
  .tile-icon { color: #805911; margin-bottom: 1rem; width: 2rem; height: 2rem; }
  .dark .tile-icon { color: var(--gold); }
  .icon { fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; }
  .image-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--paper); overflow: hidden; border-radius: 3px; }
  .image-card .tile { flex: 1; border: 0; }
  .image-card .media { border-radius: 0; }
  .category { color: var(--gold-dark) !important; font-size: .78rem; font-weight: 700; margin: 0 0 .55rem !important; }
  .faq details { border-bottom: 1px solid var(--line); }
  .faq details:first-child { border-top: 1px solid var(--line); }
  .faq summary { padding: 1rem 2rem 1rem 0; font-weight: 650; position: relative; list-style: none; min-height: 50px; }
  .faq summary::after { content: '+'; position: absolute; right: .25rem; color: var(--gold-dark); font-size: 1.25rem; top: .8rem; }
  .faq details[open] summary::after { content: '−'; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq details p { padding-bottom: 1rem; max-width: 72ch; }
  .cta { background: #e7dcc4; color: var(--ink); }
  .cta p { margin-top: .75rem; max-width: 56ch; }
  .site-footer { background: var(--dark); color: #f4efe3; padding: 3.2rem 0 1.25rem; }
  .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1fr; gap: 2rem; }
  .footer-grid .brand img { height: 76px; }
  .footer-grid h2 { font: 650 1rem/1.2 'Segoe UI', sans-serif; letter-spacing: normal; margin: .65rem 0 1rem; }
  .footer-grid p, .footer-grid li, .footer-end { font-size: .92rem; color: #cbcbd2; }
  .footer-grid li { margin-top: .42rem; }
  .footer-grid a:hover { color: var(--gold); }
  .footer-end { display: flex; flex-wrap: wrap; gap: .45rem 1.4rem; padding-top: 1.25rem; margin-top: 2.2rem; border-top: 1px solid #ffffff2b; }
  .floating {
    position: fixed;
    z-index: 4;
    inset: auto clamp(.65rem, 2vw, 1.8rem) max(.65rem, env(safe-area-inset-bottom)) auto;
    display: flex;
    flex-direction: column;
    gap: .65rem;
  }
  .floating a {
    display: block;
    width: clamp(52px, 6vw, 68px);
    aspect-ratio: 1;
    background: #fff;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 12px #0004;
  }
  .floating img { width: 100%; height: 100%; border-radius: inherit; }
  .floating a:hover { filter: brightness(1.08); }
  @media (max-width: 980px) {
    .header-row > .button { display: none; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 760px) {
    .header-row { flex-wrap: wrap; min-height: 70px; padding-block: .25rem; gap: 0; }
    .header-row .brand img { height: 61px; }
    .site-nav { flex: 0 0 100%; }
    .js .nav-toggle { display: inline-block; }
    .js .site-nav:not(.is-open) { display: none; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-list a, .nav-list summary { min-height: 44px; padding: .65rem .3rem; white-space: normal; }
    .nav-list > li { border-top: 1px solid #ffffff25; }
    .sub-menu { position: static; box-shadow: none; min-width: 0; margin-bottom: .5rem; }
    .site-footer { padding-bottom: 8.25rem; }
  }
  @media (max-width: 430px) { .footer-grid { grid-template-columns: 1fr; gap: 1.25rem; } }
}
@layer pages {
  .hero { background: #101a2c; color: #fffaf0; position: relative; }
  .hero-stage { position: relative; display: grid; }
  .hero-slide { position: relative; min-height: clamp(470px, 41vw, 640px); display: grid; align-items: center; isolation: isolate; }
  .hero-slide .hero-image, .hero-slide .hero-image img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; }
  .hero-slide .hero-image { z-index: -2; }
  .hero-slide::after { position: absolute; content: ''; inset: 0; background: linear-gradient(90deg, #0b1526f5 1%, #0c1728e8 23%, #0e192ac0 44%, #0d18274d 76%, #101b2f3a); z-index: -1; }
  .hero-copy { max-width: min(780px, 83%); padding-block: 4.5rem 6.5rem; }
  .hero-copy h1, .hero-copy h2 { font-size: clamp(3rem, 6vw, 6rem); line-height: .99; letter-spacing: -.056em; text-wrap: initial; }
  .hero-copy em { color: var(--gold); font-weight: 400; }
  .hero-copy p { color: #f0eee7; line-height: 1.68; font-size: clamp(1rem, 1.5vw, 1.14rem); max-width: 53ch; margin: 1.2rem 0 1.7rem; }
  .hero-controls { position: absolute; bottom: 1.25rem; inset-inline: 0; pointer-events: none; }
  .hero-controls .wrap { display: flex; align-items: center; gap: .45rem; }
  .hero-controls button { pointer-events: auto; display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid #ffffff78; border-radius: 2px; color: #fffaf0; background: #101a2cd9; }
  .hero-controls button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
  .service-band { background: #eae0cf; }
  .service-band .wrap { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .service-band a { display: flex; align-items: center; gap: .55rem; text-decoration: none; line-height: 1.28; font-size: .9rem; font-weight: 650; padding: 1.05rem .65rem; min-height: 58px; border-right: 1px solid #c6bba6; }
  .service-band a:first-child { padding-left: 0; }
  .service-band a:last-child { border: 0; }
  .service-band a:hover { color: var(--gold-dark); }
  .service-band .icon { width: 21px; height: 21px; color: var(--gold-dark); }
  .home-services { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .home-services .tile { padding: 1.3rem; }
  .process { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.1rem; padding: 0; margin: 0; list-style: none; counter-reset: stage; }
  .process li { border-top: 1px solid #bba77c; padding-top: .85rem; counter-increment: stage; }
  .process li::before { content: '0' counter(stage); display: block; color: var(--gold-dark); font-weight: 700; margin-bottom: .65rem; font-variant-numeric: tabular-nums; }
  .process p { margin-top: .55rem; color: var(--muted); }
  .tags { display: flex; flex-wrap: wrap; gap: .55rem; }
  .tags li, .tags a { padding: .35rem .65rem; border: 1px solid var(--line); background: var(--paper); }
  .tags a:hover { border-color: var(--gold-dark); }
  .tags > li:has(a) { border: 0; padding: 0; background: transparent; }
  .tags li a { display: block; }
  .inner-head { padding-block: clamp(2.6rem, 6vw, 5rem); background: linear-gradient(110deg,#f5eee0,#f9f7f1 62%); border-bottom: 1px solid var(--line); }
  .inner-head h1 { max-width: 21ch; }
  .inner-head p { font-size: 1.12rem; color: var(--muted); max-width: 65ch; margin-top: 1rem; }
  .inner-head .buttons { margin-top: 1.4rem; }
  .section-banner { max-height: 420px; object-fit: cover; }
  .feature-list { margin: 0; padding-left: 1.1rem; }
  .feature-list li + li { margin-top: .42rem; }
  .story { display: grid; grid-template-columns: minmax(12rem, .65fr) minmax(0,2.1fr); gap: clamp(1.4rem, 4vw, 4rem); align-items: start; }
  .story .prose { max-width: 76ch; font-size: 1.065rem; }
  .prose h2 { font-size: clamp(1.7rem, 3.3vw, 2.75rem); margin-top: 2.45rem; margin-bottom: .8rem; }
  .prose h3 { margin: 1.45rem 0 .6rem; }
  .prose p + p, .prose ul + p { margin-top: .9rem; }
  .prose li + li { margin-top: .35rem; }
  .prose > :first-child { margin-top: 0; }
  .sidebar { border: 1px solid var(--line); background: var(--paper); padding: 1.2rem; }
  .sidebar h2 { font-size: 1.45rem; margin-bottom: .55rem; }
  .sidebar ol { margin: 0; padding-left: 1.1rem; }
  .sidebar li { margin: .55rem 0; }
  .article-banner { max-width: 960px; margin-inline: auto; }
  .article-banner img { max-height: 455px; object-fit: cover; }
  .contact-cards { align-items: stretch; }
  .map-area { border: 1px solid var(--line); background: var(--paper); }
  .map-options { padding: 1.2rem; }
  .map-options .buttons { margin: .9rem 0 .6rem; }
  .map-area iframe { display: block; width: 100%; max-width: 100%; height: clamp(280px, 46vw, 445px); border: 0; }
  @media (max-width: 1050px) { .home-services { grid-template-columns: repeat(3,minmax(0,1fr)); } }
  @media (max-width: 760px) {
    .hero-slide { min-height: 445px; }
    .hero-slide .hero-image img { object-position: 80% center; }
    .hero-slide::after { background: linear-gradient(90deg,#0b1526ef,#0c1728c5 62%,#101b2f79); }
    .hero-copy { padding-block: 3.3rem 5.25rem; max-width: 100%; }
    .hero-copy h1, .hero-copy h2 { font-size: clamp(2.65rem, 8.5vw, 4.35rem); }
    .service-band .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: .45rem; }
    .service-band a { border: 0; padding: .4rem .2rem; min-height: 44px; }
    .process, .home-services { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .story { grid-template-columns: 1fr; }
  }
  @media (max-width: 400px) { .service-band .wrap, .home-services { grid-template-columns: repeat(2,minmax(0,1fr)); } .home-services h3 { font-size: 1.03rem; } .home-services .tile { padding: .9rem; } }
}
@layer layout { .cluster-space { margin-top: 1.25rem; } .align-top { align-items: start; } }
