:root {
  color-scheme: light;
  --bg: #f3f6fb;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-soft: #e9eef7;
  --text: #12233d;
  --text-soft: #526277;
  --line: rgba(18, 35, 61, 0.12);
  --navy: #133a84;
  --navy-deep: #0a2351;
  --blue: #2d61cf;
  --blue-soft: #dce7ff;
  --shadow: 0 24px 60px rgba(12, 27, 59, 0.16);
  --shadow-soft: 0 18px 34px rgba(12, 27, 59, 0.1);
  --radius-xl: 2rem;
  --radius-lg: 1.4rem;
  --radius-md: 1rem;
  --max-width: 1180px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-harvard: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 260ms var(--ease-out);
  --transition-long: 820ms var(--ease-out);
}

html {
  scroll-behavior: smooth;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #081425;
  --surface: rgba(8, 20, 37, 0.82);
  --surface-strong: #0d1d35;
  --surface-soft: #132846;
  --text: #edf3fb;
  --text-soft: #afc0d7;
  --line: rgba(237, 243, 251, 0.12);
  --navy: #9fc0ff;
  --navy-deep: #e7efff;
  --blue: #74a5ff;
  --blue-soft: rgba(116, 165, 255, 0.14);
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 18px 34px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Noto Sans TC", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(45, 97, 207, 0.12), transparent 32%),
    radial-gradient(circle at top right, rgba(19, 58, 132, 0.12), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 28%, var(--bg) 100%);
  color: var(--text);
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at top left, rgba(116, 165, 255, 0.18), transparent 26%),
    radial-gradient(circle at top right, rgba(116, 165, 255, 0.1), transparent 24%),
    linear-gradient(180deg, #06101f 0%, var(--bg) 28%, var(--bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.announcement-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem max(1.5rem, calc((100vw - var(--max-width)) / 2 + 1.5rem));
  background: var(--navy-deep);
  color: #f7fbff;
  font-size: 0.92rem;
}

.announcement-bar p {
  margin: 0;
}

.announcement-bar__link {
  color: #dfeaff;
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem max(1.5rem, calc((100vw - var(--max-width)) / 2 + 1.5rem));
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition:
    background var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 38px rgba(12, 27, 59, 0.08);
  border-color: rgba(18, 35, 61, 0.1);
}

html[data-theme="dark"] .site-header {
  background: rgba(8, 20, 37, 0.82);
}

html[data-theme="dark"] .site-header.is-scrolled {
  background: rgba(8, 20, 37, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  border-color: rgba(237, 243, 251, 0.11);
}

.top-cta-ribbon {
  position: sticky;
  top: 5.25rem;
  z-index: 28;
  padding: 0.72rem max(1rem, calc((100vw - var(--max-width)) / 2 + 1.5rem));
  background:
    linear-gradient(90deg, rgba(10, 35, 81, 0.98) 0%, rgba(19, 58, 132, 0.96) 48%, rgba(45, 97, 207, 0.98) 100%);
  box-shadow: 0 18px 42px rgba(12, 27, 59, 0.24);
}

.top-cta-ribbon__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max-width), 100%);
  margin-inline: auto;
}

.top-cta-ribbon__copy p,
.top-cta-ribbon__copy strong {
  margin: 0;
}

.top-cta-ribbon__copy p {
  color: rgba(247, 251, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  font-weight: 800;
}

.top-cta-ribbon__copy strong {
  display: block;
  margin-top: 0.16rem;
  color: #ffffff;
  font-size: clamp(0.98rem, 1.4vw, 1.18rem);
  line-height: 1.32;
}

.top-cta-ribbon__button {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.82rem 1.25rem;
  border-radius: 999px;
  background: #ffffff;
  color: #0a2351;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition);
  animation: ctaPulse 2.8s var(--ease-harvard) infinite;
}

.top-cta-ribbon__button:hover {
  transform: translateY(-2px) scale(1.02);
  background: #f7fbff;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .top-cta-ribbon {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}

.brand__logo {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
}

.brand__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand__eyebrow,
.section-eyebrow,
.info-card__eyebrow,
.hero__feature-eyebrow,
.statement-band__eyebrow,
.update-card__tag,
.profile-card__label,
.contact-card__label,
.menu-drawer__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
}

.brand__name,
.site-footer__brand {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.15;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--text-soft);
  transition: color var(--transition);
}

.site-nav a:hover,
.announcement-bar__link:hover,
.site-footer__meta a:hover {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.header-toggle,
.menu-toggle,
.menu-close {
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
  border-radius: 999px;
  padding: 0.72rem 1rem;
  cursor: pointer;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.header-toggle:hover,
.menu-toggle:hover,
.menu-close:hover,
.button:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
}

.menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(5, 10, 20, 0.42);
  backdrop-filter: blur(8px);
}

.menu-drawer__panel {
  margin-left: auto;
  width: min(25rem, 88vw);
  min-height: 100%;
  padding: 1.5rem;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.menu-drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.menu-drawer__nav {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.menu-drawer__nav a {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.15rem;
  font-weight: 600;
}

.hero,
.info-rail,
.section,
.statement-band,
.site-footer {
  width: min(var(--max-width), calc(100vw - 3rem));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  gap: 3rem;
  padding: 4.25rem 0 3rem;
  align-items: center;
}

.hero__copy h1,
.section-heading h2,
.statement-band h2,
.make-yours__content h2,
.contact__content h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.hero__copy h1 {
  margin-top: 1rem;
  font-size: clamp(3rem, 5vw, 5rem);
}

.hero__caption,
.section-intro,
.story__content p,
.statement-band p,
.update-card p,
.profile-card p,
.profile-card__list,
.info-card p,
.make-yours__form,
.contact__content p,
.contact-card__value,
.site-footer__tagline,
.site-footer__meta p {
  color: var(--text-soft);
  line-height: 1.75;
}

.hero__caption {
  margin: 1.35rem 0 0;
  max-width: 41rem;
  font-size: 1.08rem;
}

.hero__actions,
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.45rem;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.button--primary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.button--secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.hero__feature-card,
.info-card,
.story__content,
.media-showcase,
.gallery-card,
.update-card,
.profile-card,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.hero__feature-card {
  margin-top: 2rem;
  padding: 1.35rem 1.4rem 1.45rem;
  border-radius: var(--radius-lg);
  max-width: 33rem;
}

.hero__feature-card h2 {
  margin: 0.55rem 0 0;
  font-size: 1.3rem;
  line-height: 1.25;
}

.hero__feature-card p {
  margin: 0.7rem 0 0;
  color: var(--text-soft);
}

.hero__panel {
  position: relative;
  min-height: 42rem;
}

.hero__media-stack {
  position: relative;
  min-height: 42rem;
  transition: transform 160ms linear;
}

.hero__seal-bg {
  position: absolute;
  inset: 2.5rem 3rem 0 1rem;
  border-radius: 2.4rem;
  background:
    linear-gradient(180deg, rgba(19, 58, 132, 0.14) 0%, rgba(19, 58, 132, 0.04) 100%),
    var(--surface-strong);
  border: 1px solid rgba(19, 58, 132, 0.14);
}

.hero__crest-mark {
  position: absolute;
  top: 0;
  right: 1.8rem;
  width: 8.2rem;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1.7rem;
  box-shadow: var(--shadow);
  z-index: 3;
  animation: crestFloat 12s var(--ease-harvard) infinite alternate;
}

.hero__media-card {
  position: absolute;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: var(--shadow);
  transition:
    transform 500ms var(--ease-harvard),
    box-shadow 500ms var(--ease-harvard);
}

.hero__media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 58, 132, 0) 25%, rgba(10, 35, 81, 0.18) 100%);
}

.hero__media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.025);
  transition: transform 500ms var(--ease-harvard);
}

.hero__media-stack:hover .hero__media-card--primary {
  transform: translateY(-0.45rem);
  box-shadow: 0 32px 72px rgba(12, 27, 59, 0.24);
}

.hero__media-stack:hover .hero__media-card--secondary {
  transform: translateY(-0.25rem) translateX(0.25rem);
}

.hero__media-stack:hover .hero__media-card img {
  transform: scale(1.05);
}

.hero__media-card--primary {
  top: 4.5rem;
  left: 0;
  width: min(31rem, 100%);
  height: 25rem;
}

.hero__media-card--secondary {
  right: 0;
  bottom: 5.5rem;
  width: 16rem;
  height: 17rem;
  z-index: 2;
}

.hero__fact-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 58, 132, 0.12);
  border-radius: 1.15rem;
  box-shadow: var(--shadow-soft);
  padding: 0.95rem 1rem;
  max-width: 16rem;
  z-index: 4;
  transition:
    transform 520ms var(--ease-out),
    box-shadow 520ms var(--ease-out),
    border-color 520ms var(--ease-out);
}

.hero__fact-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 24px 48px rgba(12, 27, 59, 0.18);
}

html[data-theme="dark"] .hero__fact-card {
  background: rgba(8, 20, 37, 0.92);
  border-color: rgba(231, 239, 255, 0.12);
}

html[data-theme="dark"] .hero__map-card {
  border-color: rgba(231, 239, 255, 0.14);
  background: rgba(8, 20, 37, 0.9);
}

.hero__fact-card strong {
  display: block;
  margin-top: 0.35rem;
  line-height: 1.4;
}

.hero__map-card {
  display: block;
  margin-top: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(19, 58, 132, 0.16);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.82);
  color: inherit;
}

.hero__map-preview {
  position: relative;
  height: 8.7rem;
  overflow: hidden;
  background: #e7f0ff;
}

.hero__map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 48%;
}

.hero__map-caption {
  display: block;
  padding: 0.52rem 0.62rem;
  background: rgba(10, 35, 81, 0.88);
  color: #f7fbff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__fact-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.hero__fact-card--left {
  left: 1rem;
  bottom: 7.25rem;
  width: 18rem;
  max-width: 18rem;
}

.hero__fact-card--right {
  right: 1.5rem;
  top: 18rem;
}

.hero__fact-card--bottom {
  left: 10rem;
  bottom: 1rem;
  max-width: 18rem;
}

.info-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.info-card {
  border-radius: 1.35rem;
  padding: 1.45rem;
  transition:
    transform 520ms var(--ease-out),
    box-shadow 520ms var(--ease-out),
    border-color 520ms var(--ease-out);
}

.info-card:hover,
.update-card:hover,
.profile-card:hover,
.contact-card:hover {
  transform: translateY(-0.35rem);
  border-color: rgba(45, 97, 207, 0.24);
  box-shadow: 0 26px 52px rgba(12, 27, 59, 0.14);
}

.info-card h2 {
  margin: 0.55rem 0 0;
  font-size: 1.35rem;
  line-height: 1.22;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.section {
  padding: 4.75rem 0;
  scroll-margin-top: 9rem;
}

.section-heading {
  max-width: 46rem;
}

.section-heading h2 {
  margin-top: 0.7rem;
  font-size: clamp(2.4rem, 4vw, 3.75rem);
}

.section-intro {
  margin: 1rem 0 0;
  font-size: 1.03rem;
}

.story__grid,
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.95fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.story__content,
.contact-card {
  border-radius: 1.6rem;
  padding: 1.7rem;
}

.story__list {
  margin: 1.4rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-soft);
}

.story__list li + li {
  margin-top: 0.8rem;
}

.media-showcase {
  position: relative;
  border-radius: 1.9rem;
  padding: 1rem;
  transition:
    transform 620ms var(--ease-out),
    box-shadow 620ms var(--ease-out);
}

.media-showcase:hover {
  transform: translateY(-0.35rem);
  box-shadow: 0 30px 58px rgba(12, 27, 59, 0.16);
}

.media-showcase__video {
  overflow: hidden;
  border-radius: 1.4rem;
  background: #05101c;
}

.media-showcase__video-el {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 500ms var(--ease-harvard);
}

.media-showcase:hover .media-showcase__video-el {
  transform: scale(1.05);
}

.media-showcase__badge {
  position: absolute;
  right: 1.4rem;
  bottom: 4.8rem;
  width: 5.7rem;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
  border: 3px solid rgba(255, 255, 255, 0.88);
}

.media-showcase__caption {
  margin: 1rem 0 0;
  padding-right: 6rem;
  color: var(--text-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1.35rem;
  margin-top: 2rem;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.7rem;
  min-height: 19rem;
  transition:
    transform 500ms var(--ease-harvard),
    box-shadow 500ms var(--ease-harvard),
    border-color 500ms var(--ease-harvard);
}

.gallery-card:hover {
  transform: translateY(-0.45rem);
  box-shadow: 0 30px 58px rgba(12, 27, 59, 0.18);
}

.gallery-card--large {
  grid-row: span 2;
  min-height: 40rem;
}

.gallery-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 500ms var(--ease-harvard);
}

.gallery-card:hover .gallery-card__image {
  transform: scale(1.05);
}

.gallery-card__image--top {
  object-position: center top;
}

.gallery-card__image--contain {
  object-fit: contain;
  padding: 2rem;
  background:
    radial-gradient(circle at top, rgba(45, 97, 207, 0.12), transparent 56%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(230, 236, 247, 0.98) 100%);
}

html[data-theme="dark"] .gallery-card__image--contain {
  background:
    radial-gradient(circle at top, rgba(116, 165, 255, 0.18), transparent 56%),
    linear-gradient(180deg, rgba(9, 22, 41, 0.98) 0%, rgba(14, 30, 53, 0.98) 100%);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 37, 0.06) 32%, rgba(8, 20, 37, 0.78) 100%);
  transition: opacity 600ms var(--ease-out);
}

.gallery-card:hover::after {
  opacity: 0.9;
}

.gallery-card__overlay {
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 1;
  color: #f7fbff;
  transform: translateY(0.25rem);
  transition: transform 600ms var(--ease-out);
}

.gallery-card:hover .gallery-card__overlay {
  transform: translateY(0);
}

.gallery-card__label {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  background: rgba(10, 35, 81, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  color: #f7fbff;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
}

.gallery-card__overlay h3,
.update-card h3,
.profile-card h3 {
  margin: 0.5rem 0 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.38rem;
  line-height: 1.2;
}

.gallery-card__text {
  margin: 0.7rem 0 0;
  color: rgba(247, 251, 255, 0.82);
  line-height: 1.55;
}

.gallery-card--facebook {
  color: inherit;
}

.statement-band {
  padding: 3rem;
  border-radius: 2rem;
  background:
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--blue) 100%);
  color: #f7fbff;
  box-shadow: var(--shadow);
}

.statement-band .statement-band__eyebrow,
.statement-band p {
  color: rgba(247, 251, 255, 0.82);
}

.statement-band h2 {
  margin-top: 0.9rem;
  font-size: clamp(2.1rem, 3vw, 3rem);
}

.statement-band p {
  margin: 1rem 0 0;
  max-width: 47rem;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  margin-top: 2rem;
}

.update-card {
  border-radius: 1.5rem;
  padding: 1.6rem;
  transition:
    transform 520ms var(--ease-out),
    box-shadow 520ms var(--ease-out),
    border-color 520ms var(--ease-out);
}

.profile {
  position: relative;
}

.profile::before {
  content: "";
  position: absolute;
  inset: 2.7rem -1.5rem 1.75rem;
  z-index: -1;
  border-radius: 2.7rem;
  background:
    linear-gradient(135deg, rgba(45, 97, 207, 0.08), rgba(255, 255, 255, 0.48) 42%, rgba(19, 58, 132, 0.08)),
    radial-gradient(circle at 88% 16%, rgba(45, 97, 207, 0.16), transparent 28%);
  border: 1px solid rgba(45, 97, 207, 0.08);
}

html[data-theme="dark"] .profile::before {
  background:
    linear-gradient(135deg, rgba(116, 165, 255, 0.1), rgba(8, 20, 37, 0.5) 42%, rgba(116, 165, 255, 0.08)),
    radial-gradient(circle at 88% 16%, rgba(116, 165, 255, 0.16), transparent 28%);
  border-color: rgba(231, 239, 255, 0.08);
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.profile-card {
  position: relative;
  overflow: hidden;
  min-height: 15.25rem;
  padding: 1.6rem;
  border-radius: 1.55rem;
  transition:
    transform 520ms var(--ease-out),
    box-shadow 520ms var(--ease-out),
    border-color 520ms var(--ease-out);
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue), rgba(45, 97, 207, 0));
  opacity: 0.72;
}

.profile-card > * {
  position: relative;
  z-index: 1;
}

.profile-card p {
  margin: 0.72rem 0 0;
}

.profile-card--wide {
  grid-column: 1 / -1;
}

.profile-card--verify {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(20rem, 1.18fr);
  gap: 0.3rem 2rem;
  min-height: 0;
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(10, 35, 81, 0.96) 0%, rgba(19, 58, 132, 0.92) 52%, rgba(45, 97, 207, 0.86) 100%);
  color: #f7fbff;
}

.profile-card--verify::before {
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0));
}

.profile-card--verify .profile-card__label,
.profile-card--verify h3 {
  grid-column: 1;
}

.profile-card--verify > p:not(.profile-card__label),
.profile-card--verify .profile-card__list {
  grid-column: 2;
}

.profile-card--verify .profile-card__label,
.profile-card--verify p,
.profile-card--verify .profile-card__list {
  color: rgba(247, 251, 255, 0.82);
}

.profile-card__list {
  margin: 0.72rem 0 0;
  padding-left: 1.1rem;
}

.profile-card__list li + li {
  margin-top: 0.55rem;
}

.make-yours__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(24rem, 1.26fr);
  gap: 2rem;
  overflow: hidden;
  padding: clamp(1.35rem, 3vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2.4rem;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(10, 35, 81, 0.98) 0%, rgba(19, 58, 132, 0.94) 48%, rgba(45, 97, 207, 0.86) 100%);
  box-shadow: var(--shadow);
  color: #f7fbff;
}

.make-yours__panel::after {
  content: "";
  position: absolute;
  right: -7rem;
  bottom: -8rem;
  width: 21rem;
  height: 21rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.make-yours__panel::before {
  content: "";
  position: absolute;
  left: clamp(1.5rem, 5vw, 4rem);
  bottom: clamp(2rem, 5vw, 4rem);
  width: min(20rem, 34vw);
  aspect-ratio: 1;
  border-radius: 3.5rem;
  background:
    linear-gradient(180deg, rgba(10, 35, 81, 0.22), rgba(10, 35, 81, 0.22)),
    url("./assets/delbert-logo.jpg") center / cover;
  opacity: 0.18;
  filter: saturate(0.8);
}

.make-yours__content,
.make-yours__form {
  position: relative;
  z-index: 1;
}

.make-yours__content {
  align-self: start;
  padding-top: 0.5rem;
}

.make-yours__content .section-eyebrow,
.make-yours__content p {
  color: rgba(247, 251, 255, 0.82);
}

.make-yours__content h2 {
  margin-top: 0.75rem;
  font-size: clamp(2.25rem, 3.6vw, 3.55rem);
}

.make-yours__content > p {
  margin: 1rem 0 0;
  max-width: 38rem;
}

.make-yours__steps {
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
}

.make-yours__steps article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.make-yours__steps span {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 700;
  color: #ffffff;
}

.make-yours__steps p {
  margin: 0;
  line-height: 1.55;
}

.make-yours__form {
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.15rem, 2vw, 1.55rem);
  border: 1px solid var(--line);
  border-radius: 1.65rem;
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
  color: var(--text);
}

.questionnaire-section {
  display: grid;
  gap: 1rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.questionnaire-section:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

.questionnaire-section h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.18;
  color: var(--text);
}

.make-yours__field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.make-yours__form label {
  display: grid;
  gap: 0.48rem;
}

.make-yours__form label > span {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--blue);
}

.make-yours__form input,
.make-yours__form select,
.make-yours__form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.92rem 1rem;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.make-yours__form select {
  min-height: 3.25rem;
}

.make-yours__form textarea {
  resize: vertical;
}

.make-yours__form input::placeholder,
.make-yours__form textarea::placeholder {
  color: rgba(82, 98, 119, 0.72);
}

html[data-theme="dark"] .make-yours__form input::placeholder,
html[data-theme="dark"] .make-yours__form textarea::placeholder {
  color: rgba(175, 192, 215, 0.64);
}

.make-yours__form input:focus,
.make-yours__form select:focus,
.make-yours__form textarea:focus {
  border-color: rgba(45, 97, 207, 0.54);
  box-shadow: 0 0 0 4px rgba(45, 97, 207, 0.12);
}

.make-yours__submit-row .button[disabled] {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.make-yours__submit-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.make-yours__status {
  flex: 1 1 14rem;
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.make-yours__status[data-tone="success"] {
  color: #1c7a4a;
}

.make-yours__status[data-tone="error"] {
  color: #b33131;
}

html[data-theme="dark"] .make-yours__status[data-tone="success"] {
  color: #8ee0b3;
}

html[data-theme="dark"] .make-yours__status[data-tone="error"] {
  color: #ff9f9f;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@keyframes ctaPulse {
  0%,
  100% {
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22), 0 0 0 0 rgba(255, 255, 255, 0.32);
  }

  50% {
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22), 0 0 0 8px rgba(255, 255, 255, 0);
  }
}

.contact__content {
  padding-right: 1rem;
}

.contact-card {
  display: grid;
  gap: 1.2rem;
  transition:
    transform 520ms var(--ease-out),
    box-shadow 520ms var(--ease-out),
    border-color 520ms var(--ease-out);
}

.contact-card__row + .contact-card__row {
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.contact-card__label,
.contact-card__value {
  margin: 0;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.5rem 0 3.5rem;
  border-top: 1px solid var(--line);
}

.site-footer__tagline,
.site-footer__meta p {
  margin: 0.45rem 0 0;
}

.site-footer__meta {
  text-align: right;
}

.reveal {
  opacity: 0.01;
  transform: translateY(120px);
  transition:
    opacity 1.05s var(--ease-harvard),
    transform 1.05s var(--ease-harvard);
  transition-delay: var(--reveal-exit-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--reveal-enter-delay, 0ms);
}

@keyframes crestFloat {
  from {
    transform: translateY(0) rotate(-0.35deg);
  }

  to {
    transform: translateY(-0.18rem) rotate(0.35deg);
  }
}

@media (max-width: 1080px) {
  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero,
  .story__grid,
  .contact__grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .make-yours__panel {
    grid-template-columns: 1fr;
  }

  .hero__panel {
    min-height: 38rem;
  }

  .gallery-card--large {
    grid-row: auto;
    min-height: 24rem;
  }
}

@media (max-width: 900px) {
  .announcement-bar,
  .site-header {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .top-cta-ribbon {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero,
  .info-rail,
  .section,
  .statement-band,
  .site-footer {
    width: calc(100vw - 2rem);
  }

  .section {
    scroll-margin-top: 14rem;
  }

  .hero {
    padding-top: 3rem;
    gap: 2rem;
  }

  .hero__copy h1 {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .hero__panel,
  .hero__media-stack {
    min-height: 34rem;
  }

  .hero__media-card--primary {
    width: min(100%, 25rem);
    height: 21rem;
  }

  .hero__media-card--secondary {
    width: 12rem;
    height: 13rem;
  }

  .hero__crest-mark {
    width: 6rem;
  }

  .hero__fact-card--left {
    left: 0;
    bottom: 7rem;
  }

  .hero__fact-card--right {
    right: 0;
    top: 16rem;
  }

  .hero__fact-card--bottom {
    left: 5rem;
  }

  .info-rail,
  .updates-grid,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile::before {
    inset: 2.4rem 0 1rem;
  }

  .profile-card--verify {
    grid-template-columns: 1fr;
  }

  .profile-card--verify .profile-card__label,
  .profile-card--verify h3,
  .profile-card--verify > p:not(.profile-card__label),
  .profile-card--verify .profile-card__list {
    grid-column: 1;
  }

  .make-yours__field-grid {
    grid-template-columns: 1fr;
  }

  .statement-band {
    padding: 2rem 1.35rem;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer__meta {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .announcement-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .top-cta-ribbon {
    top: 8.25rem;
  }

  .top-cta-ribbon__inner {
    align-items: stretch;
    flex-direction: column;
    gap: 0.75rem;
  }

  .top-cta-ribbon__button {
    width: 100%;
  }

  .brand {
    width: 100%;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .header-toggle,
  .menu-toggle {
    padding-inline: 0.9rem;
  }

  .hero__panel,
  .hero__media-stack {
    min-height: 29rem;
  }

  .hero__seal-bg {
    inset: 2.2rem 0 0 0;
  }

  .hero__media-card--primary {
    top: 4rem;
    height: 18rem;
  }

  .hero__media-card--secondary {
    width: 9.5rem;
    height: 10rem;
    bottom: 6rem;
  }

  .hero__fact-card {
    max-width: 11rem;
    padding: 0.8rem 0.85rem;
  }

  .hero__fact-card--left {
    width: 14.5rem;
    max-width: 14.5rem;
  }

  .hero__map-preview {
    height: 6.6rem;
  }

  .hero__fact-card--right {
    top: 14rem;
  }

  .hero__fact-card--bottom {
    left: 0;
    bottom: 0;
    max-width: 14rem;
  }

  .media-showcase {
    padding: 0.8rem;
  }

  .media-showcase__badge {
    width: 4.6rem;
    right: 1rem;
    bottom: 4rem;
  }

  .media-showcase__caption {
    padding-right: 0;
  }
}

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

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

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