:root {
  --green: #4ea430;
  --green-dark: #449527;
  --blue: #2a7cb7;
  --blue-dark: #257cbb;
  --text: #3d3d3d;
  --muted: #787878;
  --white: #fff;
  --paper: #f7f7f7;
  --line: #e6e6e6;
  --footer: #2e2e2e;
  --shell: min(1120px, calc(100% - 40px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; color: var(--text); background: var(--white); font-family: "Source Sans Pro", Arial, sans-serif; font-size: 16px; line-height: 1.56; overflow-x: clip; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, textarea { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 9999; padding: .7rem 1rem; background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 2px 9px rgba(0,0,0,.08); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 1.8rem; }
.brand { flex: 0 0 auto; }
.brand img { width: 250px; max-height: 58px; object-fit: contain; }
.desktop-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 1.35rem; padding: 0; margin: 0; list-style: none; }
.nav-list a { color: var(--text); font-weight: 700; }
.nav-list a:hover, .nav-list a:focus-visible { color: var(--blue); }
.header-contact { display: grid; gap: .15rem; padding-left: 1.2rem; border-left: 1px solid var(--line); font-size: .78rem; white-space: nowrap; }
.header-contact a { color: var(--text); }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--blue); }
.mobile-menu { position: fixed; inset: 0; z-index: 200; padding: 1.25rem; overflow-y: auto; color: var(--white); background: var(--blue); visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s linear .25s; }
.mobile-menu.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu .brand img { background: var(--white); padding: .4rem; border-radius: 4px; }
.menu-close { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: var(--white); background: transparent; font-size: 2rem; line-height: 1; }
.mobile-nav-list { display: block; width: min(680px,100%); margin: 8vh auto 2rem; padding: 0; list-style: none; }
.mobile-nav-list li { border-bottom: 1px solid rgba(255,255,255,.25); }
.mobile-nav-list a { display: block; padding: .9rem 0; color: var(--white); font-size: clamp(1.7rem,7vw,3.5rem); font-weight: 700; }
.mobile-actions { display: grid; gap: .6rem; justify-content: center; text-align: center; }
.mobile-actions a { color: var(--white); }
.legacy-hero { color: var(--white); background: var(--blue); padding-bottom: 2.5rem; }
.legacy-contact-line { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; padding-top: 1rem; font-size: 1.12rem; }
.legacy-contact-line a { color: var(--white); }
.legacy-hero-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem,5vw,5rem); margin-top: 2.5rem; padding: clamp(1.5rem,4vw,3rem); color: var(--text); background: var(--white); border-radius: 5px; box-shadow: 0 0 10px 10px rgba(8,66,108,.2); }
.legacy-hero-copy h1, .legacy-section-title, .legacy-supervision h2, .page-hero h1 { margin: 0 0 1.2rem; font-family: Georgia, "Times New Roman", serif; color: var(--blue); line-height: 1.15; }
.legacy-hero-copy h1 { font-size: clamp(2rem,4vw,3.2rem); }
.legacy-hero-copy p { font-size: 1.02rem; }
.legacy-hero-image img { width: 100%; border-radius: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .8rem 1.3rem; border: 2px solid transparent; border-radius: 5px; font-weight: 700; cursor: pointer; }
.button:hover { text-decoration: none; }
.button-primary { color: var(--white); background: var(--green); border-color: var(--green); }
.button-primary:hover { color: var(--green); background: var(--white); }
.button-secondary { color: var(--white); background: var(--blue); border-color: var(--blue); }
.button-secondary:hover { color: var(--blue); background: var(--white); }
.legacy-project-button { margin-top: 1rem; }
.legacy-intro { padding: 2.5rem 0 1rem; text-align: center; color: #dceffc; text-shadow: 1px 1px #1667a2; }
.legacy-intro h2 { font-size: 1.7rem; font-weight: 400; }
.legacy-intro p { width: min(850px,100%); margin-inline: auto; }
.legacy-intro b { color: var(--white); }
.legacy-services { background: var(--white); }
.legacy-section-title { font-size: 2rem; }
.legacy-service-list { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); }
.legacy-service-list a { padding: 1rem .3rem; border-bottom: 1px solid var(--line); color: var(--text); font-size: 1.08rem; font-weight: 700; }
.legacy-service-list a:hover { padding-left: .7rem; color: var(--blue-dark); text-decoration: none; border-color: var(--blue-dark); }
.legacy-supervision { background: var(--paper); }
.legacy-supervision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,6vw,5rem); }
.legacy-supervision p { font-size: 1.02rem; }
.legacy-key-card { padding: 1.5rem; background: var(--white); border-radius: 5px; box-shadow: 0 0 5px 5px rgba(110,110,110,.1); }
.legacy-key-card h2 { text-align: center; font-size: 1.65rem; }
.legacy-key-card img { width: 100%; margin-bottom: 1rem; border-radius: 5px; }
.legacy-key-card .button { width: 100%; }
.page-hero { padding: clamp(3.5rem,7vw,6rem) 0; color: var(--white); background: var(--blue); }
.page-hero h1 { margin: 0; color: var(--white); font-size: clamp(2.5rem,6vw,4.7rem); }
.prose { max-width: 860px; }
.prose p, .prose li { font-size: 1.04rem; }
.prose img { border-radius: 5px; }
.prose #button1, .prose a#button1 { display: inline-flex; padding: .8rem 1.2rem; color: var(--white); background: var(--green); border: 2px solid var(--green); border-radius: 5px; font-weight: 700; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem,7vw,6rem); }
.legacy-contact-details { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.legacy-contact-details p { margin: 0 0 1.2rem; }
.form-panel { padding: clamp(1.5rem,4vw,3rem); background: var(--paper); border: 1px solid var(--line); border-radius: 5px; }
label { display: block; margin-bottom: 1rem; font-weight: 700; }
input, textarea { display: block; width: 100%; margin-top: .4rem; padding: .8rem; color: var(--text); background: var(--white); border: 2px solid #e2e2e2; border-radius: 3px; }
input:focus, textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { margin-bottom: 1.2rem; padding: 1rem; border-left: 4px solid var(--blue); background: var(--white); }
.form-notice.success { border-color: var(--green); }
.project-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; margin-top: 2.5rem; }
.project-card { margin: 0; min-height: 260px; overflow: hidden; background: var(--paper); border-radius: 5px; }
.project-card img { width: 100%; height: 100%; object-fit: cover; }
.post-list { max-width: 850px; }
.post-card { padding: 2.2rem 0; border-bottom: 1px solid var(--line); }
.post-card h2 { margin: .35rem 0 1rem; color: var(--blue); font-family: Georgia, "Times New Roman", serif; font-size: 2rem; }
.post-meta { color: var(--muted); font-size: .85rem; }
.text-link { font-weight: 700; }
.not-found { min-height: 55vh; }
.not-found h1 { color: var(--blue); font-family: Georgia, "Times New Roman", serif; }
.site-footer { padding: 4rem 0 1.5rem; color: var(--white); background: var(--footer); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4rem; }
.footer-grid h2 { margin-top: 0; color: var(--white); font-size: 1.25rem; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li { padding: .35rem 0; border-bottom: 1px solid #3f3f3f; }
.footer-grid a { color: var(--white); }
.footer-contact > a { display: block; margin-bottom: .7rem; }
.footer-contact img { width: 49px; margin-top: .8rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid #3f3f3f; font-size: .8rem; }
.footer-bottom a { color: var(--white); }
.motion-ready .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.motion-ready .reveal.is-visible { opacity: 1; transform: none; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
@media (max-width: 980px) {
  .desktop-nav, .header-contact { display: none; }
  .menu-toggle { display: block; }
  .legacy-hero-card, .legacy-supervision-grid, .contact-grid { grid-template-columns: 1fr; }
  .legacy-service-list { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .project-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  :root { --shell: min(100% - 28px,1120px); }
  .header-inner { min-height: 72px; }
  .brand img { width: 210px; }
  .legacy-contact-line { gap: .35rem 1.2rem; font-size: .95rem; }
  .legacy-hero-card { margin-top: 1.5rem; padding: 1.25rem; }
  .legacy-service-list, .footer-grid, .project-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .mobile-nav-list { margin-top: 5vh; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .motion-ready .reveal { opacity: 1; transform: none; }
}

.legacy-gallerix { margin: 1rem 0 2.5rem; }
.legacy-gallerix-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 15px; list-style: none !important; margin: 0 !important; padding: 0 !important; }
.legacy-gallerix-item { margin: 0 !important; padding: 5px !important; background: #fff; border-radius: 4px; box-shadow: 0 0 2px 1px rgba(0,0,0,.1); line-height: 1; }
.legacy-gallerix-item a { display: block; }
.legacy-gallerix-item img { display: block; width: 100%; aspect-ratio: 175 / 114; object-fit: cover; border-radius: 4px; }
.legacy-gallery-dialog { width: min(92vw, 1100px); max-width: none; max-height: 92vh; margin: auto; padding: 10px; border: 1px solid #e2e2e2; border-radius: 4px; background: #fff; overflow: visible; }
.legacy-gallery-dialog::backdrop { background: rgba(0,0,0,.7); }
.legacy-gallery-dialog > img { display: block; max-width: calc(92vw - 20px); max-height: calc(92vh - 20px); width: auto; height: auto; margin: auto; border-radius: 4px; }
.legacy-gallery-close, .legacy-gallery-prev, .legacy-gallery-next { position: absolute; border: 0; border-radius: 50%; background: #2a7cb7; color: #fff; cursor: pointer; font: 700 28px/1 Arial, sans-serif; width: 42px; height: 42px; padding: 0; }
.legacy-gallery-close { right: -12px; top: -12px; }
.legacy-gallery-prev, .legacy-gallery-next { top: 50%; transform: translateY(-50%); }
.legacy-gallery-prev { left: 18px; }
.legacy-gallery-next { right: 18px; }
.legacy-gallery-close:focus-visible, .legacy-gallery-prev:focus-visible, .legacy-gallery-next:focus-visible { outline: 3px solid #4ea430; outline-offset: 3px; }
@media (max-width: 620px) {
  .legacy-gallerix-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .legacy-gallery-prev { left: 8px; }
  .legacy-gallery-next { right: 8px; }
  .legacy-gallery-close { right: -6px; top: -6px; }
}
