/* ==========================================================================
   TAKUMI — madebytakumi.com
   Warm-minimal design system. No frameworks, no build step.
   ========================================================================== */

:root {
  --paper: #f6f3ed;
  --paper-2: #efeae0;
  --card: #fffdf8;
  --ink: #191713;
  --ink-2: #26221b;
  --ink-soft: #3a352c;
  --muted: #6f675a;
  --line: #ddd5c6;
  --line-soft: #e8e2d4;
  --accent: #a8763e;
  --accent-deep: #8a5e2e;
  --accent-soft: #e9dcc8;
  --star: #e8a13c;
  --wa: #1fa855;
  --on-ink: #ede8dd;
  --on-ink-muted: #a49b8a;
  --line-on-ink: #38332a;

  --font-display: "Shippori Mincho", "Hiragino Mincho ProN", "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --size-display: clamp(2.5rem, 6.2vw, 4.3rem);
  --size-h2: clamp(1.75rem, 3.6vw, 2.6rem);
  --size-h3: clamp(1.25rem, 2.2vw, 1.55rem);

  --container: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 10px 34px rgba(25, 23, 19, 0.09);
  --shadow-card: 0 2px 14px rgba(25, 23, 19, 0.06);
  --space-section: clamp(4.5rem, 9vw, 7.5rem);
}

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

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

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

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

a {
  color: inherit;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-section);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section--dark {
  background: var(--ink);
  color: var(--on-ink);
}

.section--tint {
  background: var(--paper-2);
}

/* --- kickers, headings, lede ------------------------------------------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1.1rem;
}

.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
}

.section--dark .kicker {
  color: var(--accent);
}

.kicker__logo {
  width: 1.2rem;
  height: 1.2rem;
  flex: none;
  color: var(--accent);
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 46rem;
}

.section--dark .lede {
  color: var(--on-ink-muted);
}

.section-head {
  max-width: 52rem;
  margin-bottom: clamp(2.2rem, 5vw, 3.6rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .kicker {
  justify-content: center;
}

.section-head h2 {
  font-size: var(--size-h2);
}

/* --- skip link ---------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--on-ink);
  padding: 0.6rem 1rem;
  z-index: 200;
  border-radius: 0 0 10px 0;
}

.skip-link:focus {
  left: 0;
}

/* --- promo bar ---------------------------------------------------------- */

.promo {
  background: var(--accent-deep);
  color: #fdf8ef;
  font-size: 0.85rem;
  position: relative;
  z-index: 60;
}

.promo__inner {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 0.55rem;
}

.promo p {
  margin: 0;
  flex: 1;
  line-height: 1.45;
}

.promo a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.promo__close {
  background: none;
  border: 0;
  color: inherit;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.3rem;
  opacity: 0.8;
}

.promo__close:hover {
  opacity: 1;
}

/* --- header / nav ------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 6px 24px rgba(25, 23, 19, 0.05);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand__name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.34em;
  translate: 0 1px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.2vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding-block: 0.4rem;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.site-nav a.nav-cta {
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a.nav-cta:hover,
.site-nav a.nav-cta[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 70;
}

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin-block: 5px;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  /* backdrop-filter on an ancestor makes position:fixed resolve against that
     ancestor, which clipped the mobile menu overlay to the header strip. */
  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--paper);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--paper);
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 60;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 1.6rem;
    text-align: center;
  }

  .site-nav a {
    font-size: 1.35rem;
    font-family: var(--font-display);
    font-weight: 600;
  }

  body.nav-locked {
    overflow: hidden;
  }

  .nav-toggle.is-open .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-open .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* --- buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.7rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}

.btn--primary:hover {
  background: var(--ink-2);
}

.btn--ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--light {
  background: var(--paper);
  color: var(--ink);
}

.btn--light:hover {
  background: #fff;
}

.btn--ghost-light {
  border-color: var(--on-ink);
  color: var(--on-ink);
  background: transparent;
}

.btn--ghost-light:hover {
  background: var(--on-ink);
  color: var(--ink);
}

.btn--wa {
  background: var(--wa);
  color: #fff;
}

.btn--wa:hover {
  background: #178a45;
}

.btn svg {
  flex: none;
}

/* --- hero (home) -------------------------------------------------------- */

.hero {
  position: relative;
  min-height: clamp(560px, 88svh, 820px);
  display: flex;
  align-items: flex-end;
  color: var(--on-ink);
  isolation: isolate;
  overflow: hidden;
}

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(15, 13, 10, 0.82) 0%, rgba(15, 13, 10, 0.35) 45%, rgba(15, 13, 10, 0.25) 100%);
}

.hero__inner {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #d8c9b2;
  margin-bottom: 1.4rem;
}

.hero__kicker .kicker__logo {
  width: 1.35rem;
  height: 1.35rem;
}

.hero h1 {
  font-size: var(--size-display);
  max-width: 15ch;
  margin-bottom: 0.5em;
  color: #fbf8f1;
}

.hero__sub {
  max-width: 34rem;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #d9d2c4;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.4rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  border-top: 1px solid rgba(237, 232, 221, 0.22);
  padding-top: 1.4rem;
  font-size: 0.88rem;
  color: #cfc7b8;
}

.hero__meta strong {
  color: #fbf8f1;
  font-weight: 600;
}

.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__rating .stars {
  color: var(--star);
  letter-spacing: 2px;
  font-size: 0.95rem;
}

/* --- interior page hero -------------------------------------------------- */

.page-hero {
  position: relative;
  color: var(--on-ink);
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: clamp(340px, 52svh, 520px);
}

.page-hero__media,
.page-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(15, 13, 10, 0.8), rgba(15, 13, 10, 0.3));
}

.page-hero--plain {
  min-height: 0;
  color: var(--ink);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line-soft);
}

.page-hero--plain::after {
  display: none;
}

.page-hero__inner {
  padding-block: clamp(2.8rem, 6vw, 4.5rem);
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  max-width: 20ch;
  color: inherit;
}

.page-hero .lede {
  color: #d9d2c4;
}

.page-hero--plain .lede {
  color: var(--muted);
}

/* --- feature cards (USP) ------------------------------------------------- */

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
}

.usp {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-card);
}

.usp__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}

.usp h3 {
  font-size: 1.12rem;
  font-family: var(--font-body);
  font-weight: 650;
  margin-bottom: 0.4rem;
}

.usp p {
  color: var(--muted);
  font-size: 0.93rem;
  margin: 0;
}

/* --- services ------------------------------------------------------------ */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.4rem;
}

.svc {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 3.6;
  display: flex;
  align-items: flex-end;
  color: #f5f1e8;
  text-decoration: none;
  isolation: isolate;
}

.svc img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.6s ease;
}

.svc::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(17, 15, 11, 0.78) 0%, rgba(17, 15, 11, 0.06) 55%);
  transition: background 0.3s ease;
}

.svc:hover img {
  transform: scale(1.045);
}

.svc__body {
  padding: 1.5rem;
}

.svc h3 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  color: #fbf8f1;
}

.svc p {
  font-size: 0.88rem;
  color: #d5cdbd;
  margin: 0;
}

.svc__arrow {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(245, 241, 232, 0.5);
  display: grid;
  place-items: center;
  font-size: 1rem;
  transition: background 0.25s ease, transform 0.25s ease;
}

.svc:hover .svc__arrow {
  background: rgba(245, 241, 232, 0.16);
  transform: rotate(45deg);
}

/* --- gallery ------------------------------------------------------------- */

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: start;
}

.works-grid--wide {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .works-grid,
  .works-grid--wide {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .works-grid--wide {
    grid-template-columns: 1fr;
  }
}

.work {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  border: 0;
  padding: 0;
  cursor: zoom-in;
  display: block;
  width: 100%;
}

.work--landscape {
  aspect-ratio: 4 / 3;
}

.work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.work:hover img {
  transform: scale(1.04);
}

.work__tag {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  background: rgba(20, 18, 14, 0.72);
  color: #efe9dc;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* --- lightbox ------------------------------------------------------------ */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 13, 10, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 120;
  padding: 2rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(100%, 1100px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox__caption {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  color: #d8d1c2;
  font-size: 0.85rem;
  text-align: center;
  max-width: 90%;
}

.lightbox__close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  background: none;
  border: 0;
  color: #efe9dc;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(246, 243, 237, 0.1);
  border: 1px solid rgba(246, 243, 237, 0.3);
  color: #efe9dc;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lightbox__nav:hover {
  background: rgba(246, 243, 237, 0.2);
}

.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }

/* --- story / split sections ---------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split--flip > .split__media {
  order: 2;
}

@media (max-width: 860px) {
  .split,
  .split--flip {
    grid-template-columns: 1fr;
  }

  .split--flip > .split__media {
    order: 0;
  }
}

.split__media {
  position: relative;
}

.split__media img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.split__media--duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.split__media--duo img:last-child {
  margin-top: 2.2rem;
}

.split__body h2 {
  font-size: var(--size-h2);
}

.split__body .checklist {
  margin: 1.4rem 0 1.8rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.checklist li {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  color: var(--ink-soft);
}

.section--dark .checklist li {
  color: var(--on-ink);
}

.checklist li::before {
  content: "—";
  color: var(--accent);
  font-weight: 700;
  flex: none;
}

/* --- stats --------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2.4rem;
}

.stat {
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}

.section--dark .stat {
  border-top-color: var(--line-on-ink);
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 600;
  color: var(--accent-deep);
}

.section--dark .stat__num {
  color: var(--accent);
}

.stat__label {
  font-size: 0.85rem;
  color: var(--muted);
}

.section--dark .stat__label {
  color: var(--on-ink-muted);
}

/* --- reviews ------------------------------------------------------------- */

.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.2rem;
}

.reviews-agg {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviews-agg__score {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.reviews-agg__meta {
  font-size: 0.9rem;
  color: var(--muted);
}

.section--dark .reviews-agg__meta {
  color: var(--on-ink-muted);
}

.reviews-agg .stars {
  color: var(--star);
  font-size: 1.05rem;
  letter-spacing: 2px;
}

.reviews-agg__google {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.85rem;
}

.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(360px, 82vw);
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.reviews-track > * {
  scroll-snap-align: start;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.2rem;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: var(--shadow-card);
  color: var(--ink);
}

.section--dark .review-card {
  background: var(--ink-2);
  border-color: var(--line-on-ink);
  color: var(--on-ink);
}

.review-card__top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  background: var(--accent-soft);
}

.review-card__avatar--fallback {
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--accent-deep);
  font-size: 1.1rem;
}

.review-card__name {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
}

.review-card__date {
  font-size: 0.78rem;
  color: var(--muted);
}

.section--dark .review-card__date {
  color: var(--on-ink-muted);
}

.review-card__g {
  margin-left: auto;
  flex: none;
}

.review-card .stars {
  color: var(--star);
  letter-spacing: 2.5px;
  font-size: 0.92rem;
}

.review-card__text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: pre-line;
}

.section--dark .review-card__text {
  color: var(--on-ink);
}

.review-card.is-expanded .review-card__text {
  display: block;
  -webkit-line-clamp: unset;
}

.review-card__more {
  align-self: flex-start;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-deep);
  cursor: pointer;
}

.section--dark .review-card__more {
  color: var(--accent);
}

.reviews-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.reviews-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1rem;
}

.section--dark .reviews-note {
  color: var(--on-ink-muted);
}

/* --- logo strips --------------------------------------------------------- */

.logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.logo-marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  width: max-content;
  animation: marquee 36s linear infinite;
  padding-block: 0.6rem;
}

.logo-marquee:hover .logo-marquee__track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.logo-marquee img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.62;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.logo-marquee img:hover {
  filter: none;
  opacity: 1;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1.1rem;
}

.partner-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 1.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.partner-card img {
  max-height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* --- featured strip ------------------------------------------------------ */

.featured-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
}

.featured-strip__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.featured-strip img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.featured-strip img.featured-strip__badge {
  height: 88px;
}

/* --- CTA band ------------------------------------------------------------ */

.cta-band {
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(120% 160% at 85% 0%, rgba(168, 118, 62, 0.35), transparent 55%),
    var(--ink);
  color: var(--on-ink);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 780px) {
  .cta-band {
    grid-template-columns: 1fr;
  }
}

.cta-band h2 {
  font-size: var(--size-h2);
  color: #fbf8f1;
  margin-bottom: 0.4em;
}

.cta-band p {
  color: var(--on-ink-muted);
  margin: 0;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: flex-end;
}

@media (max-width: 780px) {
  .cta-band__actions {
    justify-content: flex-start;
  }
}

/* --- calculator ----------------------------------------------------------- */

.calc-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.6rem;
  align-items: start;
}

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

.calc-panel {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.calc-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 1.1rem 1.2rem 0.9rem;
  border-bottom: 1px solid var(--line-soft);
  scrollbar-width: none;
}

.calc-tabs::-webkit-scrollbar {
  display: none;
}

.calc-tab {
  flex: none;
  background: var(--paper-2);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.calc-tab:hover {
  background: var(--accent-soft);
}

.calc-tab.is-active {
  background: var(--ink);
  color: var(--paper);
}

.calc-items {
  padding: 1.1rem 1.2rem 1.4rem;
  display: grid;
  gap: 0.8rem;
}

.calc-item {
  border: 1.5px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem 1rem;
  align-items: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
}

.calc-item.has-qty {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(168, 118, 62, 0.12);
}

.calc-item__info {
  min-width: 0;
}

.calc-item__name {
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.calc-item__unit {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--paper-2);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
}

.calc-item__price {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.calc-item__price strong {
  color: var(--ink);
  font-weight: 650;
}

.calc-item__surface {
  margin-top: 0.55rem;
  width: 100%;
  max-width: 230px;
  font: inherit;
  font-size: 0.85rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}

.calc-stepper {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}

.calc-stepper button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: var(--paper-2);
  font-size: 1.15rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease;
}

.calc-stepper button:hover {
  background: var(--accent-soft);
}

.calc-stepper button:active {
  transform: scale(0.94);
}

.calc-stepper input {
  width: 44px;
  border: 0;
  background: transparent;
  text-align: center;
  font: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  -moz-appearance: textfield;
  appearance: textfield;
}

.calc-stepper input::-webkit-outer-spin-button,
.calc-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calc-stepper input:focus {
  outline: none;
}

.calc-item__total {
  grid-column: 1 / -1;
  display: none;
  font-size: 0.85rem;
  color: var(--muted);
}

.calc-item.has-qty .calc-item__total {
  display: block;
}

.calc-item__total strong {
  color: var(--accent-deep);
  font-weight: 700;
}

/* summary */

.calc-summary {
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  position: sticky;
  top: 96px;
}

.calc-summary h2 {
  font-size: 1.35rem;
  color: #fbf8f1;
  margin-bottom: 1rem;
}

.calc-summary__lines {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.calc-summary__line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.87rem;
  color: var(--on-ink-muted);
}

.calc-summary__line span:last-child {
  color: var(--on-ink);
  font-weight: 600;
  white-space: nowrap;
}

.calc-summary__empty {
  font-size: 0.88rem;
  color: var(--on-ink-muted);
  margin: 0 0 1.1rem;
}

.calc-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--line-on-ink);
  padding-top: 1rem;
  margin-bottom: 1.3rem;
}

.calc-summary__total-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
}

.calc-summary__total-value {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: #fbf8f1;
}

.calc-summary__total-value small {
  font-size: 0.95rem;
  color: var(--on-ink-muted);
  margin-right: 0.3rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.calc-summary__actions {
  display: grid;
  gap: 0.7rem;
}

.calc-summary__note {
  font-size: 0.76rem;
  color: var(--on-ink-muted);
  margin: 1.1rem 0 0;
  line-height: 1.55;
}

/* mobile total bar */

.calc-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ink);
  color: var(--on-ink);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.2rem calc(0.8rem + env(safe-area-inset-bottom));
  z-index: 40;
  box-shadow: 0 -8px 30px rgba(25, 23, 19, 0.25);
}

@media (max-width: 920px) {
  .calc-bar.is-visible {
    display: flex;
  }

  .calc-summary {
    position: static;
  }
}

.calc-bar__total {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
}

.calc-bar__total small {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--on-ink-muted);
  display: block;
  line-height: 1.1;
}

/* --- FAQ ------------------------------------------------------------------ */

.faq {
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  gap: 0.8rem;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--accent-deep);
  transition: transform 0.2s ease;
  flex: none;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0.8rem 0 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* --- SEO long-form story (collapsible) ------------------------------------ */

.seo-story {
  max-width: 820px;
  margin-inline: auto;
}

.seo-story details {
  border-top: 1px solid var(--line-soft);
}

.seo-story summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}

.seo-story summary::-webkit-details-marker {
  display: none;
}

.seo-story summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent-deep);
  transition: transform 0.2s ease;
  flex: none;
}

.seo-story details[open] summary::after {
  transform: rotate(45deg);
}

.seo-story__body {
  padding-bottom: 0.6rem;
}

.seo-story__body p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.05em;
  max-width: 72ch;
}

.seo-story__body p:last-child {
  margin-bottom: 0;
}

/* --- contact -------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  display: grid;
  gap: 1.1rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
}

.contact-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  flex: none;
}

.contact-item h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 650;
  margin: 0 0 0.15rem;
}

.contact-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.contact-item a {
  color: var(--ink);
  font-weight: 550;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.contact-item a:hover {
  border-bottom-color: var(--accent);
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-card);
}

.contact-form h2 {
  font-size: 1.5rem;
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(168, 118, 62, 0.15);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.9rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.form-actions .btn {
  flex: 1 1 12rem;
}

.btn:disabled {
  opacity: 0.6;
  cursor: progress;
}

/* Honeypot: invisible to people, filled in by naive bots */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 0.9rem;
  padding: 0.7rem 0.95rem;
  border-radius: 10px;
  font-size: 0.88rem;
}

.form-status--pending {
  background: var(--paper-2);
  color: var(--ink-soft);
}

.form-status--ok {
  background: #e6f2ea;
  color: #1d6b3d;
}

.form-status--error {
  background: #f8e8e6;
  color: #9b2f25;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

/* --- prose (about story) -------------------------------------------------- */

.prose {
  max-width: 68ch;
}

.prose p {
  color: var(--ink-soft);
  margin-bottom: 1.2em;
}

.prose--muted p {
  color: var(--muted);
}

blockquote.pull {
  border-left: 3px solid var(--accent);
  margin: 2rem 0;
  padding: 0.3rem 0 0.3rem 1.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink);
}

/* --- footer --------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--on-ink);
  padding-top: var(--space-section);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 2.4rem;
  padding-bottom: 3rem;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .brand {
  color: var(--on-ink);
  margin-bottom: 1rem;
}

.footer-brand__tag {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--on-ink-muted);
  margin-bottom: 1.4rem;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-on-ink);
  border-radius: 50%;
  color: var(--on-ink);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
  background: var(--ink-2);
  border-color: var(--accent);
}

.site-footer h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
  margin-bottom: 1.1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: var(--on-ink);
  text-decoration: none;
  font-size: 0.92rem;
  opacity: 0.9;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact {
  font-style: normal;
  font-size: 0.92rem;
  display: grid;
  gap: 0.55rem;
  color: var(--on-ink);
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-featured {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
}

.footer-featured img {
  height: 56px;
  width: auto;
  border-radius: 8px;
}

.footer-featured img.footer-featured__badge {
  height: 76px;
  border-radius: 0;
  background: transparent;
}

.footer-bottom {
  border-top: 1px solid var(--line-on-ink);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.8rem;
  color: var(--on-ink-muted);
}

/* --- WhatsApp float -------------------------------------------------------- */

.wa-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 45;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(31, 168, 85, 0.4);
  transition: transform 0.2s ease;
}

.wa-float:hover {
  transform: scale(1.07);
}

body.has-calc-bar .wa-float {
  bottom: 5.4rem;
}

/* --- reveal animations ----------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .logo-marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }

  .svc img,
  .work img {
    transition: none;
  }
}
