/* ===========================================================
   Vinoteka Zvijezda — Varaždin
   Stil: slavenski "cross-stitch" (vez), lan/kost pozadina,
   šumsko zelena + mjed + crveni vez, dijagonalne sekcije.
   =========================================================== */

:root{
  --forest: #1f3d2b;
  --forest-dark: #132a1c;
  --forest-light: #335c3f;
  --bone: #f3ecd9;
  --bone-dark: #e6dabd;
  --linen: #fbf6ea;
  --brass: #b8923f;
  --brass-light: #d9b35f;
  --brass-text: #6e5422;
  --red: #a3362b;
  --red-dark: #7c2520;
  --ink: #241a10;
  --white: #fffaf0;

  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --font-body: -apple-system, "Segoe UI", system-ui, Roboto, sans-serif;
  --font-label: "Consolas", "SFMono-Regular", Menlo, monospace;

  --radius: 2px;
  --shadow-paper: 0 18px 40px -20px rgba(19, 42, 28, .45), 0 2px 0 rgba(184, 146, 63, .15);
  --ease: cubic-bezier(.22,.8,.3,1);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html,body{ overflow-x: clip; }
body{
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: var(--forest); text-decoration: none; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  margin: 0 0 .5em;
  color: var(--forest-dark);
  line-height: 1.12;
}
p{ margin: 0 0 1em; }
ul{ margin: 0; padding: 0; }
button{ font-family: inherit; }

.visually-hidden{
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* honeypot */
.hp-field{
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

:focus-visible{
  outline: 3px solid var(--brass);
  outline-offset: 3px;
  border-radius: 1px;
}

.container{
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.label{
  font-family: var(--font-label);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass-text);
}

.btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  justify-content: center;
  padding: .85em 1.6em;
  min-height: 44px;
  border: 1.5px solid var(--forest);
  background: transparent;
  color: var(--forest-dark);
  font-family: var(--font-label);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.btn::before{
  content:"";
  position: absolute;
  inset: 0;
  left: -100%;
  width: 100%;
  background: var(--forest);
  z-index: -1;
  transition: left .35s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before{ left: 0; }
.btn:hover, .btn:focus-visible{ color: var(--white); }
.btn-primary{
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}
.btn-primary::before{ background: var(--brass); }
.btn-primary:hover{ color: var(--ink); }
.btn-ghost{ border-color: var(--bone-dark); color: var(--forest-dark); }
.btn-ghost::before{ background: var(--bone-dark); }
.btn-ghost:hover{ color: var(--ink); }
.btn-sm{ padding: .6em 1.1em; font-size: .74rem; }
.btn[disabled]{ opacity: .5; cursor: not-allowed; }

/* ===== Reveal on scroll ===== */
.reveal{ opacity: 1; }
.reveal.js-hidden{
  opacity: 0;
  transform: translateY(26px);
  clip-path: inset(0 0 18% 0);
}
.reveal.in-view{
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
  transition: opacity .7s var(--ease), transform .7s var(--ease), clip-path .7s var(--ease);
}
@media (prefers-reduced-motion: reduce){
  .reveal.js-hidden{ opacity: 1; transform: none; clip-path: none; }
  html{ scroll-behavior: auto; }
}

/* ===== Grain overlay ===== */
.grain{
  position: fixed;
  inset: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 500;
  opacity: .05;
  mix-blend-mode: multiply;
}

/* ===== Header ===== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 300;
  background: var(--linen);
  border-bottom: 1px solid var(--bone-dark);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 78px;
}
.brand{
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--forest-dark);
}
.brand-mark{ width: 42px; height: 42px; flex-shrink: 0; }
.brand-word{ width: 168px; height: 24px; }
.main-nav{ display: flex; align-items: center; gap: 1.8rem; }
.main-nav a{
  position: relative;
  font-family: var(--font-label);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--forest-dark);
  padding: .3em 0;
}
.main-nav a::after{
  content:"";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--red);
  transition: right .3s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after{ right: 0; }
.header-actions{ display: flex; align-items: center; gap: 1rem; }
.cart-link{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .4em .2em;
  color: var(--forest-dark);
}
.cart-link svg{ width: 24px; height: 24px; }
.cart-count{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-label);
  font-size: .68rem;
  transform: scale(1);
}
.cart-count.bump{ animation: bump .4s var(--ease); }
@keyframes bump{ 0%{transform:scale(1);} 40%{transform:scale(1.5);} 100%{transform:scale(1);} }

.menu-toggle{
  display: none;
  width: 44px; height: 44px;
  border: 1.5px solid var(--forest);
  background: transparent;
  position: relative;
  cursor: pointer;
}
.menu-toggle span{
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--forest-dark);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-toggle span:nth-child(1){ top: 15px; }
.menu-toggle span:nth-child(2){ top: 21px; }
.menu-toggle span:nth-child(3){ top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px){
  .main-nav{
    position: fixed;
    top: 78px; right: 0; bottom: 0;
    width: min(320px, 82vw);
    background: var(--linen);
    border-left: 1px solid var(--bone-dark);
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
    padding: 2.2rem 1.6rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .35s var(--ease), visibility .35s var(--ease);
    overflow-y: auto;
  }
  .main-nav.open{ transform: translateX(0); visibility: visible; }
  .menu-toggle{ display: block; }
}

/* ===== Footer ===== */
.site-footer{
  position: relative;
  background: var(--forest-dark);
  color: var(--bone);
  padding: 4.5rem 0 2rem;
  margin-top: 6rem;
}
.site-footer a{ color: var(--bone); opacity: .85; }
.site-footer a:hover{ opacity: 1; text-decoration: underline; }
.footer-divider{
  display: block;
  width: 100%;
  height: 18px;
  margin-bottom: -2px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  gap: 2.4rem;
}
.footer-grid h3{
  color: var(--brass-light);
  font-size: .95rem;
  font-family: var(--font-label);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-grid ul{ display: flex; flex-direction: column; gap: .55rem; }
.footer-brand .brand-mark{ width: 46px; height: 46px; }
.footer-brand p{ opacity: .75; max-width: 30ch; margin-top: 1rem; }
.newsletter-form{ display: flex; gap: .5rem; margin-top: .8rem; flex-wrap: wrap; }
.newsletter-form input[type="email"]{
  flex: 1;
  min-width: 160px;
  padding: .7em .9em;
  border: 1px solid rgba(243,236,217,.3);
  background: rgba(255,255,255,.05);
  color: var(--bone);
  border-radius: var(--radius);
}
.newsletter-form .btn{ border-color: var(--brass); color: var(--brass-light); }
.newsletter-form .btn::before{ background: var(--brass); }
.newsletter-form .btn:hover{ color: var(--forest-dark); }
.form-msg{ font-size: .85rem; margin-top: .6rem; min-height: 1.2em; }
.form-msg.ok{ color: var(--brass-light); }
.form-msg.err{ color: #e09b8f; }
.footer-bottom{
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(243,236,217,.15);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
  opacity: .7;
}
@media (max-width: 760px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* ===== Hero ===== */
.hero{
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--linen), var(--bone));
  padding: 4.5rem 0 7rem;
}
.hero .container{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.hero-blob{
  position: absolute;
  top: -10%;
  right: -8%;
  width: 640px;
  height: 640px;
  z-index: 0;
  opacity: .9;
}
.hero-figure{
  position: relative;
  z-index: 1;
}
.hero-figure img{
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  filter: sepia(.12) saturate(1.05);
  box-shadow: var(--shadow-paper);
}
.hero-ornament{
  position: absolute;
  bottom: -28px; left: -28px;
  width: 110px; height: 110px;
  z-index: 2;
}
.hero-copy{ position: relative; z-index: 1; }
.hero-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.2rem;
}
.hero-eyebrow svg{ width: 22px; height: 22px; }
.hero-title{
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin-bottom: .6em;
}
.hero-title em{
  font-style: normal;
  color: var(--red);
}
.hero-lede{
  max-width: 44ch;
  font-size: 1.1rem;
  color: var(--forest-dark);
}
.hero-cta{ display: flex; gap: 1rem; margin-top: 1.6rem; flex-wrap: wrap; }

@media (max-width: 860px){
  .hero .container{ grid-template-columns: 1fr; }
  .hero-figure{ order: -1; max-width: 360px; margin: 0 auto 1rem; }
  .hero-blob{ width: 420px; height: 420px; left: 50%; right: auto; transform: translateX(-50%); }
}

/* ===== Diagonal sections ===== */
.section{ position: relative; padding: 5.5rem 0; }
.section-angled{
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  margin-top: -3rem;
  padding-top: 7rem;
  padding-bottom: 7rem;
}
.section-forest{ background: var(--forest); color: var(--bone); }
.section-forest h2, .section-forest h3{ color: var(--white); }
.section-bone{ background: var(--bone-dark); }
.section-linen{ background: var(--linen); }

.section-head{ max-width: 56ch; margin-bottom: 2.6rem; }
.section-head .label{ display: block; margin-bottom: .6rem; }

/* ===== Vinski kompas ===== */
.kompas{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.kompas-group{ margin-bottom: 1.6rem; }
.kompas-group legend{
  font-family: var(--font-label);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: .8rem;
  padding: 0;
}
.kompas-options{ display: flex; flex-wrap: wrap; gap: .6rem; }
.kompas-options input{ position: absolute; opacity: 0; pointer-events: none; }
.kompas-options label{
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .5em 1.1em;
  border: 1.5px solid rgba(243,236,217,.35);
  border-radius: 999px;
  font-size: .9rem;
  color: var(--white);
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.kompas-options input:checked + label{
  background: var(--brass);
  border-color: var(--brass);
  color: var(--forest-dark);
}
.kompas-options label:hover{ border-color: var(--brass-light); }
.kompas-result{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(243,236,217,.2);
  border-radius: var(--radius);
  padding: 1.6rem;
  min-height: 220px;
}
.kompas-result-empty{ opacity: .6; font-size: .95rem; }
.kompas-pick{
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(243,236,217,.15);
}
.kompas-pick:last-child{ border-bottom: none; }
.kompas-pick img{
  width: 56px; height: 56px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.kompas-pick-name{ color: var(--white); font-weight: 600; }
.kompas-pick-meta{ font-size: .82rem; opacity: .7; }
.kompas-pick a{ margin-left: auto; color: var(--brass-light); font-family: var(--font-label); font-size: .78rem; text-transform: uppercase; }

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

/* ===== Cards / product grid ===== */
.product-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.8rem;
}
.filters{
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}
.filters button{
  min-height: 44px;
  padding: .5em 1.2em;
  border: 1.5px solid var(--forest);
  background: transparent;
  color: var(--forest-dark);
  font-family: var(--font-label);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 999px;
}
.filters button.active{ background: var(--forest); color: var(--white); }

.card{
  position: relative;
  background: var(--linen);
  border: 1px solid var(--bone-dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 24px -18px rgba(19,42,28,.4);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-paper); }
.card-figure{ aspect-ratio: 4/5; overflow: hidden; }
.card-figure img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-figure img{ transform: scale(1.08); }
.card-body{ padding: 1.2rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card-cat{ font-family: var(--font-label); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); }
.card-body h3{ font-size: 1.15rem; margin-bottom: .1em; }
.card-short{ font-size: .88rem; color: var(--forest-light); flex: 1; }
.card-foot{ display: flex; align-items: center; justify-content: space-between; margin-top: .4rem; }
.price{ font-family: var(--font-label); font-size: 1.05rem; color: var(--red-dark); }
.card a.card-link{ position: absolute; inset: 0; z-index: 2; }
.card .card-foot{ position: relative; z-index: 3; }

/* scroll-snap strip on mobile */
.strip{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 74%;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .6rem;
}
.strip .card{ scroll-snap-align: start; }
@media (min-width: 760px){
  .strip{ display: grid; grid-template-columns: repeat(4,1fr); grid-auto-flow: row; overflow: visible; }
}

/* ===== Dividers / ornaments ===== */
.divider{ display: block; width: 100%; height: 34px; }
.seal{ width: 120px; height: 120px; }

/* ===== Product page ===== */
.product-view{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.product-gallery img{
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-paper);
}
.product-meta .label{ margin-bottom: .6rem; display: block; }
.product-price{ font-family: var(--font-label); font-size: 2rem; color: var(--red-dark); margin: .4rem 0 1.2rem; }
.qty-row{ display: flex; align-items: center; gap: 1rem; margin: 1.4rem 0; }
.qty-control{ display: inline-flex; align-items: center; border: 1.5px solid var(--forest); border-radius: 999px; }
.qty-control button{ width: 40px; height: 40px; border: none; background: transparent; font-size: 1.1rem; cursor: pointer; color: var(--forest-dark); }
.qty-control input{ width: 44px; text-align: center; border: none; background: transparent; font-family: var(--font-label); font-size: 1rem; }
.product-tags{ display: flex; gap: .5rem; flex-wrap: wrap; margin: 1rem 0; }
.tag{ font-family: var(--font-label); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; padding: .3em .7em; border: 1px solid var(--bone-dark); border-radius: 999px; color: var(--forest-light); }
@media (max-width: 760px){ .product-view{ grid-template-columns: 1fr; } }

/* ===== Cart / checkout ===== */
.cart-table{ width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
.cart-table th{ text-align: left; font-family: var(--font-label); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brass); padding: .6em; border-bottom: 1px solid var(--bone-dark); }
.cart-table td{ padding: .9em .6em; border-bottom: 1px solid var(--bone-dark); vertical-align: middle; }
.cart-item-name{ display: flex; align-items: center; gap: .8rem; }
.cart-item-name img{ width: 54px; height: 54px; object-fit: cover; border-radius: var(--radius); }
.cart-remove{ background: none; border: none; color: var(--red-dark); cursor: pointer; font-family: var(--font-label); font-size: .75rem; text-transform: uppercase; min-height: 44px; }
.cart-empty{ text-align: center; padding: 3rem 1rem; }
.cart-layout{ display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
.summary-box{ background: var(--linen); border: 1px solid var(--bone-dark); border-radius: var(--radius); padding: 1.6rem; position: sticky; top: 100px; }
.summary-row{ display: flex; justify-content: space-between; padding: .5em 0; font-size: .95rem; }
.summary-row.total{ font-family: var(--font-label); font-size: 1.2rem; border-top: 1px solid var(--bone-dark); margin-top: .6rem; padding-top: .9rem; }
@media (max-width: 860px){ .cart-layout{ grid-template-columns: 1fr; } .cart-table{ font-size: .85rem; } }

/* ===== Forms ===== */
.form-grid{ display: grid; gap: 1.2rem; }
.form-row{ display: flex; flex-direction: column; gap: .4rem; }
.form-row.cols-2{ display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
label{ font-family: var(--font-label); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--forest-dark); }
input, textarea, select{
  font: inherit;
  padding: .75em .9em;
  border: 1.5px solid var(--bone-dark);
  background: var(--linen);
  border-radius: var(--radius);
  color: var(--ink);
  accent-color: var(--forest);
  min-height: 44px;
}
textarea{ min-height: 110px; resize: vertical; }
input:focus, textarea:focus, select:focus{ border-color: var(--forest); }
input:invalid:not(:placeholder-shown){ border-color: var(--red); }
.field-error{ color: var(--red-dark); font-size: .8rem; min-height: 1.1em; }
.radio-row{ display: flex; gap: 1.4rem; flex-wrap: wrap; }
.radio-row label{ display: flex; align-items: center; gap: .5em; text-transform: none; font-family: var(--font-body); font-size: .95rem; min-height: 44px; }
.radio-row input{ width: auto; min-height: auto; }
@media (max-width: 600px){ .form-row.cols-2{ grid-template-columns: 1fr; } }

.thank-you{
  display: none;
  padding: 2rem;
  border: 1.5px dashed var(--forest);
  border-radius: var(--radius);
  background: var(--linen);
  text-align: center;
}
.thank-you.show{ display: block; }

/* ===== FAQ accordion ===== */
.faq-item{ border-bottom: 1px solid var(--bone-dark); }
.faq-q{
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.3rem 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--forest-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 44px;
}
.faq-q svg{ width: 18px; height: 18px; flex-shrink: 0; transition: transform .3s var(--ease); color: var(--brass); }
.faq-item[data-open="true"] .faq-q svg{ transform: rotate(45deg); }
.faq-a{
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
  color: var(--forest-light);
}
.faq-a p{ padding-bottom: 1.3rem; }

/* ===== Legal pages ===== */
.legal-content h2{ margin-top: 2rem; font-size: 1.3rem; }
.legal-content p, .legal-content li{ color: var(--forest-dark); }
.legal-content ul{ padding-left: 1.4rem; margin-bottom: 1em; }
.legal-content li{ margin-bottom: .4em; }

/* ===== Cookie banner ===== */
.cookie-banner{
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 400;
  max-width: 640px;
  margin: 0 auto;
  background: var(--forest-dark);
  color: var(--bone);
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-paper);
  display: none;
}
.cookie-banner.show{ display: block; }
.cookie-banner p{ font-size: .9rem; margin-bottom: 1rem; }
.cookie-banner a{ color: var(--brass-light); text-decoration: underline; }
.cookie-actions{ display: flex; gap: .8rem; flex-wrap: wrap; }
.cookie-actions .btn-ghost{ border-color: rgba(243,236,217,.5); color: var(--bone); }
.cookie-actions .btn-ghost::before{ background: rgba(243,236,217,.2); }
.cookie-actions .btn-ghost:hover{ color: var(--white); }

/* ===== Page hero (non-home) ===== */
.page-hero{
  background: var(--forest);
  color: var(--bone);
  padding: 3.6rem 0 5.2rem;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}
.page-hero h1{ color: var(--white); font-size: clamp(2.1rem, 4.5vw, 3rem); }
.page-hero p{ max-width: 56ch; opacity: .85; }
.content-wrap{ padding: 4.5rem 0; }

/* ===== 404 ===== */
.error-wrap{ text-align: center; padding: 6rem 1rem; }
.error-wrap .seal{ margin: 0 auto 2rem; }

/* ===== misc helpers ===== */
.two-col{ display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
@media (max-width: 760px){ .two-col{ grid-template-columns: 1fr; } }
.stat-row{ display: flex; gap: 2.2rem; flex-wrap: wrap; margin-top: 1.4rem; }
.stat-row div{ font-family: var(--font-label); color: var(--brass); font-size: .8rem; text-transform: uppercase; }
.continuous-motif{
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 10px;
  overflow: hidden;
}
.continuous-motif svg{ height: 10px; width: 200%; animation: slide 24s linear infinite; }
@media (prefers-reduced-motion: reduce){ .continuous-motif svg{ animation: none; } }
@keyframes slide{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
