:root {
  color-scheme: light;
  --ink: #102e43;
  --muted: #5d707b;
  --paper: #fbfaf4;
  --white: #fff;
  --line: #dce3e5;
  --green: #087c8b;
  --green-dark: #07314a;
  --sand: #f0eadb;
  --clay: #e5ae08;
  --navy: #062b42;
  --navy-light: #0b4562;
  --teal: #087c8b;
  --yellow: #f4c51d;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
  --content: 1180px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(3rem, 7vw, 6.4rem); }
h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); }
p { color: var(--muted); }
strong { color: var(--ink); font-weight: 700; }
.container { width: min(var(--content), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 8vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 5vw, 5rem); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.15rem;
  color: var(--green);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow::before { width: 1.7rem; height: 1px; background: currentColor; content: ""; }
.lead { max-width: 43rem; font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.8; }
.section-heading { max-width: 48rem; margin-bottom: 2.5rem; }
.section-heading h2 { margin-bottom: 1rem; }
.section-heading p { max-width: 39rem; }
.skip-link {
  position: fixed;
  z-index: 99;
  top: .7rem;
  left: .7rem;
  padding: .8rem 1rem;
  transform: translateY(-160%);
  color: var(--navy);
  background: var(--yellow);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #c28d00; outline-offset: 4px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--green-dark);
  font-size: .9rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
  transition: gap .2s ease;
}
.text-link:hover { gap: .95rem; }
.text-link::after { content: "↗"; font-size: 1.1rem; }
.button {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .8rem 1.25rem;
  border: 1px solid var(--yellow);
  border-radius: 2px;
  color: var(--navy);
  background: var(--yellow);
  font-size: .88rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.button:hover { transform: translateY(-2px); background: #ffda48; }
.button:active { transform: translateY(0) scale(.98); }
.button span:last-child { display: inline-block; transition: transform .18s ease; }
.button:hover span:last-child { transform: translateX(3px); }
.button--outline { border-color: var(--green-dark); color: var(--green-dark); background: transparent; }
.button--outline:hover { color: var(--white); background: var(--green-dark); }
.button--light { border-color: var(--white); color: var(--green-dark); background: var(--white); }
.button--light:hover { color: var(--white); background: transparent; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.photo-frame {
  position: relative;
  min-height: 16rem;
  overflow: hidden;
  background-color: #e5e2d8;
  background-position: center;
  background-size: cover;
  isolation: isolate;
}
.photo-frame::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-color: var(--photo-fallback, #e5e2d8);
  background-image: var(--photo-image, none);
  background-position: center;
  background-size: cover;
  content: "";
  transition: transform .65s cubic-bezier(.2,.7,.2,1);
}
.photo-frame:hover::before { transform: scale(1.045); }
.photo-frame::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgb(32 43 40 / 8%);
  content: "";
  pointer-events: none;
}
.photo-frame--sage { --photo-fallback: #dce5dc; background-color: #dce5dc; }
.photo-frame--sand { --photo-fallback: #e9e3d6; background-color: #e9e3d6; }
.photo-frame--stone { --photo-fallback: #e4e6e1; background-color: #e4e6e1; }
.photo-frame--loaded { animation: photo-reveal .55s ease-out both; }
@keyframes photo-reveal { from { opacity: .7; } to { opacity: 1; } }
.photo-caption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  width: fit-content;
  max-width: calc(100% - 2rem);
  padding: .4rem .65rem;
  color: var(--ink);
  background: rgb(251 250 246 / 94%);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.35;
}
.photo-frame--loaded .photo-caption { color: var(--white); background: rgb(32 43 40 / 82%); }
.card-grid { display: grid; gap: 1.25rem; }
.card {
  min-width: 0;
  padding: 1.35rem;
  border: 1px solid var(--line);
  background: var(--white);
}
.card h3 { margin-bottom: .65rem; }
.card p:last-child { margin-bottom: 0; }
.number { color: var(--clay); font-size: .78rem; font-weight: 700; letter-spacing: .12em; }
.rule { height: 1px; border: 0; margin: 1.5rem 0; background: var(--line); }
.sr-only + * { margin-top: 0; }
.fade-in { transition: opacity .65s ease, transform .65s ease; }
.js .fade-in { opacity: 0; transform: translateY(14px); }
.js .fade-in.is-visible { opacity: 1; transform: translateY(0); }
.js .card-grid > .fade-in:nth-child(2),
.js .idea-grid > .fade-in:nth-child(2),
.js .gallery-grid > .fade-in:nth-child(2) { transition-delay: .08s; }
.js .card-grid > .fade-in:nth-child(3),
.js .idea-grid > .fade-in:nth-child(3),
.js .gallery-grid > .fade-in:nth-child(3) { transition-delay: .16s; }
.js .card-grid > .fade-in:nth-child(4),
.js .idea-grid > .fade-in:nth-child(4),
.js .gallery-grid > .fade-in:nth-child(4) { transition-delay: .24s; }
.scroll-progress { position: fixed; z-index: 100; inset: 0 0 auto; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; width: 0; height: 100%; background: var(--yellow); transition: width .08s linear; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .js .fade-in { opacity: 1; transform: none; }
  .photo-frame:hover::before { transform: none; }
  .scroll-progress span { transition: none; }
}
@media (max-width: 600px) {
  .button-row > .button { width: 100%; }
  .section-heading { margin-bottom: 2rem; }
}
.cms-layout-contained { width: min(var(--content), 100%); margin-inline: auto; }
.cms-layout-wide { width: 100%; }
.cms-layout-panel { padding: clamp(1.5rem, 4vw, 3rem); background: #f0eee6; }
