.fday {
  /* Cool, premium sleep palette drawn from the Memoryone product photography:
     ink, clean cool off-white, dusty slate blue, and a quiet green-piping accent. */
  --fday-ink: #161a1e;
  --fday-ink-soft: #20262c;
  --fday-paper: #eef0f1;
  --fday-surface: #ffffff;
  --fday-blue: #4d6577;
  --fday-blue-deep: #354855;
  --fday-blue-light: #a9bdca;
  --fday-sage: #8aa98c;
  --fday-ink-muted: #4c555c;
  --fday-on-dark: #f3f5f6;
  --fday-on-dark-muted: rgba(243, 245, 246, 0.74);
  --fday-line: rgba(22, 26, 30, 0.14);
  --fday-line-soft: rgba(22, 26, 30, 0.08);

  --fday-display: var(--title-font);
  --fday-body: var(--body-font);

  --fday-shell: min(1180px, calc(100% - 48px));
  --fday-block: clamp(72px, 9vw, 132px);

  --fday-ease: cubic-bezier(0.16, 1, 0.3, 1);

  width: 100%;
  /* `clip` clips horizontally WITHOUT making .fday a scroll container.
     `overflow-x: hidden` would force overflow-y to compute to `auto`, turning the
     whole-page wrapper into a nested scroller that swallows the first scroll gesture. */
  overflow-x: clip;
  background: var(--fday-paper);
  color: var(--fday-ink);
  font-family: var(--fday-body);
  font-style: var(--body-font-style);
}

.fday *,
.fday *::before,
.fday *::after {
  box-sizing: border-box;
}

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

.fday a {
  text-decoration: none;
}

.fday .page-width {
  width: var(--fday-shell);
  margin-left: auto;
  margin-right: auto;
}

.fday h1,
.fday h2,
.fday h3 {
  margin: 0;
  font-family: var(--fday-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--fday-ink);
}

.fday p {
  text-wrap: pretty;
}

/* Low-specificity margin reset so intentional class-based margins (e.g. .fday__lead,
   .fday__terms) are not overridden by an element+class selector. */
:where(.fday) p {
  margin: 0;
}

/* ---- Reveal motion (content visible by default, enhanced on entry) ---- */
.fday [data-fday-reveal] {
  opacity: 1;
  transform: none;
}

.fday.fday--animate [data-fday-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 760ms var(--fday-ease), transform 760ms var(--fday-ease);
}

.fday.fday--animate [data-fday-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ===================== HERO ===================== */
.fday__hero {
  position: relative;
  min-height: min(72vh, 600px);
  display: flex;
  align-items: flex-end;
  padding: clamp(44px, 5vw, 68px) 0 clamp(40px, 5vw, 68px);
  isolation: isolate;
  overflow: clip;
}

.fday__hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}

.fday__hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(101deg, rgba(15, 18, 21, 0.94) 0%, rgba(15, 18, 21, 0.82) 30%, rgba(15, 18, 21, 0.46) 60%, rgba(15, 18, 21, 0.08) 100%),
    linear-gradient(0deg, rgba(15, 18, 21, 0.5) 0%, rgba(15, 18, 21, 0) 38%);
}

.fday__hero-inner {
  width: var(--fday-shell);
  max-width: 720px;
  margin: 0 auto;
  color: var(--fday-on-dark);
}

.fday__eyebrow {
  margin-bottom: clamp(24px, 2.6vw, 34px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fday-blue-light);
  font-family: var(--fday-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fday__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--fday-blue-light);
}

.fday__hero h1 {
  max-width: 16ch;
  color: var(--fday-on-dark);
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.14;
}

.fday__lead {
  max-width: 52ch;
  margin-top: clamp(24px, 2.6vw, 36px);
  color: var(--fday-on-dark-muted);
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.6;
}

.fday__offer {
  width: min(100%, 600px);
  margin: clamp(38px, 4.4vw, 56px) 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(243, 245, 246, 0.22);
  background: rgba(15, 18, 21, 0.42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.fday__offer-cell {
  padding: 16px 18px;
  border-right: 1px solid rgba(243, 245, 246, 0.18);
}

.fday__offer-cell:last-child {
  border-right: 0;
}

.fday__offer-cell--accent {
  background: var(--fday-blue);
}

.fday__offer-cell dt {
  margin-bottom: 7px;
  color: var(--fday-blue-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fday__offer-cell--accent dt {
  color: rgba(243, 245, 246, 0.86);
}

.fday__offer-cell dd {
  margin: 0;
  color: var(--fday-on-dark);
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 600;
  line-height: 1.24;
}

.fday__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 3vw, 40px);
}

.fday__button {
  min-height: 52px;
  padding: 15px 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--fday-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 320ms var(--fday-ease), background 280ms ease, color 280ms ease, border-color 280ms ease;
}

.fday__button:hover,
.fday__button:focus-visible {
  transform: translateY(-2px);
}

.fday__button:focus-visible,
.fday__text-link:focus-visible {
  outline: 2px solid var(--fday-blue-light);
  outline-offset: 4px;
}

.fday a.fday__button--solid,
.fday a.fday__button--solid:visited {
  background: var(--fday-on-dark);
  color: var(--fday-ink) !important;
}

.fday a.fday__button--solid:hover,
.fday a.fday__button--solid:focus-visible {
  background: var(--fday-blue-light);
}

.fday a.fday__button--ghost,
.fday a.fday__button--ghost:visited {
  border-color: rgba(243, 245, 246, 0.5);
  color: var(--fday-on-dark) !important;
}

.fday a.fday__button--ghost:hover,
.fday a.fday__button--ghost:focus-visible {
  border-color: var(--fday-on-dark);
  background: rgba(243, 245, 246, 0.1);
}

.fday__terms {
  max-width: 60ch;
  margin-top: clamp(20px, 2vw, 26px);
  color: rgba(243, 245, 246, 0.66);
  font-size: 13px;
  line-height: 1.55;
}

/* ===================== VALUE ===================== */
.fday__value {
  padding-top: var(--fday-block);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: end;
}

.fday .fday__value-head {
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.02;
}

.fday__value-body p {
  color: var(--fday-ink-muted);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.66;
}

.fday .fday__market {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--fday-blue-deep);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fday__market::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fday-sage);
}

/* ===================== GIFT ===================== */
.fday__gift {
  padding-top: var(--fday-block);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}

.fday__gift-media {
  background: linear-gradient(165deg, #f7f8f9 0%, #e7eaec 100%);
  border-radius: 4px;
  overflow: hidden;
}

.fday__gift-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 58%;
  transition: transform 1100ms var(--fday-ease);
}

.fday__gift-media:hover img {
  transform: scale(1.04);
}

.fday__gift-copy h2 {
  max-width: 16ch;
  font-size: clamp(28px, 3.6vw, 46px);
}

.fday__gift-copy > p {
  max-width: 52ch;
  margin-top: 20px;
  color: var(--fday-ink-muted);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.66;
}

.fday__specs {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.fday__specs li {
  position: relative;
  padding: 16px 0 16px 30px;
  border-top: 1px solid var(--fday-line-soft);
  color: var(--fday-ink);
  font-size: 15px;
  line-height: 1.5;
}

.fday__specs li:last-child {
  border-bottom: 1px solid var(--fday-line-soft);
}

.fday__specs li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 23px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--fday-blue);
}

.fday .fday__gift-value {
  margin-top: 26px;
  max-width: 52ch;
  color: var(--fday-ink-muted);
  font-size: 16px;
  line-height: 1.5;
}

.fday__gift-value strong {
  color: var(--fday-ink);
  font-weight: 600;
}

.fday__text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 22px;
  padding-bottom: 3px;
  color: var(--fday-blue-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  transition: gap 260ms var(--fday-ease), color 220ms ease;
}

.fday__text-link::after {
  content: "\2192";
  font-size: 15px;
}

.fday__text-link:hover {
  gap: 13px;
}

/* High specificity + !important to beat the theme's global link color (#222). */
.fday a.fday__text-link,
.fday a.fday__text-link:visited {
  color: var(--fday-blue-deep) !important;
}

.fday a.fday__text-link:hover,
.fday a.fday__text-link:focus-visible {
  color: var(--fday-ink) !important;
}

/* ===================== CINEMATIC BAND ===================== */
.fday__band {
  position: relative;
  isolation: isolate;
  margin-top: var(--fday-block);
  min-height: clamp(280px, 42vw, 460px);
  display: flex;
  align-items: center;
  overflow: clip;
}

.fday__band-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.fday__band-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(15, 18, 21, 0.82) 0%, rgba(15, 18, 21, 0.55) 45%, rgba(15, 18, 21, 0.18) 80%, rgba(15, 18, 21, 0.05) 100%);
}

.fday__band-quote {
  width: var(--fday-shell);
  max-width: 18ch;
  margin: 0 auto;
  color: var(--fday-on-dark);
  font-family: var(--fday-display);
  font-size: clamp(26px, 3.6vw, 46px);
  font-style: italic;
  line-height: 1.16;
  text-wrap: balance;
}

/* ===================== STEPS ===================== */
.fday__steps {
  padding-top: var(--fday-block);
}

.fday__steps-head {
  max-width: 640px;
}

.fday__steps-head h2 {
  font-size: clamp(28px, 4vw, 50px);
}

.fday__steps-head p {
  max-width: 52ch;
  margin-top: 16px;
  color: var(--fday-ink-muted);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
}

.fday__steps-list {
  margin: clamp(34px, 4vw, 52px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--fday-line);
}

.fday__step {
  padding: 32px clamp(30px, 3.2vw, 48px);
  border-right: 1px solid var(--fday-line);
}

.fday__step:first-child {
  padding-left: 0;
}

.fday__step:last-child {
  border-right: 0;
  padding-right: 0;
}

.fday__step-num {
  display: block;
  margin-bottom: 18px;
  color: var(--fday-blue);
  font-family: var(--fday-display);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}

.fday__step h3 {
  font-size: clamp(19px, 1.9vw, 24px);
}

.fday__step p {
  max-width: 34ch;
  margin-top: 12px;
  color: var(--fday-ink-muted);
  font-size: 15px;
  line-height: 1.58;
}

/* ===================== SHOWROOM ===================== */
.fday__showroom {
  padding-top: var(--fday-block);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
}

.fday__showroom-copy h2 {
  font-size: clamp(28px, 3.8vw, 48px);
}

.fday__showroom-copy p {
  max-width: 46ch;
  margin: 16px 0 28px;
  color: var(--fday-ink-muted);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.62;
}

.fday .fday__showroom-copy a.fday__button--solid,
.fday .fday__showroom-copy a.fday__button--solid:visited {
  background: var(--fday-ink);
  color: var(--fday-on-dark) !important;
}

.fday .fday__showroom-copy a.fday__button--solid:hover,
.fday .fday__showroom-copy a.fday__button--solid:focus-visible {
  background: var(--fday-blue-deep);
  color: var(--fday-on-dark) !important;
}

.fday__locations {
  padding: clamp(26px, 3vw, 38px);
  background: var(--fday-surface);
  border: 1px solid var(--fday-line);
  border-radius: 4px;
}

.fday__loc {
  padding: 22px 0;
  border-top: 1px solid var(--fday-line-soft);
}

.fday__loc:first-child {
  padding-top: 0;
  border-top: 0;
}

.fday__loc:last-child {
  padding-bottom: 0;
}

.fday__loc h3 {
  font-family: var(--fday-display);
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.1;
}

.fday__loc-addr {
  margin-top: 10px;
  color: var(--fday-ink-muted);
  font-size: 14px;
  line-height: 1.55;
}

.fday__loc-contact {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}

.fday a.fday__loc-link,
.fday a.fday__loc-link:visited {
  color: var(--fday-blue-deep) !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.fday a.fday__loc-link:hover,
.fday a.fday__loc-link:focus-visible {
  text-decoration: underline;
}

/* ===================== FINAL ===================== */
.fday__final {
  margin-top: var(--fday-block);
  padding: clamp(64px, 9vw, 132px) 0;
  background: var(--fday-ink);
}

.fday__final-inner {
  text-align: center;
}

.fday__final-inner h2 {
  max-width: 18ch;
  margin: 0 auto;
  color: var(--fday-on-dark);
  font-size: clamp(30px, 4.6vw, 58px);
}

.fday__final-inner p {
  max-width: 56ch;
  margin: 20px auto 0;
  color: var(--fday-on-dark-muted);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
}

.fday__final-inner .fday__actions {
  justify-content: center;
  margin-top: 34px;
}

.fday a.fday__button--solid-inverse,
.fday a.fday__button--solid-inverse:visited {
  background: var(--fday-on-dark);
  color: var(--fday-ink) !important;
}

.fday a.fday__button--solid-inverse:hover,
.fday a.fday__button--solid-inverse:focus-visible {
  background: var(--fday-blue-light);
}

.fday a.fday__button--ghost-inverse,
.fday a.fday__button--ghost-inverse:visited {
  border-color: rgba(243, 245, 246, 0.4);
  color: var(--fday-on-dark) !important;
}

.fday a.fday__button--ghost-inverse:hover,
.fday a.fday__button--ghost-inverse:focus-visible {
  border-color: var(--fday-on-dark);
  background: rgba(243, 245, 246, 0.1);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .fday__value,
  .fday__gift,
  .fday__showroom {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .fday__value {
    gap: 20px;
  }

  .fday__gift-media {
    order: -1;
  }

  .fday__steps-list {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .fday__step {
    padding: 26px 0;
    border-right: 0;
    border-top: 1px solid var(--fday-line);
  }

  .fday__step p {
    max-width: 52ch;
  }
}

@media (max-width: 600px) {
  .fday {
    --fday-shell: calc(100% - 36px);
    --fday-block: 60px;
  }

  .fday__hero {
    min-height: auto;
    padding-top: clamp(120px, 40vw, 200px);
  }

  .fday__hero-photo {
    object-position: 70% 50%;
  }

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

  .fday__offer-cell {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(243, 245, 246, 0.18);
  }

  .fday__offer-cell:last-child {
    border-bottom: 0;
  }

  .fday__offer-cell dt {
    margin-bottom: 0;
  }

  .fday__actions,
  .fday__button {
    width: 100%;
  }

  .fday__band {
    min-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fday.fday--animate [data-fday-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

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