@import url("https://fonts.googleapis.com/css2?family=Anaheim&family=Quattrocento+Sans:wght@400;600;700&family=Oswald:wght@400;500;600;700&display=swap");

:root {
    color-scheme: dark;
    --ink: #171b1a;
    --surface: #202624;
    --surface-raised: #282f2d;
    --line: rgba(237, 238, 229, .16);
    --paper: #f3f0e7;
    --muted: #b4bbb4;
    --gold: #d9953b;
    --red: #bc5548;
    --content: 1220px;
    --font-body: "Anaheim", sans-serif;
    --font-heading: "Quattrocento Sans", sans-serif;
    --font-accent: "Oswald", sans-serif;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body, button, a { font-family: var(--font-body); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; }

.skip-link {
    position: absolute;
    z-index: 20;
    top: 10px;
    left: 10px;
    padding: 10px 14px;
    transform: translateY(-160%);
    background: var(--gold);
    color: var(--ink);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 50%;
    display: flex;
    width: min(calc(100% - 72px), var(--content));
    height: 94px;
    align-items: center;
    justify-content: space-between;
    transform: translateX(-50%);
    border-bottom: 1px solid rgba(255, 255, 255, .3);
}

.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 140px; height: auto; }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a,
.header-cta {
    font-size: 13px;
    font-weight: 650;
}

.main-nav a { color: rgba(255, 255, 255, .82); transition: color .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--gold); }

.header-cta {
    padding: 11px 0 11px 18px;
    border-left: 1px solid rgba(255, 255, 255, .34);
}

.header-cta span { margin-left: 7px; color: var(--gold); }
.menu-toggle { display: none; }

.hero {
    position: relative;
    display: flex;
    min-height: 690px;
    height: min(86svh, 860px);
    align-items: flex-end;
    overflow: hidden;
    isolation: isolate;
    background: #181b1a;
}

.hero-photo,
.hero::after {
    position: absolute;
    z-index: -1;
    inset: 0;
}

.hero-photo {
    background: url("images/slider/welcome2.jpg") center 46% / cover no-repeat;
    animation: hero-reveal 1.2s ease-out both;
}

.hero::after {
    content: "";
    background: rgba(13, 17, 16, .59);
}

.hero-content {
    width: min(var(--content), calc(100% - 72px));
    margin: 0 auto;
    padding: 170px 0 76px;
    animation: content-rise .8s .12s ease-out both;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 20px;
    color: var(--gold);
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.eyebrow-mark {
    display: inline-block;
    width: 19px;
    height: 2px;
    background: var(--red);
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-heading); }

.hero h1 {
    max-width: 880px;
    margin: 0;
    font-size: 76px;
    font-weight: 750;
    letter-spacing: 0;
    line-height: .99;
}

.hero h1 span {
    display: block;
    margin-top: 9px;
    color: var(--gold);
    font-size: 58px;
    font-weight: 500;
}

.hero-lead {
    max-width: 590px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .86);
    font-size: 19px;
    line-height: 1.55;
}

.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 29px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 25px; padding: 0 19px; font-size: 13px; font-weight: 750; }
.button-primary { background: var(--gold); color: var(--ink); transition: background .2s ease; }
.button-primary:hover, .button-primary:focus-visible { background: #f0b45d; }
.text-link { color: var(--paper); font-size: 13px; font-weight: 650; }
.text-link span { padding-left: 7px; color: var(--gold); }
.text-link:hover, .text-link:focus-visible { color: var(--gold); }
.hero-signoff { display: flex; align-items: center; gap: 9px; margin: 42px 0 0; color: rgba(255, 255, 255, .72); font-size: 12px; }
.hero-signoff span { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.hero-index { position: absolute; right: max(36px, calc((100vw - var(--content)) / 2)); bottom: 28px; color: rgba(255, 255, 255, .6); font-size: 10px; letter-spacing: 1px; }

.facts-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: min(var(--content), calc(100% - 72px));
    margin: 0 auto;
    padding: 27px 0;
    border-bottom: 1px solid var(--line);
}

.fact { display: flex; min-height: 48px; flex-direction: column; justify-content: center; padding: 0 26px; border-left: 1px solid var(--line); }
.fact:first-child { padding-left: 0; border-left: 0; }
.fact strong { color: var(--paper); font-size: 16px; font-weight: 700; }
.fact span { color: var(--muted); font-size: 11px; }

.section { padding: 112px max(36px, calc((100vw - var(--content)) / 2)); }
.services { background: var(--surface); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; margin-bottom: 52px; }
.section-heading .eyebrow { margin-bottom: 16px; }
.section h2, .contact h2 { margin: 0; font-size: 48px; font-weight: 700; line-height: 1.08; }
.section-intro { max-width: 390px; margin: 0 0 5px; color: var(--muted); font-size: 16px; }

.service-list { border-top: 1px solid var(--line); }
.service-row {
    display: grid;
    grid-template-columns: 70px minmax(250px, .95fr) minmax(280px, 1.1fr) 42px;
    min-height: 142px;
    align-items: center;
    gap: 22px;
    border-bottom: 1px solid var(--line);
}

.service-number { align-self: start; padding-top: 31px; color: var(--red); font-size: 13px; font-weight: 700; }
.service-name > span { color: var(--gold); font-size: 10px; font-weight: 750; letter-spacing: .8px; }
.service-name h3 { margin: 5px 0 0; font-size: 24px; font-weight: 650; }
.service-row > p { max-width: 470px; margin: 0; color: var(--muted); font-size: 14px; }
.service-row > a { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); color: var(--gold); font-size: 18px; transition: background .2s ease; }
.service-row > a:hover, .service-row > a:focus-visible { background: rgba(217, 149, 59, .15); }

.story { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 9%; background: var(--ink); }
.story-image { position: relative; min-height: 420px; }
.story-image img { width: 100%; height: 460px; object-fit: cover; }
.image-caption { position: absolute; right: 0; bottom: 0; padding: 13px 17px; background: var(--red); color: white; font-size: 10px; font-weight: 750; letter-spacing: .6px; }
.story-copy { max-width: 500px; padding: 35px 0; }
.story-copy .eyebrow { margin-bottom: 18px; }
.story-copy h2 { margin: 0 0 22px; font-size: 43px; line-height: 1.1; }
.story-copy h2 em, .contact h2 em { color: var(--gold); font-style: normal; }
.story-copy > p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 1.8; }
.story-copy .text-link { display: inline-block; margin-top: 14px; }

.projects { background: var(--surface); }
.projects .section-heading { margin-bottom: 40px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; }
.project-card { min-width: 0; }
.project-image { position: relative; overflow: hidden; aspect-ratio: 1.34; background: var(--surface-raised); }
.project-image::after { position: absolute; inset: 0; content: ""; border: 1px solid rgba(255, 255, 255, .08); pointer-events: none; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-card:hover .project-image img, .project-card:focus-visible .project-image img { transform: scale(1.035); }
.project-index { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 3px 7px; background: rgba(23, 27, 26, .82); color: var(--paper); font-size: 10px; }
.project-arrow { position: absolute; right: 12px; bottom: 12px; z-index: 1; display: grid; width: 36px; height: 36px; place-items: center; background: var(--gold); color: var(--ink); font-size: 18px; }
.project-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 14px 0 2px; }
.project-caption h3 { margin: 0; font-size: 15px; font-weight: 650; }
.project-caption span { flex: 0 0 auto; color: var(--muted); font-size: 9px; letter-spacing: .55px; }
.mobile-link { display: none; }

.quote-band { padding: 72px 36px 76px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #24201e; text-align: center; }
.quote-band .eyebrow { justify-content: center; margin-bottom: 19px; }
.quote-band .eyebrow-mark { background: var(--red); }
.quote-band blockquote { max-width: 850px; margin: 0 auto; color: var(--paper); font-family: var(--font-heading); font-size: 33px; line-height: 1.35; }
.quote-source { margin: 18px 0 0; color: var(--muted); font-size: 12px; }
.quote-source span { padding: 0 6px; color: var(--gold); }

.process { background: var(--ink); }
.process .section-heading { margin-bottom: 58px; }
.process-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.process-steps::before { position: absolute; top: 11px; right: 9%; left: 0; height: 1px; content: ""; background: var(--line); }
.process-steps li { position: relative; padding-top: 36px; }
.process-steps li::before { position: absolute; top: 7px; left: 0; width: 9px; height: 9px; border: 2px solid var(--gold); border-radius: 50%; content: ""; background: var(--ink); }
.process-steps li > span { color: var(--red); font-size: 11px; font-weight: 750; }
.process-steps h3 { margin: 10px 0 8px; font-size: 20px; }
.process-steps p { max-width: 230px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.contact { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr); align-items: start; gap: 8%; background: var(--surface-raised); }
.contact h2 { margin-bottom: 19px; font-size: 54px; }
.contact-copy > p:last-child { max-width: 480px; margin: 0; color: var(--muted); }
.contact-details { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact-details a { color: var(--paper); font-size: 14px; }
.contact-details a:hover, .contact-details a:focus-visible { color: var(--gold); }
.contact-details p { margin: 0; color: var(--muted); font-size: 12px; }
.contact-form { display: grid; width: 100%; gap: 8px; margin-top: 0; }
.contact-form label { margin-top: 5px; color: var(--paper); font-size: 11px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 42px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 0; background: #1a1f1d; color: var(--paper); font: inherit; font-size: 14px; }
.contact-form textarea { min-height: 105px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); outline: 1px solid var(--gold); }
.contact-form .g-recaptcha { max-width: 100%; margin: 8px 0; overflow: hidden; }
.contact-submit { display: inline-flex; min-height: 48px; align-items: center; justify-content: space-between; padding: 0 16px; border: 0; background: var(--gold); color: var(--ink); font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }
.contact-submit:disabled { opacity: .65; cursor: wait; }
.contact-feedback { min-height: 1.5em; margin: 0; color: var(--muted); font-size: 12px; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr 1.5fr auto; align-items: center; gap: 26px; padding: 28px max(36px, calc((100vw - var(--content)) / 2)); background: #111413; }
.site-footer .brand img { width: 118px; }
.site-footer > p { margin: 0; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 19px; }
.footer-links a, .copyright { color: var(--muted); font-size: 11px; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--gold); }
.cookie-settings-button { padding: 0; border: 0; background: transparent; color: var(--gold); font: inherit; font-size: 11px; cursor: pointer; }
.cookie-settings-button:hover, .cookie-settings-button:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.cookie-consent[hidden] { display: none; }
.cookie-consent { position: fixed; z-index: 1000000000; right: 0; bottom: 0; left: 0; padding: 22px 24px; border-top: 2px solid var(--gold); background: rgba(17, 20, 19, .98); box-shadow: 0 -16px 42px rgba(0, 0, 0, .3); }
.cookie-consent-inner { display: flex; width: min(var(--content), 100%); align-items: center; justify-content: space-between; gap: 32px; margin: 0 auto; }
.cookie-consent-copy { max-width: 760px; }
.cookie-consent-copy .eyebrow { margin: 0 0 6px; font-size: 10px; }
.cookie-consent h2 { margin: 0 0 7px; font-size: 21px; }
.cookie-consent-copy > p:last-child { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.cookie-consent-copy a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.cookie-consent-actions { display: flex; flex: 0 0 auto; gap: 9px; }
.cookie-consent-actions button { min-height: 44px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 2px; background: transparent; color: var(--paper); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.cookie-consent-actions .cookie-consent-accept { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.cookie-consent-actions button:hover, .cookie-consent-actions button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

@keyframes content-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-reveal { from { transform: scale(1.035); } to { transform: scale(1); } }

@media (max-width: 900px) {
    .site-header { width: calc(100% - 40px); height: 80px; }
    .main-nav { gap: 20px; }
    .header-cta { display: none; }
    .hero-content { width: calc(100% - 48px); }
    .section { padding-right: 24px; padding-left: 24px; }
    .facts-strip { width: calc(100% - 48px); }
    .fact { padding: 0 16px; }
    .service-row { grid-template-columns: 42px minmax(210px, .9fr) minmax(200px, 1.1fr) 38px; gap: 15px; }
    .story { gap: 6%; }
    .story-image img { height: 400px; }
    .site-footer { grid-template-columns: 1fr 1fr; padding-right: 24px; padding-left: 24px; }
    .copyright { justify-self: end; }
}

@media (max-width: 640px) {
    html { scroll-padding-top: 74px; }
    .site-header { width: calc(100% - 36px); height: 72px; }
    .brand img { width: 122px; }
    .menu-toggle { display: inline-flex; align-items: center; gap: 11px; padding: 9px 0 9px 12px; border: 0; background: transparent; color: var(--paper); font-size: 11px; font-weight: 700; text-transform: uppercase; }
    .menu-icon { display: flex; width: 20px; flex-direction: column; gap: 5px; }
    .menu-icon i { display: block; width: 20px; height: 1px; background: var(--gold); transition: transform .2s ease; }
    .menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(3px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-3px) rotate(-45deg); }
    .main-nav { position: absolute; top: 72px; right: -18px; left: -18px; display: none; align-items: stretch; gap: 0; padding: 8px 18px 17px; border-bottom: 1px solid var(--line); background: #171b1a; }
    .main-nav.is-open { display: flex; flex-direction: column; }
    .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
    .main-nav a:last-child { border-bottom: 0; }
    .hero { min-height: 690px; height: 82svh; }
    .hero-photo { background-position: 56% center; }
    .hero-content { width: calc(100% - 40px); padding: 132px 0 62px; }
    .hero .eyebrow { margin-bottom: 15px; font-size: 9px; letter-spacing: .7px; }
    .hero h1 { font-size: 48px; line-height: 1.02; }
    .hero h1 span { margin-top: 6px; font-size: 35px; line-height: 1.08; }
    .hero-lead { max-width: 380px; margin-top: 19px; font-size: 16px; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; margin-top: 24px; }
    .hero-signoff { margin-top: 29px; font-size: 11px; }
    .hero-index { right: 20px; bottom: 20px; }
    .facts-strip { grid-template-columns: repeat(2, 1fr); width: calc(100% - 40px); row-gap: 20px; padding: 24px 0; }
    .fact { min-height: 44px; padding: 0 12px; }
    .fact:nth-child(odd) { padding-left: 0; border-left: 0; }
    .fact strong { font-size: 14px; }
    .fact span { font-size: 10px; }
    .section { padding: 72px 20px; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 35px; }
    .section h2 { font-size: 37px; }
    .section-intro { max-width: 420px; font-size: 14px; }
    .service-row { grid-template-columns: 34px minmax(0, 1fr) 35px; gap: 12px; padding: 22px 0; }
    .service-number { padding-top: 4px; }
    .service-name h3 { font-size: 20px; }
    .service-name > span { font-size: 9px; }
    .service-row > p { grid-column: 2; grid-row: 2; font-size: 13px; }
    .service-row > a { grid-column: 3; grid-row: 1; width: 34px; height: 34px; }
    .story { grid-template-columns: 1fr; gap: 25px; padding: 0 0 68px; }
    .story-image { min-height: 0; }
    .story-image img { height: 280px; }
    .image-caption { font-size: 9px; }
    .story-copy { padding: 10px 20px 0; }
    .story-copy h2 { font-size: 36px; }
    .story-copy > p:not(.eyebrow) { font-size: 14px; }
    .projects .section-heading { gap: 0; }
    .desktop-link { display: none; }
    .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
    .project-image { aspect-ratio: 1 / 1; }
    .project-caption { align-items: flex-start; flex-direction: column; gap: 3px; padding-top: 10px; }
    .project-caption h3 { font-size: 13px; line-height: 1.3; }
    .project-caption span { font-size: 8px; }
    .mobile-link { display: inline-block; margin-top: 30px; }
    .quote-band { padding: 56px 20px 60px; }
    .quote-band blockquote { font-size: 24px; }
    .process .section-heading { gap: 15px; margin-bottom: 35px; }
    .process-steps { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
    .process-steps::before { top: 10px; right: 0; }
    .process-steps h3 { font-size: 18px; }
    .process-steps p { font-size: 12px; }
    .contact { grid-template-columns: 1fr; gap: 30px; padding-top: 66px; padding-bottom: 68px; }
    .contact h2 { font-size: 43px; }
    .contact-links { gap: 15px; }
    .site-footer { grid-template-columns: 1fr 1fr; gap: 20px 12px; padding: 25px 20px; }
    .site-footer .brand img { width: 110px; }
    .footer-links { grid-column: 1 / -1; gap: 15px; }
    .copyright { justify-self: end; font-size: 10px; }
    .cookie-consent { padding: 18px 16px; }
    .cookie-consent-inner { align-items: stretch; flex-direction: column; gap: 14px; }
    .cookie-consent-actions { width: 100%; }
    .cookie-consent-actions button { flex: 1 1 50%; padding: 10px; font-size: 11px; }
}

@media (max-width: 360px) {
    .hero h1 { font-size: 43px; }
    .hero h1 span { font-size: 32px; }
    .project-grid { gap: 20px 9px; }
    .project-caption h3 { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.subpage { min-height: 100vh; background: var(--ink); }

.subpage-heading {
    width: min(var(--content), calc(100% - 72px));
    margin: 0 auto;
    padding: 168px 0 48px;
    border-bottom: 1px solid var(--line);
}

.subpage-heading .eyebrow { margin-bottom: 14px; }
.subpage-heading h1 { max-width: 900px; margin: 0; font-size: 54px; line-height: 1.08; }
.subpage-lead { max-width: 620px; margin: 16px 0 0; color: var(--muted); font-size: 16px; }

.gallery-content {
    width: min(var(--content), calc(100% - 72px));
    margin: 0 auto;
    padding: 36px 0 100px;
}

.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.gallery-filter { min-height: 40px; padding: 8px 15px; border: 1px solid var(--line); border-radius: 2px; background: transparent; color: var(--paper); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.gallery-filter:hover, .gallery-filter:focus-visible { border-color: var(--gold); }
.gallery-filter.is-active { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.gallery-back { display: inline-block; margin-bottom: 24px; }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 18px; }
.archive-card[hidden] { display: none; }
.archive-photo { position: relative; display: block; width: 100%; overflow: hidden; padding: 0; aspect-ratio: 1.32; border: 0; background: var(--surface-raised); text-align: left; cursor: zoom-in; }
.archive-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.archive-photo:hover img, .archive-photo:focus-visible img { transform: scale(1.04); }
.archive-photo-index, .archive-photo-open { position: absolute; display: grid; place-items: center; background: rgba(23, 27, 26, .86); color: var(--paper); }
.archive-photo-index { top: 10px; left: 10px; min-width: 29px; height: 24px; font-size: 10px; }
.archive-photo-open { right: 10px; bottom: 10px; width: 36px; height: 36px; background: var(--gold); color: var(--ink); font-size: 18px; }
.archive-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0 0; }
.archive-caption h2 { margin: 0; font-size: 15px; line-height: 1.35; }
.archive-caption h2 a:hover, .archive-caption h2 a:focus-visible { color: var(--gold); }
.archive-year { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.archive-detail-link { color: var(--gold); font-size: 18px; }
.gallery-empty { padding: 35px 0; color: var(--muted); }

.photo-dialog { position: relative; width: min(1000px, calc(100% - 32px)); max-width: none; max-height: calc(100% - 32px); padding: 48px 20px 18px; border: 1px solid var(--line); background: #141817; color: var(--paper); }
.photo-dialog::backdrop { background: rgba(0, 0, 0, .85); }
.photo-dialog img { display: block; max-width: 100%; max-height: calc(100vh - 130px); margin: 0 auto; object-fit: contain; }
.photo-dialog p { margin: 12px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.photo-dialog-close { position: absolute; top: 10px; right: 10px; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); background: transparent; color: var(--paper); cursor: pointer; }
.photo-dialog-close:hover, .photo-dialog-close:focus-visible { border-color: var(--gold); color: var(--gold); }

.legal-page .subpage-heading { padding-bottom: 34px; }
.legal-page .subpage-heading h1 { font-size: 48px; }
.legal-content { width: min(850px, calc(100% - 72px)); margin: 0 auto; padding: 45px 0 100px; color: var(--muted); }
.legal-content h2 { margin: 37px 0 12px; color: var(--paper); font-size: 24px; line-height: 1.25; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin: 27px 0 10px; color: #e3ded1; font-size: 18px; line-height: 1.35; }
.legal-content p, .legal-content li { color: var(--muted); font-size: 14px; line-height: 1.85; }
.legal-content ul { padding-left: 21px; }
.legal-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-content a:hover, .legal-content a:focus-visible { color: #f0b45d; }

@media (max-width: 900px) {
    .subpage-heading, .gallery-content { width: calc(100% - 48px); }
    .legal-content { width: calc(100% - 48px); }
}

@media (max-width: 640px) {
    .subpage-heading { width: calc(100% - 40px); padding: 132px 0 32px; }
    .subpage-heading h1 { font-size: 38px; }
    .subpage-lead { margin-top: 11px; font-size: 14px; }
    .gallery-content { width: calc(100% - 40px); padding: 24px 0 66px; }
    .gallery-filters { gap: 6px; margin-bottom: 22px; }
    .gallery-filter { min-height: 36px; padding: 7px 10px; font-size: 11px; }
    .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 11px; }
    .archive-photo { aspect-ratio: 1 / 1; }
    .archive-caption { align-items: flex-start; }
    .archive-caption h2 { font-size: 12px; }
    .archive-detail-link { font-size: 16px; }
    .archive-photo-index { top: 7px; left: 7px; }
    .archive-photo-open { right: 7px; bottom: 7px; width: 30px; height: 30px; }
    .legal-page .subpage-heading { width: calc(100% - 40px); padding-bottom: 28px; }
    .legal-page .subpage-heading h1 { font-size: 32px; }
    .legal-content { width: calc(100% - 40px); padding: 31px 0 68px; }
    .legal-content h2 { margin-top: 30px; font-size: 21px; }
    .legal-content h3 { margin-top: 22px; font-size: 16px; }
    .legal-content p, .legal-content li { font-size: 13px; }
}