/* ============================================================
   REUSABLE UI COMPONENTS
   Navigation · Footer · Buttons · Badges · Product Card ·
   Process Strip · Ticker · Office Card · FAQ Accordion ·
   Inquiry Pills · Forms · Hero · CTA Block · Stats Bar ·
   Timeline · Principle Card · Story Section · Scroll Indicator
   ============================================================ */


/* ============================================================
   NAVIGATION
   ============================================================ */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding-block: 20px;
  transition:
    background     var(--dur-base) var(--ease-out),
    padding        var(--dur-base) var(--ease-out);
}

.site-nav.scrolled {
  background: rgba(13, 30, 18, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-block: 12px;
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  display: block;
  height: 72px;
  width: auto;
  transition: height var(--dur-base) var(--ease-out);
}

/* Smaller once the bar turns solid, so it stays clear of sticky content below */
.site-nav.scrolled .nav-logo img {
  height: 60px;
}

/* Link list */
.nav-links {
  list-style: none;
  display: flex;
  gap: var(--space-md);
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: var(--step-0);
  color: white;
  text-decoration: none;
  letter-spacing: 0.02em;
  opacity: 0.85;
  transition: opacity var(--dur-fast);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  opacity: 1;
}

.nav-links a[aria-current="page"] {
  font-weight: 500;
}

/* CTA pill in nav */
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: white;
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  text-decoration: none;
  transition: background var(--dur-base), color var(--dur-base), border-color var(--dur-base);
  white-space: nowrap;
}

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

/* Hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base);
}

/* Hamburger → × when open */
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Mobile navigation --- */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    touch-action: manipulation;
  }

  .nav-logo img {
    height: 56px;
  }

  /* Hide the desktop nav entirely on mobile — the mobile-nav overlay takes over */
  .site-nav__inner > nav {
    display: none;
  }
}


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--col-ground);
  color: var(--col-text-light);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: start;
  padding-bottom: var(--space-xl);
}

@media (min-width: 560px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 0.9fr 1fr 1.4fr;
    gap: var(--space-xl);
  }
}

/* Brand column */
.footer-brand {
  max-width: 260px;
}

.footer-brand__logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-brand p {
  opacity: 0.75;
  font-size: var(--step--1);
  line-height: 1.7;
}

/* Column headings */
.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: var(--space-sm);
}

/* Column link list */
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: var(--step-0);
  transition: color var(--dur-fast);
}

.footer-col a:hover {
  color: var(--col-accent);
}

/* Newsletter form */
.footer-newsletter form {
  display: flex;
  gap: var(--space-xs);
  margin-top: var(--space-xs);
}

.footer-newsletter input[type="email"] {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--col-border-dark);
  color: white;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  flex: 1;
  font-family: var(--font-body);
  font-size: var(--step--1);
  outline: none;
  transition: border-color var(--dur-fast);
}

.footer-newsletter input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.footer-newsletter input[type="email"]:focus {
  border-color: rgba(255, 255, 255, 0.3);
}

.footer-newsletter button {
  background: var(--col-cta);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.06em;
  font-size: var(--step--1);
  white-space: nowrap;
  transition: background var(--dur-fast);
}

.footer-newsletter button:hover {
  background: #af3b22;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid var(--col-border-dark);
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-bottom p {
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.4);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer-social .footer-social__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--dur-fast), border-color var(--dur-fast);
}

.footer-social .footer-social__icon:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.footer-social a {
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color var(--dur-fast);
}

.footer-social a:hover {
  color: rgba(255, 255, 255, 0.8);
}



/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    background var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    transform var(--dur-fast);
  line-height: 1;
}

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

/* Primary — tomato red fill */
.btn--primary {
  background: var(--col-cta);
  color: white;
  border: 1.5px solid var(--col-cta);
}

.btn--primary:hover {
  background: #af3b22;
  border-color: #af3b22;
  color: white;
}

/* Ghost — transparent with white border (on dark backgrounds) */
.btn--ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: white;
}

.btn--ghost:hover {
  background: white;
  color: var(--col-ground);
  border-color: white;
}

/* Ghost dark — transparent with dark border (on light backgrounds) */
.btn--ghost-dark {
  background: transparent;
  border: 1.5px solid var(--col-border);
  color: var(--col-text);
}

.btn--ghost-dark:hover {
  background: var(--col-ground);
  color: white;
  border-color: var(--col-ground);
}

/* Text button — inline, no background */
.btn--text {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-weight: 500;
  border-radius: 0;
  text-decoration: none;
}

.btn--text::after {
  content: " \2192";
  display: inline;
  transition: transform var(--dur-fast);
}

.btn--text:hover::after {
  transform: translateX(4px);
}


/* ============================================================
   BADGES + PILLS
   ============================================================ */

/* Badge — compact label */
.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  line-height: 1.4;
}

.badge--dark {
  background: var(--col-ground);
  color: white;
}

.badge--accent {
  background: var(--col-cta);
  color: white;
}

.badge--outline {
  border: 1px solid var(--col-border);
  color: var(--col-text-muted);
  background: transparent;
}

/* Filter pills row */
.filter-pills {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.filter-pill {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--col-border);
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--step-0);
  cursor: pointer;
  transition:
    background var(--dur-base),
    color var(--dur-base),
    border-color var(--dur-base);
  font-weight: 400;
  line-height: 1;
}

.filter-pill.active,
.filter-pill:hover {
  background: var(--col-ground);
  color: white;
  border-color: var(--col-ground);
}


/* ============================================================
   PRODUCT CARD
   ============================================================ */

/* Card body link — no underline on title, description, etc. */
.product-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.product-card__link:hover {
  color: inherit;
}

.product-card {
  background: var(--col-surface-2);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease-out);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
}

/* Image wrapper — square aspect ratio */
.product-card__img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--col-surface-2);
}

.product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  transition: transform var(--dur-slow) var(--ease-out);
}

.product-card:hover .product-card__img-wrap img {
  transform: scale(1.06);
}

/* Badges overlaid on image */
.product-card__badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}

/* Card body */
.product-card__body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 400;
  margin-bottom: 4px;
  color: var(--col-text);
}

.product-card__category {
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--col-text-muted);
  margin-bottom: var(--space-xs);
}

.product-card__desc {
  font-size: var(--step--1);
  color: var(--col-text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.product-card__num {
  font-size: var(--step--1);
  color: var(--col-border);
  font-weight: 500;
  text-align: right;
  margin-top: var(--space-xs);
}

/* Hidden state — used by JS filter */
.product-card[data-hidden="true"] {
  display: none;
}

/* Signature card — rounded, with a tall image stage and large display name.
   Used for the home page collection and the products page grid. */
.product-card--signature {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(20, 35, 28, 0.08);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: none;
}

.product-card--signature:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(18, 38, 28, 0.08);
}

.product-card--signature .product-card__img-wrap {
  position: relative;
  width: 100%;
  height: 440px;
  min-height: 440px;
  padding: 1.5rem;
  border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.45), rgba(233,232,227,0.9));
  overflow: hidden;
}

.product-card--signature .product-card__img-wrap img {
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(17, 35, 26, 0.12));
}

/* Product stage — a soft glow in each pack's own colours (data-tint) drifts
   slowly behind it. Used by the home and collection cards and by the main image
   on product pages. With a mouse, main.js sets --mx / --my (-1 to 1) and the glow
   moves against the pointer. Reduced motion stills the drift (reset.css). */
@property --tint-a { syntax: "<color>"; inherits: true; initial-value: transparent; }
@property --tint-b { syntax: "<color>"; inherits: true; initial-value: transparent; }

.product-stage {
  isolation: isolate;
  --tint-a: rgba(200, 146, 58, 0.35);
  --tint-b: rgba(255, 255, 255, 0.6);
  transition: --tint-a 0.6s ease, --tint-b 0.6s ease; /* colours blend when the pack changes */
}

.product-stage[data-tint="paste-70"]  { --tint-a: rgba(46, 155, 66, 0.48);  --tint-b: rgba(200, 228, 88, 0.45); }
.product-stage[data-tint="paste-50"]  { --tint-a: rgba(224, 58, 40, 0.40);  --tint-b: rgba(255, 186, 72, 0.45); }
.product-stage[data-tint="paste-800"] { --tint-a: rgba(40, 140, 62, 0.45);  --tint-b: rgba(226, 182, 72, 0.50); }
.product-stage[data-tint="ketchup"]   { --tint-a: rgba(214, 40, 34, 0.38);  --tint-b: rgba(255, 142, 92, 0.38); }
.product-stage[data-tint="vinegar"]   { --tint-a: rgba(84, 196, 176, 0.40); --tint-b: rgba(126, 204, 92, 0.36); }
.product-stage[data-tint="masala"]    { --tint-a: rgba(186, 216, 40, 0.50); --tint-b: rgba(242, 152, 52, 0.40); }

/* Two lights, one per tint, larger than the stage so they show around wide packs */
.product-stage::before,
.product-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.75;
  translate: calc(var(--mx, 0) * -16px) calc(var(--my, 0) * -12px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    translate 0.3s ease-out;
  will-change: transform;
}

.product-stage::before {
  inset: -4% 6% 10% -4%;
  background: radial-gradient(closest-side, var(--tint-a), transparent);
  animation: stage-light-a 15s ease-in-out infinite alternate;
}

.product-stage::after {
  inset: 18% -6% -8% 14%;
  background: radial-gradient(closest-side, var(--tint-b), transparent);
  animation: stage-light-b 19s ease-in-out infinite alternate;
}

/* Out of step, so neighbouring cards don't pulse together */
.product-card--signature:nth-child(3n+2) .product-stage::before,
.product-card--signature:nth-child(3n+2) .product-stage::after { animation-delay: -6s; }
.product-card--signature:nth-child(3n)   .product-stage::before,
.product-card--signature:nth-child(3n)   .product-stage::after { animation-delay: -11s; }

@keyframes stage-light-a {
  0%   { transform: translate(-10%, -6%) scale(0.9); }
  50%  { transform: translate(16%, 10%)  scale(1.1); }
  100% { transform: translate(4%, 18%)   scale(0.95); }
}

@keyframes stage-light-b {
  0%   { transform: translate(8%, 6%)    scale(1.05); }
  50%  { transform: translate(-16%, -8%) scale(0.9); }
  100% { transform: translate(-4%, -18%) scale(1.1); }
}

.product-card:hover .product-stage::before,
.product-card:hover .product-stage::after,
.product-stage--3d:hover::before,
.product-stage--3d:hover::after {
  opacity: 1;
}

/* Cards: on hover the pack lifts; with a mouse it leans toward the pointer */
.product-card--signature .product-stage img {
  translate: calc(var(--mx, 0) * 10px) calc(var(--my, 0) * 7px);
  transition:
    transform var(--dur-slow) var(--ease-out),
    filter var(--dur-slow) var(--ease-out),
    translate 0.3s ease-out;
}

.product-card--signature:hover .product-stage img {
  transform: translateY(-10px) scale(1.04);
  filter: drop-shadow(0 26px 22px rgba(13, 30, 18, 0.2));
}

/* Product pages: the pack floats gently, and with a mouse turns in 3D toward the
   pointer while its shadow falls the other way. Each page's image rule carries
   the transform and filter transitions alongside its opacity fade. */
.product-stage--3d {
  perspective: 1000px;
}

.product-stage--3d img.product-main-img {
  transform: rotateY(calc(var(--mx, 0) * 16deg)) rotateX(calc(var(--my, 0) * -10deg));
  animation: stage-float 6s ease-in-out infinite alternate;
  will-change: transform;
}

.product-stage--3d:hover img.product-main-img {
  filter: drop-shadow(calc(var(--mx, 0) * -16px) 28px 24px rgba(13, 30, 18, 0.22));
}

@keyframes stage-float {
  from { translate: 0 -7px; }
  to   { translate: 0 7px; }
}

.product-card--signature .product-card__body {
  background: transparent;
  padding: 1.25rem;
  border-top: none;
}

.product-card--signature .product-card__category {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(28, 35, 31, 0.7);
  margin-bottom: 0.75rem;
}

.product-card--signature .product-card__name {
  font-size: clamp(1.8rem, 2.2vw, 2.3rem);
  line-height: 1.1;
  margin-bottom: 0;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--col-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-card--signature .product-card__desc {
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(28, 35, 31, 0.75);
  max-width: 24rem;
  flex: none;
  margin-top: 0.65rem;
  text-decoration: none;
}

.product-card--signature .product-card__badges {
  left: 20%;
  right: 20%;
  top: 12px;
  justify-content: center;
}

.product-card--signature .badge {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}





/* ============================================================
   TICKER STRIP
   Continuous scrolling brand / product marquee.
   ============================================================ */

.ticker {
  background: var(--col-ground);
  overflow: hidden;
  padding-block: 14px;
  border-top: 1px solid var(--col-border-dark);
  border-bottom: 1px solid var(--col-border-dark);
}

.ticker__track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
}

.ticker__item {
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-body);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-right: 3rem;
  flex-shrink: 0;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track {
    animation: none;
  }
}


/* ============================================================
   OFFICE CARD
   Contact / regional office information block.
   ============================================================ */

.office-card {
  border: 1px solid var(--col-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.office-card__country {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--col-text-muted);
}

.office-card__flag {
  font-size: 1.25rem;
  line-height: 1;
}

.office-card__number {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--col-text);
  line-height: 1.2;
}

.office-card__detail {
  font-size: var(--step--1);
  color: var(--col-text-muted);
  line-height: 1.6;
}

.office-card__detail a {
  color: var(--col-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.office-card__detail a:hover {
  color: var(--col-accent);
}


/* ============================================================
   FAQ ACCORDION
   Used on dark backgrounds — text and border colours reflect that.
   ============================================================ */

.accordion {
  width: 100%;
}

.accordion__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--space-md);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--col-text-light);
  font-family: var(--font-body);
  font-size: var(--step-0);
  text-align: left;
  gap: var(--space-md);
}

.accordion__trigger:hover {
  color: white;
}

.accordion__icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-out);
  font-style: normal;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1;
}

.accordion__item.open .accordion__icon {
  transform: rotate(45deg);
}

/* Animate panel open/close */
.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-out);
}

.accordion__item.open .accordion__body {
  max-height: 400px;
}

.accordion__content {
  padding-bottom: var(--space-md);
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--step-0);
  line-height: 1.7;
}


/* ============================================================
   INQUIRY TYPE PILLS
   Used on the contact form to pre-select message type.
   ============================================================ */

.inquiry-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.inquiry-pill {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--col-border);
  background: none;
  font-family: var(--font-body);
  font-size: var(--step--1);
  cursor: pointer;
  font-weight: 400;
  color: var(--col-text);
  transition:
    background var(--dur-base),
    color var(--dur-base),
    border-color var(--dur-base);
}

.inquiry-pill:hover {
  border-color: var(--col-ground);
}

.inquiry-pill.active {
  background: var(--col-ground);
  color: white;
  border-color: var(--col-ground);
}


/* ============================================================
   FORM STYLES
   Underline-only inputs — minimal, editorial.
   ============================================================ */

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--col-text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1.5px solid var(--col-border);
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--step-0);
  color: var(--col-text);
  outline: none;
  transition: border-color var(--dur-base);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--col-text-muted);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-bottom-color: var(--col-ground);
}

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

/* Form feedback messages */
.form-feedback {
  display: none;
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--step--1);
  margin-top: var(--space-sm);
  line-height: 1.5;
}

.form-feedback--success {
  background: rgba(74, 158, 106, 0.12);
  color: #2D6A4F;
  border: 1px solid rgba(74, 158, 106, 0.3);
}

.form-feedback--error {
  background: rgba(196, 71, 42, 0.10);
  color: var(--col-cta);
  border: 1px solid rgba(196, 71, 42, 0.3);
}

.form-feedback.visible {
  display: block;
}


/* ============================================================
   HERO BASE
   Used across all page hero areas — full and half height variants.
   ============================================================ */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  background: var(--col-ground);
  overflow: hidden;
  background: var(--col-ground);
}

.hero--full {
  min-height: 100svh;
}

/* Background image — works on both bare <img> and <img> inside <picture> */
.hero picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  z-index: 0;
}

/* Decorative pattern fallback when no photo is available */
.hero__bg--pattern {
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(200, 146, 58, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 70%, rgba(196, 71, 42, 0.12) 0%, transparent 55%),
    linear-gradient(160deg, var(--col-ground-2) 0%, var(--col-ground) 100%);
  opacity: 1;
}

/* Content layer */
.hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: var(--space-2xl);
  color: white;
  width: 100%;
}

/* Title */
.hero__title {
  font-family: var(--font-display);
  font-size: var(--step-4);
  color: white;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

@media (min-width: 768px) {
  .hero__title {
    font-size: var(--step-5);
    line-height: 1.05;
  }
}

.hero__title em {
  font-style: italic;
  color: var(--col-accent);
  font-family: var(--font-display);
}

/* The highlighted word links onward (hero_title() in partials/_lang.php);
   on hover it brightens and an underline in its own colour fades in */
.hero__title-link {
  color: inherit;
  text-decoration: none;
}

.hero__title-link em {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.12em;
  text-decoration-color: transparent;
  transition:
    text-decoration-color var(--dur-base) var(--ease-out),
    filter var(--dur-base) var(--ease-out);
}

.hero__title-link:hover em,
.hero__title-link:focus-visible em {
  text-decoration-color: currentColor;
  filter: brightness(1.15);
}

/* Subtitle / lead */
.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--step-0);
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: var(--space-lg);
}

/* Actions row */
.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  align-items: center;
}


/* ============================================================
   WHOLESALE / CTA BLOCK
   Full-width promotional module with contrasting dark background.
   ============================================================ */

.cta-block {
  background: var(--col-ground);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .cta-block {
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-xl);
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-xl);
  }
}

.cta-block__text {
  flex: 1;
}

.cta-block__eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  display: block;
  margin-bottom: var(--space-xs);
}

.cta-block__title {
  font-family: var(--font-display);
  font-size: var(--step-4);
  color: white;
  line-height: 1.1;
}

.cta-block__title em {
  font-style: italic;
  color: var(--col-accent);
}

.cta-block__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}



/* ============================================================
   STATS BAR
   Four-up grid of landmark numbers.
   ============================================================ */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--col-border);
  border-bottom: 1px solid var(--col-border);
}

@media (min-width: 768px) {
  .stats-bar {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats-bar__item {
  padding: var(--space-md) var(--space-sm);
  text-align: center;
  border-right: 1px solid var(--col-border);
}

.stats-bar__item:nth-child(2n) {
  border-right: none;
}

.stats-bar__item:nth-child(3),
.stats-bar__item:nth-child(4) {
  border-top: 1px solid var(--col-border);
}

@media (min-width: 768px) {
  .stats-bar__item {
    padding: var(--space-lg) var(--space-md);
    border-right: 1px solid var(--col-border);
  }

  .stats-bar__item:nth-child(2n) {
    border-right: 1px solid var(--col-border);
  }

  .stats-bar__item:last-child {
    border-right: none;
  }

  .stats-bar__item:nth-child(3),
  .stats-bar__item:nth-child(4) {
    border-top: none;
  }
}

.stats-bar__value {
  font-family: var(--font-display);
  font-size: var(--step-4);
  color: var(--col-text);
  line-height: 1;
  display: block;
}

.stats-bar__label {
  font-family: var(--font-body);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--col-text-muted);
  margin-top: 6px;
  display: block;
}



/* ============================================================
   TIMELINE
   Vertical chronological list — year | line | content.
   ============================================================ */

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline__item {
  display: grid;
  grid-template-columns: 100px 1px 1fr;
  gap: 0 var(--space-md);
  padding-bottom: var(--space-lg);
  position: relative;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__year {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--col-text-muted);
  padding-top: 2px;
  text-align: right;
  line-height: 1;
}

.timeline__line {
  background: var(--col-border);
  position: relative;
  flex-shrink: 0;
}

/* Dot on the timeline track */
.timeline__line::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--col-cta);
  background: var(--col-surface);
}

.timeline__content {
  padding-top: 0;
}

.timeline__content h3 {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 400;
  margin-bottom: 6px;
  line-height: 1.2;
}

.timeline__content p {
  font-size: var(--step--1);
  color: var(--col-text-muted);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .timeline__item {
    grid-template-columns: 70px 1px 1fr;
    gap: 0 var(--space-sm);
  }

  .timeline__year {
    font-size: var(--step-1);
  }
}


/* ============================================================
   PRINCIPLE CARD
   Dark glass-style grid — used on About/Vision page.
   ============================================================ */

.principles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

@media (min-width: 480px) {
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .principles-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.principle-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--col-border-dark);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
}

.principle-card__num {
  font-family: var(--font-display);
  font-size: var(--step-3);
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  margin-bottom: var(--space-sm);
  display: block;
}

.principle-card__title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: white;
  margin-bottom: var(--space-xs);
  line-height: 1.2;
}

.principle-card__desc {
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}


/* ============================================================
   TWO-COLUMN STORY SECTION
   Used on About pages — image left, text right (or vice versa).
   ============================================================ */

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 768px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

.story-img-wrap {
  position: relative;
}

.story-img-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

/* Floating credential badge */
.story-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--col-cta);
  color: white;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  min-width: 120px;
}

.story-badge__value {
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 1;
  display: block;
}

.story-badge__label {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
  display: block;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .story-badge {
    bottom: -16px;
    right: 16px;
  }
}


/* ============================================================
   SCROLL INDICATOR
   Animated down-cue at the base of the full-height hero.
   ============================================================ */

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-body);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  user-select: none;
}

.scroll-indicator__line {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.25);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.25;
    transform: scaleY(1);
  }
  50% {
    opacity: 0.7;
    transform: scaleY(1.15);
    transform-origin: top;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-indicator__line {
    animation: none;
  }
}
