:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #202922;
  --muted: #535e55;
  --accent: #2e4a3c;
  --quiet: #f0f3ef;
  --line: #dce3dc;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --edge: clamp(20px, 5vw, 72px);
  --limit: 1440px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 112px; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(2.75rem, 6.3vw, 6.1rem); line-height: .99; letter-spacing: -.052em; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.3vw, 4.25rem); line-height: 1.06; letter-spacing: -.044em; text-wrap: balance; }
h3 { font-size: clamp(1.45rem, 2.3vw, 2.15rem); line-height: 1.15; letter-spacing: -.021em; }
a { color: inherit; text-underline-offset: .25em; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #49745c; outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(100%, var(--limit)); margin-inline: auto; padding-inline: var(--edge); }
.section { padding-block: clamp(55px, 8vw, 108px); }
.label { color: var(--accent); font-size: .82rem; font-weight: 660; letter-spacing: .13em; text-transform: uppercase; line-height: 1.5; }
.skip { position: fixed; z-index: 50; top: 9px; left: 12px; transform: translateY(-200%); padding: 8px 15px; background: white; }
.skip:focus { transform: none; }
.site-head { position: sticky; z-index: 10; top: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.head-inner { display: flex; gap: 22px; align-items: center; justify-content: space-between; min-height: 89px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-size: .8rem; font-weight: 660; line-height: 1.25; letter-spacing: .095em; text-transform: uppercase; }
.brand img { width: 51px; height: 50px; object-fit: contain; }
.brand span { max-width: 108px; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 3.3vw, 44px); }
.site-nav a { font-weight: 560; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav [aria-current="page"] { text-decoration: underline; }
.site-nav .nav-contact { border: 1px solid var(--accent); padding: 8px 17px; color: var(--accent); }
.site-nav .nav-contact:hover { color: white; background: var(--accent); text-decoration: none; }
.button { display: inline-flex; width: fit-content; padding: 11px 19px; min-height: 46px; align-items: center; background: var(--accent); color: white; border: 1px solid var(--accent); text-decoration: none; font-size: .9rem; font-weight: 640; cursor: pointer; }
.button:hover { background: #22392c; color: white; }
.button.secondary { background: transparent; color: var(--accent); }
.button.secondary:hover { background: var(--quiet); }
.text-link { color: var(--accent); font-weight: 620; }
.hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.25fr); align-items: center; gap: clamp(23px, 4.5vw, 76px); padding-block: clamp(44px, 6.5vw, 91px); }
.hero-copy { display: grid; justify-items: start; gap: clamp(16px, 2vw, 27px); }
.hero h1 { text-wrap: initial; }
.hero h1 em { color: var(--accent); font-weight: inherit; }
.hero-copy p:not(.label) { max-width: 37ch; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.16rem); }
.hero-media { display: grid; grid-template-columns: minmax(0, 2.75fr) minmax(0, 1fr); align-items: end; gap: 10px; }
.hero-media img { width: 100%; }
.hero-media figure:first-child { align-self: start; }
.hero-media figure:last-child { margin-top: clamp(27px, 6vw, 94px); }
.hero-credit { grid-column: 1/-1; color: var(--muted); font-size: .79rem; }
.home-projects { border-block: 1px solid var(--line); background: var(--quiet); }
.section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 30px; margin-bottom: 34px; }
.section-heading .label, .title-block .label { margin-bottom: 12px; }
.section-heading > p, .title-block > p:not(.label) { max-width: 51ch; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.8vw, 51px) clamp(15px, 2.5vw, 35px); }
.card { min-width: 0; }
.card a { display: block; color: inherit; text-decoration: none; }
.card a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.card-image { overflow: hidden; background: #e8ece6; aspect-ratio: 4 / 3; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-image.contain img { object-fit: contain; }
.card-copy { padding-top: 15px; }
.card-copy .label { margin-bottom: 5px; }
.card h3 { margin-bottom: 6px; }
.card p:not(.label) { color: var(--muted); font-size: .94rem; }
.card-credit { display: block; color: var(--muted); font-size: .78rem; margin-top: 4px; }
.cols { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(22px, 6vw, 96px); align-items: start; }
.cols h2 { margin-top: 11px; }
.copy { color: var(--muted); max-width: 68ch; }
.copy p + p { margin-top: 13px; }
.services { border-top: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 5vw, 60px); }
.service-grid article { border-top: 1px solid var(--line); padding-top: 19px; }
.service-grid p { margin-top: 10px; max-width: 33ch; color: var(--muted); }
.contact { background: var(--accent); color: white; }
.contact .label, .contact .copy { color: #f0f4ef; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 19px; }
.contact a { color: white; font-size: clamp(.95rem, 2.2vw, 1.16rem); overflow-wrap: anywhere; }
.contact button { border: 1px solid #d1ddd3; background: transparent; color: white; padding: 6px 10px; cursor: pointer; }
.contact button:focus-visible { outline-color: white; }
.contact-status { min-height: 1.45em; margin-top: 5px; font-size: .85rem; }
.site-foot { border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px 25px; flex-wrap: wrap; padding-block: 24px; }
.title-block { padding-top: clamp(49px, 7vw, 95px); padding-bottom: 34px; }
.title-block h1 { max-width: 16ch; }
.title-block > p:not(.label) { margin-top: 17px; font-size: clamp(1.05rem, 1.6vw, 1.27rem); }
.breadcrumb { margin-top: 24px; font-size: .9rem; color: var(--muted); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.project-head { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: end; gap: 26px 7%; padding-bottom: 28px; }
.project-head .title-block { padding: 0; }
.project-head h1 { font-size: clamp(2.55rem, 5.7vw, 5.25rem); }
.project-meta { display: grid; grid-template-columns: 1fr; width: min(100%, 440px); border-top: 1px solid var(--line); }
.project-meta > div { display: grid; grid-template-columns: minmax(80px, 105px) 1fr; gap: 10px; border-bottom: 1px solid var(--line); padding-block: 8px; }
.project-meta dt { font-size: .86rem; font-weight: 670; }
.project-meta dd { font-size: .91rem; color: var(--muted); }
.project-banner { width: 100%; max-height: 645px; object-fit: contain; background: #f3f5f2; }
.project-section { padding-block: clamp(33px, 5.5vw, 75px); border-bottom: 1px solid var(--line); }
.project-section h2 { margin-bottom: 14px; font-size: clamp(1.85rem, 3.6vw, 3.2rem); }
.project-section .copy + .gallery, .project-section .copy + .button { margin-top: 25px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(15px, 2.5vw, 34px); align-items: start; }
.gallery + .gallery { margin-top: 26px; }
.gallery.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery.one { grid-template-columns: 1fr; max-width: 960px; }
.gallery-item a { display: block; background: #f2f4f0; }
.gallery-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery.fit img { object-fit: contain; background: white; }
.gallery.plans img { aspect-ratio: 4 / 5; }
.gallery.panoramas img { aspect-ratio: 2.25; }
.gallery.one img { aspect-ratio: auto; max-height: 590px; object-fit: contain; }
.gallery.one.full-width { max-width: none; }
.gallery.one.full-width img { max-height: none; }
.gallery.elevations img { aspect-ratio: auto; }
.activity-elevations > figure:first-child { grid-column: 1 / -1; }
.gallery-item a:hover img { opacity: .93; }
.caption { display: block; padding-top: 8px; color: var(--muted); font-size: .9rem; line-height: 1.48; }
.caption small { display: block; margin-top: 3px; font-size: .8rem; }
.gallery:is(.activity-views, .bathroom-views) { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(10px, 1.55vw, 20px); }
.activity-views .gallery-item { grid-column: span 3; }
.bathroom-views .gallery-item { grid-column: span 6; }
:is(.activity-views, .bathroom-views) .gallery-item:nth-child(-n+3) { grid-column: span 4; }
.gallery.activity-details { grid-template-columns: 1fr; gap: clamp(10px, 1.55vw, 20px); }
.activity-detail-row { display: grid; gap: inherit; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, .667fr)); }
.activity-detail-row + .activity-detail-row { grid-template-columns: minmax(0, 1.5fr) minmax(0, 2.07fr); }
.activity-details .gallery-item img { height: auto; aspect-ratio: auto; }
.rest-room { padding-block: clamp(26px, 4.1vw, 50px); }
.rest-room .copy + .gallery, .rest-room .gallery + .gallery { margin-top: 16px; }
.rest-room .gallery { gap: clamp(10px, 1.6vw, 20px); }
.rest-room-photos { grid-template-columns: repeat(2, minmax(0, 1.5fr)) minmax(0, .55fr); }
.rest-room .gallery-item img { height: auto; aspect-ratio: auto; }
.rest-room .caption a { display: inline; background: none; text-decoration: underline; text-underline-offset: 3px; }
.group-intro { margin: 26px 0 11px; }
.chapters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 24px 0 16px; }
.chapters a { background: white; min-height: 67px; display: grid; align-content: center; padding: 9px 15px; text-decoration: none; line-height: 1.3; }
.chapters a[aria-current="page"] { background: var(--quiet); font-weight: 660; }
.chapters a:hover { text-decoration: underline; }
.chapters small { font-size: .76rem; color: var(--accent); }
.source-links { display: flex; gap: 10px 21px; flex-wrap: wrap; margin-top: 15px; }
.source-links a { color: var(--accent); }
.project-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 31px 63px; }
.project-index { padding-bottom: 78px; }
.credit-list { max-width: 78ch; padding-bottom: 70px; }
.credit-list article { border-top: 1px solid var(--line); padding: 24px 0; }
.credit-list h2 { font-size: clamp(1.6rem, 3vw, 2.55rem); margin-bottom: 10px; }
.credit-list p + p { margin-top: 9px; }
dialog { padding: 0; width: min(95vw, 1220px); max-height: 94vh; max-height: 94dvh; margin: auto; border: 0; background: white; color: var(--ink); }
dialog::backdrop { background: rgb(15 24 20 / 86%); }
.dialog-frame { padding: clamp(12px, 2vw, 24px); }
.dialog-heading, .dialog-buttons { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.dialog-heading { margin-bottom: 10px; }
.dialog-heading h2 { font-size: clamp(1.15rem, 2vw, 1.55rem); letter-spacing: 0; }
.dialog-frame img { display: block; width: 100%; height: min(66vh, 940px); height: min(66dvh, 940px); object-fit: contain; background: #f5f6f4; }
.dialog-frame .caption { min-height: 2.2em; }
.dialog-buttons { margin-top: 10px; }
.dialog-frame button { min-height: 42px; border: 1px solid var(--line); color: var(--accent); background: white; padding: 5px 12px; cursor: pointer; }
.dialog-frame button:hover { background: var(--quiet); }
.dialog-frame button:disabled { color: #767d75; cursor: default; }
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .hero h1 { font-size: clamp(2.55rem, 6.9vw, 5.4rem); }
  .hero-media { grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: 6px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 630px) {
  html { scroll-padding-top: 125px; }
  .head-inner { flex-wrap: wrap; gap: 3px; padding-block: 7px 8px; }
  .brand img { width: 38px; height: 39px; }
  .brand span { max-width: none; }
  .site-nav { width: 100%; justify-content: space-between; gap: 9px; }
  .site-nav a { font-size: .85rem; padding-block: 5px; }
  .site-nav .nav-contact { padding: 4px 9px; }
  .hero, .cols, .project-head { grid-template-columns: 1fr; }
  .hero { gap: 27px; }
  .hero h1 { font-size: clamp(2.7rem, 11vw, 4.3rem); }
  .hero-media { grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .project-head { padding-bottom: 22px; }
  .gallery.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapters { grid-template-columns: 1fr; }
  .chapters a { min-height: 51px; }
  .gallery-item .caption { font-size: .83rem; }
  .gallery:is(.activity-views, .activity-details, .bathroom-views) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(.activity-views, .bathroom-views) .gallery-item:nth-child(n) { grid-column: auto; }
  :is(.activity-views, .bathroom-views) .gallery-item:last-child { grid-column: 1 / -1; }
  .activity-detail-row { display: contents; }
  .activity-details .gallery-item img { max-height: clamp(135px, 44vw, 230px); }
  .rest-room-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rest-room-detail { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 80px) 1fr; gap: 12px; align-items: center; }
  .gallery.plans { gap: 12px; }
  .gallery.panoramas { grid-template-columns: 1fr; }
  .gallery.elevations { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
