/* =========================================================
   Nimax Company Limited — one-page corporate website
   ========================================================= */

:root {
  --green-dark: #0b342c;
  --green-deep: #071f1b;
  --green-mid: #17493f;
  --bronze: #b67a4a;
  --bronze-light: #c89568;
  --off-white: #f5f6f4;
  --paper: #f1f2f0;
  --light-grey: #e7e9e8;
  --charcoal: #1d2522;
  --muted: #68716d;
  --white: #ffffff;
  --border: rgba(11, 52, 44, 0.16);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 36px;
  --container: min(1320px, calc(100% - 80px));
  --shadow: 0 24px 70px rgba(6, 30, 25, 0.12);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--light-grey);
  color: var(--charcoal);
  font-family: "Commissioner", Arial, sans-serif;
  font-optical-sizing: auto;
  font-variation-settings: "slnt" 0, "FLAR" 0, "VOLM" 0;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

::selection { background: var(--bronze); color: var(--white); }

:focus-visible {
  outline: 3px solid var(--bronze-light);
  outline-offset: 4px;
}

.container { width: var(--container); margin-inline: auto; }
.section { position: relative; padding: 150px 0; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--white);
  color: var(--green-deep);
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.section-index,
.eyebrow,
.card-kicker,
.origin-number,
.footer__label {
  margin: 0;
  color: var(--green-dark);
  font-family: "Commissioner", Arial, sans-serif;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-index::before {
  display: inline-block;
  width: 28px;
  height: 2px;
  margin-right: 12px;
  background: var(--bronze);
  content: "";
  vertical-align: middle;
}

.section-index--light,
.eyebrow--light { color: rgba(255, 255, 255, 0.74); }

.display-title {
  margin: 26px 0 0;
  color: var(--green-deep);
  font-family: "Ledger", Georgia, serif;
  font-size: clamp(3rem, 6vw, 6.3rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.display-title em {
  color: var(--bronze);
  font-family: "Ledger", Georgia, serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.display-title--light { color: var(--off-white); }
.lead { font-size: clamp(1.18rem, 1.7vw, 1.52rem); line-height: 1.55; }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.58fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 76px;
}

.section-heading__copy {
  max-width: 480px;
  margin: 0 0 10px;
  color: #52605b;
  font-size: 1.06rem;
}

/* Buttons */
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Commissioner", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transition: background-color 240ms ease, border-color 240ms ease, color 240ms ease, transform 240ms ease;
}
.button > :last-child { transition: transform 220ms ease; }
.button:hover > :last-child { transform: translate(5px, -2px); }
.button:active { transform: translateY(1px); }
.button--light { background: var(--off-white); color: var(--green-deep); }
.button--light:hover { background: var(--white); }
.button--ghost { border-color: rgba(255,255,255,.48); color: var(--white); }
.button--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.button--bronze { background: var(--bronze); color: var(--white); }

/* Loader */
.loader {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--green-deep);
  color: var(--off-white);
}
.no-js .loader { display: none; }
.loader__inner { display: flex; width: min(320px, 76vw); flex-direction: column; align-items: center; }
.loader__mark { position: relative; display: grid; width: 122px; height: 122px; place-items: center; }
.loader__halo { position: absolute; inset: 4px; border: 1px solid var(--bronze-light); border-radius: 50%; opacity: 0; transform: scale(.55); }
.loader__symbol { width: 82px; height: 74px; object-fit: contain; opacity: 0; transform: scale(.92); }
.loader__name { margin: 14px 0 0; font-family: "Commissioner", Arial, sans-serif; font-size: 2.1rem; font-weight: 700; letter-spacing: .25em; line-height: 1; opacity: 0; transform: translateX(.12em); }
.loader__tagline { margin: 12px 0 0; color: rgba(255,255,255,.66); font-family: "Commissioner", Arial, sans-serif; font-size: .62rem; font-weight: 600; letter-spacing: .36em; opacity: 0; transform: translateX(.18em); }

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 0;
  border-bottom: 1px solid transparent;
  color: var(--white);
  transition: padding 280ms ease, color 280ms ease, background-color 280ms ease, border-color 280ms ease, backdrop-filter 280ms ease;
}
.site-header.is-scrolled {
  padding: 10px 0;
  border-color: rgba(11,52,44,.11);
  background: rgba(245,243,238,.9);
  color: var(--green-deep);
  backdrop-filter: blur(18px);
}
.nav-shell { width: var(--container); margin-inline: auto; display: flex; min-height: 58px; align-items: center; gap: 42px; }
.brand { position: relative; z-index: 2; display: block; width: 224px; height: 52px; margin-right: auto; }
.brand__lockup { position: absolute; inset: 0; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: center; }
.brand__symbol { width: 52px; height: 48px; object-fit: contain; }
.brand__wordmark { width: 100%; height: auto; object-fit: contain; }
.brand__dark { opacity: 0; }
.site-header.is-scrolled .brand__light { opacity: 0; }
.site-header.is-scrolled .brand__dark { opacity: 1; }
.brand__light, .brand__dark { transition: opacity 250ms ease; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); }
.desktop-nav a { position: relative; padding: 12px 0; font-family: "Commissioner", Arial, sans-serif; font-size: .78rem; font-weight: 600; }
.desktop-nav a::after { position: absolute; right: 0; bottom: 7px; left: 0; height: 1px; background: currentColor; content: ""; transform: scaleX(0); transform-origin: right; transition: transform 220ms ease; }
.desktop-nav a:hover::after, .desktop-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.button--nav { border-color: rgba(255,255,255,.5); color: var(--white); }
.button--nav:hover { background: var(--white); color: var(--green-deep); }
.site-header.is-scrolled .button--nav { border-color: var(--green-dark); background: var(--green-dark); color: var(--white); }
.menu-toggle { position: relative; z-index: 1002; display: none; width: 50px; height: 50px; padding: 0; border: 1px solid currentColor; border-radius: 50%; background: transparent; cursor: pointer; }
.menu-toggle span { position: absolute; left: 14px; width: 20px; height: 1px; background: currentColor; transition: transform 250ms ease, top 250ms ease; }
.menu-toggle span:first-child { top: 21px; }
.menu-toggle span:last-child { top: 28px; }
.site-header.menu-open { height: 100dvh; background: #061d18; color: var(--off-white); backdrop-filter: none; }
.site-header.menu-open .nav-shell { position: relative; z-index: 1003; }
.site-header.menu-open .menu-toggle span:first-child { top: 24px; transform: rotate(45deg); }
.site-header.menu-open .menu-toggle span:last-child { top: 24px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; z-index: 1001; inset: 0; display: none; overflow-y: auto; background: #061d18; color: var(--off-white); opacity: 0; pointer-events: none; visibility: hidden; isolation: isolate; transition: opacity 280ms ease, visibility 280ms ease; }
.mobile-menu::before { position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 85% 12%, rgba(182,122,74,.2), transparent 32%), linear-gradient(145deg, #0b342c 0%, #061d18 58%); content: ""; }
.site-header.menu-open .mobile-menu { opacity: 1; pointer-events: auto; visibility: visible; }
.mobile-menu__inner { display: flex; width: min(100% - 48px, 620px); height: 100%; margin: auto; flex-direction: column; justify-content: center; }
.mobile-menu__eyebrow { margin: 0 0 28px; color: var(--bronze-light); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }
.mobile-menu__inner > a:not(.button) { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.13); font-family: "Commissioner", Arial, sans-serif; font-size: clamp(2rem, 8vw, 3.8rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.18; }
.mobile-menu .button { align-self: flex-start; margin-top: 36px; }

/* Hero */
.hero { min-height: 100svh; padding: 14px; background: var(--green-deep); }
.hero__frame { position: relative; min-height: calc(100svh - 28px); overflow: hidden; border-radius: var(--radius-lg); color: var(--white); background: var(--green-deep); }
.hero__image, .hero__veil { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__image { object-fit: cover; transform: scale(1.05); }
.hero__veil { background: linear-gradient(90deg, rgba(3,23,19,.83) 0%, rgba(3,23,19,.45) 50%, rgba(3,23,19,.22) 100%), linear-gradient(0deg, rgba(3,23,19,.55) 0%, transparent 35%); }
.hero__content { position: relative; z-index: 2; width: min(850px, calc(100% - 160px)); padding: clamp(175px, 23vh, 260px) 0 130px clamp(42px, 8vw, 128px); }
.hero h1 { margin: 0; font-family: "Ledger", Georgia, serif; font-size: clamp(3.7rem, 6.35vw, 7.15rem); font-weight: 400; letter-spacing: -.055em; line-height: .98; }
.hero h1 span { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hero__intro { max-width: 610px; margin: 34px 0 0; color: rgba(255,255,255,.78); font-size: 1.07rem; line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

/* About */
.about { overflow: hidden; background: var(--light-grey); }
.about__grid { display: grid; grid-template-columns: 1.17fr .72fr; gap: 100px; align-items: end; margin-top: 42px; }
.about__copy p { margin: 0; }
.about__copy p + p { margin-top: 24px; color: #4e5b57; }
.about__facts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 110px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about__facts > div { display: flex; min-height: 160px; flex-direction: column; justify-content: center; gap: 12px; padding: 20px 40px; }
.about__facts > div + div { border-left: 1px solid var(--border); }
.about__facts span:last-child { color: var(--muted); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; }
.fact-number { color: var(--green-dark); font-family: "Commissioner", Arial, sans-serif; font-size: clamp(2.6rem, 4vw, 4.8rem); font-weight: 500; letter-spacing: -.055em; line-height: 1; }
.about__watermark { position: absolute; right: -35px; bottom: 40px; color: rgba(11,52,44,.035); font-family: "Commissioner", Arial, sans-serif; font-size: clamp(8rem, 20vw, 22rem); font-weight: 700; letter-spacing: -.08em; line-height: .72; pointer-events: none; }

/* Services */
.services { background: var(--light-grey); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.service-card { position: relative; min-height: 680px; overflow: hidden; border-radius: var(--radius-md); }
.service-card--image { color: var(--white); }
.service-card--image img, .service-card__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.service-card--image img { object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.service-card--image:hover img { transform: scale(1.035); }
.service-card__shade { background: linear-gradient(0deg, rgba(5,31,26,.88), rgba(5,31,26,.04) 70%); }
.service-card__shade--deep { background: linear-gradient(0deg, rgba(5,31,26,.95) 0%, rgba(5,31,26,.62) 64%, rgba(5,31,26,.42) 100%); }
.service-card--green { background: var(--green-dark); color: var(--off-white); }
.service-card__top { position: absolute; z-index: 2; top: 32px; right: 34px; left: 34px; display: flex; justify-content: space-between; color: rgba(255,255,255,.65); font-family: "Commissioner", Arial, sans-serif; font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; }
.service-card__body { position: absolute; z-index: 2; right: 42px; bottom: 42px; left: 42px; }
.service-card .card-kicker { color: var(--bronze-light); }
.service-card h3 { max-width: 540px; margin: 18px 0; font-family: "Ledger", Georgia, serif; font-size: clamp(2.25rem, 3.7vw, 4.4rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.08; }
.service-card__body > p:not(.card-kicker) { max-width: 560px; margin: 0; color: rgba(255,255,255,.72); }
.service-card__meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.service-card__meta span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.23); border-radius: 999px; color: rgba(255,255,255,.72); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.farm-note { display: grid; grid-template-columns: 1fr 1fr; margin-top: 30px; }
.farm-note p { grid-column: 2; margin: 0; padding: 30px 0 0 42px; border-left: 2px solid var(--bronze); color: #52605b; }

/* Focus */
.focus { --focus-y: 50%; position: relative; overflow: hidden; padding: 135px 0 145px; background: var(--green-deep); color: var(--white); }
.focus::before { position: absolute; inset: 0; background: radial-gradient(circle 360px at 78% var(--focus-y), rgba(182,122,74,.2), transparent 72%); content: ""; opacity: .72; pointer-events: none; transition: opacity 250ms ease; }
.focus__grid { position: relative; z-index: 1; display: grid; grid-template-columns: .5fr 1.5fr; gap: 80px; }
.focus__rule { display: block; width: 92px; height: 2px; margin-top: 38px; background: var(--bronze); transform-origin: left; }
.focus__statements p { margin: 0; color: rgba(255,255,255,.18); font-family: "Ledger", Georgia, serif; font-size: clamp(2.4rem, 5vw, 5.4rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.1; transition: color 350ms ease, transform 350ms ease; }
.focus__statements p + p { margin-top: 14px; }
.focus__statements p.is-active { color: var(--off-white); }
.focus.has-pointer .focus__statements p { color: rgba(255,255,255,.18); }
.focus.has-pointer .focus__statements p.is-cursor-active { color: var(--off-white); transform: translateX(10px); }

/* Coffee origins */
.coffee { background: var(--light-grey); }
.section-heading--coffee { margin-bottom: 120px; }
.coffee-origin { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(54px, 7vw, 108px); align-items: center; padding: 0 0 150px; }
.coffee-origin--reverse .coffee-origin__image { order: 2; }
.coffee-origin--reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.coffee-origin__image { position: relative; height: min(750px, 70vw); min-height: 590px; overflow: hidden; border-radius: var(--radius-lg); background: var(--green-dark); }
.coffee-origin__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.coffee-origin__image:hover img { transform: scale(1.025); }
.coffee-origin--kagera .coffee-origin__image img { object-position: 50% 50%; }
.coffee-origin--reverse .coffee-origin__image img { object-position: 50% 45%; }
.image-label { position: absolute; right: 22px; bottom: 22px; padding: 9px 13px; border-radius: 999px; background: rgba(245,243,238,.9); color: var(--green-dark); font-family: "Commissioner", Arial, sans-serif; font-size: .61rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(10px); }
.origin-number { color: var(--bronze); }
.coffee-origin__content h3 { margin: 18px 0 12px; color: var(--green-deep); font-family: "Ledger", Georgia, serif; font-size: clamp(2.5rem, 4.5vw, 5.1rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.04; }
.origin-line { margin: 0 0 25px; color: var(--green-mid); font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.origin-line span { margin: 0 8px; color: var(--bronze); }
.coffee-origin__content > p:not(.origin-number,.origin-line) { max-width: 700px; color: #52605b; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 30px 0 24px; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.spec-grid div { min-height: 112px; padding: 20px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.spec-grid dt { color: var(--muted); font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.spec-grid dd { margin: 8px 0 0; color: var(--green-deep); font-family: "Commissioner", Arial, sans-serif; font-size: .96rem; font-weight: 600; line-height: 1.4; }
.flavour-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 28px; }
.flavour-list span { padding: 6px 10px; border: 1px solid var(--border); border-radius: 999px; color: #4c5a55; font-size: .68rem; }
.accordion-trigger { display: flex; width: 100%; min-height: 62px; align-items: center; justify-content: space-between; padding: 0; border: 0; border-top: 1px solid var(--green-dark); border-bottom: 1px solid var(--green-dark); background: transparent; color: var(--green-dark); cursor: pointer; font-family: "Commissioner", Arial, sans-serif; font-size: .77rem; font-weight: 700; letter-spacing: .09em; text-align: left; text-transform: uppercase; }
.accordion-trigger__icon { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--border); border-radius: 50%; font-size: 1.2rem; transition: transform 250ms ease, background 250ms ease, color 250ms ease; }
.accordion-trigger[aria-expanded="true"] .accordion-trigger__icon { background: var(--green-dark); color: var(--white); transform: rotate(45deg); }
.accordion-panel { overflow: hidden; }
.accordion-panel__inner { padding: 25px 0 10px; color: #52605b; }
.accordion-panel h4 { margin: 24px 0 12px; color: var(--green-dark); font-family: "Commissioner", Arial, sans-serif; font-size: .76rem; letter-spacing: .09em; text-transform: uppercase; }
.detail-list { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 24px; padding: 0; list-style: none; }
.detail-list li { position: relative; padding-left: 17px; }
.detail-list li::before { position: absolute; top: .68em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--bronze); content: ""; }
.lot-info { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; padding: 70px; border-radius: var(--radius-md); background: var(--off-white); }
.lot-info h3 { margin: 18px 0 0; color: var(--green-deep); font-family: "Ledger", Georgia, serif; font-size: clamp(2.2rem, 3.5vw, 4rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.08; }
.lot-info > div:last-child > p { margin-top: 0; color: #52605b; }
.lot-info__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--border); list-style: none; }
.lot-info__list li { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--border); color: var(--green-deep); font-size: .83rem; }

/* Sourcing */
.sourcing { overflow: hidden; background: var(--green-dark); color: var(--off-white); }
.sourcing::before { position: absolute; top: 0; right: 0; width: 45%; height: 100%; background: radial-gradient(circle at top right, rgba(182,122,74,.14), transparent 50%); content: ""; }
.sourcing__header { position: relative; display: grid; grid-template-columns: 1.35fr .65fr; gap: 80px; align-items: end; }
.sourcing__header > p { max-width: 480px; margin: 0 0 10px; color: rgba(255,255,255,.67); }
.sourcing__journey { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); margin: 110px 0 120px; }
.sourcing__line { position: absolute; top: 22px; right: calc(16.6667% - 6px); left: 6px; height: 1px; background: rgba(255,255,255,.18); transform-origin: left; }
.sourcing__journey article { position: relative; padding: 64px 24px 0 0; }
.sourcing__journey article::before { position: absolute; z-index: 2; top: 16px; left: 0; width: 13px; height: 13px; border: 4px solid var(--green-dark); border-radius: 50%; background: var(--bronze); box-shadow: 0 0 0 1px var(--bronze); content: ""; }
.sourcing__journey article > span { color: rgba(255,255,255,.35); font-size: .63rem; letter-spacing: .13em; }
.sourcing__journey h3 { margin: 10px 0 12px; font-family: "Commissioner", Arial, sans-serif; font-size: 1.28rem; font-weight: 600; }
.sourcing__journey p { margin: 0; padding-right: 20px; color: rgba(255,255,255,.55); font-size: .78rem; line-height: 1.55; }
.sourcing__detail { position: relative; display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: center; padding: 30px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-md); background: rgba(255,255,255,.035); }
.sourcing__image { height: 430px; overflow: hidden; border-radius: 14px; }
.sourcing__image img { width: 100%; height: 100%; object-fit: cover; }
.sourcing__detail > div:last-child { max-width: 650px; padding-right: 40px; }
.sourcing__detail h3 { margin: 0 0 22px; font-family: "Ledger", Georgia, serif; font-size: clamp(2.4rem, 4vw, 4.7rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.08; }
.sourcing__detail p { color: rgba(255,255,255,.65); }
.text-link { display: inline-flex; gap: 20px; margin-top: 18px; padding-bottom: 4px; border-bottom: 1px solid var(--bronze-light); color: var(--off-white); font-family: "Commissioner", Arial, sans-serif; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.text-link span { transition: transform 220ms ease; }
.text-link:hover span { transform: translate(5px,-2px); }

/* Manifesto */
.manifesto { --manifesto-y: 50%; position: relative; min-height: 92svh; overflow: hidden; color: var(--white); }
.manifesto > img, .manifesto__veil { position: absolute; inset: 0; width: 100%; height: 100%; }
.manifesto > img { object-fit: cover; object-position: 50% 45%; }
.manifesto__veil { background: linear-gradient(90deg, rgba(4,29,24,.88), rgba(4,29,24,.35)), linear-gradient(0deg, rgba(4,29,24,.65), transparent 45%); }
.manifesto::after { position: absolute; z-index: 1; inset: 0; background: radial-gradient(circle 380px at 72% var(--manifesto-y), rgba(200,149,104,.2), transparent 72%); content: ""; opacity: .72; pointer-events: none; }
.manifesto__content { position: relative; z-index: 2; display: flex; min-height: 92svh; flex-direction: column; justify-content: center; padding: 110px 0; }
.manifesto__lines { margin-top: 48px; }
.manifesto__lines p { margin: 0; color: rgba(255,255,255,.34); font-family: "Ledger", Georgia, serif; font-size: clamp(3.5rem, 7.2vw, 8rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.05; transition: color 350ms ease, transform 350ms ease; }
.manifesto__lines em { color: inherit; font-family: "Ledger", Georgia, serif; font-style: normal; font-weight: 400; }
.manifesto__lines p.is-active { color: var(--off-white); }
.manifesto.has-pointer .manifesto__lines p { color: rgba(255,255,255,.34); }
.manifesto.has-pointer .manifesto__lines p.is-cursor-active { color: var(--off-white); transform: translateX(10px); }
.manifesto__accessible { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Contact */
.contact { background: var(--light-grey); }
.contact__grid { display: grid; grid-template-columns: .73fr 1.27fr; gap: clamp(60px, 9vw, 145px); align-items: start; }
.contact__intro .lead { max-width: 480px; margin: 36px 0 0; color: #52605b; }
.contact__details { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 22px; margin-top: 70px; }
.contact__details > div { padding-top: 17px; border-top: 1px solid var(--border); }
.contact__details span { display: block; margin-bottom: 9px; color: var(--muted); font-size: .61rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact__details a, .contact__details address, .contact__details p { margin: 0; color: var(--green-deep); font-style: normal; font-size: .88rem; line-height: 1.55; }
.contact__details a:hover { color: var(--bronze); }
.enquiry-form { padding: clamp(30px, 4vw, 58px); border-radius: var(--radius-md); background: var(--green-dark); color: var(--white); box-shadow: var(--shadow); }
.form-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 36px; }
.form-head p { margin: 0; font-family: "Commissioner", Arial, sans-serif; font-size: 1.6rem; font-weight: 500; }
.form-head span { color: rgba(255,255,255,.45); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; color: rgba(255,255,255,.63); font-size: .68rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 9px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.24); border-radius: 0; outline: none; background: transparent; color: var(--white); transition: border-color 200ms ease, background-color 200ms ease; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.32); }
.field textarea { min-height: 115px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--bronze-light) 50%), linear-gradient(135deg, var(--bronze-light) 50%, transparent 50%); background-position: calc(100% - 11px) 52%, calc(100% - 6px) 52%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--green-dark); color: var(--white); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--bronze-light); }
.field [aria-invalid="true"] { border-color: #ff9f85; background: linear-gradient(0deg, rgba(255,110,79,.05), transparent 55%); }
.field:has([aria-invalid="true"]) label { color: #ffd0c3; }
.field-error { display: block; min-height: 1.2rem; margin-top: 5px; color: #ffd0c3; font-size: .72rem; line-height: 1.35; }
.field-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; color: rgba(255,255,255,.44); font-size: .67rem; line-height: 1.3; }
.field--honeypot { position: absolute; left: -10000px; }
.checkbox { display: flex; min-height: 44px; align-items: center; gap: 12px; color: rgba(255,255,255,.72); cursor: pointer; font-size: .8rem; }
.checkbox input { width: 18px; height: 18px; margin: 0; accent-color: var(--bronze); }
.button--submit { width: 100%; margin-top: 34px; border: 0; background: var(--bronze); color: var(--white); cursor: pointer; }
.button--submit:disabled { cursor: not-allowed; opacity: .42; }
.button--submit.is-sending { cursor: wait; opacity: .68; }
.form-status { min-height: 1.5em; margin: 15px 0 0; color: rgba(255,255,255,.8); font-size: .82rem; }
.form-status.is-error { color: #ffd0c3; }
.form-status.is-success { color: #d9ead4; }

/* Toast notifications */
.toast { position: fixed; z-index: 10020; right: 24px; bottom: 24px; display: grid; width: min(430px, calc(100% - 32px)); grid-template-columns: 12px 1fr auto; gap: 13px; align-items: start; padding: 17px 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 15px; background: #102f29; box-shadow: 0 22px 65px rgba(3,23,19,.28); color: var(--white); opacity: 0; pointer-events: none; transform: translateY(18px); transition: opacity 220ms ease, transform 220ms ease; }
.toast.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.toast__icon { width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--bronze-light); box-shadow: 0 0 0 5px rgba(200,149,104,.14); }
.toast.is-error .toast__icon { background: #ff9f85; box-shadow: 0 0 0 5px rgba(255,159,133,.14); }
.toast.is-success .toast__icon { background: #9bcf9a; box-shadow: 0 0 0 5px rgba(155,207,154,.14); }
.toast__message { margin: 0; font-size: .84rem; line-height: 1.55; }
.toast__close { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; color: rgba(255,255,255,.68); cursor: pointer; font-size: 1.25rem; line-height: 1; }
.toast__close:hover { color: var(--white); }

/* Footer */
.site-footer { padding: 90px 0 28px; background: var(--green-deep); color: var(--off-white); }
.footer__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 54px; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer__brand { position: relative; display: block; width: 260px; height: 62px; }
.footer__brand .brand__lockup { grid-template-columns: 62px minmax(0, 1fr); gap: 12px; }
.footer__brand .brand__symbol { width: 62px; height: 56px; }
.footer__top > p { margin: 0; color: var(--bronze-light); font-family: "Commissioner", Arial, sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .28em; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 65px 0; }
.footer__grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer__label { margin-bottom: 13px; color: rgba(255,255,255,.38); }
.footer__grid a, .footer__grid p, .footer__grid address { margin: 0; color: rgba(255,255,255,.7); font-size: .79rem; font-style: normal; line-height: 1.65; }
.footer__grid a:hover { color: var(--white); }
.footer__bottom { position: relative; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.42); font-size: .68rem; }
.footer__bottom > p { margin: 0; }

/* Floating back-to-top control */
.back-to-top {
  position: fixed;
  z-index: 900;
  right: 28px;
  bottom: 28px;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(245,243,238,.25);
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--off-white);
  box-shadow: 0 14px 38px rgba(4,29,24,.24);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 220ms ease, transform 220ms ease, background-color 220ms ease;
}
.back-to-top span { font-size: 1.25rem; line-height: 1; transition: transform 220ms ease; }
.back-to-top:hover { background: var(--bronze); }
.back-to-top:hover span { transform: translateY(-3px); }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Responsive: laptops */
@media (max-width: 1199px) {
  :root { --container: min(100% - 56px, 1080px); }
  .desktop-nav { gap: 17px; }
  .button--nav { display: none; }
  .hero__content { width: min(800px, calc(100% - 100px)); padding-left: 76px; }
  .about__grid { gap: 60px; }
  .service-card { min-height: 610px; }
  .coffee-origin { gap: 55px; }
  .sourcing__journey p { padding-right: 10px; }
}

/* Responsive: tablet */
@media (max-width: 959px) {
  :root { --container: min(100% - 44px, 820px); --radius-lg: 28px; }
  .section { padding: 110px 0; }
  .desktop-nav, .button--nav { display: none; }
  .menu-toggle, .mobile-menu { display: block; }
  .brand { width: 190px; height: 50px; }
  .brand__lockup { grid-template-columns: 48px minmax(0, 1fr); gap: 9px; }
  .brand__symbol { width: 48px; height: 44px; }
  .site-header.menu-open .brand__light { opacity: 1; }
  .site-header.menu-open .brand__dark { opacity: 0; }
  .hero { padding: 10px; }
  .hero__frame { min-height: calc(100svh - 20px); }
  .hero__content { width: calc(100% - 70px); padding: 190px 0 140px 50px; }
  .hero h1 { font-size: clamp(3.5rem, 9vw, 6rem); }
  .about__grid { grid-template-columns: 1fr; gap: 50px; }
  .about__copy { max-width: 620px; margin-left: auto; }
  .about__facts { margin-top: 80px; }
  .about__facts > div { min-height: 140px; padding: 20px 24px; }
  .section-heading, .sourcing__header { grid-template-columns: 1fr; gap: 38px; }
  .section-heading__copy, .sourcing__header > p { max-width: 620px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 640px; }
  .farm-note { grid-template-columns: .35fr 1.65fr; }
  .focus__grid { grid-template-columns: 1fr; gap: 55px; }
  .focus__statements p { font-size: clamp(2.6rem, 7vw, 5rem); }
  .section-heading--coffee { margin-bottom: 90px; }
  .coffee-origin, .coffee-origin--reverse { grid-template-columns: 1fr; gap: 50px; padding-bottom: 110px; }
  .coffee-origin--reverse .coffee-origin__image { order: 0; }
  .coffee-origin__image { height: 650px; min-height: 0; }
  .lot-info { grid-template-columns: 1fr; gap: 40px; padding: 50px; }
  .sourcing__journey { grid-template-columns: 1fr; margin: 80px 0 90px; }
  .sourcing__line { top: 22px; right: auto; bottom: 22px; left: 6px; width: 1px; height: auto; transform-origin: top; }
  .sourcing__journey article { padding: 18px 20px 35px 38px; }
  .sourcing__journey article::before { top: 23px; left: 0; }
  .sourcing__detail { grid-template-columns: .85fr 1.15fr; gap: 40px; }
  .sourcing__detail > div:last-child { padding-right: 15px; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 0 55px; }
  .contact__intro .section-index, .contact__intro .display-title { grid-column: 1; }
  .contact__intro .lead, .contact__details { grid-column: 2; }
  .contact__intro .lead { grid-row: 1 / span 2; margin-top: 36px; align-self: end; }
  .contact__details { margin-top: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Responsive: mobile */
@media (max-width: 699px) {
  :root { --container: calc(100% - 32px); --radius-lg: 22px; --radius-md: 17px; }
  html { scroll-padding-top: 74px; }
  body { font-size: 15px; }
  .section { padding: 84px 0; }
  .section-index::before { width: 20px; margin-right: 9px; }
  .display-title { margin-top: 20px; font-size: clamp(2.75rem, 13vw, 4.25rem); }
  .section-heading { margin-bottom: 54px; }
  .site-header { padding: 9px 0; }
  .site-header.is-scrolled { padding: 7px 0; }
  .nav-shell { min-height: 50px; }
  .brand { width: 172px; height: 46px; }
  .brand__lockup { grid-template-columns: 43px minmax(0, 1fr); gap: 8px; }
  .brand__symbol { width: 43px; height: 40px; }
  .menu-toggle { width: 46px; height: 46px; }
  .menu-toggle span { left: 13px; }
  .hero { min-height: 100svh; padding: 7px; }
  .hero__frame { min-height: calc(100svh - 14px); }
  .hero__image { object-position: 58% center; }
  .hero__veil { background: linear-gradient(0deg, rgba(3,23,19,.9) 0%, rgba(3,23,19,.27) 85%), linear-gradient(90deg, rgba(3,23,19,.45), transparent); }
  .hero__content { display: flex; width: calc(100% - 40px); min-height: calc(100svh - 14px); margin: auto; padding: 150px 0 86px; flex-direction: column; justify-content: flex-end; }
  .hero h1 { font-size: clamp(3.05rem, 15.2vw, 4.6rem); letter-spacing: -.072em; line-height: .93; }
  .hero__intro { margin-top: 24px; font-size: .93rem; }
  .hero__actions { margin-top: 28px; }
  .hero__actions .button { flex: 1 1 180px; max-height: 52px; padding: 0 15px; font-size: .66rem; }
  .about__grid { margin-top: 34px; gap: 36px; }
  .about__copy { margin-left: 0; }
  .about__facts { grid-template-columns: 1fr; margin-top: 55px; }
  .about__facts > div { min-height: 108px; padding: 19px 0; flex-direction: row; align-items: center; justify-content: space-between; }
  .about__facts > div + div { border-top: 1px solid var(--border); border-left: 0; }
  .fact-number { font-size: 2.7rem; }
  .about__facts span:last-child { max-width: 160px; text-align: right; }
  .service-card { min-height: 590px; }
  .service-card__top { top: 22px; right: 22px; left: 22px; }
  .service-card__body { right: 24px; bottom: 26px; left: 24px; }
  .service-card h3 { font-size: clamp(2.25rem, 10vw, 3.25rem); }
  .service-card__meta { gap: 7px; }
  .farm-note { display: block; }
  .farm-note p { padding: 22px 0 0 22px; }
  .focus { padding: 88px 0 96px; }
  .focus__grid { gap: 42px; }
  .focus__statements p { font-size: clamp(2.25rem, 10vw, 3.4rem); }
  .section-heading--coffee { margin-bottom: 62px; }
  .coffee-origin, .coffee-origin--reverse { gap: 35px; padding-bottom: 88px; }
  .coffee-origin__image { height: 460px; border-radius: 22px; }
  .coffee-origin__content h3 { font-size: clamp(2.65rem, 12vw, 4rem); }
  .origin-line { line-height: 1.7; }
  .origin-line span { margin: 0 4px; }
  .spec-grid { grid-template-columns: 1fr; }
  .spec-grid div { min-height: 92px; }
  .detail-list { grid-template-columns: 1fr; }
  .lot-info { gap: 28px; padding: 30px 24px; }
  .lot-info__list { grid-template-columns: 1fr; }
  .sourcing__header { gap: 32px; }
  .sourcing__journey { grid-template-columns: 1fr; margin: 64px 0; }
  .sourcing__journey article { padding-bottom: 27px; }
  .sourcing__detail { grid-template-columns: 1fr; gap: 32px; padding: 16px 16px 34px; }
  .sourcing__image { height: 300px; }
  .sourcing__detail > div:last-child { padding: 0 10px; }
  .manifesto, .manifesto__content { min-height: 78svh; }
  .manifesto__lines p { font-size: clamp(3rem, 14vw, 4.4rem); line-height: 1; }
  .contact__intro { display: block; }
  .contact__intro .lead { margin-top: 28px; }
  .contact__details { grid-template-columns: 1fr 1fr; margin-top: 50px; }
  .enquiry-form { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .field input, .field select { min-height: 52px; }
  .footer__top { align-items: flex-start; flex-direction: column; gap: 30px; }
  .footer__brand { width: 220px; height: 54px; }
  .footer__brand .brand__lockup { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; }
  .footer__brand .brand__symbol { width: 52px; height: 48px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; padding: 50px 0; }
  .back-to-top { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  .toast { right: 16px; bottom: 78px; }
}

@media (max-width: 399px) {
  .hero h1 { font-size: 2.85rem; }
  .hero__actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .hero__actions .button { min-height: 50px; }
  .contact__details { grid-template-columns: 1fr; }
  .form-head { align-items: flex-start; flex-direction: column; gap: 8px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .loader { display: none; }
  .hero__image { transform: none; }
  .focus__statements p, .manifesto__lines p { color: var(--off-white); }
}
