:root {
  --paper: #f7f0e8;
  --paper-deep: #efe3d7;
  --ink: #3a2129;
  --ink-soft: #6a5157;
  --clay: #b4675a;
  --clay-deep: #96503f;
  --blush: #ead0c7;
  --heart: #d9473d;
  --line: rgba(58, 33, 41, 0.14);

  --display: "Young Serif", Georgia, serif;
  --body: "Figtree", system-ui, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth; scroll-padding-top: 88px;
  /* Stop Android font boosting: it enlarges text but not the em-based clamp height on feedback cards, cutting the last line in half */
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
  /* clip, not hidden: hidden would make body a scroll box and break the sticky header */
  overflow-x: clip;
}

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

a { color: inherit; }

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

h1 { font-size: clamp(2.6rem, 6.2vw, 4.9rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.45rem; }

p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: clamp(72px, 10vw, 128px) 0; }

.eyebrow {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-deep);
  margin-bottom: 1rem;
}

.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); }

.muted { color: var(--ink-soft); font-size: 0.95rem; }

.hand { font-family: var(--hand); font-weight: 600; color: var(--clay-deep); line-height: 1.1; }
.hand-lg { font-size: clamp(1.9rem, 3vw, 2.4rem); }

.heart { width: 0.62em; height: 0.56em; fill: var(--clay); vertical-align: 0.02em; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; }

/* Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4em;
  min-height: 48px; padding: 0 1.4em;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--clay-deep); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-danger { background: transparent; color: #a3322a; border-color: #a3322a; }
.btn-danger:hover { background: #a3322a; color: #fff; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--blush); }
.btn-ghost-light { border-color: var(--paper); color: var(--paper); background: transparent; }
.btn-ghost-light:hover { background: var(--paper); color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 1.1em; font-size: 0.95rem; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

.text-link { display: inline-flex; align-items: center; gap: 0.4em; margin-top: 0.5rem; font-weight: 600; color: var(--clay-deep); text-underline-offset: 4px; }
.text-link:hover { color: var(--ink); }
.text-link:hover .arrow { transform: translateX(3px); }

.arrow { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Subpages */

.section.page-first, .page-first { padding-top: clamp(40px, 6vw, 80px); }
.page-title { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h2.eyebrow { font-family: var(--body); line-height: 1.7; letter-spacing: 0.14em; }

/* Header */

.site-head {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-head.is-scrolled { border-bottom-color: var(--line); }
.site-head-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 1.15rem; }
.brand img { width: 84px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  white-space: nowrap;
  padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 0.98rem;
}
.nav a:not(.btn):hover { background: var(--paper-deep); }
.nav a:not(.btn)[aria-current="page"] { background: var(--blush); }
.nav .btn { margin-left: 8px; }

.lang { position: relative; margin-left: 8px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font: 600 0.92rem var(--body); color: var(--ink);
}
.lang-toggle:hover, .lang-toggle[aria-expanded="true"] { background: var(--paper-deep); }
.lang-chevron { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
.lang-toggle[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }
.flag { width: 22px; height: 15px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(58, 33, 41, 0.15); }

.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30;
  min-width: 190px; margin: 0; padding: 6px; list-style: none;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 40px -16px rgba(58, 33, 41, 0.35);
}
.lang-menu[hidden] { display: none; }
.nav .lang-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px; font-size: 0.95rem; font-weight: 500;
}
.nav .lang-menu a:hover { background: var(--paper-deep); }
.nav .lang-menu a[aria-current] { background: var(--blush); font-weight: 600; }


.nav-toggle {
  display: none;
  width: 46px; height: 46px; padding: 0;
  border: 0; border-radius: 50%; background: var(--ink); color: var(--paper); cursor: pointer;
  place-items: center;
}
.nav-toggle-bars { position: relative; display: block; width: 20px; height: 14px; }
.nav-toggle-bars span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.nav-contact { display: none; }

@media (max-width: 1100px) {
  .nav-toggle { display: grid; }
  .nav {
    position: absolute; right: 12px; top: calc(100% + 6px); width: min(440px, calc(100% - 24px));
    max-height: calc(100vh - 100px); max-height: calc(100svh - 100px); overflow-y: auto;
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px;
    background: var(--paper); border-radius: 24px;
    box-shadow: 0 1px 2px rgba(58, 33, 41, 0.08), 0 30px 60px -20px rgba(58, 33, 41, 0.45);
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(0.98); transform-origin: top right;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.22s ease, transform 0.22s ease; }

  .nav a:not(.btn) {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; border-radius: 14px;
    font-family: var(--display); font-size: 1.4rem; line-height: 1.2;
  }
  .nav a:not(.btn)::after {
    content: ""; width: 18px; height: 18px; flex: none; background: var(--clay);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .nav a:not(.btn):hover { background: var(--paper-deep); }
  .nav a:not(.btn)[aria-current="page"] { background: var(--blush); }

  .lang { margin: 10px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
  .lang-toggle { padding: 10px 14px; }
  .lang-menu { position: static; margin-top: 4px; box-shadow: none; border: 0; background: var(--paper-deep); }
  .nav .lang-menu a[lang] { padding: 10px 12px; font-family: var(--body); font-size: 0.95rem; }
  .nav .lang-menu a[lang]::after { content: none; }
  .nav .lang-menu a[lang][aria-current] { background: var(--blush); }

  .nav .btn { margin: 10px 0 0; min-height: 52px; font-size: 1rem; }
  .nav-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 18px; margin: 12px 0 2px; }
  .nav .nav-contact a { padding: 4px 0; font-family: var(--body); font-size: 0.92rem; color: var(--ink-soft); }
  .nav .nav-contact a::after { content: none; }

  .nav-scrim {
    position: fixed; inset: 0; z-index: 15;
    background: rgba(58, 33, 41, 0.35); backdrop-filter: blur(2px);
    animation: scrim-in 0.22s ease;
  }
  .menu-open { overflow: hidden; }

  .brand { font-size: 1.05rem; white-space: nowrap; }
  .brand img { width: 64px; }
}
@keyframes scrim-in { from { opacity: 0; } }
.nav-scrim[hidden] { display: none; }

/* Hero */

.hero { position: relative; padding-top: clamp(32px, 6vw, 72px); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
}

.hero-text { padding-bottom: clamp(16px, 6vw, 96px); }
.hero h1 .heart { fill: var(--clay); }

.hero-photo { position: relative; margin: 0 0 clamp(24px, 3.5vw, 48px); }
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 42%;
  border-radius: 999px 999px var(--radius) var(--radius);
}
.hero-photo figcaption {
  position: absolute; left: -18px; bottom: 26px;
  transform: rotate(-5deg);
  background: var(--paper); padding: 4px 14px 6px; border-radius: 10px;
  font-size: 1.6rem;
  box-shadow: 0 6px 20px -10px rgba(58, 33, 41, 0.4);
}

/* Sized by height (viewBox is 6:1) and centred, so the drawing never crops;
   the line itself extends past the viewBox to fill wider screens. */
/* hidden first as a fallback for in-app browsers without clip support */
.hero { overflow-x: hidden; overflow-x: clip; --thread-h: clamp(130px, 16.6vw, 240px); }
.thread {
  display: block;
  height: var(--thread-h);
  width: calc(var(--thread-h) * 6);
  max-width: none;
  margin: -36px 0 0 50%;
  translate: -50% 0;
  overflow: visible;
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.thread-line, .thread-door {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 3.2s cubic-bezier(0.55, 0.1, 0.35, 1) calc(0.3s + var(--lead, 0s)) forwards;
}
.thread-door { animation-duration: 0.7s; animation-delay: calc(2.5s + var(--lead, 0s)); }
/* Side extensions (~2800 units, mostly off-screen) draw linearly at the main line's
   pace (~650 units/s). The left one runs edge-inward and finishes as the main line
   starts; main.js sets --lead to the time its visible part takes on wide screens. */
.thread-ext-left { animation-duration: 4.3s; animation-delay: calc(0.3s + var(--lead, 0s) - 4.3s); animation-timing-function: linear; }
.thread-ext-right { animation-duration: 4.3s; animation-delay: calc(3.5s + var(--lead, 0s)); animation-timing-function: linear; }
/* With visible extensions the whole line reads as one stroke, so keep the pace even */
.thread.has-ext .thread-line { animation-timing-function: linear; }
.thread-knob { fill: var(--ink); opacity: 0; animation: pop 0.4s ease calc(3.1s + var(--lead, 0s)) forwards; }
.thread-hearts use { fill: var(--heart); opacity: 0; transform-box: fill-box; transform-origin: center; }
.thread-hearts use:nth-child(1) { animation: pop 0.5s ease calc(3.2s + var(--lead, 0s)) forwards; }
.thread-hearts use:nth-child(2) { animation: pop 0.5s ease calc(3.45s + var(--lead, 0s)) forwards; }
.thread-hearts use:nth-child(3) { animation: pop 0.5s ease calc(3.7s + var(--lead, 0s)) forwards; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 760px) {
  /* Flatten the grid so the line drawing can sit between the text and the portrait */
  .hero { display: flex; flex-direction: column; padding-top: 0; padding-bottom: 8px; }
  .hero-grid { display: contents; }
  /* Text + line drawing fill the first screen exactly; the portrait comes after scrolling */
  .hero-text {
    display: flex; flex-direction: column; justify-content: center;
    /* --screen-h is measured once by JS so the hero does not resize when browser toolbars hide/show */
    min-height: calc(100vh - 76px - var(--thread-h));
    min-height: calc(100svh - 76px - var(--thread-h));
    min-height: calc(var(--screen-h, 100svh) - 76px - var(--thread-h));
    padding: 24px var(--gutter) 16px;
  }
  .hero .actions { flex-direction: column; margin-top: 1.6rem; }
  .hero .actions .btn { width: 100%; }
  .thread { order: 1; margin-top: 0; }
  .hero-photo { order: 2; max-width: 360px; width: 82%; margin: 40px auto 0; }
  .hero-photo figcaption { left: -10px; font-size: 1.4rem; }
}

/* Story */

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: start;
}
.story-aside { position: sticky; top: 120px; }

.prose { max-width: 62ch; }
.prose p { margin-bottom: 1.3em; }
.legal ul { padding-left: 1.2em; margin: 0 0 1.3em; }
.legal li { margin-bottom: 0.5em; }
.legal a { color: var(--clay-deep); text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose-pause { font-size: clamp(2rem, 3.4vw, 2.6rem); margin: 1.2em 0 !important; transform: rotate(-1.5deg); }
.prose-key {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  line-height: 1.35;
  margin-top: 2em;
  padding-top: 1.2em;
  border-top: 2px solid var(--clay);
}

@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-aside { position: static; }
}

/* Offer */

.offer { padding-top: clamp(40px, 6vw, 80px); }
.offer-intro > *, .offer-outro > * { max-width: 820px; }
.offer-intro p:not(.eyebrow):not(.lead), .offer-outro p:last-child { max-width: 62ch; }

.promise { background: var(--ink); color: var(--paper); margin: clamp(48px, 7vw, 88px) 0; padding: clamp(56px, 8vw, 104px) 0; }
.promise-list { list-style: none; margin: 0 auto; display: grid; gap: clamp(20px, 3vw, 36px); }
.promise-list li {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.6vw, 2.9rem);
  line-height: 1.18;
  max-width: 24ch;
  text-wrap: balance;
}
.promise-list li:nth-child(2) { margin-left: clamp(0px, 10vw, 160px); }
.promise-list li:nth-child(3) { margin-left: clamp(0px, 20vw, 320px); color: var(--blush); }

@media (max-width: 600px) {
  .promise-list li:nth-child(n) { margin-left: 0; }
}

/* Lines appear one by one when the section scrolls into view (only once JS has run) */
@media (prefers-reduced-motion: no-preference) {
  .js .promise-list li {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .js .promise-list li:nth-child(2) { transition-delay: 0.45s; }
  .js .promise-list li:nth-child(3) { transition-delay: 0.9s; }
  .js .promise-list.is-visible li { opacity: 1; transform: none; }
}

.offer-outro { padding-bottom: clamp(40px, 6vw, 80px); }
.steps { font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.35; }
.steps span:last-child { color: var(--clay-deep); }

/* Before / after */

.change { background: var(--paper-deep); }
.change-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 100px);
  align-items: center;
}

.compare {
  --pos: 50%;
  position: relative;
  max-width: 500px;
  width: 100%;
  justify-self: center;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(58, 33, 41, 0.55);
  user-select: none;
}
.compare-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-top { clip-path: inset(0 0 0 var(--pos)); }

.compare-tag {
  position: absolute; top: 14px; z-index: 2;
  background: var(--paper); padding: 2px 14px 4px; border-radius: 999px;
  font-size: 1.5rem; pointer-events: none;
}
.compare-tag-left { left: 14px; }
.compare-tag-right { right: 14px; }

.compare-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2;
  width: 2px; margin-left: -1px; background: var(--paper);
  pointer-events: none;
}
.compare-knob::after { content: "‹ ›"; }
.compare-knob {
  position: absolute; top: 50%; left: 50%;
  width: 48px; height: 48px; margin: -24px 0 0 -24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--paper); color: var(--ink);
  font: 700 1.2rem/1 var(--body); letter-spacing: 0.1em;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.45);
}
.compare:has(.compare-range:focus-visible) .compare-knob { outline: 3px solid var(--clay); outline-offset: 3px; }

.compare-range {
  position: absolute; inset: 0; z-index: 3;
  width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
}

/* On touch/mobile only the knob drags, so swiping the photo scrolls the page */
@media (max-width: 760px), (pointer: coarse) {
  .compare-range { pointer-events: none; }
  .compare-knob { pointer-events: auto; touch-action: none; cursor: ew-resize; }
  .compare-knob::before { content: ""; position: absolute; inset: -12px; }
}

@media (max-width: 760px) {
  .change-grid { grid-template-columns: 1fr; }
  .change-text { order: -1; }
}

/* Pricing */

.pricing-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.price, .price-list { padding: clamp(28px, 5vw, 56px); }
.price { background: var(--blush); border-radius: var(--radius) 0 0 var(--radius); }
.price-list { border: 1.5px solid var(--blush); border-left: 0; border-radius: 0 var(--radius) var(--radius) 0; }

.price-figure { font-family: var(--display); font-size: 1.6rem; line-height: 1; margin-bottom: 0.7em; }
.price-figure span { font-size: clamp(4rem, 9vw, 6.5rem); letter-spacing: -0.03em; }

.price-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.price-list li { display: flex; gap: 14px; align-items: baseline; font-size: 1.12rem; }
.price-list .heart { flex: none; }
.price-list .btn { margin-top: 2rem; }

@media (max-width: 760px) {
  .pricing-card { grid-template-columns: 1fr; }
  .price { border-radius: var(--radius) var(--radius) 0 0; }
  .price-list { border-left: 1.5px solid var(--blush); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }
}

/* Feedback */

.feedback-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.feedback-intro .lead { max-width: 46ch; }

.quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.quotes-wall { margin-top: clamp(56px, 8vw, 96px); }
.quotes-wall .quote { background: var(--paper-deep); }
.quote {
  display: flex; flex-direction: column;
  margin: 0;
  padding: 26px 26px 22px;
  background: var(--paper);
  border-radius: var(--radius);
  position: relative;
}
.quote::before {
  content: "";
  display: block;
  width: 18px;
  height: 16px;
  margin-bottom: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath fill='%23b4675a' d='M10 18C4 13.2 0 9.6 0 5.4 0 2.4 2.3 0 5.2 0c2 0 3.6 1.1 4.8 2.8C11.2 1.1 12.8 0 14.8 0 17.7 0 20 2.4 20 5.4c0 4.2-4 7.8-10 12.6Z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.quote p { white-space: pre-line; margin: 0; overflow-wrap: anywhere; }
/* line-clamp gives the "…" ending; max-height backs it up on iOS Safari,
   which ignores line-clamp when the text has line breaks */
.quote p { --lines: 8; }
.js .quote:not(.is-open, .is-measuring, .is-short) p {
  display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--lines); line-clamp: var(--lines);
  max-height: calc(var(--lines) * 1.7em); overflow: hidden;
}
.quote-more {
  align-self: flex-start; margin-top: 12px; padding: 0;
  border: 0; background: none; cursor: pointer;
  font: 600 0.95rem/1.4 var(--body); color: var(--clay-deep);
  text-decoration: underline; text-underline-offset: 4px;
}
.quote-more:hover { color: var(--ink); }
.quote footer { margin-top: auto; padding-top: 14px; font-family: var(--hand); font-size: 1.5rem; color: var(--clay-deep); }

.feedback-form {
  background: var(--paper);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 1px 2px rgba(58, 33, 41, 0.06), 0 24px 48px -24px rgba(58, 33, 41, 0.28);
}
.form-title { font-size: 1.45rem; margin-bottom: 0.3em; }

label { display: block; font-weight: 600; margin: 1.1rem 0 0.4rem; }
label .muted { font-weight: 400; }

textarea, input[type="text"], input[type="password"], input[type="email"], input[type="tel"] {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fffaf5;
  border: 1.5px solid #d9c3b8;
  border-radius: 12px;
  padding: 12px 14px;
}
textarea { resize: vertical; min-height: 140px; }
textarea:focus, input:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px color-mix(in srgb, var(--clay) 25%, transparent); }
.feedback-form .btn { margin-top: 1.3rem; width: 100%; }

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

.notice { padding: 12px 16px; border-radius: 12px; font-weight: 500; margin: 1rem 0 0; }
.notice-success { background: #e2ecd9; color: #2f4a22; }
.notice-error { background: #f6d9d4; color: #7d2a21; }

@media (max-width: 920px) {
  .feedback-top { grid-template-columns: 1fr; }
}

.quotes-preview { margin: 1.5rem 0 1rem; }
.quotes-preview .quote { background: var(--paper-deep); }

/* Partners */

.partners-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.partners-main .lead { margin-bottom: 1.6em; }
.partners-subtitle { font-size: 1.5rem; margin: 2rem 0 1rem; }
.partners-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 62ch; }
.partners-list li { display: flex; gap: 14px; align-items: baseline; }
.partners-list .heart { flex: none; }
.partners-terms { margin-top: 2rem; max-width: 62ch; color: var(--ink-soft); }

.partners-card {
  position: sticky; top: 108px;
  padding: clamp(24px, 3.4vw, 40px);
  background: var(--paper-deep); border-radius: calc(var(--radius) + 6px);
}
.partners-card-title { font-family: var(--display); font-size: clamp(1.35rem, 2.2vw, 1.65rem); line-height: 1.3; margin-bottom: 1.2rem; }
.partners-company { font-weight: 700; margin-bottom: 0; }
.partners-card .contact { margin-top: 1rem; }
.partners-card .contact a { overflow-wrap: anywhere; }
.partners-card .actions { margin-top: 1.8rem; }
.partners-card .actions .btn { flex: 1 1 100%; min-height: 54px; font-size: 1.05rem; }

@media (max-width: 860px) {
  .partners-grid { grid-template-columns: 1fr; }
  .partners-card { position: static; }
}

/* Press */

.press { background: var(--paper-deep); }
.press-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; margin-top: 1.5rem; }
.press-card {
  display: flex; flex-direction: column;
  padding: clamp(24px, 3.4vw, 40px);
  background: var(--paper); border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.press-card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgba(58, 33, 41, 0.35); }
.press-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
.press-outlet { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--clay-deep); }
.press-quote { margin: 1.2rem 0 1.4rem; font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.35; }
.press-title { margin: 0 0 1.2rem; color: var(--ink-soft); font-size: 0.97rem; }
.press-link { display: inline-flex; align-items: center; gap: 0.4em; margin-top: auto; font-weight: 600; color: var(--clay-deep); }
.press-card:hover .press-link .arrow { transform: translateX(3px); }

/* Call to action */

.cta { background: var(--ink); color: var(--paper); padding: clamp(64px, 9vw, 112px) 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-title { font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.2; max-width: 20ch; margin: 0; }
.cta .actions { margin-top: 0; }


/* Footer */

.site-foot { background: var(--paper-deep); color: var(--ink); }
.foot-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
  padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px);
}
.foot-title { font-size: clamp(2rem, 3.8vw, 3rem); max-width: 14ch; }
.foot-title .heart { fill: var(--heart); }
.foot-lead { color: var(--ink-soft); max-width: 42ch; font-size: 1.1rem; }

.contact { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 12px; }
.contact a { display: inline-flex; align-items: center; gap: 14px; font-weight: 600; font-size: 1.1rem; text-decoration: none; }
.contact a:hover { color: var(--clay-deep); }
.contact-icon {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--blush);
  transition: background-color 0.2s, border-color 0.2s;
}
.contact a:hover .contact-icon { background: var(--blush); border-color: var(--clay); }
.contact-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--clay-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.social { display: flex; gap: 12px; margin-top: 1.6rem; }
.social a {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  transition: background-color 0.2s, transform 0.2s;
}
.social a:hover { background: var(--clay-deep); transform: translateY(-2px); }
.social svg { width: 22px; height: 22px; fill: currentColor; }
.social .ig { fill: none; stroke: currentColor; stroke-width: 1.9; }

.contact-form {
  background: var(--paper);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(24px, 3.4vw, 44px);
  box-shadow: 0 1px 2px rgba(58, 33, 41, 0.06), 0 24px 48px -24px rgba(58, 33, 41, 0.28);
}
.contact-form .form-title { font-family: var(--display); font-size: 1.6rem; line-height: 1.2; margin: 0; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.contact-form textarea { min-height: 130px; }
.contact-form .btn { margin-top: 1.4rem; width: 100%; }
.contact-form .btn:disabled { opacity: 0.6; cursor: wait; }

.consent { display: flex; align-items: flex-start; gap: 12px; margin: 1.2rem 0 0; font-weight: 400; font-size: 0.93rem; line-height: 1.5; color: var(--ink-soft); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }
.consent a { color: var(--clay-deep); font-weight: 600; text-underline-offset: 3px; }

.foot-bar { background: var(--ink); color: var(--paper); padding: 22px 0; }
.foot-bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 1.1rem; text-decoration: none; }
.foot-brand .heart { fill: var(--blush); }
.foot-copy { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 0; font-size: 0.88rem; color: rgba(247, 240, 232, 0.6); }
.foot-copy a { color: inherit; text-underline-offset: 3px; }
.foot-copy a:hover { color: var(--paper); }

@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .contact-fields { grid-template-columns: 1fr; }
  .contact a { font-size: 1rem; }
}

/* Privacy policy popup */

.policy {
  width: min(680px, calc(100% - 32px)); max-height: min(82vh, 820px);
  padding: 0; border: 0; border-radius: calc(var(--radius) + 6px);
  background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(58, 33, 41, 0.45);
  overflow: hidden;
}
.policy[open] { display: flex; flex-direction: column; }
.policy::backdrop { background: rgba(58, 33, 41, 0.55); backdrop-filter: blur(3px); }
.policy-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px clamp(20px, 4vw, 36px); border-bottom: 1px solid var(--line);
}
.policy-head h2 { font-size: 1.6rem; margin: 0; }
.policy-close {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color 0.2s;
}
.policy-close:hover { background: var(--blush); }
.policy-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.policy-body:focus { outline: none; }
.policy-body { overflow-y: auto; padding: 8px clamp(20px, 4vw, 36px) 28px; font-size: 1rem; }
.legal h3 { font-size: 1.2rem; margin: 1.6em 0 0.4em; }

/* Admin */

.admin-wrap { max-width: 860px; margin: 0 auto; padding: 40px var(--gutter) 80px; }
.admin-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.admin-head h1 { font-size: 2.4rem; margin: 0.2em 0 0; }
.admin-back { display: inline-flex; align-items: center; gap: 0.35em; font-size: 0.95rem; color: var(--ink-soft); }
.admin-login { max-width: 360px; }
.admin-login .btn { margin-top: 1rem; }
.admin-settings { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.admin-settings h3 { font-size: 1.15rem; margin: 0; }
.admin-settings .btn { margin-top: 1rem; }
.admin-hint { font-size: 0.9rem; color: var(--ink-soft); margin: 0.4rem 0 0; }
@media (max-width: 720px) { .admin-settings { grid-template-columns: 1fr; } }
.admin-count { color: var(--ink-soft); }
.admin-section { font-size: 1.6rem; margin: 2.5rem 0 1rem; }
.admin-section + .notice { margin: 0 0 1.25rem; }
.admin-section:first-child, .admin-head + .admin-section { margin-top: 0.5rem; }
.admin-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.admin-item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: start;
  background: #fffaf5; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px;
}
.admin-meta { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 6px; }
.admin-body { white-space: pre-line; margin: 0; overflow-wrap: anywhere; }

@media (max-width: 600px) {
  .admin-item { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition: none !important; }
}

/* Phone tweaks */
@media (max-width: 600px) {
  .actions { flex-direction: column; width: 100%; }
  .actions .btn, .price-list .btn { width: 100%; }
  .cta { padding: 64px 0; }
  .cta-title { font-size: 1.75rem; }
  .quote p { --lines: 6; }
}

@media (max-width: 600px) {
  .foot-bar { padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); }
  .foot-bar-inner { flex-direction: column; justify-content: center; text-align: center; gap: 14px; }
  .foot-copy { flex-direction: column; align-items: center; gap: 6px; }
}

/* A "call" button is only useful on phones; computers with a mouse just see the number */
@media (hover: hover) and (pointer: fine) {
  .call-btn { display: none; }
}
