/* =========================================================
   Keepbox — new landing page
   Vanilla CSS, no framework.
   ========================================================= */

@font-face {
  font-family: "Monterchi Sans";
  src: url("../fonts/monterchi-book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Monterchi Sans";
  src: url("../fonts/monterchisans-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Monterchi Sans";
  src: url("../fonts/monterchisans-bookitalic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Monterchi";
  src: url("../fonts/monterchi-bolditalic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Monterchi Serif";
  src: url("../fonts/monterchiserif-light.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Monterchi Serif";
  src: url("../fonts/monterchiserif-italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Monterchi Text";
  src: url("../fonts/monterchitext-book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Monterchi Text";
  src: url("../fonts/monterchitext-bolditalic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

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

@font-face {
  font-family: "Founder Signature";
  src: url("../fonts/Austinronalle-BL9AV.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f6efe8;
  --bg-2: #f8ecec;
  --ink: #0f0f0f;
  --ink-soft: rgba(0, 0, 0, 0.72);
  --ink-muted: rgba(0, 0, 0, 0.55);
  --white: #ffffff;
  --pill-bg: #0c0c0c;
  --highlight-from: #ffac9f;
  --highlight-to: #dac8ce;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-cta: 0 2px 3px rgba(0, 0, 0, 0.06), 0 18px 30px rgba(0, 0, 0, 0.18);
  --shadow-icon: 0 2px 8px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(234, 150, 44, 0.5),
    0 10px 20px rgba(0, 0, 0, 0.1);
  --radius-pill: 999px;
  --font-display: "Monterchi Sans", sans-serif;
  --font-hand: "Dekko", "Segoe Script", "Comic Sans MS", cursive;
  --container: 1280px;
  --nav-height: 88px;
}

html {
  font-family: "Monterchi Sans", sans-serif;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  /* Reserve room at the top of the viewport for the fixed nav so that
     anchor-link jumps (e.g. clicking Features or Home) don't slide the
     target up underneath the nav. */
  scroll-padding-top: var(--nav-height);
}

/* Belt-and-braces: every anchor target also carries scroll-margin-top
   so the nav never overlaps the section's headline regardless of how
   the browser interprets scroll-padding-top with smooth scrolling. */
section[id],
.hero[id] {
  scroll-margin-top: var(--nav-height);
}

body {
  margin: 0;
  font-family: "Monterchi Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.4;
  overflow-x: hidden;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
  font-family: "Monterchi Sans", sans-serif;
  cursor: pointer;
  color: inherit;
  background: transparent;
  border: 0;
}

input,
textarea,
select {
  font-family: "Monterchi Sans", sans-serif;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* =========================================================
   Layout shell
   ========================================================= */

.page {
  position: relative;
  max-width: 100%;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

/* Background layers */
.bg-wash {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-color: #f3e9e2;
  background-image: url("https://res.cloudinary.com/dwpxmif3x/image/upload/c_limit,w_2400/f_auto,q_auto/v1777368024/website/hero-bg_k9htvd.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  pointer-events: none;
}

.bg-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("https://res.cloudinary.com/dwpxmif3x/image/upload/v1777368024/website/grid_icelzc.svg");
  background-size: 1600px auto;
  background-repeat: repeat;
  background-attachment: fixed;
  opacity: 0.5;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* =========================================================
   Navigation — sticky, frosted on scroll
   ========================================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color 0.25s ease, box-shadow 0.3s ease,
    backdrop-filter 0.3s ease, padding 0.25s ease;
  padding: 4px 0;
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  transition: padding 0.25s ease;
}

/* Scrolled state — frosted glass, shrunk padding */
.nav--scrolled {
  background: rgba(246, 232, 228, 0.78);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 8px 20px rgba(60, 30, 30, 0.08);
}
.nav--scrolled .nav__inner {
  padding: 12px 32px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  text-decoration: none;

  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;

  opacity: 1;
  transform: none;
  pointer-events: auto;

  transition: transform .3s ease;
}


.nav__brand-logo {
  display: block;
  width: 125px;
  height: auto;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  justify-self: center;
}

/* Get the app CTA in nav */
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  background: var(--pill-bg);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateX(12px) scale(0.92);
  pointer-events: none;
  transition: opacity 0.35s ease 0.05s,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s,
    background 0.2s ease;
}
.nav--cta-visible .nav__cta {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}
.nav__cta:hover {
  background: #1c1c1c;
}
.nav__cta-icon {
  display: inline-flex;
  width: 16px;
  height: 18px;
  color: #fff;
}
.nav__cta-icon svg {
  width: 100%;
  height: 100%;
}

.nav__link {
  font-size: 17px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.40);
  position: relative;
  padding: 6px 2px;
  transition: color 0.35s ease, opacity 0.35s ease;
}
.nav__link:hover {
  color: rgba(0, 0, 0, 0.75);
}
.nav__link--active {
  color: var(--ink);
}

.nav__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  border-radius: 10px;
}
.nav__menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav__menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  margin: 0 16px 16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}
.mobile-menu[data-open="true"] {
  display: flex;
}
.mobile-menu__link {
  font-weight: 700;
  font-size: 18px;
  padding: 14px 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.55);
  transition: color 0.3s ease;
}
.mobile-menu__link:last-of-type {
  border-bottom: 0;
}
.mobile-menu__link--active {
  color: var(--ink);
}
.mobile-menu__cta {
  margin-top: 10px;
  text-align: center;
  padding: 14px 20px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-weight: 700;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(var(--nav-height) + 18px) 32px 0;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(560px, 720px);
  align-items: center;
  gap: 12px;
  max-height: 880px;
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 560px;
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 2px;
}

.hero__brand-icon {
  width: clamp(160px, 18vw, 180px);
    height: auto;

  object-fit: contain;

  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.hero__brand-wordmark {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(54px, 5.15vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: rgba(0, 0, 0, 0.92);
  display: flex;
  flex-direction: column;
  gap: 4px;
  white-space: nowrap;
}

.hero__title-line {
  display: block;
  font-weight: 400;
}

.hero__title-highlight {
  position: relative;
  display: inline-block;
  align-self: flex-start;
  padding: 0.025em 0.4em 0.06em;
}

.hero__title-highlight-bg {
  position: absolute;
  inset: 2% 0 -2%;
  background: linear-gradient(
    108deg,
    var(--highlight-from) 0%,
    var(--highlight-to) 116%
  );
  border-radius: 0;
  z-index: 0;
  transform: translateY(-10px) rotate(-1.5deg);

}

.hero__title-highlight-text {
  position: relative;
  z-index: 1;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.hero__subtitle {
  margin: 0;
  font-size: clamp(20px, 1.72vw, 25px);
  font-weight: 500;
  color: var(--ink-soft);
  max-width: 470px;
  line-height: 1.4;
}

/* CTA */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 32px;
  width: 100%;
  max-width: 410px;
  background: var(--pill-bg);
  color: var(--white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-cta);
  font-weight: 700;
  font-size: clamp(20px, 1.65vw, 22px);
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08),
    0 22px 36px rgba(0, 0, 0, 0.22);
}
.cta:active {
  transform: translateY(0);
}

.cta__icon {
  width: 24px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cta__icon svg {
  width: 100%;
  height: 100%;
}

.cta__label {
  flex: 1;
  text-align: center;
}

.cta__chevron {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  flex-shrink: 0;
}

/* Hero social proof */
.hero-social-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  align-self: flex-start;
}

.hero-proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(48, 35, 26, 0.08);
  box-shadow:
    0 10px 28px rgba(48, 35, 26, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.55) inset;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: fit-content;
  max-width: 100%;
}

.hero-proof-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.hero-proof-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-proof-icon--book {
  color: rgba(48, 35, 26, 0.55);
}

.hero-proof-icon--star {
  color: #f5a623;
}

.hero-proof-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 15px;
  line-height: 1;
  color: var(--ink-soft);
  white-space: nowrap;
}

.hero-proof-text strong {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

/* Stats */
.stats {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  max-width: 410px;
  margin-top: 0;
}

.stats__item {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.stats__value {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.stats__star {
  color: #f5a623;
  font-weight: 900;
}

.stats__label {
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 500;
  color: var(--ink-muted);
  margin-top: 2px;
}

/* =========================================================
   Shared section scaffolding
   ========================================================= */

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.section-inner--narrow {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.eyebrow--light {
  color: rgba(255, 255, 255, 0.65);
}

.section-title {
  margin: 0 0 56px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: 18ch;
}

/* =========================================================
   Features — Bento grid
   ========================================================= */

.features {
  position: relative;
  z-index: 1;
  padding: 72px 0 0;
  background: #fff;
}
.features > .section-inner > .eyebrow,
.features > .section-inner > .section-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.advantages {
  position: relative;
  z-index: 1;
  padding: 90px 0 96px;
  background: #fff;
}

.advantages__header {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.advantages__header .eyebrow,
.advantages__header .section-title,
.advantages__intro {
  margin-inline: auto;
  text-align: center;
}

.advantages__header .section-title {
  max-width: none;
  margin-bottom: 18px;
}

.advantages__intro {
  max-width: 620px;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.65;
  color: rgba(40, 29, 20, 0.72);
}

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 18px;
}

.bento__card {
  position: relative;
  border-radius: 28px;
  padding: 28px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 14px 36px rgba(190, 120, 120, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s ease;
}
.bento__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(190, 120, 120, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Asymmetric layout - desktop
   Row 1: gallery(3) + print(3)   ← both showcase cards together
   Row 2: scan(3) + life(3)
   Row 3: voice(2) + cloud(2) + share(2) */
.bento__card--gallery  { grid-column: span 3; }
.bento__card--scan     { grid-column: span 3; }
.bento__card--life     { grid-column: span 3; }
.bento__card--voice    { grid-column: span 2; }
.bento__card--cloud    { grid-column: span 2; }
.bento__card--share    { grid-column: span 2; }
.bento__card--print    { grid-column: span 3; }

/* Color themes */
.bento__card--gallery {
  background: linear-gradient(160deg, #e4eedb 0%, #c5dcae 100%);
}
.bento__card--scan {
  background: linear-gradient(160deg, #e4d8ff 0%, #d3c0ff 100%);
}
.bento__card--life {
  background: linear-gradient(170deg, #ffe6c9 0%, #fbd5a7 58%, #f5c58f 100%);
}
.bento__card--voice {
  background: linear-gradient(160deg, #eadcff 0%, #d4bdf5 100%);
}
.bento__card--cloud {
  background: linear-gradient(160deg, #d8eeff 0%, #bcd9f3 100%);
}
.bento__card--share {
  background: linear-gradient(160deg, #ffd8d4 0%, #ffbfb7 100%);
}
.bento__card--print {
  background: linear-gradient(150deg, #ffeeb2 0%, #ffdd7a 100%);
}

/* Subtle paper grid overlay (like the Figma) */
.bento__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.15) 60%, transparent);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.15) 60%, transparent);
  pointer-events: none;
  z-index: 0;
}

.bento__step {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  gap: 0.42em;
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  color: rgba(48, 35, 26, 0.45);
  pointer-events: none;
}

.bento__step-label {
  font-family: "Monterchi Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.20em;
}

.bento__step-num {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.88em;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: lining-nums tabular-nums;
  position: relative;
  top: -0.02em;
}

.bento__text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 92%;
}

.bento__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 2.1vw, 34px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bento__title-plain {
  color: rgba(0, 0, 0, 0.78);
  font-weight: 400;
}

.bento__hl {
  align-self: flex-start;
  padding: 0.05em 0.28em 0.08em;
  color: var(--ink);
  font-weight: 900;
  border-radius: 6px;
  line-height: 1;
  box-shadow: inset 0 -0.05em 0 rgba(0, 0, 0, 0.04);
}
.bento__hl--violet { background: rgba(169, 144, 240, 0.6); }
.bento__hl--peach  { background: rgba(255, 170, 140, 0.65); }
.bento__hl--mint   { background: rgba(152, 214, 128, 0.7); }
.bento__hl--lilac  { background: rgba(194, 164, 240, 0.7); }
.bento__hl--sky    { background: rgba(145, 189, 235, 0.7); }
.bento__hl--coral  { background: rgba(255, 156, 148, 0.7); }
.bento__hl--sun    { background: rgba(255, 210, 90, 0.8); }

.bento__sub {
  margin: 4px 0 0;
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 38ch;
}

.bento__visual {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

/* =========================================================
   Bento card visuals + animations
   ========================================================= */

.bento__visual--scan {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.scan-illustration {
  width: min(82%, 520px);
  height: auto;
  display: block;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

/* --- ORGANIZE: stacked avatars --- */
.avatars {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  justify-content: center;
}
.avatar {
  width: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease;
  transition-delay: calc(var(--d, 0) * 0.12s);
}
.avatar--1 { --d: 0; }
.avatar--2 { --d: 1; }
.avatar--3 { --d: 2; }
.bento__card--organize.is-inview .avatar {
  transform: translateY(0);
  opacity: 1;
}
.avatar span {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  border: 4px solid #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}
.avatar--1 span { background: linear-gradient(135deg, #ff9e7d, #ff7d6e); }
.avatar--2 span { background: linear-gradient(135deg, #7db4ff, #5a8ee0); }
.avatar--3 span { background: linear-gradient(135deg, #ffc66e, #ff9d54); }
.avatar em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  letter-spacing: -0.01em;
}

/* --- LIFE: crayon drawing → 3D character video, matches figma 4169:699 ---
   Layout (top → bottom inside the visual area):
     • tall portrait stage that matches the Figma aspect (~3:4)
     • crayon drawing paper centered along the top, tilted slightly,
       floats ABOVE and partially over the top edge of the video frame
     • hand-drawn arrow curving from the right side of the paper into
       the top of the video
     • video frame with rounded corners fills the lower ~80% of the stage
*/
.bento__visual--life {
  display: block;
  padding: 0;
  margin-top: 20px;
  min-height: 360px;
}

/* Stage = top gutter (paper + arrow) + video frame below.
   Aspect is tuned so the video frame roughly matches the source video
   (1024×845 ≈ 1.21 landscape) — avoids cropping the dino's arms & tail. */
.life-stage {
  position: relative;
  width: 100%;
  min-height: 360px;
  /* Compact gutter so the drawing sits closer to the video while still
     tucking behind the white-bordered frame. */
  padding-top: 19%;
}

/* Video frame sits below the paper gutter. We let it size itself by
   its own aspect ratio so the source video isn't squished.
   z-index is HIGHER than the paper so the bottom of the drawing tucks
   behind the top edge of the frame (matching the Figma). */
.life-video {
  position: relative;
  width: 92%;
  margin: 0 auto;
  aspect-ratio: 1024 / 845;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #f9cb84 0%, #f1b068 60%, #e59e58 100%);
  border: 6px solid #ffffff;
  box-shadow: 0 16px 32px rgba(120, 70, 30, 0.16);
  z-index: 2;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s;
}
.bento__card--life.is-inview .life-video {
  transform: translateY(0) scale(1);
}
.life-video__el {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Crayon drawing paper — centered along the top, tilted slightly.
   The bottom of the paper tucks BEHIND the white-bordered video frame
   (z-index lower than .life-video) like in the Figma. */
.life-paper {
  position: absolute;
  top: -4%;
  left: 50%;
  width: 38%;
  max-width: 200px;
  aspect-ratio: 3 / 4;
  transform: translateX(-60%) rotate(-4deg);
  z-index: 1;
  filter: drop-shadow(0 14px 22px rgba(95, 55, 20, 0.22))
    drop-shadow(0 3px 4px rgba(95, 55, 20, 0.14));
  animation: lifePaperFloat 5s ease-in-out infinite;
}
.life-paper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}
@keyframes lifePaperFloat {
  0%, 100% { transform: translateX(-60%) rotate(-4deg) translateY(0); }
  50%      { transform: translateX(-60%) rotate(-2.5deg) translateY(-5px); }
}

/* Hand-drawn curved arrow — starts at the top-right corner of the
   paper and arcs right then down into the top of the video frame. */
.life-arrow {
  position: absolute;
  top: 0;
  left: 62%;
  width: 10%;
  max-width: 60px;
  aspect-ratio: 1 / 4;
  z-index: 4;
  opacity: 0.9;
  pointer-events: none;
  filter: drop-shadow(0 2px 2px rgba(95, 55, 20, 0.12));
}
.life-arrow path {
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  animation: lifeArrowDraw 1.1s cubic-bezier(0.3, 0.7, 0.3, 1) 0.5s forwards;
}
.bento__card--life.is-inview .life-arrow path {
  animation-play-state: running;
}
@keyframes lifeArrowDraw {
  to { stroke-dashoffset: 0; }
}

/* --- VOICE / VIDEO NOTES card ---
   A portrait video of a child talking about their drawing, white
   border + drop shadow like the life card's dino video. */
   .voice-video{
    position: relative;

    width: min(140%, 300px);
    max-width: 300px;
    margin: 0 auto;

    aspect-ratio: 4 / 3;

    border-radius: 22px;
    overflow: hidden;

    background: rgba(60, 30, 80, 0.14);

    border: 5px solid #fff;

    box-shadow:
        0 14px 28px rgba(80, 50, 110, 0.22),
        0 2px 4px rgba(80, 50, 110, 0.12);

    transform: translateY(12px) scale(.98);
    transition: transform .7s cubic-bezier(.2,.8,.2,1) .2s;
}

.bento__card--voice.is-inview .voice-video{
    transform: translateY(0) scale(1);
}

   /* .voice-video {
  position: relative;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(60, 30, 80, 0.14);
  border: 5px solid #ffffff;
  box-shadow: 0 14px 28px rgba(80, 50, 110, 0.22),
              0 2px 4px rgba(80, 50, 110, 0.12);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s;
}*/
.bento__card--voice.is-inview .voice-video {
  transform: translateY(0) scale(1);
}
.voice-video__el {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* --- Ручне оформлення: ілюстрація --- */
.bento__visual--cloud {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cloud-illustration {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}

/* --- SHARE: family illustration --- */
.bento__visual--share {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bento__media--share {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  object-position: center;
  margin: 0 auto;
}

/* --- GALLERY: half-width card with stacked-iPhone visual --- */
.bento__card--gallery {
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 28px 30px 30px;
}
.bento__card--gallery .bento__text {
  flex: 0 0 auto;
  max-width: 100%;
}
.bento__card--gallery .bento__visual {
  flex: 1 1 auto;
  width: 100%;
  margin-top: 0;
  min-height: 260px;
}

.bento__visual--gallery {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: visible;
}

.gallery-illustration {
  display: block;
  width: min(82%, 430px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  margin: 0 auto;
  filter:
    drop-shadow(0 18px 30px rgba(48, 35, 26, 0.13))
    drop-shadow(0 6px 12px rgba(48, 35, 26, 0.08));
  transition: transform 0.35s ease;
}

.bento__card--gallery:hover .gallery-illustration {
  transform: translateY(-4px);
}

/* --- PRINT: half-width card with auto-flipping art book --- */
.bento__card--print {
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 28px 30px 30px;
  min-height: 0;
}
.bento__card--print .bento__text {
  flex: 0 0 auto;
  max-width: 100%;
}
.bento__card--print .bento__visual {
  flex: 1 1 auto;
  width: 100%;
  margin-top: 0;
  min-height: 200px;
}

.bento__visual--photo-process {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: visible;
}

.photo-process-illustration {
  display: block;
  width: min(88%, 620px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  margin: 0 auto;
  filter:
    drop-shadow(0 18px 30px rgba(48, 35, 26, 0.12))
    drop-shadow(0 6px 12px rgba(48, 35, 26, 0.07));
}

.bento__visual--print {
  flex: 1 1 auto;
  width: 100%;
  margin-top: 0;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ---------- Art book flipbook ----------
   The visible book is a StPageFlip instance mounted on .artbook__stage.
   We render a static fallback image underneath and fade the stage in
   once the library has initialised (.artbook.is-ready). */
.artbook {
  position: relative;
  width: 100%;
  max-width: 680px;
  aspect-ratio: 2.8 / 1;
  margin: 0 auto;
  transform: perspective(1200px) rotateX(4deg);
  /* Hardback-style multi-layer shadow: short tight shadow under the
     book + a longer soft shadow + a hint of warmth beneath. */
  filter: drop-shadow(0 6px 4px rgba(80, 40, 40, 0.18))
          drop-shadow(0 22px 30px rgba(120, 60, 60, 0.22));
}
.artbook__stage {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.artbook.is-ready .artbook__stage {
  opacity: 1;
}

/* StPageFlip controls page sizing itself; these rules style the content
   of each page. StPageFlip wraps our .artbook-page elements with its own
   .stf__item / .stf__block wrappers at runtime. */
.artbook-page {
  background: #fdfaf3;
  overflow: hidden;
  position: relative;
}

/* Inner paper pages — The base element acts as the visible inside
   of the hard cover board. The ::before pseudo-element acts as the
   cream paper page resting on top of it, complete with a 3D stack
   of pages on the outer edge. */
.artbook-page--paper {
  background: #efcaca; /* Inside cover liner paper */
  box-shadow: inset 0 0 20px rgba(120, 60, 60, 0.08);
}

/* The cream paper page */
.artbook-page--paper::before {
  content: "";
  position: absolute;
  background: #fdfaf3;
  z-index: 0;
}

/* Left pages: cover board shows on top, bottom, and left.
   Spine is on the right. Page stack is on the left. */
.artbook-page--paper.artbook-page--left::before {
  top: 6px;
  bottom: 6px;
  left: 10px;
  right: 0;
  /* 3D page stack effect using multiple box-shadows */
  box-shadow:
    -1px 0 0 #fdfaf3,
    -2px 0 0 #e0dcd3,
    -3px 0 0 #fdfaf3,
    -4px 0 0 #cfc9bd,
    -8px 3px 10px rgba(80, 30, 30, 0.14);
}
/* Spine shadow overlay for left page */
.artbook-page--paper.artbook-page--left::after {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  right: 0;
  width: 32px;
  background: linear-gradient(90deg, transparent, rgba(80, 30, 30, 0.12));
  pointer-events: none;
  z-index: 5;
}

/* Right pages: cover board shows on top, bottom, and right.
   Spine is on the left. Page stack is on the right. */
.artbook-page--paper.artbook-page--right::before {
  top: 6px;
  bottom: 6px;
  left: 0;
  right: 10px;
  box-shadow:
    1px 0 0 #fdfaf3,
    2px 0 0 #e0dcd3,
    3px 0 0 #fdfaf3,
    4px 0 0 #cfc9bd,
    8px 3px 10px rgba(80, 30, 30, 0.14);
}
/* Spine shadow overlay for right page */
.artbook-page--paper.artbook-page--right::after {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 32px;
  background: linear-gradient(270deg, transparent, rgba(80, 30, 30, 0.12));
  pointer-events: none;
  z-index: 5;
}

/* Hard covers — soft-pink linen hardback, à la a real photo book.
   The cover plate uses subtle multi-layer gradients to fake a cloth /
   linen weave, plus inset shadows along the spine and outer edge to
   suggest a thick board binding. */
.artbook-page--cover {
  background: #e8b6b6;
  color: #4a2a2a;
}
.artbook-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 8% 10% 9% 12%;
  /* Linen weave + soft top sheen + bottom shading for board volume */
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.05) 0 1px,
      transparent 1px 3px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.04) 0 1px,
      transparent 1px 3px
    ),
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.28), transparent 55%),
    radial-gradient(120% 90% at 50% 110%, rgba(120, 60, 60, 0.18), transparent 55%),
    linear-gradient(135deg, #efc4c4 0%, #e6b1b1 55%, #d99a9a 100%);
  /* Hardcover edges: outer board bevel + spine shadow on the binding side */
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -2px 0 rgba(120, 60, 60, 0.25),
    inset 8px 0 14px -8px rgba(80, 30, 30, 0.5);
}

.artbook-cover--front {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
  display: block;
  padding: 0;
  box-shadow: none;
}
.artbook-cover__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  pointer-events: none;
}

/* Legacy assembled-cover helpers (unused on front; kept for reference) */
.artbook-cover__art {
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2%;
  min-height: 0;
}
.artbook-cover__art img {
  display: block;
  width: auto;
  max-width: 90%;
  max-height: 100%;
  height: 100%;
  object-fit: contain;
  /* Faint paper / printed-on-cover feel */
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.06));
}
.artbook-cover__title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-bottom: 0;
  margin-top: 8%;
}
.artbook-cover__title {
  font-family: var(--font-display);
  font-size: clamp(18px, 3.2vw, 28px);
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.15;
  color: #2c1a1a;
  /* Subtle embossed feel against the linen */
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}
.artbook-cover__age {
  font-family: var(--font-display);
  font-size: clamp(12px, 1.8vw, 17px);
  font-weight: 400;
  color: #3a2222;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Back cover — same hardback shell, mirrored spine shadow + groove.
   The "Made with love / Keepbox" stamp sits centered along the bottom
   edge, like the publisher mark on a real book. */
.artbook-cover--back {
  justify-content: flex-end;
  align-items: center;
  padding: 8% 12% 10% 10%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.40),
    inset 0 -2px 0 rgba(120, 60, 60, 0.22),
    inset -8px 0 14px -8px rgba(80, 30, 30, 0.5);
}
.artbook-cover__back-stamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.artbook-cover__made-with {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(8px, 1vw, 10px);
  color: rgba(74, 42, 42, 0.55);
  letter-spacing: 0.02em;
}
.artbook-cover__logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(12px, 1.8vw, 16px);
  letter-spacing: -0.01em;
  color: rgba(44, 26, 26, 0.45);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}
.artbook-cover--back::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    270deg,
    /* Spine curve: dark edge fading into a bright highlight */
    rgba(255, 255, 255, 0.0) 0%,
    rgba(255, 255, 255, 0.4) 2%,
    rgba(255, 255, 255, 0.0) 4%,
    /* The deep hinge groove: sharp drop into shadow */
    rgba(80, 30, 30, 0.1) 5%,
    rgba(80, 30, 30, 0.4) 6.5%,
    /* Climb out of the groove onto the flat board */
    rgba(80, 30, 30, 0.1) 8%,
    rgba(255, 255, 255, 0.15) 9.5%,
    rgba(255, 255, 255, 0.0) 12%
  );
  mix-blend-mode: overlay;
  opacity: 0.9;
}
/* Inner page layout */
.artbook-leaf {
  position: absolute;
  z-index: 2;
}
.artbook-leaf--left,
.artbook-leaf--right {
  position: relative;
  width: 100%;
  height: 100%;
  padding: clamp(8px, 3.5%, 18px);
  box-sizing: border-box;
  overflow: hidden;
  background: #fff;
}
/* Title page (which is a left page) */
.artbook-leaf--title {
  top: 6px; bottom: 6px; left: 10px; right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #5a3133;
  gap: 16px;
}
.artbook-leaf__label {
  font-family: var(--font-display);
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 700;
}
.artbook-leaf__title-main {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 900;
  line-height: 1.1;
}
.artbook-leaf__meta {
  font-family: var(--font-display);
  font-size: clamp(12px, 1.6vw, 14px);
  font-weight: 500;
  opacity: 0.7;
}
/* Title page: only the inner paper is blush pink — the outer cover
   board border matches every other page so the book frame stays
   consistent. */
.artbook-page--title::before {
  background: #f7dcdc !important;
}

/* Endpaper facing the back cover — publisher-style colophon mark */
.artbook-leaf--endpaper {
  top: 8px; bottom: 8px; left: 0; right: 14px;
  justify-content: center;
  align-items: center;
}
.artbook-endpaper__mark {
  font-family: var(--font-display);
  font-size: clamp(10px, 1.4vw, 12px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(120, 80, 10, 0.35);
}

/* Drawing — full page with white margin, no cropping */
.artbook-drawing {
  width: 100%;
  height: 100%;
  margin: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.artbook-drawing--1 { background-image: url("../img/artbook/art-1.jpg"); }
.artbook-drawing--2 { background-image: url("../img/artbook/art-2.jpg"); }
.artbook-drawing--3 { background-image: url("../img/artbook/art-3.jpg"); }
.artbook-drawing--4 { background-image: url("../img/artbook/art-4.jpg"); }
.artbook-drawing--5 { background-image: url("../img/artbook/art-5.jpg"); }
.artbook-drawing--6 { background-image: url("../img/artbook/art-6.jpg"); }
.artbook-drawing--7 { background-image: url("../img/artbook/art-7.jpg"); }
.artbook-drawing--8 { background-image: url("../img/artbook/art-8.jpg"); }
.artbook-drawing--9 { background-image: url("../img/artbook/art-9.jpg"); }
.artbook-drawing--10 { background-image: url("../img/artbook/art-10.jpg"); }


/* StPageFlip adds its own inline styles; make sure our .artbook-page
   fills its wrapper and that the book sits flush inside .artbook. */
.artbook__stage .stf__parent { margin: 0 auto; }
.artbook-page { width: 100%; height: 100%; }

/* Gentle floating idle animation — only while not actively flipping. */
.bento__card--life.is-inview .artbook {
  animation: bookFloat 6s ease-in-out infinite;
}
@keyframes bookFloat {
  0%, 100% { transform: perspective(1200px) rotateX(4deg) translateY(0); }
  50%      { transform: perspective(1200px) rotateX(3deg) translateY(-6px); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .bento__card .phone__scanline,
  .bento__card .phone__shutter-dot,
  .bento__card .life-paper,
  .bento__card .artbook {
    animation: none !important;
  }
}

/* =========================================================
   Price calculator
   ========================================================= */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.price-calculator {
  position: relative;
  z-index: 1;
  padding: 88px 0 96px;
  overflow: hidden;
}

.price-calculator__header {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 42px;
  text-align: center;
}

.price-calculator__header .eyebrow,
.price-calculator__header .section-title,
.price-calculator__intro {
  margin-inline: auto;
  text-align: center;
}

.price-calculator__header .section-title {
  max-width: none;
  margin-bottom: 18px;
}

.price-calculator__intro {
  max-width: 620px;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.65;
  color: rgba(40, 29, 20, 0.72);
}

.dyt-price {
  max-width: 980px;
  margin: 0 auto;
  padding: 34px 34px 30px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(72, 46, 24, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 18px 40px rgba(69, 46, 24, 0.08),
    0 4px 12px rgba(69, 46, 24, 0.04);
}

.dyt-price__main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 34px;
  align-items: start;
}

.dyt-price__calculator,
.dyt-price__summary {
  min-width: 0;
}

.dyt-price__summary {
  padding: 26px 24px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(246, 239, 232, 0.72) 0%, rgba(255, 250, 245, 0.92) 100%);
  border: 1px solid rgba(72, 46, 24, 0.06);
}

.dyt-sliderBlock {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dyt-sliderTitle {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.dyt-sliderValue {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  align-self: flex-start;
  padding: 10px 16px 12px;
  border-radius: 18px;
  background: rgba(255, 238, 178, 0.42);
  border: 1px solid rgba(255, 210, 90, 0.45);
}

.dyt-sliderNumber {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.dyt-sliderUnit {
  font-size: 15px;
  font-weight: 700;
  color: rgba(48, 35, 26, 0.62);
}

.dyt-range {
  --range-progress: 0%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  margin: 4px 0 0;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    #c89b63 0%,
    #c89b63 var(--range-progress),
    rgba(48, 35, 26, 0.12) var(--range-progress),
    rgba(48, 35, 26, 0.12) 100%
  );
  cursor: pointer;
}

.dyt-range:focus {
  outline: none;
}

.dyt-range:focus-visible {
  outline: 2px solid rgba(48, 35, 26, 0.35);
  outline-offset: 4px;
}

.dyt-range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: transparent;
}

.dyt-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -8px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #c89b63;
  box-shadow: 0 2px 8px rgba(69, 46, 24, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dyt-range:hover::-webkit-slider-thumb {
  transform: scale(1.05);
}

.dyt-range::-moz-range-track {
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(48, 35, 26, 0.12);
}

.dyt-range::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: #c89b63;
}

.dyt-range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 3px solid #c89b63;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(69, 46, 24, 0.18);
}

.dyt-rangeMeta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: rgba(48, 35, 26, 0.55);
}

.dyt-min {
  justify-self: start;
}

.dyt-max {
  justify-self: end;
}

.dyt-now {
  justify-self: center;
  text-align: center;
  font-weight: 600;
  color: rgba(48, 35, 26, 0.68);
}

.dyt-now b {
  font-weight: 800;
  color: var(--ink);
}

.dyt-helper {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(48, 35, 26, 0.62);
}

.dyt-price__from {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.dyt-price__fromLabel {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(48, 35, 26, 0.52);
}

.dyt-price__amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.dyt-price__fromValue {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.dyt-price__fromCur {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: rgba(48, 35, 26, 0.58);
}

.dyt-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Visually hidden honeypot — keep in accessibility tree off-screen (not display:none). */
.dyt-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.dyt-input,
.dyt-select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(48, 35, 26, 0.12);
  background: #fff;
  color: rgba(25, 20, 17, 0.92);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dyt-input::placeholder {
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(48, 35, 26, 0.42);
  opacity: 1;
}

.dyt-input:focus,
.dyt-select:focus {
  outline: none;
}

.dyt-input:focus-visible,
.dyt-select:focus-visible {
  border-color: rgba(48, 35, 26, 0.28);
  box-shadow: 0 0 0 3px rgba(200, 155, 99, 0.22);
}

.dyt-select {
  padding-right: 40px;
  cursor: pointer;
}

.dyt-field-label {
  display: block;
  margin: 2px 0 8px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
  color: rgba(44, 37, 34, 0.72);
}

.dyt-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  width: 100%;
  padding: 14px 24px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--pill-bg);
  color: var(--white);
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-cta);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.dyt-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.08),
    0 22px 36px rgba(0, 0, 0, 0.22);
}

.dyt-submit:active:not(:disabled) {
  transform: translateY(0);
}

.dyt-submit:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.dyt-submit:focus {
  outline: none;
}

.dyt-submit:focus-visible {
  outline: 2px solid rgba(48, 35, 26, 0.35);
  outline-offset: 3px;
}

.dyt-success {
  display: none;
  margin-top: 2px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(72, 46, 24, 0.08);
}

.dyt-bottomNote {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(48, 35, 26, 0.62);
}

.dyt-payment-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(48, 35, 26, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(48, 35, 26, 0.78);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

.dyt-payment-note__icon {
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(89, 168, 112, 0.16);
  color: #398552;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.dyt-payment-note strong {
  color: var(--ink);
  font-weight: 700;
}

.dyt-payment-note__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dyt-payment-note__text > span {
  font-weight: 400;
}

.dyt-social-proof {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0 6px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
  text-align: center;
  color: rgba(44, 37, 34, 0.68);
}

.dyt-social-proof__icon {
  flex: 0 0 auto;
  color: #d39a45;
  font-size: 13px;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .dyt-price__main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .dyt-price__summary {
    padding: 20px 18px 18px;
    border-radius: 20px;
    background: linear-gradient(
      180deg,
      rgba(246, 239, 232, 0.34) 0%,
      rgba(255, 250, 245, 0.52) 100%
    );
    border: 1px solid rgba(72, 46, 24, 0.04);
    box-shadow: 0 1px 4px rgba(69, 46, 24, 0.03);
  }

  .dyt-price__from {
    margin-bottom: 22px;
  }

  .dyt-form {
    gap: 0;
  }

  .dyt-input {
    margin-bottom: 13px;
  }

  .dyt-field-label {
    margin: 0 0 8px;
  }

  .dyt-select {
    margin-bottom: 16px;
  }

  .dyt-submit {
    margin-bottom: 18px;
  }

  .dyt-payment-note {
    margin-top: 0;
    padding: 9px 11px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.45;
    gap: 8px;
  }

  .dyt-payment-note__icon {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    font-size: 11px;
  }

  .dyt-sliderValue {
    padding: 8px 15px 9px;
    border-radius: 16px;
    box-shadow: 0 1px 5px rgba(255, 210, 90, 0.16);
  }

  .dyt-sliderNumber {
    font-size: clamp(29px, 3.6vw, 38px);
  }

  .dyt-sliderUnit {
    font-size: 13px;
  }
}

@media (max-width: 620px) {
  .price-calculator {
    padding: 44px 0 52px;
    overflow-x: clip;
  }

  .price-calculator__header {
    margin-bottom: 14px;
  }

  .price-calculator__header .section-title {
    margin-bottom: 6px;
  }

  .price-calculator__intro {
    font-size: 15px;
    line-height: 1.5;
  }

  .dyt-price {
    padding: 14px 14px 12px;
    border-radius: 22px;
  }

  .dyt-price__main {
    gap: 36px;
  }

  .dyt-price__summary {
    padding: 18px 16px 16px;
    border-radius: 18px;
    background: linear-gradient(
      180deg,
      rgba(246, 239, 232, 0.3) 0%,
      rgba(255, 250, 245, 0.48) 100%
    );
    border: 1px solid rgba(72, 46, 24, 0.035);
    box-shadow: none;
  }

  .dyt-price__from {
    gap: 6px;
    margin-bottom: 22px;
  }

  .dyt-price__fromLabel {
    font-size: 14px;
  }

  .dyt-price__amount {
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .dyt-price__fromValue {
    font-size: clamp(42px, 11.4vw, 44px);
    line-height: 1;
    font-weight: 700;
  }

  .dyt-price__fromCur {
    font-size: 14px;
    margin-left: 6px;
    color: rgba(48, 35, 26, 0.52);
  }

  .dyt-form {
    gap: 0;
  }

  .dyt-input,
  .dyt-select {
    min-height: 48px;
    border-radius: 14px;
  }

  .dyt-input {
    margin-bottom: 13px;
  }

  .dyt-field-label {
    margin: 0 0 8px;
  }

  .dyt-select {
    margin-bottom: 16px;
  }

  .dyt-submit {
    min-height: 50px;
    padding: 12px 20px;
    font-size: 16px;
    margin-bottom: 18px;
  }

  .dyt-bottomNote {
    display: none;
  }

  .dyt-payment-note {
    margin-top: 0;
    padding: 8px 10px;
    border-radius: 11px;
    font-size: 14px;
    line-height: 1.45;
    gap: 7px;
  }

  .dyt-payment-note__icon {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    font-size: 11px;
  }

  .dyt-social-proof {
    margin-top: 12px;
  }

  .dyt-sliderBlock {
    gap: 14px;
  }

  .dyt-sliderTitle {
    font-size: clamp(19px, 5vw, 23px);
    line-height: 1.2;
  }

  .dyt-sliderValue {
    flex-direction: column;
    align-items: center;
    gap: 1px;
    align-self: flex-start;
    min-width: 82px;
    padding: 6px 18px 7px;
    border-radius: 14px;
    box-shadow: 0 1px 4px rgba(255, 210, 90, 0.14);
  }

  .dyt-sliderNumber {
    font-size: clamp(26px, 7.2vw, 31px);
  }

  .dyt-sliderUnit {
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0.02em;
  }

  .dyt-range {
    height: 14px;
    margin: 4px 0 0;
  }

  .dyt-range::-webkit-slider-runnable-track {
    height: 14px;
  }

  .dyt-range::-webkit-slider-thumb {
    width: 34px;
    height: 34px;
    margin-top: -10px;
    border-width: 3px;
    box-shadow:
      0 3px 10px rgba(69, 46, 24, 0.22),
      0 0 0 4px rgba(200, 155, 99, 0.14);
  }

  .dyt-range::-moz-range-track {
    height: 14px;
  }

  .dyt-range::-moz-range-progress {
    height: 14px;
  }

  .dyt-range::-moz-range-thumb {
    width: 34px;
    height: 34px;
    box-shadow:
      0 3px 10px rgba(69, 46, 24, 0.22),
      0 0 0 4px rgba(200, 155, 99, 0.14);
  }

  .dyt-rangeMeta {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
  }

  .dyt-min,
  .dyt-max {
    flex: 0 0 32px;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .dyt-min {
    text-align: left;
  }

  .dyt-max {
    text-align: right;
  }

  .dyt-now {
    display: block;
    flex: 1;
    min-width: 0;
    text-align: center;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: rgba(48, 35, 26, 0.72);
  }

  .dyt-helper {
    font-size: 15px;
    line-height: 1.45;
    color: rgba(48, 35, 26, 0.68);
  }

  .dyt-success {
    font-size: 14px;
    padding: 10px 12px;
  }
}

@media (max-width: 380px) {
  .dyt-social-proof {
    font-size: 11.5px;
  }
}

/* =========================================================
   FAQ
   ========================================================= */

.faq {
  position: relative;
  z-index: 1;
  padding: 88px 0 96px;
  background: #fff;
  overflow: hidden;
}

.faq__inner {
  position: relative;
  z-index: 1;
}

.faq__header {
  text-align: center;
  margin: 0 auto 36px;
}

.faq__header .section-title {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 14px;
}

.faq__intro {
  max-width: 520px;
  margin: 0 auto;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.55;
  color: rgba(45, 36, 28, 0.58);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  position: relative;
  background: #fff;
  border: 1px solid rgba(90, 58, 32, 0.08);
  border-radius: 22px;
  padding: 0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 20px rgba(54, 32, 16, 0.035);
  overflow: hidden;
  transition: background 0.22s ease, border-color 0.22s ease,
    box-shadow 0.22s ease, transform 0.22s ease;
}

.faq-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #ffd45e, #ffac9f);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.faq-item:hover {
  background: #fffdfa;
  border-color: rgba(255, 172, 159, 0.28);
  box-shadow:
    0 12px 24px rgba(255, 172, 159, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transform: translateY(-1px) rotate(-0.15deg);
}

.faq-item:hover::before,
.faq-item[open]::before {
  opacity: 1;
}

.faq-item[open] {
  background:
    radial-gradient(circle at 96% 12%, rgba(255, 213, 128, 0.13), transparent 22%),
    #fffdf8;
  border-color: rgba(255, 172, 159, 0.26);
  box-shadow:
    0 12px 28px rgba(184, 122, 104, 0.09),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transform: translateY(-1px);
}

.faq-item__q {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 70px 22px 28px;
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item__q::-webkit-details-marker {
  display: none;
}
.faq-item__q:focus-visible {
  outline: 3px solid rgba(255, 172, 159, 0.44);
  outline-offset: -6px;
  border-radius: 20px;
}
.faq-item:hover .faq-item__q {
  color: #23170f;
}

.faq-item__toggle {
  position: absolute;
  right: 22px;
  top: 50%;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff7ee;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 5px 12px rgba(61, 42, 26, 0.055);
  transform: translateY(-50%);
  transition: transform 0.25s ease, background 0.25s ease,
    box-shadow 0.25s ease;
}

.faq-item:hover .faq-item__toggle {
  background: #ffac9f;
  box-shadow:
    0 9px 18px rgba(255, 172, 159, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.28) inset;
  transform: translateY(-50%) rotate(8deg) scale(1.03);
}

.faq-item:hover .faq-item__toggle::before,
.faq-item:hover .faq-item__toggle::after {
  background: #fff;
}

.faq-item__toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(79, 47, 30, 0.72);
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 18px 18px no-repeat;
  mask:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 18px 18px no-repeat;
  transition: background 0.25s ease;
}
.faq-item[open] .faq-item__toggle {
  background: #ffac9f;
  box-shadow:
    0 10px 18px rgba(255, 172, 159, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.28) inset;
  transform: translateY(-50%) rotate(180deg);
}
.faq-item[open]:hover .faq-item__toggle {
  transform: translateY(-50%) rotate(180deg) scale(1.04);
}
.faq-item[open] .faq-item__toggle::before,
.faq-item[open] .faq-item__toggle::after {
  background: #fff;
}

.faq-item__a {
  padding: 0 70px 24px 28px;
  margin-top: -6px;
  font-size: clamp(16px, 1.25vw, 17px);
  line-height: 1.66;
  color: rgba(45, 36, 28, 0.66);
  max-width: 68ch;
}
.faq-item__a a {
  color: #11100f;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(255, 172, 159, 0.7);
  text-underline-offset: 4px;
}

/* =========================================================
   About — a personal letter from the founder.
   The whole section reads like a piece of paper pinned
   to a warm cream wall: serif body, italic emphasis,
   handwritten signature, and a small monogram credit.
   ========================================================= */

.about,
.price-calculator {
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 172, 159, 0.14), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(197, 220, 174, 0.14), transparent 30%),
    #fff;
}

.about {
  position: relative;
  z-index: 1;
  padding: 96px 0 64px;
  text-align: center;
  overflow: hidden;
}

/* Subtle paper-grain wash so the section feels like a tabletop
   rather than a flat color. Kept very faint — under 4% opacity. */
.about::before {
  content: none;
}

.about::after {
  content: none;
}

.about__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about .eyebrow {
  margin-bottom: 26px;
  color: rgba(43, 31, 22, 0.48);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.about__header {
  max-width: 760px;
  margin: 0 auto 58px;
}
.about__header .eyebrow {
  margin-bottom: 14px;
}
.about__header .section-title {
  margin: 0 auto 18px;
}
.about__intro {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.65;
  color: rgba(40, 29, 20, 0.7);
}

/* Compact closing CTA — organic end of the story, not a new section */
.about__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 540px;
  margin: 42px auto 0;
  text-align: center;
}

.about__cta-text {
  margin: 0 0 18px;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.55;
  color: rgba(40, 29, 20, 0.78);
}

.about__cta .cta {
  width: 100%;
}

/* The "paper" itself ----------------------------------------------------- */

.letter {
  position: relative;
  width: 100%;
  max-width: 760px;
  padding: 76px 76px 68px;
  text-align: left;
  background: #fffaf1;
  background-image:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(255, 255, 255, 0) 42%
    ),
    radial-gradient(
      120% 80% at 100% 0%,
      rgba(255, 205, 152, 0.2) 0%,
      transparent 55%
    ),
    radial-gradient(
      120% 80% at 0% 100%,
      rgba(181, 135, 96, 0.12) 0%,
      transparent 55%
    );
  border-radius: 10px 8px 12px 8px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 0 0 1px rgba(72, 46, 24, 0.075),
    0 20px 44px rgba(69, 46, 24, 0.14),
    0 54px 100px rgba(69, 46, 24, 0.14);
  /* A whisper of rotation so the letter feels hand-pinned. */
  transform: rotate(-0.35deg);
}

.letter::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(80, 52, 28, 0.022) 0 1px,
      transparent 1px 7px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(80, 52, 28, 0.018) 0 1px,
      transparent 1px 9px
    );
  opacity: 0.55;
  pointer-events: none;
}

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

/* Two short washi-tape strips pinning the top corners. */
.letter__tape {
  position: absolute;
  top: -14px;
  z-index: 2;
  width: 112px;
  height: 27px;
  background: rgba(255, 213, 128, 0.72);
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.24) 0 6px,
      rgba(255, 255, 255, 0) 6px 12px
    );
  box-shadow:
    0 5px 12px rgba(60, 40, 20, 0.13),
    0 1px 0 rgba(255, 255, 255, 0.4) inset;
  border-radius: 2px;
  backdrop-filter: blur(2px);
}
.letter__tape--left {
  left: 14%;
  transform: rotate(-7deg);
}
.letter__tape--right {
  right: 14%;
  transform: rotate(6deg);
  background: rgba(255, 177, 165, 0.66);
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.22) 0 6px,
      rgba(255, 255, 255, 0) 6px 12px
    );
}

/* Founder photo, treated like a taped Polaroid sitting on the letter. */
.letter__polaroid {
  position: relative;
  z-index: 1;
  float: right;
  width: clamp(168px, 21vw, 218px);
  margin: -8px -18px 24px 36px;
  padding: 10px 10px 24px;
  background: #fffdf7;
  border-radius: 3px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 0 0 1px rgba(72, 46, 24, 0.06),
    0 12px 28px rgba(55, 34, 18, 0.16);
  transform: rotate(3.2deg);
  transform-origin: center center;
}

.letter__polaroid::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 50%;
  z-index: 2;
  width: 76px;
  height: 23px;
  background: rgba(255, 213, 128, 0.58);
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.28) 0 5px,
      rgba(255, 255, 255, 0) 5px 10px
    );
  border-radius: 2px;
  box-shadow: 0 4px 9px rgba(60, 40, 20, 0.12);
  transform: translateX(-50%) rotate(-4deg);
  backdrop-filter: blur(2px);
}

.letter__polaroid-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 32%;
  border-radius: 2px;
  filter: saturate(0.94) contrast(0.98) brightness(1.03);
}

.letter__polaroid-caption {
  margin-top: 11px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
  color: rgba(79, 47, 30, 0.78);
  transform: rotate(-1deg);
}

/* Greeting — large serif italic, the "Dear parents," line. */
.letter__greeting {
  margin: 0 0 30px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #23170f;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Body — warm serif, generous leading, slightly muted ink. */
.letter__body {
  max-width: 34.5em;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(17px, 1.28vw, 18.5px);
  line-height: 1.82;
  color: rgba(40, 29, 20, 0.82);
}
.letter__body p {
  margin: 0 0 19px;
}
.letter__body p:last-child {
  margin-bottom: 0;
}
.letter__body p:first-child {
  font-size: 1.04em;
  font-weight: 400;
  color: rgba(35, 23, 15, 0.88);
}
.letter__body ul {
  margin: -4px 0 22px;
  padding-left: 1.15em;
}
.letter__body li {
  margin: 0 0 7px;
}
.letter__body hr {
  width: 100%;
  height: 1px;
  margin: 28px 0;
  border: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(78, 49, 25, 0.18) 18%,
    rgba(78, 49, 25, 0.12) 76%,
    transparent
  );
}
.letter__body em {
  font-style: italic;
  font-weight: 600;
  color: #2a1b12;
}

/* Sign-off block ---------------------------------------------------------- */

.letter__signoff {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 38px;
  padding-top: 30px;
  border-top: 0;
}

.letter__signoff::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(78, 49, 25, 0.08),
    rgba(78, 49, 25, 0.2) 18%,
    rgba(78, 49, 25, 0.12) 76%,
    transparent
  );
}

.letter__signoff-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.3vw, 20px);
  color: rgba(52, 35, 23, 0.72);
  margin-bottom: 4px;
}

/* The handwritten signature uses Adil's chosen local signature face. */
.letter__signature {
  position: relative;
  display: inline-block;
  font-family: "Founder Signature", "Snell Roundhand",
    "Apple Chancery", "Brush Script MT", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(42px, 4.7vw, 60px);
  line-height: 0.95;
  color: #3f2618;
  letter-spacing: -0.02em;
  transform: rotate(-4deg);
  transform-origin: left center;
  margin: 10px 0 16px;
  text-shadow:
    0 0.5px 0 rgba(63, 38, 24, 0.16),
    0 0 0.75px rgba(63, 38, 24, 0.18);
}

/* Founder credit row: monogram + role copy. */
.letter__role {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
  padding: 10px 14px 10px 10px;
  border-radius: 999px;
  background: rgba(255, 244, 226, 0.55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.letter__avatar {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 30%;
  border: 2px solid rgba(255, 250, 241, 0.95);
  box-shadow:
    0 0 0 3px rgba(103, 64, 41, 0.08),
    0 5px 12px rgba(54, 32, 16, 0.2);
  flex-shrink: 0;
}

.letter__role-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  color: #26190f;
  line-height: 1.3;
}
.letter__role-sub {
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}

/* =========================================================
   Media carousel — shared scroll-snap gallery (reviews, albums)
   ========================================================= */

.media-carousel__viewport {
  container-type: inline-size;
  container-name: media-carousel;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(48, 35, 26, 0.22) transparent;
  padding-bottom: 10px;
}

.media-carousel__viewport:focus {
  outline: none;
}

.media-carousel__viewport:focus-visible {
  outline: 2px solid rgba(48, 35, 26, 0.28);
  outline-offset: 4px;
}

.media-carousel__viewport::-webkit-scrollbar {
  height: 6px;
}

.media-carousel__viewport::-webkit-scrollbar-track {
  background: transparent;
}

.media-carousel__viewport::-webkit-scrollbar-thumb {
  background: rgba(48, 35, 26, 0.18);
  border-radius: 999px;
}

.media-carousel__track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding-block: 4px 8px;
}

.media-carousel__card {
  --media-carousel-card-width: calc((100cqi - 60px) / 3.17);
  flex: 0 0 var(--media-carousel-card-width);
  width: var(--media-carousel-card-width);
  max-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(72, 46, 24, 0.08);
  border-radius: 28px;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 12px 28px rgba(69, 46, 24, 0.08);
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.media-carousel__card:focus {
  outline: none;
}

.media-carousel__card:focus-visible {
  outline: 2px solid rgba(48, 35, 26, 0.35);
  outline-offset: 3px;
}

@media (hover: hover) {
  .media-carousel__card:hover {
    transform: translateY(-4px);
    border-color: rgba(72, 46, 24, 0.12);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.85) inset,
      0 20px 40px rgba(69, 46, 24, 0.12);
  }
}

.media-carousel__card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  object-position: center;
  background: #fff;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 768px) {
  .media-carousel__card {
    --media-carousel-card-width: calc((100cqi - 20px) / 1.12);
    max-height: 560px;
    border-radius: 24px;
  }

  .media-carousel__card img {
    max-height: 560px;
  }
}

/* =========================================================
   Reviews — client screenshot carousel
   ========================================================= */

.reviews {
  position: relative;
  z-index: 1;
  padding: 88px 0 96px;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 172, 159, 0.14), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(197, 220, 174, 0.14), transparent 30%),
    #fff;
}

.reviews__header {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.reviews__header .section-title {
  margin: 0 auto 18px;
  max-width: none;
}

.reviews__intro {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.65;
  color: rgba(40, 29, 20, 0.72);
}

.reviews-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.reviews-lightbox[hidden] {
  display: none;
}

.reviews-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(15, 12, 10, 0.84);
  cursor: pointer;
}

.reviews-lightbox__backdrop:focus {
  outline: none;
}

.reviews-lightbox__backdrop:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: -4px;
}

.reviews-lightbox__img {
  position: relative;
  z-index: 1;
  max-width: min(960px, 100%);
  max-height: calc(100vh - 48px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

@media (max-width: 768px) {
  .reviews {
    padding: 72px 0 80px;
  }

  .reviews__header {
    margin-bottom: 28px;
  }
}

/* =========================================================
   Client videos — lazy TikTok carousel
   ========================================================= */

.client-videos {
  position: relative;
  z-index: 1;
  padding: 88px 0 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 172, 159, 0.14), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(197, 220, 174, 0.14), transparent 30%),
    #fff;
}

.client-videos__header {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.client-videos__header .section-title {
  margin: 0 auto 18px;
  max-width: none;
}

.client-videos__intro {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.65;
  text-align: center;
  color: rgba(40, 29, 20, 0.72);
}

.client-videos__gallery .client-videos__intro {
  margin-top: 56px;
  margin-bottom: 24px;
}

.client-videos__viewport {
  container-type: inline-size;
  container-name: client-videos;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(48, 35, 26, 0.22) transparent;
  padding-bottom: 10px;
}

.client-videos__viewport:focus {
  outline: none;
}

.client-videos__viewport:focus-visible {
  outline: 2px solid rgba(48, 35, 26, 0.28);
  outline-offset: 4px;
}

.client-videos__viewport::-webkit-scrollbar {
  height: 6px;
}

.client-videos__viewport::-webkit-scrollbar-track {
  background: transparent;
}

.client-videos__viewport::-webkit-scrollbar-thumb {
  background: rgba(48, 35, 26, 0.18);
  border-radius: 999px;
}

.client-videos__track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding-block: 4px 8px;
}

.client-videos__card {
  --client-videos-card-width: calc((100cqi - 60px) / 3.25);
  flex: 0 0 var(--client-videos-card-width);
  width: var(--client-videos-card-width);
  border-radius: 26px;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 10px 24px rgba(54, 32, 16, 0.055);
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

@media (hover: hover) {
  .client-videos__card:hover {
    transform: translateY(-4px);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.95) inset,
      0 18px 34px rgba(184, 122, 104, 0.12);
  }
}

.client-videos__preview,
.client-videos__player {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  cursor: pointer;
  background:
    linear-gradient(145deg, rgba(48, 35, 26, 0.08), rgba(48, 35, 26, 0.02)),
    #f7f3ef;
}

.client-videos__preview--no-thumb {
  background: #f5f1ec;
}

.client-videos__label {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(78%, 220px);
  margin: 0;
  transform: translate(-50%, calc(-50% - 52px));
  font-size: clamp(15px, 3.6cqi, 18px);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  color: rgba(48, 35, 26, 0.82);
  pointer-events: none;
}

.client-videos__thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-videos__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 12, 8, 0.08) 0%,
    rgba(18, 12, 8, 0.18) 42%,
    rgba(18, 12, 8, 0.52) 100%
  );
  pointer-events: none;
}

.client-videos__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(64px, 18cqi, 78px);
  height: clamp(64px, 18cqi, 78px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: rgba(48, 35, 26, 0.92);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(18, 12, 8, 0.18);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.client-videos__play svg {
  width: 30%;
  height: 30%;
  margin-left: 4%;
  fill: currentColor;
}

.client-videos__play:focus {
  outline: none;
}

.client-videos__play:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 3px;
}

@media (hover: hover) {
  .client-videos__play:hover {
    transform: translate(-50%, -50%) scale(1.04);
    box-shadow: 0 14px 32px rgba(18, 12, 8, 0.22);
  }
}

.client-videos__tiktok-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: rgba(18, 12, 8, 0.42);
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.client-videos__preview--no-thumb .client-videos__tiktok-badge {
  color: rgba(48, 35, 26, 0.88);
  background: rgba(255, 255, 255, 0.92);
}

.client-videos__tiktok-badge svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.client-videos__fullscreen {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: rgba(18, 12, 8, 0.42);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.client-videos__fullscreen svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.client-videos__fullscreen:focus {
  outline: none;
}

.client-videos__fullscreen:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 2px;
}

@media (hover: hover) {
  .client-videos__fullscreen:hover {
    background: rgba(18, 12, 8, 0.58);
    transform: scale(1.04);
  }
}

.client-videos__preview {
  opacity: 1;
  transition: opacity 225ms ease;
}

.client-videos__card--activating .client-videos__preview {
  opacity: 0;
}

.client-videos__player {
  opacity: 0;
  cursor: default;
  animation: client-videos-fade-in 225ms ease forwards;
}

@keyframes client-videos-fade-in {
  to {
    opacity: 1;
  }
}

.client-videos__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.client-videos__card:fullscreen,
.client-videos__card:-webkit-full-screen {
  width: 100%;
  max-width: none;
  height: 100%;
  border-radius: 0;
  background: #000;
}

.client-videos__card:fullscreen .client-videos__preview,
.client-videos__card:-webkit-full-screen .client-videos__preview,
.client-videos__card:fullscreen .client-videos__player,
.client-videos__card:-webkit-full-screen .client-videos__player {
  height: 100%;
  aspect-ratio: auto;
}

.client-videos__card:fullscreen .client-videos__thumb,
.client-videos__card:-webkit-full-screen .client-videos__thumb {
  object-fit: contain;
  background: #000;
}

@media (max-width: 768px) {
  .client-videos {
    padding: 72px 0 0;
  }

  .client-videos__header {
    margin-bottom: 28px;
  }

  .client-videos__gallery .client-videos__intro {
    margin-top: 48px;
    margin-bottom: 20px;
  }

  .client-videos__card {
    --client-videos-card-width: calc((100cqi - 20px) / 2.15);
  }
}

/* =========================================================
   Album includes — compact product specs
   ========================================================= */

.album-includes {
  position: relative;
  z-index: 1;
  padding: 60px 0 96px;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 172, 159, 0.14), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(197, 220, 174, 0.14), transparent 30%),
    #fff;
}

.album-includes__title {
  margin: 0 0 32px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--ink);
}

.album-includes__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.album-includes__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 100%;
  padding: 22px;
  border: 1px solid rgba(72, 46, 24, 0.08);
  border-radius: 28px;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 12px 28px rgba(69, 46, 24, 0.08);
}

.album-includes__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: rgba(48, 35, 26, 0.82);
}

.album-includes__icon svg {
  width: 24px;
  height: 24px;
}

.album-includes__heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.album-includes__value {
  margin: 0;
  margin-top: auto;
  font-size: 16px;
  line-height: 1.4;
  color: rgba(48, 35, 26, 0.68);
}

@media (max-width: 900px) {
  .album-includes__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .album-includes {
    padding: 48px 0 72px;
  }

  .album-includes__title {
    margin-bottom: 24px;
  }

  .album-includes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .album-includes__card {
    padding: 20px;
    border-radius: 24px;
  }
}

/* =========================================================
   Contact
   ========================================================= */

.contact {
  position: relative;
  z-index: 1;
  padding: 24px 0 92px;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 172, 159, 0.14), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(197, 220, 174, 0.14), transparent 30%),
    #fff;
}

.contact__inner {
  display: flex;
  justify-content: center;
}

.contact__card {
  position: relative;
  width: 100%;
  max-width: 680px;
  padding: clamp(30px, 4vw, 44px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 213, 128, 0.34), transparent 30%),
    radial-gradient(circle at 88% 88%, rgba(216, 238, 255, 0.62), transparent 36%),
    linear-gradient(145deg, #fffaf2 0%, #fff0ee 56%, #f3edff 100%);
  color: var(--ink);
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(122, 76, 48, 0.08);
  box-shadow:
    0 22px 52px rgba(184, 122, 104, 0.13),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
  isolation: isolate;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s ease;
}
.contact__card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 28px 64px rgba(184, 122, 104, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
}
.contact__card::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 28px;
  width: 20px;
  height: 20px;
  z-index: 1;
  background: #ffd45e;
  clip-path: polygon(50% 0%, 61% 34%, 98% 35%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 2% 35%, 39% 34%);
  transform: rotate(14deg);
  opacity: 0.9;
  pointer-events: none;
  transition: transform 0.3s ease;
}
.contact__card:hover::before {
  transform: rotate(26deg) scale(1.08);
}
.contact__copy {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}
.contact__copy .eyebrow {
  color: rgba(61, 42, 26, 0.58);
}

.contact__title {
  margin: 0 auto 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.1vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: rgba(22, 18, 15, 0.95);
  max-width: 16ch;
}

.contact__body {
  margin: 0 auto 20px;
  max-width: 30em;
  font-size: clamp(16px, 1.3vw, 17px);
  line-height: 1.55;
  color: rgba(45, 36, 28, 0.68);
}

.contact__note {
  position: relative;
  z-index: 2;
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(45, 36, 28, 0.52);
}

.contact__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 22px;
  background: #11100f;
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  box-shadow:
    0 12px 24px rgba(53, 36, 24, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.14) inset;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.contact__cta:hover {
  transform: translateY(-2px) rotate(-1deg);
  background: #221d19;
  box-shadow:
    0 16px 30px rgba(53, 36, 24, 0.24),
    0 1px 0 rgba(255, 255, 255, 0.18) inset;
}
.contact__mail {
  width: 26px;
  height: 22px;
  display: inline-flex;
  flex-shrink: 0;
  color: #fff;
  transition: transform 0.22s ease;
}
.contact__mail svg {
  width: 100%;
  height: 100%;
}
.contact__cta:hover .contact__mail {
  transform: translateY(-2px) rotate(-6deg);
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #fff 0%, #fffaf5 100%);
  border-top: 1px solid rgba(85, 55, 30, 0.06);
  padding: 34px 0 38px;
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 22px 28px;
}

.footer__brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  justify-self: start;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.footer__brand .nav__brand-logo {
  width: 102px;
}
.footer__brand-name {
  font-size: 13px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.42);
  letter-spacing: -0.005em;
  line-height: 1.45;
  max-width: 240px;
}

.footer__nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(246, 239, 232, 0.72);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
.footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.footer__nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  transform: translateY(-1px);
}

.footer__social {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: rgba(15, 15, 15, 0.72);
  background: rgba(246, 239, 232, 0.72);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
}

.footer__social-link:hover {
  color: #fff;
  background: #11100f;
  box-shadow: 0 8px 18px rgba(53, 36, 24, 0.16);
  transform: translateY(-2px) rotate(-3deg);
}

.footer__social-link svg {
  width: 19px;
  height: 19px;
}

.footer__copy {
  grid-column: 1 / -1;
  justify-self: center;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.38);
  text-align: center;
  white-space: nowrap;
}

/* =========================================================
   Responsive overrides for new sections
   ========================================================= */

@media (max-width: 1100px) {
  .nav__inner {
    padding: 20px 24px;
  }
  .nav--scrolled .nav__inner {
    padding: 10px 24px;
  }
  .nav__cta {
    padding: 8px 14px 8px 12px;
    font-size: 14px;
  }
  .features,
  .advantages,
  .faq,
  .about {
    padding-left: 0;
    padding-right: 0;
  }
  .section-inner {
    padding: 0 24px;
  }
  .section-title {
    margin-bottom: 40px;
  }
  .letter {
    padding: 56px 48px 52px;
  }
  .letter__polaroid {
    width: clamp(154px, 23vw, 190px);
    margin-right: -10px;
    margin-left: 28px;
  }
  .letter__polaroid-caption {
    font-size: 19px;
  }
  .letter__tape--left  { left: 12%; }
  .letter__tape--right { right: 12%; }

  /* Bento — tablet layout: 4 cols, simpler spans */
  .bento {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  .bento__card--gallery  { grid-column: span 4; }
  .bento__card--gallery {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    gap: 20px;
  }
  .bento__card--gallery .bento__visual {
    width: 100%;
    min-height: 380px;
  }
  .bento__card--scan     { grid-column: span 4; grid-row: auto; min-height: 560px; }
  .bento__visual--scan   { min-height: 360px; }
  .bento__card--life     { grid-column: span 2; }
  .bento__card--voice    { grid-column: span 2; }
  .bento__card--cloud    { grid-column: span 2; }
  .bento__card--share    { grid-column: span 2; }
  .bento__card--print    { grid-column: span 4; }
  .bento__card--print {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }
  .bento__card--print .bento__visual {
    min-height: 200px;
    width: 100%;
  }

  .contact__card {
    max-width: 680px;
  }
  .contact__copy {
    max-width: 100%;
    text-align: center;
  }
  .contact__cta {
    margin-left: auto;
    margin-right: auto;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
    text-align: center;
  }
  .footer__brand,
  .footer__nav,
  .footer__social,
  .footer__copy {
    justify-self: center;
  }
  .footer__brand {
    align-items: center;
  }
  .footer__brand-name {
    text-align: center;
    max-width: none;
  }
  .footer__social {
    margin-top: 11px;
  }
  .footer__copy {
    text-align: center;
    white-space: normal;
  }
}

@media (max-width: 700px) {
  .bento {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .bento__card--gallery,
  .bento__card--scan,
  .bento__card--life,
  .bento__card--voice,
  .bento__card--cloud,
  .bento__card--share,
  .bento__card--print {
    grid-column: span 1;
    min-height: 0;
  }
  .bento__card--gallery {
    min-height: 540px;
  }
  .bento__card--scan {
    min-height: 620px;
  }
  .bento__visual--scan {
    min-height: 380px;
  }
  .bento__card {
    padding: 24px 22px;
    border-radius: 24px;
  }
  .bento__title {
    font-size: 26px;
  }
  .bento__card--print .bento__visual,
  .bento__card--life .bento__visual--print {
    min-height: clamp(170px, 52vw, 220px);
  }
  .bento__card--life {
    padding-bottom: 28px;
  }
  .bento__visual--life {
    margin-top: 8px;
    min-height: 0;
  }
  .life-stage {
    min-height: 0;
    padding-top: 28%;
  }
  .life-video {
    width: 88%;
    border-width: 5px;
    border-radius: 22px;
  }
  .life-paper {
    top: 4%;
    width: 32%;
    max-width: 150px;
    transform: translateX(-70%) rotate(-4deg);
    animation-name: lifePaperFloatMobile;
  }
  .life-arrow {
    top: 9%;
    left: 59%;
    width: 8%;
    max-width: 42px;
  }
  @keyframes lifePaperFloatMobile {
    0%, 100% { transform: translateX(-70%) rotate(-4deg) translateY(0); }
    50%      { transform: translateX(-70%) rotate(-2.5deg) translateY(-4px); }
  }
  .artbook {
    width: min(88%, 680px);
    max-width: 100%;
  }
  .features {
    padding: 56px 0 0;
  }

  .advantages {
    padding: 80px 0 64px;
  }

  .advantages__header {
    margin-bottom: 28px;
  }

  .advantages__intro {
    font-size: 16px;
    line-height: 1.6;
  }

  .faq {
    padding: 56px 0 64px;
  }
  .faq__header {
    margin-bottom: 24px;
  }
  .faq__intro {
    font-size: 16.5px;
  }
  .faq-list {
    gap: 10px;
  }
  .faq-item {
    border-radius: 20px;
  }
  .faq-item__q {
    font-size: 17px;
    padding: 20px 58px 20px 22px;
  }
  .faq-item__toggle {
    right: 18px;
    width: 30px;
    height: 30px;
  }
  .faq-item__a {
    padding: 0 58px 22px 22px;
    font-size: 15.5px;
  }
  .about {
    padding: 64px 0 56px;
  }
  .about__cta {
    margin-top: 36px;
  }
  .about__cta-text {
    max-width: 28ch;
  }
  .letter {
    padding: 44px 28px 40px;
    transform: none;
    border-radius: 8px;
  }
  .letter__polaroid {
    float: none;
    width: min(220px, 72%);
    margin: 0 auto 34px;
    transform: rotate(2deg);
  }
  .letter__polaroid-caption {
    font-size: 20px;
  }
  .letter__tape--left {
    left: 8%;
    width: 92px;
    height: 22px;
    top: -11px;
  }
  .letter__tape--right {
    right: 8%;
    width: 92px;
    height: 22px;
    top: -11px;
  }
  .letter__signoff {
    margin-top: 28px;
    padding-top: 22px;
  }
  .letter__signature {
    font-size: clamp(42px, 12vw, 56px);
  }
  .contact {
    padding: 16px 0 72px;
  }
  .section-inner {
    padding: 0 20px;
  }
  .contact__card {
    min-height: auto;
    padding: 38px 24px 34px;
    border-radius: 28px;
  }
  .contact__card::after {
    inset: 12px;
    border-radius: 22px;
  }
  .contact__title {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.1;
    max-width: 14ch;
  }
  .contact__body {
    font-size: 16px;
  }
  .contact__note {
    font-size: 13px;
  }
  .contact__cta {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
    gap: 10px;
    font-size: 17px;
  }
  .footer__nav {
    gap: 4px;
    padding: 5px;
  }
  .footer__nav a {
    min-height: 32px;
    padding: 7px 10px;
    font-size: 14px;
  }
  .nav__cta {
    padding: 8px 13px 8px 11px;
  }
}

/* =========================================================
   Hero Visual — single composited image.
   ========================================================= */

.hero__visual {
  position: relative;
  width: 100%;
  align-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__visual picture,
.hero__visual-image {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
}
.hero__visual picture img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(380px, 1fr) minmax(500px, 620px);
    gap: 10px;
  }
  .hero__visual-image {
    max-width: 620px;
  }
}

/* iPad portrait (Mini 744, Air 820, Pro 11" 834, Pro 13" 1024) and
   phones — single-column centered layout. iPad landscape stays in
   2-column mode above 1100px. */
@media (max-width: 1100px) {
  .nav__links {
    display: none;
  }
  /* Brand stays visible on tablet/mobile; the app CTA still waits until
     after the hero so it does not compete with the hero CTA. */
  .nav__brand {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
  }
  .nav__menu-btn {
    display: flex;
    margin-left: auto;
    margin-right: -10px;
  }
  .nav__inner {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .nav__cta {
    display: none;
    margin-left: auto;
  }
  .nav--cta-visible .nav__cta {
    display: inline-flex;
  }
  .nav--cta-visible .nav__menu-btn {
    margin-left: 0;
  }
  .mobile-menu {
    margin: 0 16px 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: calc(var(--nav-height) + 16px) 24px 0;
    gap: 8px;
    min-height: unset;
    max-height: none;
  }

  .hero__brand {
    display: none;
  }
  .hero__copy {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }
  .hero__title {
    white-space: normal;
    align-items: center;
  }
  .hero__title-highlight {
    align-self: center;
  }
  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .cta {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-social-proof {
    align-self: center;
    justify-content: center;
  }
  .stats {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
  .hero__visual picture,
  .hero__visual-image,
  .hero__visual picture img {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Restore pre-typography-refinement highlight geometry on phones.
   Base desktop rules (0.4em padding, inset 0, translateY(-10px)) cascade
   here and caused horizontal overflow after the Monterchi weight/padding edits. */
@media (max-width: 767px) {
  .hero {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__copy {
    position: relative;
    left: auto;
    right: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
    transform: none;
    translate: none;
    justify-self: stretch;
    grid-column: 1;
  }

  .hero__title,
  .hero__subtitle,
  .cta,
  .stats,
  .hero-social-proof {
    min-width: 0;
    max-width: 100%;
  }

  .hero__title {
    letter-spacing: -0.045em;
  }

  .hero__title-highlight {
    max-width: 100%;
    padding: 0.025em 0.18em 0.06em;
  }

  .hero__title-highlight-text {
    max-width: 100%;
    white-space: normal;
    letter-spacing: -0.055em;
  }

  .hero__title-highlight-bg {
    max-width: 100%;
    left: -3%;
    right: -10%;
    top: 2%;
    bottom: -2%;
    transform: translateY(-3px) rotate(-1.5deg);
  }

  .hero__visual {
    position: relative;
    inset: auto;
    transform: none;
    margin-top: -40px;
  }

  .hero-social-proof {
    flex-wrap: nowrap;
    justify-content: center;
  }

  .hero-proof-pill {
    height: 46px;
    padding: 0 18px;
    gap: 8px;
  }

  .hero-proof-icon {
    width: 18px;
    height: 18px;
  }

  .hero-proof-text {
    font-size: 14px;
  }

  .hero-proof-text strong {
    font-size: 15px;
  }

  .bento__visual--gallery {
    align-items: flex-end;
  }

  .gallery-illustration {
    width: min(86%, 360px);
  }
}

@media (max-width: 320px) {
  .hero-social-proof {
    flex-wrap: wrap;
  }
}

@media (max-width: 620px) {
  .hero__brand-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }
  .hero__brand-wordmark {
    height: 40px;
  }

  .hero__title {
    font-size: clamp(36px, 10.5vw, 56px);
    white-space: normal;
  }

  .hero__subtitle {
    font-size: 16px;
    line-height: 1.65;
    max-width: 34ch;
    margin: 0 auto;
    text-align: center;
    color: #4d4d4d;
}

  .cta {
    padding: 14px 20px;
    font-size: 17px;
    gap: 12px;
    max-width: 100%;
  }
  .cta__icon {
    width: 20px;
    height: 24px;
  }
  .cta__chevron {
    width: 18px;
    height: 18px;
  }

  .hero-social-proof {
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap;
  }

  .hero-proof-pill {
    height: auto;
    padding: 7px 10px;
    gap: 5px;
  }

  .hero-proof-icon {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
  }

  .hero-proof-text {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1;
  }

  .hero-proof-text strong {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-right: 0.08em;
  }

  .stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
  }
  .stats__item {
    flex-direction: row;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    border: 1px solid rgba(48, 35, 26, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 8px 18px rgba(48, 35, 26, 0.05);
    white-space: nowrap;
    min-width: 0;
  }
  .stats__icon {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
  }
  .stats__value {
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.02em;
  }
  .stats__label {
    font-size: 10px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.01em;
  }
  .stats__icon svg {
    width: 100%;
    height: 100%;
    display: block;
  }

  .hero {
    padding-bottom: 0;
  }
  .hero__visual {
    margin-top: -40px;
    margin-left: -24px;
    margin-right: -24px;
    margin-bottom: 0;
    width: calc(100% + 48px);
  }
  .hero__visual picture,
  .hero__visual-image,
  .hero__visual picture img {
    max-width: 100%;
    width: 100%;
  }

  /* Bento: match simple-image media height to photo-process (220px) */
  .bento__step {
    top: 20px;
    right: 20px;
    font-size: 15px;
  }

  .bento__visual--photo-process,
  .bento__card--print .bento__visual {
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    flex: 0 0 220px;
    margin-top: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .photo-process-illustration {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
  }

  .bento__card--gallery {
    min-height: 0;
  }

  .bento__card--gallery .bento__visual,
  .bento__visual--gallery {
    height: auto;
    min-height: 0;
    max-height: none;
    flex: 0 0 auto;
    flex-grow: 0;
    align-self: auto;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 0;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .gallery-illustration {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
  }

  .bento__card--scan {
    min-height: 0;
  }

  .bento__card--scan .bento__visual,
  .bento__visual--scan {
    height: auto;
    min-height: 0;
    max-height: none;
    flex: 0 0 auto;
    flex-grow: 0;
    align-self: auto;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 0;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .scan-illustration {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
  }

  .bento__card--cloud {
    min-height: 0;
  }

  .bento__card--cloud .bento__visual,
  .bento__visual--cloud {
    height: auto;
    min-height: 0;
    max-height: none;
    flex: 0 0 auto;
    flex-grow: 0;
    align-self: auto;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 0;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cloud-illustration {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
  }

  .bento__card--share {
    min-height: 0;
  }

  .bento__card--share .bento__visual,
  .bento__visual--share {
    height: auto;
    min-height: 0;
    max-height: none;
    flex: 0 0 auto;
    flex-grow: 0;
    align-self: auto;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 0;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .bento__media--share {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
  }

  .bento__card--life .bento__visual--print {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    flex: 0 0 auto;
    min-height: clamp(170px, 52vw, 220px);
  }

  .bento__card--life .artbook {
    width: 88%;
    max-width: 340px;
    min-width: 0;
    height: auto;
    aspect-ratio: 2.8 / 1;
    margin: 0 auto;
  }

  .bento__card--life .artbook__stage,
  .bento__card--life .artbook__stage.stf__parent {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }

  .bento__card--life .stf__wrapper,
  .bento__card--life .stf__block {
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 420px) {
  .nav__inner {
    padding: 14px 18px;
  }
  .nav--scrolled .nav__inner {
    padding: 10px 18px;
  }
  .nav__brand-name {
    font-size: 17px;
  }
  .nav__brand-icon {
    width: 32px;
    height: 32px;
  }
  .hero {
    padding: calc(var(--nav-height) + 8px) 20px 0;
  }
  .hero__visual {
    margin-top: -40px;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: 0;
    width: calc(100% + 40px);
  }

  .gallery-illustration {
    width: 90%;
  }
}

/* Entry animation (applied by JS) */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease var(--reveal-delay, 0s),
    transform 0.6s ease var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal--in {
  opacity: 1;
  transform: translateY(0);
}
/* Reduce motion preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .cta {
    transition: none;
  }
  .contact__card,
  .contact__cta,
  .contact__mail {
    transition: none;
  }
  .contact__card:hover,
  .contact__cta:hover,
  .contact__cta:hover .contact__mail {
    transform: none;
  }
  .reviews__viewport,
  .media-carousel__viewport {
    scroll-behavior: auto;
  }
  .reviews__card,
  .media-carousel__card {
    transition: none;
  }
  .reviews__card:hover,
  .media-carousel__card:hover {
    transform: none;
  }
  .client-videos__viewport {
    scroll-behavior: auto;
  }
  .client-videos__card {
    transition: none;
  }
  .client-videos__card:hover {
    transform: none;
  }
  .client-videos__preview {
    transition: none;
  }
  .client-videos__player {
    animation: none;
    opacity: 1;
  }
  .client-videos__play,
  .client-videos__fullscreen {
    transition: none;
  }
  .client-videos__play:hover,
  .client-videos__fullscreen:hover {
    transform: translate(-50%, -50%);
  }
  .client-videos__fullscreen:hover {
    transform: none;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
