/* Mano vardas – main stylesheet */

:root {
  --bg: #faf5ee;
  --paper: #fdf9f5;
  --sheet: #fbf7f0;
  --ink: #29231c;
  --text: #3b352e;
  --muted: #7b756c;
  --soft: #9a9389;
  --line: #e7ddd0;
  --gold: #b39d70;
  --gold-2: #b99a63;
  --gold-ink: #8d6d40;
  --beige: #f4e8d9;
  --green: #616f53;
  --green-2: #56644a;
  --sage: #e2e4d4;
  --rose: #fbe8e1;
  --blue: #e7ebf1;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
}

html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 400; }
.ic { width: 22px; height: 22px; flex: none; }

.container-mv { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; position: relative; }
.container-mv.narrow { max-width: 820px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.h-serif {
  font-size: clamp(1.9rem, 3.3vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0 0 12px;
}
.sub { font-size: 17px; letter-spacing: .015em; color: var(--text); margin: 0; }

/* ---------- Buttons ---------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.2;
  background: var(--green);
  border: 1px solid var(--green-2);
  color: #f5f0e6;
  font-size: 15.5px;
  padding: 8px 24px 9px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .2s;
}
.btn-pill .ic { width: 17px; height: 17px; stroke-width: 1.6; transition: transform .2s; }
.btn-pill:hover { background: var(--green-2); color: #fff; }
.btn-pill:hover .ic { transform: translateX(2px); }

.btn-main {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  width: 100%;
  height: 58px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #697859 0%, #5c6a4f 100%);
  box-shadow: 0 10px 22px -12px rgba(62, 74, 48, .7), inset 0 1px 0 rgba(255,255,255,.12);
  color: #f7f3ea;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: filter .2s, transform .2s;
}
.btn-main .ic { width: 24px; height: 24px; stroke-width: 1.3; }
.btn-main:hover { filter: brightness(.94); color: #fff; }
.btn-main:active { transform: translateY(1px); }
.btn-main:disabled { opacity: .7; cursor: progress; }
.btn-main.btn-inline { display: inline-flex; width: auto; padding: 0 34px; font-size: 18px; height: 54px; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 26px;
  border: 1px solid #cdbb98;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.btn-ghost:hover { background: #fff; border-color: var(--gold-2); color: var(--ink); }
.btn-ghost .ic { width: 20px; height: 20px; color: var(--gold-ink); }

/* ---------- Header ---------- */
.site-head { position: fixed; left: 0; right: 0; top: 0; z-index: 40; padding: 14px 0 12px; background: rgba(255, 255, 255, .62); transition: background .2s, box-shadow .2s; }   /* the light strip on every page */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 54px; height: auto; }
.brand span {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: #3a342c;
}
.site-nav { gap: 46px; margin: 0 auto; padding-left: 60px; }
.site-nav a { text-decoration: none; font-size: 15px; color: #3a342c; }
.site-nav a:hover { color: var(--gold-ink); }
.site-nav .nav-nd { position: relative; display: inline-block; }
.nav-count { position: absolute; top: -11px; right: -14px; display: inline-grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--gold-ink); color: #fff; font-family: var(--sans); font-size: 10px; font-weight: 600; line-height: 1; letter-spacing: 0; box-shadow: 0 2px 6px -2px rgba(122, 88, 52, .55); }

/* ---------- Hero: two paths (new home page) ---------- */
.page-home .site-head { padding: 14px 0 12px; }
.hero2 { position: relative; isolation: isolate; padding: 104px 0 48px; overflow: hidden; background: #f9efe5; }
.hero2-photo {
  position: absolute; z-index: -1; top: -12vw; right: 0; width: 54%; aspect-ratio: 4 / 5;
  background: url('/assets/img/home/flowers_d.webp') center top / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 26%), linear-gradient(to bottom, #000 82%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 26%), linear-gradient(to bottom, #000 82%, transparent);
  mask-composite: intersect;
}
.hero2-inner { position: static; }
.hero2-copy { max-width: 760px; padding-bottom: 26px; }
.hero2-book { display: none; }
.hero2-feats { clear: both; }
.hero2-script {
  display: flex; align-items: center; gap: 16px; margin: 0 0 14px;
  font-family: var(--sans); font-size: 13.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: #8a6420;
}
.hero2-script::after { content: ""; width: 70px; height: 1.5px; background: #b8923f; }
.hero2 h1 { font-size: clamp(2.5rem, 3.7vw, 3.8rem); line-height: 1.02; letter-spacing: -.03em; font-weight: 420; margin: 0 0 20px; }
.hero2 h1 em { font-style: italic; color: #a98446; }
.hero2-sub { font-size: clamp(1rem, 1.3vw, 1.15rem); color: #3f372e; margin: 0 0 22px; max-width: 34rem; line-height: 1.45; }
.hero2-feats { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 26px; padding: 0; margin: 0; }
.hero2-feats li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; line-height: 1.3; color: #3f372e; }
.hero2-feats .disc { width: 52px; height: 52px; background: #f5e6d3; }
.hero2-feats .disc .ic { width: 23px; height: 23px; }

.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; text-align: left; }
.path {
  position: relative; overflow: hidden; display: flex; align-items: stretch; justify-content: space-between; gap: 8px;
  padding: 34px 0 34px 36px; border-radius: 22px; min-height: 440px;
  background: rgba(255, 252, 247, .82);
  border: 1px solid rgba(214, 190, 160, .55);
  box-shadow: 0 30px 70px -36px rgba(110, 80, 50, .45), 0 2px 10px -4px rgba(110, 80, 50, .1);
}
.path-body { position: relative; z-index: 2; flex: 1 1 56%; display: flex; flex-direction: column; }
.path-tag { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; margin: 0 0 12px; }
.path-story .path-tag { color: #b0705a; }
.path-guide .path-tag { color: var(--green-2); }
.path h2 { font-size: clamp(1.55rem, 2.3vw, 2.05rem); line-height: 1.12; letter-spacing: -.02em; font-weight: 450; margin: 0 0 20px; max-width: 12em; }
.path-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.path-list li { display: flex; align-items: center; gap: 14px; font-size: 16.5px; line-height: 1.3; color: #342e27; }
.path-list .ring { width: 38px; height: 38px; }
.path-list .ring .ic { width: 18px; height: 18px; }
.path-story .ring { border-color: #dba998; color: #b0705a; }
.path-guide .ring { border-color: #b9c4a6; color: var(--green-2); }
.btn-path {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; color: #fff; text-decoration: none;
  font-family: var(--sans); font-size: 15.5px; font-weight: 500; transition: background .2s, transform .2s;
}
.btn-path .ic { width: 18px; height: 18px; transition: transform .2s; }
.btn-path:hover { color: #fff; transform: translateY(-1px); }
.btn-path:hover .ic { transform: translateX(3px); }
.btn-path-rose { background: #c98a76; }
.btn-path-rose:hover { background: #b87763; }
.btn-path-green { background: var(--green); }
.btn-path-green:hover { background: var(--green-2); }
.path-art { position: absolute; right: 0; pointer-events: none; }
.path-story .path-art { top: 0; bottom: 0; width: 46%; height: 100%; object-fit: cover; object-position: 55% 55%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%); mask-image: linear-gradient(to right, transparent 0, #000 30%); }
.path-guide .path-art { top: 0; bottom: 0; width: 46%; height: 100%; object-fit: cover; object-position: 28% 38%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%); mask-image: linear-gradient(to right, transparent 0, #000 30%); }
.path h2 { margin-bottom: 12px; }
.path-for-label { font-size: 14.5px; color: var(--muted); margin: 0 0 8px; }
.path-for { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: nowrap; gap: 6px; position: relative; z-index: 3; }
.path-for li { white-space: nowrap; font-family: var(--sans); font-size: 12.5px; padding: 4px 12px; border-radius: 999px; background: #f8e6df; color: #9a5d49; }
.path-list { max-width: 54%; }
.btn-path { white-space: nowrap; }

.quiz-section { padding: 48px 0 60px; background: var(--bg); scroll-margin-top: 20px; }
.quiz-head { text-align: center; margin: 0 auto 34px; max-width: 40rem; }
.quiz-head .sub { color: var(--muted); }
.quiz-wrap { max-width: 720px; margin: 0 auto; }
/* the result is shown: the questions go, only the button to start again stays */
.quiz-again { display: none; text-align: center; }
.quiz-section.is-done { padding: 32px 0 36px; }
.quiz-section.is-done .quiz-head, .quiz-section.is-done .quiz-wrap { display: none; }
.quiz-section.is-done .quiz-again { display: block; }

.ring {
  display: inline-grid; place-items: center; flex: none;
  width: 50px; height: 50px; border-radius: 50%;
  border: 1.3px solid var(--gold-2);
  color: #97763f;
}
.ring .ic { width: 23px; height: 23px; }
.disc {
  display: inline-grid; place-items: center; flex: none;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--beige);
  color: #7a5834;
}
.disc .ic { width: 28px; height: 28px; stroke-width: 1.25; }

/* ---------- Form ---------- */
.family-form {
  background: var(--paper);
  border-radius: 18px;
  padding: 28px 32px 22px;
  box-shadow: 0 24px 60px -28px rgba(92, 70, 40, .28), 0 2px 10px -4px rgba(92, 70, 40, .08);
}
.ff-title { font-size: 27px; letter-spacing: -.01em; margin: 0; }
.ff-title::after { content: ""; display: block; width: 40px; height: 2px; background: #d2bd92; margin: 12px 0 18px; }
.ff-label { display: block; font-family: var(--sans); font-size: 14.5px; font-weight: 500; color: #231e18; margin: 16px 0 8px; }
.ff-title + .ff-label { margin-top: 0; }
.ff-field { position: relative; }
.ff-ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: #9c7c50; pointer-events: none; }
.ff-field input, .ff-field select {
  width: 100%;
  height: 48px;
  padding: 0 44px 0 50px;
  border: 1px solid #e3d9cc;
  border-radius: 8px;
  background: #fffdfa;
  font-family: var(--serif);
  font-size: 16.5px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.ff-field input::placeholder { color: #9d968c; }
.ff-field input:focus, .ff-field select:focus { border-color: #c5ae80; box-shadow: 0 0 0 3px rgba(197, 174, 128, .18); }
.ff-select select { cursor: pointer; }
.ff-chev { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: #3a342c; pointer-events: none; }

.ff-gender { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.g-opt {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  height: 56px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 15.5px;
  color: #2c2620;
  cursor: pointer;
  transition: box-shadow .2s, border-color .2s, transform .15s;
}
.g-opt input { position: absolute; opacity: 0; pointer-events: none; }
.g-opt .ic { width: 24px; height: 24px; }
.g-f { background: var(--rose); border-color: #f2d6cc; }
.g-f .ic { color: #b0574f; }
.g-m { background: var(--blue); border-color: #dfe5ee; }
.g-m .ic { color: #3f6293; }
.g-x { background: #faf3ec; border-color: #eadfd1; }
.g-x .ic { color: #7b4f2f; }
.g-opt:hover { transform: translateY(-1px); }
.g-opt:has(input:checked) { box-shadow: 0 0 0 2px currentColor inset; }
.g-f:has(input:checked) { color: #9c4a43; border-color: #d99a8f; }
.g-m:has(input:checked) { color: #36557f; border-color: #9fb3cf; }
.g-x:has(input:checked) { color: #6e4a2e; border-color: #cdb392; }
.g-opt:has(input:focus-visible) { outline: 2px solid #c5ae80; outline-offset: 2px; }
.g-opt span { color: #2c2620; }

.ff-error { margin: 14px 0 0; font-family: var(--sans); font-size: 14px; color: #a24b3e; }
.family-form .btn-main { margin-top: 22px; }
.ff-foot { margin: 14px 0 0; text-align: center; font-style: italic; font-size: 15.5px; letter-spacing: .02em; color: #6f685e; }
.ff-free { margin: 4px 0 0; text-align: center; font-family: var(--sans); font-size: 12.5px; color: var(--soft); }

/* ---------- Name page ---------- */
.sheet { position: relative; }
.sheet::before {
  content: ""; position: absolute; inset: -14px 18px auto -8px; height: 60%;
  background: #f5efe5; border: 1px solid #e7dccd;
  transform: rotate(-1.2deg);
  box-shadow: 0 10px 30px -18px rgba(60, 50, 30, .3);
}
.np {
  position: relative;
  height: 100%;
  background: var(--sheet);
  border: 1px solid #e9e0d2;
  padding: 18px 22px 22px;
  box-shadow: 0 22px 44px -26px rgba(60, 48, 28, .42), 0 1px 0 #fff inset;
}
.np-num { font-size: 13px; color: #6d665c; }
.np-head { display: flex; align-items: center; gap: 4px; margin: -4px 0 14px; }
.np-art { width: 42%; max-width: 132px; height: auto; mix-blend-mode: multiply; flex: none; }
.np-name { font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; letter-spacing: -.01em; margin: 0 0 4px; }
.np-swash { display: block; width: 150px; height: 12px; color: #8f8474; }
.np-rows { margin: 0; }
.np-rows > div { display: grid; grid-template-columns: 118px 1fr; gap: 10px; padding: 9px 0; align-items: start; }
.np-rows dt {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 600; color: #2d2822; line-height: 1.3;
}
.np-rows dt .ic { width: 19px; height: 19px; color: #6f665a; margin-top: -1px; }
.np-rows dd { margin: 0; font-size: 13.5px; line-height: 1.45; color: #5b554c; }
.np-soon { color: var(--soft); font-style: italic; }
.np-quote {
  margin: 14px 0 0;
  padding: 16px 20px;
  background: #f4e9dc;
  border: 1px solid #ebdcc8;
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: #6b5f50;
}

/* ---------- Sample preview ---------- */
.preview {
  position: relative;
  padding: 26px 0 30px;
  background: linear-gradient(180deg, #e3e5d5 0, #e5e6d8 40%, #f1ece2 78%, var(--bg) 100%);
}
.wash { position: absolute; left: 0; width: 100%; pointer-events: none; }
.wash-top { bottom: calc(100% - 1px); height: 90px; }
.preview-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.price-pill {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 34px 16px 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f7e9d2, #f1dcba);
  box-shadow: 0 10px 24px -16px rgba(120, 90, 40, .45);
  font-family: var(--sans); font-size: 14px; line-height: 1.35; color: #3b3226;
  white-space: nowrap;
}
.price-pill b { font-size: 19px; font-weight: 600; }
.price-pill .ic { width: 28px; height: 28px; color: #7a5c32; }

/* the sample PDF pages: a slideshow (3 on a desktop, 2 on a tablet, 1 on a phone) and a big view */
.sample-show { margin-top: 34px; }
/* the track clips what is outside of it, so it carries room for the pages' soft shadows (padding) and gives it back (negative margin) */
.sample-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 14px; scrollbar-width: none; padding: 20px 14px 64px; margin: 0 -14px -36px; }   /* the side room is narrower than the gap between the pages: no sliver of the next page shows */
.sample-track::-webkit-scrollbar { display: none; }
.sample-page { flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; padding: 0; border: 0; background: none; cursor: zoom-in; }
.sample-page img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 14px 30px -18px rgba(60, 48, 28, .4), 0 1px 4px rgba(60, 48, 28, .1); transition: transform .25s; }
.sample-page:hover img { transform: translateY(-4px); }
.sample-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 4px; }
.sample-count { font-family: var(--sans); font-size: 14px; color: var(--muted); min-width: 70px; text-align: center; }
.res-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid #cdbb98; background: rgba(255,255,255,.6); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s, opacity .2s; flex: none; }
.res-arrow .ic { width: 22px; height: 22px; }
.res-arrow:hover { background: #fff; }
.res-arrow:disabled { opacity: .35; cursor: default; }
.sample-prev .ic, .sample-lb-prev .ic { transform: rotate(180deg); }
.sample-lb { position: fixed; inset: 0; z-index: 1000; background: rgba(36, 30, 22, .86); display: flex; align-items: center; justify-content: center; gap: 18px; padding: 24px 18px; }
.sample-lb[hidden] { display: none; }
.sample-lb-view { max-height: 100%; max-width: min(92vw, 880px); overflow: auto; border-radius: 4px; background: #fbf7f0; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.sample-lb-view img { display: block; width: 100%; max-height: 92vh; object-fit: contain; cursor: zoom-in; }
.sample-lb-view.zoom img { width: 190%; max-width: none; max-height: none; cursor: zoom-out; }
.sample-lb-close { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink); }
.sample-lb-count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-family: var(--sans); font-size: 13px; color: #e9e0d0; pointer-events: none; }
@media (max-width: 991.98px) { .sample-page { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 575.98px) {
  .sample-page { flex-basis: 100%; }
  .sample-lb { padding: 14px 8px; gap: 8px; }
  .sample-lb .res-arrow { position: absolute; bottom: 34px; z-index: 2; }
  .sample-lb-prev { left: 14px; } .sample-lb-next { right: 14px; }
  .sample-lb-view { max-width: 100%; }
}
.preview-stage {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 2fr);
  gap: 18px;
  align-items: start;
  margin-top: 34px;
}
.preview-cover-wrap { position: relative; margin: 26px 10px 0 6px; }
.preview-cover-wrap::before {
  content: ""; position: absolute; inset: 10px -12px -10px 14px;
  background: #f3ede3; border: 1px solid #e5dccf; transform: rotate(2.4deg);
  box-shadow: 0 18px 40px -24px rgba(60, 48, 28, .45);
}
.preview-cover {
  position: relative; width: 100%; height: auto; display: block;
  transform: rotate(-1.6deg);
  box-shadow: 0 30px 60px -28px rgba(60, 48, 28, .55), 0 2px 6px -2px rgba(60, 48, 28, .18);
}
.preview-pages { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 14px; }

.benefits { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 44px 0 20px; margin: 0; }
.benefits li { display: flex; align-items: center; gap: 18px; font-size: 15.5px; line-height: 1.35; color: #342e27; }
.benefits b { font-weight: 500; color: var(--ink); }
.benefits .ring { width: 58px; height: 58px; }

/* ---------- Common blocks ---------- */
.block { padding: 90px 0; }
.block-paper { background: #f5eee4; }
.block-sage { background: linear-gradient(180deg, #e6e8da, #eef0e4); }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 0; margin: 50px 0 0; counter-reset: s; }
.steps li { position: relative; text-align: center; padding: 0 10px; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 24px; left: calc(50% + 40px); right: calc(-50% + 20px);
  border-top: 1px dashed #d4c4a5;
}
.step-no {
  display: inline-grid; place-items: center;
  width: 50px; height: 50px; border-radius: 50%;
  border: 1.3px solid var(--gold-2);
  background: var(--bg);
  font-size: 22px; color: #8d6d40;
  margin-bottom: 18px;
}
.steps h3 { font-size: 22px; margin: 0 0 8px; }
.steps p { color: var(--muted); font-size: 16px; margin: 0 auto; max-width: 20rem; }

.versus { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.versus-copy .h-serif { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.versus-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vs-card { border-radius: 16px; padding: 26px 26px 20px; }
.vs-card h3 { font-size: 20px; margin: 0 0 14px; }
.vs-card ul { list-style: none; padding: 0; margin: 0; }
.vs-card li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.4; padding: 7px 0; }
.vs-web { border: 1px dashed #d6c8b3; color: var(--soft); }
.vs-web h3 { color: #8a8378; }
.vs-web li::before { content: "–"; color: #c9bba6; }
.vs-ours { background: var(--paper); box-shadow: 0 20px 44px -26px rgba(92, 70, 40, .35); }
.vs-ours .ic { width: 20px; height: 20px; color: var(--green); margin-top: 1px; }

.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 46px; }
.principles > div { background: var(--paper); border: 1px solid #eee5d8; border-radius: 16px; padding: 28px 24px; }
.principles .disc { width: 56px; height: 56px; margin-bottom: 16px; }
.principles .disc .ic { width: 25px; height: 25px; }
.principles h3 { font-size: 19px; font-weight: 500; margin: 0 0 6px; }
.principles p { font-size: 15px; color: var(--muted); margin: 0; }

.gift { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.gift-copy .sub { margin: 4px 0 28px; max-width: 30rem; }
.gift-card {
  position: relative;
  max-width: 380px; margin: 0 auto;
  background: var(--paper);
  border: 1px solid #e9dfcf;
  padding: 34px 38px 38px;
  text-align: center;
  transform: rotate(2.2deg);
  box-shadow: 0 30px 60px -30px rgba(60, 60, 30, .45);
}
.gift-card::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid #efe4d3; pointer-events: none;
}
.gift-card img { width: 110px; mix-blend-mode: multiply; }
.gc-eyebrow { font-family: var(--sans); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 10px 0 14px; }
.gc-title { font-size: 26px; font-style: italic; color: var(--ink); margin: 0 0 10px; }
.gc-text { font-size: 16px; color: #5d564c; margin: 0 0 18px; }
.gc-sign { font-style: italic; color: var(--gold-ink); margin: 0; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; align-items: stretch; }
.plans.plans-one { grid-template-columns: minmax(0, 420px); justify-content: center; }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid #ebe1d3;
  border-radius: 20px;
  padding: 34px 30px 30px;
}
.plan-hi { border: 1.5px solid var(--green); box-shadow: 0 30px 60px -34px rgba(62, 74, 48, .55); transform: translateY(-12px); }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #f5f0e6;
  font-family: var(--sans); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 24px; margin: 0; }
.plan-for { font-family: var(--sans); font-size: 13.5px; color: var(--soft); margin: 4px 0 18px; }
.plan-price { font-size: 42px; line-height: 1; color: var(--ink); margin: 0 0 22px; letter-spacing: -.02em; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 15.5px; padding: 6px 0; line-height: 1.4; }
.plan li .ic { width: 19px; height: 19px; color: var(--green); margin-top: 2px; }
.plan .btn-main { height: 52px; font-size: 17px; }

.guarantee {
  display: flex; align-items: center; gap: 20px;
  max-width: 720px; margin: 56px auto 0;
  padding: 18px 30px 18px 18px;
  background: var(--beige);
  border-radius: 999px;
}
.guarantee .disc { width: 54px; height: 54px; background: var(--paper); }
.guarantee p { margin: 0; font-size: 17px; }
.guarantee b { font-weight: 500; color: var(--ink); }

.faq { margin-top: 40px; border-top: 1px solid #e3d9cb; }
.faq-item { border-bottom: 1px solid #e3d9cb; }
.faq-item summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0;
  font-size: 20px; color: var(--ink);
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ic { width: 22px; height: 22px; color: var(--gold-ink); transition: transform .25s; flex: none; }
.faq-item[open] .faq-ic { transform: rotate(45deg); }
.faq-item p { margin: -6px 0 24px; color: var(--muted); max-width: 42rem; }

.final { padding: 100px 0; background: linear-gradient(180deg, var(--bg), #f3e9dc); }
.final-grid { display: grid; grid-template-columns: 1fr minmax(0, 500px); gap: 70px; align-items: center; }
.final .h-serif { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.final-art { width: 170px; mix-blend-mode: multiply; margin-top: 20px; }

.site-foot { background: #f1e8dc; padding: 38px 0 30px; border-top: 1px solid #e7dccd; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-row nav { display: flex; gap: 28px; flex-wrap: wrap; }
.foot-row nav a { font-family: var(--sans); font-size: 14px; color: #5b554c; text-decoration: none; }
.foot-row nav a:hover { color: var(--ink); }
.foot-note { font-family: var(--sans); font-size: 13px; color: var(--soft); margin: 18px 0 0; }

/* ---------- Results ---------- */
.results { padding: 70px 0 90px; background: linear-gradient(180deg, #f6efe5, var(--bg)); scroll-margin-top: 10px; }
.res-head { text-align: center; max-width: 46rem; margin: 0 auto 40px; }
.res-head .h-serif { font-size: clamp(2rem, 3.6vw, 3rem); }
.res-forms { font-family: var(--sans); font-size: 13.5px; color: var(--muted); margin: 8px 0 0; }
.res-forms button { background: none; border: 0; padding: 0; color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; font: inherit; cursor: pointer; }
.res-fix { display: none; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.res-fix.on { display: flex; }
.res-fix input { height: 42px; border: 1px solid #e3d9cc; border-radius: 8px; padding: 0 14px; font-family: var(--serif); font-size: 16px; background: #fffdfa; width: 210px; }
.res-fix .btn-ghost { height: 42px; }
.res-free { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.res-nav { display: none; }

.res-locked-head { text-align: center; margin: 44px 0 16px; }
.res-locked-head h3 { font-size: 22px; margin: 0 0 4px; }
.res-locked-head p { color: var(--muted); margin: 0; font-size: 14px; }
.locked { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.lk {
  position: relative;
  background: var(--sheet);
  border: 1px solid #ebe2d5;
  border-radius: 6px;
  padding: 9px 34px 9px 12px;
  display: flex; align-items: baseline; gap: 9px;
  overflow: hidden;
}
.lk-num { font-size: 11px; color: var(--soft); min-width: 14px; }
.lk-name { font-size: 19px; line-height: 1.1; color: var(--ink); margin: 0; white-space: nowrap; overflow: hidden; }
.lk-name i { font-style: normal; filter: blur(6px); opacity: .7; user-select: none; }
.lk-tag {
  display: inline-block;
  font-family: var(--sans); font-size: 11px; letter-spacing: .04em;
  padding: 3px 9px; border-radius: 999px;
  background: var(--beige); color: #7a5834;
}
.lk .ic { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; color: #b9a98e; }

.unlock {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  margin-top: 50px;
  background: var(--paper);
  border-radius: 22px;
  box-shadow: 0 30px 70px -36px rgba(92, 70, 40, .38);
  overflow: hidden;
}
.unlock-pk { padding: 34px 34px; background: #f6efe4; min-width: 0; }
.unlock-go { min-width: 0; }
.unlock-pk h3, .unlock-go h3 { font-size: 24px; margin: 0 0 18px; }
.pk-opt {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid #e8ddcd;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.pk-opt + .pk-opt { margin-top: 10px; }
.pk-opt input { accent-color: var(--green); width: 18px; height: 18px; }
.pk-opt b { display: block; font-weight: 500; font-size: 17px; color: var(--ink); }
.pk-opt small { display: block; font-family: var(--sans); font-size: 12.5px; color: var(--soft); margin-top: 2px; }
.pk-opt em { font-style: normal; font-size: 20px; color: var(--ink); white-space: nowrap; }
.pk-opt .pk-badge { font-family: var(--sans); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-left: 6px; }
.pk-opt:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 1px var(--green) inset; }
.pk-opt.pk-one { border-color: var(--green); box-shadow: 0 0 0 1px var(--green) inset; cursor: default; }
.pk-opt .pk-tick { width: 20px; height: 20px; color: var(--green); }
.unlock-go { padding: 34px 38px; }
.unlock-go .ff-field input { padding-left: 50px; }
.unlock-go .gift-field { display: none; }
.unlock-go.is-gift .gift-field { display: block; }
.chk { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; font-family: var(--sans); font-size: 13px; color: var(--muted); cursor: pointer; }
.chk input { accent-color: var(--green); margin-top: 2px; }
.unlock-go .btn-main { margin-top: 22px; font-size: 18px; }
@media (max-width: 575.98px) {
  .unlock-go .btn-main { font-size: 16px; height: auto; min-height: 56px; padding: 10px 18px; line-height: 1.25; text-align: center; }
}
.unlock-small { font-family: var(--sans); font-size: 12.5px; color: var(--soft); text-align: center; margin: 12px 0 0; }
.unlock-small button { background: none; border: 0; padding: 0; color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; font: inherit; cursor: pointer; }
.unlock-guar { display: flex; gap: 10px; align-items: center; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid #eee4d6; font-size: 14.5px; color: #5d564c; }
.unlock-guar .ic { color: var(--green); }
.unlock-msg { font-family: var(--sans); font-size: 13.5px; margin: 12px 0 0; text-align: center; }
.unlock-msg.ok { color: var(--green); }
.unlock-msg.err { color: #a24b3e; }

/* ---------- Inner pages ---------- */
.page-inner main { padding: 18px 0 90px; }
/* A page that ends with a full-width coloured block goes straight into the footer (no empty band between them). */
.page-inner main:has(> section.block:last-child) { padding-bottom: 0; }
.paper-card { background: var(--paper); border-radius: 22px; padding: 50px 56px; box-shadow: 0 30px 70px -40px rgba(92, 70, 40, .35); }
.legal h1 { font-size: 40px; margin-bottom: 8px; }
.legal h2 { font-size: 24px; margin: 34px 0 10px; }
.legal p, .legal li { color: #4b453d; }
.legal .todo { background: #fbecc9; padding: 0 4px; border-radius: 3px; }
.thanks { text-align: center; max-width: 640px; margin: 0 auto; }
.thanks .disc { width: 76px; height: 76px; margin-bottom: 18px; }
.thanks h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.05; margin: 0 0 14px; }
.thanks p { color: var(--muted); }
.thanks .btn-main { max-width: 360px; margin: 26px auto 0; }
.spinner-mv { width: 34px; height: 34px; border: 2px solid #e1d4bf; border-top-color: var(--green); border-radius: 50%; animation: spin 1s linear infinite; margin: 20px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Tablet ---------- */
@media (max-width: 1199.98px) {
  .locked { grid-template-columns: repeat(4, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Phone / tablet ---------- */
@media (max-width: 991.98px) {
  body { font-size: 16px; }
  .site-head { padding: 12px 0 12px; }
  .brand img { width: 40px; }
  .brand span { font-size: 14px; letter-spacing: .26em; }
  .btn-pill { font-size: 14px; padding: 8px 16px; gap: 6px; }
  .btn-pill .ic { width: 15px; height: 15px; }

  /* Phone: a compact clear picture on top, the text starts right below it (nothing is written over a picture) */
  /* Phone: one calm picture behind the whole hero – the text right under the header on its plain top, the book shows in the bottom corner */
  /* Phone: a branch with white flowers and its soft shadows comes in from the right behind the menu and the text; the menu has no strip here */
  .hero2 { padding: 0 0 44px; background: #f9efe5; }
  .hero2-photo {
    display: block; top: 64px; right: -12%; width: 58%; aspect-ratio: 1536 / 2752;
    background: url('/assets/img/home/flowers_m.webp') center top / 100% 100% no-repeat;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%), linear-gradient(to bottom, transparent 0, #000 12%, #000 78%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0, #000 30%), linear-gradient(to bottom, transparent 0, #000 12%, #000 78%, transparent);
    mask-composite: intersect;
  }
  .hero2-copy { position: relative; margin: 0 0 22px; padding: 86px 0 0; background: none; }
  .hero2-book { display: none; }
  .hero2 h1 { font-size: clamp(2.2rem, 10.5vw, 3.2rem); max-width: 5.8em; }
  .hero2-sub { margin-bottom: 20px; max-width: 76%; }
  /* Phone: a compact 2×2 list – small icons, two short lines each */
  .hero2-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
  .hero2-feats li { font-size: 13px; line-height: 1.25; gap: 8px; }
  .hero2-feats .disc { width: 32px; height: 32px; flex: none; }
  .hero2-feats .disc .ic { width: 16px; height: 16px; }
  .paths { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  /* Phone: the picture stands on the right side of the card, the text keeps the left ~60% (no text over the picture) */
  .path { padding: 24px 20px; min-height: 0; display: block; }
  .path-body { position: relative; z-index: 2; max-width: none; }
  .path h2, .path-list { max-width: 60%; }
  .path-for { gap: 4px; margin-bottom: 16px; }
  .path-for li { font-size: 11px; padding: 3px 7px; }
  .path h2 { font-size: 1.45rem; }
  .path-list { gap: 10px; }
  .path-list li { font-size: 15.5px; gap: 10px; }
  .path-list .ring { width: 34px; height: 34px; }
  .path-list .ring .ic { width: 16px; height: 16px; }
  .path-art, .path-story .path-art, .path-guide .path-art { position: absolute; z-index: 1; top: 0; bottom: 0; left: auto; right: 0; width: 44%; height: 100%; max-width: none; margin: 0; object-fit: cover; object-position: 42% 30%; opacity: 1;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%); mask-image: linear-gradient(to right, transparent 0, #000 22%); -webkit-mask-composite: source-over; mask-composite: add; }
  .path-story .path-art { object-position: 62% 40%; }
  .btn-path { position: relative; z-index: 3; }
  .btn-path { align-self: stretch; justify-content: center; margin-top: 4px; }
  .quiz-section { padding: 36px 0 40px; }
  .eyebrow { font-size: 11px; letter-spacing: .2em; margin-bottom: 10px; }

  .family-form { padding: 20px 18px 16px; border-radius: 16px; }
  .ff-title { font-size: 23px; }
  .ff-title::after { margin: 9px 0 12px; }
  .ff-label { font-size: 13.5px; margin: 11px 0 6px; }
  .ff-field input, .ff-field select { height: 46px; font-size: 16px; }
  .g-opt { height: 50px; gap: 7px; font-size: 14px; flex-direction: row; }
  .g-opt .ic { width: 20px; height: 20px; }
  .family-form .btn-main { margin-top: 16px; height: 54px; font-size: 18px; }
  .ff-foot { font-size: 14px; margin-top: 10px; }

  .preview { padding-top: 16px; }
  .wash-top { height: 50px; }
  .preview-head { flex-direction: column; align-items: flex-start; }
  .preview-stage { grid-template-columns: 1fr; }
  .preview-cover-wrap { max-width: 280px; margin: 10px auto 20px; }
  .preview-pages { grid-template-columns: 1fr; gap: 34px; }
  .benefits { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .benefits li { gap: 12px; font-size: 14.5px; }
  .benefits .ring { width: 48px; height: 48px; }

  .block { padding: 64px 0; }
  .steps { grid-template-columns: 1fr; gap: 34px; margin-top: 34px; }
  .steps li::after { display: none; }
  .versus { grid-template-columns: 1fr; gap: 30px; }
  .gift { grid-template-columns: 1fr; gap: 40px; }
  .plans { grid-template-columns: 1fr; gap: 30px; }
  .plan-hi { transform: none; }
  .guarantee { border-radius: 18px; }
  .final { padding: 64px 0; }
  .final-grid { grid-template-columns: 1fr; gap: 30px; }
  .final-art { display: none; }

  .res-free { grid-template-columns: 1fr; gap: 34px; }
  .locked { grid-template-columns: repeat(2, 1fr); }
  .unlock { grid-template-columns: 1fr; }
  .unlock-pk, .unlock-go { padding: 26px 20px; }
  .pk-opt { gap: 10px; padding: 14px; }
  .pk-opt em { font-size: 18px; }
  .pk-opt .pk-badge { display: block; margin: 3px 0 0; }
  .paper-card { padding: 30px 22px; }
}

@media (max-width: 575.98px) {
  /* the 3 names on a phone: slides with arrows instead of a long column */
  .res-free { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 20px 8px 12px; margin: -20px -8px -12px; }
  .res-free::-webkit-scrollbar { display: none; }
  .res-free .sheet { flex: 0 0 100%; scroll-snap-align: center; }
  .res-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
  .res-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid #cdbb98; background: rgba(255,255,255,.6); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s, opacity .2s; }
  .res-arrow .ic { width: 22px; height: 22px; }
  .res-arrow:hover { background: #fff; }
  .res-arrow:disabled { opacity: .35; cursor: default; }
  .res-prev .ic { transform: rotate(180deg); }
  .res-dots { display: flex; gap: 8px; }
  .res-dots i { width: 8px; height: 8px; border-radius: 50%; background: #d8ccb6; transition: background .2s, transform .2s; }
  .res-dots i.on { background: var(--gold-ink, #a8894f); transform: scale(1.25); }
  .versus-cards { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .np { padding: 16px 16px 18px; }
  .np-rows > div { grid-template-columns: 104px 1fr; }
  .price-pill { padding: 12px 24px 12px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media (min-width: 992px) {
  .nowrap-lg { white-space: nowrap; }
}

.brand span, .btn-pill { white-space: nowrap; }
@media (max-width: 575.98px) {
  .brand img { width: 34px; }
  .brand span { font-size: 13px; letter-spacing: .2em; }
  .site-head .btn-pill { font-size: 13.5px; padding: 7px 14px 8px; }
  .g-opt { flex-direction: column; gap: 2px; height: 60px; font-size: 13.5px; }
  .g-opt .ic { width: 19px; height: 19px; }
}

/* ---------- Quiz ---------- */
.quiz { position: relative; }
.qz-progress { display: flex; align-items: center; gap: 14px; margin: -4px 0 18px; font-family: var(--sans); font-size: 12.5px; letter-spacing: .04em; color: var(--muted); }
.qz-progress b { font-weight: 600; color: var(--ink); }
.qz-bar { flex: 1; height: 4px; border-radius: 99px; background: #eee4d6; overflow: hidden; }
.qz-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #c5ae80, var(--green)); transition: width .35s ease; }
.qz-step { display: none; }
.qz-step.is-on { display: block; animation: qzIn .3s ease both; }
@keyframes qzIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.qz-q { font-size: 22px; line-height: 1.25; letter-spacing: -.005em; margin: 0 0 16px; }
.qz-hint { font-family: var(--sans); font-size: 13px; color: var(--muted); margin: -10px 0 14px; }
.qz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qz-opts-3 { grid-template-columns: repeat(3, 1fr); }
.qz-opts-6 { grid-template-columns: repeat(3, 1fr); }
.qz-opt {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 64px; padding: 12px 14px;
  background: #fffdfa;
  border: 1px solid #e3d9cc;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background .2s, transform .15s;
}
.qz-opt input { position: absolute; opacity: 0; pointer-events: none; }
.qz-opt b { font-weight: 500; font-size: 16.5px; color: var(--ink); line-height: 1.2; }
.qz-opt small { font-family: var(--sans); font-size: 12px; color: var(--soft); margin-top: 3px; line-height: 1.3; }
.qz-opt:hover { border-color: #cdb892; transform: translateY(-1px); }
.qz-opt:has(input:checked) { background: #f3f5ec; border-color: var(--green); box-shadow: 0 0 0 1px var(--green) inset; }
.qz-opt:has(input:focus-visible) { outline: 2px solid #c5ae80; outline-offset: 2px; }
.qz-opts-6 .qz-opt { min-height: 52px; align-items: center; text-align: center; }
.qz-field + .qz-field { margin-top: 10px; }
.ff-ic.qz-no { transform: translateY(-50%) rotate(45deg); }
.quiz .btn-main { margin-top: 18px; }
.quiz .btn-main:disabled { opacity: .45; cursor: not-allowed; filter: none; }
.qz-foot { display: flex; align-items: center; justify-content: center; position: relative; margin-top: 14px; min-height: 22px; }
.qz-foot .ff-foot { margin: 0; }
.qz-back { position: absolute; left: 0; background: none; border: 0; padding: 0; font-family: var(--sans); font-size: 13px; color: var(--muted); cursor: pointer; }
.qz-back:hover { color: var(--ink); }
.qz-analyze { text-align: center; padding: 18px 0 6px; }
.qz-analyze .qz-q { font-size: 21px; margin: 16px 0 14px; }
.qz-spin { width: 46px; height: 46px; margin: 0 auto; border: 2px solid #eadfcd; border-top-color: var(--green); border-radius: 50%; animation: spin 1s linear infinite; }
.qz-log { list-style: none; padding: 0; margin: 0 auto; max-width: 340px; text-align: left; font-family: var(--sans); font-size: 13.5px; color: var(--muted); }
.qz-log li { display: flex; gap: 10px; align-items: center; padding: 5px 0; animation: qzIn .3s ease both; }
.qz-log li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; border: 1.5px solid #d8c9ad; }
.qz-log li.done { color: var(--ink); }
.qz-log li.done::before { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.quiz.is-busy .qz-progress, .quiz.is-busy .qz-foot, .quiz.is-busy .ff-free { visibility: hidden; }
.final-cta .sub { margin-bottom: 24px; }

@media (max-width: 575.98px) {
  .qz-q { font-size: 20px; margin-bottom: 14px; }
  .qz-opts-3 { grid-template-columns: 1fr; }
  .qz-opts-6 { grid-template-columns: repeat(2, 1fr); }
  .qz-opt { min-height: 56px; padding: 10px 12px; }
  .qz-opts-3 .qz-opt { min-height: 50px; }
}

@media (min-width: 992px) {
  /* Same height as the original form so the right column keeps the mockup layout and steps don't jump. */
  .quiz { min-height: 560px; display: flex; flex-direction: column; }
  .quiz .qz-foot { margin-top: auto; padding-top: 14px; }
}
.qz-intro { list-style: none; padding: 18px 0 0; margin: 20px 0 0; border-top: 1px solid #efe6d9; font-family: var(--sans); font-size: 13.5px; color: var(--muted); }
.qz-intro li { display: flex; gap: 10px; align-items: center; padding: 4px 0; }
.qz-intro .ic { width: 17px; height: 17px; color: var(--green); }

/* ---------- Consent bar ---------- */
.consent {
  position: fixed; z-index: 50; left: 12px; right: 12px; bottom: 16px;
  max-width: 660px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 12px 12px 12px 22px;
  background: var(--paper);
  border: 1px solid #eadfcf;
  border-radius: 999px;
  box-shadow: 0 18px 44px -20px rgba(60, 48, 28, .4);
  animation: consentIn .35s ease both;
}
@keyframes consentIn { from { opacity: 0; } to { opacity: 1; } }
.consent[hidden] { display: none; }
.consent p { margin: 0; font-family: var(--sans); font-size: 13.5px; line-height: 1.45; color: var(--text); }
.consent a { color: var(--gold-ink); }
.consent-btns { display: flex; gap: 8px; flex: none; }
.consent .btn-ghost { height: 38px; padding: 0 16px; font-size: 13.5px; }
.consent .btn-pill { padding: 8px 20px; font-size: 14px; }
@media (max-width: 575.98px) {
  .consent { flex-direction: column; align-items: stretch; gap: 10px; border-radius: 16px; padding: 14px; bottom: 10px; }
  .consent p { text-align: center; }
  .consent-btns > * { flex: 1; text-align: center; }
}


/* ---------- Quiz: liked / disliked names ---------- */
.qz-names { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.qz-name {
  position: relative;
  height: 44px; padding: 0 8px;
  background: #fffdfa; border: 1px solid #e3d9cc; border-radius: 10px;
  font-family: var(--serif); font-size: 16px; color: var(--ink);
  cursor: pointer; transition: background .15s, border-color .15s, transform .12s;
}
.qz-name:hover { border-color: #cdb892; }
.qz-name:active { transform: scale(.97); }
.qz-name[hidden] { display: none; }
.qz-name i { position: absolute; top: -7px; right: -6px; width: 20px; height: 20px; border-radius: 50%; font-style: normal; font-family: var(--sans); font-size: 11px; line-height: 20px; color: #fff; display: none; }
.qz-name.is-like { background: #f3f5ec; border-color: var(--green); box-shadow: 0 0 0 1px var(--green) inset; }
.qz-name.is-like i { display: block; background: var(--green); }
.qz-name.is-like i::before { content: "♥"; }
.qz-name.is-dis { background: #faf1ee; border-color: #d9a597; color: #9a8f86; text-decoration: line-through; text-decoration-color: rgba(162, 75, 62, .5); }
.qz-name.is-dis i { display: block; background: #b8604f; }
.qz-name.is-dis i::before { content: "✕"; }
.qz-like-ic { color: var(--green); }
.qz-dis-ic { color: #b8604f; }
.qz-tally { display: flex; gap: 16px; justify-content: flex-end; margin: 8px 0 12px; font-family: var(--sans); font-size: 12.5px; color: var(--muted); }
.qz-tally b { color: var(--ink); }
.qz-more { background: none; border: 0; padding: 8px 0 0; font-family: var(--sans); font-size: 13px; color: var(--gold-ink); cursor: pointer; }
.qz-extra { margin-top: 8px; }
@media (max-width: 575.98px) {
  .qz-names { grid-template-columns: repeat(3, 1fr); }
  .qz-name { height: 42px; font-size: 15px; }
}

/* Quiz step 7 with up to 9 data-driven values */
.qz-opts-5, .qz-opts-7, .qz-opts-8, .qz-opts-9 { grid-template-columns: repeat(3, 1fr); }
.qz-opts-5 .qz-opt, .qz-opts-7 .qz-opt, .qz-opts-8 .qz-opt, .qz-opts-9 .qz-opt { min-height: 52px; align-items: center; text-align: center; }
@media (max-width: 575.98px) {
  .qz-opts-5, .qz-opts-7, .qz-opts-8, .qz-opts-9 { grid-template-columns: repeat(2, 1fr); }
}

.np-syl { display: block; font-family: var(--sans); font-size: 13px; letter-spacing: .14em; color: var(--gold-ink); margin: 2px 0 4px; }

/* Quiz: odd-looking surname confirmation */
.qz-confirm { margin: 0 0 14px; padding: 14px 16px; border: 1px solid #e3d9cc; border-radius: 12px; background: #fbf6ec; font-family: var(--sans); font-size: 14px; color: var(--ink); }
.qz-confirm[hidden] { display: none; }
.qz-confirm p { margin: 0 0 10px; }
.qz-confirm-btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Blog ---------- */
.blog-head { padding: 30px 0 26px; }
.blog-head .sub { max-width: 34rem; margin: 6px auto 0; color: var(--muted); }
.blog-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.blog-cats a { font-family: var(--sans); font-size: 13.5px; text-decoration: none; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); background: var(--paper); }
.blog-cats a.on, .blog-cats a:hover { border-color: var(--gold-2); color: var(--ink); background: #fff; }
.blog-list { padding: 24px 0 70px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.post-card:hover { transform: translateY(-3px); border-color: #d9c8a4; box-shadow: 0 24px 50px -34px rgba(92, 70, 40, .55); }
.post-img { display: block; aspect-ratio: 3 / 2; background: #f3ece1; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; flex: 1; }
.post-meta { font-family: var(--sans); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.post-card h2 { font-size: 24px; line-height: 1.18; margin: 0; color: var(--ink); }
.post-excerpt { color: var(--muted); font-size: 16px; line-height: 1.5; }
.post-more { margin-top: auto; padding-top: 6px; font-family: var(--sans); font-size: 14px; color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.post-more .ic { width: 18px; height: 18px; }
.blog-cta { text-align: center; }

.article { padding: 30px 0 60px; }
.crumbs { font-family: var(--sans); font-size: 13px; color: var(--soft); margin-bottom: 26px; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs span { margin: 0 4px; }
.article h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1.08; letter-spacing: -.015em; margin: 0 0 14px; }
.article-meta { font-family: var(--sans); font-size: 13.5px; color: var(--soft); margin: 0 0 30px; }
.article-draft { background: #fbecc9; border-radius: 10px; padding: 8px 14px; font-family: var(--sans); font-size: 13px; margin-bottom: 18px; }
.article-cover { margin: 0 0 38px; border-radius: 22px; overflow: hidden; background: #f3ece1; }
.article-cover img { width: 100%; height: auto; display: block; }
.article-body { font-size: 19px; line-height: 1.75; color: #3b352e; }
.article-body > p:first-of-type { font-size: 21px; line-height: 1.6; color: var(--ink); }
.article-body h2 { font-size: 31px; line-height: 1.15; margin: 46px 0 14px; letter-spacing: -.01em; }
.article-body h3 { font-size: 23px; margin: 32px 0 10px; }
.article-body p { margin: 0 0 20px; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 1.3em; }
.article-body li { margin-bottom: 8px; padding-left: 4px; }
.article-body li::marker { color: var(--gold-2); }
.article-body a { color: var(--green-2); text-decoration: underline; text-decoration-color: rgba(97, 111, 83, .4); text-underline-offset: 3px; }
.article-body a:hover { text-decoration-color: currentColor; }
.article-body blockquote { margin: 30px 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--gold-2); font-size: 22px; line-height: 1.5; color: var(--ink); font-style: italic; }
.article-body img { max-width: 100%; height: auto; border-radius: 16px; margin: 10px 0 24px; }
.article-body hr { border: 0; height: 1px; background: var(--line); margin: 38px 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 17px; }
.article-body th, .article-body td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.article-body th { font-family: var(--sans); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); }
.article-body .callout { background: var(--beige); border-radius: 16px; padding: 20px 24px; margin: 28px 0; }
.article-body .callout p:last-child { margin-bottom: 0; }
.article-cta { margin-top: 54px; padding: 38px 40px; text-align: center; background: linear-gradient(180deg, #e6e8da, #eef0e4); border-radius: 22px; }
.article-cta h2 { font-size: 30px; margin: 0 0 10px; }
.article-cta p { color: var(--text); max-width: 32rem; margin: 0 auto 22px; }
.related { padding: 70px 0; }
@media (max-width: 991.98px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .article { padding-top: 18px; }
  .article-body { font-size: 18px; }
  .article-body > p:first-of-type { font-size: 19px; }
  .article-body h2 { font-size: 27px; }
  .article-cta { padding: 28px 22px; }
}

/* ---------- Names list ---------- */
.names-search { display: flex; gap: 10px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.names-search input { font-family: var(--serif); font-size: 17px; padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fffdfa; min-width: 260px; }
.names-list { padding: 20px 0 50px; }
.names-letters { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 18px; }
.names-letters a, .names-letters span { min-width: 38px; text-align: center; font-family: var(--sans); font-size: 14px; padding: 7px 10px; border-radius: 10px; text-decoration: none; }
.names-letters a { border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.names-letters a:hover { border-color: var(--gold-2); background: #fff; }
.names-letters a.on { background: var(--green); border-color: var(--green); color: #fff; }
.names-letters span { color: #cfc6b8; }
.names-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; font-family: var(--sans); font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.names-filters a { text-decoration: none; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); background: var(--paper); }
.names-filters a.on { border-color: var(--gold-2); background: #fff; color: var(--ink); }
.names-count { font-family: var(--sans); font-size: 13px; color: var(--soft); text-align: center; margin: 18px 0; }
.names-note { text-align: center; margin: 0 0 12px; }
.names-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 18px; }
.names-grid li { padding: 10px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; line-height: 1.3; }
.names-grid b { font-weight: 400; font-size: 19px; color: var(--ink); }
.names-grid .g { font-family: var(--sans); font-size: 12px; color: var(--gold-ink); }
.names-grid small { display: block; font-family: var(--sans); font-size: 12px; color: var(--muted); margin-top: 2px; }
@media (max-width: 991.98px) { .names-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .names-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } .names-grid b { font-size: 17px; } }

.names-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 30px 0 10px; font-family: var(--sans); font-size: 14px; }
.names-pages a { min-width: 40px; text-align: center; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; color: var(--ink); }
.names-pages a:hover { border-color: var(--gold-2); background: #fff; }
.names-pages a.on { background: var(--green); border-color: var(--green); color: #fff; }
.names-pages span { padding: 8px 4px; color: var(--soft); }
.names-note.small { font-family: var(--sans); font-size: 12.5px; color: var(--soft); margin-top: 18px; }

.names-grid .rek { font-family: var(--sans); font-style: normal; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; vertical-align: middle; }
.names-grid .rek-v { background: #f7ecd2; color: #7a5a14; }
.names-grid .rek-n { background: #f6dfd9; color: #8d3b2a; }

/* Names list: filter groups with icons */
.names-filters { gap: 10px 26px; align-items: flex-start; }
.nf-group { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.nf-title { font-family: var(--sans); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); margin-right: 4px; }
.names-filters a { display: inline-flex; align-items: center; gap: 6px; line-height: 1.2; }
.names-filters a .ic { width: 16px; height: 16px; stroke-width: 1.5; color: var(--gold-ink); }
.names-filters a.on .ic { color: var(--green); }

.names-filters a.nf-clear { border-color: #e3c9bf; background: #fbf1ed; color: #8d3b2a; align-self: center; }
.names-filters a.nf-clear .ic { color: #8d3b2a; }
.names-filters a.nf-clear:hover { background: #f6dfd9; }

.names-filters a .sx { font-style: normal; font-family: var(--sans); font-size: 15px; line-height: 1; width: 16px; text-align: center; color: var(--gold-ink); }
.names-filters a.on .sx { color: var(--green); }

/* ---------- Greeting cards ---------- */
.greet-page { padding-bottom: 60px; }
.page-inner main.greet-page { padding-bottom: 32px; }   /* cards, card pages, name days: no empty band above the footer */
.greet-today { font-family: var(--sans); font-size: 13.5px; color: var(--muted); margin-top: 18px; }
.greet-today a { color: var(--green-2); text-decoration: none; border-bottom: 1px dotted var(--green-2); }
.greet-form-wrap { margin-top: 10px; }
.greet-form .ff-label { display: block; font-family: var(--sans); font-size: 13px; color: var(--ink); margin: 0 0 6px; }
.greet-form .ff-label small { color: var(--soft); font-weight: 400; }
.greet-hint { font-family: var(--sans); font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }
.greet-date-row { display: flex; gap: 10px; }
.greet-date-row select { flex: 1; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fffdfa; font-family: var(--serif); font-size: 16px; }
.greet-msgs { display: grid; gap: 8px; }
.greet-msg { display: block; cursor: pointer; }
.greet-msg input { position: absolute; opacity: 0; }
.greet-msg span { display: block; padding: 11px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fffdfa; font-size: 16.5px; line-height: 1.35; transition: border-color .15s, background .15s; }
.greet-msg:hover span { border-color: #cdb892; }
.greet-msg input:checked + span { border-color: var(--green); background: #f3f5ec; box-shadow: 0 0 0 1px var(--green) inset; }
.greet-msg input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.greet-check { display: flex; gap: 10px; align-items: flex-start; font-family: var(--sans); font-size: 13.5px; color: var(--text); cursor: pointer; line-height: 1.4; }
.greet-check input { margin-top: 3px; accent-color: var(--green); }
.greet-mail { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.greet-form .btn-main { margin-top: 22px; }
.greet-result { text-align: center; }
.greet-preview { width: min(340px, 100%); border-radius: 14px; box-shadow: 0 18px 40px -26px rgba(92, 70, 40, .6); margin: 8px 0 22px; }
.greet-link-row { display: flex; gap: 8px; max-width: 520px; margin: 0 auto 14px; }
.greet-link { flex: 1; min-width: 0; padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fffdfa; font-family: var(--sans); font-size: 14px; color: var(--ink); }
.greet-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; margin-bottom: 14px; }
.greet-actions .btn-ghost { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.greet-new { background: none; border: 0; font-family: var(--sans); font-size: 14px; color: var(--green-2); text-decoration: underline; cursor: pointer; margin-top: 8px; }
.greet-mine { margin-top: 36px; }
.greet-mine h3 { font-size: 20px; margin: 0 0 10px; }
.greet-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 22px auto; max-width: 520px; }
.greet-stats div { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 8px; min-width: 0; }
.greet-stats b { display: block; font-size: 26px; font-weight: 400; color: var(--ink); }
.greet-stats span { display: block; font-family: var(--sans); font-size: 12px; line-height: 1.35; color: var(--muted); }
.greet-stats small { display: block; font-family: var(--sans); font-size: 11px; color: var(--soft); margin-top: 2px; }
.greet-stats em { display: block; font-style: normal; font-family: var(--sans); font-size: 13px; color: var(--ink); margin: 2px 0 2px; }
@media (max-width: 575.98px) { .greet-stats { gap: 8px; } .greet-stats div { padding: 12px 4px; } .greet-stats b { font-size: 22px; } .greet-stats span, .greet-stats small { display: block; font-family: var(--sans); font-size: 11px; color: var(--soft); margin-top: 2px; }
.greet-stats em { font-size: 11.5px; } }

/* The card itself */
.gcard-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 28px 0 10px; padding: 0 16px; }
/* A 4:5 card (like the picture) whose illustration and words sit together in the middle: more words move them up,
   and when they do not fit the card grows taller. */
.gcard { width: min(430px, 100%); aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: center; background: #fbf7f0; border: 1px solid #e4d8c6; border-radius: 18px; padding: 22px 22px 26px; box-shadow: 0 30px 60px -36px rgba(92, 70, 40, .55); text-align: center; }
.gcard-art { width: 58%; display: block; margin: 0 auto 6px; }
.gcard-body { position: relative; padding: 14px 10px 10px; min-height: 150px; display: flex; flex-direction: column; justify-content: center; }
.gcard-text { font-size: 26px; line-height: 1.3; color: var(--ink); margin: 0 0 14px; }
.gcard-date { font-family: var(--sans); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 8px; }
.gcard-from { font-style: italic; color: var(--muted); font-size: 18px; margin: 0; }
.gcard-scratch { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 12px; cursor: crosshair; touch-action: none; transition: opacity .6s; }
.gcard-scratch.gone { opacity: 0; pointer-events: none; }
.gcard-hint { font-family: var(--sans); font-size: 13px; color: var(--muted); margin: 0; }
.gcard-after { margin-top: 24px; }
.gcard-ask { font-family: var(--sans); font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.gcard-thanks { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.gcard-thanks button { font-family: var(--sans); font-size: 15px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fffdfa; cursor: pointer; }
.gcard-thanks button:hover { border-color: var(--gold-2); background: #fff; }
.gcard-thx { font-family: var(--sans); color: var(--green-2); }
.gcard-more { font-family: var(--sans); font-size: 14px; margin-top: 22px; line-height: 2; }
.gcard-more a { color: var(--green-2); }
@media (max-width: 575.98px) { .gcard-text { font-size: 23px; } }

.greet-arts { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.greet-art { cursor: pointer; display: block; }
.greet-art input { position: absolute; opacity: 0; }
.greet-art span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px 6px; border: 1px solid var(--line); border-radius: 12px; background: #fffdfa; transition: border-color .15s, background .15s; }
.greet-art:hover span { border-color: #cdb892; }
.greet-art input:checked + span { border-color: var(--green); background: #f3f5ec; box-shadow: 0 0 0 1px var(--green) inset; }
.greet-art input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.greet-art img { width: 52px; height: 52px; object-fit: contain; }
.greet-art em { font-style: normal; font-family: var(--sans); font-size: 11.5px; color: var(--muted); }

.greet-scratch-row { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.greet-demo-btn { display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans); font-size: 13.5px; color: var(--green-2); background: #f3f5ec; border: 1px solid #d5dcc4; border-radius: 999px; padding: 7px 16px; cursor: pointer; white-space: nowrap; }
.greet-demo-btn:hover { background: #e9eddc; }
.greet-demo-btn .ic { width: 15px; height: 15px; }
.greet-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(33, 28, 22, .55); display: flex; align-items: flex-start; justify-content: center; padding: 4vh 16px; overflow-y: auto; }
.greet-modal[hidden] { display: none; }
.greet-modal-box { position: relative; background: var(--bg); border-radius: 22px; padding: 30px 22px 24px; width: min(500px, 100%); text-align: center; box-shadow: 0 30px 70px rgba(33, 28, 22, .35); }
.greet-modal-x { position: absolute; top: 12px; right: 14px; border: 0; background: none; font-size: 18px; color: var(--muted); cursor: pointer; padding: 6px 10px; }
.greet-modal-box .gcard { margin: 0 auto 12px; }
.greet-modal-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }

/* My cards list */
.greet-mine h3 { font-size: 22px; margin: 0 0 6px; }
.greet-items { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.greet-item { display: grid; grid-template-columns: 56px 1fr auto; grid-template-areas: 'img main pill' 'img act act'; gap: 4px 14px; align-items: center; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.greet-item img { grid-area: img; width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: #fbf7f0; }
.gi-main { grid-area: main; min-width: 0; }
.gi-main b { display: block; font-weight: 400; font-size: 20px; color: var(--ink); line-height: 1.2; }
.gi-sub { font-family: var(--sans); font-size: 12.5px; color: var(--muted); }
.gi-pill { grid-area: pill; font-family: var(--sans); font-size: 12px; padding: 5px 12px; border-radius: 999px; white-space: nowrap; background: #ece7de; color: #6b6459; }
.gi-pill.ok { background: #e6eed9; color: #3f5a2c; }
.gi-pill.open { background: #f7ecd2; color: #7a5a14; }
.gi-actions { grid-area: act; display: flex; gap: 14px; font-family: var(--sans); font-size: 13px; }
.gi-actions a, .gi-actions button { color: var(--green-2); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }
@media (max-width: 480px) { .greet-item { grid-template-columns: 48px 1fr; grid-template-areas: 'img main' 'img pill' 'act act'; } .greet-item img { width: 48px; height: 48px; } }

/* Illustration picker: two groups, three shown, "+ Daugiau" opens the rest */
.greet-artgroups { display: grid; gap: 14px; }
.greet-artgroup-title { font-family: var(--sans); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin: 0 0 8px; }
.greet-arts { grid-template-columns: repeat(4, 1fr); }
.greet-art.is-more { display: none; }
.greet-artgroup.open .greet-art.is-more { display: block; }
.greet-art-more { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 1px dashed #cdb892; border-radius: 12px; background: transparent; cursor: pointer; padding: 8px 4px; color: var(--green-2); min-height: 92px; }
.greet-art-more b { font-family: var(--sans); font-weight: 300; font-size: 26px; line-height: 1; }
.greet-art-more em { font-style: normal; font-family: var(--sans); font-size: 11.5px; }
.greet-art-more:hover { background: #f3f5ec; }
@media (max-width: 480px) { .greet-arts { grid-template-columns: repeat(2, 1fr); } }

/* "Mano kortelės" block as a card; the sign-in form laid out properly */
.greet-mine { margin-top: 36px; padding: 28px 30px 30px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 26px 60px -42px rgba(92, 70, 40, .35); }
.greet-mine h3 { font-size: 24px; margin: 0 0 8px; }
.greet-mine > .greet-hint { margin: 0 0 4px; font-size: 14px; line-height: 1.5; }
.greet-login { display: grid; gap: 14px; margin-top: 16px; }
.greet-login-row { display: flex; gap: 12px; align-items: stretch; }
.greet-login-row .ff-field { flex: 1; min-width: 0; margin: 0; }
.greet-login-row .btn-pill { flex: none; padding: 0 28px; font-size: 16px; white-space: nowrap; }
.greet-login .greet-hint { margin: 0; }
.greet-mine .greet-items { margin-top: 20px; }
@media (max-width: 575.98px) { .greet-mine { padding: 22px 18px 24px; } .greet-login-row { flex-direction: column; } .greet-login-row .btn-pill { padding: 13px 28px; } }

.greet-opens { max-width: 340px; margin: 0 auto 18px; padding: 14px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; text-align: left; }
.greet-opens-title { font-family: var(--sans); font-size: 13px; color: var(--ink); margin: 0 0 8px; }
.greet-opens-title small { color: var(--soft); }
.greet-opens ul { list-style: none; margin: 0; padding: 0; font-family: var(--sans); font-size: 14px; color: var(--text); }
.greet-opens li { padding: 5px 0; border-top: 1px solid var(--line); }
.greet-opens li:first-child { border-top: 0; }
.greet-opens-note { font-family: var(--sans); font-size: 12px; color: var(--soft); margin: 8px 0 0; }

/* Home: who the name story is for / free extras */
.for-grid { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.for-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin-left: auto; margin-right: auto; }
.for-grid-1 { grid-template-columns: minmax(0, 1fr); max-width: 420px; margin-left: auto; margin-right: auto; }
.for-grid li { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px 22px; text-align: center; }
.for-grid .disc { margin: 0 auto 14px; width: 56px; height: 56px; }
.for-grid .disc .ic { width: 25px; height: 25px; }
.for-grid h3 { font-size: 20px; font-weight: 500; margin: 0 0 6px; }
.for-grid p { font-size: 15.5px; color: var(--muted); margin: 0; line-height: 1.45; }
.for-grid a { display: inline-block; margin-top: 12px; font-family: var(--sans); font-size: 14.5px; color: var(--green-2); }
@media (max-width: 991.98px) { .for-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .for-grid-1 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 575.98px) { .for-grid, .for-grid-2 { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
.for-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 991.98px) { .for-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .for-grid-3 { grid-template-columns: minmax(0, 1fr); } }
.story-inside { max-width: 520px; margin: 28px auto 0; }
@media (min-width: 992px) { .hero2 h1 { white-space: nowrap; } }

/* Header call-to-action */
.btn-head { white-space: nowrap; padding: 13px 30px; font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .02em; text-align: center; box-shadow: 0 8px 18px -10px rgba(60, 75, 50, .6); }
@media (max-width: 575.98px) { .site-head .btn-head { padding: 9px 15px 10px; font-size: 14px; } }

/* ---------- Greeting cards: three kinds, builder with a live preview, scratch designs ---------- */
.greet-kinds { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 10px 0 18px; }
.greet-kind { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 26px 22px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.greet-kind:hover { transform: translateY(-2px); border-color: #d9c7a8; box-shadow: 0 22px 44px -30px rgba(92, 70, 40, .55); }
.greet-kind img { width: 150px; height: 150px; object-fit: contain; }
.greet-kind b { font-family: var(--serif); font-weight: 450; font-size: 23px; color: var(--ink); }
.greet-kind span { font-family: var(--sans); font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.greet-kind em { font-style: normal; font-family: var(--sans); font-size: 14px; color: var(--green-2); margin-top: 6px; }
.greet-back { background: none; border: 0; padding: 0; font-family: var(--sans); font-size: 14px; color: var(--green-2); cursor: pointer; }
.greet-kind-title { margin: 6px 0 18px; }
.greet-builder-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 28px; align-items: start; }
.greet-live { position: sticky; top: 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.greet-live .eyebrow { margin: 0; }
.greet-live .gcard { width: 100%; }
.greet-own { margin-top: 8px; }
.greet-own textarea { border-radius: 12px; font-family: var(--serif); font-size: 16.5px; }
.greet-covers { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.greet-cover { cursor: pointer; display: block; }
.greet-cover input { position: absolute; opacity: 0; }
.greet-cover span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 6px; border: 1px solid var(--line); border-radius: 12px; background: #fffdfa; transition: border-color .15s, background .15s; }
.greet-cover canvas, .greet-cover-none { width: 100%; max-width: 96px; height: 54px; border-radius: 8px; display: block; }
.greet-cover-none { display: grid; place-items: center; background: #fbf7f0; border: 1px dashed #d9c7a8; font-family: var(--serif); font-style: normal; font-size: 20px; color: var(--muted); }
.greet-cover em { font-style: normal; font-family: var(--sans); font-size: 11.5px; color: var(--text); text-align: center; line-height: 1.25; }
.greet-cover:hover span { border-color: #cdb892; }
.greet-cover input:checked + span { border-color: var(--green); background: #f3f5ec; box-shadow: 0 0 0 1px var(--green) inset; }
.greet-cover input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.greet-result, .greet-mine { max-width: 720px; margin-left: auto; margin-right: auto; }
@media (max-width: 991.98px) {
  .greet-builder-grid { grid-template-columns: minmax(0, 1fr); }
  .greet-live { position: static; order: -1; }
  .greet-live .gcard { max-width: 360px; }
}
@media (max-width: 767.98px) {
  .greet-kinds { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .greet-kind { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; text-align: left; align-items: start; padding: 16px 18px; }
  .greet-kind img { grid-row: 1 / span 3; width: 72px; height: 72px; }
  .greet-kind b { font-size: 20px; }
  .greet-kind em { margin-top: 2px; }
}
.greet-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.greet-chip { font-family: var(--sans); font-size: 12.5px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fffdfa; color: var(--text); cursor: pointer; }
.greet-chip:hover { border-color: #cdb892; }
.greet-live-cover { width: 100%; text-align: center; }
.greet-live-cover canvas { width: 100%; height: auto; border-radius: 12px; display: block; margin-top: 4px; }
/* Sending: app icons with their names */
.greet-share-title { font-family: var(--sans); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin: 4px 0 10px; }
.share-bar { display: flex; flex-wrap: wrap; gap: 6px; }
.share-bar-lg { justify-content: center; gap: 10px 14px; margin-bottom: 20px; }
.share-app { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; padding: 2px; border: 0; background: none; cursor: pointer; text-decoration: none; color: var(--text); font-family: var(--sans); font-size: 11.5px; min-width: 56px; }
.share-app svg { width: 36px; height: 36px; display: block; transition: transform .15s; }
.share-bar-lg .share-app svg { width: 52px; height: 52px; }
.share-bar-lg .share-app { font-size: 12.5px; min-width: 68px; }
.share-app:hover svg { transform: translateY(-2px); }
.share-app:hover { color: var(--ink); }
.gi-share { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.gi-share > span { font-family: var(--sans); font-size: 12.5px; color: var(--muted); }
.greet-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 1200; max-width: min(92vw, 460px); padding: 12px 18px; border-radius: 14px; background: #2b2620; color: #f6f1e8; font-family: var(--sans); font-size: 14px; line-height: 1.4; box-shadow: 0 18px 40px -16px rgba(30, 22, 12, .55); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.greet-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Vardo istorija: order ---------- */
.story-prices { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; font-family: var(--sans); font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.story-prices b { color: var(--ink); font-weight: 600; }
.story-wrap { padding-bottom: 50px; }
.story-step-no { font-family: var(--sans); font-size: 12px; letter-spacing: .18em; color: var(--soft); margin: 0 0 4px; }
.story-step .h-serif { margin-bottom: 18px; }
.story-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.story-cat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 20px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.story-cat:hover { transform: translateY(-2px); border-color: #d9c7a8; box-shadow: 0 22px 44px -30px rgba(92, 70, 40, .55); }
.story-cat img { width: 110px; height: 110px; object-fit: contain; }
.story-cat b { font-family: var(--serif); font-weight: 450; font-size: 21px; color: var(--ink); }
.story-cat span { font-family: var(--sans); font-size: 13px; color: var(--muted); line-height: 1.4; }
.story-form-title { margin: 0 0 14px; }
.story-name { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 8px; align-items: center; margin-bottom: 8px; }
.story-name .ff-field input { padding-left: 16px; }
.story-name .s-label { height: 48px; border-radius: 8px; font-family: var(--sans); font-size: 14px; }
.story-x { border: 0; background: none; color: var(--muted); font-size: 16px; cursor: pointer; padding: 6px 8px; }
.story-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: #f4ecdf; font-family: var(--sans); font-size: 14.5px; color: var(--text); }
.story-total b { font-family: var(--serif); font-size: 24px; font-weight: 450; color: var(--ink); }
.story-cover { --acc: #a8894f; width: 100%; aspect-ratio: 210 / 297; background: #fbf7f0; border: 1px solid #e4d8c6; outline: 1px solid color-mix(in srgb, var(--acc) 45%, transparent); outline-offset: -8px; border-radius: 6px; box-shadow: 0 30px 60px -36px rgba(92, 70, 40, .55); text-align: center; padding: 34px 22px; display: flex; flex-direction: column; align-items: center; }
.sc-kicker { font-family: 'Cinzel', var(--serif); font-size: 12px; letter-spacing: .3em; color: var(--acc); margin: 10px 0 0; }
.sc-title { font-family: 'Cinzel', var(--serif); font-weight: 600; font-size: 34px; letter-spacing: .12em; color: #4a3f33; margin: 2px 0 0; line-height: 1.1; }
.sc-rule { display: block; width: 60px; border-top: 1px solid var(--acc); margin: 16px 0; }
.story-cover img { width: 62%; height: auto; }
.sc-names { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink); margin: 14px 0 0; line-height: 1.25; }
.sc-motto { font-family: 'Cinzel', var(--serif); font-size: 9.5px; letter-spacing: .25em; color: var(--acc); margin: auto 0 0; }
@media (max-width: 767.98px) {
  .story-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .story-cat { padding: 14px 10px; } .story-cat img { width: 80px; height: 80px; } .story-cat b { font-size: 18px; }
  .story-name { grid-template-columns: minmax(0, 1fr) auto; } .story-name .s-label { grid-column: 1 / 2; grid-row: 2; }
}
.story-name.no-label { grid-template-columns: minmax(0, 1fr) auto; }
.story-arts { grid-template-columns: repeat(7, minmax(0, 1fr)); }   /* the photo + 12 illustrations: two even rows */
@media (max-width: 575.98px) { .story-arts { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; } .story-arts .greet-art img { width: 40px; height: 40px; } }
.story-name .s-name.is-bad, #g-name.is-bad { border-color: #c98a76; box-shadow: 0 0 0 3px rgba(201, 138, 118, .18); }
.greet-hint.is-error { color: #b0705a; }
.greet-vocs { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.greet-who { margin-top: 2px; }
.greet-who .greet-chip { display: inline-flex; padding: 0; overflow: hidden; }
.greet-who input { position: absolute; opacity: 0; }
.greet-who span { padding: 7px 16px; font-size: 14px; }
.greet-who input:checked + span { background: #f3f5ec; color: var(--green-2); box-shadow: 0 0 0 1px var(--green) inset; border-radius: 999px; }
.greet-kind-arts { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.gcard-head { font-family: var(--serif); font-style: italic; font-size: 25px; color: var(--gold-ink); margin: 4px 0 0; }

/* ---------- /vardadieniai: today's name days, a ready card for each name ---------- */
.nd-days { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 14px; font-family: var(--sans); font-size: 14px; }
.nd-days a { color: var(--green-2); text-decoration: none; }
.nd-names { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; max-width: 900px; margin: 0 auto; }
.nd-name { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 10px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.nd-name img { width: 64px; height: 64px; object-fit: contain; }
.nd-name b { font-family: var(--serif); font-size: 21px; font-weight: 500; color: var(--text); }
.nd-name span { font-family: var(--sans); font-size: 13px; color: var(--green-2); }
.nd-name:hover { border-color: var(--green); transform: translateY(-2px); }
.nd-name.on { border-color: var(--green); box-shadow: 0 0 0 1px var(--green) inset; background: #f3f5ec; }
.nd-all { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 26px auto 0; font-family: var(--sans); font-size: 13.5px; color: var(--muted); }
.nd-panel { margin-top: 40px; scroll-margin-top: 20px; }
.nd-page .greet-result { margin-top: 40px; scroll-margin-top: 20px; }
@media (max-width: 575.98px) { .nd-names { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .nd-name b { font-size: 19px; } }

/* ---------- Live card editor ("Mūsų diena"): written and chosen right on the card ---------- */
.greet-live-editor { text-align: center; }
.lv-intro { font-family: var(--sans); font-size: 14.5px; color: var(--muted); max-width: 34rem; margin: 4px auto 18px; }
.lv-modes { display: inline-flex; gap: 4px; padding: 4px; background: #efe8dc; border-radius: 999px; margin-bottom: 18px; }
.lv-modes button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-family: var(--sans); font-size: 14px; color: var(--muted); cursor: pointer; }
.lv-modes button .ic { width: 15px; height: 15px; }
.lv-modes button.on { background: #fffdfa; color: var(--ink); box-shadow: 0 1px 3px rgba(60, 48, 28, .16); }
.lv-modes button:disabled { opacity: .4; cursor: not-allowed; }
.lv-card { margin: 0 auto; }
.lv-edit { outline: none; border-radius: 8px; transition: background .15s, box-shadow .15s; cursor: text; }
.lv-edit:hover { background: rgba(168, 137, 79, .07); box-shadow: 0 0 0 1px rgba(168, 137, 79, .35); }
.lv-edit:focus { background: #fffdfa; box-shadow: 0 0 0 2px var(--gold-2); }
.lv-edit:empty::before { content: attr(data-ph); color: var(--soft); font-style: italic; }
.gcard-text.lv-edit { padding: 4px 6px; min-height: 1.3em; }
.gcard-from .lv-edit { display: inline-block; min-width: 4em; padding: 0 4px; }
.lv-date-row { position: relative; display: flex; justify-content: center; align-items: center; gap: 6px; margin: 0 0 8px; }
.lv-date { border: 0; background: transparent; padding: 4px 8px; border-radius: 8px; cursor: pointer; margin: 0; }
.lv-date:hover { background: rgba(168, 137, 79, .07); box-shadow: 0 0 0 1px rgba(168, 137, 79, .35); }
.lv-date.is-empty { color: var(--soft); border: 1px dashed #d8c8ac; }
.lv-x { border: 0; background: transparent; color: var(--soft); font-size: 18px; line-height: 1; cursor: pointer; padding: 2px 6px; }
.lv-since { position: absolute; left: 50%; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; border: 0; padding: 0; }
.lv-layer { position: absolute; inset: 0; border-radius: 12px; overflow: hidden; }
.lv-layer canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.lv-cover-label { position: absolute; left: 8%; right: 8%; top: 50%; transform: translateY(-50%); padding: 6px 8px; font-family: Inter, var(--sans), sans-serif; font-weight: 600; font-size: 18px; line-height: 1.35; }
.lv-cover-label.ink-silver { color: #6f675a; } .lv-cover-label.ink-gold { color: #6b4a17; } .lv-cover-label.ink-rose { color: #82392f; }
.lv-cover-label.ink-sage { color: #3c4c2e; } .lv-cover-label.ink-kraft { color: #5f4220; }
.lv-cover-label:focus { background: rgba(255, 255, 255, .35); }
.lv-card.is-layer .gcard-from, .lv-card.is-layer .lv-date-row, .lv-card.is-layer #lv-text { visibility: hidden; }
.lv-tools { max-width: 640px; margin: 22px auto 0; text-align: left; display: grid; gap: 18px; }
.lv-tool-title { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); margin: 0 0 8px; }
.lv-tool-title small { text-transform: none; letter-spacing: 0; font-size: 12.5px; }
.lv-ideas .greet-chip { font-size: 13.5px; text-align: left; }
.lv-send { max-width: 520px; margin: 24px auto 0; text-align: left; }
.lv-send .btn-main { margin-top: 14px; }
@media (max-width: 575.98px) { .lv-modes button { padding: 7px 12px; font-size: 13px; } }
/* Illustration slideshow and pencils of the live card */
.lv-slider { position: relative; user-select: none; }
.lv-slider .gcard-art { transition: opacity .2s; }
.lv-nav { position: absolute; top: 42%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 1px solid #e4d8c6; background: rgba(255, 253, 250, .92); color: var(--ink); font-size: 24px; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px -6px rgba(92, 70, 40, .5); padding: 0 0 3px; }
.lv-nav:hover { border-color: var(--gold-2); }
.lv-nav.prev { left: 2px; } .lv-nav.next { right: 2px; }
.lv-dots { display: flex; justify-content: center; gap: 6px; margin: 2px 0 4px; }
.lv-dots button { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: #ddd0bb; cursor: pointer; }
.lv-dots button.on { background: var(--gold-2); transform: scale(1.25); }
.lv-field { position: relative; padding: 0 26px; }
.lv-pen { position: absolute; top: -12px; right: -8px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid #e4d8c6; background: #fffdfa; color: var(--gold-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 3px 10px -5px rgba(92, 70, 40, .5); padding: 0; }
.lv-pen .ic { width: 15px; height: 15px; }
.lv-pen:hover { border-color: var(--gold-2); }
.lv-pen-in { position: static; display: inline-flex; width: 24px; height: 24px; margin-left: 6px; vertical-align: middle; }
.lv-pen-in .ic { width: 12px; height: 12px; }
.lv-pen-hint .ic { width: 14px; height: 14px; vertical-align: -2px; color: var(--gold-ink); }
.lv-card.is-layer .lv-pen { visibility: hidden; }
/* Arrows under the text (ideas) and in the layer view (design, words) */
.lv-idea { display: inline-flex; align-items: center; gap: 4px; margin: 2px auto 10px; padding: 3px; border: 1px solid #e8dcc8; border-radius: 999px; background: #fffdfa; font-family: var(--sans); font-size: 12.5px; color: var(--muted); }
.lv-idea[hidden] { display: none; }
.lv-idea button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: #f3ece0; color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; padding: 0 0 2px; }
.lv-idea button:hover { background: #eadfcd; }
.lv-idea span { padding: 0 6px; white-space: nowrap; }
.lv-cover-nav { display: flex; flex-direction: column; align-items: center; gap: 0; margin-top: 12px; }
.lv-none-note { font-family: var(--sans); font-size: 13px; color: var(--muted); margin: 0 0 6px; }
.lv-preview { margin: 18px auto 0; }
.lv-card.is-layer .lv-idea:not(.lv-cover-nav .lv-idea) { visibility: hidden; }
/* Inside a card: no page heading, the card right under the menu */
.greet-page.in-card .blog-head { display: none; }
.page-inner main.greet-page.in-card { padding-top: 14px; }
.greet-page.in-card .greet-form-wrap { margin-top: 0; }
/* "Sveikinimų kortelės / Mūsų diena": the page title inside a card, the first part goes back to the kinds */
.greet-crumbs { font-size: 30px; line-height: 1.3; text-align: center; margin: 6px 0 22px; }
.greet-crumb { border: 0; background: none; padding: 0; font: inherit; color: var(--muted); cursor: pointer; text-decoration: underline; text-decoration-color: rgba(125, 118, 108, .35); text-underline-offset: 6px; text-decoration-thickness: 1px; }
.greet-crumb:hover { color: var(--green-2); }
.greet-crumb-sep { color: var(--soft); margin: 0 10px; }
@media (max-width: 575.98px) { .greet-crumbs { font-size: 22px; margin-bottom: 12px; } .greet-crumb-sep { margin: 0 5px; } }
/* Live editor on a computer: the card on the left, the steps and "Sukurti kortelę" on the right, centred as one block */
@media (min-width: 992px) {
  .lv-grid { display: grid; grid-template-columns: 430px 380px; justify-content: center; gap: 0 56px; align-items: stretch; }
  /* Centred on the card itself: the switch above it (63px) and the preview button under it (54px) are left out. */
  .lv-side { display: flex; flex-direction: column; justify-content: center; padding: 63px 0 54px; text-align: left; }
  .lv-side .lv-send { margin: 0; max-width: none; }
}
/* The steps at the top of the "Sukurti kortelę" box */
.lv-send { padding: 24px 24px 26px; }
.lv-steps { list-style: none; margin: 0 0 20px; padding: 0 0 18px; border-bottom: 1px solid var(--line); display: grid; gap: 14px; }
.lv-steps li { display: flex; gap: 12px; align-items: flex-start; }
.lv-step-ic { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #f3ece0; color: var(--gold-ink); display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: 15px; font-weight: 600; }
.lv-step-ic .ic { width: 16px; height: 16px; }
.lv-step-arrows { letter-spacing: 1px; padding-bottom: 2px; }
.lv-steps .lv-step-hl { background: #eef2e6; border: 1px solid #d5dcc4; border-radius: 14px; padding: 10px 12px; margin: 2px -4px 0; }
.lv-step-hl .lv-step-ic { background: var(--green-2); color: #fff; }
.lv-step-hl b { color: var(--green-2); }
.lv-steps b { display: block; font-family: var(--sans); font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.lv-steps small { display: block; font-family: var(--sans); font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.lv-send .ff-label { margin-top: 0; }
.lv-send .btn-main { width: 100%; justify-content: center; }

/* ---------- Accounts: avatar menu, sign-up / sign-in box, "Mano kortelės" ---------- */
.acc-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; background: var(--green-2); color: #fff; font-family: var(--sans); font-weight: 600; font-size: 16px; }
.acc-avatar-lg { width: 54px; height: 54px; font-size: 22px; }
.acc-menu { position: relative; margin-left: 14px; }
.acc-menu summary { list-style: none; cursor: pointer; display: flex; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 4px 12px -4px rgba(60, 48, 28, .45); }
.acc-menu summary::-webkit-details-marker { display: none; }
.acc-drop { position: absolute; right: 0; top: calc(100% + 10px); z-index: 50; min-width: 230px; background: #fffdfa; border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: 0 20px 40px -18px rgba(60, 48, 28, .45); }
.acc-drop-who { margin: 0 0 6px; padding: 8px 10px 10px; border-bottom: 1px solid var(--line); font-family: var(--sans); }
.acc-drop-who b { display: block; font-size: 14.5px; color: var(--ink); }
.acc-drop-who span { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.acc-drop a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-family: var(--sans); font-size: 14.5px; color: var(--ink); text-decoration: none; }
.acc-drop a:hover { background: #f3ece0; }
.acc-drop .ic { width: 16px; height: 16px; color: var(--gold-ink); }
@media (max-width: 575.98px) { .acc-menu { margin-left: 10px; } .acc-avatar { width: 34px; height: 34px; } }

.acc-box { max-width: 420px; margin: 0 auto; text-align: left; }
.acc-title { font-size: 22px; text-align: center; margin: 0 0 4px; }
.acc-sub { font-family: var(--sans); font-size: 14px; color: var(--muted); text-align: center; margin: 0 0 16px; }
.acc-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px 16px; border: 1px solid #dcd2c2; border-radius: 999px; background: #fff; font-family: var(--sans); font-size: 15px; font-weight: 500; color: #3c4043; text-decoration: none; }
.acc-google svg { width: 20px; height: 20px; }
.acc-google:hover { border-color: #c9bca6; box-shadow: 0 4px 12px -6px rgba(60, 48, 28, .35); }
.acc-or { display: flex; align-items: center; gap: 12px; margin: 14px 0; font-family: var(--sans); font-size: 12.5px; color: var(--soft); }
.acc-or::before, .acc-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.acc-form { display: grid; gap: 10px; }
.acc-form .btn-main { width: 100%; justify-content: center; margin-top: 4px; }
.acc-email-show { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fffdfa; font-family: var(--sans); font-size: 15px; }
.acc-email-show b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 500; color: var(--ink); }
.acc-email-show button, .acc-switch button, .acc-link { border: 0; background: none; padding: 0; font: inherit; color: var(--green-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.acc-switch { font-family: var(--sans); font-size: 13.5px; color: var(--muted); text-align: center; margin: 4px 0 0; }
.acc-ok { font-family: var(--sans); font-size: 14px; color: var(--green-2); background: #eef2e6; border-radius: 12px; padding: 10px 14px; margin: 12px 0 0; }
.acc-offer { margin: 26px auto 10px; padding: 24px 20px 20px; border-top: 1px solid var(--line); }
.acc-saved { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 14px; color: var(--green-2); margin: 16px 0 0; }
.acc-saved .ic { width: 16px; height: 16px; }

.acc-page .acc-box { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px; }
.acc-head { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.acc-who { flex: 1; min-width: 0; font-family: var(--sans); }
.acc-who b { display: block; font-size: 16px; color: var(--ink); }
.acc-who span { display: block; font-size: 13.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.acc-note { font-family: var(--sans); font-size: 14px; color: var(--muted); background: #fbf3e4; border: 1px solid #ecdcbc; border-radius: 14px; padding: 12px 14px; margin: 14px 0 0; }
.acc-actions { text-align: center; margin: 22px 0 6px; }

/* Header: sign-in icon for visitors without an account */
.acc-signin { margin-left: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #dcd2c2; background: #fffdfa; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.acc-signin .ic { width: 19px; height: 19px; }
.acc-signin:hover { border-color: var(--gold-2); color: var(--green-2); }
@media (max-width: 575.98px) { .acc-signin { margin-left: 10px; width: 36px; height: 36px; } }
/* /paskyra without an account: Google on top, registration on the left, sign-in on the right (sign-in first on a phone) */
.acc-lead { font-family: var(--sans); font-size: 15px; color: var(--muted); text-align: center; max-width: 34rem; margin: -8px auto 20px; }
.acc-google-top { max-width: 420px; margin: 0 auto 6px; }
.acc-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 880px; margin: 0 auto; }
.acc-page .acc-two .acc-box { max-width: none; height: 100%; }
@media (max-width: 767.98px) { .acc-two { grid-template-columns: minmax(0, 1fr); } .acc-col-login { order: -1; } }

/* Why to sign up */
.acc-perks { list-style: none; margin: 4px 0 18px; padding: 0; display: grid; gap: 9px; font-family: var(--sans); font-size: 14px; color: var(--ink); text-align: left; }
.acc-perks li { display: flex; gap: 9px; align-items: flex-start; line-height: 1.4; }
.acc-perks .ic { flex: none; width: 17px; height: 17px; color: var(--green-2); margin-top: 1px; }
.acc-perks em { font-style: normal; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-ink); background: #f6ecd9; border-radius: 999px; padding: 2px 7px; margin-left: 4px; white-space: nowrap; }
.acc-email-show .ff-ic { position: static; transform: none; flex: none; width: 18px; height: 18px; color: var(--gold-ink); }

/* Password fields: room for the eye button on the right */
.acc-pass input { padding-right: 48px; }
.acc-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--soft); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.acc-eye:hover { color: var(--ink); background: #f3ece0; }
.acc-eye svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.acc-eye .eye-off { display: none; }
.acc-eye.on .eye-off { display: inline; }   /* shown: the crossed eye hides it again */
.acc-eye.on { color: var(--green-2); }
.acc-notify small { color: var(--muted); }

/* Phone: the logo, "Pradėti" and the account icon must fit side by side; less space above the page heading */
@media (max-width: 575.98px) {
  .site-head .container-mv { gap: 8px; }
  .brand { gap: 8px; min-width: 0; }
  .brand span { font-size: 12.5px; letter-spacing: .16em; }
  .acc-signin, .acc-menu { margin-left: 0; }
  .acc-signin { width: 34px; height: 34px; }
  .acc-signin .ic { width: 17px; height: 17px; }
  .page-inner main { padding-top: 14px; }
  .blog-head { padding: 22px 0 20px; }
}
@media (max-width: 359.98px) { .brand span { display: none; } }
/* Phone / tablet menu: a full-screen sheet opened by the burger (replaces the sign-in icon) */
.nav-burger { position: relative; margin-left: 12px; flex: none; width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1px solid #dcd2c2; background: #fffdfa; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4.5px; cursor: pointer; }
.nav-burger span { display: block; width: 17px; height: 1.6px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
.nav-burger.is-close { margin-left: auto; }
.nav-burger.is-close span:nth-child(1) { transform: translateY(6.1px) rotate(45deg); }
.nav-burger.is-close span:nth-child(2) { opacity: 0; }
.nav-burger.is-close span:nth-child(3) { transform: translateY(-6.1px) rotate(-45deg); }
@media (max-width: 575.98px) { .nav-burger { margin-left: 8px; width: 38px; height: 38px; } }
.nav-locked { overflow: hidden; }
.nav-sheet { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: var(--bg); overflow-y: auto; opacity: 0; transform: translateY(-14px); transition: opacity .22s ease, transform .22s ease; }
.nav-sheet[hidden] { display: none; }
.nav-sheet > .container-mv { width: 100%; }
.nav-sheet.on { opacity: 1; transform: none; }
.nav-sheet-top { display: flex; align-items: center; padding-top: 12px; padding-bottom: 12px; flex: none; }
.nav-sheet-links { display: flex; flex-direction: column; margin-top: 14px; flex: none; }
.nav-sheet-links a { display: flex; align-items: center; justify-content: space-between; padding: 19px 4px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 28px; line-height: 1.15; color: var(--ink); text-decoration: none; }
.nav-sheet-links a:first-child { border-top: 1px solid var(--line); }
.nav-sheet-links a .ic { width: 20px; height: 20px; color: var(--gold-ink); flex: none; opacity: .8; }
.nav-sheet-links a span { display: inline-flex; align-items: center; }
.nav-sheet-links a:active { color: var(--gold-ink); }
.nav-count-inline { position: static; display: inline-grid; margin-left: 12px; min-width: 22px; height: 22px; font-size: 12px; }
.nav-sheet-cta { margin-top: auto; padding-top: 30px; padding-bottom: 34px; display: flex; flex-direction: column; gap: 12px; flex: none; }
.nav-sheet-cta .btn-head { width: 100%; padding: 16px 24px; font-size: 16px; }
.nav-sheet-login { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 24px; border: 1px solid #d9cfbe; border-radius: 999px; background: #fffdfa; color: var(--ink); text-decoration: none; font-family: var(--sans); font-size: 15px; font-weight: 500; }
.nav-sheet-login .ic { width: 18px; height: 18px; color: var(--gold-ink); }
/* The account icon after "Užsisakyti dabar / Pradėti" */
.site-head .acc-signin, .site-head .acc-menu { margin-left: 14px; }
@media (max-width: 575.98px) { .site-head .acc-signin, .site-head .acc-menu { margin-left: 8px; } }

/* Legal pages: the same distance from the menu as the other pages */
.paper-card.legal { padding-top: 30px; }
@media (max-width: 575.98px) { .paper-card.legal { padding-top: 22px; } }
.acc-page { padding-top: 48px !important; }
@media (max-width: 575.98px) { .acc-page { padding-top: 36px !important; } }

/* How "Kartu nuo …" counts: small switch under the date while editing */
.lv-units { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 3px; margin: 0 auto 10px; border: 1px solid #e8dcc8; border-radius: 999px; background: #fffdfa; }
.lv-units[hidden] { display: none; }
.lv-units button { border: 0; background: none; border-radius: 999px; padding: 5px 11px; font-family: var(--sans); font-size: 12.5px; color: var(--muted); cursor: pointer; }
.lv-units button.on { background: #f3ece0; color: var(--ink); font-weight: 600; }
.lv-card.is-layer .lv-units { visibility: hidden; }
/* /priminimai: the form (name, occasion, date, when to remind) and the list, nearest first */
.rem-on { display: flex; justify-content: center; margin: 0 0 18px; }
.rem-form { padding: 30px 32px; margin-bottom: 30px; }
.rem-form h2 { font-size: 1.5rem; margin: 0 0 4px; }
.rem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.rem-grid.rem-date { grid-template-columns: 1.4fr 1fr 1fr; }
.rem-noic input, .rem-noic select { padding-left: 14px; }
.rem-chips { display: flex; width: fit-content; margin: 0; }
.rem-nd { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.rem-nd[hidden] { display: none; }
.rem-nd-note { width: 100%; margin: 0; font-family: var(--sans); font-size: 13px; color: var(--muted); }
.rem-nd button { border: 1px solid #e8dcc8; background: #fffdfa; border-radius: 999px; padding: 5px 12px; font-family: var(--sans); font-size: 13px; cursor: pointer; }
.rem-nd button.on { background: var(--green-2); border-color: var(--green-2); color: #fff; }
.rem-form-btns { display: flex; gap: 10px; align-items: center; margin-top: 22px; }
.rem-list-title { font-size: 1.5rem; margin: 0 0 14px; }
.rem-list-title small { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.rem-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rem-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.rem-item.is-soon { border-color: #d5dcc4; background: #f4f6ee; }
.rem-date-badge { flex: none; width: 54px; height: 54px; border-radius: 14px; background: #f3ece0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.rem-date-badge b { font-size: 21px; color: var(--ink); }
.rem-date-badge span { font-family: var(--sans); font-size: 11px; color: var(--muted); margin-top: 3px; }
.is-soon .rem-date-badge { background: var(--green-2); }
.is-soon .rem-date-badge b, .is-soon .rem-date-badge span { color: #fff; }
.rem-body { flex: 1; min-width: 0; }
.rem-who { margin: 0; font-size: 17px; }
.rem-who span { color: var(--muted); font-size: 15px; }
.rem-what { margin: 2px 0 0; font-family: var(--sans); font-size: 13px; color: var(--muted); }
.rem-card { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--green-2); text-decoration: none; }
.rem-card .ic { width: 14px; height: 14px; }
.rem-side { flex: none; display: flex; align-items: center; gap: 6px; }
.rem-before-box select { height: 38px; font-family: var(--sans); font-size: 13px; padding-right: 34px; }
.rem-before-box .ff-chev { right: 10px; width: 16px; height: 16px; }
.rem-acts { display: flex; gap: 2px; }
.rem-acts button { width: 34px; height: 34px; border: 0; background: none; border-radius: 50%; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.rem-acts button:hover { background: #f3ece0; color: var(--ink); }
.rem-acts .ic { width: 16px; height: 16px; }
@media (max-width: 575.98px) {
  .rem-form { padding: 22px 18px; }
  .rem-grid, .rem-grid.rem-date { grid-template-columns: 1fr 1fr; }
  .rem-grid > div:only-child, #rem-year-box { grid-column: 1 / -1; }
  .rem-item { flex-wrap: wrap; }
  .rem-side { width: 100%; justify-content: space-between; padding-left: 68px; }
}
/* "Kaip atidarys": the ways as chips over the card (TOP on the favourites), the animation's own choices under it */
.lv-ways { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: -6px auto 16px; max-width: 560px; }
.lv-ways[hidden], .lv-ways-more[hidden], .lv-ways button[hidden] { display: none; }
.lv-ways-more { display: contents; }
.lv-ways button { position: relative; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #e8dcc8; background: #fffdfa; border-radius: 999px; padding: 7px 14px; font-family: var(--sans); font-size: 13.5px; color: var(--ink); cursor: pointer; }
.lv-ways button i { font-style: normal; font-size: 15px; line-height: 1; }
.lv-ways button:hover { border-color: #d8c6a8; }
.lv-ways button.on { background: var(--green-2); border-color: var(--green-2); color: #fff; }
.lv-ways .lv-ways-toggle { color: var(--muted); }
.lv-top { position: absolute; top: -8px; right: -4px; font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: .06em; color: #fff; background: #c8963e; border-radius: 999px; padding: 1px 6px; }
.lv-op { text-align: center; padding: 6px 0 4px; }
.lv-op[hidden] { display: none; }
.lv-to-field { display: flex; justify-content: center; align-items: center; gap: 4px; margin-bottom: 2px; }
.lv-to { margin: 0; min-width: 6em; }
.lv-to:empty::before { content: attr(data-ph); color: #b9ad9a; text-transform: none; letter-spacing: 0; }
.lv-op .op-title { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: 4px; }
.lv-op .op-hint { font-size: 14px; }
.lv-op .op-scene { width: min(300px, 82%); pointer-events: none; }
.lv-count { margin-top: 6px; }
.lv-count button { min-width: 30px; padding: 5px 8px; }
.lv-op .lv-none-note { margin: -4px 0 8px; }
.op-demo[hidden] { display: none; }
.op-demo .op-scene { width: min(300px, 86%); }
@media (max-width: 575.98px) { .lv-ways button { padding: 6px 11px; font-size: 13px; } }

/* ---------- Ways to open a card (assets/js/openers.js) ---------- */
.op-box { text-align: center; }
.op-to { margin: 0 0 4px; }
.op-title { font-size: 34px; margin: 0 0 6px; }
.op-hint { font-family: var(--sans); font-size: 14.5px; color: var(--muted); margin: 0 0 10px; }
.op-scene { position: relative; width: min(340px, 92%); margin: 0 auto; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.op-scene > svg { width: 100%; height: auto; display: block; overflow: visible; }
.op-extra { margin-top: 12px; }
.op-confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 1100; }
.op-level { width: min(260px, 80%); height: 8px; margin: 8px auto 0; border-radius: 999px; background: #efe6d8; overflow: hidden; }
.op-level span { display: block; height: 100%; width: 0; background: #c9bca6; border-radius: 999px; transition: width .08s; }
.op-level span.hot { background: var(--green-2); }
/* candles */
.op-candle { cursor: pointer; }
.op-flame { transform-box: fill-box; transform-origin: 50% 100%; animation: opFlicker .14s ease-in-out infinite alternate; transition: opacity .25s, transform .25s; }
.op-candle:nth-child(2n) .op-flame { animation-duration: .17s; }
.op-candle:nth-child(3n) .op-flame { animation-duration: .12s; }
.op-glow { transition: opacity .3s; animation: opGlowA 1.6s ease-in-out infinite alternate; }
@keyframes opFlicker { from { transform: scale(1, 1) skewX(-2deg); } to { transform: scale(.92, 1.08) skewX(3deg); } }
@keyframes opGlowA { from { opacity: .7; } to { opacity: 1; } }
.op-candle.out .op-flame, .op-candle.out .op-glow { opacity: 0; transform: scale(.2, .2); animation: none; }
.op-smoke { opacity: 0; transform-box: fill-box; }
.op-candle.out .op-smoke { animation: opSmoke 1.8s ease-out forwards; }
@keyframes opSmoke { 0% { opacity: .55; transform: translate(0, 0) scale(.6); } 100% { opacity: 0; transform: translate(6px, -46px) scale(1.8); } }
.op-cake.blowing .op-candle:not(.out) .op-flame { transform: skewX(-18deg) scale(.85, .9); }
/* gift */
.op-gift { cursor: pointer; transform-box: fill-box; transform-origin: 50% 90%; }
.op-gift.shake { animation: opShake .45s; }
@keyframes opShake { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-7deg) translateY(-6px); } 40% { transform: rotate(6deg); } 60% { transform: rotate(-4deg) translateY(-3px); } 80% { transform: rotate(3deg); } }
.op-gift .lid { transition: transform .8s cubic-bezier(.2, .8, .2, 1), opacity .8s; transform-box: fill-box; transform-origin: 50% 100%; }
.op-gift.open .lid { transform: translate(60px, -140px) rotate(35deg); opacity: 0; }
/* envelope */
.op-env .flap { transform-box: fill-box; transform-origin: 50% 0; transition: transform .7s ease; }
.op-env.open .flap { transform: scaleY(-1); }
.op-env .seal { cursor: pointer; transform-box: fill-box; transform-origin: 50% 50%; transition: transform .35s, opacity .35s; animation: opPulse 1.4s ease-in-out infinite; }
.op-env.open .seal { transform: scale(1.6); opacity: 0; animation: none; }
.op-env .letter { transition: transform .9s .45s cubic-bezier(.2, .8, .2, 1); }
.op-env.open .letter { transform: translateY(-70px); }
@keyframes opPulse { 50% { transform: scale(1.08); } }
/* balloons */
.op-balloons { display: flex; justify-content: center; gap: 4px; height: 210px; align-items: flex-end; }
.op-scene .op-balloon { width: 58px; height: auto; flex: none; cursor: pointer; animation: opFloat 3s ease-in-out infinite alternate; transition: transform .2s, opacity .2s; }
.op-scene .op-balloon:nth-child(2n) { animation-duration: 2.4s; margin-bottom: 30px; }
.op-scene .op-balloon:nth-child(3n) { animation-duration: 3.4s; margin-bottom: 14px; }
.op-scene .op-balloon.pop { transform: scale(1.6); opacity: 0; pointer-events: none; }
@keyframes opFloat { from { transform: translateY(0) rotate(-3deg); } to { transform: translateY(-16px) rotate(3deg); } }
.op-words { min-height: 2.6em; font-family: var(--serif); font-size: 24px; color: var(--ink); margin-top: 8px; }
.op-words span { display: inline-block; margin: 0 4px; animation: opRise .5s; }
/* flower */
.op-progress { width: min(240px, 80%); height: 8px; margin: 10px auto 0; border-radius: 999px; background: #efe6d8; overflow: hidden; }
.op-progress span { display: block; height: 100%; width: 0; background: var(--green-2); }
/* shake */
.op-polaroid { background: #fff; padding: 14px 14px 46px; border-radius: 6px; box-shadow: 0 18px 40px -20px rgba(60, 48, 28, .55); transform: rotate(-3deg); }
.op-polaroid img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #f6efe4; display: block; transition: filter .3s; }
.op-polaroid p { font-family: var(--serif); font-style: italic; font-size: 20px; margin: 10px 0 0; color: var(--ink); }
/* handwriting */
.op-paper { background: #fffdf7; border-radius: 10px; padding: 26px 22px; min-height: 230px; text-align: left; box-shadow: 0 18px 40px -24px rgba(60, 48, 28, .5); background-image: repeating-linear-gradient(#fffdf7 0 33px, #e9e0cf 33px 34px); cursor: pointer; }
.op-paper p { font-family: var(--serif); font-style: italic; font-size: 25px; line-height: 34px; margin: 0; color: #2c3a52; }
.op-paper .pen { display: inline-block; width: 2px; height: 26px; background: #2c3a52; vertical-align: -5px; animation: opBlink .8s steps(2) infinite; }
@keyframes opBlink { 50% { opacity: 0; } }
@keyframes opRise { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }
.op-card { animation: opRise .7s cubic-bezier(.2, .8, .2, 1); }
@media (max-width: 575.98px) { .op-title { font-size: 28px; } }

.op-env .twine { transition: opacity .3s; }
.op-env.open .twine { opacity: 0; }
/* Watercolor icons (tools/icon_arts.php) next to the words: the ways a card opens, the thank-you buttons */
.gicon { width: 24px; height: 24px; vertical-align: -6px; flex: none; }
.lv-ways .gicon { width: 22px; height: 22px; }
.gcard-thanks .gicon { width: 26px; height: 26px; margin-right: 2px; }


/* ---------- Home: the name book (modules/home/home_view.php) ---------- */
@font-face { font-family: 'Noto Sans Runic'; src: url(../fonts/noto-runic-400.ttf) format('truetype'); font-display: swap; }
.page-home .home-hero h1 { white-space: normal; max-width: 13em; }
.home-hero .hero2-copy { max-width: 640px; padding-bottom: 0; }
.home-hero { padding-bottom: 34px; }
#isbandykite { padding-top: 46px; }
#knygoje { padding-bottom: 60px; }
#pavyzdys { padding: 64px 0 56px; }
.home-name { display: flex; gap: 10px; max-width: 600px; margin: 0 0 12px; }
.home-name .ff-field { flex: 1; min-width: 0; }
.home-name .ff-field input { height: 58px; border-radius: 999px; padding-left: 50px; }
.home-name .btn-main { width: auto; flex: none; padding: 0 26px; font-size: 17px; }
.home-name .btn-main .ic { width: 20px; height: 20px; }
.home-small { font-family: var(--sans); font-size: 13.5px; color: var(--muted); margin: 0; }
@media (min-width: 992px) { .home-hero .hero2-sub { max-width: 37rem; } }   /* the subtitle stays within 2 lines on a computer; phones keep the narrower text beside the branch */
.home-name .btn-main span, .home-small span { white-space: nowrap; }

.home-try-in { max-width: 420px; margin: 26px auto 0; }
.home-scripts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 22px 0 0; }
.home-scripts > div { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px 14px 22px; min-width: 0; }
.home-scripts span { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.home-scripts small { display: block; letter-spacing: .04em; text-transform: none; color: var(--soft); font-size: 12px; margin-top: 2px; }
.home-scripts b { display: block; font-weight: 400; color: var(--ink); overflow-wrap: anywhere; line-height: 1.3; }
.home-runes { font-family: 'Noto Sans Runic', 'Segoe UI Historic', serif; font-size: 34px; letter-spacing: .08em; }
.home-morse { font-family: var(--sans); font-size: 20px; letter-spacing: .06em; }
.home-braille { font-size: 34px; letter-spacing: .12em; }
.home-try-note { margin: 26px 0 18px; font-size: 18px; color: var(--text); }

.home-quote { padding: 76px 0; background: linear-gradient(180deg, #f3e6d6, #efdfca); }
.home-quote p { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.2; letter-spacing: -.015em; color: var(--ink); margin: 0; }
.home-quote .home-quote-sub { font-style: italic; font-size: clamp(1.25rem, 2.3vw, 1.75rem); line-height: 1.35; color: #a98446; margin: 18px auto 0; max-width: 34rem; }
.home-quote-cta { margin-top: 28px; padding: 11px 26px 12px; font-size: 16px; }
@media (max-width: 575.98px) { .home-quote-cta { white-space: normal; text-align: center; font-size: 15px; padding: 11px 20px 12px; } }

.home-pages { display: flex; gap: 18px; margin: 34px -24px 0; padding: 4px 24px 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.home-pages figure { flex: 0 0 calc((100% - 3 * 18px) / 4); scroll-snap-align: start; }   /* 4 pages in view, the rest by swiping */
.home-pages figure { margin: 0; text-align: center; }
.home-page-slot { aspect-ratio: 210 / 297; display: grid; place-items: center; padding: 16px; background: var(--paper); border: 1px dashed #d4c4a5; border-radius: 6px; font-family: var(--sans); font-size: 12.5px; color: var(--soft); }
.home-pages figcaption { margin-top: 10px; font-size: 16px; color: var(--muted); }

.home-qs { list-style: none; padding: 0; margin: 34px 0 34px; display: grid; gap: 12px; text-align: left; }
.home-qs li { display: flex; align-items: center; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 20px; font-size: 19px; color: var(--ink); }
.home-qs .disc { width: 44px; height: 44px; }
.home-qs .disc .ic { width: 20px; height: 20px; }

.home-parents { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 56px; align-items: center; }
.home-parents img { width: 100%; height: auto; border-radius: 18px; }
.home-parents .sub { margin: 4px 0 26px; max-width: 30rem; }

.home-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 36px; }
.home-reviews figure { margin: 0; background: var(--paper); border: 1px dashed #d4c4a5; border-radius: 16px; padding: 26px 24px; }
.home-reviews blockquote { margin: 0 0 14px; font-size: 17px; color: var(--soft); }
.home-reviews figcaption { font-family: var(--sans); font-size: 13.5px; color: var(--soft); }

.home-price { transform: none; max-width: 640px; margin: 0 auto; }
.home-price .h-serif { margin-bottom: 4px; }
.home-chapters { columns: 2; column-gap: 24px; }
.home-chapters li { break-inside: avoid; }

@media (max-width: 991.98px) {
  .home-hero .hero2-copy { padding-right: 18%; }
  .home-scripts { grid-template-columns: minmax(0, 1fr); }
  .home-pages figure { flex-basis: calc((100% - 2 * 18px) / 3); }
  .home-parents { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .home-parents img { max-width: 300px; }
  .home-reviews { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575.98px) {
  .home-hero .hero2-copy { padding-right: 0; }
  .home-name { flex-direction: column; }
  .home-name .btn-main { width: 100%; height: 58px; font-size: clamp(13px, 4.1vw, 16px); padding: 0 16px; gap: 8px; justify-content: center; }
  .home-name .btn-main span, .home-small span { white-space: nowrap; }
  .home-name .btn-main .ic { width: 18px; height: 18px; flex: none; }
  .home-quote { padding: 54px 0; }
  .home-hero { padding-bottom: 26px; }
  #isbandykite { padding-top: 34px; }
  #knygoje { padding-top: 56px; padding-bottom: 44px; }
  #pavyzdys { padding: 46px 0 36px; }
  .home-qs li { font-size: 17px; padding: 12px 14px; }
  .home-chapters { columns: 1; }
  .home-pages { gap: 12px; margin: 26px -16px 0; padding: 4px 16px 12px; }
  .home-pages figure { flex-basis: 62%; }
  .page-home main .btn-main.btn-inline { width: 100%; padding: 0 20px; font-size: 17px; }
  .page-home .final-cta .btn-main { width: 100%; height: 58px; font-size: clamp(13px, 4vw, 16px); padding: 0 14px; gap: 8px; justify-content: center; }
  .page-home .final-cta .btn-main span { white-space: nowrap; }
  .page-home .final-cta .btn-main .ic { width: 18px; height: 18px; flex: none; }
}

/* ---------- Order page: photos on the cover (round, placed by hand) ---------- */
.story-art-photo { justify-content: center; min-height: 100%; color: var(--green-2); }
.story-art-photo .ic { width: 30px; height: 30px; margin: 6px 0 4px; }
.story-photos { margin-top: 14px; }
.ph-slots { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.ph-slot { position: relative; width: 124px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ph-circle, .sc-ph { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #efe6da; border: 4px solid #fff; box-shadow: 0 8px 18px -10px rgba(70, 52, 30, .55); cursor: grab; touch-action: none; user-select: none; }
.ph-circle { width: 120px; box-shadow: 0 8px 18px -10px rgba(70, 52, 30, .55), 0 0 0 1px var(--line); }
.ph-circle.is-drag, .sc-ph.is-drag { cursor: grabbing; }
.ph-circle img, .story-cover .sc-ph img { position: absolute; max-width: none; pointer-events: none; }
.ph-slot input[type=range] { width: 112px; accent-color: var(--green); }
.ph-x { position: absolute; top: -4px; right: -2px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 12px; line-height: 1; cursor: pointer; }
.ph-x:hover { color: #a24b3e; border-color: #e3c2b9; }
.ph-add { width: 120px; height: 120px; border-radius: 50%; border: 1.5px dashed #cdb892; background: #fffdfa; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; color: var(--green-2); text-align: center; }
.ph-add b { font-family: var(--sans); font-weight: 300; font-size: 30px; line-height: 1; }
.ph-add span { font-family: var(--sans); font-size: 12px; line-height: 1.2; padding: 0 14px; }
.ph-add:hover { background: #f3f5ec; }
.sc-photos { position: relative; width: 96%; aspect-ratio: 1 / .66; margin: 2px 0; }
.sc-photos .sc-ph { position: absolute; border-width: 2px; box-shadow: 0 5px 12px -8px rgba(70, 52, 30, .5); }

/* the upload button on the cover preview */
.sc-art-box { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; }
.sc-upload { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; background: rgba(255, 255, 255, .92); border: 1px solid #ddcfb8; box-shadow: 0 10px 24px -14px rgba(70, 52, 30, .6); font-family: var(--sans); font-size: 14.5px; color: var(--green-2); cursor: pointer; white-space: nowrap; transition: background .15s; }
.sc-upload:hover { background: #fff; }
.sc-upload .ic { width: 19px; height: 19px; }
.sc-upload.is-small { position: static; transform: none; margin-top: 8px; padding: 6px 14px; font-size: 12.5px; }
.sc-upload[hidden] { display: none; }

/* the first upload in the form: one wide button */
.ph-add-first { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 18px; border: 1.5px dashed #cdb892; border-radius: 14px; background: #fffdfa; cursor: pointer; color: var(--green-2); transition: background .15s, border-color .15s; }
.ph-add-first:hover { background: #f3f5ec; border-color: var(--green); }
.ph-add-first .ic { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--beige); color: #7a5834; flex: none; }
.ph-add-first span { display: flex; flex-direction: column; line-height: 1.3; }
.ph-add-first b { font-family: var(--sans); font-weight: 500; font-size: 15px; }
.ph-add-first small { font-family: var(--sans); font-size: 12.5px; color: var(--muted); }
.story-photos .ph-slots { margin-top: 10px; }
.story-photos #s-ph-hint { margin: 0; }
.ph-add { width: 96px; height: 96px; margin-top: 12px; }

/* photo effects */
.ph-fx { margin-top: 16px; }
.ph-fx-label { font-family: var(--sans); font-size: 14px; font-weight: 500; color: #231e18; margin: 0 0 8px; }
.ph-fx-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 575.98px) { .ph-fx-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ph-fx-item { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 6px 6px 7px; border: 1px solid var(--line); border-radius: 12px; background: #fffdfa; cursor: pointer; transition: border-color .15s, background .15s; }
.ph-fx-item i { display: block; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.ph-fx-item img { width: 100%; height: 100%; object-fit: cover; }
.ph-fx-item span { font-family: var(--sans); font-size: 11.5px; color: var(--muted); }
.ph-fx-item:hover { border-color: #cdb892; }
.ph-fx-item.on { border-color: var(--green); background: #f3f5ec; box-shadow: 0 0 0 1px var(--green) inset; }
.ph-fx-item.on span { color: var(--green-2); }

/* Home hero: text on the left, the watercolour woman with the numerology circle on the right (a phone: the picture above the text) */
.page-home .home-hero { background: #fcf2e7; padding: 92px 0 26px; }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46%); align-items: center; gap: 12px; }
.home-hero .hero2-copy { max-width: 600px; padding: 0; position: relative; z-index: 1; }
.home-hero-pic { display: block; }
.home-hero-pic img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; object-position: right center;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%); mask-image: linear-gradient(to right, transparent 0, #000 14%); }
.home-hero-grid > .hero2-copy { order: -1; }
@media (max-width: 991.98px) {
  .page-home .home-hero { padding: 64px 0 22px; }
  .home-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .home-hero-grid > .hero2-copy { order: 0; }
  .home-hero-pic { margin: 0 -24px; }
  .home-hero-pic img { max-height: 300px; object-position: center top;
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
  .home-hero .hero2-sub { max-width: none; }
}

/* Desktop: the whole hero is one picture (assets/img/home/pass_d.webp); a soft cream veil on the left keeps the text easy to read */
@media (min-width: 992px) {
  .page-home .home-hero {
    min-height: 39vw; display: flex; align-items: center; padding: 96px 0 34px;
    background: linear-gradient(90deg, rgba(250, 238, 222, .82) 0%, rgba(250, 238, 222, .55) 34%, rgba(250, 238, 222, 0) 52%),
                #f7e6d1 url('/assets/img/home/pass_d.webp?v=1') right center / cover no-repeat;
  }
  .page-home .home-hero .hero2-inner { width: 100%; }
  .home-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .home-hero-pic { display: none; }
  .home-hero .hero2-copy { max-width: 560px; }
}
/* phone: the headline sits 100 px higher, over the faded bottom of the picture */
@media (max-width: 991.98px) {
  .home-hero-grid > .hero2-copy { margin-top: -100px; }
  .home-hero-pic img { -webkit-mask-image: linear-gradient(to bottom, #000 48%, transparent 92%); mask-image: linear-gradient(to bottom, #000 48%, transparent 92%); }
}

/* /vardai: the name opens its own view with the day.lt name days */
.names-link { text-decoration: none; color: inherit; }
.names-link:hover b { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.name-one { padding: 10px 0 70px; }
.name-one-g { font-family: var(--sans); font-size: .45em; color: var(--gold-ink); vertical-align: middle; }
.name-one-days { max-width: 520px; margin: 0 auto; padding: 26px 28px; }
.name-one-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.name-one-list li { display: flex; align-items: center; gap: 12px; font-size: 22px; color: var(--ink); padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fffdfa; }
.name-one-list .ic { color: var(--gold-ink); }
.name-one-note { margin: 14px 0 0; text-align: center; font-size: 15.5px; color: var(--muted); }

.name-one-num { margin-top: 18px; }
.name-one-nr { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 10px; }
.name-one-nr > b { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; border: 1.3px solid var(--gold-2); font-family: var(--serif); font-weight: 400; font-size: 36px; color: var(--gold-ink); background: #fffdfa; flex: none; }
.name-one-nr span { font-size: 24px; color: var(--ink); line-height: 1.2; }
.name-one-nr small { display: block; font-family: var(--sans); font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.name-one-tal { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.name-one-tal li { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 12px 8px; border: 1px solid var(--line); border-radius: 12px; background: #fffdfa; text-align: center; }
.name-one-tal .ic { color: var(--gold-ink); }
.name-one-tal span { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.name-one-tal b { font-weight: 400; font-size: 20px; color: var(--ink); }

.name-one-pc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.name-one-pc > div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fffdfa; }
.name-one-pc p { margin: 0 0 6px; font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.name-one-pc ul { list-style: none; padding: 0; margin: 0; }
.name-one-pc li { position: relative; padding-left: 20px; font-size: 16.5px; line-height: 1.35; color: var(--ink); margin: 3px 0; }
.name-one-pc li::before { position: absolute; left: 0; top: 0; font-family: var(--sans); font-weight: 600; }
.name-one-pc li.pro::before { content: '+'; color: var(--green); }
.name-one-pc li.con::before { content: '−'; color: #b0705a; }
@media (max-width: 420px) { .name-one-pc { grid-template-columns: 1fr; } }
.name-one-mean { font-size: 19px; line-height: 1.5; color: var(--text); max-width: 34rem; margin: 14px auto 0; }

/* the master number beside the name number (11/2, 22/4, 33/6) */
.name-one-nr > b { position: relative; }
.name-one-nr > b i { position: absolute; top: -8px; right: -12px; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 15px; display: grid; place-items: center;
  font-style: normal; font-family: var(--sans); font-size: 13px; font-weight: 600; color: #fff; background: linear-gradient(180deg, #c4a466, #a8894f); box-shadow: 0 4px 10px -4px rgba(120, 90, 40, .6); }
.name-one-master { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: #f7eedd; border: 1px solid #e9d8b6; font-size: 16px; line-height: 1.45; color: var(--text); text-align: center; }
.name-one-master b { font-weight: 500; color: var(--gold-ink); }

/* "Kaip tau šis vardas?" on the name page */
.name-vote { margin-top: 18px; }
.vote-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.vote-opt { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 34% 48px; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fffdfa; cursor: pointer; text-align: left; font: inherit; color: var(--ink); transition: border-color .15s, background .15s; }
.vote-opt:hover { border-color: #cdb892; }
.vote-opt.on { border-color: var(--gold-2); background: #f7eedd; box-shadow: 0 0 0 1px var(--gold-2) inset; }
.vote-label { font-size: 17px; line-height: 1.3; }
.vote-bar { height: 8px; border-radius: 4px; background: #efe6da; overflow: hidden; }
.vote-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #c4a466, #a8894f); border-radius: 4px; transition: width .5s ease; }
.vote-pct { font-family: var(--sans); font-size: 13px; color: var(--muted); text-align: right; }
.vote-offer { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.vote-offer-title { margin: 0; text-align: center; font-size: 21px; color: var(--ink); }
.vote-offer-title b { color: var(--gold-ink); font-weight: 500; }
.vote-sent { margin: 16px 0 0; text-align: center; font-size: 17px; color: var(--green-2); }
@media (max-width: 480px) { .vote-opt { grid-template-columns: minmax(0, 1fr) 28% 40px; gap: 8px; } .vote-label { font-size: 15.5px; } }
/* the discount code field of the order */
.story-code { margin-top: 16px; }
.story-code summary { cursor: pointer; font-family: var(--sans); font-size: 14px; color: var(--green-2); }
.story-total s { color: var(--soft); font-weight: 400; margin-right: 6px; }
.name-one-cta { margin: 18px 0; }
.vote-opt:disabled { cursor: default; }
.vote-opt:disabled:not(.on):hover { border-color: var(--line); }

/* the name days page: a link to the name's page under each name */
.nd-item { display: flex; flex-direction: column; gap: 6px; }
.nd-item .nd-name { width: 100%; flex: 1; }
.nd-about { text-align: center; font-family: var(--sans); font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.nd-about:hover { color: var(--gold-ink); }
/* the name page: its name days lead to the day pages; similar names */
.name-one-list a { color: inherit; text-decoration: none; }
.name-one-list a:hover { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 4px; }
.name-similar { margin-top: 18px; }
.name-similar-list { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.name-similar-list a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fffdfa; font-size: 18px; color: var(--ink); text-decoration: none; transition: border-color .15s; }
.name-similar-list a:hover { border-color: var(--gold-2); color: var(--gold-ink); }
.name-similar-list span { font-family: var(--sans); font-size: 12px; color: var(--gold-ink); }

/* the name page: the talisman stone and planet pictures */
.name-one-tal img { width: 120px; height: 120px; object-fit: contain; margin-bottom: 4px; }
@media (max-width: 480px) { .name-one-tal img { width: 96px; height: 96px; } }

/* the name page: the written strengths and weaknesses, the longer master number text */
.name-one-pc.is-long li { margin: 0 0 12px; font-size: 16px; line-height: 1.5; color: var(--text); }
.name-one-pc.is-long li:last-child { margin-bottom: 2px; }
.name-one-pc.is-long li b { display: block; font-weight: 600; color: var(--ink); }
@media (max-width: 640px) { .name-one-pc.is-long { grid-template-columns: 1fr; } }
.name-one-master { text-align: left; }
.name-one-master p { margin: 0 0 6px; }
.name-one-master p:last-child { margin-bottom: 0; }

/* the name page: the longer meaning under the short one */
.name-one-more { font-size: 16.5px; line-height: 1.6; color: var(--text); max-width: 34rem; margin: 10px auto 0; text-align: left; }
.name-one-more b { font-weight: 600; color: var(--ink); }

/* /numerologija: the name and the birth date as two numbers, worked out in front of the eyes */
.num-wrap { max-width: 720px; padding-bottom: 60px; }
.num-page .blog-head h1 em { font-style: italic; color: var(--gold-ink); }
.num-step { margin-top: 10px; }
.num-step .ff-label small { font-weight: 400; color: var(--soft); margin-left: 6px; }
.num-step .ff-field input { height: 56px; font-size: 19px; }
.num-hint { font-family: var(--sans); font-size: 13px; color: var(--soft); margin: 8px 2px 0; }
.num-calc { margin: 18px 0 0; }
.num-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.num-row span { display: inline-flex; flex-direction: column; align-items: center; min-width: 40px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.num-row span.on { opacity: 1; transform: none; }
.num-row em { font-style: normal; font-size: 21px; color: var(--ink); line-height: 1.1; }
.num-row b { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--gold-ink); min-height: 16px; }
.num-total { text-align: center; margin-top: 12px; font-family: var(--sans); font-size: 16px; color: var(--muted); opacity: 0; transition: opacity .35s; }
.num-total.on { opacity: 1; }
.num-total b { color: var(--ink); font-weight: 600; }
.num-total .num-final { display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border-radius: 18px; background: var(--gold-ink); color: #fff; margin-left: 6px; }
.num-result { margin-top: 18px; display: grid; gap: 14px; animation: num-in .5s ease both; }
@keyframes num-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.num-card { display: flex; gap: 22px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.num-card img { width: 120px; height: 120px; border-radius: 14px; object-fit: cover; flex: none; }
.num-kicker { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.num-big { display: block; font-size: 54px; line-height: 1; color: var(--ink); font-weight: 400; }
.num-card strong, .num-match strong, .num-year strong { display: block; font-size: 22px; font-weight: 500; color: var(--ink); margin-top: 6px; }
.num-card p, .num-match p, .num-year p { margin: 4px 0 0; color: var(--muted); }
.num-minor { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.num-minor > div { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.num-minor span { display: block; font-family: var(--sans); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.num-minor b { display: block; font-size: 22px; font-weight: 400; color: var(--ink); margin-top: 4px; }
.num-minor small { font-family: var(--sans); font-size: 12px; color: var(--soft); }
.num-match, .num-year { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; text-align: center; }
.num-vs { display: flex; justify-content: center; align-items: flex-start; gap: 16px; margin: 6px 0 12px; }
.num-vs b { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--gold); font-size: 26px; color: var(--ink); font-weight: 400; }
.num-vs small { display: block; font-family: var(--sans); font-size: 11px; color: var(--soft); margin-top: 4px; }
.num-vs i { font-style: normal; color: var(--soft); font-family: var(--sans); font-size: 22px; line-height: 56px; }
.num-dots { display: flex; justify-content: center; gap: 6px; margin: 0 0 8px; }
.num-dots i { width: 12px; height: 12px; border-radius: 50%; background: #ece5d8; }
.num-dots i.on { background: var(--gold-ink); }
.num-cta { text-align: center; padding: 10px 0 0; }
.num-cta p { color: var(--text); margin: 0 0 14px; font-size: 18px; }
.num-err { font-family: var(--sans); font-size: 14px; color: #a24b3e; margin: 10px 0 0; }
@media (max-width: 575.98px) { .num-card { flex-direction: column; text-align: center; } .num-card img { width: 96px; height: 96px; } .num-big { font-size: 46px; } .num-minor { grid-template-columns: 1fr; } }

/* /numerologija: the six analyses and the order under them */
.nump-block { padding: 70px 0 80px; margin-top: 0; border-top: 1px solid #eadcc8; }
.nump-sub { max-width: 44rem; margin: 8px auto 0; color: var(--muted); }
.nump-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 44px; align-items: stretch; }
.nump-card { position: relative; display: flex; flex-direction: column; gap: 14px; background: var(--paper); border: 1px solid #ebe1d3; border-radius: 20px; padding: 30px 26px 26px; transition: border-color .2s, box-shadow .2s; }
.nump-card.nump-hi { border: 1.5px solid var(--green); box-shadow: 0 30px 60px -34px rgba(62, 74, 48, .5); }
.nump-card.on { border-color: var(--gold-ink); box-shadow: 0 0 0 3px rgba(197, 174, 128, .25); }
.nump-badge { position: absolute; top: -13px; left: 26px; background: var(--green); color: #f5f0e6; font-family: var(--sans); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.nump-card:not(.nump-hi) .nump-badge { background: var(--gold-ink); }
.nump-head { display: flex; align-items: center; gap: 14px; }
.nump-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--beige); color: var(--gold-ink); flex: none; }
.nump-ic .ic { width: 26px; height: 26px; }
.nump-head h3 { font-size: 23px; margin: 0; line-height: 1.15; }
.nump-price { font-size: 30px; line-height: 1; color: var(--ink); margin: 4px 0 0; letter-spacing: -.02em; }
.nump-when { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: #f3ebdd; font-family: var(--sans); font-size: 12.5px; color: #5c544a; }
.nump-when .ic { width: 15px; height: 15px; }
.nump-lead { margin: 0; color: var(--text); font-size: 16px; line-height: 1.45; }
.nump-points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nump-points li { position: relative; padding: 9px 10px 9px 26px; border: 1px solid var(--line); border-radius: 10px; font-family: var(--sans); font-size: 13.5px; line-height: 1.3; color: #3a342c; background: #fffdfa; }
.nump-points li::before { content: ''; position: absolute; left: 10px; top: 14px; width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold); border-radius: 2px; }
.nump-gets { border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; background: #fffdfa; }
.nump-gets summary { display: flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; padding: 11px 0; font-family: var(--sans); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.nump-gets summary::-webkit-details-marker { display: none; }
.nump-gets summary .ic { width: 16px; height: 16px; transition: transform .2s; }
.nump-gets[open] summary .ic { transform: rotate(45deg); }
.nump-gets ul { list-style: none; padding: 0 0 12px; margin: 0; }
.nump-gets li { display: flex; gap: 8px; font-size: 15px; line-height: 1.4; padding: 5px 0; color: var(--text); }
.nump-gets li .ic { width: 17px; height: 17px; color: var(--green); margin-top: 3px; flex: none; }
.nump-card .btn-main { height: 52px; font-size: 17px; margin-top: auto; }
.nump-order { max-width: 760px; margin: 40px auto 0; background: var(--paper); border: 1.5px solid var(--gold); border-radius: 22px; padding: 30px 34px 28px; box-shadow: 0 30px 70px -40px rgba(92, 70, 40, .35); }
.nump-order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.nump-order-head h3 { font-size: 26px; margin: 4px 0 2px; }
.nump-order-sub { margin: 0; font-family: var(--sans); font-size: 13.5px; color: var(--muted); }
.nump-order-price { font-size: 34px; line-height: 1; color: var(--ink); margin: 6px 0 0; white-space: nowrap; }
.nump-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.nump-fields .nump-wide { grid-column: 1 / -1; }
.nump-fields .ff-label small { font-weight: 400; color: var(--soft); margin-left: 6px; }
.nump-check { display: flex; gap: 10px; align-items: flex-start; font-family: var(--sans); font-size: 14px; color: var(--text); margin: 18px 0 16px; }
.nump-check input { margin-top: 3px; }
.nump-rush { margin: 18px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fbf3e6; cursor: pointer; }
.nump-rush[hidden] { display: none; }
.nump-rush + .nump-check { margin-top: 14px; }
.nump-rush em { font-style: normal; color: var(--gold-ink); font-weight: 600; white-space: nowrap; }
.nump-fine { margin: 12px 0 0; text-align: center; font-family: var(--sans); font-size: 13px; color: var(--soft); }
@media (max-width: 991.98px) { .nump-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .nump-block { padding: 50px 0 60px; } .nump-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 34px; } .nump-order { padding: 22px 18px 22px; } .nump-fields { grid-template-columns: 1fr; } .nump-order-head { flex-direction: column; } .nump-order-price { margin: 0; } }

/* /numerologija: the opening with the four themes */
.num-hero { padding: 96px 0 44px; border-bottom: 1px solid #eadcc8; }
.num-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 40%); align-items: center; gap: 30px; }
.num-hero-copy { max-width: 640px; padding: 0; }
.num-hero h1 { margin-bottom: 22px; }
.num-hero-box { background: rgba(255, 253, 250, .75); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; font-size: 17px; line-height: 1.5; color: var(--text); margin: 0 0 22px; }
.num-themes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 560px; }
.num-themes a { display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; background: var(--paper); border: 1px solid #ebe1d3; border-radius: 14px; text-decoration: none; color: var(--ink); font-size: 18px; line-height: 1.2; transition: border-color .2s, transform .2s, box-shadow .2s; }
.num-themes a:hover { border-color: var(--gold); transform: translateY(-1px); box-shadow: 0 14px 28px -22px rgba(92, 70, 40, .5); }
.num-themes span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--beige); color: var(--gold-ink); flex: none; }
.num-themes .ic { width: 23px; height: 23px; }
.num-hero-pic { display: flex; justify-content: center; }
.num-hero-pic img { width: min(100%, 440px); height: auto; border-radius: 24px; box-shadow: 0 30px 60px -34px rgba(92, 70, 40, .45); }
.num-intro { margin: 44px auto 30px; max-width: 820px; }
.num-intro h2 em { font-style: italic; color: var(--gold-ink); }
.num-intro .sub { max-width: 34rem; margin: 8px auto 0; color: var(--muted); }
.num-wrap { padding-top: 0; }
@media (max-width: 991.98px) { .num-hero-grid { grid-template-columns: minmax(0, 1fr); } .num-hero-pic { display: none; } .num-hero-pic img { width: min(60%, 260px); } .num-hero { padding-top: 86px; } }
@media (max-width: 575.98px) { .num-themes { grid-template-columns: 1fr; } .num-themes a { font-size: 17px; } .num-hero-box { font-size: 16px; padding: 14px 16px; } }

/* /numerologija: who it is for – three cards with our discs and a soft panel of the things people come with */
.num-who { padding: 60px 0 64px; margin-top: 40px; background: #f3e9db; border-top: 1px solid #eadcc8; }
.num-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 40px 0 26px; }
.num-doors > div { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px 24px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 14px; }
.num-doors > div p { grid-column: 1 / -1; margin-top: 12px; }
.num-doors .disc { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #f5e6d3; color: var(--gold-ink); margin-bottom: 0; }
.num-doors .disc .ic { width: 25px; height: 25px; }
.num-doors h3 { font-size: 26px; margin: 0; line-height: 1.15; }
.num-doors p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.num-soft { background: linear-gradient(180deg, #e6e8da, #eef0e4); padding: 70px 0 76px; border-top: 1px solid #d8dcc8; }
.num-soft-head { margin: 0 auto 28px; }
.num-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.num-cases a { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 16px; background: rgba(255, 253, 250, .85); border: 1px solid rgba(97, 111, 83, .18); border-radius: 16px; color: var(--ink); text-decoration: none; font-size: 17px; line-height: 1.45; font-style: italic; transition: transform .2s, box-shadow .2s, border-color .2s; }
.num-cases a:hover { transform: translateY(-2px); border-color: var(--green); box-shadow: 0 16px 30px -22px rgba(62, 74, 48, .5); color: var(--ink); }
.num-cases small { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.num-cases small .ic { width: 15px; height: 15px; }
@media (max-width: 991.98px) { .num-doors { grid-template-columns: minmax(0, 1fr); } .num-cases { grid-template-columns: minmax(0, 1fr); } .num-soft { padding: 54px 0 58px; } }

.num-hero .hero2-script { font-size: 12px; letter-spacing: .16em; }
@media (max-width: 575.98px) { .num-hero { padding-top: 64px; padding-bottom: 34px; } .num-hero-pic img { width: 200px; } .num-hero h1 { font-size: clamp(2.1rem, 9.5vw, 2.8rem); } }

/* /numerologija: the watercolor theme pictures inside the discs */
.num-themes span img, .num-doors .disc img, .nump-ic img { width: 82%; height: 82%; object-fit: contain; display: block; }
.num-themes span, .nump-ic, .num-doors .disc { overflow: hidden; }
.num-themes span { width: 52px; height: 52px; }
.nump-ic { width: 62px; height: 62px; border-radius: 18px; }
.num-doors .disc { width: 64px; height: 64px; }
/* /numerologija: the hero starts right under the header (no strip of page background above it) */
.page-inner main.num-page { padding-top: 0; }
.num-hero { padding-top: 56px; }
@media (max-width: 991.98px) { .num-hero { padding-top: 40px; } }
@media (max-width: 575.98px) { .num-hero { padding-top: 30px; } }

/* /numerologija hero: on a phone the title breaks after "pagal" and the picture sits under the buttons */
.num-br { display: none; }
@media (max-width: 575.98px) { .num-br { display: inline; } }
@media (max-width: 575.98px) { .num-hero h1 { font-size: clamp(1.7rem, 8.2vw, 2.4rem); letter-spacing: -.025em; } }
@media (max-width: 575.98px) { .num-hero h1 { max-width: none; } }

/* /amuletai: the amulets, their stock and the waiting list */
.amu-head { padding-bottom: 26px; }
.amu-head h1 em { font-style: italic; color: var(--gold-ink); }
.amu-note { display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 36rem; margin: 22px auto 0; padding: 14px 18px; border: 1px solid #e7dac3; border-radius: 16px; background: #f8f0e2; text-align: left; }
.amu-note .ic { width: 24px; height: 24px; color: var(--gold-ink); flex: none; }
.amu-note p { margin: 0; font-size: 17px; line-height: 1.4; color: var(--ink); }
.amu-block { padding-top: 34px; }
.amu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 880px; margin: 14px auto 0; }
.amu-card .nump-points { grid-template-columns: 1fr 1fr; }
.amu-tag { margin: 3px 0 0; font-family: var(--sans); font-size: 13.5px; color: var(--gold-ink); letter-spacing: .02em; }
.nump-badge.amu-badge { background: #8c4f45; }
.nump-badge.amu-badge.amu-in, .amu-card:not(.nump-hi) .nump-badge.amu-in { background: var(--green); }
.amu-card:not(.nump-hi) .nump-badge.amu-badge:not(.amu-in) { background: #8c4f45; }
.amu-stock { display: flex; align-items: baseline; gap: 10px; margin: 0; padding: 12px 14px; border: 1px dashed #dccfb8; border-radius: 12px; background: #fffdfa; font-family: var(--sans); }
.amu-stock span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.amu-stock b { font-size: 18px; font-weight: 600; color: var(--ink); }
.amu-stock small { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.amu-card .btn-main { margin-top: auto; }
.amu-form { max-width: 720px; margin-left: auto; margin-right: auto; }
.amu-form[hidden], .amu-done[hidden], .amu-birth[hidden] { display: none; }
.amu-personal { margin-bottom: 0; }
.amu-birth { margin-top: 12px; }
.amu-done { max-width: 720px; margin: 40px auto 0; text-align: center; padding: 34px 26px; border: 1px solid #dfe5d2; border-radius: 22px; background: linear-gradient(180deg, #e9ecdf, #f1f3e8); }
.amu-done .ic { width: 34px; height: 34px; color: var(--green); }
.amu-done h3 { margin: 8px 0 6px; font-size: 28px; }
.amu-done p { margin: 0; font-size: 17px; color: var(--text); }
@media (max-width: 767.98px) { .amu-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; } .amu-note { text-align: left; } }
.amu-who .num-doors { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin-left: auto; margin-right: auto; }
@media (max-width: 767.98px) { .amu-who .num-doors { grid-template-columns: minmax(0, 1fr); } }
/* /amuletai: six amulets – three in a row */
.amu-top { margin-bottom: 8px; }
.amu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1120px; gap: 26px 22px; margin-top: 40px; }
.amu-card .nump-head h3 { font-size: 21px; }
@media (max-width: 991.98px) { .amu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .amu-grid { grid-template-columns: minmax(0, 1fr); } }
.amu-main { display: flex; align-items: center; gap: 14px; }
.amu-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.amu-art { flex: none; display: flex; justify-content: flex-end; }
.amu-art img { display: block; height: 190px; width: auto; max-width: 110px; object-fit: contain; }

/* /amuletai: how the amulets work (Laima's voice) and how to use one */
.amu-how { padding-top: 56px; padding-bottom: 64px; }
.amu-laima { display: flex; align-items: center; gap: 24px; max-width: 680px; margin: 0 auto; padding: 22px 28px 22px 22px; background: rgba(255, 253, 250, .92); border: 1px solid #d8dcc8; border-radius: 30px; box-shadow: 0 18px 40px -28px rgba(62, 74, 48, .5); }
.amu-play { position: relative; flex: none; width: 112px; height: 112px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.amu-play:disabled { cursor: default; }
.amu-laima-pic { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; overflow: hidden; background: #f3ebdd; border: 5px solid #fff; box-shadow: 0 0 0 4px #cfd8bf, 0 10px 22px -12px rgba(60, 48, 28, .55); color: var(--gold-ink); }
.amu-laima-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.amu-laima-pic .ic { width: 40px; height: 40px; }
.amu-play-btn { position: absolute; right: -6px; bottom: -4px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #2c4a3a; color: #fff; border: 4px solid #fff; box-shadow: 0 8px 16px -8px rgba(40, 52, 32, .75); transition: transform .15s, background .15s; }
.amu-play:not(:disabled):hover .amu-play-btn { transform: scale(1.08); background: var(--green-2); }
.amu-play:disabled .amu-play-btn { background: #aab29c; }
.amu-play-btn .ic { width: 20px; height: 20px; stroke-width: 2; }
.amu-play-btn .amu-ic-play { fill: currentColor; margin-left: 2px; }
.amu-play-btn .amu-ic-pause { display: none; stroke-width: 2.6; }
.amu-play.is-playing .amu-ic-play { display: none; }
.amu-play.is-playing .amu-ic-pause { display: block; }
.amu-play.is-playing .amu-laima-pic { box-shadow: 0 0 0 4px #b9c8a4, 0 0 0 9px rgba(185, 200, 164, .35), 0 10px 22px -12px rgba(60, 48, 28, .55); }
.amu-laima-txt { flex: 1; min-width: 0; text-align: left; }
.amu-tag { display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px 5px 10px; border-radius: 999px; background: #e3ead8; color: #3d5a3f; font-family: var(--sans); font-size: 13px; font-weight: 500; }
.amu-tag .ic { width: 16px; height: 16px; }
.amu-laima-txt b { display: block; margin-top: 10px; font-family: var(--sans); font-weight: 600; font-size: 24px; line-height: 1.2; color: #2f4a38; }
.amu-laima-txt small { display: block; margin-top: 6px; font-family: var(--sans); font-size: 16px; line-height: 1.4; color: #6a6f62; }
.amu-prog { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.amu-dots { display: inline-flex; gap: 4px; flex: none; }
.amu-dots i { width: 7px; height: 12px; border-radius: 4px; background: #4a6b4c; }
.amu-bar { flex: 1; height: 12px; border-radius: 999px; background: #e3e6d6; cursor: pointer; position: relative; overflow: hidden; }
.amu-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; background: #4a6b4c; }
.amu-time { flex: none; min-width: 38px; text-align: right; font-family: var(--sans); font-size: 16px; color: #6a6f62; }
.amu-laima.is-off .amu-prog { opacity: .45; pointer-events: none; }
.amu-how-head { margin-top: 40px; }
.amu-how-text { max-width: 44rem; margin: 18px auto 0; text-align: center; }
.amu-how-text p { margin: 0 0 16px; font-size: 19px; line-height: 1.6; color: var(--text); }
.amu-how-text b { color: var(--ink); font-weight: 600; }
.amu-use { padding-top: 70px; padding-bottom: 76px; border-top: 1px solid #eadcc8; }
.amu-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1020px; margin: 38px auto 0; }
.amu-steps > div { background: var(--paper); border: 1px solid #ebe1d3; border-radius: 20px; padding: 24px 24px 26px; }
.amu-steps .amu-step-wide { grid-column: span 2; }
.amu-n { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 12px; border-radius: 50%; background: var(--gold-ink); color: #fff; font-family: var(--sans); font-size: 16px; font-weight: 600; }
.amu-steps h3 { font-size: 23px; margin: 0 0 8px; line-height: 1.2; }
.amu-steps p { margin: 0; color: var(--muted); font-size: 16.5px; line-height: 1.5; }
.amu-power { display: block; width: 100%; max-width: 380px; margin-top: 16px; color: var(--gold-ink); }
.amu-power-t { font-family: var(--sans); font-size: 10.5px; fill: var(--muted); }
@media (max-width: 991.98px) { .amu-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .amu-steps { grid-template-columns: minmax(0, 1fr); }
  .amu-steps .amu-step-wide { grid-column: auto; }
  .amu-laima { gap: 14px; padding: 16px 16px 16px 14px; border-radius: 26px; align-items: flex-start; }
  .amu-play, .amu-laima-pic { width: 78px; height: 78px; }
  .amu-laima-pic { border-width: 4px; box-shadow: 0 0 0 3px #cfd8bf, 0 8px 18px -10px rgba(60, 48, 28, .55); }
  .amu-play-btn { width: 38px; height: 38px; border-width: 3px; right: -8px; }
  .amu-play-btn .ic { width: 16px; height: 16px; }
  .amu-laima-txt b { font-size: 19px; margin-top: 8px; }
  .amu-laima-txt small { font-size: 14px; }
  .amu-prog { gap: 9px; margin-top: 12px; }
  .amu-time { font-size: 14px; min-width: 32px; }
  .amu-how-text p { font-size: 17.5px; }
}

/* /amuletai: what the amulets are made of */
.amu-made { padding-top: 70px; padding-bottom: 76px; border-top: 1px solid #eadcc8; }
.amu-made .amu-laima { margin-top: 30px; }
.amu-made-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; max-width: 1200px; margin: 34px auto 0; }
.amu-made-grid > div { flex: 0 1 calc((100% - 64px) / 5); min-width: 0; background: var(--paper); border: 1px solid #ebe1d3; border-radius: 20px; padding: 22px 18px 24px; }
.amu-made-grid .disc { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #f5e6d3; color: var(--gold-ink); margin-bottom: 14px; }
.amu-made-grid .disc .ic { width: 25px; height: 25px; }
.amu-made-grid h3 { font-size: 20px; margin: 0 0 8px; line-height: 1.2; }
.amu-made-grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 991.98px) { .amu-made-grid > div { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 575.98px) { .amu-made-grid > div { flex-basis: 100%; } }
.amu-made-grid > .amu-made-green { background: linear-gradient(180deg, #e6e8da, #eef0e4); border-color: #d8dcc8; }
.amu-made-green .disc { background: #fffdfa; }

/* Home: the picture of the numerology / amulet bands */
.home-band-art { display: flex; justify-content: center; }
.home-band-art img { max-height: 360px; width: auto; max-width: 100%; height: auto; }
@media (max-width: 991.98px) { .home-band-art img { max-height: 280px; } }

/* Home: four plan cards */
.plans-four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.plans-four .plan { padding: 30px 22px 24px; }
.plans-four .plan-price { font-size: 34px; }
.plans-four .plan .btn-main { height: 50px; font-size: 16px; padding: 0 18px; }
@media (max-width: 1199.98px) { .plans-four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plans-four .plan-hi { transform: none; } }
@media (max-width: 575.98px) { .plans-four { grid-template-columns: minmax(0, 1fr); } }

/* Home: a 1px line between the blocks, as on /amuletai and /numerologija */
.page-home main > section + section { border-top: 1px solid #eadcc8; }
.page-home main > .block-sage { border-top-color: #d8dcc8; }
.page-home main > .block-sage + section { border-top-color: #d8dcc8; }

/* Home: the reviews slideshow */
.rv { position: relative; margin-top: 36px; }
.rv-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 14px; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-card { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px 24px 20px; display: flex; flex-direction: column; box-shadow: 0 14px 30px -26px rgba(62, 74, 48, .5); }
.rv-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rv-top b { display: block; font-weight: 500; font-size: 17px; line-height: 1.2; }
.rv-top small { display: block; font-family: var(--sans); font-size: 13px; color: var(--soft); }
.rv-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--tint, #e6e8da); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--green-2); flex: none; }
.rv-stars { color: var(--gold); letter-spacing: 2px; font-size: 16px; margin-bottom: 8px; }
.rv-card blockquote { margin: 0 0 14px; font-size: 16.5px; line-height: 1.5; color: var(--ink); flex: 1; }
.rv-card figcaption { align-self: flex-start; font-family: var(--sans); font-size: 12.5px; padding: 4px 12px; border-radius: 999px; background: var(--tint, #e6e8da); color: var(--green-2); }
.rv-arrow { position: absolute; top: 42%; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--green-2); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 20px -12px rgba(0, 0, 0, .35); z-index: 2; }
.rv-arrow .ic { width: 20px; height: 20px; }
.rv-prev { left: -18px; transform: scaleX(-1); }
.rv-next { right: -18px; }
.rv-dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.rv-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: #d9cfbd; cursor: pointer; }
.rv-dots button.on { background: var(--green); width: 22px; border-radius: 9px; }
@media (max-width: 991.98px) { .rv-card { flex-basis: calc((100% - 20px) / 2); } .rv-prev { left: -8px; } .rv-next { right: -8px; } }
@media (max-width: 575.98px) { .rv-card { flex-basis: 86%; } .rv-arrow { display: none; } }
.rv-note { text-align: center; font-size: 14px; color: var(--soft); margin: 18px auto 0; max-width: 40rem; }

/* Blog: page numbers */
.blog-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 40px 0 6px; }
.blog-pager a { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--green-2); font-family: var(--sans); font-size: 15px; text-decoration: none; }
.blog-pager a:hover { border-color: var(--green); }
.blog-pager a.on { background: var(--green); border-color: var(--green); color: #f5f0e6; }

/* Article: the author, the rating, the share buttons */
.article-author { display: flex; align-items: center; gap: 12px; margin: 0 0 34px; padding-bottom: 28px; border-bottom: 1px solid #e7dcc8; font-family: var(--sans); font-size: 13.5px; line-height: 1.35; color: var(--soft); }
.article-author b { font-weight: 500; font-size: 15px; color: var(--ink); }
.article-author-pic { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; border: 2px solid #fff; box-shadow: 0 0 0 1px #e5dccb; flex: none; background: #f3ebdd; }
.article-author-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }

.article-fb { position: relative; margin: 48px 0 8px; }
.fb-card, .share-card { border-radius: 26px; padding: 26px 28px; }
.fb-card { background: #fffdfa; border: 1px solid #e8dfcd; text-align: center; margin-bottom: 20px; }
.fb-card h2, .share-card h2 { font-size: 24px; margin: 0 0 18px; font-weight: 400; }
.fb-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.fb-options button, .share-row a, .share-row button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 24px; border-radius: 16px; border: 1px solid #e5dccb; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 17px; cursor: pointer; text-decoration: none; transition: border-color .15s, background .15s; }
.fb-options button:hover, .share-row a:hover, .share-row button:hover { border-color: var(--green); }
.fb-options button.on { background: var(--green); border-color: var(--green); color: #f5f0e6; }
.fb-options .ic, .share-row .ic { width: 22px; height: 22px; color: var(--green-2); }
.fb-options button.on .ic { color: #f5f0e6; }
.fb-why { max-width: 560px; margin: 20px auto 0; text-align: left; }
.fb-why label { display: block; font-family: var(--sans); font-size: 15px; margin-bottom: 8px; }
.fb-why textarea { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid #d6ccb8; border-radius: 14px; font: inherit; font-size: 16px; resize: vertical; }
.fb-send { height: 48px; margin-top: 12px; }
.fb-thanks { margin: 18px 0 0; font-family: var(--sans); color: var(--green-2); }
.share-card { background: #eee9dd; text-align: left; }
.share-card h2 { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 18px; font-weight: 500; color: var(--green-2); margin-bottom: 16px; }
.share-card h2 .ic { width: 22px; height: 22px; }
.share-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.share-row .share-main { background: var(--green-2); border-color: var(--green-2); color: #fff; }
.share-row .share-main .ic { color: #fff; }
.share-row [hidden] { display: none; }
.fb-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: #2a2822; color: #fff; padding: 12px 20px; border-radius: 999px; font-family: var(--sans); font-size: 15px; z-index: 50; margin: 0; }
.fb-toast[hidden] { display: none; }
/* on a computer the share buttons also float at the side while the article is read */
.share-side { display: none; }
@media (min-width: 1200px) {
  .share-side { position: fixed; left: max(16px, calc(50% - 560px)); top: 38%; display: flex; flex-direction: column; gap: 10px; z-index: 20; }
  .share-side a, .share-side button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid #e5dccb; background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--green-2); box-shadow: 0 8px 20px -14px rgba(0, 0, 0, .4); padding: 0; }
  .share-side a:hover, .share-side button:hover { border-color: var(--green); }
  .share-side .ic { width: 21px; height: 21px; }
}
.lbl-short { display: none; }
@media (max-width: 575.98px) {
  .fb-card, .share-card { padding: 20px 14px; border-radius: 22px; }
  .fb-card h2 { font-size: 21px; margin-bottom: 14px; }
  /* the rating: three equal buttons, icon above the words */
  .fb-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .fb-options button { flex-direction: column; justify-content: center; gap: 6px; height: auto; min-height: 76px; padding: 12px 4px; border-radius: 14px; font-size: 14px; line-height: 1.15; text-align: center; }
  /* the share buttons: the system "Dalintis" across the top, then five equal tiles with the icon above the name */
  .share-card h2 { margin-bottom: 14px; }
  .share-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .share-row a, .share-row button { flex-direction: column; justify-content: center; gap: 6px; height: auto; min-height: 76px; padding: 12px 2px; border-radius: 14px; font-size: 12.5px; line-height: 1.15; text-align: center; }
  .share-row .ic { width: 26px; height: 26px; }
  .share-row .share-main { grid-column: 1 / -1; flex-direction: row; min-height: 52px; font-size: 16px; gap: 10px; }
  .share-row .share-main .ic { width: 22px; height: 22px; }
  .lbl-long { display: none; }
  .lbl-short { display: inline; }
}

/* The phone: a bar of the services at the bottom (icon + name) */
.m-tabs { display: none; }
@media (max-width: 991.98px) {
  .m-tabs { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #3a4430; padding: 5px 4px calc(5px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px -16px rgba(30, 36, 22, .5); }
  .m-tabs a { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px; padding: 4px 2px; border-radius: 10px; color: #d8dcc8; text-decoration: none; font-family: var(--sans); font-size: 10.5px; line-height: 1.1; text-align: center; }
  .m-tabs .ic { width: 21px; height: 21px; }
  .m-tabs a.on { background: rgba(255, 255, 255, .12); color: #fff; }
  body:not(.adm) { padding-bottom: 56px; }
  .consent { bottom: 66px; }
  .fb-toast { bottom: 72px; }
}
.share-row .ic, .share-side .ic { flex: none; }
.share-row a .ic, .share-side a .ic { color: var(--green-2); }

/* The printed booklet in the name story order */
.story-print { margin: 18px 0 6px; padding: 16px 18px; border: 1px solid #e2d6bc; border-radius: 18px; background: #fffaf0; }
.print-opt { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 16px; line-height: 1.4; }
.print-opt input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--green); flex: none; }
.print-opt small { display: block; margin-top: 4px; font-family: var(--sans); font-size: 13.5px; color: var(--soft); }
.print-price { color: var(--green-2); white-space: nowrap; }
.print-fields { margin-top: 14px; }
.story-print-off { margin: 16px 0 4px; padding: 12px 16px; border-radius: 14px; background: #f3efe6; font-family: var(--sans); font-size: 14.5px; color: var(--soft); }
.print-select { height: 54px; border-radius: 999px; padding-left: 20px; border: 1px solid #d6ccb8; font-size: 16px; }

/* The header stays on top: the page starts below it (the home page keeps the picture under it); once scrolled it gets a solid look */
html { scroll-padding-top: calc(var(--head-h, 76px) + 8px); }
body:not(.page-home):not(.adm), body.page-guide { padding-top: var(--head-h, 76px); }   /* the guide page has no picture under the menu */
.site-head.is-scrolled { background: rgba(251, 247, 240, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 8px 24px -18px rgba(60, 48, 28, .55); }

/* /vardu-gidas: the child with the printed booklet */
.booklet-grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 56px; align-items: center; }
.booklet-pic { width: 100%; height: auto; border-radius: 28px; display: block; box-shadow: 0 30px 60px -36px rgba(60, 48, 28, .45); }
.booklet-copy .h-serif { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.18; margin: 6px 0 14px; }
.booklet-copy .sub { margin: 0 0 24px; max-width: 34rem; }
@media (max-width: 767.98px) {
  .booklet-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .booklet-pic { max-width: 340px; margin: 0 auto; }
  .booklet-copy { text-align: center; }
  .booklet-copy .sub { margin-left: auto; margin-right: auto; }
}

/* Phone header: the logo further left and a tighter button, so the name never goes under "Vaiko vardas" */
@media (max-width: 575.98px) {
  .site-head .container-mv { padding-left: 14px; padding-right: 14px; gap: 6px; }
  .site-head .brand { gap: 6px; flex: none; }
  .site-head .brand img { width: 32px; }
  .site-head .brand span { font-size: 12px; letter-spacing: .1em; }
  .site-head .btn-head { padding: 8px 11px 9px; font-size: 13px; letter-spacing: 0; }
  .site-head .nav-burger { margin-left: 0; }
}

/* /kontaktai */
.contact-wrap { max-width: 660px; padding-bottom: 70px; }
.contact-card { padding: 38px 44px 42px; }
.contact-label { display: block; font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--text); margin: 18px 0 7px; }
.contact-label:first-child { margin-top: 0; }
.contact-text { display: block; width: 100%; min-height: 150px; resize: vertical; padding: 14px 18px; font-family: var(--sans); font-size: 16px; color: var(--ink); background: #fffdfa; border: 1px solid #d6ccb8; border-radius: 8px; outline: none; }
.contact-text:focus { border-color: #c5ae80; box-shadow: 0 0 0 3px rgba(197, 174, 128, .18); }
.contact-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-agree { margin-top: 16px; }
.contact-send { width: 100%; margin-top: 20px; justify-content: center; }
.contact-send:disabled { opacity: .6; }
.contact-done { text-align: center; padding: 14px 0; }
.contact-done-ic { display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 50%; background: var(--green); color: #fff; margin-bottom: 14px; }
.contact-done-ic .ic { width: 30px; height: 30px; }
.contact-mail { text-align: center; margin-top: 22px; font-family: var(--sans); font-size: 14px; color: var(--muted); }
@media (max-width: 575.98px) { .contact-card { padding: 24px 20px 28px; } }

/* talismans: a single one sits in the middle */
.amu-grid.is-one { grid-template-columns: minmax(0, 900px); justify-content: center; }
.amu-grid.is-one .amu-card { display: grid; grid-template-columns: 300px minmax(0, 1fr); column-gap: 38px; row-gap: 18px; padding: 38px 40px 38px 28px; align-content: center; }
.amu-grid.is-one .amu-main, .amu-grid.is-one .amu-text { display: contents; }
.amu-grid.is-one .amu-art { grid-column: 1; grid-row: 1 / span 5; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 45%, #fffdf8 0, #f3ece1 70%, #eee6d8 100%); border-radius: 18px; min-height: 380px; }
.amu-grid.is-one .amu-art img { height: 330px; max-width: 85%; filter: drop-shadow(0 18px 18px rgba(92, 70, 40, .18)); }
.amu-grid.is-one .amu-card > :not(.nump-badge):not(.amu-main), .amu-grid.is-one .amu-text > * { grid-column: 2; margin-top: 0; margin-bottom: 0; }
.amu-grid.is-one .nump-head h3 { font-size: 30px; }
@media (max-width: 767.98px) {
  .amu-grid.is-one .amu-card { grid-template-columns: minmax(0, 1fr); padding: 30px 20px 24px; }
  .amu-grid.is-one .amu-art { grid-column: 1; grid-row: 1; min-height: 0; padding: 18px 0; }
  .amu-grid.is-one .amu-art img { height: 220px; }
  .amu-grid.is-one .amu-card > :not(.nump-badge):not(.amu-main), .amu-grid.is-one .amu-text > * { grid-column: 1; }
}
.story-delivery[hidden] { display: none; }

/* home: what is in the name passport */
.pass-sub { max-width: 40rem; margin: 8px auto 0; color: var(--muted); }
.pass-list { list-style: none; margin: 32px 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pass-list li { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; font-size: 16px; line-height: 1.35; }
.pass-list .ic { width: 24px; height: 24px; flex: none; color: var(--green-2); }
@media (max-width: 991.98px) { .pass-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .pass-list { grid-template-columns: minmax(0, 1fr); gap: 10px; } .page-home #vardo-pasas .btn-main { width: 100%; padding: 0 14px; font-size: clamp(13px, 4vw, 16px); } }

/* the passport stays readable: on a phone the text starts below it; on a computer the subtitle stops before the picture */
@media (max-width: 991.98px) {
  .home-hero-grid > .hero2-copy { margin-top: -26px; }
  .home-hero-pic img { -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%); mask-image: linear-gradient(to bottom, #000 80%, transparent 100%); }
}
@media (min-width: 992px) { .page-home .home-hero .hero2-sub { max-width: 32rem; } }

/* the phone bar has two buttons: the name passport stands out, then choosing a child's name */
@media (max-width: 991.98px) {
  .m-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 7px 10px calc(7px + env(safe-area-inset-bottom)); }
  .m-tabs a { flex-direction: row; align-items: center; justify-content: center; gap: 7px; height: 44px; padding: 0 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); font-size: 13.5px; font-weight: 500; color: #f1f2e8; white-space: nowrap; }
  .m-tabs .ic { width: 18px; height: 18px; flex: none; }
  .m-tabs a.m-main, .m-tabs a.m-main.on { background: linear-gradient(180deg, #f6e5bd, #e4c98c); border-color: #f6e5bd; color: #33321f; font-weight: 700; font-size: 14.5px; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .6); }
}
@media (max-width: 359.98px) { .m-tabs { gap: 6px; padding-left: 6px; padding-right: 6px; } .m-tabs a, .m-tabs a.m-main { font-size: 12px; padding: 0 4px; gap: 5px; } .m-tabs a:not(.m-main) .ic { display: none; } }
