/* ============================================
   Mornova Terra — Brand Site
   Palette: warm ivory / terracotta / dark cocoa
   Type: Marcellus (display serif) + Jost (sans)
   ============================================ */

:root {
  --base: #3c3835;
  --bg: #faf6f3;
  --cream: #f5ece5;
  --sand: #dec9b8;
  --terracotta: #a65d50;
  --terracotta-deep: #8e4c40;
  --bronze: #bc773f;
  --gray: #aeaaa7;
  --white: #ffffff;
  --font-display: "Marcellus", "Times New Roman", serif;
  --font-body: "Jost", -apple-system, "Helvetica Neue", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--base);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--terracotta); color: var(--white); }

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  padding: 22px 0;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.site-header.scrolled {
  background: rgba(250, 246, 243, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(60, 56, 53, 0.08);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark img { width: 52px; height: auto; }

.brand-word {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.18em;
  color: var(--base);
}

.main-nav { display: flex; align-items: center; gap: 38px; }

/* Nav link hover: duplicate text slides up */
.nav-link {
  position: relative;
  overflow: hidden;
  display: inline-block;
  font-size: 14.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
  height: 1.4em;
}

.nav-link .nl-first,
.nav-link .nl-second {
  display: block;
  transition: transform 0.32s var(--ease-out);
}

.nav-link .nl-second {
  position: absolute;
  top: 100%;
  left: 0;
  color: var(--terracotta);
}

.nav-link:hover .nl-first { transform: translateY(-100%); }
.nav-link:hover .nl-second { transform: translateY(-100%); }

.nav-link.active { color: var(--terracotta); }

.nav-cta {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--base);
  border-radius: 30px;
  padding: 10px 26px;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s;
}

.nav-cta:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 34px; height: 26px;
  position: relative;
  z-index: 210;
}

.menu-toggle span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--base);
  transition: 0.35s var(--ease-out);
}

.menu-toggle span:nth-child(1) { top: 4px; }
.menu-toggle span:nth-child(2) { top: 12px; }
.menu-toggle span:nth-child(3) { top: 20px; }

.menu-toggle.open span:nth-child(1) { top: 12px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 12px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}

.mobile-nav.open { opacity: 1; visibility: visible; }

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 34px;
  padding: 12px 0;
  border-bottom: 1px solid var(--cream);
  color: var(--base);
}

.mobile-nav a:hover { color: var(--terracotta); }

/* ---------- Hero ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 14s var(--ease-out) forwards;
}

@keyframes heroZoom { to { transform: scale(1); } }

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(250, 246, 243, 0.97) 0%,
    rgba(250, 246, 243, 0.88) 38%,
    rgba(250, 246, 243, 0.35) 70%,
    rgba(250, 246, 243, 0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 0 100px;
  max-width: 680px;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--terracotta);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 6.2vw, 76px);
  line-height: 1.14;
  letter-spacing: 0.01em;
  margin-bottom: 30px;
}

.hero h1 .word {
  display: inline-block;
  white-space: nowrap;
}

.hero h1 .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.hero h1.in .char { opacity: 1; transform: translateY(0); }

.hero p {
  font-size: 19px;
  font-weight: 300;
  max-width: 540px;
  margin-bottom: 44px;
  color: #57504b;
}

.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }

/* ---------- Buttons ---------- */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--terracotta);
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 17px 36px;
  border-radius: 40px;
  border: 1px solid var(--terracotta);
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.btn-primary:hover { background: var(--terracotta-deep); transform: translateY(-2px); }

.btn-primary svg { transition: transform 0.3s var(--ease-out); }
.btn-primary:hover svg { transform: translateX(5px); }

/* Text + arrow link, underline on hover (editorial style) */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--base);
  position: relative;
  padding-bottom: 6px;
}

.link-arrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--base);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow svg { transition: transform 0.3s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Section scaffolding ---------- */

.section { padding: 120px 0; position: relative; }

.section-label {
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-label::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--sand);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.2;
  margin-bottom: 24px;
}

.section-intro {
  font-size: 18px;
  font-weight: 300;
  color: #57504b;
  max-width: 620px;
}

/* Decorative flowing line between sections */
.flow-line {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.flow-line path {
  fill: none;
  stroke: var(--sand);
  stroke-width: 1.4;
}

/* ---------- Scroll reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* Image mask reveal */
.mask-reveal {
  overflow: hidden;
  position: relative;
}

.mask-reveal img {
  transform: scale(1.12);
  transition: transform 1.2s var(--ease-out);
}

.mask-reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg);
  transform-origin: right;
  transition: transform 1s var(--ease-out);
}

.mask-reveal.revealed img { transform: scale(1); }
.mask-reveal.revealed::after { transform: scaleX(0); }

/* ---------- Home: What We Do ---------- */

.what-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--sand);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  margin-top: 70px;
}

.what-item {
  background: var(--bg);
  padding: 52px 42px 58px;
  transition: background 0.4s var(--ease-out);
}

.what-item:hover { background: var(--cream); }

.what-num {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.24em;
  color: var(--bronze);
  display: block;
  margin-bottom: 30px;
}

.what-item h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.what-item p {
  font-size: 15.5px;
  font-weight: 300;
  color: #57504b;
}

.what-badge {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
  border: 1px solid var(--sand);
  border-radius: 20px;
  padding: 4px 14px;
  margin-top: 22px;
}

/* ---------- Brand matrix ---------- */

.brands-section { background: var(--cream); }

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 64px;
}

.brand-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}

.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px -24px rgba(60, 56, 53, 0.28);
}

.brand-card .mask-reveal { aspect-ratio: 4 / 3; }
.brand-card .mask-reveal img { width: 100%; height: 100%; object-fit: cover; }

.brand-card-body { padding: 34px 32px 36px; display: flex; flex-direction: column; flex: 1; }

.brand-tag {
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 12px;
}

.brand-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 27px;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.brand-card p {
  font-size: 15px;
  font-weight: 300;
  color: #57504b;
  flex: 1;
  margin-bottom: 26px;
}

.brands-note {
  margin-top: 52px;
  font-family: var(--font-display);
  font-size: 19px;
  color: #6d655f;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brands-note::before,
.brands-note::after {
  content: "";
  height: 1px;
  background: var(--sand);
  flex: 1;
}

/* ---------- Robin story ---------- */

.story-section { overflow: hidden; }

.story-inner {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 90px;
  align-items: center;
}

.story-bird {
  text-align: center;
  position: relative;
}

.story-bird .halo {
  position: absolute;
  inset: 8% 4%;
  border: 1px solid var(--sand);
  border-radius: 50%;
  animation: haloSpin 26s linear infinite;
}

.story-bird .halo::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--terracotta);
}

@keyframes haloSpin { to { transform: rotate(360deg); } }

.story-bird img {
  width: min(78%, 360px);
  margin: 0 auto;
  position: relative;
}

.story-quote {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.4;
  margin-bottom: 26px;
}

.story-text p { font-weight: 300; color: #57504b; margin-bottom: 18px; }

/* ---------- CTA banner ---------- */

.cta-banner {
  background: var(--base);
  color: var(--bg);
  text-align: center;
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner .section-label { color: var(--sand); justify-content: center; }
.cta-banner .section-label::before { background: var(--terracotta); }

.cta-banner h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.28;
  margin-bottom: 24px;
}

.cta-banner p {
  font-weight: 300;
  color: #cfc6bf;
  max-width: 560px;
  margin: 0 auto 44px;
  font-size: 18px;
}

.cta-bird {
  position: absolute;
  right: 6%;
  bottom: -30px;
  width: 200px;
  opacity: 0.12;
  transform: rotate(-8deg);
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding: 210px 0 90px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 66px);
  line-height: 1.16;
  max-width: 760px;
}

.page-hero .section-intro { margin-top: 22px; }

/* ---------- Brand detail blocks ---------- */

.brand-detail {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 80px;
  align-items: center;
  padding: 100px 0;
  border-bottom: 1px solid var(--cream);
}

.brand-detail:last-of-type { border-bottom: none; }

/* KUKI product gallery */
.kuki-gallery-head {
  padding: 0 0 30px;
  margin-top: -40px;
}

.kuki-gallery-note {
  font-size: 15px;
  color: rgba(60, 56, 53, 0.62);
  max-width: 520px;
  margin-top: 10px;
}

.kuki-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding-bottom: 90px;
  border-bottom: 1px solid var(--cream);
}

.kg-item { margin: 0; }

.kg-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.kg-item figcaption {
  padding-top: 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--base);
  line-height: 1.4;
}

.kg-item figcaption span {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(60, 56, 53, 0.55);
  margin-top: 3px;
}

.brand-detail:nth-child(even) .bd-media { order: 2; }

.bd-media .mask-reveal { border-radius: 6px; }
.bd-media img { width: 100%; height: auto; }

.bd-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  border: 1px solid var(--sand);
  background: var(--cream);
  border-radius: 20px;
  padding: 6px 18px;
  margin-bottom: 22px;
}

.brand-detail h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 46px);
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}

.brand-detail .bd-desc { font-weight: 300; color: #57504b; margin-bottom: 30px; }

.why-list { list-style: none; margin-bottom: 38px; }

.why-list li {
  padding: 13px 0 13px 34px;
  position: relative;
  font-size: 15.5px;
  border-bottom: 1px dashed var(--sand);
}

.why-list li:last-child { border-bottom: none; }

.why-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 21px;
  width: 14px;
  height: 7px;
  border-left: 2px solid var(--terracotta);
  border-bottom: 2px solid var(--terracotta);
  transform: rotate(-45deg);
}

/* ---------- Own brands ---------- */

.hatch-hero { text-align: center; }
.hatch-hero .section-label { justify-content: center; }
.hatch-hero .section-intro { margin: 22px auto 0; }

.hatch-word {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 24px);
  color: var(--bronze);
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}

.own-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 70px;
}

.own-card { text-align: left; }

.own-card .mask-reveal { border-radius: 6px; aspect-ratio: 4/3; }
.own-card .mask-reveal img { width: 100%; height: 100%; object-fit: cover; }

.own-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  margin: 22px 0 8px;
}

.own-card p { font-size: 15px; font-weight: 300; color: #57504b; }

.own-card .soon {
  display: inline-block;
  margin-top: 14px;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze);
}

/* ---------- Sourcing ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-top: 70px;
  counter-reset: step;
}

.step { position: relative; padding-top: 34px; }

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--sand);
  position: absolute;
  top: -22px;
  left: 0;
  line-height: 1;
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 23px;
  margin: 34px 0 12px;
}

.step p { font-size: 15.5px; font-weight: 300; color: #57504b; }

.case-block {
  background: var(--cream);
  border-radius: 8px;
  padding: 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-top: 40px;
}

.case-block .mask-reveal { border-radius: 6px; }

.case-block h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  margin-bottom: 18px;
}

.case-block p { font-weight: 300; color: #57504b; margin-bottom: 26px; }

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 90px;
  align-items: center;
}

.about-grid .story-bird img { width: min(86%, 400px); }

.about-copy p { font-weight: 300; color: #57504b; margin-bottom: 20px; font-size: 18px; }

.about-copy .lede {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--base);
  line-height: 1.45;
  margin-bottom: 28px;
}

.reg-card {
  margin-top: 80px;
  background: var(--cream);
  border-radius: 8px;
  padding: 54px 60px;
}

.reg-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 22px;
}

.reg-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 60px; }

.reg-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--sand);
  font-size: 15px;
}

.reg-row dt { color: #8a8078; font-weight: 300; }
.reg-row dd { font-weight: 500; text-align: right; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 90px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a8078;
  margin: 26px 0 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 4px;
  padding: 15px 18px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--base);
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--terracotta);
}

.contact-form textarea { min-height: 150px; resize: vertical; }

.contact-form .btn-primary { margin-top: 32px; cursor: pointer; font-family: var(--font-body); }

.contact-side h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 8px;
}

.contact-methods { margin-top: 30px; }

.contact-method {
  padding: 24px 0;
  border-bottom: 1px dashed var(--sand);
}

.contact-method .cm-label {
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 6px;
}

.contact-method a {
  font-size: 19px;
  font-weight: 400;
  transition: color 0.3s;
}

.contact-method a:hover { color: var(--terracotta); }

.contact-note {
  margin-top: 34px;
  font-size: 13.5px;
  font-weight: 300;
  color: #8a8078;
}

/* ---------- Privacy ---------- */

.prose { max-width: 760px; }
.prose h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  margin: 44px 0 14px;
}
.prose p, .prose li { font-weight: 300; color: #57504b; margin-bottom: 14px; }
.prose ul { padding-left: 22px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--base);
  color: #cfc6bf;
  padding: 90px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 5fr 3fr 3fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(250, 246, 243, 0.12);
}

.footer-brand img { width: 64px; margin-bottom: 20px; }

.footer-brand .brand-word { color: var(--bg); }

.footer-brand p {
  font-size: 14.5px;
  font-weight: 300;
  max-width: 320px;
  margin-top: 14px;
}

.footer-col h4 {
  font-size: 12.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 22px;
  font-weight: 500;
}

.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 300;
  transition: color 0.3s, transform 0.3s var(--ease-out);
}

.footer-col a:hover { color: var(--bg); transform: translateX(4px); }

.footer-bottom {
  padding-top: 34px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  font-weight: 300;
  color: #9a9088;
}

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

.wa-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 150;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px -8px rgba(142, 76, 64, 0.55);
  transition: transform 0.3s var(--ease-out), background 0.3s;
}

.wa-float:hover { transform: scale(1.1); background: var(--terracotta-deep); }

.wa-float svg { width: 26px; height: 26px; fill: var(--white); }

/* ---------- AMORTALS gallery + lightbox ---------- */

.ag-subhead {
  font-family: 'Marcellus', serif;
  font-size: 24px;
  color: var(--base);
  margin: 46px 0 22px;
}

.ag-grid { padding-bottom: 0; border-bottom: none; }

.ag-grid-last { padding-bottom: 90px; border-bottom: 1px solid var(--cream); }

.ag-item { cursor: pointer; }

.ag-item img { transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }

.ag-item:hover img { transform: scale(1.035); }

.ag-item:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 4px; border-radius: 6px; }

.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(43, 39, 36, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lb-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }

.lb-box {
  background: var(--bg);
  border-radius: 10px;
  max-width: 920px;
  width: 100%;
  max-height: 88vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  transform: translateY(18px) scale(0.985);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

.lb-overlay.open .lb-box { transform: translateY(0) scale(1); }

.lb-media {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  max-height: 88vh;
  position: relative;
}

.lb-media img {
  width: 100%;
  height: 100%;
  max-height: 88vh;
  object-fit: contain;
  display: block;
}

.lb-nav {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.lb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(60, 56, 53, 0.22);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}

.lb-dot.active { background: var(--terracotta); transform: scale(1.25); }

.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(250, 246, 243, 0.92);
  color: var(--base);
  font-size: 17px;
  cursor: pointer;
  line-height: 1;
  transition: background 0.25s ease;
}

.lb-arrow:hover { background: var(--cream); }

.lb-prev { left: 12px; }

.lb-next { right: 12px; }

.lb-body {
  padding: 44px 40px;
  overflow-y: auto;
}

.lb-body .section-label { margin-bottom: 10px; }

.lb-body h3 {
  font-family: 'Marcellus', serif;
  font-size: 27px;
  font-weight: 400;
  color: var(--base);
  margin: 0 0 6px;
}

.lb-sub {
  font-size: 14px;
  color: var(--terracotta);
  margin: 0 0 20px;
  letter-spacing: 0.02em;
}

.lb-points {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}

.lb-points li {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(60, 56, 53, 0.78);
  padding: 7px 0 7px 22px;
  position: relative;
  border-bottom: 1px solid var(--cream);
}

.lb-points li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
  opacity: 0.75;
}

.lb-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(250, 246, 243, 0.92);
  color: var(--base);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.lb-close:hover { background: var(--cream); transform: rotate(90deg); }

.lb-note {
  margin: 16px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(60, 56, 53, 0.5);
}

.lb-mail {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--terracotta);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .what-grid, .brand-grid, .own-grid, .steps { grid-template-columns: 1fr; gap: 34px; }
  .what-grid { background: none; border: none; }
  .what-item { border: 1px solid var(--cream); border-radius: 6px; }
  .story-inner, .brand-detail, .case-block, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .brand-detail:nth-child(even) .bd-media { order: 0; }
  .kuki-gallery { grid-template-columns: repeat(2, 1fr); }
  .kuki-gallery-head { margin-top: 0; }
  .ag-grid-last { padding-bottom: 60px; }
  .lb-box { grid-template-columns: 1fr; max-height: 90vh; overflow-y: auto; }
  .lb-media { min-height: 240px; max-height: 46vh; }
  .lb-media img { max-height: 46vh; }
  .lb-body { padding: 28px 24px 34px; overflow: visible; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .reg-rows { grid-template-columns: 1fr; }
  .case-block { padding: 40px 30px; }
  .section { padding: 80px 0; }
  .hero-bg::after {
    background: linear-gradient(rgba(250,246,243,0.94), rgba(250,246,243,0.75));
  }
}

/* ---------- Mobile compaction ---------- */

@media (max-width: 640px) {
  .hero { min-height: 0; }
  .hero-content { padding: 118px 0 60px; }
  .hero-eyebrow { margin-bottom: 16px; }
  .hero h1 { margin-bottom: 18px; }
  .hero p { font-size: 16.5px; margin-bottom: 26px; }

  .section { padding: 56px 0; }
  .page-hero { padding: 140px 0 50px; }

  .what-grid, .brand-grid, .own-grid, .steps { gap: 18px; }
  .what-grid { margin-top: 40px; }
  .what-item { padding: 28px 24px 32px; }
  .what-num { margin-bottom: 14px; }
  .what-item h3 { font-size: 23px; margin-bottom: 10px; }

  .brand-grid { margin-top: 40px; }
  .brand-card-body { padding: 24px 22px 28px; }
  .brands-note { margin-top: 34px; font-size: 17px; }

  .story-inner, .brand-detail, .case-block, .about-grid, .contact-grid { gap: 32px; }
  .story-bird img { width: min(60%, 260px); }
  .story-quote { margin-bottom: 18px; }

  .cta-banner { padding: 72px 0; }
  .cta-banner p { font-size: 16px; margin-bottom: 30px; }

  .brand-detail { padding: 56px 0; }
  .brand-detail .bd-desc { margin-bottom: 22px; }
  .why-list { margin-bottom: 26px; }
  .why-list li { padding: 10px 0 10px 30px; font-size: 14.5px; }
  .why-list li::before { top: 17px; }

  .kuki-gallery { gap: 14px; padding-bottom: 56px; }
  .kg-item figcaption { padding-top: 10px; font-size: 13.5px; }
  .ag-grid-last { padding-bottom: 56px; }

  .case-block { padding: 30px 20px; }

  .site-footer { padding: 60px 0 30px; }
  .footer-top { gap: 28px; padding-bottom: 36px; }
  .footer-brand img { width: 52px; margin-bottom: 12px; }
  .footer-col h4 { margin-bottom: 12px; }
  .footer-col a { padding: 4px 0; }
  .footer-bottom { padding-top: 22px; }
  .cta-bird { width: 130px; right: 0; bottom: -24px; opacity: 0.1; }
}
