:root {
  --night: #0b0e11;
  --deep-water: #151a1e;
  --ivory: #f3eee4;
  --paper: #e7e1d7;
  --amber: #ddb365;
  --muted-dark: rgba(243, 238, 228, 0.64);
  --muted-light: rgba(11, 14, 17, 0.62);
  --line-dark: rgba(243, 238, 228, 0.20);
  --line-light: rgba(11, 14, 17, 0.16);
  --glass: rgba(8, 11, 14, 0.68);
  --display: 'Instrument Serif', Georgia, serif;
  --label: 'Space Mono', monospace;
  --body: 'Manrope', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { min-height: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--night);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
}

a { color: inherit; }

button, input { font: inherit; }

.site-label,
.eyebrow,
.private-label,
.nav-access,
.section-label,
.status-label,
.placeholder-label {
  font-family: var(--label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Public cover */

.cover-body {
  overflow: hidden;
  background: var(--night);
  color: var(--ivory);
}

.cover-page {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  background: var(--cover-image) center center / cover no-repeat;
}

.cover-page::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 6, 9, 0.72) 0%, rgba(3, 6, 9, 0.24) 48%, rgba(3, 6, 9, 0.02) 78%),
    linear-gradient(180deg, rgba(3, 6, 9, 0.18) 0%, rgba(3, 6, 9, 0.02) 54%, rgba(3, 6, 9, 0.46) 100%);
}

.cover-lockup {
  position: absolute;
  left: clamp(30px, 7vw, 126px);
  top: clamp(62px, 12vh, 132px);
  width: min(720px, 74vw);
}

.site-label {
  margin: 0 0 clamp(16px, 2.2vh, 28px);
  color: var(--amber);
  font-size: clamp(11px, 1vw, 15px);
  letter-spacing: 0.24em;
}

.cover-title {
  margin: 0;
  max-width: 700px;
  font-family: var(--display);
  font-size: clamp(64px, 9.2vw, 156px);
  font-weight: 400;
  line-height: 0.76;
  letter-spacing: -0.045em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.28);
}

.cover-title span { display: block; }

.cover-title span:last-child {
  padding-left: 0.28em;
  font-style: italic;
}

.login-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: clamp(58px, 8vh, 102px);
  padding: 10px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  background: rgba(8, 11, 14, 0.42);
  color: var(--ivory);
  font-family: var(--label);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  transition: background 170ms ease, border-color 170ms ease;
}

.login-link:hover,
.login-link:focus-visible {
  outline: none;
  border-color: rgba(243, 238, 228, 0.48);
  background: rgba(243, 238, 228, 0.12);
}

.login-link svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--amber);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.bottom-index {
  position: fixed;
  z-index: 5;
  left: clamp(20px, 3.5vw, 66px);
  right: clamp(20px, 3.5vw, 66px);
  bottom: 26px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: var(--glass);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.index-link {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: 'number label' 'number access';
  gap: 2px 12px;
  align-items: center;
  min-height: 78px;
  padding: 13px 18px;
  border-right: 1px solid var(--line-dark);
  color: var(--ivory);
  text-align: left;
  text-decoration: none;
  transition: background 170ms ease;
}

.index-link:last-child { border-right: 0; }
.index-link:hover, .index-link:focus-visible { outline: none; background: rgba(243, 238, 228, 0.10); }

.index-number {
  grid-area: number;
  color: var(--amber);
  font-family: var(--display);
  font-size: 31px;
  font-style: italic;
  line-height: 1;
}

.index-label { grid-area: label; font-size: clamp(12px, 1vw, 15px); font-weight: 500; }
.nav-access { grid-area: access; color: var(--muted-dark); font-size: 9px; }
.mobile-nav { display: none; }

/* Protected interior */

.inner-body { background: var(--paper); }

.inner-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 70px;
  padding: 14px clamp(20px, 5vw, 76px);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(11, 14, 17, 0.95);
  color: var(--ivory);
  backdrop-filter: blur(14px);
}

.brand-link {
  color: var(--amber);
  font-family: var(--label);
  font-size: 15px;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.inner-nav { display: flex; gap: clamp(14px, 2.6vw, 32px); overflow-x: auto; scrollbar-width: none; }
.inner-nav::-webkit-scrollbar { display: none; }
.inner-nav a { color: rgba(243, 238, 228, 0.72); font: 12px var(--label); letter-spacing: 0.10em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.inner-nav a:hover, .inner-nav a[aria-current='page'] { color: var(--ivory); }

.hub-hero,
.page-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding: clamp(60px, 9vw, 116px) clamp(24px, 7vw, 120px);
  isolation: isolate;
  background: var(--hero-image) center / cover no-repeat;
  color: var(--ivory);
}

.hub-hero::before,
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(3, 6, 9, 0.18), rgba(3, 6, 9, 0.84));
}

.hero-copy { width: min(760px, 100%); }
.eyebrow { margin: 0 0 16px; color: var(--amber); font-size: 10px; }

.inner-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(64px, 8vw, 116px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.88;
}

.hero-intro { margin: 24px 0 0; max-width: 660px; color: var(--muted-dark); font-size: clamp(16px, 1.6vw, 20px); }

.content-section { padding: clamp(68px, 8vw, 116px) clamp(22px, 6vw, 96px); }
.content-section.ivory { background: var(--ivory); }
.content-section.dark { background: var(--night); color: var(--ivory); }
.content-inner { width: min(1160px, 100%); margin: 0 auto; }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
  margin-bottom: clamp(44px, 6vw, 78px);
}

.section-label { margin: 0 0 16px; color: #745a2c; font-size: 9px; }
.dark .section-label { color: var(--amber); }

.section-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(46px, 5.7vw, 76px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.section-intro { margin: 4px 0 0; color: var(--muted-light); font-size: clamp(16px, 1.5vw, 19px); }
.dark .section-intro { color: var(--muted-dark); }

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line-light);
  background: var(--line-light);
}

.hub-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background: var(--ivory);
  text-decoration: none;
  transition: background 170ms ease;
}

.hub-card:hover, .hub-card:focus-visible { outline: none; background: #ded7cc; }
.hub-card .index-number { display: block; margin-bottom: 38px; }
.hub-card h3 { margin: 0 0 10px; font: 400 36px/1 var(--display); }
.hub-card p { margin: 0; color: var(--muted-light); font-size: 13px; }

.hub-index-section { padding-top: clamp(52px, 6vw, 78px); padding-bottom: clamp(52px, 6vw, 78px); }
.hub-index-section .section-heading { margin-bottom: clamp(32px, 4vw, 50px); }
.hub-index-section .section-title { font-size: clamp(46px, 5vw, 66px); }
.hub-index-section .hub-card { min-height: 170px; justify-content: flex-start; padding: 24px 28px; }
.hub-index-section .hub-card .index-number { margin-bottom: 22px; }
.hub-index-section .hub-card h3 { font-size: 32px; }

.update-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(30px, 5vw, 58px);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.update-panel h3 { margin: 0 0 12px; font: 400 clamp(40px, 5vw, 64px)/0.96 var(--display); }
.update-panel p { margin: 0; max-width: 670px; color: var(--muted-dark); }
.status-label { display: inline-block; padding: 9px 12px; border: 1px solid var(--line-dark); color: var(--amber); font-size: 9px; white-space: nowrap; }

/* Photo album library, gallery, and holding pages */

.album-library-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: center;
  min-height: 650px;
  overflow: hidden;
  padding: clamp(96px, 12vw, 160px) clamp(30px, 7vw, 110px) clamp(74px, 9vw, 120px);
  background:
    radial-gradient(circle at 78% 44%, rgba(221, 179, 101, 0.11), transparent 30%),
    linear-gradient(145deg, #151a1e, #080b0e 72%);
  color: var(--ivory);
}

.album-library-hero::after {
  content: '';
  position: absolute;
  right: -14vw;
  bottom: -25vw;
  width: 66vw;
  height: 66vw;
  border: 1px solid rgba(243, 238, 228, 0.06);
  border-radius: 50%;
}

.album-library-hero-copy,
.album-library-preview { position: relative; z-index: 2; }
.album-library-hero .eyebrow { margin-bottom: 28px; font-size: clamp(20px, 1.6vw, 24px); }

.album-library-title {
  margin: 0;
  font: 400 clamp(72px, 9vw, 138px)/0.78 var(--display);
  letter-spacing: -0.045em;
}

.album-library-title em { display: inline-block; padding-left: 0.18em; color: var(--amber); font-weight: 400; }
.album-library-hero .hero-intro { max-width: 620px; margin-top: 34px; }
.album-library-preview { display: grid; place-items: center; min-height: 410px; }
.album-library-preview img { width: min(390px, 82%); height: auto; transform: rotate(4deg); filter: drop-shadow(0 34px 36px rgba(0, 0, 0, 0.38)); }

.album-library-section { padding-top: clamp(76px, 10vw, 136px); }
.album-library-heading .section-label { margin-bottom: 24px; font-size: clamp(20px, 1.6vw, 24px); }
.album-library-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3vw, 38px); }

.album-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.18fr);
  grid-column: span 2;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(11, 14, 17, 0.12);
  background: var(--night);
  color: var(--ivory);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.album-card:hover,
.album-card:focus-visible { outline: none; transform: translateY(-4px); box-shadow: 0 22px 42px rgba(11, 14, 17, 0.18); }
.album-card:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }

.album-card-image { display: grid; place-items: center; min-height: 470px; margin: 0; padding: clamp(28px, 5vw, 64px); background: var(--deep-water); }
.album-card-image img { display: block; width: min(100%, 360px); height: auto; transform: rotate(-3deg); filter: drop-shadow(0 24px 24px rgba(0, 0, 0, 0.32)); transition: transform 180ms ease; }
.album-card:hover .album-card-image img { transform: rotate(-1deg) scale(1.015); }

.album-card-copy { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(34px, 6vw, 78px); }
.album-card-label,
.album-card-meta { font-family: var(--label); letter-spacing: 0.12em; text-transform: uppercase; }
.album-card-label { margin: 0 0 28px; color: var(--amber); font-size: clamp(15px, 1.3vw, 18px); }
.album-card-copy h3 { margin: 0 0 28px; font: 400 clamp(56px, 7vw, 94px)/0.78 var(--display); letter-spacing: -0.04em; }
.album-card-copy h3 em { display: inline-block; padding-left: 0.14em; color: var(--amber); font-weight: 400; }
.album-card-copy > p:not(.album-card-label) { margin: 0; max-width: 500px; color: var(--muted-dark); font-size: clamp(16px, 1.4vw, 19px); }
.album-card-meta { display: inline-block; align-self: flex-start; margin-top: 34px; padding-top: 14px; border-top: 1px solid var(--line-dark); color: var(--ivory); font-size: 12px; }

/* Trips */

.trips-library-hero {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(74px, 10vw, 130px) clamp(26px, 7vw, 120px);
  background-color: var(--deep-water);
  background-position: center 58%;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--ivory);
}

.trips-library-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(3, 6, 9, 0.16), rgba(3, 6, 9, 0.88));
}

.trips-library-hero .eyebrow { margin-bottom: 24px; font-size: clamp(20px, 1.6vw, 24px); letter-spacing: 0.12em; }
.trips-library-hero .inner-title em { display: inline-block; padding-left: 0.12em; color: var(--amber); font-weight: 400; }
.trips-library-section { padding-top: clamp(76px, 10vw, 136px); }
.trips-library-heading .section-label { margin-bottom: 24px; font-size: clamp(20px, 1.6vw, 24px); }
.trip-library-grid { display: grid; }

.trip-card {
  display: grid;
  grid-template-columns: minmax(340px, 1.05fr) minmax(0, 0.95fr);
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(11, 14, 17, 0.12);
  background: var(--night);
  color: var(--ivory);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.trip-card:hover,
.trip-card:focus-visible { outline: none; transform: translateY(-4px); box-shadow: 0 22px 42px rgba(11, 14, 17, 0.18); }
.trip-card:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.trip-card-image { min-height: 520px; background-color: var(--deep-water); background-position: center; background-size: cover; background-repeat: no-repeat; transition: transform 260ms ease; }
.trip-card:hover .trip-card-image { transform: scale(1.012); }
.trip-card-copy { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(38px, 6vw, 76px); }
.trip-card-label,
.trip-card-meta,
.trip-date-line,
.trip-day { font-family: var(--label); letter-spacing: 0.12em; text-transform: uppercase; }
.trip-card-label { margin: 0 0 30px; color: var(--amber); font-size: clamp(15px, 1.3vw, 18px); }
.trip-card-copy h3 { margin: 0 0 28px; font: 400 clamp(58px, 7vw, 94px)/0.78 var(--display); letter-spacing: -0.04em; }
.trip-card-copy h3 em { display: inline-block; padding-left: 0.12em; color: var(--amber); font-weight: 400; }
.trip-card-copy > p:not(.trip-card-label) { margin: 0; color: var(--muted-dark); font-size: clamp(16px, 1.4vw, 19px); }
.trip-card-meta { display: inline-block; align-self: flex-start; margin-top: 34px; padding-top: 14px; border-top: 1px solid var(--line-dark); font-size: 12px; }

.trip-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  justify-content: center;
  padding: clamp(110px, 14vw, 190px) clamp(28px, 6vw, 96px) clamp(78px, 10vw, 132px);
  background-color: var(--deep-water);
  background-position: center 56%;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--ivory);
}

.trip-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 6, 9, 0.72), rgba(3, 6, 9, 0.16) 64%),
    linear-gradient(180deg, rgba(3, 6, 9, 0.08), rgba(3, 6, 9, 0.78));
}

.trip-hero-copy { width: min(1160px, 100%); margin: 0 auto; }
.trip-hero .eyebrow { margin-bottom: 22px; font-size: clamp(20px, 1.6vw, 24px); }
.trip-date-line {
  margin: 0 0 28px;
  color: var(--ivory);
  font-family: var(--body);
  font-size: clamp(18px, 1.6vw, 23px);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
}
.trip-title {
  max-width: 920px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(86px, 11vw, 164px);
  font-style: normal;
  font-weight: 400;
  line-height: 0.72;
  letter-spacing: -0.045em;
}
.trip-title em { display: inline-block; padding-left: 0.16em; color: var(--amber); font-weight: 400; }
.trip-hero .hero-intro { margin-top: 38px; max-width: 680px; color: rgba(243, 238, 228, 0.84); }

.trip-reading-width { width: min(980px, 100%); }
.trip-invitation-section { padding-top: clamp(88px, 11vw, 150px); padding-bottom: clamp(88px, 11vw, 150px); }
.trip-invitation-section .section-label { margin-bottom: 28px; }
.trip-hero .eyebrow,
.trip-invitation-section .section-label,
.trip-schedule-section .section-label,
.trip-photo-section .section-label,
.trip-closing-section .section-label {
  font-size: clamp(20px, 1.6vw, 24px);
  letter-spacing: 0.1em;
  line-height: 1.25;
}
.trip-invitation-section .section-title { max-width: 900px; font-size: clamp(58px, 7vw, 98px); }
.trip-invitation-section .section-title em { color: #745a2c; font-weight: 400; }
.trip-invitation-copy { width: min(760px, 100%); margin: clamp(46px, 7vw, 88px) 0 0 auto; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.75; }
.trip-invitation-copy p { margin: 0; }
.trip-invitation-copy p + p { margin-top: 24px; }

.trip-schedule { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line-dark); background: var(--line-dark); }
.trip-schedule-card { min-height: 330px; padding: clamp(30px, 4vw, 52px); background: var(--night); }
.trip-schedule-card.featured { background: var(--deep-water); }
.trip-day { margin: 0 0 38px; color: var(--amber); font-size: clamp(14px, 1.2vw, 17px); }
.trip-schedule-card h3 { margin: 0 0 22px; font: 400 clamp(40px, 4.4vw, 62px)/0.94 var(--display); }
.trip-schedule-card p:last-child { margin: 0; color: var(--muted-dark); font-size: clamp(16px, 1.4vw, 19px); }

.trip-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 34px); align-items: start; }
.trip-photo { margin: 0; }
.trip-photo.map,
.trip-photo.aerial,
.trip-photo.deck,
.trip-photo.interior,
.trip-photo.lawn,
.trip-photo.dock { grid-column: auto; }
.trip-photo-button {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--deep-water);
  cursor: zoom-in;
}
.trip-photo-button:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
.trip-photo-button img { transition: transform 220ms ease; }
.trip-photo-button:hover img { transform: scale(1.02); }
.trip-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--deep-water); }
.trip-photo.map img { object-fit: cover; }
.trip-photo figcaption { margin-top: 13px; color: var(--muted-light); font-size: 15px; }

.content-section.deep { background: var(--deep-water); color: var(--ivory); }
.trip-closing-inner { width: min(920px, 100%); text-align: center; }
.trip-closing-inner .section-label { color: var(--amber); font-size: clamp(16px, 1.4vw, 20px); }
.trip-closing-inner h2 { margin: 24px 0 26px; font: 400 clamp(54px, 7vw, 94px)/0.92 var(--display); letter-spacing: -0.035em; }
.trip-closing-inner > p:last-child { margin: 0; color: var(--muted-dark); font-size: clamp(17px, 1.6vw, 21px); }

.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.gallery-feature { grid-column: span 8; min-height: 480px; background: var(--gallery-image) center / cover no-repeat; }
.gallery-note { grid-column: span 4; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; background: var(--night); color: var(--ivory); }
.gallery-note h3 { margin: 0 0 14px; font: 400 42px/1 var(--display); }
.gallery-note p { margin: 0; color: var(--muted-dark); }

.photo-placeholder { grid-column: span 4; aspect-ratio: 4 / 3; display: grid; place-items: center; border: 1px dashed var(--line-light); background: rgba(11, 14, 17, 0.03); color: rgba(11, 14, 17, 0.42); font: 9px var(--label); letter-spacing: 0.10em; text-transform: uppercase; }

.album-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
  min-height: 690px;
  overflow: hidden;
  padding: clamp(100px, 12vw, 170px) clamp(30px, 7vw, 110px) clamp(70px, 8vw, 110px);
  background:
    radial-gradient(circle at 72% 46%, rgba(221, 179, 101, 0.10), transparent 32%),
    linear-gradient(145deg, #151a1e, #080b0e 70%);
  color: var(--ivory);
}

.album-hero::after {
  content: '';
  position: absolute;
  right: -15vw;
  bottom: -22vw;
  width: 62vw;
  height: 62vw;
  border: 1px solid rgba(243, 238, 228, 0.06);
  border-radius: 50%;
}

.album-hero-copy { position: relative; z-index: 2; }
.album-hero .eyebrow { margin-bottom: 24px; font-size: clamp(20px, 1.6vw, 24px); letter-spacing: 0.14em; }
.album-title { margin: 12px 0 30px; font: 400 clamp(84px, 11vw, 160px)/0.72 var(--display); letter-spacing: -0.045em; }
.album-title em { display: inline-block; padding-left: 0.2em; color: var(--amber); font-weight: 400; }
.album-hero .hero-intro { max-width: 590px; }

.album-hero-stack { position: relative; z-index: 2; min-height: 470px; }
.album-hero-stack img { position: absolute; width: min(290px, 58%); height: auto; filter: drop-shadow(0 28px 30px rgba(0, 0, 0, 0.34)); }
.album-hero-stack img:nth-child(1) { top: 10%; left: 0; transform: rotate(-8deg); }
.album-hero-stack img:nth-child(2) { top: 0; right: 0; transform: rotate(7deg); }
.album-hero-stack img:nth-child(3) { right: 12%; bottom: 0; transform: rotate(-2deg); }

.album-section { padding-top: clamp(72px, 10vw, 142px); }
.album-heading { margin-bottom: clamp(54px, 8vw, 96px); }
.album-heading .section-label { margin-bottom: 26px; font-size: clamp(20px, 1.6vw, 24px); letter-spacing: 0.14em; }
.album-heading .section-title { max-width: 780px; font-size: clamp(50px, 6.4vw, 92px); }
.album-heading .section-title em { color: var(--muted-light); font-size: 0.64em; font-weight: 400; }

.polaroid-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 30px); align-items: start; }
.polaroid-button { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.polaroid-button img { display: block; width: 100%; height: auto; filter: drop-shadow(0 15px 15px rgba(11, 14, 17, 0.14)); transition: transform 180ms ease, filter 180ms ease; }
.polaroid-button:hover img, .polaroid-button:focus-visible img { transform: translateY(-5px) rotate(-0.5deg); filter: drop-shadow(0 22px 20px rgba(11, 14, 17, 0.22)); }
.polaroid-button:focus-visible { outline: 2px solid var(--amber); outline-offset: 5px; }

.photo-viewer { width: min(94vw, 1100px); max-width: none; height: 94vh; max-height: 94vh; overflow: hidden; padding: 54px 28px 28px; border: 1px solid rgba(243, 238, 228, 0.22); background: rgba(7, 9, 11, 0.96); color: var(--ivory); }
.photo-viewer::backdrop { background: rgba(3, 5, 7, 0.88); backdrop-filter: blur(10px); }
.photo-viewer img { display: block; width: 100%; height: calc(94vh - 90px); margin: auto; object-fit: contain; }
.viewer-close { position: absolute; top: 14px; right: 18px; padding: 7px 10px; border: 1px solid var(--line-dark); background: transparent; color: var(--ivory); font: 9px var(--label); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.viewer-close:hover, .viewer-close:focus-visible { outline: none; border-color: var(--amber); color: var(--amber); }

.placeholder-wrap { min-height: calc(100vh - 60px); display: grid; place-items: center; padding: 60px 24px; background: var(--night); color: var(--ivory); }
.placeholder-card { width: min(760px, 100%); padding: clamp(36px, 7vw, 82px); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.placeholder-label { margin: 0 0 18px; color: var(--amber); font-size: 10px; }
.placeholder-card h1 { margin: 0 0 22px; font: 400 clamp(64px, 9vw, 118px)/0.86 var(--display); letter-spacing: -0.04em; }
.placeholder-card p { margin: 0 0 28px; max-width: 580px; color: var(--muted-dark); font-size: 17px; }
.back-link { display: inline-block; color: var(--ivory); font: 10px var(--label); letter-spacing: 0.12em; text-decoration: none; text-transform: uppercase; }
.back-link::before { content: '← '; color: var(--amber); }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; padding: 32px clamp(22px, 6vw, 96px); background: #07090b; color: rgba(243, 238, 228, 0.76); font: 15px/1.5 var(--label); letter-spacing: 0.04em; text-transform: uppercase; }
.site-footer > span:nth-child(2) { text-align: center; }
.site-footer > span:last-child { text-align: right; }
.site-footer a { color: var(--ivory); text-decoration-color: rgba(243, 238, 228, 0.42); text-underline-offset: 4px; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--amber); text-decoration-color: var(--amber); }
.footer-credit { text-transform: none; }
.footer-credit a { color: var(--amber); font-weight: 700; text-transform: none; }

@media (max-width: 900px) {
  .inner-header { min-height: 60px; padding-top: 11px; padding-bottom: 11px; }
  .brand-link { font-size: 11px; }
  .inner-nav a { font-size: 9px; }
  .bottom-index { grid-template-columns: repeat(5, max-content); justify-content: start; overflow-x: auto; }
  .index-link { min-width: 154px; }
  .section-heading { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-feature, .gallery-note { grid-column: span 12; }
  .photo-placeholder { grid-column: span 6; }
  .album-library-hero { grid-template-columns: 1fr; min-height: auto; }
  .album-library-preview { min-height: 360px; }
  .album-library-grid { grid-template-columns: 1fr; }
  .album-card { grid-column: auto; }
  .trip-card { grid-template-columns: 1fr; }
  .trip-card-image { min-height: 420px; }
  .trip-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .album-hero { grid-template-columns: 1fr; min-height: auto; }
  .album-hero-stack { width: min(620px, 92vw); min-height: 390px; margin: 0 auto; }
  .polaroid-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .cover-page { background-position: 56% center; }
  .cover-lockup { top: 9vh; width: 88vw; }
  .cover-title { font-size: clamp(52px, 18vw, 82px); }
  .login-link { margin-top: clamp(42px, 7vh, 68px); }
  .bottom-index { display: none; }

  .mobile-nav {
    position: fixed;
    z-index: 8;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: block;
  }

  .mobile-nav summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 17px;
    border: 1px solid var(--line-dark);
    border-radius: 2px;
    background: var(--ivory);
    color: var(--night);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span:last-child { font: 9px var(--label); letter-spacing: 0.12em; text-transform: uppercase; }

  .mobile-nav-links { display: grid; margin-bottom: 8px; border: 1px solid var(--line-dark); background: rgba(8, 11, 14, 0.96); }
  .mobile-nav-links a { padding: 13px 15px; border-bottom: 1px solid var(--line-dark); color: var(--ivory); font-size: 13px; text-decoration: none; }
  .mobile-nav-links a:last-child { border-bottom: 0; }

  .inner-header { align-items: flex-start; }
  .inner-nav { max-width: 62vw; }
  .hub-hero, .page-hero { min-height: 460px; }
  .hub-index-section { padding-top: 34px; padding-bottom: 34px; }
  .hub-index-section .section-heading { margin-bottom: 20px; }
  .hub-index-section .section-title { font-size: clamp(38px, 10vw, 48px); }
  .hub-grid { grid-template-columns: 1fr; }
  .hub-index-section .hub-card {
    min-height: 0;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px 16px;
  }
  .hub-index-section .hub-card .index-number { grid-area: auto; margin: 0; font-size: 22px; }
  .hub-index-section .hub-card h3 { margin: 0; font-size: 25px; }
  .hub-index-section .hub-card p { display: none; }
  .update-panel { grid-template-columns: 1fr; }
  .photo-placeholder { grid-column: span 12; }
  .album-library-hero { padding-top: 108px; }
  .album-library-title { font-size: clamp(64px, 20vw, 96px); }
  .album-library-preview { min-height: 280px; }
  .album-library-preview img { width: min(300px, 78%); }
  .album-card { grid-template-columns: 1fr; }
  .album-card-image { min-height: 360px; }
  .album-card-copy { min-height: 360px; }
  .trips-library-hero { min-height: 520px; }
  .trip-card-image { min-height: 340px; }
  .trip-card-copy { min-height: 390px; }
  .trip-hero { min-height: 660px; padding-top: 120px; }
  .trip-title { font-size: clamp(72px, 22vw, 112px); }
  .trip-schedule { grid-template-columns: 1fr; }
  .trip-photo-grid { grid-template-columns: 1fr; }
  .album-hero { padding-top: 108px; }
  .album-title { font-size: clamp(72px, 23vw, 108px); }
  .album-hero-stack { min-height: 300px; }
  .album-hero-stack img { width: 52%; }
  .album-heading .section-title { font-size: clamp(46px, 14vw, 66px); }
  .polaroid-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .site-footer { grid-template-columns: 1fr; gap: 14px; }
  .site-footer > span:nth-child(2), .site-footer > span:last-child { text-align: left; }
}
