@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/fraunces-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/fraunces-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/fraunces-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/fraunces-600.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/plex-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/plex-mono-500.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/plex-sans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/plex-sans-500.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/plex-sans-600.woff2') format('woff2');
}

:root{
    --green-950:#0F1E18;
    --green-800:#1C3A2C;
    --green-700:#254B39;
    --green-600:#2F5F48;
    --green-500:#3C7458;

    --gold-600:#A9871E;
    --gold-700:#7A5F16;
    --gold-500:#C6A227;
    --gold-300:#DEC26A;
    --gold-100:#F0E4C2;

    --cream-50:#F7F4EB;
    --cream-100:#EFE9D8;
    --ink-900:#13201A;
    --ink-700:#3A473F;

    --line-on-dark: rgba(247,244,235,0.14);
    --line-on-light: rgba(19,32,26,0.12);

    --radius-sm: 10px;
    --radius-md: 20px;
    --radius-lg: 40px;
    --radius-pill: 999px;

    --font-display: 'Fraunces', serif;
    --font-body: 'IBM Plex Sans', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    --wrap: 1180px;
  }

  *{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  @media (prefers-reduced-motion: reduce){
    html{ scroll-behavior:auto; }
    *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
  }

  body{
    margin:0;
    font-family:var(--font-body);
    background:var(--cream-50);
    color:var(--ink-900);
    -webkit-font-smoothing:antialiased;
  }

  img,svg{ display:block; max-width:100%; }
  a{ color:inherit; text-decoration:none; }
  ul{ margin:0; padding:0; list-style:none; }
  h1,h2,h3,p{ margin:0; }

  .wrap{ max-width:var(--wrap); margin:0 auto; padding:0 28px; }

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

  /* ---------- Eyebrow / small labels ---------- */
  .eyebrow{
    font-family:var(--font-mono);
    font-size:12.5px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--gold-700);
  }
  .eyebrow.on-dark{ color:var(--gold-300); }

  /* ---------- Buttons ---------- */
  .btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:13px 24px;
    border-radius:var(--radius-pill);
    font-family:var(--font-body);
    font-weight:600;
    font-size:14.5px;
    letter-spacing:0.01em;
    white-space:nowrap;
    transition:transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    border:1.5px solid transparent;
  }
  .btn:hover{ transform:translateY(-1px); }
  .btn-solid{
    background:var(--gold-500);
    color:var(--green-950);
  }
  .btn-solid:hover{ background:var(--gold-300); }
  .btn-ghost-dark{
    border-color: var(--line-on-dark);
    color:var(--cream-50);
  }
  .btn-ghost-dark:hover{ border-color:var(--gold-300); color:var(--gold-300); }
  .btn-ghost-light{
    border-color:var(--line-on-light);
    color:var(--ink-900);
  }
  .btn-ghost-light:hover{ border-color:var(--green-700); }

  /* ---------- Header ---------- */
  .site-header{
    position:sticky;
    top:0;
    z-index:50;
    background:rgba(247,244,235,0.92);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line-on-light);
  }
  .header-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:78px;
  }

  /*
    TODO(assem): Replace this placeholder wordmark treatment once the final
    S-curve wave logo mark is ready. A coded placeholder version of the mark
    is kept below in an HTML comment for later reference — search for
    "PLACEHOLDER WAVE MARK" to find and re-enable it.
  */
  .wordmark{
    font-family:var(--font-display);
    font-weight:600;
    font-size:24px;
    letter-spacing:0.01em;
    color:var(--green-800);
  }

  /*
    The coded placeholder wave-mark (SVG + its .brand styles) lives as a
    single self-contained HTML comment right above the header markup in
    the body, so it can be uncommented in one place once needed.
  */

  .main-nav{
    display:flex;
    align-items:center;
    gap:34px;
    font-size:14.5px;
    font-weight:500;
  }
  .main-nav a{ color:var(--ink-700); transition:color 0.15s ease; }
  .main-nav a:hover{ color:var(--green-800); }

  .mobile-panel{ display:contents; }
  .header-actions{ display:flex; align-items:center; gap:12px; }

  .nav-toggle{
    display:none;
    position:relative;
    z-index:60;
    flex-direction:column;
    justify-content:center;
    gap:5px;
    width:38px;
    height:38px;
    background:none;
    border:none;
    cursor:pointer;
  }
  .nav-toggle span{
    width:100%;
    height:2px;
    background:var(--ink-900);
    border-radius:2px;
    transition:transform 0.28s cubic-bezier(0.4,0,0.2,1), opacity 0.2s ease;
    transform-origin:center;
  }
  body.nav-open .nav-toggle span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2){ opacity:0; }
  body.nav-open .nav-toggle span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

  /* ---------- Hero ---------- */
  .hero{
    position:relative;
    background:var(--green-950);
    color:var(--cream-50);
    overflow:hidden;
    padding:96px 0 120px;
  }
  .hero-inner{
    position:relative;
    z-index:2;
    max-width:760px;
  }
  .hero h1{
    font-family:var(--font-display);
    font-weight:500;
    font-size:clamp(40px, 6vw, 68px);
    line-height:1.08;
    letter-spacing:-0.01em;
    margin:18px 0 22px;
  }
  .hero p.lede{
    font-size:18px;
    line-height:1.6;
    color:rgba(247,244,235,0.78);
    max-width:560px;
  }
  .hero-ctas{
    display:flex;
    gap:14px;
    margin-top:36px;
    flex-wrap:wrap;
  }

  .hero-waves{
    position:absolute;
    inset:0;
    z-index:1;
    opacity:0.55;
  }

  .commodity-strip{
    position:relative;
    z-index:2;
    margin-top:72px;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
  }
  .commodity-chip{
    font-family:var(--font-mono);
    font-size:12.5px;
    letter-spacing:0.04em;
    padding:9px 16px;
    border:1px solid var(--line-on-dark);
    border-radius:var(--radius-pill);
    color:rgba(247,244,235,0.85);
  }

  /* ---------- Wave divider ---------- */
  .wave-divider{
    line-height:0;
    background:var(--green-950);
  }
  .wave-divider svg{ width:100%; height:auto; display:block; }

  /* ---------- Section basics ---------- */
  section{ padding:100px 0; }
  .section-head{ max-width:620px; margin-bottom:56px; }
  .section-head h2{
    font-family:var(--font-display);
    font-weight:500;
    font-size:clamp(28px, 3.4vw, 40px);
    line-height:1.15;
    margin-top:14px;
    color:var(--green-800);
  }
  .section-head p{
    margin-top:16px;
    font-size:16.5px;
    line-height:1.65;
    color:var(--ink-700);
  }

  /* ---------- About / philosophy ---------- */
  .about{ background:var(--cream-50); }
  .about-grid{
    display:grid;
    grid-template-columns:1.1fr 0.9fr;
    gap:64px;
    align-items:start;
  }
  .about-statement{
    font-family:var(--font-display);
    font-weight:400;
    font-size:clamp(22px, 2.6vw, 30px);
    line-height:1.4;
    color:var(--green-800);
  }
  .about-facts{
    display:flex;
    flex-direction:column;
    gap:0;
    border-top:1px solid var(--line-on-light);
  }
  .about-fact{
    padding:20px 0;
    border-bottom:1px solid var(--line-on-light);
  }
  .about-fact .label{
    font-family:var(--font-mono);
    font-size:12px;
    letter-spacing:0.08em;
    text-transform:uppercase;
    color:var(--gold-700);
  }
  .about-fact p{
    margin-top:8px;
    font-size:15.5px;
    line-height:1.55;
    color:var(--ink-700);
  }

  /* ---------- Commodities grid ---------- */
  .commodities{ background:var(--cream-100); }
  .commodities-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:22px;
  }
  .commodity-card{
    display:block;
    background:var(--cream-50);
    border:1px solid var(--line-on-light);
    border-radius:var(--radius-md);
    padding:0;
    overflow:hidden;
    transition:transform 0.2s ease, border-color 0.2s ease;
  }
  .commodity-card:hover{ transform:translateY(-3px); border-color:var(--gold-500); }
  .commodity-card:focus-visible{ outline:2px solid var(--gold-500); outline-offset:2px; }
  .commodity-card-art{
    height:120px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--cream-100);
    border-bottom:1px solid var(--line-on-light);
  }
  .commodity-card-art svg{ width:100%; height:100%; max-width:110px; }
  .commodity-card-body{ padding:26px 28px 28px; }
  .commodity-card h3{
    font-family:var(--font-display);
    font-weight:500;
    font-size:20px;
    color:var(--green-800);
  }
  .commodity-card p{
    margin-top:10px;
    font-size:14.5px;
    line-height:1.6;
    color:var(--ink-700);
  }
  .commodity-card.span-2{ grid-column:span 1; }

  /* ---------- Process ---------- */
  .process{ background:var(--cream-50); }
  .process-list{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:2px;
    background:var(--line-on-light);
    border:1px solid var(--line-on-light);
    border-radius:var(--radius-md);
    overflow:hidden;
  }
  .process-step{
    background:var(--cream-50);
    padding:36px 28px;
  }
  .process-step .num{
    font-family:var(--font-mono);
    font-size:13px;
    color:var(--gold-700);
  }
  .process-step h3{
    font-family:var(--font-display);
    font-weight:500;
    font-size:18.5px;
    margin-top:16px;
    color:var(--green-800);
  }
  .process-step p{
    margin-top:10px;
    font-size:14px;
    line-height:1.6;
    color:var(--ink-700);
  }

  /* ---------- Quality ---------- */
  .quality{
    background:var(--green-950);
    color:var(--cream-50);
  }
  .quality .section-head h2{ color:var(--cream-50); }
  .quality .section-head p{ color:rgba(247,244,235,0.72); }
  .quality-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:1px;
    background:var(--line-on-dark);
    border:1px solid var(--line-on-dark);
    border-radius:var(--radius-md);
    overflow:hidden;
  }
  .quality-item{
    background:var(--green-800);
    padding:30px 26px;
  }
  .quality-item h3{
    font-family:var(--font-body);
    font-weight:600;
    font-size:15.5px;
    color:var(--gold-300);
  }
  .quality-item p{
    margin-top:10px;
    font-size:14px;
    line-height:1.6;
    color:rgba(247,244,235,0.78);
  }

  /* ---------- Kotof teaser ---------- */
  .kotof{ background:var(--cream-100); }
  .kotof-card{
    background:var(--cream-50);
    border:1.5px dashed var(--gold-500);
    border-radius:var(--radius-lg);
    padding:56px;
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:40px;
  }
  .kotof-card .eyebrow{ margin-bottom:14px; }
  .kotof-card h2{
    font-family:var(--font-display);
    font-weight:500;
    font-size:clamp(26px, 3vw, 34px);
    color:var(--green-800);
  }
  .kotof-card p{
    margin-top:14px;
    font-size:15.5px;
    line-height:1.6;
    color:var(--ink-700);
    max-width:480px;
  }
  .kotof-status{
    font-family:var(--font-mono);
    font-size:12.5px;
    letter-spacing:0.06em;
    text-transform:uppercase;
    background:var(--green-800);
    color:var(--gold-300);
    padding:10px 18px;
    border-radius:var(--radius-pill);
    white-space:nowrap;
  }

  /* ---------- Contact ---------- */
  .contact{ background:var(--cream-50); }
  .contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:64px;
  }
  .contact-channels{
    display:flex;
    flex-direction:column;
    gap:0;
    border-top:1px solid var(--line-on-light);
  }
  .contact-channel{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:22px 0;
    border-bottom:1px solid var(--line-on-light);
  }
  .contact-channel .label{
    font-size:15.5px;
    font-weight:500;
    color:var(--ink-900);
  }
  .contact-channel .value{
    font-family:var(--font-mono);
    font-size:14px;
    color:var(--green-700);
  }
  .contact-note{
    font-size:15px;
    line-height:1.7;
    color:var(--ink-700);
  }
  .social-row{
    display:flex;
    gap:12px;
    margin-top:28px;
  }
  .social-row a{
    width:42px; height:42px;
    display:flex; align-items:center; justify-content:center;
    border:1px solid var(--line-on-light);
    border-radius:var(--radius-pill);
    transition:border-color 0.15s ease, background 0.15s ease;
  }
  .social-row a:hover{ border-color:var(--green-700); background:var(--cream-100); }
  .social-row svg{ width:18px; height:18px; color:var(--green-800); }

  /* ---------- Footer ---------- */
  .site-footer{
    background:var(--green-950);
    color:rgba(247,244,235,0.7);
    padding:64px 0 32px;
  }
  .footer-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    flex-wrap:wrap;
    gap:40px;
    padding-bottom:40px;
    border-bottom:1px solid var(--line-on-dark);
  }
  .footer-brand .wordmark{ color:var(--cream-50); }
  .footer-brand p{
    margin-top:14px;
    font-size:14px;
    line-height:1.65;
    max-width:340px;
    color:rgba(247,244,235,0.65);
  }
  .footer-nav{ display:flex; gap:56px; flex-wrap:wrap; }
  .footer-nav-col h4{
    font-family:var(--font-mono);
    font-size:12px;
    letter-spacing:0.08em;
    text-transform:uppercase;
    color:var(--gold-300);
    margin-bottom:16px;
  }
  .footer-nav-col a{
    display:block;
    font-size:14.5px;
    color:rgba(247,244,235,0.75);
    padding:6px 0;
  }
  .footer-nav-col a:hover{ color:var(--gold-300); }
  .footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
    padding-top:28px;
    font-size:13px;
    color:rgba(247,244,235,0.5);
  }

  /* ---------- Reveal on scroll ---------- */
  .reveal{ opacity:0; transform:translateY(18px); transition:opacity 0.6s ease, transform 0.6s ease; }
  .reveal.is-visible{ opacity:1; transform:translateY(0); }

  /* ---------- Mobile nav backdrop ---------- */
  .nav-backdrop{
    display:none;
    position:fixed;
    inset:0;
    top:78px;
    background:rgba(15,30,24,0.28);
    opacity:0;
    pointer-events:none;
    transition:opacity 0.28s ease;
    z-index:40;
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 900px){
    .header-actions{ display:none; }
    .nav-toggle{ display:flex; }

    .mobile-panel{
      display:block;
      position:absolute;
      top:78px; left:0; right:0;
      z-index:55;
      background:var(--cream-50);
      border-bottom:1px solid var(--line-on-light);
      max-height:0;
      overflow:hidden;
      opacity:0;
      transform:translateY(-6px);
      transition:max-height 0.32s cubic-bezier(0.4,0,0.2,1), opacity 0.24s ease, transform 0.32s cubic-bezier(0.4,0,0.2,1);
    }
    .main-nav{
      display:flex;
      flex-direction:column;
      align-items:flex-start;
      gap:0;
      padding:8px 28px 4px;
    }
    .main-nav a{ padding:14px 0; width:100%; border-bottom:1px solid var(--line-on-light); }
    .mobile-panel .header-actions{
      display:flex;
      flex-direction:column;
      align-items:stretch;
      gap:10px;
      padding:20px 28px 28px;
    }
    .mobile-panel .header-actions .btn{ justify-content:center; }

    body.nav-open .mobile-panel{
      max-height:520px;
      opacity:1;
      transform:translateY(0);
    }
    body.nav-open .nav-backdrop{
      display:block;
      opacity:1;
      pointer-events:auto;
    }

    .about-grid, .contact-grid{ grid-template-columns:1fr; }
    .commodities-grid{ grid-template-columns:repeat(2, 1fr); }
    .process-list{ grid-template-columns:repeat(2, 1fr); }
    .quality-grid{ grid-template-columns:1fr; }
    .kotof-card{ grid-template-columns:1fr; text-align:left; }
  }
  @media (max-width: 560px){
    .commodities-grid{ grid-template-columns:1fr; }
    .process-list{ grid-template-columns:1fr; }
    section{ padding:72px 0; }
  }

  @media (prefers-reduced-motion: reduce){
    .mobile-panel, .nav-backdrop, .nav-toggle span{ transition:none !important; }
  }

/* =========================================================
   Shared internal-page header band (Products / Certificates / Contact)
   ========================================================= */
.page-header{
  position:relative;
  background:var(--green-950);
  color:var(--cream-50);
  overflow:hidden;
  padding:64px 0 56px;
}
.page-header .wrap{ position:relative; z-index:2; }
.page-header h1{
  font-family:var(--font-display);
  font-weight:500;
  font-size:clamp(32px, 4.6vw, 48px);
  line-height:1.12;
  margin:16px 0 14px;
}
.page-header p{
  font-size:16.5px;
  line-height:1.6;
  color:rgba(247,244,235,0.75);
  max-width:560px;
}
.page-header .hero-waves{ opacity:0.5; }

/* =========================================================
   Products page — filter bar + product cards
   ========================================================= */
.products-section{ background:var(--cream-50); }

.filter-bar{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:44px;
}
.filter-chip{
  font-family:var(--font-body);
  font-weight:600;
  font-size:14px;
  padding:11px 20px;
  border-radius:var(--radius-pill);
  border:1.5px solid var(--line-on-light);
  background:transparent;
  color:var(--ink-900);
  cursor:pointer;
  transition:background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.filter-chip:hover{ border-color:var(--green-700); transform:translateY(-1px); }
.filter-chip[aria-pressed="true"]{
  background:var(--green-800);
  border-color:var(--green-800);
  color:var(--cream-50);
}
.filter-clear{
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:var(--ink-700);
  background:none;
  border:none;
  cursor:pointer;
  padding:11px 8px;
  text-decoration:underline;
  text-underline-offset:3px;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.15s ease;
}
.filter-clear.is-active{ opacity:1; pointer-events:auto; }

.products-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
}
.product-card{
  background:var(--cream-100);
  border:1px solid var(--line-on-light);
  border-radius:var(--radius-md);
  padding:0;
  overflow:hidden;
  cursor:pointer;
  transition:transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.product-card:hover{ transform:translateY(-3px); border-color:var(--gold-500); }
.product-card:focus-visible{ outline:2px solid var(--gold-500); outline-offset:2px; }
.product-card-art{
  height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--cream-50);
  border-bottom:1px solid var(--line-on-light);
}
.product-card-art svg{ width:100%; height:100%; max-width:130px; }
.product-card-body{ padding:26px; }
.product-card-cta{
  display:inline-block;
  margin-top:14px;
  font-size:13px;
  font-weight:600;
  color:var(--green-700);
  transition:color 0.15s ease;
}
.product-card:hover .product-card-cta{ color:var(--gold-700); }
.product-tag{
  display:inline-block;
  font-family:var(--font-mono);
  font-size:11.5px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--gold-700);
  background:var(--cream-50);
  border:1px solid var(--line-on-light);
  border-radius:var(--radius-pill);
  padding:5px 12px;
  margin-bottom:16px;
}
.product-card h3{
  font-family:var(--font-display);
  font-weight:500;
  font-size:19px;
  color:var(--green-800);
}
.product-card p{
  margin-top:8px;
  font-size:14.5px;
  line-height:1.6;
  color:var(--ink-700);
}
.products-empty{
  display:none;
  padding:60px 0;
  text-align:center;
  color:var(--ink-700);
  font-size:15.5px;
}
.products-empty.is-visible{ display:block; }

.products-note{
  margin-top:48px;
  padding-top:28px;
  border-top:1px solid var(--line-on-light);
  font-size:14px;
  line-height:1.6;
  color:var(--ink-700);
  max-width:640px;
}

/* =========================================================
   Certificates page
   ========================================================= */
.doc-section{ background:var(--cream-50); }
.doc-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:22px;
}
.doc-card{
  background:var(--cream-100);
  border:1px solid var(--line-on-light);
  border-radius:var(--radius-md);
  padding:32px;
}
.doc-card h3{
  font-family:var(--font-display);
  font-weight:500;
  font-size:19px;
  color:var(--green-800);
}
.doc-card p{
  margin-top:10px;
  font-size:14.5px;
  line-height:1.65;
  color:var(--ink-700);
}
.doc-list-section{ background:var(--green-950); color:var(--cream-50); }
.doc-list-section .section-head h2{ color:var(--cream-50); }
.doc-list-section .section-head p{ color:rgba(247,244,235,0.72); }
.doc-list{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:1px;
  background:var(--line-on-dark);
  border:1px solid var(--line-on-dark);
  border-radius:var(--radius-md);
  overflow:hidden;
}
.doc-list-item{
  background:var(--green-800);
  padding:26px 28px;
  display:flex;
  align-items:baseline;
  gap:14px;
}
.doc-list-item .doc-num{ font-family:var(--font-mono); font-size:13px; color:var(--gold-300); }
.doc-list-item p{ font-size:14.5px; line-height:1.6; color:rgba(247,244,235,0.85); margin:0; }
.doc-list-item strong{ color:var(--cream-50); }

/* =========================================================
   Contact page — form
   ========================================================= */
.contact-page-grid{
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:64px;
  align-items:start;
}
.form-card{
  background:var(--cream-100);
  border:1px solid var(--line-on-light);
  border-radius:var(--radius-md);
  padding:40px;
}
.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.form-group{
  margin-bottom:20px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.form-group label{
  font-size:13.5px;
  font-weight:600;
  color:var(--ink-900);
}
.form-group input,
.form-group select,
.form-group textarea{
  font-family:var(--font-body);
  font-size:15px;
  padding:13px 16px;
  border:1.5px solid var(--line-on-light);
  border-radius:var(--radius-sm);
  background:var(--cream-50);
  color:var(--ink-900);
  transition:border-color 0.15s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  outline:none;
  border-color:var(--gold-500);
}
.form-group textarea{ resize:vertical; min-height:120px; }
.form-honeypot{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}
.form-submit-row{
  display:flex;
  align-items:center;
  gap:16px;
  margin-top:8px;
}
.form-note{ font-size:13px; color:var(--ink-700); }

.form-success{
  display:none;
  text-align:center;
  padding:64px 40px;
}
.form-success.is-visible{ display:block; }
.form-success .icon-check{
  width:52px; height:52px;
  margin:0 auto 20px;
  color:var(--green-700);
}
.form-success h3{
  font-family:var(--font-display);
  font-weight:500;
  font-size:24px;
  color:var(--green-800);
}
.form-success p{
  margin-top:10px;
  font-size:15px;
  color:var(--ink-700);
}
.form-card.is-submitted .contact-form{ display:none; }

.contact-info-block{ margin-bottom:40px; }
.contact-info-block:last-child{ margin-bottom:0; }

/* =========================================================
   Responsive additions for new page types
   ========================================================= */
@media (max-width: 900px){
  .products-grid{ grid-template-columns:repeat(2, 1fr); }
  .doc-grid, .doc-list{ grid-template-columns:1fr; }
  .contact-page-grid{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
}
@media (max-width: 560px){
  .products-grid{ grid-template-columns:1fr; }
  .form-card{ padding:28px 22px; }
}

/* =========================================================
   Category description banner (Products page)
   ========================================================= */
.category-banner{
  display:flex;
  align-items:center;
  gap:28px;
  background:var(--cream-100);
  border:1px solid var(--line-on-light);
  border-radius:var(--radius-md);
  padding:28px 32px;
  margin-bottom:32px;
}
.category-banner[hidden]{ display:none; }
.category-banner-art{ flex:0 0 auto; width:84px; height:84px; }
.category-banner-art svg{ width:100%; height:100%; }
.category-banner p.eyebrow{ margin-bottom:8px; }
.category-banner-text p{
  font-size:15px;
  line-height:1.65;
  color:var(--ink-700);
  max-width:600px;
}
@media (max-width: 640px){
  .category-banner{ flex-direction:column; align-items:flex-start; }
}

/* =========================================================
   Product detail modal
   ========================================================= */
.product-modal-backdrop{
  position:fixed;
  inset:0;
  z-index:200;
  background:rgba(15,30,24,0.55);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.product-modal-backdrop[hidden]{ display:none; }
.product-modal{
  position:relative;
  background:var(--cream-50);
  border-radius:var(--radius-lg);
  max-width:720px;
  width:100%;
  max-height:88vh;
  overflow-y:auto;
  display:grid;
  grid-template-columns:260px 1fr;
}
.product-modal-art{
  background:var(--cream-100);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:32px;
}
.product-modal-art svg{ width:100%; height:auto; max-width:200px; }
.product-modal-body{ padding:44px 38px; }
.product-modal-close{
  position:absolute;
  top:18px; right:18px;
  width:36px; height:36px;
  border-radius:50%;
  border:1px solid var(--line-on-light);
  background:var(--cream-50);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  color:var(--ink-900);
  z-index:2;
  transition:border-color 0.15s ease, color 0.15s ease;
}
.product-modal-close svg{ width:16px; height:16px; }
.product-modal-close:hover{ border-color:var(--gold-500); color:var(--gold-700); }
.product-modal-body h3{
  font-family:var(--font-display);
  font-weight:500;
  font-size:24px;
  color:var(--green-800);
  margin-top:10px;
}
.product-modal-botanical{
  font-family:var(--font-mono);
  font-style:italic;
  font-size:13.5px;
  color:var(--ink-700);
  margin-top:4px;
}
.product-spec-table{ width:100%; border-collapse:collapse; margin-top:24px; }
.product-spec-table th{
  text-align:left;
  font-family:var(--font-mono);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:0.05em;
  color:var(--gold-700);
  font-weight:500;
  padding:10px 14px 10px 0;
  width:42%;
  vertical-align:top;
  border-bottom:1px solid var(--line-on-light);
}
.product-spec-table td{
  font-size:14px;
  color:var(--ink-900);
  padding:10px 0;
  border-bottom:1px solid var(--line-on-light);
}
.product-modal-desc{
  margin-top:22px;
  font-size:14.5px;
  line-height:1.65;
  color:var(--ink-700);
}
body.modal-open{ overflow:hidden; }

@media (max-width: 640px){
  .product-modal{ grid-template-columns:1fr; }
  .product-modal-art{ padding:24px; }
  .product-modal-body{ padding:32px 24px; }
}

/* =========================================================
   Sitewide background music toggle
   ========================================================= */
.music-toggle{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:80;
  width:52px;
  height:52px;
  border-radius:50%;
  background:var(--green-800);
  color:var(--cream-50);
  border:none;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 6px 20px rgba(15,30,24,0.28);
  transition:transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.music-toggle:hover{ transform:translateY(-2px); }
.music-toggle svg{ width:20px; height:20px; }
.music-toggle.is-playing{ background:var(--gold-500); color:var(--green-950); }
.music-toggle.is-playing::after{
  content:"";
  position:absolute;
  inset:-6px;
  border-radius:50%;
  border:1.5px solid var(--gold-300);
  animation:music-pulse 1.8s ease-out infinite;
}
@keyframes music-pulse{
  0%{ transform:scale(0.9); opacity:0.8; }
  100%{ transform:scale(1.35); opacity:0; }
}
@media (prefers-reduced-motion: reduce){
  .music-toggle.is-playing::after{ animation:none; }
}
@media (max-width: 560px){
  .music-toggle{ right:16px; bottom:16px; width:46px; height:46px; }
  .music-toggle svg{ width:18px; height:18px; }
}

/* =========================================================
   Hero slideshow (auto-rotating background, no manual controls)
   ========================================================= */
.hero-slideshow{ position:absolute; inset:0; z-index:1; }
.hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity 1.6s ease;
}
.hero-slide.is-active{ opacity:1; }
@media (prefers-reduced-motion: reduce){
  .hero-slide{ transition:none; }
}

/* =========================================================
   Legal / policy page prose layout
   ========================================================= */
.legal-section{ background:var(--cream-50); }
.legal-content{ max-width:760px; }
.legal-content .updated{
  display:block;
  font-family:var(--font-mono);
  font-size:12.5px;
  text-transform:uppercase;
  letter-spacing:0.05em;
  color:var(--ink-700);
  margin-bottom:36px;
}
.legal-content h2{
  font-family:var(--font-display);
  font-weight:500;
  font-size:22px;
  color:var(--green-800);
  margin-top:42px;
  margin-bottom:14px;
}
.legal-content h2:first-of-type{ margin-top:0; }
.legal-content p{
  font-size:15px;
  line-height:1.75;
  color:var(--ink-700);
  margin-bottom:14px;
}
.legal-content ul{ margin:0 0 14px; padding-left:22px; }
.legal-content li{
  font-size:15px;
  line-height:1.75;
  color:var(--ink-700);
  margin-bottom:6px;
}
.legal-content a{ color:var(--green-700); text-decoration:underline; text-underline-offset:2px; }

/* =========================================================
   Sitewide subtle grain texture
   ========================================================= */
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:3;
  pointer-events:none;
  background-image:url("../icons/grain.png");
  background-repeat:repeat;
  background-size:200px 200px;
  opacity:0.035;
  mix-blend-mode:overlay;
}

/* =========================================================
   Trade Process route animation (desktop only — see rationale
   in the build notes: doesn't map cleanly once steps wrap to
   2 or 1 columns on smaller screens)
   ========================================================= */
.process-wave{ display:none; }
@media (min-width: 901px){
  .process-wave{ display:block; height:44px; margin-bottom:6px; }
  .process-wave svg{ width:100%; height:100%; overflow:visible; }
  .process-wave-line{
    stroke-dasharray:1400;
    stroke-dashoffset:1400;
    transition:stroke-dashoffset 1.8s ease;
  }
  .process-wave-dot{ opacity:0; transition:opacity 0.4s ease; }
  .process-wave-dot:nth-of-type(1){ transition-delay:0.3s; }
  .process-wave-dot:nth-of-type(2){ transition-delay:0.7s; }
  .process-wave-dot:nth-of-type(3){ transition-delay:1.1s; }
  .process-wave-dot:nth-of-type(4){ transition-delay:1.5s; }
  .process-wave.is-visible .process-wave-line{ stroke-dashoffset:0; }
  .process-wave.is-visible .process-wave-dot{ opacity:1; }
}
@media (prefers-reduced-motion: reduce){
  .process-wave-line{ transition:none; stroke-dashoffset:0; }
  .process-wave-dot{ transition:none; opacity:1; }
}

/* =========================================================
   Skip-to-content link (visible on keyboard focus only)
   ========================================================= */
.skip-link{
  position:absolute;
  left:-9999px;
  top:0;
  z-index:300;
  background:var(--gold-500);
  color:var(--green-950);
  padding:12px 22px;
  border-radius:0 0 10px 0;
  font-weight:600;
  font-size:14px;
}
.skip-link:focus{
  left:0;
}
main:focus{ outline:none; }

/* =========================================================
   Active nav state
   ========================================================= */
.main-nav a[aria-current="page"]{
  color:var(--green-800);
  font-weight:600;
  position:relative;
}
.main-nav a[aria-current="page"]::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-6px;
  height:2px;
  background:var(--gold-500);
}
.site-header.nav-open .main-nav a[aria-current="page"]::after{
  bottom:2px;
}
