:root { color-scheme: light; --ink: #17342b; --forest: #10271e; --gold: #e5c885; --paper: #f7f3e9; --muted: #4d5a50; --rule: #ded7c8; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 system-ui, sans-serif; }
:where(h1,h2,h3,p,figure) { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
:is(a,button,input,select,textarea):focus-visible { outline: 2px solid #987036; outline-offset: 3px; }
img { display: block; max-width: 100%; }
.wrap { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.skip-link { position: absolute; background: #fff; padding: .6rem 1rem; left: 1rem; top: 1rem; z-index: 2; }
.skip-link:not(:focus) { clip-path: inset(50%); }
.site-header { background: #fff; border-bottom: 1px solid var(--rule); }
.header-inner, .site-footer .wrap { display: flex; justify-content: space-between; gap: .6rem 1.6rem; align-items: center; flex-wrap: wrap; }
.header-inner { min-height: 5rem; padding-block: .25rem; }
.brand img { width: clamp(6rem, 13vw, 9rem); height: auto; }
.main-nav { display: flex; flex-wrap: wrap; gap: .35rem clamp(.8rem, 2.5vw, 1.6rem); font-size: .94rem; font-weight: 600; }
.main-nav a { display: inline-flex; align-items: center; min-height: 2rem; text-decoration: none; }
.main-nav a[aria-current], .main-nav a:hover { text-decoration: underline; }
.distributor-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--forest);
  color: #fff9ee;
}
.distributor-hero::before,
.distributor-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.distributor-hero::before {
  inset: 0 auto 0 0;
  width: 69%;
  background:
    linear-gradient(90deg, #10271e88 0%, #10271eac 45%, #10271e 100%),
    linear-gradient(0deg, #10271e 0%, transparent 26%, transparent 76%, #10271e52 100%),
    url("/assets/coffee-distributor/indonesian-coffee-field.webp") 36% 55% / cover;
}
/* World land outlines from Natural Earth public-domain data (via World Atlas). */
.distributor-hero::after {
  inset: 0 0 0 auto;
  width: 66%;
  background: url("/assets/coffee-distributor/world-land.webp") right 5% top 19% / min(96%, 56rem) auto no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 37%, #000 90%, transparent);
  opacity: .30;
}
@media (max-width: 52rem) {
  .distributor-hero::before { width: 100%; }
  .distributor-hero::after {
    width: 100%;
    background-position: right top 48%;
    opacity: .18;
  }
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(1.6rem, 5vw, 4.6rem); padding-block: clamp(2.6rem, 6vw, 5.8rem); }
.eyebrow { color: var(--gold); font-weight: 650; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; }
:is(h1,h2,h3) { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.07; letter-spacing: -.038em; }
h1 { font-size: clamp(2.65rem, 5.1vw, 5.2rem); margin-block: .85rem 1rem; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: clamp(1.55rem, 2.5vw, 2.15rem); }
.hero-intro { color: #e4e7da; font-size: 1.12rem; max-width: 37rem; }
.hero-regions { margin-top: 1.25rem; color: #e4e7da; font-size: .9rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .6rem 1rem; border: 0; border-radius: .35rem; text-decoration: none; font: 650 1rem/1.35 system-ui, sans-serif; cursor: pointer; }
.button-gold { background: var(--gold); color: var(--forest); margin-top: 1.35rem; }
.button-gold:hover { background: #f2dba4; }
.button-green { background: var(--forest); color: white; }
.button-green:hover { background: #264b39; }
.button-green:disabled { opacity: .65; cursor: wait; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 1.75; object-fit: cover; object-position: bottom; border-radius: .95rem .95rem 0 0; }
.hero-photo figcaption { background: #234534; color: #f8f1de; border-radius: 0 0 .95rem .95rem; padding: .65rem .8rem; font-size: .875rem; }
.content { padding-block: clamp(2.5rem, 6vw, 5.25rem); }
.opportunity { display: grid; grid-template-columns: 1.55fr 1fr; gap: 1.4rem clamp(2rem, 5vw, 4rem); align-items: center; }
.opportunity p, .range p, .application-copy p { margin-top: .85rem; color: var(--muted); }
.market-fact { background: #eae6d7; border-radius: .9rem; padding: clamp(1.25rem, 3vw, 2rem); }
.market-fact strong { font: 400 clamp(2.2rem, 4.3vw, 4.1rem)/1 Georgia,serif; letter-spacing: -.045em; }
.market-fact a, .range a { display: inline-block; margin-top: .85rem; font-size: .92rem; font-weight: 650; }
.range, .application { margin-top: clamp(2.5rem, 6vw, 5.25rem); }
.range-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.range-grid article { padding: clamp(1rem, 2.5vw, 1.6rem); border: 1px solid var(--rule); border-radius: .85rem; background: #fffdf6; }
.application { display: grid; grid-template-columns: .8fr 1.35fr; gap: clamp(1.5rem, 4vw, 3.2rem); border: 1px solid var(--rule); border-radius: 1rem; background: #fffdf7; padding: clamp(1.1rem, 3.5vw, 2.5rem); scroll-margin-top: 1rem; }
.application-copy a { display: inline-block; margin-top: .85rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1rem; }
.span-all { grid-column: 1 / -1; }
.application-form { min-width: 0; }
.application-form label { display: block; margin-bottom: .22rem; font-weight: 650; font-size: .92rem; }
.application-form :is(input:not([hidden]),select,textarea) { display: block; width: 100%; min-height: 2.8rem; padding: .55rem .65rem; border: 1px solid #a7afa3; border-radius: .37rem; background: white; color: var(--ink); font: inherit; }
.application-form textarea { resize: vertical; }
.form-note { margin: .85rem 0; color: var(--muted); font-size: .875rem; }
.application-form button { margin-bottom: .35rem; }
.site-footer { background: var(--forest); color: #fff9ee; padding-block: 1.4rem; }
@media (max-width: 52rem) { .hero-grid, .opportunity, .application { grid-template-columns: 1fr; } }
@media (max-width: 36rem) { .wrap { width: calc(100% - 2rem); } .range-grid, .form-grid { grid-template-columns: 1fr; } }
