/* Hallmark: architectural editorial; NuGen palette and the collection type pair (Archivo / Geist).
   Native sections only. Controller owns scene selection and restrained depth. */
body[data-page="gazebos"] {
  --gz-paper: #f5f4ef;
  --gz-stone: #e8e9e1;
  --gz-ink: #0a1f35;
  --gz-muted: #4a5a60;
  --gz-green: #203f33;
  --gz-on-green: #f5f4ef;
  --gz-night: #0a1c29;
  --gz-on-night: #f5f4ef;
  --gz-night-muted: #c0cecc;
  --gz-rule: #c5cdc5;
  --gz-night-rule: #4d636a;
  --gz-focus: #127f38;
  --gz-hover: #dbe3d8;
  --gz-type: var(--mk-display, "Archivo", system-ui), sans-serif;
  --gz-text: var(--mk-text, "Geist", system-ui), sans-serif;
  --gz-ease: cubic-bezier(.22, .61, .36, 1);
  background: var(--gz-paper);
  overflow-x: clip;
}

html:has(body[data-page="gazebos"]) { overflow-x: clip; scrollbar-width: auto; }
html:has(body[data-page="gazebos"])::-webkit-scrollbar { display: block; }

.gz-page {
  background: var(--gz-paper);
  color: var(--gz-ink);
  font-family: var(--gz-text);
  font-size: 17px;
  line-height: 1.6;
}
:root body[data-page="gazebos"] .gz-page :is(h1, h2, h3, dt, p, dd) { color: inherit; }
:root body[data-page="gazebos"] .gz-page :is(h1, h2, h3) {
  font-family: var(--gz-type);
  font-style: normal;
  font-weight: 650;
  letter-spacing: -.04em;
  line-height: 1.02;
  overflow-wrap: anywhere;
  min-width: 0;
}
:root body[data-page="gazebos"] .gz-page h1 { font-size: clamp(48px, 6.5vw, 100px); max-width: 11ch; }
:root body[data-page="gazebos"] .gz-page h2 { font-size: clamp(36px, 4.1vw, 62px); max-width: 13ch; }
:root body[data-page="gazebos"] .gz-page h3 { font-size: clamp(27px, 2.5vw, 36px); letter-spacing: -.025em; }
.gz-page :is(figure, p, dl, dd) { margin: 0; }
.gz-page img { border-radius: 0; }
.gz-page :is(button, a) { -webkit-tap-highlight-color: transparent; }
.gz-page :is(button, a):focus-visible, .gz-skip:focus-visible {
  outline: 3px solid var(--gz-focus);
  outline-offset: 5px;
  border-radius: 0;
}
.gz-page [hidden] { display: none !important; }
.gz-shell { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.gz-skip {
  position: fixed;
  z-index: 1000;
  top: 14px;
  left: 20px;
  padding: 12px 20px;
  background: var(--gz-paper);
  color: var(--gz-ink);
  transform: translateY(-180%);
  font-weight: 600;
}
.gz-skip:focus { transform: none; }
.gz-page:focus { outline: none; }
.gz-page section[id] { scroll-margin-top: 100px; }

/* A spacious masthead and a single, broad architectural view. */
.gz-hero { padding-block: 150px 45px; }
.gz-masthead { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 64px; align-items: end; padding-bottom: 45px; }
:root body[data-page="gazebos"] .gz-page .gz-collection { margin-bottom: 20px; color: #127f38; font: 650 11px/1.2 var(--gz-text); letter-spacing: .16em; text-transform: uppercase; }
.gz-masthead__aside { max-width: 365px; justify-self: end; padding-bottom: 8px; }
.gz-masthead__aside > p { font-size: clamp(19px, 1.75vw, 24px); line-height: 1.5; }
.gz-text-link { display: inline-flex; align-items: center; gap: 26px; min-height: 46px; margin-top: 22px; border-bottom: 1px solid var(--gz-rule); font-size: 16px; font-weight: 500; }
.gz-text-link:hover { border-color: var(--gz-green); color: var(--gz-green); }
.gz-text-link > span[aria-hidden] { font-size: 23px; }
.gz-hero__figure { position: relative; padding-bottom: 30px; }
.gz-hero__frame { position: relative; aspect-ratio: 1.6; overflow: hidden; background: var(--gz-stone); }
.gz-hero__image { position: absolute; width: 100%; max-width: none; height: calc(100% + 40px); top: -20px; left: 0; object-fit: cover; object-position: 50% 53%; }
.gz-hero__caption { position: relative; z-index: 1; width: min(400px, calc(100% - 48px)); margin: -56px auto 0 32px !important; padding: 26px 30px; background: var(--gz-green); color: var(--gz-on-green); }
.gz-hero__caption strong { display: block; font-family: var(--gz-type); font-size: 24px; font-weight: 650; line-height: 1.2; letter-spacing: -.025em; margin-bottom: 8px; }
.gz-hero__caption > span { display: block; max-width: 29ch; font-size: 15px; line-height: 1.55; }

/* Editorial notes stay on a shared rule rather than becoming feature cards. */
.gz-editorial { padding-block: 25px 95px; }
.gz-editorial__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 8vw, 120px); }
.gz-editorial__copy > p { margin-top: 26px; max-width: 42ch; color: var(--gz-muted) !important; font-size: 19px; }
.gz-editorial__notes > div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 25px; border-top: 1px solid var(--gz-rule); padding-block: 22px; }
.gz-page dt { font-size: 19px; font-weight: 500; line-height: 1.4; }
.gz-page dd { font-size: 16px; line-height: 1.6; color: var(--gz-muted) !important; }

/* Two-direction studio, with a steady frame while replacement images decode. */
.gz-studio { padding-block: 75px 65px; background: var(--gz-stone); }
.gz-section-head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 60px; align-items: end; margin-bottom: 40px; }
.gz-section-head > p { max-width: 40ch; color: var(--gz-muted) !important; font-size: 18px; }
.gz-studio__layout { display: grid; grid-template-columns: minmax(0, 1.95fr) minmax(0, 1fr); gap: 48px; }
.gz-studio__visual, .gz-studio__panel { min-width: 0; }
.gz-design-frame { position: relative; overflow: hidden; aspect-ratio: 1.5; background: var(--gz-paper); }
.gz-design-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gz-design-caption { margin-top: 12px !important; font-size: 14px; color: var(--gz-muted); line-height: 1.5; }
.gz-control-label { font-size: 14px; margin-bottom: 14px !important; }
.gz-design-choices { display: grid; grid-template-columns: minmax(0, 1fr); margin-bottom: 30px; }
.gz-design-choices button { position: relative; min-height: 57px; padding: 13px 32px 13px 0; border: 0; border-top: 1px solid var(--gz-rule); border-bottom: 1px solid transparent; text-align: left; font: 400 21px/1.4 var(--gz-type); background: transparent; cursor: pointer; transition: color 160ms ease, background-color 160ms ease; }
.gz-design-choices button:last-child { border-bottom-color: var(--gz-rule); }
.gz-design-choices button::after { content: ""; position: absolute; top: 50%; right: 5px; width: 10px; height: 10px; margin-top: -5px; border: 1px solid currentColor; border-radius: 50%; }
.gz-design-choices button[aria-pressed="true"] { font-weight: 600; color: var(--gz-green); }
.gz-design-choices button[aria-pressed="true"]::after { background: currentColor; }
.gz-design-choices button:hover { background: var(--gz-hover); }
.gz-design-choices button:active { background: var(--gz-paper); }
.gz-page button:disabled { opacity: .5; cursor: wait; }
.gz-design-copy > p { margin-top: 15px; color: var(--gz-muted) !important; font-size: 17px; line-height: 1.6; }
.gz-quote { display: inline-flex; align-items: center; justify-content: space-between; gap: 35px; min-height: 54px; padding: 13px 22px; margin-top: 26px; background: var(--gz-green); color: var(--gz-on-green); font: 500 17px/1.4 var(--gz-type); border: 1px solid var(--gz-green); transition: color 180ms ease, background-color 180ms ease; }
.gz-quote > span[aria-hidden] { font-size: 23px; line-height: 1; }
.gz-quote:hover { background: var(--gz-ink); color: var(--gz-paper); }
.gz-quote:active { background: var(--gz-night); }
/* Shared main-link colors must not override either filled collection CTA. */
:root body[data-page="gazebos"] .gz-page :is(a.gz-quote, a.gz-button),
:root body[data-page="gazebos"] .gz-page :is(a.gz-quote, a.gz-button):is(:link, :visited, :hover, :focus, :focus-visible, :active),
:root body[data-page="gazebos"] .gz-page :is(a.gz-quote, a.gz-button) > span {
  color: var(--gz-on-green) !important;
}
.gz-page .gz-fine-print { margin-top: 18px; color: var(--gz-muted) !important; font-size: 13px; line-height: 1.6; max-width: 41ch; }
.gz-status { border-left: 2px solid currentColor; padding-left: 14px; margin-top: 16px !important; font-size: 14px; }
.gz-status:empty { border: 0; padding: 0; margin-top: 0 !important; }
.gz-references { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; border-top: 1px solid var(--gz-rule); margin-top: 40px; padding-top: 28px; }
.gz-reference { display: flex; gap: 24px; align-items: center; min-width: 0; }
.gz-reference__image { display: flex; align-items: center; justify-content: center; width: 155px; height: 166px; flex: 0 0 155px; background: var(--gz-paper); }
.gz-reference__image img { width: 100%; height: 100%; object-fit: contain; }
.gz-reference figcaption { min-width: 0; }
.gz-reference figcaption > span { display: block; font-size: 13px; color: var(--gz-muted); line-height: 1.5; }
.gz-reference figcaption > strong { display: block; margin-top: 8px; font-size: 21px; font-weight: 400; letter-spacing: -.02em; line-height: 1.3; }

/* Lighting changes only; both images use exactly the same crop and scale. */
.gz-hours { background: var(--gz-night); color: var(--gz-on-night); padding-block: 72px 24px; }
.gz-page .gz-hours__head > p { color: var(--gz-night-muted) !important; }
.gz-hours__head { margin-bottom: 28px; }
.gz-page .gz-hours__hint { margin-bottom: 14px; color: var(--gz-night-muted); font-size: 15px; }
.gz-light-choices { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 25px; }
.gz-light-choices button { min-height: 46px; padding: 8px 2px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--gz-night-muted); font: 400 16px/1.5 var(--gz-type); cursor: pointer; transition: color 160ms ease, border-color 160ms ease; }
.gz-light-choices button[aria-pressed="true"] { color: var(--gz-on-night); border-bottom-color: currentColor; }
.gz-light-choices button:hover { color: var(--gz-on-night); border-bottom-color: var(--gz-night-rule); }
.gz-light-choices button:active { border-bottom-color: var(--gz-on-night); }
.gz-hours :is(button, a):focus-visible { outline-color: var(--gz-on-night); }
.gz-hours__frame { position: relative; overflow: hidden; aspect-ratio: 1.6; background: var(--gz-green); }
.gz-hours__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 53%; }
#gz-hours-night { opacity: 0; }
.gz-hours__caption { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-block: 20px 0; font-size: 15px; color: var(--gz-night-muted); }
.gz-hours__caption strong { font-size: 14px; font-weight: 400; color: var(--gz-on-night); text-align: right; }

.gz-planning { padding-block: 90px 45px; }
.gz-planning__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 8vw, 120px); }
.gz-planning__copy > p { max-width: 41ch; margin-top: 24px; color: var(--gz-muted) !important; font-size: 19px; }
.gz-planning__notes > div { border-top: 1px solid var(--gz-rule); padding-block: 20px; }
.gz-planning__notes dd { margin-top: 9px; max-width: 49ch; }
.gz-disclosure { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; border-top: 1px solid var(--gz-rule); margin-top: 60px; padding-top: 24px; }
.gz-page .gz-disclosure p { color: var(--gz-muted) !important; font-size: 13px; line-height: 1.65; max-width: 65ch; }

@media (max-width: 1100px) {
  .gz-shell { width: calc(100% - 64px); }
  .gz-masthead { gap: 40px; }
  .gz-studio__layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 30px; }
  .gz-editorial__notes > div { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-block: 16px; }
  .gz-reference__image { width: 128px; height: 150px; flex-basis: 128px; }
  .gz-reference { gap: 18px; }
}
@media (max-width: 760px) {
  .gz-shell { width: calc(100% - 40px); }
  .gz-hero { padding-block: 116px 20px; }
  .gz-masthead { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-bottom: 30px; }
  .gz-collection { margin-bottom: 14px !important; font-size: 14px; }
  .gz-masthead__aside { justify-self: start; padding: 0; max-width: 35ch; }
  .gz-masthead__aside > p { font-size: 19px; }
  .gz-text-link { margin-top: 12px; }
  .gz-hero__frame { aspect-ratio: 1.5; }
  .gz-hero__image { height: 100%; top: 0; object-fit: contain; }
  .gz-hero__figure { padding-bottom: 0; }
  .gz-hero__caption { width: calc(100% - 28px); margin: -28px 0 0 auto !important; padding: 20px 22px; }
  .gz-hero__caption strong { font-size: 24px; }
  .gz-hero__caption > span { max-width: none; }
  .gz-editorial { padding-block: 40px 55px; }
  .gz-editorial__layout, .gz-section-head, .gz-studio__layout, .gz-planning__layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .gz-editorial__copy > p, .gz-planning__copy > p { margin-top: 20px; font-size: 18px; }
  .gz-editorial__notes > div { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 18px; padding-block: 20px; }
  .gz-page dt { font-size: 18px; }
  .gz-page dd { font-size: 15px; }
  .gz-studio { padding-block: 50px 38px; }
  .gz-section-head { gap: 20px; margin-bottom: 28px; }
  .gz-section-head > p { font-size: 17px; }
  .gz-studio__layout { gap: 24px; }
  .gz-design-choices { margin-bottom: 24px; }
  .gz-design-choices button { min-height: 56px; font-size: 20px; }
  .gz-quote { margin-top: 22px; }
  .gz-page .gz-fine-print { max-width: none; }
  .gz-references { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 30px; padding-top: 24px; }
  .gz-reference { display: block; }
  .gz-reference__image { width: 100%; height: 172px; }
  .gz-reference figcaption { margin-top: 12px; }
  .gz-reference figcaption > strong { font-size: 18px; }
  .gz-hours { padding-block: 48px 20px; }
  .gz-hours__head { margin-bottom: 20px; }
  .gz-light-choices { gap: 4px 18px; margin-bottom: 20px; }
  .gz-light-choices button { font-size: 15px; }
  .gz-hours__frame { aspect-ratio: 1.5; }
  .gz-hours__caption { font-size: 14px; gap: 18px; padding-top: 16px; }
  .gz-planning { padding-block: 52px 32px; }
  .gz-disclosure { grid-template-columns: minmax(0, 1fr); gap: 15px; margin-top: 35px; padding-top: 22px; }
}
@media (max-width: 360px) {
  .gz-shell { width: calc(100% - 32px); }
  :root body[data-page="gazebos"] .gz-page h1 { font-size: 44px; }
  :root body[data-page="gazebos"] .gz-page h2 { font-size: 34px; }
  .gz-editorial__notes > div { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .gz-light-choices { column-gap: 16px; }
  .gz-reference__image { height: 155px; }
}
@media (min-width: 761px) and (max-height: 750px) {
  .gz-hero { padding-top: 123px; }
  .gz-masthead { padding-bottom: 30px; }
  :root body[data-page="gazebos"] .gz-page h1 { font-size: clamp(58px, 5.5vw, 82px); }
}
@media (max-height: 480px) and (orientation: landscape) {
  .gz-hero { padding-top: 108px; }
  .gz-masthead { gap: 24px; padding-bottom: 26px; }
  :root body[data-page="gazebos"] .gz-page h1 { font-size: 52px; }
  .gz-hero__frame, .gz-hours__frame { aspect-ratio: 1.6; }
}
@media (max-width: 1024px), (hover: none) {
  .gz-page [data-gz-depth], .gz-page [data-gz-caption-depth] { transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(body[data-page="gazebos"]) { scroll-behavior: auto !important; }
  .gz-page *, .gz-page *::before, .gz-page *::after, .gz-skip { transition: none !important; animation: none !important; }
  .gz-page [data-gz-depth], .gz-page [data-gz-caption-depth] { transform: none !important; }
}

/* 2026-10-12 polish: the hero opens on both directions instead of repeating one scene,
   and the supplied references read as an even pair of thumbnails. */
.gz-hero__diptych { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 14px; }
.gz-hero__diptych .gz-hero__frame { aspect-ratio: auto; height: clamp(420px, 44vw, 620px); }
.gz-hero__side { position: relative; overflow: hidden; background: var(--gz-night); }
.gz-hero__side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
:root body[data-page="gazebos"] .gz-page .gz-design-choices button { font-family: var(--gz-type); }
:root body[data-page="gazebos"] .gz-page dt { font-family: var(--gz-type); font-weight: 600; letter-spacing: -.01em; }
.gz-reference__image { width: 120px; height: 120px; flex-basis: 120px; overflow: hidden; border-radius: 4px; background: var(--gz-paper); }
.gz-reference__image img { object-fit: cover; object-position: 50% 48%; }
.gz-reference figcaption > strong { font-family: var(--gz-type); font-weight: 600; }
@media (max-width: 1100px) {
  .gz-reference__image { width: 110px; height: 110px; flex-basis: 110px; }
}
@media (max-width: 760px) {
  .gz-hero__diptych { grid-template-columns: minmax(0, 1fr); }
  .gz-hero__diptych .gz-hero__frame { height: auto; aspect-ratio: 1.5; }
  .gz-hero__side { display: none; }
  .gz-hero__caption { margin: -28px 0 0 auto !important; }
  .gz-reference__image { width: 100%; height: auto; aspect-ratio: 1; }
}
