:root {
  --cream: #fffaf0;
  --ivory: #f8f2e6;
  --paper: #fffdf8;
  --blue-pale: #dceaf5;
  --blue-mist: #eaf2f7;
  --blue: #123963;
  --blue-deep: #102d54;
  --blue-soft: #476783;
  --gold: #b79558;
  --gold-light: #d6bd86;
  --line: rgba(183, 149, 88, 0.48);
  --serif: Georgia, "Times New Roman", serif;
  --display: "Iowan Old Style", Baskerville, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --content: min(100% - 54px, 610px);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #eef2f4;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--blue-soft);
  background: #eef2f4;
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

main,
.site-footer {
  width: min(100%, 720px);
  margin-inline: auto;
}

main {
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 24px 65px rgba(16, 45, 84, 0.12);
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  transform: translateY(-170%);
  border-radius: 999px;
  color: var(--paper);
  background: var(--blue-deep);
  font: 600 0.875rem/1 var(--sans);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  min-height: 720px;
  padding: 31px 0 66px;
  overflow: hidden;
  color: var(--blue-deep);
  background: var(--cream);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background: var(--blue-pale);
}

.hero::before {
  width: 330px;
  height: 330px;
  top: -195px;
  right: -165px;
}

.hero::after {
  width: 260px;
  height: 260px;
  top: 150px;
  left: -195px;
}

.hero-art {
  position: relative;
  z-index: 2;
  width: calc(100% - 54px);
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--blue-deep);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-initials {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(183, 149, 88, 0.72);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: var(--content);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 31px;
  text-align: center;
}

.portrait-button,
.image-button {
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: zoom-in;
}

.portrait-button {
  position: relative;
  width: min(72vw, 350px);
  padding: 7px;
  border: 1px solid var(--gold);
  border-radius: 190px 190px 10px 10px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 18px 38px rgba(16, 45, 84, 0.18);
}

.portrait-arch {
  display: block;
  overflow: hidden;
  border-radius: 182px 182px 5px 5px;
  background: var(--blue-pale);
}

.portrait-arch img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
}

.portrait-line,
.scroll-note {
  display: none;
}

.eyebrow,
.section-kicker,
.dates,
.veteran-line,
.memory-frame figcaption,
.shaka-primary figcaption,
.text-memory figcaption,
.like-father figcaption,
.family-photo figcaption,
.gallery-note,
.gallery-item span,
.brand-line {
  font-family: var(--sans);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.service h2,
.soundtrack h2,
.letter h2,
.legacy h2 {
  margin: 0;
  color: var(--blue-deep);
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.034em;
}

.hero h1 {
  font-size: clamp(3.35rem, 14vw, 4.8rem);
  line-height: 0.9;
}

.hero h1 span {
  display: block;
}

.nickname {
  margin: 12px 0 0;
  color: var(--gold);
  font-family: var(--display);
  font-size: clamp(1.35rem, 5vw, 1.75rem);
  font-style: italic;
  line-height: 1.2;
}

.dates {
  margin-top: 17px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 11px;
  color: var(--blue-soft);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-transform: uppercase;
}

.opening {
  padding: 55px 32px 51px;
  text-align: center;
  color: var(--paper);
  background: var(--blue);
}

.opening-star {
  margin-bottom: 12px;
  color: var(--gold-light);
  font-size: 1.65rem;
}

.opening-copy {
  max-width: 570px;
  margin: 0 auto;
  font-size: clamp(1.2rem, 4.4vw, 1.55rem);
  font-style: italic;
  line-height: 1.58;
}

.veteran-line {
  margin: 24px 0 0;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
}

.veteran-line span {
  margin-right: 6px;
}

.service-wrap {
  padding: 54px 27px 0;
  background: var(--cream);
}

.service {
  width: 100%;
  margin: 0 auto;
  padding: 26px 0;
  display: grid;
  grid-template-columns: 69px 1fr;
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-mark {
  width: 62px;
  height: 78px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 36px 36px 6px 6px;
  font-family: var(--display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.service h2 {
  font-size: clamp(1.5rem, 5.6vw, 2rem);
  line-height: 1.18;
}

.service-copy > p:last-child {
  margin: 8px 0 0;
  color: var(--blue-soft);
  font-family: var(--sans);
  font-size: 0.83rem;
  letter-spacing: 0.04em;
}

.story-section,
.daughter,
.legacy,
.gallery-section {
  width: var(--content);
  margin: 0 auto;
  padding: 84px 0;
}

.section-heading {
  max-width: 580px;
  margin-bottom: 35px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.letter h2,
.legacy h2 {
  font-size: clamp(2.45rem, 9.4vw, 4.2rem);
  line-height: 1.02;
}

.feature-grid {
  display: grid;
  gap: 34px;
}

.marine-photo {
  position: relative;
  width: min(100%, 410px);
  justify-self: center;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 205px 205px 9px 9px;
  background: var(--paper);
  box-shadow: 0 15px 34px rgba(16, 45, 84, 0.12);
}

.marine-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  border-radius: 198px 198px 4px 4px;
}

.image-corner {
  position: absolute;
  width: 41px;
  height: 41px;
  right: -9px;
  bottom: -9px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

.story-copy p,
.shaka-copy p,
.soundtrack-copy > p,
.letter p,
.legacy-copy p {
  margin: 0 0 1.15em;
}

.lead,
.letter-emphasis {
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: clamp(1.45rem, 5vw, 1.95rem);
  line-height: 1.35;
}

.life-triptych {
  margin-top: 55px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  align-items: start;
}

.memory-frame {
  margin: 0;
  min-width: 0;
}

.memory-frame .image-button {
  width: 100%;
  padding: 5px;
  overflow: hidden;
  border: 1px solid rgba(183, 149, 88, 0.35);
  background: var(--paper);
}

.memory-frame:nth-child(1) .image-button {
  border-radius: 90px 7px 7px 7px;
}

.memory-frame:nth-child(2) .image-button {
  border-radius: 7px 90px 7px 7px;
}

.memory-frame:nth-child(3) .image-button {
  border-radius: 7px 7px 90px 7px;
}

.memory-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
}

.memory-frame:nth-child(1) img {
  border-radius: 84px 4px 4px 4px;
}

.memory-frame:nth-child(2) img {
  border-radius: 4px 84px 4px 4px;
}

.memory-frame:nth-child(3) img {
  border-radius: 4px 4px 84px 4px;
}

.memory-frame figcaption,
.shaka-primary figcaption,
.text-memory figcaption,
.like-father figcaption,
.family-photo figcaption {
  margin-top: 10px;
  color: var(--blue-soft);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
}

.smiles {
  width: 100%;
  padding: 78px 27px;
  background: rgba(220, 234, 245, 0.36);
}

.smiles > * {
  width: 100%;
  max-width: 610px;
  margin-inline: auto;
}

.smile-intro {
  margin-top: -6px;
  margin-bottom: 42px;
  text-align: center;
}

.smile-intro p {
  margin: 0;
}

.shaka-feature {
  display: grid;
  gap: 30px;
  padding: 21px;
  background: var(--cream);
  border: 1px solid rgba(183, 149, 88, 0.28);
  border-radius: 150px 150px 12px 12px;
}

.shaka-primary {
  margin: 0;
}

.shaka-primary .image-button {
  width: 100%;
  padding: 5px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 135px 135px 7px 7px;
  background: var(--paper);
}

.shaka-primary img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 128px 128px 3px 3px;
}

.shaka-strip {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.shaka-strip > .image-button,
.text-memory .image-button {
  width: 100%;
  padding: 5px;
  overflow: hidden;
  border: 1px solid rgba(183, 149, 88, 0.3);
  background: var(--paper);
}

.shaka-solo {
  border-radius: 7px 7px 7px 80px;
}

.shaka-home {
  border-radius: 7px 80px 7px 7px;
}

.shaka-strip > .image-button img,
.text-memory img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
}

.shaka-solo img {
  border-radius: 3px 3px 3px 74px;
}

.shaka-home img {
  border-radius: 3px 74px 3px 3px;
}

.text-memory {
  grid-column: 1 / -1;
  margin: 0;
}

.message-crop {
  display: block;
  border-radius: 7px;
}

.message-crop img {
  position: static;
}

.soundtrack {
  position: relative;
  overflow: hidden;
  color: rgba(255, 253, 248, 0.88);
  background: var(--blue);
}

.soundtrack::before {
  content: "♪";
  position: absolute;
  right: -30px;
  top: -77px;
  color: rgba(214, 189, 134, 0.07);
  font-family: var(--display);
  font-size: 18rem;
  line-height: 1;
}

.soundtrack-inner {
  position: relative;
  z-index: 1;
  width: var(--content);
  margin: 0 auto;
  padding: 75px 0;
  display: grid;
  gap: 38px;
}

.section-kicker.light {
  color: var(--gold-light);
}

.soundtrack h2 {
  color: var(--paper);
  font-size: clamp(2.45rem, 9.4vw, 4.1rem);
  line-height: 1.02;
}

.soundtrack-copy > p:not(.section-kicker) {
  margin-top: 24px;
}

.songs {
  margin-top: 29px;
  display: grid;
  gap: 10px;
}

.song {
  min-height: 74px;
  padding: 13px 14px;
  text-align: left;
  color: var(--paper);
  background: rgba(255, 253, 248, 0.06);
  border: 1px solid rgba(214, 189, 134, 0.4);
  border-radius: 7px;
}

.song-summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 0 13px;
}

.play-mark {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding-left: 2px;
  color: var(--gold-light);
  border: 1px solid rgba(214, 189, 134, 0.75);
  border-radius: 50%;
  font-size: 0.68rem;
}

.song-copy {
  display: grid;
}

.song-copy strong {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
}

.song-copy small {
  margin-top: 3px;
  color: rgba(255, 253, 248, 0.58);
  font-family: var(--sans);
  font-size: 0.75rem;
  line-height: 1.4;
}

.song-actions {
  grid-column: 2;
  margin-top: 11px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 15px;
}

.song-play,
.song-pause,
.song-close {
  min-height: 34px;
  padding: 7px 13px;
  color: var(--blue-deep);
  background: var(--gold-light);
  border: 1px solid var(--gold-light);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.song-fallback {
  color: rgba(255, 253, 248, 0.75);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration-color: rgba(214, 189, 134, 0.65);
  text-underline-offset: 3px;
}

.song-fallback:hover,
.song-fallback:focus-visible {
  color: var(--paper);
}

.song-player {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid rgba(214, 189, 134, 0.25);
}

.song-player-actions {
  margin-bottom: 10px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.song-player-status {
  margin: 0 0 10px;
  color: rgba(255, 253, 248, 0.72);
  font-family: var(--sans);
  font-size: 0.73rem;
  line-height: 1.4;
}

.song-pause,
.song-close {
  color: var(--paper);
  background: transparent;
  border-color: rgba(214, 189, 134, 0.72);
}

.song-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(214, 189, 134, 0.48);
  border-radius: 5px;
  background: rgba(8, 25, 43, 0.34);
}

.song-embed iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  border: 0;
}

.soundtrack-photo {
  position: relative;
  width: min(82%, 390px);
  justify-self: center;
  padding: 6px;
  overflow: hidden;
  border: 1px solid rgba(214, 189, 134, 0.65);
  border-radius: 170px 170px 8px 8px;
  background: rgba(255, 253, 248, 0.07);
}

.soundtrack-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 163px 163px 3px 3px;
}

.photo-caption {
  position: absolute;
  inset: auto 6px 6px;
  padding: 35px 14px 12px;
  color: var(--paper);
  background: linear-gradient(transparent, rgba(16, 45, 84, 0.88));
  border-radius: 0 0 3px 3px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.daughter {
  display: grid;
  gap: 58px;
}

.daughter-visuals {
  position: relative;
  padding-bottom: 88px;
}

.daughter-primary {
  width: calc(100% - 37px);
  padding: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 180px 180px 8px 8px;
  background: var(--paper);
  box-shadow: 0 18px 38px rgba(16, 45, 84, 0.14);
}

.daughter-primary img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  border-radius: 173px 173px 3px 3px;
}

.like-father {
  position: absolute;
  width: 51%;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 6px 6px 10px;
  background: var(--paper);
  border: 1px solid rgba(183, 149, 88, 0.35);
  box-shadow: 0 14px 32px rgba(16, 45, 84, 0.15);
}

.like-father .image-button,
.like-father img {
  width: 100%;
}

.like-father img {
  height: auto;
  object-fit: contain;
  object-position: center;
}

.like-father figcaption {
  margin: 9px 3px 0;
  color: var(--gold);
  font-size: 0.7rem;
  text-align: center;
}

.letter {
  position: relative;
}

.letter::before {
  content: "“";
  position: absolute;
  top: -48px;
  right: 0;
  color: rgba(183, 149, 88, 0.14);
  font-family: var(--display);
  font-size: 7rem;
  line-height: 1;
}

.letter h2 {
  margin-bottom: 30px;
}

.letter .salutation {
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: 1.8rem;
  font-style: italic;
}

.letter-emphasis {
  margin: 34px 0 !important;
  padding: 21px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-style: italic;
}

.signature {
  margin-top: 34px !important;
  color: var(--blue-soft);
  font-style: italic;
}

.signature strong {
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: 2.1rem;
  font-weight: 400;
}

.legacy {
  width: 100%;
  padding: 73px 27px;
  display: grid;
  gap: 39px;
  background: var(--blue-mist);
}

.legacy h2 {
  margin-bottom: 25px;
}

.family-photo {
  margin: 0;
}

.family-photo .image-button {
  width: 100%;
  padding: 6px;
  overflow: hidden;
  border: 1px solid rgba(183, 149, 88, 0.4);
  border-radius: 8px 145px 8px 8px;
  background: var(--paper);
}

.family-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 4px 138px 4px 4px;
}

.gallery-section {
  padding-top: 83px;
}

.gallery-note {
  margin: 16px 0 0;
  color: var(--blue-soft);
  font-size: 0.83rem;
}

.gallery {
  margin-top: 38px;
  columns: 2;
  column-gap: 10px;
}

.gallery-item {
  position: relative;
  width: 100%;
  margin: 0 0 10px;
  padding: 5px;
  display: block;
  break-inside: avoid;
  overflow: hidden;
  border: 1px solid rgba(183, 149, 88, 0.28);
  background: var(--paper);
}

.gallery-item:nth-child(1) {
  border-radius: 90px 6px 6px 6px;
}

.gallery-item:nth-child(2) {
  border-radius: 6px 90px 6px 6px;
}

.gallery-item:nth-child(3) {
  border-radius: 6px 6px 6px 90px;
}

.gallery-item:nth-child(4) {
  border-radius: 6px 6px 90px 6px;
}

.gallery-item:nth-child(5) {
  border-radius: 70px 6px 70px 6px;
}

.gallery-item:nth-child(6) {
  border-radius: 6px 70px 6px 70px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.gallery-item span {
  position: absolute;
  inset: auto 5px 5px;
  padding: 31px 9px 8px;
  color: var(--paper);
  background: linear-gradient(transparent, rgba(16, 45, 84, 0.84));
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-align: left;
  text-transform: uppercase;
}

.gallery-item:nth-child(3) span,
.gallery-item:nth-child(6) span {
  padding-left: 30px;
  background: linear-gradient(transparent, rgba(16, 45, 84, 0.96));
  text-shadow: 0 1px 4px rgba(5, 24, 48, 0.72);
}

.site-footer {
  padding: 59px 27px 52px;
  text-align: center;
  color: var(--blue-soft);
  background: var(--blue-mist);
  border-top: 1px solid rgba(16, 45, 84, 0.08);
  box-shadow: 0 28px 65px rgba(16, 45, 84, 0.12);
}

.site-footer > p:first-child {
  max-width: 520px;
  margin: 0 auto;
  color: var(--blue-deep);
  font-family: var(--display);
  font-size: 1.24rem;
  font-style: italic;
  line-height: 1.55;
}

.brand-logo {
  width: clamp(126px, 34vw, 176px);
  height: auto;
  margin: 22px auto 0;
  object-fit: contain;
}

.brand-line {
  margin: -3px 0 0;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.brand-contact {
  margin-top: 13px;
  display: grid;
  gap: 5px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.5;
}

.brand-contact a {
  width: fit-content;
  margin: 0 auto;
  color: var(--blue-soft);
  text-decoration-color: rgba(54, 83, 112, 0.42);
  text-underline-offset: 3px;
}

.brand-contact a:hover,
.brand-contact a:focus-visible {
  color: var(--blue-deep);
  text-decoration-color: var(--gold);
}

.brand-contact span {
  font-weight: 600;
}

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(8, 25, 43, 0.95);
}

.lightbox::backdrop {
  background: rgba(8, 25, 43, 0.95);
}

.lightbox-panel {
  position: relative;
  width: 100%;
  min-height: 100%;
  padding: 67px 57px 30px;
  display: grid;
  place-items: center;
}

.lightbox figure {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 13px;
}

.lightbox-image {
  width: auto;
  max-width: min(100%, 1000px);
  height: auto;
  max-height: calc(100svh - 145px);
  object-fit: contain;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.34);
}

.lightbox-caption {
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--paper);
  background: rgba(255, 253, 248, 0.1);
  border: 1px solid rgba(255, 253, 248, 0.35);
  border-radius: 50%;
  cursor: pointer;
}

.lightbox-close {
  top: 12px;
  right: 12px;
  font-family: var(--sans);
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
}

.lightbox-nav.previous {
  left: 7px;
}

.lightbox-nav.next {
  right: 7px;
}

.js .reveal {
  opacity: 1;
  transform: none;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (hover: hover) {
  .portrait-button:hover,
  .image-button:hover {
    filter: brightness(1.025);
  }
}

@media (min-width: 560px) {
  :root {
    --content: min(100% - 76px, 610px);
  }

  body {
    padding: 30px 0 50px;
  }

  main {
    border-radius: 28px 28px 0 0;
  }

  .site-footer {
    border-radius: 0 0 28px 28px;
  }

  .hero {
    min-height: 790px;
    padding-top: 39px;
  }

  .hero-art {
    width: calc(100% - 76px);
    margin-bottom: 34px;
  }

  .portrait-button {
    width: 354px;
  }

  .hero h1 {
    font-size: 4.8rem;
  }

  .opening {
    padding: 61px 65px 56px;
  }

  .service-wrap {
    padding-right: 38px;
    padding-left: 38px;
  }

  .service {
    grid-template-columns: 82px 1fr;
    gap: 27px;
  }

  .service-mark {
    width: 73px;
    height: 91px;
  }

  .feature-grid {
    grid-template-columns: 0.82fr 1.18fr;
    align-items: center;
    gap: 43px;
  }

  .marine-photo {
    width: 100%;
  }

  .life-triptych {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shaka-feature {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 34px;
    padding: 24px 30px 24px 24px;
    border-radius: 155px 12px 12px 12px;
  }

  .shaka-primary .image-button {
    border-radius: 128px 7px 7px 7px;
  }

  .shaka-primary img {
    border-radius: 121px 3px 3px 3px;
  }

  .shaka-strip {
    grid-template-columns: 0.75fr 1fr 1.25fr;
  }

  .text-memory {
    grid-column: auto;
  }

  .soundtrack-inner {
    grid-template-columns: 1.12fr 0.88fr;
    align-items: center;
    gap: 42px;
  }

  .soundtrack-photo {
    width: 100%;
  }

  .daughter {
    grid-template-columns: 0.88fr 1.12fr;
    align-items: start;
    gap: 44px;
  }

  .daughter-visuals {
    position: sticky;
    top: 24px;
  }

  .legacy {
    grid-template-columns: 1.12fr 0.88fr;
    align-items: center;
    gap: 43px;
    padding-right: 55px;
    padding-left: 55px;
  }

  .gallery {
    columns: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
