:root {
  color-scheme: light;
  --paper: #ffffff;
  --warm: #f6f5f1;
  --ink: #1e2b35;
  --muted: #596872;
  --blue: #214563;
  --blue-dark: #15364f;
  --line: #d9dedf;
  --accent: #bd8d38;
  --focus: #a56900;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.58; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.container { width: min(100% - 48px, 1160px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 30; top: -80px; left: 16px; padding: 10px 14px; background: var(--blue-dark); color: white; }
.skip-link:focus { top: 8px; }
.demo-note { padding: 6px 24px; background: #f1f1ed; border-bottom: 1px solid var(--line); color: #52606a; text-align: center; font-size: .76rem; }

.site-header { position: relative; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand actions" "nav nav"; align-items: center; column-gap: 32px; }
.brand { grid-area: brand; display: inline-flex; align-items: center; gap: 15px; width: fit-content; min-height: 83px; max-width: 520px; font-size: 1.24rem; font-weight: 700; line-height: 1.2; }
.brand-name { display: block; }
.brand-logo { flex: none; width: 52px; height: 52px; object-fit: contain; }
.desktop-nav { grid-area: nav; display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); min-height: 51px; border-top: 1px solid var(--line); font-size: .91rem; font-weight: 600; white-space: nowrap; }
.desktop-nav > a, .desktop-nav .nav-group > summary { display: inline-flex; align-items: center; min-height: 51px; padding-block: 10px; }
.desktop-nav a:hover, .desktop-nav summary:hover, .footer-grid a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
.nav-group { position: relative; align-self: stretch; display: flex; align-items: center; }
.nav-group summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group[open] > summary { color: var(--blue); }
.nav-chevron, .submenu-icon, .menu-icon { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nav-chevron { width: 14px; height: 14px; color: var(--muted); transition: transform .18s ease; }
.nav-group[open] .nav-chevron { transform: rotate(180deg); color: var(--blue); }
.nav-submenu { display: grid; gap: 0; position: absolute; top: 100%; left: -9px; min-width: 215px; padding: 6px; background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--accent); box-shadow: 0 12px 24px #1e2b351b; }
.nav-submenu a { display: flex; align-items: center; gap: 11px; min-height: 41px; padding: 8px 10px; }
.submenu-icon { width: 18px; height: 18px; color: var(--blue); }
.nav-submenu a:hover { background: var(--warm); }
.header-actions { grid-area: actions; }
.language-switch, .mobile-languages { display: flex; gap: 2px; }
.language-switch a, .mobile-languages a { min-width: 36px; padding: 5px 7px; color: var(--muted); font-size: .75rem; font-weight: 700; text-align: center; }
.language-switch a[aria-current], .mobile-languages a[aria-current] { color: var(--blue-dark); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.mobile-menu { display: none; }
.messages { padding-top: 18px; }
.message { margin: 0; padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--warm); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.22; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.025em; }
h1 { font-size: clamp(2.5rem, 4vw, 3.7rem); }
h2 { font-size: clamp(1.85rem, 2.7vw, 2.6rem); }
h3 { font-size: 1.2rem; }
.section { padding-block: 68px 76px; }
.section-kicker { margin-bottom: 19px; color: var(--blue); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.small-heading { margin-bottom: 16px; color: var(--muted); font-family: inherit; font-size: .79rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-weight: 650; text-underline-offset: 5px; }
.text-link:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 10px 19px; border: 1px solid var(--blue-dark); border-radius: 2px; font-weight: 650; line-height: 1.25; }
.button-primary { background: var(--blue-dark); color: white; }
.button-primary:hover { background: var(--blue); }
.button-light { background: white; color: var(--blue-dark); }

.home-intro { background: var(--warm); border-bottom: 1px solid var(--line); }
.home-intro-inner { display: flex; align-items: center; min-height: 322px; padding-block: 67px 72px; }
.home-intro-copy { max-width: 760px; }
.home-intro h1 { margin-bottom: 19px; }
.home-lead { max-width: 58ch; margin-bottom: 0; color: var(--muted); font-size: 1.17rem; }
.home-intro-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.home-intro.has-image .home-intro-inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 5vw, 80px); padding-block: 48px; }
.home-intro-image img { width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.quick-section { padding-block: 40px 53px; }
.quick-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quick-links a { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 83px; padding: 15px 20px; color: var(--blue-dark); font-size: 1.05rem; font-weight: 650; }
.quick-links a:first-child { padding-left: 0; }
.quick-links a + a { border-left: 1px solid var(--line); }
.quick-links a span:last-child { color: var(--accent); font-size: 1.25rem; font-weight: 400; }
.quick-links a:hover { background: var(--warm); }
.about-section { border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(35px, 6vw, 90px); align-items: center; }
.about-grid:has(.about-copy:only-child) { grid-template-columns: minmax(0, 780px); }
.about-copy h2 { margin-bottom: 22px; }
.about-copy > p:not(.section-kicker) { color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.about-copy .text-link { margin-top: 8px; }
.about-visual img { width: 100%; aspect-ratio: 1.4; object-fit: cover; }
.news-section, .gallery-section, .reviews-section { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section-heading h2 { margin-bottom: 0; }
.news-list { border-top: 1px solid var(--line); }
.news-row { display: grid; grid-template-columns: 105px minmax(0, 1fr) auto; gap: 26px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.news-row time { padding-top: 4px; color: var(--muted); font-size: .86rem; white-space: nowrap; }
.news-row-copy { max-width: 680px; }
.news-row-copy h2, .news-row-copy h3 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 1.42rem; font-weight: 400; line-height: 1.32; }
.news-row-copy a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.news-row-copy p { margin-bottom: 0; color: var(--muted); }
.news-row-image { display: block; width: 148px; height: 104px; overflow: hidden; }
.news-row-image img { width: 100%; height: 100%; object-fit: cover; }
.home-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.home-gallery a { display: block; overflow: hidden; background: var(--warm); }
.home-gallery img { width: 100%; height: 100%; aspect-ratio: 1.2; object-fit: cover; }
.review-list-home { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
blockquote { margin: 0; padding-left: 23px; border-left: 2px solid var(--accent); }
blockquote p { margin-bottom: 14px; font-family: Georgia, "Times New Roman", serif; font-size: 1.18rem; line-height: 1.55; }
blockquote footer { color: var(--muted); font-size: .9rem; font-weight: 650; }

.page-banner { padding-block: 39px 46px; border-bottom: 1px solid var(--line); background: var(--warm); }
.page-banner h1 { max-width: 24ch; margin: 0; font-size: clamp(2.3rem, 3.5vw, 3.25rem); }
.breadcrumb { margin-bottom: 17px; color: var(--muted); font-size: .85rem; }
.breadcrumb a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.page-banner time { display: inline-block; margin-top: 15px; color: var(--muted); font-size: .9rem; }
.prose-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .78fr); gap: 65px; align-items: start; }
.prose { max-width: 73ch; font-size: 1.04rem; line-height: 1.78; }
.prose p { margin-bottom: 1.12em; }
.prose .lead, .lead { color: var(--ink); font-size: 1.17rem; line-height: 1.62; }
.page-side-image { width: 100%; object-fit: cover; }
.article-layout { max-width: 850px; }
.article-image { width: 100%; max-height: 560px; margin-bottom: 38px; object-fit: cover; }
.back-link { margin-top: 26px; }
.empty-state { max-width: 70ch; margin: 0; padding: 18px 0; color: var(--muted); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 50px; }
.pagination a { color: var(--blue); font-weight: 650; }
.pagination span { color: var(--muted); }
.people-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 45px 28px; }
.person-card { padding-top: 16px; border-top: 1px solid var(--line); }
.person-photo { width: 100%; margin-bottom: 18px; }
.person-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.person-info h2 { margin-bottom: 6px; font-family: inherit; font-size: 1.14rem; font-weight: 700; letter-spacing: 0; }
.person-info p { margin-bottom: 10px; color: var(--muted); }
.person-info .person-role { color: var(--blue); font-weight: 650; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 20px; }
.gallery-item { display: block; }
.gallery-item img { width: 100%; aspect-ratio: 1.25; object-fit: cover; }
.gallery-item span { display: block; margin-top: 9px; font-size: .92rem; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 28px; }
.video-frame { aspect-ratio: 16 / 9; overflow: hidden; background: var(--warm); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-grid h2 { margin-top: 13px; font-family: inherit; font-size: 1.12rem; font-weight: 650; }
.two-column { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, .85fr); gap: clamp(45px, 7vw, 100px); align-items: start; }
.reviews-list { display: grid; gap: 28px; }
.reviews-list blockquote { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.contact-list { display: grid; gap: 5px; margin: 0 0 32px; }
.contact-list dt { margin-top: 13px; color: var(--muted); font-size: .85rem; font-weight: 650; }
.contact-list dd { margin: 0; font-size: 1.05rem; }
.contact-list a:hover { text-decoration: underline; }
.form-panel { padding-left: 34px; border-left: 1px solid var(--line); }
.form-panel h2 { margin-bottom: 24px; font-family: inherit; font-size: 1.42rem; font-weight: 650; letter-spacing: 0; }
.form-panel > p { color: var(--muted); }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; margin-bottom: 7px; font-size: .92rem; font-weight: 650; }
.form-field label span { color: #9a4d24; }
.form-control { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #bfc8cb; border-radius: 2px; background: white; color: var(--ink); }
textarea.form-control { resize: vertical; }
.form-control:focus { border-color: var(--blue); }
.consent-field { display: flex; align-items: start; gap: 11px; margin: 5px 0 21px; font-size: .9rem; }
.consent-field input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--blue); }
.consent-field a { color: var(--blue); text-decoration: underline; }
.field-error, .form-errors { margin-top: 6px; color: #a52a2a; font-size: .88rem; }
.field-error ul, .form-errors ul { margin: 0; padding-left: 18px; }

.site-footer { background: #f3f3ef; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 55px; padding-block: 47px 42px; }
.footer-grid.is-demo { grid-template-columns: 1fr auto; }
.footer-brand { max-width: 24ch; margin-bottom: 11px; font-size: 1.16rem; font-weight: 700; line-height: 1.3; }
.footer-text { max-width: 38ch; color: var(--muted); font-size: .94rem; }
.footer-grid h2 { margin: 2px 0 14px; font-family: inherit; font-size: .94rem; font-weight: 700; letter-spacing: 0; }
.footer-grid p { margin-bottom: 8px; }
.footer-grid a { display: block; margin-bottom: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 17px 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.footer-bottom a { color: var(--blue); font-weight: 650; }

@media (max-width: 1140px) {
  .header-inner { display: flex; justify-content: space-between; gap: 18px; }
  .desktop-nav, .header-actions { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); cursor: pointer; font-weight: 650; list-style: none; }
  .mobile-menu > summary::-webkit-details-marker { display: none; }
  .menu-icon { width: 18px; height: 18px; }
  .menu-icon-close, .mobile-menu[open] .menu-icon-open { display: none; }
  .mobile-menu[open] .menu-icon-close { display: block; }
  .mobile-menu[open] > nav { position: absolute; top: calc(100% + 12px); right: 0; width: min(330px, calc(100vw - 32px)); max-height: 75vh; overflow-y: auto; display: grid; padding: 15px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 12px 25px #1e2b352a; }
  .mobile-menu nav > a, .mobile-menu nav .nav-group > summary { display: block; padding: 8px 6px; font-weight: 600; }
  .mobile-menu .nav-group { display: block; }
  .mobile-menu nav .nav-group > summary { display: flex; justify-content: space-between; width: 100%; }
  .mobile-menu .nav-submenu { position: static; min-width: 0; margin: 2px 0 6px 10px; padding: 0 0 0 10px; border: 0; border-left: 1px solid var(--line); box-shadow: none; }
  .mobile-menu .nav-submenu a { padding: 8px 10px; }
  .mobile-languages { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
}

@media (max-width: 780px) {
  .home-intro.has-image .home-intro-inner, .about-grid, .prose-layout, .two-column { grid-template-columns: 1fr; }
  .home-intro.has-image .home-intro-inner { gap: 32px; }
  .quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-links a:nth-child(3) { border-left: 0; }
  .quick-links a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .quick-links a:nth-child(3) { padding-left: 0; }
  .home-gallery, .people-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .footer-grid.is-demo { grid-template-columns: 1fr auto; }
  .form-panel { padding: 28px 0 0; border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 34px, 1160px); }
  .brand { min-width: 0; min-height: 69px; max-width: 235px; font-size: 1.02rem; }
  .brand-name { overflow-wrap: break-word; }
  .brand-logo { width: 43px; height: 43px; }
  .section { padding-block: 48px 56px; }
  .home-intro-inner { min-height: 270px; padding-block: 46px 50px; }
  .home-intro h1 { font-size: clamp(2.25rem, 9vw, 3rem); }
  .home-lead { font-size: 1.05rem; }
  .home-intro-actions { gap: 20px; margin-top: 25px; }
  .quick-section { padding-block: 30px 40px; }
  .quick-links a { min-height: 72px; padding: 12px; font-size: .94rem; }
  .section-heading { align-items: start; flex-direction: column; gap: 8px; }
  .news-row { grid-template-columns: 1fr auto; gap: 10px 15px; }
  .news-row time { grid-column: 1 / -1; padding: 0; }
  .news-row-copy h2, .news-row-copy h3 { font-size: 1.24rem; }
  .news-row-image { width: 94px; height: 82px; }
  .review-list-home, .people-grid, .gallery-grid, .video-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid.is-demo { grid-template-columns: 1fr 1fr; }
  .home-gallery { gap: 7px; }
  .page-banner { padding-block: 28px 34px; }
  .footer-grid { padding-block: 40px 32px; }
  .footer-bottom { flex-direction: column; }
}

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