:root {
  --ink: #091a29;
  --navy: #081b2c;
  --navy-soft: #12334c;
  --paper: #f3efe5;
  --paper-deep: #e8e0d0;
  --gold: #d4a940;
  --red: #b54237;
  --green: #477d70;
  --blue: #3177a7;
  --white: #fffdf7;
  --muted: #68737d;
  --line: rgba(9, 26, 41, 0.14);
  --shadow: 0 24px 70px rgba(8, 27, 44, 0.14);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
}
button, input, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; }

.masthead {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(24px, 5vw, 78px);
  color: var(--white);
}
.brand { display: inline-flex; gap: 13px; align-items: center; text-decoration: none; font-weight: 700; letter-spacing: .01em; }
.brand-mark { position: relative; width: 33px; height: 25px; display: inline-block; }
.brand-mark i { position: absolute; width: 17px; height: 17px; border: 2px solid var(--gold); border-radius: 50%; top: 0; }
.brand-mark i:nth-child(1) { left: 0; }
.brand-mark i:nth-child(2) { left: 8px; top: 7px; border-color: var(--red); }
.brand-mark i:nth-child(3) { right: 0; border-color: var(--blue); }
.header-nav { display: flex; align-items: center; gap: 26px; }
.header-nav a { font-size: .82rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 4px; }
.header-nav a:hover, .header-nav a:focus-visible { border-color: rgba(255,255,255,.75); }

.hero {
  min-height: 770px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
  align-items: center;
  gap: 7vw;
  padding: 140px clamp(24px, 6vw, 100px) 110px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 69% 23%, rgba(49,119,167,.31), transparent 29%),
    radial-gradient(circle at 93% 72%, rgba(212,169,64,.16), transparent 24%),
    linear-gradient(140deg, #061624 0%, #081b2c 52%, #0c263b 100%);
}
.hero-copy { position: relative; z-index: 2; max-width: 800px; }
.eyebrow { margin: 0 0 18px; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.hero h1, .story-copy h2, .criteria-intro h2, .section-heading h2, .gallery-heading h2, .contact-copy h2, .dialog-copy h2 {
  margin: 0;
  font-family: "Libre Caslon Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.03em;
}
.hero h1 { font-size: clamp(4rem, 7.4vw, 7.5rem); line-height: .89; }
.hero h1 em { color: var(--gold); font-weight: 400; }
.hero-intro { max-width: 650px; margin: 27px 0 23px; font-size: clamp(1.02rem, 1.35vw, 1.24rem); line-height: 1.7; color: rgba(255,255,255,.77); }
.hero-search { max-width: 650px; margin: 0 0 24px; }
.hero-search > label { display: block; margin: 0 0 9px; color: var(--gold); font-size: .73rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.hero-search-row { min-height: 58px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; background: rgba(255,253,247,.98); box-shadow: 0 15px 40px rgba(0,0,0,.2); }
.hero-search-icon { padding: 0 4px 0 18px; color: var(--navy); font-size: 1.6rem; transform: rotate(-15deg); }
.hero-search input { min-width: 0; width: 100%; padding: 16px 13px; border: 0; outline: 0; color: var(--ink); background: transparent; }
.hero-search input::placeholder { color: #6d777d; }
.hero-search input:focus-visible { box-shadow: inset 0 0 0 2px var(--gold); }
.hero-search button { align-self: stretch; display: inline-flex; align-items: center; gap: 20px; padding: 0 20px; border: 0; cursor: pointer; color: var(--navy); background: var(--gold); font-weight: 700; transition: filter .2s ease, background .2s ease; }
.hero-search button:hover, .hero-search button:focus-visible { background: #e2bd5c; filter: brightness(1.04); }
.hero-search > p { margin: 8px 0 0; color: rgba(255,255,255,.56); font-size: .78rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; }
.primary-action { display: inline-flex; gap: 25px; align-items: center; padding: 15px 20px 15px 22px; border: 1px solid rgba(255,255,255,.25); text-decoration: none; font-weight: 700; transition: .2s ease; }
.primary-action:hover, .primary-action:focus-visible { color: var(--navy); background: var(--gold); border-color: var(--gold); }
.secondary-action { font-size: .9rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 5px; color: rgba(255,255,255,.75); }
.secondary-action:hover, .secondary-action:focus-visible { color: white; }

.hero-display { position: relative; min-height: 520px; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; }
.orbit-one { inset: 3% 3% 5% 4%; transform: rotate(-12deg); }
.orbit-two { inset: 12% -4% -2% 12%; transform: rotate(25deg); }
.featured { position: absolute; margin: 0; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; overflow: hidden; background: #e8e3d9; border: 9px solid rgba(255,255,255,.92); box-shadow: var(--shadow); }
.featured img { width: 100%; height: 100%; object-fit: cover; }
.featured-one { width: min(53%, 300px); left: 6%; top: 17%; transform: rotate(-7deg); }
.featured-two { width: min(43%, 238px); right: 3%; top: 3%; transform: rotate(9deg); }
.featured-three { width: min(39%, 210px); right: 17%; bottom: 5%; transform: rotate(-3deg); }
.hero-caption { position: absolute; left: 0; bottom: 4%; font-family: "Libre Caslon Display", serif; color: rgba(255,255,255,.66); font-size: 1.08rem; line-height: 1.35; }

.collection-nav {
  width: min(1180px, calc(100% - 48px));
  margin: -44px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  z-index: 3;
  box-shadow: 0 16px 45px rgba(8,27,44,.13);
}
.collection-card {
  min-height: 146px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.22);
  padding: 27px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  text-align: left;
  cursor: pointer;
  color: white;
  background: var(--navy-soft);
  transition: transform .2s ease, filter .2s ease;
}
.collection-card:nth-child(2) { background: var(--green); }
.collection-card:nth-child(3) { background: var(--red); border-right: 0; }
.collection-card:hover, .collection-card:focus-visible { transform: translateY(-5px); filter: brightness(1.07); z-index: 2; }
.collection-card.is-active { box-shadow: inset 0 -5px 0 var(--gold); }
.card-number { font-family: "Libre Caslon Display", Georgia, serif; font-size: 2.6rem; color: var(--gold); }
.collection-card:nth-child(2) .card-number, .collection-card:nth-child(3) .card-number { color: white; }
.card-copy { display: grid; gap: 4px; }
.card-copy strong { font-size: 1.02rem; }
.card-copy small { color: rgba(255,255,255,.67); }
.card-arrow { font-size: 1.3rem; }

.story-section {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 145px 0 130px;
  display: grid;
  grid-template-columns: minmax(310px, .78fr) minmax(500px, 1.22fr);
  gap: 70px 8vw;
  align-items: center;
}
.story-copy h2 { font-size: clamp(3.2rem, 5.6vw, 5.7rem); line-height: .98; }
.story-copy > p:not(.eyebrow) { max-width: 610px; color: #495863; line-height: 1.72; }
.story-copy .story-lede { margin-top: 30px; font-size: 1.1rem; color: var(--ink); }
.story-collage { position: relative; min-height: 650px; background: linear-gradient(145deg, #ded5c2, #eee8da); overflow: hidden; }
.story-collage::before { content: ""; position: absolute; width: 560px; height: 560px; border: 1px solid rgba(9,26,41,.12); border-radius: 50%; right: -120px; top: 50px; }
.story-collage::after { content: ""; position: absolute; width: 400px; height: 400px; border: 1px solid rgba(181,66,55,.23); border-radius: 50%; right: -40px; top: 130px; }
.story-pin { position: absolute; z-index: 1; margin: 0; display: grid; place-items: center; aspect-ratio: 1; padding: 5%; background: rgba(255,253,247,.94); box-shadow: 0 18px 45px rgba(8,27,44,.14); }
.story-pin img { width: 100%; height: 100%; object-fit: contain; }
.story-pin-a { width: 34%; left: 6%; top: 7%; transform: rotate(-5deg); }
.story-pin-b { width: 32%; right: 9%; top: 7%; transform: rotate(4deg); }
.story-pin-c { width: 38%; left: 29%; top: 31%; z-index: 2; transform: rotate(2deg); }
.story-pin-d { width: 29%; left: 7%; bottom: 7%; transform: rotate(5deg); }
.story-pin-e { width: 31%; right: 7%; bottom: 8%; transform: rotate(-6deg); }
.collage-note { position: absolute; z-index: 3; right: 4%; top: 42%; color: var(--red); font-family: "Libre Caslon Display", serif; font-size: clamp(1.1rem, 2vw, 1.65rem); line-height: 1.15; transform: rotate(90deg) translateX(100%); transform-origin: right top; }
.story-notes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.story-notes article { padding: 32px 34px 35px; background: rgba(255,253,247,.48); }
.story-notes span { color: var(--red); font-size: .72rem; font-weight: 700; letter-spacing: .16em; }
.story-notes h3 { margin: 18px 0 10px; font-family: "Libre Caslon Display", serif; font-size: 1.75rem; font-weight: 400; }
.story-notes p { margin: 0; color: var(--muted); line-height: 1.6; }

.criteria-section { padding: 125px max(24px, calc((100% - 1280px) / 2)); background: var(--paper-deep); }
.criteria-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(330px, .7fr); align-items: end; gap: 70px; }
.criteria-intro h2 { font-size: clamp(3.3rem, 6vw, 6.25rem); line-height: .93; }
.criteria-intro h2 em { color: var(--red); font-weight: 400; }
.criteria-intro > p:last-child { max-width: 530px; margin: 0 0 7px; color: #44515a; font-size: 1.06rem; line-height: 1.75; }
.criteria-equation { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 18px; margin-top: 65px; }
.criteria-equation article { position: relative; min-height: 360px; padding: 35px 32px 38px; overflow: hidden; border: 1px solid rgba(9,26,41,.12); background: rgba(255,253,247,.66); }
.criteria-equation article::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 190px; height: 190px; border: 1px solid rgba(49,119,167,.2); border-radius: 50%; }
.criteria-equation .criteria-match { color: white; border-color: var(--navy); background: var(--navy); }
.criteria-equation .criteria-match::after { border-color: rgba(212,169,64,.4); }
.criteria-letter { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--red); border-radius: 50%; color: var(--red); font-family: "Libre Caslon Display", serif; font-size: 1.35rem; }
.criteria-match .criteria-letter { border-color: var(--gold); color: var(--gold); }
.criteria-label, .criteria-kicker { margin: 26px 0 0; color: var(--red); font-size: .69rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.criteria-match .criteria-label { color: var(--gold); }
.criteria-equation h3, .boundary-card h3 { margin: 11px 0 16px; font-family: "Libre Caslon Display", serif; font-size: 2rem; font-weight: 400; }
.criteria-equation article > p:last-child { position: relative; z-index: 1; margin: 0; color: #56636b; line-height: 1.66; }
.criteria-equation .criteria-match > p:last-child { color: rgba(255,255,255,.67); }
.criteria-symbol { align-self: center; color: var(--red); font-family: "Libre Caslon Display", serif; font-size: 2.3rem; }
.criteria-details { display: grid; grid-template-columns: 1.12fr .88fr; gap: 24px; margin-top: 24px; }
.criteria-checklist { padding: 38px 42px 40px; background: var(--white); }
.criteria-checklist .criteria-kicker, .boundary-card .criteria-kicker { margin-top: 0; }
.criteria-checklist ol { margin: 24px 0 0; padding: 0; list-style: none; counter-reset: criteria-step; }
.criteria-checklist li { position: relative; counter-increment: criteria-step; padding: 18px 0 18px 54px; border-top: 1px solid var(--line); color: #4b5963; line-height: 1.62; }
.criteria-checklist li::before { content: counter(criteria-step, decimal-leading-zero); position: absolute; left: 0; top: 20px; color: var(--red); font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.criteria-checklist li:last-child { padding-bottom: 0; }
.criteria-checklist strong { color: var(--ink); }
.criteria-boundaries { display: grid; gap: 24px; }
.boundary-card { padding: 34px 36px; border: 1px solid var(--line); background: rgba(255,253,247,.52); }
.boundary-card h3 { font-size: 1.75rem; }
.boundary-card > p:last-child { margin: 0; color: #56636b; line-height: 1.62; }
.boundary-no { border-left: 5px solid var(--red); }
.boundary-exception { border-left: 5px solid var(--gold); }
.boundary-exception .criteria-kicker { color: #8c6a13; }

.montage-section { padding: 125px max(24px, calc((100% - 1280px) / 2)); color: var(--white); background: var(--navy); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; padding-bottom: 45px; border-bottom: 1px solid rgba(255,255,255,.17); }
.section-heading h2 { font-size: clamp(3.2rem, 5.8vw, 5.8rem); line-height: .95; }
.section-heading > p { max-width: 485px; margin: 0; color: rgba(255,255,255,.64); line-height: 1.7; }
.montage-grid { display: grid; grid-template-columns: 1.18fr .91fr .91fr; gap: 24px; padding-top: 50px; align-items: start; }
.montage-card { min-width: 0; }
.montage-preview { display: block; overflow: hidden; background: #102f46; }
.montage-preview img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.montage-preview:hover img, .montage-preview:focus-visible img { transform: scale(1.02); filter: brightness(1.07); }
.montage-meta { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 20px 2px 0; }
.montage-count { color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.montage-meta h3 { margin: 7px 0 0; font-family: "Libre Caslon Display", serif; font-size: 1.85rem; font-weight: 400; }
.montage-meta > a { flex: none; color: rgba(255,255,255,.78); font-size: .78rem; font-weight: 700; text-underline-offset: 5px; }
.montage-meta > a:hover, .montage-meta > a:focus-visible { color: white; }
.refresh-note { margin-top: 62px; padding: 25px 28px; display: flex; align-items: center; gap: 22px; border: 1px solid rgba(255,255,255,.17); background: rgba(255,255,255,.045); }
.refresh-note > span { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 1.55rem; }
.refresh-note strong { color: white; }
.refresh-note p { margin: 4px 0 0; color: rgba(255,255,255,.62); font-size: .9rem; }

.gallery-section { width: min(1280px, calc(100% - 48px)); margin: 0 auto; padding: 125px 0 120px; }
.gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.gallery-heading h2 { font-size: clamp(3.2rem, 6vw, 5.4rem); line-height: .95; }
.gallery-heading > p { max-width: 450px; margin: 0; color: var(--muted); line-height: 1.65; }
.trade-invite { margin: 32px 0 0; padding: 24px 27px; display: flex; justify-content: space-between; align-items: center; gap: 30px; color: white; background: var(--red); }
.trade-invite > div { display: flex; align-items: center; gap: 18px; }
.trade-invite > div > span { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.62); border-radius: 50%; font-size: 1.35rem; }
.trade-invite p { margin: 0; color: rgba(255,255,255,.76); font-size: .9rem; line-height: 1.55; }
.trade-invite strong { color: white; font-size: 1rem; }
.trade-invite > a { flex: none; display: inline-flex; gap: 18px; align-items: center; padding: 13px 17px; border: 1px solid rgba(255,255,255,.5); color: white; text-decoration: none; font-weight: 700; }
.trade-invite > a:hover, .trade-invite > a:focus-visible { color: var(--red); background: white; border-color: white; }
.toolbar { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 34px 0 18px; }
.search-control { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--ink); }
.search-icon { font-size: 1.55rem; transform: rotate(-15deg); }
.search-control input { width: 100%; padding: 13px 0; border: 0; outline: 0; background: transparent; font-size: 1rem; color: var(--ink); }
.search-control input::placeholder { color: #7c8589; }
.sort-control { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: .88rem; }
.sort-control select { border: 1px solid var(--line); background: rgba(255,255,255,.45); padding: 11px 36px 11px 13px; color: var(--ink); }
.result-line { min-height: 35px; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .88rem; }
.text-button { border: 0; border-bottom: 1px solid currentColor; padding: 2px 0; background: none; cursor: pointer; color: var(--ink); }
.pin-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 38px 24px; }
.pin-card { min-width: 0; }
.pin-open { width: 100%; border: 0; padding: 0; text-align: left; cursor: pointer; background: transparent; }
.pin-image-wrap { position: relative; display: grid; place-items: center; aspect-ratio: 1; padding: 11%; overflow: hidden; background: rgba(255,255,255,.52); }
.pin-image-wrap::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(9,26,41,.08); pointer-events: none; }
.pin-image { width: 100%; height: 100%; object-fit: contain; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.pin-open:hover .pin-image, .pin-open:focus-visible .pin-image { transform: scale(1.055); }
.pin-meta { display: grid; gap: 8px; padding-top: 15px; }
.pin-id { color: var(--red); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.pin-description { line-height: 1.45; font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.load-more { display: block; margin: 55px auto 0; padding: 14px 26px; border: 1px solid var(--ink); background: transparent; cursor: pointer; font-weight: 700; }
.load-more:hover { color: white; background: var(--ink); }
.empty-state { text-align: center; padding: 90px 20px; color: var(--muted); }
.empty-state span { font-size: 3rem; color: var(--gold); }
.empty-state h3 { margin: 12px 0 8px; color: var(--ink); font-family: "Libre Caslon Display", serif; font-size: 2rem; font-weight: 400; }
.empty-state p { margin: 0; }

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(540px, 1.18fr);
  gap: clamp(55px, 8vw, 120px);
  padding: 125px max(24px, calc((100% - 1280px) / 2));
  color: var(--white);
  background:
    radial-gradient(circle at 8% 92%, rgba(212,169,64,.16), transparent 29%),
    radial-gradient(circle at 91% 9%, rgba(49,119,167,.22), transparent 25%),
    var(--navy);
}
.contact-copy { align-self: center; }
.contact-copy h2 { font-size: clamp(3.2rem, 5.5vw, 5.7rem); line-height: .94; }
.contact-copy h2 em { color: var(--gold); font-weight: 400; }
.contact-copy > p:not(.eyebrow):not(.contact-privacy) { max-width: 610px; margin: 30px 0; color: rgba(255,255,255,.7); line-height: 1.72; }
.contact-direct { margin-top: 42px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.18); }
.contact-direct span { display: block; margin-bottom: 8px; color: rgba(255,255,255,.5); font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.contact-direct a { color: white; font-family: "Libre Caslon Display", serif; font-size: clamp(1.5rem, 2.6vw, 2.25rem); text-underline-offset: 7px; }
.contact-privacy { max-width: 550px; margin: 25px 0 0; color: rgba(255,255,255,.48); font-size: .82rem; line-height: 1.58; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; padding: clamp(30px, 4vw, 52px); color: var(--ink); background: var(--paper); box-shadow: 0 28px 80px rgba(0,0,0,.24); }
.contact-field { display: grid; gap: 8px; }
.contact-field-wide { grid-column: 1 / -1; }
.contact-field label { font-size: .77rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-field label span { color: var(--muted); font-size: .68rem; font-weight: 500; }
.contact-field input, .contact-field select, .contact-field textarea { width: 100%; border: 1px solid rgba(9,26,41,.22); border-radius: 0; padding: 13px 14px; color: var(--ink); background: rgba(255,255,255,.72); outline: 0; }
.contact-field textarea { min-height: 145px; resize: vertical; line-height: 1.55; }
.contact-field input:focus-visible, .contact-field select:focus-visible, .contact-field textarea:focus-visible { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(212,169,64,.28); }
.contact-submit { grid-column: 1 / -1; min-height: 54px; display: inline-flex; justify-content: space-between; align-items: center; gap: 30px; border: 0; padding: 0 20px; cursor: pointer; color: var(--navy); background: var(--gold); font-weight: 700; }
.contact-submit:hover, .contact-submit:focus-visible { background: #e2bd5c; }
.contact-status { grid-column: 1 / -1; min-height: 21px; margin: -10px 0 0; color: var(--green); font-size: .82rem; }

footer { display: flex; justify-content: space-between; gap: 30px; padding: 60px clamp(24px, 6vw, 100px); color: rgba(255,255,255,.62); background: #061521; font-size: .9rem; }
footer p { margin: 4px 0; }
.footer-title { color: white; font-family: "Libre Caslon Display", serif; font-size: 1.5rem; }

dialog { width: min(1040px, calc(100% - 30px)); max-height: 92vh; border: 0; padding: 0; color: var(--ink); background: var(--paper); box-shadow: 0 30px 100px rgba(0,0,0,.38); }
dialog::backdrop { background: rgba(2,13,22,.78); backdrop-filter: blur(5px); }
dialog[open] { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, .7fr); }
.dialog-close { position: absolute; z-index: 2; right: 15px; top: 12px; width: 43px; height: 43px; border: 0; border-radius: 50%; cursor: pointer; color: white; background: var(--navy); font-size: 1.6rem; line-height: 1; }
.dialog-image-wrap { min-height: 580px; display: grid; place-items: center; padding: 6%; background: white; }
.dialog-image-wrap img { width: 100%; height: 100%; max-height: 660px; object-fit: contain; }
.dialog-copy { align-self: center; padding: 60px 46px; }
.dialog-category { color: var(--red); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.dialog-copy h2 { margin-top: 14px; font-size: 4.2rem; }
.dialog-copy p { line-height: 1.65; color: #3e4a53; }
.dialog-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.pin-inquiry, .copy-link { padding: 13px 16px; cursor: pointer; font-weight: 700; }
.pin-inquiry { border: 1px solid var(--gold); color: var(--navy); background: var(--gold); }
.pin-inquiry:hover, .pin-inquiry:focus-visible { background: #e2bd5c; }
.copy-link { border: 1px solid var(--ink); background: transparent; }
.copy-link:hover { color: white; background: var(--ink); }
.copy-status { display: block; min-height: 20px; margin-top: 10px; color: var(--green); font-size: .84rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-bottom: 140px; }
  .hero-display { min-height: 460px; max-width: 650px; width: 100%; margin: 0 auto; }
  .story-section { grid-template-columns: 1fr; }
  .story-copy { max-width: 850px; }
  .story-collage { min-height: 720px; }
  .criteria-intro { grid-template-columns: 1fr; align-items: start; gap: 30px; }
  .criteria-intro > p:last-child { margin: 0; }
  .criteria-equation { grid-template-columns: 1fr; }
  .criteria-equation article { min-height: auto; }
  .criteria-symbol { justify-self: center; line-height: .6; }
  .criteria-details { grid-template-columns: 1fr; }
  .montage-grid { grid-template-columns: repeat(2, 1fr); }
  .montage-card:first-child { grid-column: 1 / -1; width: calc(50% - 12px); }
  .pin-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-section { grid-template-columns: 1fr; }
  .contact-copy { max-width: 850px; }
}

@media (max-width: 760px) {
  .masthead { padding: 21px 20px; }
  .brand { font-size: .86rem; }
  .header-nav a:not(:last-child) { display: none; }
  .header-nav { gap: 0; }
  .hero { padding: 124px 22px 125px; gap: 35px; }
  .hero h1 { font-size: clamp(3.65rem, 17vw, 5.6rem); }
  .hero-search-row { min-height: 55px; }
  .hero-search button { padding: 0 16px; gap: 10px; }
  .hero-display { min-height: 340px; }
  .hero-caption { display: none; }
  .collection-nav { width: calc(100% - 28px); grid-template-columns: 1fr; margin-top: -70px; }
  .collection-card { min-height: 105px; }
  .story-section, .gallery-section { width: calc(100% - 36px); }
  .story-section { padding: 95px 0; gap: 45px; }
  .story-collage { min-height: 500px; }
  .story-notes { grid-template-columns: 1fr; }
  .criteria-section { padding-top: 90px; padding-bottom: 90px; }
  .criteria-intro h2 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .criteria-equation { margin-top: 45px; }
  .criteria-checklist, .boundary-card { padding: 30px 26px; }
  .montage-section { padding-top: 90px; padding-bottom: 90px; }
  .section-heading, .gallery-heading { display: block; }
  .section-heading > p, .gallery-heading > p { margin-top: 22px; }
  .trade-invite { display: block; }
  .trade-invite > a { margin-top: 20px; }
  .montage-grid { grid-template-columns: 1fr; }
  .montage-card:first-child { grid-column: auto; width: auto; }
  .montage-meta { align-items: start; }
  .refresh-note { align-items: flex-start; }
  .refresh-note > span { flex: none; }
  .gallery-section { padding-top: 90px; }
  .toolbar { grid-template-columns: 1fr; }
  .sort-control { justify-content: space-between; }
  .pin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .pin-description { font-size: .84rem; }
  .contact-section { padding-top: 90px; padding-bottom: 90px; gap: 45px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-field-wide { grid-column: auto; }
  .contact-submit, .contact-status { grid-column: auto; }
  footer { display: block; }
  footer > p { margin-top: 24px; }
  dialog[open] { grid-template-columns: 1fr; overflow-y: auto; }
  .dialog-image-wrap { min-height: 320px; }
  .dialog-copy { padding: 36px 25px 45px; }
  .dialog-copy h2 { font-size: 3rem; }
}

@media (max-width: 460px) {
  .brand span:last-child { max-width: 190px; line-height: 1.15; }
  .header-nav { display: none; }
  .hero h1 { font-size: 3.6rem; }
  .hero-search-row { grid-template-columns: auto minmax(0, 1fr); }
  .hero-search button { grid-column: 1 / -1; min-height: 50px; justify-content: center; }
  .story-collage { min-height: 390px; }
  .collage-note { display: none; }
  .montage-meta { display: block; }
  .montage-meta > a { display: inline-block; margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
