/*
Theme Name: HONDE FURNITURE
Description: A warm, editorial site for an upholstered bed supplier working with importers, retailers and furniture brands.
Version: 1.0.0
Text Domain: honde
*/

/* 1. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 { margin: 0; font-family: var(--font-serif); font-weight: 400; letter-spacing: -.025em; line-height: 1.15; }

p { margin: 0; }

address { font-style: normal; }

:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--color-ink); color: #fff; padding: 12px 18px; font-size: 12px;
}
.skip-link:focus { left: 0; }

.eyebrow {
  margin: 0 0 16px;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-clay);
  font-weight: 700;
}

.fine-print { margin-top: 18px; font-size: 11.5px; line-height: 1.75; color: var(--color-muted); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }

/* 2. Controls ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 14px 22px;
  font-family: var(--font-sans);
  font-size: 11px; letter-spacing: .09em; text-transform: uppercase; font-weight: 500;
  border: 1px solid var(--color-ink);
  background: transparent; color: var(--color-ink);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--color-ink); color: #fff; }
.btn--dark:hover { background: var(--color-ink-soft); }
.btn--light { border-color: #c3b6a6; color: var(--color-ink); }
.btn--light:hover { background: rgba(48, 45, 40, .06); }
.btn--sm { padding: 11px 16px; }

.text-link {
  display: inline-block;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  border-bottom: 1px solid var(--color-clay);
  padding-bottom: 5px;
}

/* 3. Announcement and header -------------------------------------------- */
.announcement {
  margin: 0;
  background: var(--color-olive);
  color: #fff;
  text-align: center;
  padding: 9px 16px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}

.topbar {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 78px;
  padding: 0 var(--gutter);
  background: var(--color-paper);
  border-bottom: 1px solid rgba(48, 45, 40, .08);
}

.logo { display: block; white-space: nowrap; line-height: 1; }
.logo__name { display: block; font-size: 21px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.logo__tagline {
  display: block; margin-top: 4px;
  font-size: 8px; letter-spacing: .3em; text-transform: uppercase; color: var(--color-muted);
}

.nav { display: flex; align-items: center; gap: 28px; font-size: 12px; }
.nav__link { transition: opacity .2s var(--ease); }
.nav__link:hover { opacity: .58; }
.nav--bar .nav__link--quote { display: none; }
.nav--drawer { display: none; }

.nav-right { display: flex; align-items: center; gap: 16px; }

.topbar__drawer { display: none; }
.menu-toggle {
  border: 0; background: none; padding: 6px; font-size: 22px; line-height: 1;
  color: var(--color-ink); cursor: pointer;
}
.menu-dialog {
  width: min(320px, 86vw); max-width: none; height: 100%; max-height: none; margin: 0;
  border: 0; padding: 32px 26px;
  background: var(--color-paper); color: var(--color-ink);
}
.menu-dialog::backdrop { background: rgba(41, 43, 37, .45); }
.menu-dialog .nav--drawer { display: grid; gap: 14px; margin: 0 0 28px; font-size: 15px; }
.menu-dialog .btn { width: 100%; }

/* 4. Hero - full-bleed slideshow ---------------------------------------- */
.hero { position: relative; background: var(--color-ink); overflow: hidden; }
.hero__stage { position: relative; min-height: clamp(560px, 84vh, 820px); }
.hero__slide { position: absolute; inset: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(96deg, rgba(24, 19, 14, .86) 0%, rgba(24, 19, 14, .66) 34%, rgba(24, 19, 14, .2) 62%, rgba(24, 19, 14, 0) 80%),
    linear-gradient(0deg, rgba(24, 19, 14, .5), rgba(24, 19, 14, 0) 40%);
}
.hero__copy {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  min-height: clamp(560px, 84vh, 820px);
  max-width: 700px;
  padding: 110px var(--gutter) 130px;
}
.hero .eyebrow { color: rgba(255, 255, 255, .74); }
.hero h1 {
  color: #fff;
  font-size: clamp(40px, 5.1vw, 70px);
  line-height: 1.06;
  letter-spacing: -.035em;
  max-width: 15ch;
  margin-bottom: 22px;
}
.hero__lede { max-width: 44ch; font-size: 14px; line-height: 1.85; color: rgba(255, 255, 255, .84); margin-bottom: 30px; }
.hero__btn--solid { background: #fff; border-color: #fff; color: var(--color-ink); }
.hero__btn--solid:hover { background: rgba(255, 255, 255, .88); border-color: #fff; }
.hero__btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .48); color: #fff; }
.hero__btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.hero__controls {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 30px;
  display: flex; align-items: center; gap: 10px;
}
.hero__arrow {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%;
  background: rgba(22, 17, 13, .3); color: #fff; cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.hero__arrow:hover, .hero__arrow:focus-visible { background: #fff; border-color: #fff; color: var(--color-ink); }
.hero__dots { display: flex; align-items: center; gap: 2px; }
.hero__dot { position: relative; width: 34px; height: 26px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.hero__dot-bar {
  position: absolute; left: 5px; right: 5px; top: 50%; height: 3px; transform: translateY(-50%);
  background: rgba(255, 255, 255, .42); transition: background .3s var(--ease);
}
.hero__dot:hover .hero__dot-bar { background: rgba(255, 255, 255, .75); }
.hero__dot[aria-current="true"] .hero__dot-bar { background: #fff; }
.hero__note {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 88px;
  max-width: 42%; text-align: right;
  color: rgba(255, 255, 255, .82); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
}

/* 5. Trust strip --------------------------------------------------------- */
.trust-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  padding: 22px var(--gutter);
  background: var(--color-paper);
  border-bottom: 1px solid var(--color-line);
}
.trust-item {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-size: 11px; letter-spacing: .04em; color: #6e675d; text-align: center;
}
.trust-item span { font-size: 17px; color: var(--color-clay); }

/* 6. Sections ------------------------------------------------------------ */
.section { padding: var(--space-section) var(--gutter); }
.section--paper { background: var(--color-paper); }
.section--cream { background: #fbf8f2; }
.section--sand { background: #f2ece2; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  margin-bottom: 38px;
}
.section-head h2 { font-size: clamp(30px, 3.8vw, 46px); max-width: 22ch; }
.section-head__aside { max-width: 34ch; }
.section-head__aside p { font-size: 12.5px; line-height: 1.85; color: var(--color-muted); margin-bottom: 16px; }

/* 7. Bed families ------------------------------------------------------- */
.family-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.family-card { min-width: 0; }
.family-card__media {
  display: block; position: relative; overflow: hidden;
  aspect-ratio: 1 / 1; background: var(--color-paper);
}
.family-card__img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.family-card:hover .family-card__img { transform: scale(1.02); }
.family-card__number {
  position: absolute; left: 14px; top: 14px; z-index: 1;
  padding: 5px 9px; background: rgba(255, 255, 255, .82);
  color: var(--color-ink); font-size: 10px; letter-spacing: .15em; text-transform: uppercase;
}
.family-card__title { margin: 18px 0 8px; font-size: 25px; }
.family-card__summary { margin-bottom: 14px; font-size: 12.5px; line-height: 1.8; color: var(--color-muted); }

/* 8. Featured bed ------------------------------------------------------- */
.feature {
  display: grid; grid-template-columns: 54% 46%;
  background: #efe9dd;
}
.feature__media { position: relative; margin: 0; min-height: 620px; background: #e4dccd; }
.feature__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.feature__copy {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: 88px 11% 88px 9%;
}
.feature__copy .eyebrow { margin-bottom: 22px; }
.feature__copy h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.12; margin-bottom: 16px; }
.feature__copy h2 a { color: inherit; text-decoration: none; }
.feature__copy h2 a:hover { color: var(--color-clay); }
.feature__meta { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--color-clay); margin-bottom: 26px; }
.feature__lede { max-width: 42ch; font-size: 14px; line-height: 1.95; color: #6b6358; margin-bottom: 26px; }
.feature__notes { max-width: 42ch; font-size: 13px; line-height: 1.9; color: var(--color-body); margin-bottom: 30px; }
.feature__notes-label { display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--color-clay); margin-bottom: 10px; }
.feature .actions { display: flex; align-items: center; gap: clamp(20px, 3vw, 38px); flex-wrap: wrap; }

/* 9. Bed cards ---------------------------------------------------------- */
.bed-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bed-card { min-width: 0; }
.bed-card__media {
  display: block; position: relative;
  aspect-ratio: 4 / 3; background: #e9e1d6; overflow: hidden;
}
.bed-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.bed-card:hover .bed-card__img { transform: scale(1.03); }
.bed-card__title { margin: 14px 0 5px; font-family: var(--font-sans); font-size: 13.5px; font-weight: 600; letter-spacing: 0; }
.bed-card__meta { margin-bottom: 6px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--color-clay); }
.bed-card__excerpt { margin-bottom: 10px; font-size: 11.5px; line-height: 1.7; color: var(--color-muted); }
.bed-card .text-link { font-size: 10px; padding-bottom: 4px; }

.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bed-card--scene .bed-card__media { aspect-ratio: 3 / 2; }
.bed-card--scene .bed-card__title { font-family: var(--font-serif); font-size: 21px; margin-top: 16px; }

/* 10. Customisation ----------------------------------------------------- */
.custom { display: grid; grid-template-columns: 54% 46%; background: var(--color-paper); }
.custom__copy { padding: 82px 11% 82px var(--gutter); }
.custom__copy h2 { font-size: clamp(30px, 3.7vw, 45px); margin-bottom: 20px; }
.custom__copy > p { max-width: 46ch; font-size: 13.5px; line-height: 1.95; color: var(--color-body); margin-bottom: 18px; }
.checklist { list-style: none; margin: 8px 0 22px; padding: 0; display: grid; gap: 11px; font-size: 13px; color: #4f4a42; }
.checklist li { display: flex; gap: 11px; }
.checklist li::before { content: "✳"; color: var(--color-clay); line-height: 1.5; }
.custom .btn { margin-top: 6px; }
.custom__media { position: relative; background: #e4dbcd; min-height: 420px; }
.custom__img { width: 100%; height: 100%; object-fit: cover; }
.custom__caption {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 14px 18px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: linear-gradient(0deg, rgba(30, 24, 18, .55), transparent);
}

/* 11. Materials --------------------------------------------------------- */
.fabric { display: grid; grid-template-columns: 50% 50%; background: #f0e9df; }
.fabric__media { min-height: 460px; background: #e2d8c9; }
.fabric__img { width: 100%; height: 100%; object-fit: cover; }
.fabric__copy {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: 76px 12%;
}
.fabric__copy h2 { font-size: clamp(30px, 3.7vw, 45px); margin-bottom: 20px; }
.fabric__copy > p { max-width: 44ch; font-size: 13.5px; line-height: 1.95; color: #6d655a; margin-bottom: 22px; }
.swatches { display: flex; gap: 11px; margin: 0 0 6px; }
.swatch {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid #f0e9df; outline: 1px solid #c7b9a8;
}
.swatch:nth-child(1) { background: #c8b8a4; }
.swatch:nth-child(2) { background: #8c8174; }
.swatch:nth-child(3) { background: #b4b7a2; }
.swatch:nth-child(4) { background: #b5a0a0; }
.swatch:nth-child(5) { background: #e1d9cb; }
.fabric .btn { margin-top: 20px; }

/* 12. Process ----------------------------------------------------------- */
.process { padding: var(--space-section) var(--gutter); background: var(--color-paper); }
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--color-line); margin-top: 12px;
}
.process-step { padding: 26px 26px 0 0; margin-right: 26px; border-right: 1px solid var(--color-line); }
.process-step:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.step-no { font-size: 10px; letter-spacing: .16em; color: var(--color-clay); }
.process-step h3 { margin: 16px 0 10px; font-size: 22px; }
.process-step p { font-size: 12px; line-height: 1.85; color: var(--color-muted); }

/* 13. Story ------------------------------------------------------------- */
.story { display: grid; grid-template-columns: 50% 50%; background: #ece5d9; }
.story__media { min-height: 520px; background: #ded4c4; }
.story__img { width: 100%; height: 100%; object-fit: cover; }
.story__copy {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: 80px 13%;
}
.story__copy h2 { font-size: clamp(32px, 3.9vw, 47px); margin-bottom: 22px; }
.story__copy > p { max-width: 46ch; font-size: 13px; line-height: 1.95; color: #686055; margin-bottom: 16px; }
.story-points { list-style: none; margin: 8px 0 28px; padding: 0; display: grid; gap: 11px; font-size: 12.5px; color: #4f4a42; }
.story-points li::before { content: "✳"; color: var(--color-clay); margin-right: 10px; }

/* 14. Buyer questions --------------------------------------------------- */
.faq { border-top: 1px solid var(--color-line); max-width: 900px; }
.faq__item { border-bottom: 1px solid var(--color-line); }
.faq__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; border: 0; background: none;
  font-family: var(--font-serif); font-size: 19px; text-align: left; color: var(--color-ink);
  cursor: pointer;
}
.faq__trigger::after { content: "+"; font-family: var(--font-sans); font-size: 18px; color: var(--color-clay); }
.faq__trigger[aria-expanded="true"]::after { content: "–"; }
.faq__item [data-panel] p { max-width: 70ch; padding: 0 0 22px; font-size: 13px; line-height: 1.9; color: var(--color-muted); }

/* 15. Quote ------------------------------------------------------------- */
.cta {
  display: grid; grid-template-columns: 42% 58%; gap: 40px;
  padding: 76px var(--gutter);
  background: var(--color-olive); color: #fff;
}
.cta__head { max-width: 42ch; }
.cta__head .eyebrow { color: #d8dccd; }
.cta__head h2 { font-size: clamp(30px, 3.8vw, 46px); margin-bottom: 16px; }
.cta__head p { font-size: 13px; line-height: 1.9; color: #e0e2d8; }
.cta__contacts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; font-size: 12.5px; }
.cta__contacts a { border-bottom: 1px solid rgba(255, 255, 255, .5); padding-bottom: 3px; }

.quote-form {
  display: grid; gap: 16px;
  padding: 32px;
  background: var(--color-paper); color: var(--color-ink);
  box-shadow: var(--shadow-soft);
}
.quote-form__heading { font-size: 24px; margin-bottom: 8px; }
.quote-form__intro p { margin-top: 8px; font-size: 12.5px; line-height: 1.8; color: var(--color-muted); }
.quote-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: grid; gap: 6px; margin: 0; }
.field label { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px;
  font-family: var(--font-sans); font-size: 13px; color: var(--color-ink);
  background: #fff; border: 1px solid #d9d2c7; border-radius: 0;
}
.field textarea { resize: vertical; }
.field input[type="file"] { padding: 9px 0; background: none; border: 0; font-size: 12px; }
.field small { font-size: 11px; color: var(--color-muted); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #a2513b; }
.quote-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.quote-form__status { font-size: 12px; color: var(--color-muted); }
.quote-form__status:empty { display: none; }
.quote-form[data-state="success"] .quote-form__status { color: var(--color-olive); font-weight: 600; }
.quote-form[data-state="error"] .quote-form__status { color: #a2513b; }

/* 16. Footer ------------------------------------------------------------ */
.footer { background: var(--color-charcoal); color: #e9e5dc; padding: 60px var(--gutter) 24px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.logo--footer .logo__name { font-size: 18px; }
.logo--footer .logo__tagline { color: #b8b4a9; }
.footer-brand p { max-width: 30ch; margin-top: 18px; font-size: 12px; line-height: 1.9; color: #b8b4a9; }
.footer__heading { margin-bottom: 18px; font-family: var(--font-sans); font-size: 10px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: #c9b29c; }
.footer-links { display: grid; gap: 11px; font-size: 12px; color: #d1cdc3; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px;
  border-top: 1px solid #4a4b44; padding-top: 18px;
  font-size: 10px; letter-spacing: .04em; color: #aaa79e;
}

/* 17. Responsive -------------------------------------------------------- */
@media (max-width: 1000px) {
  .nav { gap: 18px; }
  .hero__copy { padding: 96px 7% 122px; }
  .bed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --space-section: 72px; }
  .nav--bar { display: none; }
  .topbar__drawer { display: block; }
  .topbar { min-height: 68px; padding: 0 5%; gap: 12px; justify-content: flex-start; }
  .logo__name { font-size: 17px; }
  .nav-right { margin-left: auto; }
  .nav-right .btn { padding: 10px 13px; font-size: 10px; }
  .hero__stage, .hero__copy { min-height: clamp(520px, 76vh, 660px); }
  .hero__copy { justify-content: flex-end; padding: 96px 5% 112px; }
  .hero h1 { font-size: clamp(34px, 8.6vw, 50px); }
  .hero__scrim { background: linear-gradient(0deg, rgba(22, 17, 12, .86) 0%, rgba(22, 17, 12, .45) 46%, rgba(22, 17, 12, .1) 74%, rgba(22, 17, 12, 0) 100%); }
  .hero__img { object-position: 58% 50%; }
  .hero__controls { right: 5%; bottom: 22px; }
  .hero__note { right: 5%; bottom: 74px; max-width: 60%; font-size: 9px; }
  .trust-strip { grid-template-columns: 1fr; gap: 12px; padding: 20px 6%; }
  .trust-item { justify-content: flex-start; text-align: left; }
  .section-head { display: block; }
  .section-head h2 { max-width: none; }
  .section-head__aside { margin-top: 18px; max-width: none; }
  .family-grid { grid-template-columns: 1fr; gap: 30px; }
  .family-card__media { aspect-ratio: 1 / 1; }
  .custom, .fabric, .story { grid-template-columns: 1fr; }
  .custom__copy, .fabric__copy, .story__copy { padding: 56px 7%; }
  .fabric__media { min-height: 340px; }
  .feature { grid-template-columns: 1fr; }
  .feature__media { min-height: 0; }
  .feature__img { height: clamp(300px, 52vh, 460px); }
  .feature__copy { padding: 44px 7% 54px; }
  .custom__media { min-height: 340px; }
  .story__media { min-height: 320px; order: -1; }
  .process-grid { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .process-step { padding-right: 16px; margin-right: 16px; }
  .process-step:nth-child(2n) { border-right: 0; margin-right: 0; }
  .scene-grid { grid-template-columns: 1fr; gap: 26px; }
  .cta { grid-template-columns: 1fr; gap: 30px; padding: 60px 7%; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { font-size: 14px; }
  .announcement { font-size: 9px; letter-spacing: .1em; }
  .bed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .bed-card__title { font-size: 12.5px; }
  .bed-card__excerpt { display: none; }
  .quote-form { padding: 22px; }
  .quote-form__grid { grid-template-columns: 1fr; }
  .cta { padding: 52px 6%; }
  .footer { padding: 50px 6% 22px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* 18. Ordinary pages and lists ----------------------------------------- */
.page-body { padding: 56px var(--gutter) var(--space-section); max-width: 1180px; }
.page-body__title, .page-body h1 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.03em; margin-bottom: 22px; }
.entry > * + * { margin-top: 16px; }
.entry__body { max-width: var(--measure); font-size: 14px; line-height: 1.95; color: var(--color-body); }
.entry__body h2 { font-size: 26px; margin-top: 34px; color: var(--color-ink); }
.entry__body h3 { font-size: 20px; margin-top: 26px; color: var(--color-ink); }
.entry__body a { border-bottom: 1px solid var(--color-clay); }
.entry figure { margin: 0 0 24px; }
.post-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.post-list__item h2 { font-size: 20px; margin: 12px 0 8px; }
.post-list__item p { font-size: 12.5px; line-height: 1.8; color: var(--color-muted); }
.post-list__image img { width: 100%; }

/* 19. WhatsApp launcher -------------------------------------------------- */
.wa-launcher {
  --wa-green: #25d366;
  --wa-green-deep: #1da851;
  --wa-offset: max(18px, env(safe-area-inset-right, 0px));
  --wa-offset-bottom: max(18px, env(safe-area-inset-bottom, 0px));
}
.wa-fab {
  position: fixed;
  right: var(--wa-offset);
  bottom: var(--wa-offset-bottom);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--wa-green);
  color: #fff;
  box-shadow: 0 14px 28px -12px rgba(29, 43, 32, .55);
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-fab:hover { background: var(--wa-green-deep); transform: translateY(-2px); box-shadow: 0 20px 32px -14px rgba(29, 43, 32, .6); }
.wa-fab:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.wa-fab__mark { width: 30px; height: 30px; display: block; }
.wa-fab__label {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 7px 12px;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.wa-fab:hover .wa-fab__label,
.wa-fab:focus-visible .wa-fab__label { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (hover: none) { .wa-fab__label { display: none; } }

.wa-panel {
  position: fixed;
  inset: auto;
  right: var(--wa-offset);
  bottom: calc(var(--wa-offset-bottom) + 70px);
  z-index: 95;
  width: min(344px, calc(100vw - 36px));
  max-height: calc(100vh - 140px);
  margin: 0;
  padding: 22px;
  overflow: auto;
  border: 1px solid var(--color-line);
  border-radius: 2px;
  background: var(--color-paper);
  color: var(--color-body);
  box-shadow: 0 32px 64px -34px rgba(48, 45, 40, .65);
}
.wa-panel[open] { animation: wa-panel-in .22s var(--ease) both; }
@keyframes wa-panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.wa-panel::backdrop { background: rgba(41, 43, 37, .42); }
.wa-panel__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.wa-panel__badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--wa-green, #25d366);
  color: #fff;
}
.wa-panel__mark { width: 22px; height: 22px; display: block; }
.wa-panel__title { margin: 0; font-family: var(--font-serif); font-size: 20px; line-height: 1.25; color: var(--color-ink); }
.wa-panel__meta { margin: 4px 0 0; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted); }
.wa-panel__text { margin: 0 0 14px; font-size: 13.5px; line-height: 1.75; }
.wa-panel__label { margin: 0 0 6px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted); }
.wa-panel__preview {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-left: 2px solid #25d366;
  background: var(--color-cream);
  color: var(--color-ink-soft);
  font-size: 13px;
  line-height: 1.7;
}
.wa-panel__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 12px 16px;
  background: #25d366;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background-color .2s var(--ease);
}
.wa-panel__cta:hover,
.wa-panel__cta:focus-visible { background: #1da851; }
.wa-panel__cta-mark { width: 18px; height: 18px; display: block; }
.wa-panel__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.wa-panel__number { font-size: 12px; letter-spacing: .04em; color: var(--color-muted); }
.wa-panel__close {
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid var(--color-line);
  background: none;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  cursor: pointer;
}
.wa-panel__close:hover { color: var(--color-clay); border-color: var(--color-clay); }
@media print { .wa-launcher { display: none; } }
