/* Navjyoti Foods
   ------------------------------------------------------------------
   Palette from the brand brief. The derived shades exist for contrast:
   --gold-deep for small gold text on cream (5.9:1), --gold-light for
   gold on paddy green (6.5:1). Gold buttons carry white labels (4.9:1). */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/fraunces-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #F7F3EA;
  --cream-deep: #EFE8DA;
  --green: #1F2A1C;
  --green-deep: #172014;
  --gold: #8A6D3B;
  --gold-deep: #76592C;
  --gold-light: #C9A66B;
  --beige: #C9BFA6;
  --field: #4A5D3A;
  --white: #FFFFFF;
  --error: #A33A2A;

  --ink: var(--green);
  --ink-soft: #4B5446;
  --line: rgba(138, 109, 59, 0.32);
  --line-strong: #8C8472;
  --focus: var(--gold-deep);

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(1rem, 4.2vw, 4rem);
  --col-gap: clamp(1rem, 2.4vw, 2.5rem);
  --maxw: 90rem;
  --header-h: 4.5rem;
  --section-y: clamp(5rem, 10vw, 10rem);
  --ease: cubic-bezier(0.22, 0.61, 0.24, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --accent-text: var(--gold-deep);
  --intro-offset: 0s;

  /* Faint paper grain, like uncoated packaging stock. */
  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .97 0 0 0 0 .93 0 0 0 0 .85 0 0 0 .075 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .16 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

@media (min-width: 64em) {
  :root { --header-h: 5.25rem; }
}

/* While the opening sequence plays, everything on the page waits for it. */
.intro-pending { --intro-offset: 2.5s; }

/* ---------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--cream) var(--grain);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  font-feature-settings: "cv11", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

@media (min-width: 80em) {
  body { font-size: 1.125rem; }
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
a { color: inherit; }
em { font-style: italic; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

html.lenis { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }

::selection { background: var(--gold-light); color: var(--green); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--green);
  color: var(--cream);
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* Dark sections swap the text tokens, so components adapt without overrides. */
.section--dark {
  position: relative;
  background: var(--green) var(--grain-light);
  color: var(--ink);
  --ink: var(--cream);
  --ink-soft: var(--beige);
  --accent-text: var(--gold-light);
  --focus: var(--gold-light);
  --line: rgba(201, 191, 166, 0.22);
}

/* ---------------------------------------------------------- typography */

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 1.4rem + 3.4vw, 4.75rem);
  font-weight: 340;
  line-height: 1.02;
  letter-spacing: -0.022em;
  font-optical-sizing: auto;
  text-wrap: balance;
}

.section-title em,
.quality__title em {
  font-weight: 300;
  color: var(--accent-text);
}

.section-title--small {
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.9rem);
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(3rem, 7vw, 6.5rem);
}

.section-intro {
  margin-top: 1.5rem;
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
  text-wrap: pretty;
}

.section--dark .section-intro { color: var(--beige); }

@media (min-width: 60em) {
  .section-head--split {
    max-width: none;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--col-gap);
    align-items: end;
  }
  .section-head--split .section-title { grid-column: 1 / span 6; }
  .section-head--split .section-intro { grid-column: 8 / -1; margin: 0; }
}

/* ------------------------------------------------------------- buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 0;
  font: 500 0.9375rem/1.2 var(--font-body);
  letter-spacing: 0.015em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.button--gold { background: var(--gold); color: var(--white); }
.button--gold:hover { background: var(--gold-deep); }

.button--light { background: var(--cream); color: var(--green); }
.button--light:hover { background: var(--white); }

.button[disabled] { opacity: 0.7; cursor: progress; }

.link-arrow,
.link-quiet {
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--gold);
}
.link-arrow::after {
  content: "";
  width: 1.1rem;
  height: 0.6rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.4s var(--ease);
}
.link-arrow:hover::after { transform: translateX(0.3rem); }
.section--dark .link-arrow { border-bottom-color: var(--gold-light); }

.link-quiet {
  color: var(--accent-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  transition: text-decoration-color 0.3s var(--ease);
}
.link-quiet:hover { text-decoration-color: currentColor; }

/* -------------------------------------------------------------- header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--green);
  background: rgba(247, 243, 234, 0.94);
  border-bottom: 1px solid rgba(201, 191, 166, 0.7);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
          backdrop-filter: saturate(1.2) blur(12px);
  transition: transform 0.7s var(--ease), background-color 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease);
  view-transition-name: site-header;
}
.site-header.is-hidden { transform: translateY(-100%); }

.site-header--overlay:not(.is-solid):not(.has-mega-open),
.menu-open .site-header {
  background: transparent;
  color: var(--cream);
  border-color: transparent;
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
  --focus: var(--cream);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: var(--maxw);
  height: var(--header-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  text-decoration: none;
}
.brand__mark { width: 1.2rem; height: auto; color: var(--gold); flex: none; }
.site-header--overlay:not(.is-solid):not(.has-mega-open) .brand__mark,
.menu-open .brand__mark { color: var(--gold-light); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 420;
  letter-spacing: -0.01em;
}
.brand__sub {
  margin-top: 0.3rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  opacity: 0.8;
}

.button__icon { width: 1rem; height: 1rem; flex: none; }

.site-nav { display: none; }
.site-nav ul { display: flex; gap: clamp(1.1rem, 1.9vw, 2.25rem); list-style: none; }
.site-nav a {
  display: block;
  padding-block: 0.4rem;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.4s var(--ease);
}
.site-nav a:hover,
.site-nav a.is-active { background-size: 100% 1px; }

.site-header__cta { display: none; min-height: 2.75rem; padding: 0.7rem 1.25rem; font-size: 0.875rem; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  padding: 0 0.25rem;
  background: none;
  border: 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.menu-toggle__icon,
.menu-toggle__icon::after {
  display: block;
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease);
}
.menu-toggle__icon { position: relative; transform: translateY(-3px); }
.menu-toggle__icon::after { content: ""; position: absolute; top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { transform: translateY(-6px) rotate(-90deg); }

@media (min-width: 40em) {
  .site-header__cta { display: inline-flex; }
}

@media (min-width: 70em) {
  .site-nav { display: block; margin-left: auto; }
  .brand { margin-right: 0; }
  .site-header__inner { gap: clamp(1.5rem, 3vw, 3rem); }
  .menu-toggle { display: none; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow-y: auto;
  background: var(--green);
  color: var(--cream);
  --focus: var(--gold-light);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.5rem;
  min-height: 100%;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
}
.mobile-menu__links { list-style: none; width: 100%; }
.mobile-menu__links a {
  display: block;
  padding-block: 0.7rem;
  border-bottom: 1px solid rgba(201, 191, 166, 0.18);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 3vw, 2.5rem);
  font-weight: 340;
  line-height: 1.15;
  text-decoration: none;
}
.mobile-menu__contact { margin-top: auto; color: var(--beige); font-size: 0.9375rem; line-height: 2; }
.mobile-menu__contact a { text-decoration: none; }

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(100svh, 36rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--green);
  color: var(--cream);
  --focus: var(--cream);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  transform-origin: 62% 45%;
  animation: hero-settle 9s var(--ease) var(--intro-offset) both;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-focus, 50% 50%);
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(23, 32, 20, 0.86) 0%, rgba(23, 32, 20, 0.5) 34%, rgba(23, 32, 20, 0) 68%),
    linear-gradient(to right, rgba(23, 32, 20, 0.5) 0%, rgba(23, 32, 20, 0) 62%),
    linear-gradient(to bottom, rgba(23, 32, 20, 0.5) 0%, rgba(23, 32, 20, 0) 24%);
}

.hero__inner {
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: clamp(3.5rem, 11vh, 7.5rem);
}

.hero__title {
  max-width: 11.5em;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1rem + 6.6vw, 7.5rem);
  font-weight: 320;
  line-height: 0.98;
  letter-spacing: -0.028em;
  font-optical-sizing: auto;
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.hero__title .line > span {
  display: block;
  animation: hero-rise 1.5s var(--ease) both;
}
.hero__title .line:nth-child(1) > span { animation-delay: calc(var(--intro-offset) + 0.3s); }
.hero__title .line:nth-child(2) > span { animation-delay: calc(var(--intro-offset) + 0.45s); }
.hero__title .line:nth-child(3) > span { animation-delay: calc(var(--intro-offset) + 0.6s); }
.hero__title em { font-weight: 300; color: #F3E4C4; }

.hero__sub {
  max-width: 30rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  color: rgba(247, 243, 234, 0.88);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.55;
  animation: hero-fade 1.4s var(--ease) calc(var(--intro-offset) + 1s) both;
}

.hero__actions {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  animation: hero-fade 1.4s var(--ease) calc(var(--intro-offset) + 1.15s) both;
}

.hero__caption {
  display: none;
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3.5rem, 11vh, 7.5rem);
  align-items: center;
  gap: 0.9rem;
  color: rgba(247, 243, 234, 0.78);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  animation: hero-fade 1.4s var(--ease) calc(var(--intro-offset) + 1.4s) both;
}
.hero__caption::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--gold-light);
}

.hero__scroll {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.5rem;
  width: max-content;
  margin-inline: auto;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(247, 243, 234, 0.72);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  animation: hero-fade 1.4s var(--ease) calc(var(--intro-offset) + 1.6s) both;
}
.hero__scroll i {
  position: relative;
  width: 1px;
  height: 3.25rem;
  overflow: hidden;
  background: rgba(247, 243, 234, 0.22);
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 40%;
  background: var(--gold-light);
  animation: scroll-cue 2.4s var(--ease-io) infinite;
}
@keyframes scroll-cue {
  from { transform: translateY(-100%); }
  to { transform: translateY(260%); }
}

@media (min-width: 40em) {
  .hero__scroll { display: flex; }
}
@media (min-width: 60em) {
  .hero__caption { display: flex; }
}
@media (min-width: 90em) {
  .hero__caption { right: calc((100vw - var(--maxw)) / 2 + var(--gutter)); }
}

@keyframes hero-settle {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
@keyframes hero-rise {
  from { transform: translateY(105%); }
  to { transform: translateY(0); }
}
@keyframes hero-fade {
  from { opacity: 0; transform: translateY(0.75rem); }
  to { opacity: 1; transform: none; }
}

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

.story {
  position: relative;
  padding-top: var(--section-y);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.story__grid { display: grid; gap: clamp(3rem, 8vw, 4rem); }

.story__lede {
  margin-top: clamp(2rem, 4vw, 3rem);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.05rem + 1.5vw, 2.4rem);
  font-weight: 330;
  line-height: 1.32;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

.story__body {
  max-width: 34rem;
  margin-top: 1.75rem;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.story__body em { font-family: var(--font-display); font-size: 1.08em; color: var(--ink); }

.story__figure { position: relative; z-index: 0; }
.story__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--beige);
}

.stats {
  display: grid;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  list-style: none;
  border-top: 1px solid var(--line);
}
.stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.6rem + 2.6vw, 4.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: lining-nums proportional-nums;
  white-space: nowrap;
}
.stat__value small {
  margin-left: 0.3em;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--accent-text);
}
.stat__label { color: var(--ink-soft); font-size: 0.875rem; text-align: right; }

@media (min-width: 40em) {
  .stats { grid-template-columns: repeat(3, auto); justify-content: start; border-bottom: 0; }
  .stat {
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.9rem;
    padding: 1.75rem clamp(1.5rem, 3.5vw, 3rem) 0 0;
    margin-right: clamp(1.5rem, 3.5vw, 3rem);
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .stat:last-child { margin-right: 0; border-right: 0; }
  .stat__label { text-align: left; }
}

@media (min-width: 60em) {
  .story__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--col-gap);
  }
  .story__text { grid-column: 1 / span 7; }
  .story__figure img { aspect-ratio: 4 / 5; }
  /* The photo drops past the section edge and overlaps Our Rice. */
  .story__figure {
    grid-column: 9 / -1;
    align-self: end;
    position: relative;
    z-index: 2;
    transform: translateY(clamp(9rem, 15vw, 15rem));
  }
}

/* ---------------------------------------------------------------- rice */

.rice {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.rice-grid {
  display: grid;
  row-gap: clamp(4rem, 9vw, 7rem);
  list-style: none;
}

.card { position: relative; }

.card__media {
  display: block;
  overflow: hidden;
  background: rgba(201, 191, 166, 0.12);
}
.card__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.card:hover .card__media img { transform: scale(1.045); }

.card__body { padding-top: 1.75rem; }

.card__meta {
  color: var(--accent-text);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.card__title {
  margin-top: 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.35rem + 1.3vw, 2.6rem);
  font-weight: 360;
  line-height: 1.05;
  letter-spacing: -0.018em;
}
.card__title a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease);
}
.card:hover .card__title a { background-size: 100% 1px; }

.card__note {
  max-width: 28rem;
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-style: italic;
  font-weight: 330;
  line-height: 1.45;
  text-wrap: pretty;
}

.card .ruler { max-width: 22rem; margin-top: 1.75rem; }

.card__links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem 2rem;
  margin-top: 1.9rem;
}

@media (min-width: 48em) {
  .rice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(2.5rem, 8vw, 9rem);
    padding-bottom: clamp(5rem, 10vw, 9rem);
  }
  /* A magazine spread: the right-hand column sits lower. */
  .rice-grid > .card:not(.card--featured):nth-child(odd) {
    transform: translateY(clamp(5rem, 10vw, 9rem));
  }
  .card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--col-gap);
    align-items: end;
  }
  .card--featured .card__media { grid-column: 1 / span 6; }
  .card--featured .card__media img { aspect-ratio: 5 / 4; }
  .card--featured .card__body { grid-column: 7 / -1; padding: 0 0 0.5rem; }
  .card--featured .card__title { font-size: clamp(2.3rem, 1.4rem + 2.4vw, 3.9rem); }
  .card--featured .card__note { font-size: clamp(1.25rem, 1.1rem + 0.4vw, 1.5rem); }
}

@media (min-width: 60em) {
  .card--featured .card__media { grid-column: 1 / span 7; }
  .card--featured .card__body { grid-column: 9 / -1; }
}

/* --------------------------------------------------------------- ruler */

.ruler {
  --ruler-fill: var(--gold);
  --ruler-soft: rgba(201, 166, 107, 0.34);
  --tick: rgba(31, 42, 28, 0.38);
}

.ruler__scale {
  position: relative;
  height: 1.4rem;
  border-bottom: 1px solid var(--tick);
  background:
    linear-gradient(to right, var(--tick) 1px, transparent 1px) 0 100% / 4% 4px repeat-x,
    linear-gradient(to right, var(--tick) 1px, transparent 1px) 0 100% / 20% 9px repeat-x;
}
.ruler__scale::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1px;
  height: 9px;
  background: var(--tick);
}

/* Each length is drawn as a grain: the raw grain, and its cooked length. */
.ruler__raw,
.ruler__cooked {
  position: absolute;
  left: 0;
  bottom: 13px;
  height: 7px;
  border-radius: 50%;
}
.ruler__cooked {
  border: 1px solid var(--ruler-fill);
  background: transparent;
  transition: background-color 0.6s var(--ease);
}
.ruler__raw { background: var(--ruler-fill); }
.card:hover .ruler__cooked { background-color: var(--ruler-soft); }
.section--dark .ruler {
  --ruler-fill: var(--gold-light);
  --ruler-soft: rgba(201, 166, 107, 0.28);
  --tick: rgba(201, 191, 166, 0.42);
}

.ruler__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin-top: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}
.ruler__legend strong { color: var(--ink); font-weight: 600; }

.ruler--large .ruler__scale { height: 2rem; }
.ruler--large .ruler__raw,
.ruler--large .ruler__cooked { height: 11px; bottom: 15px; }
.ruler--large .ruler__legend { font-size: 0.9375rem; margin-top: 2.2rem; }

.ruler__numbers {
  position: relative;
  height: 1rem;
  margin-top: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
}
.ruler__numbers span { position: absolute; top: 0; transform: translateX(-50%); }
.ruler__numbers span:first-child { transform: none; }
.ruler__numbers span:nth-last-child(2) { transform: translateX(-100%); }
.ruler__numbers .ruler__unit { display: none; }

/* ------------------------------------------------------------- process */

.process {
  background: var(--cream-deep) var(--grain);
  padding-bottom: var(--section-y);
  overflow-x: clip;
}
.process__pin { padding-top: clamp(4rem, 8vw, 7rem); }

.timeline-track { position: relative; margin-top: clamp(3rem, 6vw, 5rem); }

.timeline {
  position: relative;
  display: grid;
  gap: 2.75rem;
  list-style: none;
}

.timeline__line {
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 5px;
  width: 1px;
  background: rgba(138, 109, 59, 0.22);
}
.timeline__line span {
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform-origin: top;
}

.timeline__stage {
  position: relative;
  padding-left: 2.5rem;
}
/* the stop: a grain lying along the line */
.timeline__stage::before {
  content: "";
  position: absolute;
  top: 0.35rem;
  left: 0;
  width: 11px;
  height: 24px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--cream-deep);
  transition: background-color 0.5s var(--ease);
}
.timeline__stage:first-child::before,
.timeline__stage.is-lit::before { background: var(--gold); }

.timeline__index { display: none; }

.timeline__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.8rem);
  font-weight: 360;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.timeline__when {
  margin-top: 0.4rem;
  color: var(--accent-text);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.timeline__text {
  max-width: 24rem;
  margin-top: 0.9rem;
  color: var(--ink-soft);
  font-size: 0.9688rem;
  line-height: 1.65;
}

@media (min-width: 60em) {
  .timeline {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 2.6vw, 2.75rem);
    padding-top: 3.25rem;
  }
  .timeline__line {
    top: 5px;
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: 1px;
  }
  .timeline__line span { transform-origin: left; }
  .timeline__stage { padding-left: 0; }
  .timeline__stage::before {
    top: -3.25rem;
    width: 26px;
    height: 11px;
  }
}

/* Desktop with motion: the section holds while the stages travel sideways. */
.process__pin.is-pinned {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + 1rem) 2rem;
}
.timeline-track.is-scroll { width: max-content; }
.timeline-track.is-scroll .timeline { display: flex; gap: clamp(3rem, 5vw, 6rem); }
.timeline-track.is-scroll .timeline__stage {
  flex: none;
  width: clamp(17rem, 27vw, 25rem);
  opacity: 0.3;
  transition: opacity 0.6s var(--ease);
}
.timeline-track.is-scroll .timeline__stage.is-lit { opacity: 1; }
.timeline-track.is-scroll .timeline__index {
  display: block;
  margin-bottom: 1.5rem;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(4rem, 2rem + 4vw, 7rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.03em;
  -webkit-text-stroke: 1px var(--gold);
}
.timeline-track.is-scroll .timeline__title { font-size: clamp(1.8rem, 1.2rem + 1.3vw, 2.6rem); }
.timeline-track.is-scroll .timeline__text { font-size: 1.0625rem; }

.process__more { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

.quality {
  display: grid;
  gap: 2.5rem;
  margin-top: clamp(4.5rem, 9vw, 8rem);
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.quality__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.4rem);
  font-weight: 340;
  line-height: 1.1;
}
.quality__intro p { max-width: 26rem; margin-top: 1rem; color: var(--ink-soft); }
.quality__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem clamp(1.5rem, 3vw, 3rem);
}
.quality__list dt { color: var(--ink-soft); font-size: 0.8125rem; letter-spacing: 0.02em; }
.quality__list dd {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.6rem);
  font-weight: 340;
  line-height: 1.25;
}

@media (min-width: 60em) {
  .quality { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .quality__intro { grid-column: 1 / span 5; }
  .quality__list { grid-column: 7 / -1; }
}

/* ------------------------------------------------------ sustainability */

.sustain { display: grid; }

.sustain__media { position: relative; min-height: 22rem; background: var(--beige); }
.sustain__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sustain__text {
  padding: var(--section-y) var(--gutter);
  max-width: 44rem;
}
.sustain__lede {
  margin-top: 1.75rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
  text-wrap: pretty;
}

.commitments { margin-top: clamp(2.5rem, 5vw, 3.5rem); list-style: none; }
.commitments li {
  display: grid;
  gap: 0.4rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
}
.commitments h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--field);
}
.commitments p { color: var(--ink-soft); font-size: 0.9688rem; }

@media (min-width: 40em) {
  .commitments li { grid-template-columns: 11rem 1fr; gap: 1.5rem; }
}

@media (min-width: 60em) {
  .sustain { grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); }
  .sustain__media { min-height: 44rem; }
  .sustain__text {
    align-self: center;
    padding-left: clamp(3rem, 6vw, 7rem);
    padding-right: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
    max-width: none;
  }
}

/* ------------------------------------------------------ certifications */

.certs { padding-block: clamp(3.5rem, 7vw, 5.5rem); }

.certs__inner {
  display: grid;
  gap: 1.75rem;
  padding-block: 2rem;
  border-block: 1px solid var(--line);
}
.certs__title {
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.certs__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: 2.25rem 1.5rem;
  list-style: none;
}
.cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}
.cert__name {
  margin-top: 0.6rem;
  color: var(--field);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.cert__detail { max-width: 9rem; color: var(--ink-soft); font-size: 0.75rem; line-height: 1.4; }

/* Our own seal for each certification (the official logos may not be reused). */
.seal { width: 6.75rem; height: auto; overflow: visible; color: var(--accent-text); }
.seal__line { fill: none; stroke: currentColor; stroke-width: 1; }
.seal__line--thin { stroke-width: 0.5; }
.seal__ring {
  fill: currentColor;
  font-family: var(--font-body);
  font-size: 6.3px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-anchor: middle;
}
.seal__dot { fill: currentColor; }
.seal__code {
  fill: var(--ink);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-anchor: middle;
}
.seal__code--long { font-size: 15px; }
.seal__number {
  fill: currentColor;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.6px;
  text-anchor: middle;
}

@media (min-width: 70em) {
  .certs__inner { gap: 2.25rem; }
  .certs__list { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; }
}

/* ------------------------------------------------------------- contact */

.contact { padding-block: var(--section-y); isolation: isolate; }

.contact__grid { display: grid; gap: 3.5rem; }

.contact__lede {
  max-width: 30rem;
  margin-top: 1.5rem;
  color: var(--beige);
  font-size: 1.125rem;
  text-wrap: pretty;
}

.contact__details {
  display: grid;
  gap: 1.1rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.contact__details > div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; }
.contact__details dt { color: var(--beige); font-size: 0.8125rem; letter-spacing: 0.02em; padding-top: 0.2rem; }
.contact__details dd { font-size: 1.0625rem; line-height: 1.55; }
.contact__details a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: rgba(201, 166, 107, 0.5);
}
.contact__details a:hover { text-decoration-color: var(--gold-light); }

.contact__brochure {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  color: var(--beige);
  font-size: 0.8125rem;
}

.contact__markets {
  max-width: 30rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 330;
  line-height: 1.45;
}

.contact__panel {
  position: relative;
  background: var(--cream) var(--grain);
  color: var(--ink);
  padding: clamp(1.75rem, 4vw, 3.5rem);
  --ink: var(--green);
  --ink-soft: #4B5446;
  --accent-text: var(--gold-deep);
  --focus: var(--gold-deep);
  --line: rgba(138, 109, 59, 0.32);
}

@media (min-width: 60em) {
  .contact__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .contact__intro { grid-column: 1 / span 5; }
  .contact__panel { grid-column: 7 / -1; }
}

/* ---------------------------------------------------------------- form */

.form__grid { display: grid; gap: 1.6rem 2rem; }
.field { display: flex; flex-direction: column; }
.field label {
  margin-bottom: 0.3rem;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.field__optional { margin-left: 0.35rem; font-weight: 400; opacity: 0.8; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.55rem 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.0625rem;
  -webkit-appearance: none;
          appearance: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { min-height: 7rem; resize: vertical; line-height: 1.55; }
.field textarea::placeholder { color: #7B7F72; }
.field select {
  padding-right: 2rem;
  cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2376592C' stroke-width='1.3'/%3E%3C/svg%3E") right 0.25rem center / 0.75rem no-repeat;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent-text);
  box-shadow: 0 1px 0 0 var(--gold-deep);
}
.field:focus-within label { color: var(--accent-text); }

.field [aria-invalid="true"] { border-bottom-color: var(--error); box-shadow: 0 1px 0 0 var(--error); }
.field__error { margin-top: 0.45rem; color: var(--error); font-size: 0.8125rem; }

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

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: 2.5rem;
}
.form__note { color: var(--ink-soft); font-size: 0.8125rem; }
.form__status:not(:empty) { margin-top: 1.5rem; font-size: 0.9375rem; }
.form__status.is-error { color: var(--error); }
.form__status a { color: inherit; }

.form-success:focus { outline: none; }
.form-success__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
  font-weight: 340;
  line-height: 1.1;
}
.form-success p { max-width: 26rem; margin-top: 1rem; color: var(--ink-soft); }

@media (min-width: 40em) {
  .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full { grid-column: 1 / -1; }
}

/* -------------------------------------------------------------- footer */

.site-footer {
  overflow: hidden;
  padding-top: clamp(4rem, 8vw, 7rem);
  background: var(--green-deep);
  color: var(--beige);
  --focus: var(--gold-light);
}

.site-footer__top { display: grid; gap: 2.75rem 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-footer__brand,
.site-footer__col:last-child { grid-column: 1 / -1; }
.site-footer__mark { width: 1.5rem; height: auto; color: var(--gold-light); }
.site-footer__tagline {
  max-width: 22rem;
  margin-top: 1.5rem;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 320;
  line-height: 1.45;
}
.site-footer__brandline {
  margin-top: 1rem;
  color: var(--gold-light);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.site-footer__associate { margin-top: 0.6rem; color: var(--beige); font-size: 0.8125rem; }
.site-footer__heading {
  margin-bottom: 1.1rem;
  color: var(--cream);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.site-footer__col ul { display: grid; gap: 0.55rem; list-style: none; font-size: 0.9375rem; }
.site-footer__col a { text-decoration: none; transition: color 0.3s var(--ease); }
.site-footer__col a:hover { color: var(--cream); }
.site-footer__social { margin-top: 1.5rem; display: flex !important; gap: 1.25rem !important; }

/* Spans the container and runs off the bottom edge of the page. */
.site-footer__wordmark {
  margin: clamp(2rem, 5vw, 4rem) 0 -0.06em -0.04em;
  color: #2E3B29;
  font-family: var(--font-display);
  font-size: min(33vw, 30rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.05em;
  white-space: nowrap;
  user-select: none;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-block: 1.75rem;
  border-top: 1px solid rgba(201, 191, 166, 0.16);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

@media (min-width: 60em) {
  .site-footer__top { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .site-footer__brand { grid-column: 1 / span 4; }
  .site-footer__col:nth-child(2) { grid-column: 6 / span 2; }
  .site-footer__col:nth-child(3) { grid-column: 8 / span 2; }
  .site-footer__col:nth-child(4) { grid-column: 10 / -1; }
}

/* ------------------------------------------------------------- product */

.product { display: grid; padding-top: var(--header-h); }

.product__media { position: relative; height: 72svh; min-height: 22rem; background: var(--beige); }
.product__media img { width: 100%; height: 100%; object-fit: cover; }

.product__body {
  padding: clamp(2.5rem, 6vw, 5.5rem) var(--gutter) clamp(4rem, 8vw, 7rem);
}
.product__body > * { max-width: 38rem; }
.product__body > :nth-child(-n + 5) { animation: hero-fade 1.2s var(--ease) both; }
.product__body > :nth-child(1) { animation-delay: calc(var(--intro-offset) + 0.1s); }
.product__body > :nth-child(2) { animation-delay: calc(var(--intro-offset) + 0.2s); }
.product__body > :nth-child(3) { animation-delay: calc(var(--intro-offset) + 0.3s); }
.product__body > :nth-child(4) { animation-delay: calc(var(--intro-offset) + 0.42s); }
.product__body > :nth-child(5) { animation-delay: calc(var(--intro-offset) + 0.54s); }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; font-size: 0.8125rem; color: var(--ink-soft); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.6; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 0.25em; }

.product__meta {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  color: var(--accent-text);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.product__title {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 1.8rem + 3.2vw, 5.25rem);
  font-weight: 320;
  line-height: 1;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.product__note {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.75rem);
  font-style: italic;
  font-weight: 320;
  line-height: 1.4;
  text-wrap: pretty;
}
.product__desc { margin-top: 2rem; color: var(--ink-soft); }
.product__desc p + p { margin-top: 1rem; }

.product__ruler { margin-top: clamp(3rem, 6vw, 4rem); }

.product__subhead {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 380;
  line-height: 1.2;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2rem;
  margin-top: clamp(3rem, 6vw, 4rem);
  border-top: 1px solid var(--line);
}
.facts > div { padding-block: 1rem; border-bottom: 1px solid var(--line); }
.facts .facts__wide { grid-column: 1 / -1; }
.facts dt { color: var(--ink-soft); font-size: 0.8125rem; letter-spacing: 0.02em; }
.facts dd { margin-top: 0.2rem; font-family: var(--font-display); font-size: 1.2rem; font-weight: 380; line-height: 1.35; }

.cooking { margin-top: clamp(3rem, 6vw, 4rem); }
.cooking__steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
  margin-top: 1.5rem;
  list-style: none;
}
.cooking__steps li { display: flex; flex-direction: column; gap: 0.3rem; padding-top: 0.9rem; border-top: 1px solid var(--gold); }
.cooking__label { color: var(--ink-soft); font-size: 0.8125rem; }
.cooking__value { font-family: var(--font-display); font-size: 1.2rem; font-weight: 380; line-height: 1.3; }

.packs { margin-top: clamp(3rem, 6vw, 4rem); }
.packs__list { margin-top: 1.25rem; list-style: none; }
.packs__list li { padding-block: 0.8rem; border-top: 1px solid var(--line); color: var(--ink-soft); }
.packs__list li:last-child { border-bottom: 1px solid var(--line); }

.product__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; margin-top: clamp(3rem, 6vw, 4rem); }
.product__cta p { color: var(--ink-soft); font-size: 0.9375rem; }
.product__cta p a { color: var(--accent-text); text-underline-offset: 0.25em; }

@media (min-width: 40em) {
  .cooking__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 60em) {
  .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .product__media {
    position: sticky;
    top: var(--header-h);
    height: calc(100svh - var(--header-h));
  }
  .product__body {
    padding-left: clamp(3rem, 6vw, 6.5rem);
    padding-right: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  }
}

.more {
  padding-block: clamp(4.5rem, 9vw, 8rem);
  background: var(--cream-deep) var(--grain);
}
.more__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 1.25rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  list-style: none;
}
.more__link { display: flex; flex-direction: column; text-decoration: none; }
.more__media { display: block; overflow: hidden; background: rgba(201, 191, 166, 0.3); }
.more__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.4s var(--ease); }
.more__link:hover .more__media img { transform: scale(1.045); }
.more__name {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.5rem);
  font-weight: 380;
  line-height: 1.15;
}
.more__note {
  margin-top: 0.45rem;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 330;
  line-height: 1.45;
}

@media (min-width: 60em) {
  .more__list { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--col-gap); }
}

/* ----------------------------------------------------------------- 404 */

.notfound {
  display: grid;
  align-items: center;
  min-height: 88svh;
  padding: calc(var(--header-h) + 4rem) 0 5rem;
}
.notfound__code {
  color: var(--accent-text);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.notfound__title {
  max-width: 12em;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 1.8rem + 4vw, 6rem);
  font-weight: 320;
  line-height: 1;
  letter-spacing: -0.028em;
}
.notfound__text { max-width: 32rem; margin-top: 1.75rem; color: var(--ink-soft); font-size: 1.125rem; }
.notfound__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.5rem; }

/* ---------------------------------------------------- noreen section */

.brand-pack { padding-block: var(--section-y); }
.brand-pack__grid { display: grid; gap: 3.5rem; align-items: center; }
.brand-pack__media { position: relative; z-index: 0; max-width: 34rem; }
.brand-pack__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.brand-pack__media .deco-frame { inset: 1.5rem -0.75rem -0.75rem 1.5rem; }
.pack-facts { margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.pack-facts > div {
  display: grid;
  gap: 0.25rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.pack-facts dt { color: var(--accent-text); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.03em; }
.pack-facts dd { font-family: var(--font-display); font-size: 1.25rem; font-weight: 360; line-height: 1.35; }
.brand-pack__actions,
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

@media (min-width: 40em) {
  .pack-facts > div { grid-template-columns: 9rem 1fr; gap: 1.5rem; align-items: baseline; }
}
@media (min-width: 60em) {
  .brand-pack__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .brand-pack__media { grid-column: 1 / span 6; }
  .brand-pack__text { grid-column: 8 / -1; }
  .brand-pack__media .deco-frame { inset: 2rem -2rem -2rem 2rem; }
}

/* --------------------------------------------------------- page hero */

.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(80svh, 32rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--green);
  color: var(--cream);
  --focus: var(--cream);
}
.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  transform-origin: 50% 40%;
  animation: hero-settle 9s var(--ease) var(--intro-offset) both;
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__inner {
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: clamp(3rem, 9vh, 6rem);
}
.breadcrumb--light ol { color: rgba(247, 243, 234, 0.78); }
.breadcrumb--light { animation: hero-fade 1.2s var(--ease) calc(var(--intro-offset) + 0.1s) both; }
.page-hero__title {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 1.3rem + 6.4vw, 7.25rem);
  font-weight: 320;
  line-height: 0.98;
  letter-spacing: -0.028em;
}
.page-hero__title .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.page-hero__title .line > span { display: block; animation: hero-rise 1.5s var(--ease) both; }
.page-hero__title .line:nth-child(1) > span { animation-delay: calc(var(--intro-offset) + 0.25s); }
.page-hero__title .line:nth-child(2) > span { animation-delay: calc(var(--intro-offset) + 0.4s); }
.page-hero__title em { font-weight: 300; color: #F3E4C4; }
.page-hero__sub {
  max-width: 32rem;
  margin-top: clamp(1.25rem, 3vw, 2rem);
  color: rgba(247, 243, 234, 0.88);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.55;
  animation: hero-fade 1.4s var(--ease) calc(var(--intro-offset) + 0.8s) both;
}

/* ------------------------------------------------------ infrastructure */

.infra-intro { padding-block: var(--section-y) clamp(3rem, 6vw, 5rem); }
.infra-intro__grid { display: grid; gap: 2.5rem; }
.infra-intro__text .story__lede { margin-top: 0; }

.infra-line { padding-bottom: var(--section-y); }
.infra-row {
  display: grid;
  gap: 2rem;
  padding-block: clamp(2.5rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}
.infra-row__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.infra-row__media .frame { background: var(--beige); }
.infra-row__index {
  display: block;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 2rem + 4vw, 6rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.03em;
  -webkit-text-stroke: 1px var(--gold);
}
.infra-row__title {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.3rem + 1.8vw, 3rem);
  font-weight: 340;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.infra-row__body { max-width: 30rem; margin-top: 1.25rem; color: var(--ink-soft); font-size: 1.0625rem; }
.infra-row__equipment {
  display: grid;
  gap: 0.2rem;
  max-width: 30rem;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 340;
}
.infra-row__equipment span {
  color: var(--accent-text);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (min-width: 60em) {
  .infra-intro__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .infra-intro__grid .section-title { grid-column: 1 / span 5; }
  .infra-intro__text { grid-column: 7 / -1; }
  .infra-row {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--col-gap);
    align-items: center;
  }
  .infra-row__media { grid-column: 1 / span 6; }
  .infra-row__text { grid-column: 8 / -1; }
  .infra-row--flip .infra-row__media { grid-column: 7 / -1; grid-row: 1; }
  .infra-row--flip .infra-row__text { grid-column: 1 / span 5; grid-row: 1; }
}

.photo-credit {
  margin-top: 0.6rem;
  color: var(--ink-soft);
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
}
.photo-credit a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.photo-credit--hero {
  position: absolute;
  right: var(--gutter);
  bottom: 0.9rem;
  margin: 0;
  color: rgba(247, 243, 234, 0.7);
}

.cta-band { padding-block: var(--section-y); }
.cta-band__inner { max-width: 50rem; }

/* ------------------------------------------------------- quality policy */

.policy { padding-block: var(--section-y) clamp(3rem, 6vw, 5rem); }
.policy__grid { display: grid; gap: 2.5rem; }
.policy__quote {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.05rem + 1.5vw, 2.4rem);
  font-weight: 330;
  line-height: 1.32;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}
.policy__sign {
  display: grid;
  gap: 0.2rem;
  margin-top: 2.5rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
}
.policy__signature {
  color: var(--accent-text);
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.1;
}

.commitments-list { padding-block: clamp(3rem, 6vw, 5rem) var(--section-y); }
.pledges {
  display: grid;
  gap: 0 var(--col-gap);
  margin-top: clamp(2rem, 4vw, 3rem);
  list-style: none;
}
.pledges li { padding-block: 1.6rem; border-top: 1px solid var(--line); }
.pledges h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 380;
  line-height: 1.2;
}
.pledges p { max-width: 26rem; margin-top: 0.6rem; color: var(--ink-soft); font-size: 0.9688rem; }

.lab { padding-block: var(--section-y); }
.lab__grid { display: grid; gap: 3rem; align-items: start; }
.lab__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.lab__tools { margin-top: clamp(2rem, 4vw, 3rem); list-style: none; border-top: 1px solid var(--line); }
.lab__tools li {
  display: grid;
  gap: 0.2rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9375rem;
}
.lab__tools strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 380;
}
.lab .quality__list { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

.packaging {
  padding-block: var(--section-y);
  background: var(--cream-deep) var(--grain);
}
.packaging__grid { display: grid; gap: 3.5rem; align-items: center; }
.packaging__media { position: relative; z-index: 0; max-width: 30rem; }
.packaging__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.packaging__media .deco-frame { inset: -0.75rem 0.75rem 0.75rem -0.75rem; }
.pack-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 2rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 360;
}
.pack-types li { display: flex; align-items: center; gap: 0.75rem; }
.pack-types li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 6px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}
.private-label {
  max-width: 32rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.private-label h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 360; }
.private-label p { margin-top: 0.75rem; margin-bottom: 1.75rem; color: var(--ink-soft); }

.certs--page { padding-block: var(--section-y); }

@media (min-width: 48em) {
  .pledges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 60em) {
  .policy__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .policy__grid .section-title { grid-column: 1 / span 4; }
  .policy__statement { grid-column: 6 / -1; }
  .pledges { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lab__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .lab__media { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 2rem); }
  .lab__text { grid-column: 7 / -1; }
  .packaging__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .packaging__text { grid-column: 1 / span 6; }
  .packaging__media { grid-column: 8 / -1; }
  .packaging__media .deco-frame { inset: -2rem 2rem 2rem -2rem; }
}

/* ------------------------------------------------------ rice menu */

.site-nav__mega { display: flex; align-items: center; gap: 0.1rem; }
.site-nav__more {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.75rem;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}
.site-nav__more::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.35s var(--ease);
}
.site-nav__more[aria-expanded="true"]::before { transform: translateY(2px) rotate(225deg); }

.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream) var(--grain);
  color: var(--green);
  border-block: 1px solid rgba(201, 191, 166, 0.7);
  box-shadow: 0 40px 60px -40px rgba(23, 32, 20, 0.45);
  --focus: var(--gold-deep);
  --accent-text: var(--gold-deep);
  --ink: var(--green);
  --ink-soft: #4B5446;
}
.mega__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 0.9fr);
  gap: 2rem clamp(2rem, 4vw, 4rem);
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 2.5rem var(--gutter) 2rem;
}
.mega__heading,
.mega__heading a {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 380;
  text-decoration: none;
}
.mega ul { display: grid; gap: 0.5rem; list-style: none; }
.mega ul a {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.35s var(--ease), color 0.3s var(--ease);
}
.mega ul a:hover { color: var(--ink); background-size: 100% 1px; }
.mega__col--forms { padding-left: clamp(1.5rem, 3vw, 3rem); border-left: 1px solid var(--line); }
.mega__forms li { display: flex; align-items: center; gap: 0.6rem; color: var(--ink-soft); font-size: 0.9375rem; }
.mega__forms li::before { content: ""; width: 12px; height: 5px; border: 1px solid var(--gold); border-radius: 50%; }
.mega__col--forms .link-arrow { margin-top: 1.25rem; font-size: 0.875rem; }
.mega__all {
  grid-column: 1 / -1;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.mega__all::after { content: " →"; color: var(--gold); }

/* ------------------------------------------------------- languages */

.lang { position: relative; }
.lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0 0.35rem;
  background: none;
  border: 0;
  color: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.lang__icon { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.1; }
.lang__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 60;
  min-width: 12.5rem;
  padding: 0.5rem;
  background: var(--cream);
  color: var(--green);
  border: 1px solid var(--line);
  box-shadow: 0 30px 50px -30px rgba(23, 32, 20, 0.5);
  --focus: var(--gold-deep);
}
.lang__menu ul { list-style: none; }
.lang__menu button,
.mobile-menu__langs button {
  width: 100%;
  padding: 0.55rem 0.75rem;
  background: none;
  border: 0;
  color: inherit;
  font-size: 0.9375rem;
  text-align: start;
  cursor: pointer;
}
.lang__menu button:hover,
.lang__menu button[aria-current="true"] { background: var(--cream-deep); }
.lang__menu button[aria-current="true"]::after { content: " ✓"; color: var(--gold-deep); }
.lang__note {
  margin-top: 0.35rem;
  padding: 0.55rem 0.75rem 0.25rem;
  border-top: 1px solid var(--line);
  color: #4B5446;
  font-size: 0.6875rem;
}
.mobile-menu__langs p { color: var(--beige); font-size: 0.8125rem; margin-bottom: 0.75rem; }
.mobile-menu__langs ul { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; }
.mobile-menu__langs button {
  width: auto;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(201, 191, 166, 0.35);
  font-size: 0.875rem;
}
.mobile-menu__langs button[aria-current="true"] { border-color: var(--gold-light); color: var(--gold-light); }

/* Google's translator adds a toolbar and highlights; keep the page as designed. */
iframe.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
#google_translate_element { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
.translated-rtl main,
.translated-rtl .site-footer { direction: rtl; }
.translated-rtl .hero__caption { right: auto; left: var(--gutter); flex-direction: row-reverse; }

/* ------------------------------------------------------ rice forms */

.forms { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.1rem; list-style: none; }
.forms li {
  padding: 0.28rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.3;
}
.forms--small { margin-top: 0.85rem; }
.product__forms { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin-top: 1.4rem; }
.product__forms > span { color: var(--ink-soft); font-size: 0.8125rem; }
.product__forms .forms { margin-top: 0; }

.rice__all {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

/* --------------------------------------------------------- catalogue */

.page-hero--short { min-height: max(60svh, 28rem); }

.catalogue-jump {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 243, 234, 0.96);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.catalogue-jump ul {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}
.catalogue-jump a {
  display: block;
  padding-block: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}
.catalogue-jump a:hover { color: var(--gold-deep); }

.catalogue { padding-bottom: var(--section-y); }
.catalogue__group { padding-top: clamp(4rem, 8vw, 6.5rem); }
.catalogue__head { display: grid; gap: 1rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.catalogue__head .section-intro { margin-top: 0; }
.catalogue__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  list-style: none;
}
.cat-card__link { display: flex; flex-direction: column; text-decoration: none; }
.cat-card__media { display: block; overflow: hidden; background: #121810; }
.cat-card__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.cat-card__meta {
  margin-top: 1.1rem;
  color: var(--accent-text);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.cat-card__name {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 360;
  line-height: 1.12;
  letter-spacing: -0.012em;
}
.cat-card__link:hover .cat-card__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.cat-card__note {
  margin-top: 0.45rem;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-style: italic;
  font-weight: 330;
  line-height: 1.45;
}

.forms-guide { padding-block: var(--section-y); }
.forms-guide__list { display: grid; gap: 2.25rem; list-style: none; }
.forms-guide__list li { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.forms-guide__swatch {
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  box-shadow: inset -6px -8px 14px rgba(0, 0, 0, 0.18);
}
.forms-guide__swatch--raw { background: radial-gradient(circle at 35% 30%, #FFFFFB, #E4DDCB); }
.forms-guide__swatch--steam { background: radial-gradient(circle at 35% 30%, #FFFBEF, #DCCFA9); }
.forms-guide__swatch--sella { background: radial-gradient(circle at 35% 30%, #FBF0D2, #CDB37A); }
.forms-guide__swatch--golden { background: radial-gradient(circle at 35% 30%, #F8D38A, #B97E28); }
.forms-guide__list h3 { font-family: var(--font-display); font-size: 1.55rem; font-weight: 360; }
.forms-guide__list p { max-width: 20rem; margin-top: 0.6rem; color: var(--ink-soft); font-size: 0.9688rem; }
.forms-guide__more { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

@media (max-width: 39.99em) {
  .cat-card__name { font-size: 1.2rem; }
  .cat-card__note { font-size: 0.9rem; }
}
@media (min-width: 40em) {
  .catalogue__grid { grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 3rem 1.75rem; }
  .forms-guide__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--col-gap); }
}
@media (min-width: 60em) {
  .catalogue__head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: end; }
  .catalogue__head .section-title { grid-column: 1 / span 6; }
  .catalogue__head .section-intro { grid-column: 8 / -1; }
  .forms-guide__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ------------------------------------------------------ process flow */

.flow-band {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background: var(--cream-deep) var(--grain);
  border-block: 1px solid var(--line);
}
.flow-band__title {
  margin-bottom: 1.5rem;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.flow {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 0.5rem 1rem;
  list-style: none;
}
.flow li { position: relative; }
.flow a {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.8rem 1.4rem 0.8rem 0;
  text-decoration: none;
}
.flow__num { color: var(--accent-text); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; }
.flow__name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 380; line-height: 1.2; }
.flow a:hover .flow__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

@media (min-width: 75em) {
  .flow { grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 0; }
  .flow li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.9rem;
    right: 0.45rem;
    width: 0.7rem;
    height: 0.7rem;
    border-top: 1px solid var(--gold);
    border-right: 1px solid var(--gold);
    transform: rotate(45deg);
  }
}

.infra-row { scroll-margin-top: var(--header-h); }
.infra-row__link { margin-top: 1.5rem; }

/* ----------------------------------------------------------- gallery */

.gallery-band { padding-block: var(--section-y); }
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1rem;
  list-style: none;
}
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery figcaption {
  margin-top: 0.7rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 330;
}
.gallery .photo-credit { margin-top: 0.2rem; }
@media (min-width: 60em) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
  .gallery__item:nth-child(4n + 2),
  .gallery__item:nth-child(4n + 4) { transform: translateY(3rem); }
  .gallery { padding-bottom: 3rem; }
}

/* ------------------------------------------------ quality control */

.qc { padding-block: var(--section-y); scroll-margin-top: var(--header-h); }
.qc-steps {
  display: grid;
  gap: 3rem var(--col-gap);
  list-style: none;
}
.qc-step__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.qc-step__num {
  display: block;
  margin-top: 1.25rem;
  color: transparent;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
  -webkit-text-stroke: 1px var(--gold-light);
}
.qc-step__title {
  margin-top: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 360;
  line-height: 1.2;
}
.qc-step__text { max-width: 26rem; margin-top: 0.6rem; color: var(--ink-soft); font-size: 0.9688rem; }
.qc__targets {
  display: grid;
  gap: 2rem;
  margin-top: clamp(4rem, 8vw, 6rem);
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
}
@media (min-width: 40em) {
  .qc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 60em) {
  .qc-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qc__targets { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .qc__targets .quality__title { grid-column: 1 / span 4; }
  .qc__targets .quality__list { grid-column: 6 / -1; }
}

/* ------------------------------------------------- knowledge centre */

.blog-hero {
  padding: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}
.blog-hero__grid { display: grid; gap: 2rem; }
.blog-hero__title {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 1.4rem + 6vw, 7rem);
  font-weight: 320;
  line-height: 0.98;
  letter-spacing: -0.028em;
  animation: hero-fade 1.2s var(--ease) calc(var(--intro-offset) + 0.1s) both;
}
.blog-hero__title em { font-weight: 300; color: var(--accent-text); }
.blog-hero__intro { max-width: 30rem; color: var(--ink-soft); font-size: 1.125rem; align-self: end; }

.blog-index { padding-block: clamp(3rem, 6vw, 5rem) var(--section-y); }
.blog-lead { list-style: none; }
.blog-group { margin-top: clamp(4rem, 8vw, 6rem); }
.blog-group__title {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--accent-text);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 3rem 1.75rem;
  margin-top: 2rem;
  list-style: none;
}
.post-card__link { display: flex; flex-direction: column; text-decoration: none; }
.post-card__media { display: block; overflow: hidden; background: var(--beige); }
.post-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.4s var(--ease); }
.post-card__link:hover .post-card__media img { transform: scale(1.045); }
.post-card__meta {
  margin-top: 1.1rem;
  color: var(--accent-text);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.post-card__title {
  margin-top: 0.45rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 360;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.post-card__link:hover .post-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.post-card__dek { margin-top: 0.55rem; color: var(--ink-soft); font-size: 0.9688rem; line-height: 1.55; }
.post-card--lead .post-card__title { font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); }
.post-card--lead .post-card__dek { font-size: 1.0625rem; max-width: 32rem; }

.post-hero { padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)) 0 clamp(2.5rem, 5vw, 4rem); }
.post-hero__grid { display: grid; gap: 2.5rem; align-items: end; }
.post-hero__meta {
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--accent-text);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.post-hero__title {
  margin-top: 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.4rem + 3.2vw, 4.6rem);
  font-weight: 320;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.post-hero__dek {
  max-width: 34rem;
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.5rem);
  font-style: italic;
  font-weight: 320;
  line-height: 1.45;
}
.post-hero__text > * { animation: hero-fade 1.2s var(--ease) both; }
.post-hero__text > :nth-child(2) { animation-delay: 0.1s; }
.post-hero__text > :nth-child(3) { animation-delay: 0.2s; }
.post-hero__text > :nth-child(4) { animation-delay: 0.32s; }
.post-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.post__grid { display: grid; gap: 2.5rem; padding-bottom: var(--section-y); }
.post__toc-title {
  color: var(--accent-text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.post__toc ol { margin-top: 1rem; list-style: none; border-left: 1px solid var(--line); }
.post__toc li a {
  display: block;
  padding: 0.4rem 0 0.4rem 1rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.4;
  text-decoration: none;
}
.post__toc li a:hover { color: var(--ink); }
.post__toc-cta { margin-top: 1.75rem; }

.prose { max-width: 42rem; font-size: 1.0625rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 {
  margin-top: 3rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem);
  font-weight: 360;
  line-height: 1.15;
  letter-spacing: -0.012em;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.prose h3 { margin-top: 2rem; font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; line-height: 1.25; }
.prose ul,
.prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: 0.5rem; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.prose strong { font-weight: 600; }
.prose blockquote {
  padding-left: 1.25rem;
  border-left: 2px solid var(--gold);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
}
.prose .key-points { padding: 1.5rem 1.75rem; background: var(--cream-deep); border-top: 2px solid var(--gold); }
.prose .key-points h2 {
  margin-top: 0;
  color: var(--accent-text);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.prose .key-points ul { margin-top: 0.9rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.prose th,
.prose td { padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--cream-deep); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em; }
.prose tr:last-child td { border-bottom: 0; }

@media (min-width: 60em) {
  .blog-hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .blog-hero__grid > div { grid-column: 1 / span 7; }
  .blog-hero__intro { grid-column: 9 / -1; }
  .post-card--lead .post-card__link {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--col-gap);
    align-items: center;
  }
  .post-card--lead .post-card__media { grid-column: 1 / span 7; grid-row: 1 / span 4; }
  .post-card--lead .post-card__meta,
  .post-card--lead .post-card__title,
  .post-card--lead .post-card__dek { grid-column: 9 / -1; }
  .post-card--lead .post-card__meta { align-self: end; }
  .post-card--lead .post-card__dek { align-self: start; }
  .post-hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .post-hero__text { grid-column: 1 / span 7; }
  .post-hero__media { grid-column: 8 / -1; }
  .post__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .post__toc { grid-column: 1 / span 3; position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; }
  .post__body { grid-column: 5 / -1; }
}

/* ------------------------------------------------------------ frames */

/* Every photo sits in a frame showing a blurred 32px preview until it loads. */
.frame {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
}
.frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--lqip, none) center / cover no-repeat;
  filter: blur(16px);
  transform: scale(1.12);
}
.frame img { transition: opacity 1.1s var(--ease); }
.frame img.is-loading { opacity: 0; }
.hero__media .frame,
.page-hero__media .frame,
.sustain__media .frame,
.product__media .frame { position: absolute; inset: 0; }

.deco-frame {
  position: absolute;
  z-index: -1;
  border: 1px solid var(--gold);
  pointer-events: none;
}
.story__figure .deco-frame { inset: -0.75rem 0.75rem 0.75rem -0.75rem; }
.contact__panel .deco-frame { inset: 0.75rem -0.75rem -0.75rem 0.75rem; border-color: rgba(201, 166, 107, 0.6); }
@media (min-width: 48em) {
  .story__figure .deco-frame { inset: -1.5rem 1.5rem 1.5rem -1.5rem; }
  .contact__panel .deco-frame { inset: 1.5rem -1.5rem -1.5rem 1.5rem; }
}

/* ----------------------------------------------------------- marquee */

.marquee {
  overflow: hidden;
  padding-block: clamp(1.75rem, 3.5vw, 3rem);
  background: var(--cream-deep) var(--grain);
  border-bottom: 1px solid var(--line);
}
.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 55s linear infinite;
}
.marquee__item,
.marquee__mark { margin-right: clamp(1.5rem, 3vw, 3rem); }
.marquee__item {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.4rem + 5vw, 6.5rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.marquee__mark { flex: none; width: clamp(0.9rem, 1.6vw, 1.4rem); height: auto; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------- intro */

.intro { display: none; }
.intro-pending .intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--green) var(--grain-light);
  color: var(--cream);
  clip-path: inset(0 0 0 0);
  animation: intro-lift 1.2s var(--ease-io) 2s forwards;
}
.intro__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  animation: intro-out 1s var(--ease-io) 2s forwards;
}
.intro__mark { width: 2.5rem; height: auto; overflow: visible; }
.intro__mark path {
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: intro-draw 1.3s var(--ease) 0.15s forwards;
}
.intro__mark path + path { animation-duration: 0.8s; animation-delay: 0.85s; }
.intro__word,
.intro__sub { overflow: hidden; }
.intro__word span,
.intro__sub span { display: block; transform: translateY(110%); animation: intro-rise 1.1s var(--ease) 0.7s forwards; }
.intro__word span {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 2rem + 3vw, 4.5rem);
  font-weight: 320;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.intro__sub span {
  color: var(--beige);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  animation-delay: 0.95s;
}
@keyframes intro-draw { to { stroke-dashoffset: 0; } }
@keyframes intro-rise { to { transform: none; } }
@keyframes intro-lift { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes intro-out { to { transform: translateY(-2.5rem); opacity: 0; } }

/* ------------------------------------------------------------ cursor */

.has-cursor,
.has-cursor a,
.has-cursor button,
.has-cursor select { cursor: none; }
.has-cursor input,
.has-cursor textarea { cursor: text; }

.cursor { position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none; }
.cursor__dot,
.cursor__ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  transition: opacity 0.3s var(--ease);
}
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold-light); }
.cursor__ring {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border: 1px solid rgba(201, 166, 107, 0.75);
  transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease),
    background-color 0.45s var(--ease), border-color 0.45s var(--ease), opacity 0.3s var(--ease);
}
.cursor__label {
  color: var(--green);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.cursor.is-link .cursor__ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; }
.cursor.is-view .cursor__ring {
  width: 92px;
  height: 92px;
  margin: -46px 0 0 -46px;
  background: var(--cream);
  border-color: transparent;
}
.cursor.is-view .cursor__label { opacity: 1; }
.cursor.is-view .cursor__dot,
.cursor.is-hidden .cursor__dot,
.cursor.is-hidden .cursor__ring { opacity: 0; }

/* -------------------------------------------------- page transitions */

@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: 0.85s; animation-timing-function: var(--ease-io); }
::view-transition-old(*),
::view-transition-new(*) { height: 100%; object-fit: cover; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 0.5s; }

/* ------------------------------------------------------ reduced motion */

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  .marquee__track,
  .hero__scroll i::after { animation: none !important; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
}
