:root {
  --ink: #24314f;
  --muted: #66708a;
  --blue: #2456a6;
  --blue-dark: #173f84;
  --blue-soft: #eaf1ff;
  --red: #d94242;
  --red-dark: #aa2929;
  --red-soft: #fff0f0;
  --pink: var(--red);
  --pink-soft: var(--red-soft);
  --yellow: #f2c230;
  --yellow-soft: #fff7d6;
  --mint: var(--blue);
  --mint-soft: var(--blue-soft);
  --cream: #fffaf2;
  --white: #ffffff;
  --line: rgba(36, 49, 79, 0.12);
  --shadow: 0 24px 70px rgba(57, 75, 120, 0.13);
  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-si: "Noto Sans Sinhala", sans-serif;
  --font-ta: "Noto Sans Tamil", sans-serif;
  --font-jp: "Noto Sans JP", sans-serif;
  --font-ko: "Noto Sans KR", sans-serif;
}

* { box-sizing: border-box; }

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

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

button,
input,
select { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(244, 201, 93, 0.75);
  outline-offset: 3px;
}

[lang="si"] { font-family: var(--font-si); }
[lang="ta"] { font-family: var(--font-ta); }
[lang="ja"] { font-family: var(--font-jp); }
[lang="ko"] { font-family: var(--font-ko); }

.noscript {
  position: fixed;
  z-index: 999;
  inset: 0 0 auto;
  padding: 12px;
  background: #9f3347;
  color: white;
  text-align: center;
}

.sky-decor {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cloud {
  position: absolute;
  width: 180px;
  height: 54px;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  bottom: 13px;
  border-radius: 50%;
  background: inherit;
}

.cloud::before {
  left: 30px;
  width: 70px;
  height: 70px;
}

.cloud::after {
  right: 24px;
  width: 82px;
  height: 82px;
}

.cloud--one {
  top: 15%;
  left: -70px;
}

.cloud--two {
  right: -80px;
  bottom: 12%;
  transform: scale(.8);
}

.star,
.letter {
  position: absolute;
  color: rgba(111,143,214,.16);
  font-family: var(--font-display);
  font-weight: 700;
}

.star--one {
  top: 18%;
  right: 12%;
  font-size: 44px;
}

.star--two {
  bottom: 18%;
  left: 8%;
  color: rgba(244,201,93,.25);
  font-size: 36px;
}

.letter--a {
  top: 42%;
  left: 3%;
  font-size: 80px;
  transform: rotate(-12deg);
}

.letter--si {
  top: 56%;
  right: 4%;
  font-size: 72px;
  transform: rotate(9deg);
}

.letter--ta {
  right: 15%;
  bottom: 4%;
  color: rgba(242,168,184,.18);
  font-size: 72px;
}

.floating-symbols {
  position: fixed;
  z-index: 110;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.floating-symbol {
  position: absolute;
  top: -12vh;
  display: grid;
  place-items: center;
  width: var(--size);
  height: var(--size);
  color: var(--symbol-color);
  font-family: var(--font-display);
  font-size: calc(var(--size) * .62);
  font-weight: 700;
  opacity: 0;
  text-shadow: 0 5px 16px rgba(36,49,79,.10);
  animation: symbol-fall var(--duration) linear infinite;
  animation-delay: var(--delay);
  will-change: transform, opacity;
}

.floating-symbol[lang="si"] { font-family: var(--font-si); }
.floating-symbol[lang="ta"] { font-family: var(--font-ta); }
.floating-symbol[lang="ja"] { font-family: var(--font-jp); }
.floating-symbol[lang="ko"] { font-family: var(--font-ko); }

@keyframes symbol-fall {
  0% {
    transform: translate3d(0, -10vh, 0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: .62;
  }

  82% {
    opacity: .42;
  }

  100% {
    transform:
      translate3d(var(--drift), 118vh, 0)
      rotate(var(--rotation));
    opacity: 0;
  }
}

.section {
  padding: clamp(82px, 10vw, 140px) clamp(20px, 6vw, 90px);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.section-heading {
  width: min(720px, 100%);
  margin: 0 auto 50px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6vw, 4.9rem);
  line-height: 1;
}

.section-heading > p:last-child {
  width: min(590px, 100%);
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.section-heading--light,
.section-heading--light .eyebrow,
.section-heading--light > p:last-child {
  color: var(--white);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 23px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.button:hover { transform: translateY(-2px); }

.button--primary {
  background: var(--blue);
  box-shadow: 0 12px 25px rgba(80,111,184,.22);
  color: var(--white);
}

.button--primary:hover { background: var(--blue-dark); }

.button--soft {
  border: 1px solid rgba(80,111,184,.2);
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.button--white {
  background: var(--white);
  color: var(--blue-dark);
}

.button--outline-white {
  border: 1px solid rgba(255,255,255,.58);
  background: transparent;
  color: var(--white);
}

.reveal {
  transform: translateY(24px);
  opacity: 0;
  transition: transform .75s ease, opacity .75s ease;
}

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

.cover {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: auto;
  padding: 22px;
  background:
    radial-gradient(circle at 16% 18%, rgba(217,66,66,.26), transparent 29%),
    radial-gradient(circle at 84% 76%, rgba(242,194,48,.42), transparent 28%),
    radial-gradient(circle at 76% 12%, rgba(36,86,166,.20), transparent 24%),
    linear-gradient(145deg, #edf3ff, #fffaf2 55%, #fff3ef);
  transition: visibility .7s ease, opacity .7s ease;
}

.cover::before {
  content: "✦  ★  ✧  ✦  ★";
  position: absolute;
  top: 5%;
  left: -2%;
  color: rgba(36,86,166,.11);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: .2em;
  white-space: nowrap;
  transform: rotate(-5deg);
}

.cover.is-closed {
  visibility: hidden;
  opacity: 0;
}

.cover-card {
  position: relative;
  z-index: 2;
  width: min(92vw, 590px);
  padding: clamp(38px, 7vw, 68px);
  border: 2px solid rgba(111,143,214,.22);
  border-radius: 32px;
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(12px);
  animation: cover-in .9s ease both;
}

@keyframes cover-in {
  from { transform: translateY(22px) scale(.98); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.pencil-line {
  position: absolute;
  right: 35px;
  left: 35px;
  height: 4px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--red) 0 48px,
      var(--yellow) 48px 96px,
      var(--blue) 96px 144px
    );
  opacity: .8;
}

.pencil-line--top { top: 20px; }
.pencil-line--bottom { bottom: 20px; }

.school-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 18px;
  object-fit: contain;
}

.mini-title {
  margin: 0;
  color: var(--blue-dark);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .11em;
  line-height: 1.6;
  text-transform: uppercase;
}

.tiny-words {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 20px 0;
}

.tiny-words span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: .7rem;
  font-weight: 700;
}

.tiny-words span:nth-child(2) {
  background: var(--yellow-soft);
  color: #9b751a;
}

.tiny-words span:nth-child(3) {
  background: var(--red-soft);
  color: var(--red-dark);
}

.tiny-words span:nth-child(4) {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.cover h1 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1;
}

.cover h1 span,
.cover h1 strong {
  display: block;
}

.cover h1 span {
  color: var(--ink);
  font-size: clamp(4rem, 12vw, 7rem);
}

.cover h1 strong {
  margin-top: 35px;
  color: var(--red);
  font-size: clamp(3.5rem, 10vw, 6rem);
}

.cover-message {
  width: min(430px, 100%);
  margin: 31px auto 14px;
  color: var(--muted);
  line-height: 1.7;
}

.cover-date {
  margin: 0 0 27px;
  color: var(--ink);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.site {
  visibility: hidden;
  opacity: 0;
  transition: visibility .7s ease, opacity .7s ease;
}

.site.is-open {
  visibility: visible;
  opacity: 1;
}

.topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255,250,240,.9);
  backdrop-filter: blur(15px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.brand span { display: grid; }

.brand strong {
  font-family: var(--font-display);
  font-size: 1.24rem;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.topbar nav {
  display: flex;
  gap: 25px;
}

.topbar nav a {
  color: var(--ink);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: calc(100svh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, .9fr);
  align-items: center;
  gap: clamp(35px, 7vw, 100px);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-title {
  width: 100%;
  margin: 0;
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 7vw, 7rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  text-align: center;
}

.hero-title span {
  color: inherit;
}

.personal-greeting {
  width: min(540px, 100%);
  display: grid;
  gap: 3px;
  margin: 26px auto 0;
  padding: 18px 22px;
  border: 1px solid rgba(23, 63, 132, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 247, 214, 0.96),
      rgba(234, 241, 255, 0.94)
    );
  box-shadow: 0 12px 30px rgba(57, 75, 120, 0.09);
  text-align: left;
}

.personal-greeting__label {
  color: var(--blue-dark);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.personal-greeting__name {
  margin-top: 3px;
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 700;
  line-height: 1.1;
}

.personal-greeting__designation {
  color: #8f6b17;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
}

.personal-greeting__message {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
}

.lead {
  width: min(630px, 100%);
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.8;
}

.lead strong { color: var(--ink); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-art {
  position: relative;
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art img {
  width: 100%;
  max-width: 610px;
  height: auto;
  margin: 0 auto;
  transform: scale(1.35);
  transform-origin: center center;
  filter: drop-shadow(0 28px 32px rgba(57,75,120,.14));
}

.art-bubble {
  position: absolute;
  z-index: 3;
  padding: 8px 13px;
  border-radius: 17px 17px 17px 5px;
  box-shadow: 0 10px 22px rgba(57,75,120,.1);
  font-family: var(--font-display);
  font-size: clamp(.82rem, 1.6vw, 1.08rem);
  font-weight: 700;
}

.art-bubble--hello {
  top: 8%;
  left: 4%;
  background: var(--red-soft);
  color: var(--red-dark);
}

.art-bubble--create {
  top: 0;
  right: 13%;
  background: var(--yellow-soft);
  color: #96721a;
}

.art-bubble--shine {
  right: 0;
  bottom: 26%;
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.welcome { background: rgba(255,255,255,.7); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}

.value-card {
  min-height: 320px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(57,75,120,.07);
}

.value-card--red { background: var(--red-soft); }
.value-card--yellow { background: var(--yellow-soft); }
.value-card--blue { background: var(--blue-soft); }

.value-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin-bottom: 42px;
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
}

.value-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
}

.value-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.memories {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 15%, rgba(242,194,48,.16), transparent 24%),
    radial-gradient(circle at 92% 85%, rgba(36,86,166,.15), transparent 24%),
    var(--cream);
}

.memories::before {
  content: "✦  ✧  ★";
  position: absolute;
  top: 8%;
  right: 5%;
  color: rgba(36,86,166,.10);
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: .35em;
  transform: rotate(8deg);
  pointer-events: none;
}

.memories-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}

.memory-card {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border: 8px solid rgba(255,255,255,.88);
  border-radius: 28px;
  background: var(--white);
  box-shadow:
    0 20px 48px rgba(57,75,120,.13),
    inset 0 1px 0 rgba(255,255,255,.90);
  transform: rotate(-1deg);
  transition:
    transform .3s ease,
    box-shadow .3s ease;
}

.memory-card:nth-child(even) {
  transform: rotate(1deg);
}

.memory-card:hover {
  transform: translateY(-8px) rotate(0deg);
  box-shadow:
    0 28px 60px rgba(57,75,120,.18),
    0 0 30px rgba(242,194,48,.10);
}

.memory-card::after {
  content: "✦";
  position: absolute;
  top: 13px;
  right: 16px;
  color: rgba(255,255,255,.90);
  font-size: 1.1rem;
  text-shadow: 0 3px 12px rgba(36,49,79,.28);
  pointer-events: none;
}

.memory-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform .45s ease;
}

.memory-card:hover img {
  transform: scale(1.06);
}

.details {
  background:
    radial-gradient(circle at 12% 10%, rgba(255,255,255,.15), transparent 25%),
    radial-gradient(circle at 88% 90%, rgba(242,194,48,.24), transparent 26%),
    radial-gradient(circle at 90% 8%, rgba(217,66,66,.22), transparent 20%),
    var(--blue);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}

.detail-card {
  min-height: 280px;
  padding: 34px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 28px;
  background: rgba(255,255,255,.11);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.detail-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 38px;
  border-radius: 22px;
  background: rgba(255,255,255,.18);
  font-size: 1.7rem;
}

.detail-card span {
  display: block;
  margin-bottom: 11px;
  color: rgba(255,255,255,.75);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.detail-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.15;
}

.detail-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}


.closing { text-align: center; }

.closing-card {
  width: min(800px, 100%);
  margin: auto;
  padding: clamp(45px, 7vw, 75px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.closing-stars {
  color: var(--yellow);
  letter-spacing: .4em;
}

.closing h2 {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  line-height: 1;
}

.closing p {
  margin: 21px 0 28px;
  color: var(--muted);
  line-height: 1.75;
}

.share-status {
  min-height: 20px;
  margin-bottom: 0 !important;
  color: var(--blue-dark) !important;
  font-size: .75rem;
  font-weight: 700;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 6vw, 90px);
  background: var(--ink);
  color: var(--white);
}

footer > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

footer img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

footer p {
  display: grid;
  gap: 2px;
  margin: 0;
}

footer strong { font-family: var(--font-display); }

footer span {
  color: rgba(255,255,255,.55);
  font-size: .65rem;
}

footer a {
  color: var(--yellow);
  font-size: .7rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 950px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    overflow: hidden;
  }

  .hero > * {
    min-width: 0;
  }

  .hero-copy {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
  }

  .lead {
    width: 100%;
    max-width: 630px;
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-art {
    width: 100%;
    max-width: 620px;
    margin: 42px auto 0;
  }

  .hero-art img {
    width: 100%;
    max-width: 520px;
    transform: scale(1.15);
  }

  .value-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .memories-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 70px;
  }

  .topbar {
    min-height: 70px;
    padding: 0 14px;
  }

  .topbar nav {
    gap: 12px;
  }

  .topbar nav a {
    font-size: .57rem;
    letter-spacing: .07em;
  }

  .brand {
    gap: 7px;
  }

  .brand img {
    width: 39px;
    height: 39px;
  }

  .brand strong {
    font-size: 1.08rem;
  }

  .section {
    padding: 76px 18px;
  }

  .cover {
    padding: 14px;
  }

  .cover-card {
    width: 100%;
    padding: 42px 22px;
    border-radius: 26px;
  }

  .school-logo {
    width: 82px;
    height: 82px;
  }

  .cover h1 span {
    font-size: clamp(3.5rem, 18vw, 5rem);
  }

  .cover h1 strong {
    margin-top: 28px;
    font-size: clamp(3.15rem, 16vw, 4.6rem);
  }

  .hero {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 82px 18px 72px;
    overflow: hidden;
  }

  .hero-copy {
    width: 100%;
    min-width: 0;
    max-width: none;
    text-align: center;
  }

  .hero-title {
    width: 100%;
    font-size: clamp(3.25rem, 17vw, 4.8rem);
    line-height: 1.15;
  }

  .hero-title span {
    color: inherit;
  }

  .personal-greeting {
    width: min(500px, 100%);
    margin-top: 22px;
    padding: 16px 18px;
    text-align: center;
  }

  .personal-greeting__name {
    font-size: clamp(1.45rem, 8vw, 1.9rem);
  }

  .lead {
    width: 100%;
    max-width: none;
    margin-top: 26px;
    font-size: 1rem;
    line-height: 1.75;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin-top: 28px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-art {
    width: 100%;
    max-width: 430px;
    min-width: 0;
    margin: 30px auto 0;
  }

  .hero-art img {
    width: 100%;
    max-width: 390px;
    transform: scale(1.08);
  }

  .art-bubble {
    padding: 6px 9px;
    font-size: .69rem;
  }

  .art-bubble--hello {
    top: 4%;
    left: 2%;
  }

  .art-bubble--create {
    top: -2%;
    right: 7%;
  }

  .art-bubble--shine {
    right: 1%;
    bottom: 20%;
  }

  .section-heading h2 {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
  }

  .value-card,
  .detail-card {
    min-height: auto;
    padding: 28px;
  }

  .memories-grid {
    grid-template-columns: 1fr;
  }

  .memory-card,
  .memory-card:nth-child(even) {
    min-height: 230px;
    transform: none;
  }

  .memory-card img {
    min-height: 230px;
  }

  .value-icon {
    margin-bottom: 28px;
  }

  .closing-card {
    padding: 42px 22px;
    border-radius: 26px;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .floating-symbols {
    display: none;
  }
}