:root {
  color-scheme: light;
  --ink: #182d3b;
  --muted: #4d6574;
  --blue: #174460;
  --blue-deep: #12364c;
  --orange: #9d3c14;
  --paper: #fcfbf7;
  --mist: #eaf2f5;
  --line: #ccdbe1;
  --white: #fff;
  --serif: Georgia, "Times New Roman", serif;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  scrollbar-color: #7997a8 var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
::selection { background: #f0c7a8; color: var(--blue-deep); }
a { color: var(--blue); text-underline-offset: .22em; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
button, summary { cursor: pointer; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0 0 1em; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 500; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4.25rem); letter-spacing: -.035em; margin: 0 0 .55em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); margin: 0 0 .5em; letter-spacing: -.025em; }
h3 { margin: 1.4em 0 .5em; font-size: 1.15rem; }

.wrap { width: min(100% - 3rem, 74rem); margin-inline: auto; }
.skip {
  position: absolute;
  z-index: 3;
  top: .75rem;
  left: .75rem;
  padding: .65rem .9rem;
  background: var(--white);
  transform: translateY(-200%);
}
.skip:focus { transform: translateY(0); }

.site-header { border-top: 4px solid var(--orange); background: var(--white); }
.header-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; color: var(--blue-deep); text-decoration: none; }
.brand strong { display: block; font: 700 1.78rem / 1 var(--serif); letter-spacing: .035em; }
.brand small { display: block; margin-top: .2em; font-size: .78rem; line-height: 1.3; }
.brand-mark { position: relative; flex: none; width: 2.4rem; aspect-ratio: 1; border-radius: 50%; background: var(--blue); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 1.15rem; height: .24rem; border-radius: .12rem; background: var(--white); transform: translate(-50%, -50%); }
.brand-mark::after { transform: translate(-50%, -50%) rotate(90deg); }
.header-contact { text-align: right; text-decoration: none; line-height: 1.3; }
.header-contact span { display: block; margin-bottom: .25rem; color: var(--muted); font-size: .8rem; }
.header-contact strong { font-size: .9rem; }
.nav-bar { padding: .5rem 1rem; border-block: 1px solid var(--line); background: var(--mist); }
.nav-bar .wrap, .main-nav, .section-nav { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0 .95rem; }
.nav-bar .wrap { width: min(100%, 74rem); justify-content: space-between; gap: 0 1.5rem; }
.nav-bar a { display: inline-flex; align-items: center; min-height: 3.1rem; padding: .4rem .05rem; border-bottom: 2px solid transparent; color: var(--blue-deep); font-size: .88rem; line-height: 1.25; text-decoration: none; }
.nav-bar a:hover, .nav-bar a[aria-current="page"] { color: var(--orange); border-bottom-color: currentColor; }
.main-nav a, .nav-bar a[aria-current="page"] { font-weight: 650; }

.home { padding-block: 2.3rem 4.5rem; }
.inner { padding-block: clamp(2rem, 5vw, 4.3rem) 4.5rem; min-height: 55vh; }
.hero { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 1rem; }
.hero-copy { display: grid; align-content: center; background: var(--blue-deep); color: var(--white); padding: 1.5rem; padding-block: clamp(1.5rem, 4.3vw, 3.75rem); padding-inline: clamp(1.5rem, 4.3vw, 3.75rem); }
.hero h1 { max-width: 12ch; }
.hero-photo { position: relative; min-width: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-actions { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: 1.5rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  border-radius: .4rem;
  padding: .55rem .95rem;
  background: var(--blue);
  color: var(--white);
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}
.button:hover { background: var(--orange); color: var(--white); }
.hero .button { background: #f7dcc6; color: var(--blue-deep); }
.hero .button:hover { background: #fff1e4; }
.hero .button.secondary { color: var(--white); background: transparent; border: 1px solid #a7c6d8; }
.hero .button.secondary:hover { background: #22506a; }
.hero :focus-visible { outline-color: #f7dcc6; }


.prose { max-width: 74ch; }
.prose li + li { margin-top: .3em; }
.prose ul, .prose ol { padding-inline-start: 1.45em; }
.prose h2:not(:first-child) { margin-top: 1.55em; }
.prose h2 { font-size: clamp(1.42rem, 3vw, 1.85rem); }
.prose :where(p, li) { overflow-wrap: anywhere; }
.entry { padding-block: 2rem; border-bottom: 1px solid var(--line); }
.entry:first-of-type { padding-top: 1.25rem; }
.entry:last-child { padding-bottom: 0; border-bottom: 0; }
details { max-width: 74ch; margin-block: .65rem; border-block-start: 1px solid var(--line); }
details:last-child { border-block-end: 1px solid var(--line); }
summary { padding: .85rem .15rem; font-weight: 650; color: var(--blue); }
summary:hover { color: var(--orange); }
details[open] { padding-bottom: .8rem; }
details[open] > summary { margin-bottom: .35rem; }
.showhide-container > :last-child { margin-bottom: 0; }



.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: 1rem; }
.gallery-image { display: block; overflow: hidden; background: var(--mist); border-radius: .5rem; }
.gallery-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lightbox {
  width: min(95vw, 64rem);
  max-width: none;
  margin: auto;
  padding: 1rem;
  border: 0;
  border-radius: .65rem;
  background: var(--paper);
  color: var(--ink);
}
.lightbox::backdrop { background: #101d26db; }
.lightbox img { width: 100%; height: min(70dvh, 43rem); object-fit: contain; background: var(--mist); border-radius: .35rem; }
.lightbox-controls { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-block: .75rem; }
.lightbox button { min-height: 2.75rem; padding-inline: .7rem; border: 1px solid var(--line); border-radius: .35rem; color: var(--blue); background: var(--white); }
.lightbox button:hover:not(:disabled) { border-color: var(--blue); }
.lightbox button:disabled { color: var(--muted); background: var(--mist); cursor: default; }
.lightbox button[data-close] { margin-inline-start: auto; }
.lightbox figcaption { color: var(--muted); font-size: .9rem; }

.site-footer { border-top: 1px solid var(--line); background: var(--mist); }
.footer-row { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 1.2rem 3rem; padding-block: 2rem; }
.copyright { margin: .65rem 0 0; color: var(--muted); font-size: .83rem; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: .55rem 1rem; justify-content: end; font-size: .86rem; }

@media (max-width: 720px) {
  .wrap { width: calc(100% - 2rem); }
  .home { padding-top: 1.45rem; }
  .nav-bar .wrap { display: block; }
  .section-nav { border-top: 1px solid var(--line); }
  .nav-bar a { min-height: 2.75rem; }
  .hero { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .hero-photo img { aspect-ratio: 16 / 10; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-row { grid-template-columns: 1fr; }
  .footer-row nav { justify-content: start; }
}

