:root {
  color-scheme: light;
  --ink: #24362d;
  --muted: #506056;
  --paper: #f3f4ed;
  --mint: #dce5d9;
  --rule: #c9d3c5;
  --forest: #24382e;
  font: 16px/1.5 "Segoe UI", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .28em; }
button { font: inherit; color: inherit; }
button, .button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #56836c; outline-offset: 4px; }
.frame { width: min(1320px, calc(100% - clamp(2rem, 8vw, 9rem))); margin-inline: auto; }
.masthead, .footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.masthead { min-height: 84px; }
.masthead nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.3rem); }
.masthead nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .94rem; font-weight: 600; text-decoration: none; }
.masthead nav a:hover, .footer a:hover { text-decoration: underline; }
.wordmark { font-size: 1.55rem; letter-spacing: -.075em; font-weight: 750; text-decoration: none; }
.wordmark span { color: #60816a; }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(285px, .76fr) minmax(0, 1.24fr);
  min-height: clamp(470px, 47vw, 640px);
  isolation: isolate;
  background: var(--forest);
  color: var(--paper);
}
.hero-copy {
  padding: clamp(1.5rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.eyebrow {
  margin: 0 0 1rem;
  font-size: .83rem;
  font-weight: 650;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hero .eyebrow { color: #c4d8c6; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; margin: 0; }
h1 { font-size: clamp(3.65rem, 6.8vw, 7.1rem); line-height: .91; letter-spacing: -.079em; }
h1.long { font-size: clamp(2.75rem, 5.7vw, 5.8rem); line-height: .96; overflow-wrap: anywhere; }
.hero-copy > p:not(.eyebrow) { margin: 1.3rem 0 1.75rem; color: #e5ede4; max-width: 31ch; }
.hero-photo { position: relative; min-height: 0; overflow: hidden; }
.hero-photo img { display: block; position: absolute; width: 100%; height: 100%; object-fit: cover; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: .64rem 1rem;
  font-size: .94rem;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none;
  background: var(--forest);
  color: var(--paper);
}
.button:hover { filter: brightness(1.15); }
.hero .button { background: var(--mint); color: var(--ink); }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--rule); }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.35rem; }
.section-top p { margin: .3rem 0 0; color: var(--muted); }
h2 { font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.06em; }
h3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.1; letter-spacing: -.055em; }
.collections { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2rem 1.05rem; }
.collection { grid-column: span 2; text-decoration: none; display: block; }
.collection:nth-child(-n+2) { grid-column: span 3; }
.collection img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; background: var(--mint); }
.collection:nth-child(-n+2) img { aspect-ratio: 3/2; }
.collection h3 { margin-top: .65rem; }
.collection:hover h3 { text-decoration: underline; text-underline-offset: .16em; }
.collection p { color: var(--muted); margin: .2rem 0 0; font-size: .94rem; }
.trail { display: inline-block; margin-bottom: 1.2rem; font-weight: 640; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.tile { min-width: 0; }
.tile button { display: block; position: relative; width: 100%; aspect-ratio: 4/3; border: 0; padding: 0; background: var(--mint); overflow: hidden; cursor: zoom-in; }
.tile img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 180ms ease; }
@media (hover: hover) { .tile button:hover img { transform: scale(1.035); } }
.tile a { display: block; min-height: 44px; padding: .55rem .1rem; font-size: .9rem; }
.notice { color: var(--muted); margin: 0 0 1.4rem; max-width: 66ch; }
.rates { border-top: 1px solid var(--rule); }
.rate-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; gap: 1rem; }
.rate-card { padding: clamp(1rem, 3vw, 2.5rem); border: 1px solid var(--rule); }
.rate-description { margin: .55rem 0 0; color: var(--muted); }
.prices { margin: 1.3rem 0 0; }
.prices div, .team-size, .rate-total { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.prices div { padding: .65rem 0; border-top: 1px solid var(--rule); }
.prices dd { margin: 0; font-weight: 700; white-space: nowrap; }
.calculator { min-inline-size: 0; margin: 1.5rem 0 0; padding: .8rem clamp(.75rem, 2vw, 1.25rem) 1rem; border: 1px solid var(--rule); background: var(--mint); }
.calculator legend { padding-inline: .35rem; font-weight: 700; }
.team-size input { width: 5rem; min-height: 44px; padding: .35rem; border: 1px solid #839688; border-radius: 4px; background: var(--paper); font: inherit; color: inherit; }
#team-slider { display: block; width: 100%; min-height: 44px; margin: .35rem 0 0; accent-color: var(--forest); cursor: pointer; }
.range-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: .875rem; }
.rate-total { margin: .8rem 0 0; padding-top: .65rem; border-top: 1px solid var(--rule); }
.rate-total output { font-size: 1.25rem; font-weight: 750; overflow-wrap: anywhere; }
.inquire { display: flex; align-items: center; justify-content: space-between; padding: clamp(1.5rem, 4vw, 3.4rem); background: var(--mint); gap: 1rem; }
.inquire p { margin: .5rem 0 0; color: var(--muted); }
.footer { flex-wrap: wrap; gap: .25rem 1rem; padding-block: 1.5rem; border-top: 1px solid var(--rule); color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.contact + .footer { border: 0; }
dialog { width: min(calc(100% - 1rem), 1300px); height: min(calc(100dvh - 1rem), 1000px); max-height: none; padding: clamp(.65rem, 2vw, 1rem); border: 0; background: #17291f; color: var(--paper); }
dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
dialog::backdrop { background: #0d1713e8; }
.viewer-top, .viewer-bottom { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.viewer-bottom { margin-top: .5rem; }
.viewer-top { margin-bottom: .5rem; }
#viewer-img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.viewer-btn { min-width: 44px; min-height: 44px; border: 1px solid #738b7b; border-radius: 4px; color: inherit; background: transparent; padding: .4rem .75rem; cursor: pointer; }
.viewer-btn:hover { background: #3b5547; }
.viewer-btn:disabled { opacity: .45; cursor: default; }
.viewer-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 850px) {
  .collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection, .collection:nth-child(-n+2) { grid-column: span 1; }
  .collection:nth-child(-n+2) img { aspect-ratio: 4/3; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .masthead { min-height: 68px; }
  .masthead nav { gap: .75rem; }
  .masthead nav a { font-size: .85rem; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 2rem 1.25rem; }
  .hero-photo { aspect-ratio: 3/2; }
  .section-top { align-items: flex-start; flex-direction: column; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .tile button { aspect-ratio: 1; }
  .rate-grid { grid-template-columns: 1fr; }
  .inquire { flex-direction: column; align-items: flex-start; }
  .footer { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .tile img { transition: none; } }
