:root {
  --ink: #1e232b;
  --paper: #f2f2f2;
  --red: #b41e23;
  --cool-gray: #a7acb3;
  --shadow: 0 24px 70px rgba(30, 35, 43, 0.2);
  --intro-shift-x: clamp(-10.2rem, -11.2vw, -7.2rem);
  --intro-origin-y: clamp(5.8rem, 10svh, 6.25rem);
  --intro-shift-y: calc(-50svh + var(--intro-origin-y));
  --intro-origin-x: calc(50% + var(--intro-shift-x));
  --intro-brand-left: 50%;
  --intro-brand-top: 50%;
  --intro-brand-width: min(420px, 74vw);
  --intro-start-x: 0px;
  --intro-start-y: 0px;
  --intro-start-scale: 2;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 30;
  top: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 0.35rem;
  background: white;
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-180%);
}

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

.cinematic-intro {
  position: fixed;
  z-index: 100;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  animation: cinematic-layer-exit 4.55s linear both;
}

.cinematic-intro__veil {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: #fff;
  animation: cinematic-veil-release 3.15s 0.05s cubic-bezier(0.65, 0, 0.35, 1) both;
}

.cinematic-intro__mark {
  position: absolute;
  z-index: 4;
  top: var(--intro-brand-top);
  left: var(--intro-brand-left);
  width: var(--intro-brand-width);
  clip-path: inset(0 79.847% 0 0);
  opacity: 0;
  scale: var(--intro-start-scale);
  transform-origin: 10.0765% 50%;
  translate: var(--intro-start-x) var(--intro-start-y);
  will-change: opacity, translate, scale, clip-path, filter;
  animation: cinematic-mark-flight 3.28s 0.08s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.cinematic-intro__mark img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0.8rem 1.8rem rgba(255, 255, 255, 0.76));
}

.cinematic-intro__flow,
.cinematic-intro__beam {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) translate(var(--intro-shift-x), var(--intro-shift-y));
  pointer-events: none;
}

.cinematic-intro__flow {
  width: 5rem;
  aspect-ratio: 1;
  border: 1px solid rgba(180, 30, 35, 0.46);
  border-radius: 50%;
}

.cinematic-intro__flow--one {
  animation: cinematic-flow-open 1.2s 1.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.cinematic-intro__flow--two {
  border-color: rgba(167, 172, 179, 0.62);
  animation: cinematic-flow-open 1.4s 2.08s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.cinematic-intro__beam {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180, 30, 35, 0.84) 38%, rgba(180, 30, 35, 0.84) 62%, transparent);
  box-shadow: 0 0 1.4rem rgba(180, 30, 35, 0.18);
  animation: cinematic-beam-open 1.18s 1.98s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.entry-ocean {
  position: fixed;
  z-index: -2;
  inset: -4%;
  overflow: hidden;
  background: var(--paper) url("../img/entry-water-morning-v2.jpg") center / cover no-repeat;
  clip-path: circle(0 at var(--intro-origin-x) var(--intro-origin-y));
  opacity: 0;
  pointer-events: none;
  animation: cinematic-stage-open 1.55s 1.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.entry-ocean__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: saturate(0.84) contrast(0.96) brightness(1.03);
  object-fit: cover;
}

.entry-ocean::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(242, 242, 242, 0.04) 48%, rgba(242, 242, 242, 0.36) 100%),
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.3), transparent 30rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 30%, transparent 70%, rgba(255, 255, 255, 0.12));
  content: "";
}

.entry-shell {
  position: relative;
  isolation: isolate;
  width: min(1240px, calc(100% - 2.5rem));
  min-height: calc(100vh - 4.5rem);
  margin: 0 auto;
  padding: clamp(2rem, 4.8vw, 4rem) 0 1.4rem;
  clip-path: circle(0 at var(--intro-origin-x) var(--intro-origin-y));
  opacity: 0;
  animation: cinematic-stage-open 1.55s 1.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.entry-intro {
  display: grid;
  justify-items: center;
  text-align: center;
}

.entry-brand {
  position: relative;
  width: min(420px, 74vw);
  padding: 0.9rem;
  transform-origin: center 30%;
  animation: cinematic-lockup-form 1.05s 2.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.entry-brand img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0.8rem 1.8rem rgba(255, 255, 255, 0.76));
}

.entry-brand__horizon {
  position: absolute;
  right: 6%;
  bottom: 0.35rem;
  left: 6%;
  height: 1px;
  overflow: hidden;
  background: linear-gradient(90deg, transparent, rgba(180, 30, 35, 0.82), transparent);
  box-shadow: 0 0 1.4rem rgba(180, 30, 35, 0.16);
  opacity: 0;
  transform: scaleX(0.15);
  animation: horizon-open 1.35s 0.42s ease-out both;
}

.entry-copy {
  margin-top: clamp(1rem, 2.2vw, 1.8rem);
}

.entry-kicker {
  margin: 0 0 0.65rem;
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: cinematic-copy-write 0.7s 2.68s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.entry-copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 5.35rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
  text-shadow: 0 0.18rem 1.5rem rgba(255, 255, 255, 0.8);
  animation: cinematic-copy-write 0.88s 2.82s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.entry-copy > p:last-child {
  margin: 0.9rem 0 0;
  color: rgba(30, 35, 43, 0.76);
  font-size: clamp(1.1rem, 1.8vw, 1.32rem);
  animation: cinematic-copy-rise 0.7s 3.08s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.entry-choices {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(4rem, 8vw, 7.2rem) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  margin-top: clamp(2rem, 4vw, 3.4rem);
}

.entry-choices::before {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  width: 100%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.5) 34%, rgba(180, 30, 35, 0.14) 68%, transparent);
  filter: blur(18px);
  content: "";
  opacity: 0.74;
  pointer-events: none;
}

.entry-card {
  position: relative;
  grid-row: 1;
  display: grid;
  grid-template-rows: clamp(270px, 24vw, 330px) auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  text-decoration: none;
  transform: translateZ(0);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 360ms cubic-bezier(0.16, 1, 0.3, 1), opacity 220ms ease;
}

.entry-card--care {
  grid-column: 1;
  animation: cinematic-card-left 0.95s 3.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.entry-card--personal {
  grid-column: 3;
  animation: cinematic-card-right 0.95s 3.44s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.entry-card::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  border: 2px solid transparent;
  border-radius: inherit;
  content: "";
  transition: border-color 180ms ease, box-shadow 180ms ease;
  pointer-events: none;
}

.entry-card > img {
  position: relative;
  grid-row: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) brightness(1.04);
  transition: transform 780ms cubic-bezier(0.16, 1, 0.3, 1), filter 300ms ease;
}

.entry-card__ai-note {
  position: absolute;
  right: 0.72rem;
  bottom: 0.62rem;
  z-index: 4;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-shadow: 0 1px 7px rgba(0, 0, 0, 0.86), 0 0 2px rgba(0, 0, 0, 0.8);
}

.entry-card--care > img {
  object-position: 72% center;
}

.entry-card--personal > img {
  object-position: center 58%;
}

.entry-card__shade {
  display: none;
}

.entry-card__tide {
  display: none;
}

.entry-card__content {
  position: relative;
  z-index: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.62rem;
  padding: clamp(1.5rem, 2.6vw, 2rem) clamp(1.35rem, 3.2vw, 2.2rem);
}

.entry-card__label {
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.entry-card__content strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  font-weight: 500;
  line-height: 1.02;
  text-wrap: balance;
}

.entry-card__content > span:not(.entry-card__label, .entry-card__action) {
  max-width: 35rem;
  color: rgba(30, 35, 43, 0.78);
  font-size: 1rem;
  line-height: 1.55;
}

.entry-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  width: min(100%, 17.5rem);
  margin-top: auto;
  padding: 0.85rem 0 0.15rem;
  border-top: 2px solid var(--red);
  font-size: 1rem;
  font-weight: 850;
  color: var(--ink);
}

.entry-card__action img {
  width: 1.45rem;
  height: 1.45rem;
  filter: none;
  transition: transform 180ms ease;
}

.entry-card:hover,
.entry-card:focus-visible {
  border-color: rgba(180, 30, 35, 0.42);
  box-shadow: 0 30px 80px rgba(30, 35, 43, 0.24), 0 0 0 1px rgba(180, 30, 35, 0.22);
  transform: translateY(-0.4rem);
}

.entry-card:hover > img,
.entry-card:focus-visible > img {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.045);
}

.entry-card:hover::after,
.entry-card:focus-visible::after {
  border-color: rgba(180, 30, 35, 0.34);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.1);
}

.entry-card:hover .entry-card__action img,
.entry-card:focus-visible .entry-card__action img {
  transform: translateX(0.35rem);
}

.entry-card:focus-visible,
.entry-footer a:focus-visible,
.skip-link:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.entry-assurance {
  margin: 1.4rem 0 0;
  color: rgba(30, 35, 43, 0.7);
  font-size: 0.94rem;
  text-align: center;
  animation: cinematic-copy-rise 0.65s 3.72s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.entry-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 2.5rem));
  min-height: 4.5rem;
  margin: 0 auto;
  padding: 1rem 0 1.4rem;
  border-top: 1px solid rgba(30, 35, 43, 0.15);
  color: rgba(30, 35, 43, 0.68);
  font-size: 0.82rem;
  animation: cinematic-footer-arrive 0.6s 3.82s ease-out both;
}

.entry-footer__ai-note {
  color: rgba(30, 35, 43, 0.56);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.025em;
}

.entry-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.entry-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.28rem;
}

.entry-footer a:hover {
  color: var(--red);
  text-decoration-color: currentColor;
}

.is-leaving .entry-intro,
.is-leaving .entry-assurance,
.is-leaving .entry-footer {
  opacity: 0;
  transform: translateY(-0.7rem);
  transition: opacity 220ms ease, transform 360ms ease;
}

.is-leaving .entry-card:not(.is-selected) {
  opacity: 0;
  transform: scale(0.96);
}

.is-leaving .entry-card.is-selected {
  z-index: 6;
  border-color: rgba(180, 30, 35, 0.7);
  opacity: 0;
  transform: scale(1.06);
  transition-duration: 430ms;
}

.is-intro-complete .cinematic-intro,
.is-intro-skipped .cinematic-intro {
  display: none;
}

.is-intro-complete .entry-ocean,
.is-intro-complete .entry-shell,
.is-intro-skipped .entry-ocean,
.is-intro-skipped .entry-shell {
  clip-path: none;
  opacity: 1;
  animation: none;
}

.is-intro-complete .entry-brand,
.is-intro-complete .entry-kicker,
.is-intro-complete .entry-copy h1,
.is-intro-complete .entry-copy > p:last-child,
.is-intro-complete .entry-card,
.is-intro-complete .entry-assurance,
.is-intro-complete .entry-footer,
.is-intro-skipped .entry-brand,
.is-intro-skipped .entry-kicker,
.is-intro-skipped .entry-copy h1,
.is-intro-skipped .entry-copy > p:last-child,
.is-intro-skipped .entry-card,
.is-intro-skipped .entry-assurance,
.is-intro-skipped .entry-footer {
  clip-path: none;
  opacity: 1;
  filter: none;
  translate: none;
  animation: none;
}

@keyframes cinematic-layer-exit {
  0%, 99% { visibility: visible; }
  100% { visibility: hidden; }
}

@keyframes cinematic-veil-release {
  0%, 44% { opacity: 1; }
  62% { opacity: 0.9; }
  100% { opacity: 0; }
}

@keyframes cinematic-mark-flight {
  0% {
    opacity: 0;
    filter: blur(5px);
    clip-path: inset(0 79.847% 0 0);
    scale: var(--intro-start-scale);
    translate: var(--intro-start-x) var(--intro-start-y);
  }
  15% {
    opacity: 1;
    filter: blur(0);
    clip-path: inset(0 79.847% 0 0);
    scale: var(--intro-start-scale);
    translate: var(--intro-start-x) var(--intro-start-y);
  }
  34% {
    opacity: 1;
    filter: blur(0);
    clip-path: inset(0 79.847% 0 0);
    scale: var(--intro-start-scale);
    translate: var(--intro-start-x) var(--intro-start-y);
  }
  59% {
    opacity: 1;
    filter: blur(0);
    clip-path: inset(0 79.847% 0 0);
    scale: 1;
    translate: 0 0;
  }
  70% {
    opacity: 1;
    filter: blur(0);
    clip-path: inset(0 79.847% 0 0);
    scale: 1;
    translate: 0 0;
  }
  100% {
    opacity: 1;
    filter: blur(0);
    clip-path: inset(0 0 0 0);
    scale: 1;
    translate: 0 0;
  }
}

@keyframes cinematic-flow-open {
  0% {
    opacity: 0;
    scale: 0.5;
  }
  18% { opacity: 0.66; }
  100% {
    opacity: 0;
    scale: 8.5;
  }
}

@keyframes cinematic-beam-open {
  0% {
    width: 0;
    opacity: 0;
  }
  25% { opacity: 0.7; }
  100% {
    width: min(94vw, 76rem);
    opacity: 0;
  }
}

@keyframes cinematic-stage-open {
  0% {
    clip-path: circle(0 at var(--intro-origin-x) var(--intro-origin-y));
    opacity: 0;
  }
  18% { opacity: 1; }
  100% {
    clip-path: circle(150vmax at var(--intro-origin-x) var(--intro-origin-y));
    opacity: 1;
  }
}

@keyframes cinematic-lockup-form {
  0% {
    clip-path: inset(0 100% 0 22%);
    opacity: 0;
    filter: blur(2px);
  }
  34% { opacity: 1; }
  70% {
    clip-path: inset(0 0 0 22%);
    opacity: 1;
    filter: blur(0);
  }
  82%, 100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes cinematic-copy-write {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    filter: blur(2px);
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes cinematic-copy-rise {
  from {
    opacity: 0;
    translate: 0 0.7rem;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes cinematic-card-left {
  from {
    clip-path: inset(0 18% 0 0);
    opacity: 0;
    translate: -1.8rem 1rem;
  }
  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes cinematic-card-right {
  from {
    clip-path: inset(0 0 0 18%);
    opacity: 0;
    translate: 1.8rem 1rem;
  }
  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes cinematic-footer-arrive {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes brand-arrive {
  0% { filter: blur(1.8px); transform: translateY(-1.8rem) scale(1.34); }
  56% { filter: blur(0); transform: translateY(0.15rem) scale(0.985); }
  100% { filter: blur(0); transform: translateY(0) scale(1); }
}

@keyframes morning-focus {
  from { opacity: 0.92; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes horizon-open {
  0% { opacity: 0; transform: scaleX(0.12); }
  45% { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0.18; transform: scaleX(0.76); }
}

@keyframes copy-arrive {
  from { transform: translateY(1rem); }
  to { transform: translateY(0); }
}

@keyframes choices-arrive {
  from { transform: translateY(1.35rem); }
  to { transform: translateY(0); }
}

@media (max-width: 820px) {
  :root {
    --intro-shift-x: -6.7rem;
    --intro-origin-y: 3.45rem;
    --intro-shift-y: calc(-50svh + var(--intro-origin-y));
  }

  .entry-shell {
    width: min(100% - 1.4rem, 680px);
    min-height: auto;
    padding-top: 1.5rem;
  }

  .entry-brand {
    width: min(330px, 82vw);
  }

  .entry-copy h1 {
    max-width: 8ch;
  }

  .entry-choices {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.8rem;
  }

  .entry-choices::before {
    display: none;
  }

  .entry-card,
  .entry-card--care,
  .entry-card--personal {
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: minmax(112px, 38%) minmax(0, 62%);
    grid-template-rows: 1fr;
    height: clamp(190px, 50vw, 220px);
    min-height: 190px;
  }

  .entry-card > img {
    grid-column: 1;
    grid-row: 1;
  }

  .entry-card__content {
    grid-column: 2;
    grid-row: 1;
    justify-content: center;
    gap: 0.42rem;
    padding: 1rem;
  }

  .entry-card__content strong {
    font-size: clamp(1.3rem, 5.2vw, 1.75rem);
  }

  .entry-card__content > span:not(.entry-card__label, .entry-card__action) {
    display: none;
  }

  .entry-card__label {
    font-size: clamp(0.65rem, 2.4vw, 0.78rem);
    letter-spacing: 0.09em;
  }

  .entry-card__ai-note {
    right: 0.55rem;
    bottom: 0.5rem;
    font-size: 0.54rem;
  }

  .entry-card__action {
    min-height: 38px;
    margin-top: 0;
    padding-top: 0.55rem;
    font-size: clamp(0.78rem, 3vw, 0.92rem);
  }

  .entry-card__action img {
    width: 1.1rem;
    height: 1.1rem;
  }

  .entry-card--personal > img {
    object-position: 100% 58%;
  }

  .entry-assurance {
    padding: 0 1rem;
    line-height: 1.5;
  }

  .entry-footer {
    align-items: flex-start;
    flex-direction: column;
    width: min(100% - 1.4rem, 680px);
    gap: 0.35rem;
  }

  .entry-footer__ai-note {
    order: 3;
    font-size: 0.64rem;
  }

  .entry-footer nav {
    column-gap: 1.25rem;
    row-gap: 0;
  }
}

@media (max-width: 430px) {
  .entry-brand {
    width: min(295px, 76vw);
    padding-block: 0.5rem;
  }

  .entry-copy {
    margin-top: 0.55rem;
  }

  .entry-copy h1 {
    font-size: clamp(2.45rem, 12vw, 3.4rem);
  }

  .entry-kicker {
    font-size: 0.8rem;
  }

  .entry-choices { margin-top: 1.25rem; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .cinematic-intro {
    display: none;
  }

  .entry-ocean__video {
    display: none;
  }

  .entry-ocean,
  .entry-shell,
  .entry-brand,
  .entry-kicker,
  .entry-copy h1,
  .entry-copy > p:last-child,
  .entry-card,
  .entry-assurance,
  .entry-footer {
    clip-path: none;
    opacity: 1;
    filter: none;
    translate: none;
  }
}
