/* =========================================================
   PANASH HARVEST — styles.css
   Palette: deep green, ivory and gold from the PANASH HARVEST packaging.
   ========================================================= */

@font-face {
  font-family: "Lora";
  src: url("../assets/fonts/lora-variable.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../assets/fonts/lora-italic-variable.woff") format("woff");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/poppins-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/poppins-medium.woff") format("woff");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --green-950: #0f2607;
  --green-900: #15330a;
  --green-800: #1e3a0f;
  --green-700: #2c4a17;
  --olive: #5f6f22;
  --gold: #c98a1c;          /* decorative only */
  --gold-soft: #e2b765;
  --gold-text: #875709;     /* ≥4.5:1 on ivory */
  --ivory: #f7ebdb;
  --ivory-2: #fbf5ec;
  --ivory-3: #f1e1c9;
  --paper: #fffaf3;
  --ink: #1d2415;
  --ink-soft: #4a4f3d;
  --line: rgba(30, 58, 15, 0.14);
  --on-dark: #f7ebdb;
  --on-dark-soft: #d9ccb4;
  --danger: #a3261b;

  /* Type */
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Rhythm */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(21, 51, 10, .06), 0 12px 32px -12px rgba(21, 51, 10, .22);
  --shadow-lg: 0 2px 4px rgba(21, 51, 10, .06), 0 30px 60px -24px rgba(21, 51, 10, .35);
  --ease: cubic-bezier(.22, .7, .2, 1);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory-2);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-800); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-text); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; color: var(--green-900); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
em { font-style: italic; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { padding: 0; margin: 0; list-style: none; }
figure { margin: 0; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--gold-soft); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--green-900); color: var(--on-dark); padding: 10px 16px; border-radius: 10px;
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--on-dark); }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: .78rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-text); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--gold-soft); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--ink-soft); max-width: 60ch; }
.center { text-align: center; }
.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }

/* Paper grain */
.grain { position: relative; isolation: isolate; }
.grain::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .35 0 0 0 0 .15 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--green-800); --fg: var(--on-dark); --bd: var(--green-800);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font-family: var(--sans); font-weight: 500; font-size: .98rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .25s, color .25s, box-shadow .35s var(--ease), border-color .25s;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(21, 51, 10, .5); background: var(--green-700); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--ghost { --bg: transparent; --fg: var(--green-800); --bd: rgba(30,58,15,.35); }
.btn--ghost:hover { background: var(--green-800); --fg: var(--on-dark); border-color: var(--green-800); }
.btn--gold { --bg: var(--gold-soft); --fg: var(--green-950); --bd: var(--gold-soft); }
.btn--gold:hover { background: #ecc67e; }
.btn--light { --bg: transparent; --fg: var(--on-dark); --bd: rgba(247,235,219,.45); }
.btn--light:hover { background: var(--on-dark); --fg: var(--green-900); border-color: var(--on-dark); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none;
  color: var(--green-800); border-bottom: 1px solid currentColor; padding-bottom: 2px; min-height: 44px;
}
.text-link:hover { color: var(--gold-text); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(251, 245, 236, .82);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s var(--ease), border-color .4s, background-color .4s;
}
.site-header.is-scrolled { background: rgba(251, 245, 236, .95); border-color: var(--line); box-shadow: 0 8px 28px -18px rgba(21,51,10,.45); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); transition: height .4s var(--ease); }
.site-header.is-scrolled .header-inner { height: 68px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 68px; width: auto; transition: height .4s var(--ease); }
.site-header.is-scrolled .brand img { height: 54px; }

.main-nav ul { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.main-nav a {
  position: relative; text-decoration: none; color: var(--ink); font-size: .93rem; font-weight: 500; padding: 10px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav a:hover { color: var(--green-800); }
.main-nav a:hover::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }
.nav-mobile-cta { display: none; }

@media (max-width: 1060px) {
  .main-nav ul { gap: 16px; }
  .main-nav a { font-size: .88rem; }
}
@media (max-width: 960px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border: 1.5px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    display: block; width: 18px; height: 1.8px; background: var(--green-900); position: relative; transition: transform .3s var(--ease), background .2s;
  }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
  .nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] span { background: transparent; }
  .nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

  .js .main-nav {
    position: fixed; inset: 68px 0 auto 0; max-height: calc(100dvh - 68px); overflow-y: auto;
    background: var(--ivory-2); border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(21,51,10,.4);
    padding: 12px var(--gutter) 28px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .js .main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .js .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .main-nav li { border-bottom: 1px solid var(--line); }
  .js .main-nav a { display: block; padding: 16px 4px; font-size: 1.05rem; }
  .js .main-nav a::after { display: none; }
  .js .nav-mobile-cta { display: flex; margin-top: 20px; }
  .js .nav-mobile-cta .btn { width: 100%; }
  .header-cta .btn { display: none; }
  .site-header .header-inner { height: 72px; }
  .site-header.is-scrolled .header-inner { height: 68px; }
  .brand img, .site-header.is-scrolled .brand img { height: 54px; }
  /* no-JS: nav wraps below */
  html:not(.js) .header-inner { height: auto; flex-wrap: wrap; padding: 10px 0; }
  html:not(.js) .main-nav ul { flex-wrap: wrap; gap: 4px 16px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(64px, 9vw, 120px); overflow: hidden; background: linear-gradient(180deg, var(--ivory-2), var(--ivory)); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero-copy .lead { margin-bottom: 30px; }
.hero h1 em { color: var(--gold-text); font-weight: 400; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }
.hero-meta strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--green-900); }
.hero-visual { position: relative; }
.hero-arch {
  position: relative; border-radius: 180px 180px var(--radius-lg) var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--ivory-3); aspect-ratio: 1536 / 1100;
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.hero-badge {
  position: absolute; left: -24px; bottom: -34px; background: var(--paper); border-radius: 18px; padding: 16px 20px;
  box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; max-width: 280px;
}
.hero-badge img { width: 58px; height: 81px; object-fit: cover; border-radius: 6px; }
.hero-badge p { margin: 0; font-size: .86rem; line-height: 1.45; color: var(--ink-soft); }
.hero-badge strong { color: var(--green-900); font-weight: 500; display: block; font-size: .95rem; }
.hero-sprig { position: absolute; right: -30px; top: -34px; width: 150px; color: var(--gold); opacity: .8; pointer-events: none; }
.hero-ring { position: absolute; inset: auto -60px -60px auto; width: 280px; height: 280px; border: 1px solid rgba(201,138,28,.35); border-radius: 50%; pointer-events: none; z-index: -1; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .hero-arch { border-radius: 120px 120px var(--radius) var(--radius); }
  .hero-badge { left: 12px; bottom: -40px; }
  .hero-visual { margin-bottom: 40px; }
  .hero-sprig { right: -8px; width: 110px; }
}
@media (max-width: 560px) {
  .hero-badge { position: relative; left: auto; bottom: auto; margin: -36px 14px 0; max-width: none; }
  .hero-visual { margin-bottom: 0; }
}

/* ---------- Curved divider ---------- */
.curve { display: block; width: 100%; height: clamp(36px, 6vw, 80px); color: var(--ivory-2); }
.curve--flip { transform: scaleY(-1); }

/* ---------- Intro ---------- */
.intro { background: var(--ivory); padding-top: clamp(56px, 7vw, 96px); }
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro-quote {
  font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.3; color: var(--green-900); margin: 0;
}
.intro-quote em { color: var(--gold-text); }
.intro-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.intro-points li { padding-top: 18px; border-top: 1px solid var(--line); font-size: .93rem; color: var(--ink-soft); }
.intro-points strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; color: var(--green-900); margin-bottom: 4px; }
@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-points { grid-template-columns: 1fr; }
}

/* ---------- Collection ---------- */
.collection { background: var(--ivory-2); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.product-card {
  position: relative; display: flex; flex-direction: column; background: var(--paper);
  border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-stage {
  position: relative; padding: 28px 28px 0; background:
    radial-gradient(120% 80% at 50% 100%, rgba(201,138,28,.18), transparent 60%),
    linear-gradient(180deg, var(--ivory), var(--ivory-3));
  display: flex; justify-content: center; align-items: flex-end; aspect-ratio: 1 / 1.08; overflow: hidden;
}
.product-stage::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 18px; background: radial-gradient(50% 100% at 50% 100%, rgba(21,51,10,.28), transparent); }
.product-stage img {
  width: 74%; height: auto; border-radius: 4px 4px 0 0; box-shadow: 0 18px 30px -16px rgba(21,51,10,.55);
  transform-origin: 50% 100%; transition: transform .7s var(--ease); position: relative; z-index: 1;
}
.product-card:hover .product-stage img { transform: translateY(-6px) scale(1.03); }
.product-tag { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--green-800); color: var(--on-dark); font-size: .74rem; letter-spacing: .08em; padding: 4px 12px; border-radius: 99px; }
.product-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-body h3 { margin: 0; font-size: 1.3rem; }
.product-body p { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.product-actions { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.product-actions .btn { flex: 1 1 auto; }
@media (max-width: 1080px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-stage { aspect-ratio: auto; padding-top: 44px; }
  .product-stage img { width: 50%; }

}

/* ---------- Product dialog ---------- */
dialog { border: 0; padding: 0; color: var(--ink); }
.product-dialog {
  width: min(1040px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border-radius: var(--radius-lg);
  background: var(--paper); box-shadow: var(--shadow-lg); overflow: hidden;
}
.product-dialog::backdrop, .lightbox::backdrop { background: rgba(10, 22, 5, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.product-dialog[open], .lightbox[open] { animation: dialogIn .45s var(--ease); }
.product-dialog[open]::backdrop, .lightbox[open]::backdrop { animation: fadeIn .35s ease; }
@keyframes dialogIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.dialog-inner { display: grid; grid-template-columns: 1fr 1fr; max-height: calc(100dvh - 24px); }
.dialog-media { background: linear-gradient(180deg, var(--ivory), var(--ivory-3)); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.dialog-main-img { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; }
.dialog-main-img img { max-height: 58vh; width: auto; max-width: 100%; object-fit: contain; border-radius: 8px; box-shadow: var(--shadow); }
.dialog-thumbs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.dialog-thumbs button {
  width: 64px; height: 64px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--paper); cursor: pointer; opacity: .75; transition: opacity .2s, border-color .2s;
}
.dialog-thumbs button[aria-pressed="true"] { border-color: var(--green-800); opacity: 1; }
.dialog-thumbs button:hover { opacity: 1; }
.dialog-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.dialog-content { padding: clamp(24px, 3vw, 40px); overflow-y: auto; }
.dialog-content h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 8px; }
.dialog-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow);
}
.dialog-close svg { width: 20px; height: 20px; }
.spec-list { margin: 22px 0; border-top: 1px solid var(--line); }
.spec-list div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.spec-list dt { color: var(--gold-text); font-weight: 500; }
.spec-list dd { margin: 0; }
.dialog-note { font-size: .84rem; color: var(--ink-soft); background: var(--ivory); padding: 12px 14px; border-radius: 12px; }
@media (max-width: 760px) {
  .dialog-inner { grid-template-columns: 1fr; overflow-y: auto; }
  .dialog-media { padding: 64px 20px 20px; }
  .dialog-main-img img { max-height: 42vh; }
  .dialog-content { overflow: visible; }
  .spec-list div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Story (dark editorial) ---------- */
.story { background: var(--green-900); color: var(--on-dark); overflow: hidden; }
.story h2, .story h3 { color: var(--on-dark); }
.story .lead, .story p { color: var(--on-dark-soft); }
.story-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.story-row + .story-row { margin-top: clamp(64px, 9vw, 120px); }
.story-row--flip .story-media { order: 2; }
.story-media { position: relative; }
.story-media { margin: 0; }
.media-box { position: relative; z-index: 0; }
.story-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.story-media .frame { position: absolute; inset: 16px -16px -16px 16px; border: 1px solid rgba(226,183,101,.45); border-radius: var(--radius-lg); z-index: -1; }
.story-row--flip .story-media .frame { inset: 16px 16px -16px -16px; }
.story-media figcaption { margin-top: 14px; font-size: .8rem; color: var(--on-dark-soft); opacity: .85; }
.story .text-link { color: var(--gold-soft); }
.story .text-link:hover { color: var(--on-dark); }
.story-num { font-family: var(--serif); font-style: italic; color: var(--gold-soft); font-size: 1.1rem; margin-bottom: 8px; display: block; }
.story-leaf { position: absolute; right: -40px; top: 40px; width: 220px; color: rgba(226,183,101,.18); pointer-events: none; }
@media (max-width: 860px) {
  .story-row { grid-template-columns: 1fr; }
  .story-row--flip .story-media { order: 0; }
  .story-media .frame, .story-row--flip .story-media .frame { inset: 10px -8px -10px 8px; }
}

/* ---------- Inside the box ---------- */
.inside { background: var(--ivory-2); }
.inside-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.inside-photo { position: sticky; top: 100px; }
.inside-photo img { border-radius: 50% 50% var(--radius-lg) var(--radius-lg) / 38% 38% var(--radius-lg) var(--radius-lg); width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow-lg); }
.inside-photo p { font-size: .82rem; color: var(--ink-soft); margin-top: 14px; }
.contents-list { display: grid; gap: 14px; }
.contents-item {
  display: grid; grid-template-columns: 88px 1fr; gap: 20px; align-items: start; padding: 20px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line); scroll-margin-top: 100px;
}
.contents-item img { width: 88px; height: auto; border-radius: 4px; box-shadow: 0 8px 16px -10px rgba(21,51,10,.5); }
.contents-item h3 { font-size: 1.2rem; margin-bottom: 6px; }
.contents-item dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: .9rem; }
.contents-item dt { color: var(--gold-text); font-weight: 500; }
.contents-item dd { margin: 0; color: var(--ink-soft); }
.shared-notes { margin-top: 18px; padding: 22px; border-radius: var(--radius); background: var(--ivory); border: 1px dashed rgba(135,87,9,.35); font-size: .9rem; color: var(--ink-soft); }
.shared-notes h3 { font-size: 1.1rem; }
.shared-notes ul { display: grid; gap: 8px; }
.shared-notes li { padding-left: 22px; position: relative; }
.shared-notes li::before { content: ""; position: absolute; left: 4px; top: .75em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
@media (max-width: 860px) {
  .inside-grid { grid-template-columns: 1fr; }
  .inside-photo { position: static; max-width: 460px; }
}
@media (max-width: 420px) {
  .contents-item { grid-template-columns: 64px 1fr; gap: 14px; padding: 16px; }
  .contents-item img { width: 64px; }
  .contents-item dl { grid-template-columns: 1fr; gap: 0; }
  .contents-item dd { margin-bottom: 6px; }
}

/* ---------- Packaging showcase ---------- */
.packaging { background: var(--ivory); overflow: hidden; }
.pack-layout { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: center; }
.pack-main { grid-column: 1 / span 7; }
.pack-main img, .pack-side img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.pack-copy { grid-column: 8 / span 5; }
.pack-features { display: grid; gap: 18px; margin-top: 26px; }
.pack-features li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; font-size: .93rem; color: var(--ink-soft); }
.pack-features strong { display: block; color: var(--green-900); font-weight: 500; font-size: 1rem; }
.pack-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(201,138,28,.5); color: var(--gold-text); }
.pack-icon svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .pack-main, .pack-copy { grid-column: 1 / -1; }
}

/* ---------- Occasions ---------- */
.occasions { background: var(--ivory-2); }
.occasion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.occasion {
  padding: 30px 28px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s;
}
.occasion:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.occasion--feature { background: var(--green-800); color: var(--on-dark); border-color: var(--green-800); }
.occasion.occasion--feature h3 { color: var(--on-dark); }
.occasion.occasion--feature p { color: var(--on-dark-soft); }
.occasion-mark { font-family: var(--serif); font-style: italic; color: var(--gold-text); font-size: .95rem; margin-bottom: 14px; display: block; }
.occasion--feature .occasion-mark { color: var(--gold-soft); }
.occasion h3 { font-size: 1.35rem; }
.occasion p { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.occasion-note { margin-top: 28px; font-size: .88rem; color: var(--ink-soft); text-align: center; }
@media (max-width: 980px) {
  .occasion-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) { .occasion-grid { grid-template-columns: 1fr; } }

/* ---------- Corporate ---------- */
.corporate { background: var(--ivory-2); padding-top: 0; }
.corp-card {
  position: relative; overflow: hidden; border-radius: clamp(24px, 4vw, 40px); background: var(--green-900); color: var(--on-dark);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); padding: clamp(32px, 6vw, 72px);
}
.corp-card h2 { color: var(--on-dark); }
.corp-card p { color: var(--on-dark-soft); }
.corp-list { display: grid; gap: 12px; margin: 26px 0 32px; }
.corp-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-dark); font-size: .95rem; }
.corp-list svg { width: 20px; height: 20px; flex: none; color: var(--gold-soft); margin-top: 4px; }
.corp-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.corp-stack { position: relative; width: 100%; max-width: 360px; aspect-ratio: 1 / 1.05; }
.corp-stack img { position: absolute; width: 48%; border-radius: 4px; box-shadow: 0 24px 36px -18px rgba(0,0,0,.6); transition: transform .8s var(--ease); }
.corp-stack img:nth-child(1) { left: 0; top: 12%; transform: rotate(-7deg); }
.corp-stack img:nth-child(2) { left: 26%; top: 0; z-index: 2; }
.corp-stack img:nth-child(3) { right: 0; top: 14%; transform: rotate(7deg); z-index: 1; }
.corp-card:hover .corp-stack img:nth-child(1) { transform: rotate(-10deg) translateX(-6px); }
.corp-card:hover .corp-stack img:nth-child(3) { transform: rotate(10deg) translateX(6px); }
.corp-ring { position: absolute; width: 520px; height: 520px; right: -160px; bottom: -220px; border-radius: 50%; border: 1px solid rgba(226,183,101,.22); pointer-events: none; }
.corp-ring::after { content: ""; position: absolute; inset: 40px; border-radius: 50%; border: 1px solid rgba(226,183,101,.14); }
@media (max-width: 860px) {
  .corp-card { grid-template-columns: 1fr; }
  .corp-visual { order: -1; }
  .corp-stack { max-width: 280px; }
}

/* ---------- Gallery ---------- */
.gallery { background: var(--ivory); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; grid-auto-flow: dense; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ivory-3); }
.gallery-item.w2 { grid-column: span 2; }
.gallery-item.h2 { grid-row: span 2; }
.gallery-item button, .gallery-item a { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.gallery-item.contain img { object-fit: contain; background: var(--paper); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .g-cap {
  position: absolute; left: 12px; bottom: 12px; right: 12px; background: rgba(251,245,236,.92); color: var(--green-900);
  font-size: .8rem; padding: 6px 12px; border-radius: 99px; width: fit-content; max-width: calc(100% - 24px);
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease); pointer-events: none;
}
.gallery-item:hover .g-cap, .gallery-item:focus-within .g-cap { opacity: 1; transform: none; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 480px) { .gallery-grid { grid-auto-rows: 150px; gap: 10px; } .gallery-item .g-cap { display: none; } }
@media (hover: none) { .gallery-item .g-cap { opacity: 1; transform: none; } }

.lightbox { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; background: transparent; }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; padding: 64px 72px 20px; }
.lightbox figure { margin: 0; display: grid; grid-template-rows: 1fr auto; min-height: 0; height: 100%; }
.lightbox-img-wrap { min-height: 0; display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
.lightbox figcaption { color: var(--on-dark); text-align: center; padding-top: 14px; font-size: .92rem; }
.lb-count { color: var(--on-dark-soft); font-size: .82rem; display: block; }
.lb-btn {
  position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(247,235,219,.4); background: rgba(15,38,7,.6);
  color: var(--on-dark); cursor: pointer; display: grid; place-items: center; transition: background .2s;
}
.lb-btn:hover { background: var(--green-700); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox-inner { padding: 70px 12px 84px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 62px); } .lb-next { right: calc(50% - 62px); }
}

/* ---------- Licence ---------- */
.licence { background: var(--ivory-2); }
.licence-card { display: grid; grid-template-columns: .8fr 1.2fr; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.licence-side { background: var(--ivory); padding: clamp(28px, 4vw, 48px); border-right: 1px solid var(--line); }
.licence-num { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--green-900); letter-spacing: .04em; margin: 6px 0 14px; word-break: break-all; font-variant-numeric: lining-nums; }
.licence-label { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; }
.licence-main { padding: clamp(28px, 4vw, 48px); }
.licence-main dl { margin: 0; display: grid; gap: 0; }
.licence-main dl > div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.licence-main dt { color: var(--gold-text); font-weight: 500; }
.licence-main dd { margin: 0; }
.licence-disclaimer { font-size: .84rem; color: var(--ink-soft); margin-top: 20px; }
@media (max-width: 860px) {
  .licence-card { grid-template-columns: 1fr; }
  .licence-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .licence-main dl > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--ivory); }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-aside { position: sticky; top: 110px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0; font-family: var(--sans); font-size: 1.02rem; font-weight: 500; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left;
  background: none; border: 0; padding: 22px 4px; cursor: pointer; color: var(--green-900); min-height: 56px;
}
.faq-q:hover { color: var(--gold-text); }
.faq-icon { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 4px 22px; margin: 0; color: var(--ink-soft); max-width: 62ch; }
.js .faq-a[hidden] { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .45s var(--ease), visibility 0s linear .45s; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-aside { position: static; } }

/* ---------- Enquiry ---------- */
.enquire { background: var(--green-900); color: var(--on-dark); overflow: hidden; }
.enquire h2 { color: var(--on-dark); }
.enquire .lead { color: var(--on-dark-soft); }
.enquire-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.enquire-contact { display: grid; gap: 16px; margin-top: 30px; }
.enquire-contact a { color: var(--on-dark); text-decoration: none; display: inline-flex; gap: 12px; align-items: center; min-height: 44px; }
.enquire-contact a:hover { color: var(--gold-soft); }
.enquire-contact svg { width: 20px; height: 20px; color: var(--gold-soft); flex: none; }
.form-card { background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 44px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 500; color: var(--green-900); }
.field .req { color: var(--danger); }
.field .opt { color: var(--ink-soft); font-weight: 400; font-size: .8rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid rgba(30,58,15,.22);
  background: var(--ivory-2); transition: border-color .2s, box-shadow .2s, background-color .2s; font-size: 1rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231e3a0f' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(30,58,15,.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-800); box-shadow: 0 0 0 4px rgba(201,138,28,.28); background: #fff; }
.field [aria-invalid="true"] { border-color: var(--danger); background: #fff6f4; }
.field-hint { font-size: .8rem; color: var(--ink-soft); }
.field-error { font-size: .84rem; color: var(--danger); font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }
.form-summary { grid-column: 1 / -1; background: #fff1ee; border: 1px solid rgba(163,38,27,.35); color: var(--danger); border-radius: 12px; padding: 12px 16px; font-size: .9rem; }
.form-summary[hidden] { display: none; }
.form-submit { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 8px; }
.form-submit p { margin: 0; font-size: .86rem; color: var(--ink-soft); flex: 1 1 240px; }
.form-result { grid-column: 1 / -1; margin-top: 8px; padding: 20px; border-radius: 16px; background: var(--ivory); border: 1px solid var(--line); }
.form-result[hidden] { display: none; }
.form-result h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 500; margin-bottom: 6px; }
.form-result p { font-size: .9rem; color: var(--ink-soft); }
.form-result textarea { width: 100%; min-height: 160px; font-size: .88rem; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; resize: vertical; margin: 8px 0 12px; }
.copy-status { font-size: .86rem; color: var(--green-800); font-weight: 500; }
.noscript-note { background: var(--ivory); color: var(--ink); padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-size: .92rem; }
@media (max-width: 860px) { .enquire-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-submit .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: var(--on-dark-soft); padding: clamp(56px, 8vw, 88px) 0 32px; font-size: .92rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr 1.1fr; gap: clamp(28px, 4vw, 48px); }
.footer-logo { display: inline-block; background: var(--ivory); border-radius: 20px; padding: 14px 20px; margin-bottom: 18px; }
.footer-logo img { height: 96px; width: auto; }
.site-footer h2 { font-family: var(--sans); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); font-weight: 500; margin-bottom: 16px; }
.footer-links { display: grid; gap: 4px; }
.footer-links a { display: inline-block; padding: 6px 0; }
.footer-contact { display: grid; gap: 12px; font-style: normal; }
.privacy { margin-top: clamp(40px, 6vw, 64px); padding: 24px; border: 1px solid rgba(247,235,219,.14); border-radius: var(--radius); scroll-margin-top: 90px; }
.privacy h2 { margin-bottom: 10px; }
.privacy p { margin: 0 0 8px; font-size: .86rem; max-width: 100ch; }
.footer-bottom { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(247,235,219,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating / sticky WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80; display: inline-flex; align-items: center; gap: 10px;
  background: var(--green-800); color: var(--on-dark); text-decoration: none; border-radius: 999px; padding: 0 20px 0 16px; height: 56px;
  box-shadow: 0 16px 30px -12px rgba(15,38,7,.6); border: 1.5px solid rgba(226,183,101,.55);
  transition: transform .35s var(--ease), background-color .25s, opacity .3s;
}
.wa-float:hover { color: var(--on-dark); background: var(--green-700); transform: translateY(-3px); }
.wa-float svg { width: 24px; height: 24px; }
.wa-float span { font-weight: 500; font-size: .92rem; }
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .wa-float { display: none; }
  .mobile-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(251,245,236,.96);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
    transition: transform .4s var(--ease);
  }
  .mobile-cta .btn { flex: 1; min-height: 48px; }
  .mobile-cta.is-hidden { transform: translateY(110%); }
  body { padding-bottom: 76px; }
}

/* ---------- Decorative ---------- */
.sprig { display: block; }
.divider-ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin: 0 auto 20px; }
.divider-ornament::before, .divider-ornament::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .6; }
.divider-ornament svg { width: 18px; height: 18px; }

/* ---------- Reveal animations (JS only) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-fade { opacity: 0; transition: opacity 1.1s ease; transition-delay: var(--d, 0ms); }
.js .reveal-fade.is-visible { opacity: 1; }
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }
.hero-arch { animation: archIn 1.2s var(--ease) both .1s; }
.hero-badge { animation: rise 1s var(--ease) both .6s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes archIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.sway { animation: sway 9s ease-in-out infinite alternate; transform-origin: 90% 10%; }
@keyframes sway { from { transform: rotate(-2deg); } to { transform: rotate(3deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .js .reveal, .js .reveal-fade { opacity: 1; transform: none; }
  .product-card:hover, .occasion:hover, .btn:hover, .wa-float:hover { transform: none; }
  .product-card:hover .product-stage img, .gallery-item:hover img { transform: none; }
}

@media print {
  .site-header, .wa-float, .mobile-cta, .form-card, .lightbox, .product-dialog { display: none !important; }
  body { background: #fff; }
}
