/* Fonts are self-hosted (no third-party requests, GDPR-friendly) */
@font-face { font-family: "Big Shoulders Stencil Display"; src: url("fonts/big-shoulders-stencil-display-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Big Shoulders Stencil Display"; src: url("fonts/big-shoulders-stencil-display-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/public-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/public-sans-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/public-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/public-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bean: #3b1f35;      /* inside of a cut cocoa bean */
  --bean-deep: #2a1526;
  --pod: #e2a72e;       /* ripe pod */
  --jute: #cbb488;      /* sack */
  --jute-dark: #a68f63;
  --leaf: #2e5b3c;
  --pulp: #f5f5f1;      /* bean pulp, cool white */
  --ink: #1f1a1d;
  --muted: #5e5559;
  --line: #ddd8d3;
  --stencil: "Big Shoulders Stencil Display", Impact, sans-serif;
  --sans: "Public Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--pulp);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--pod); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--pod); color: var(--ink); padding: 8px 12px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  background: var(--bean-deep);
  color: var(--pulp);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: .01em; margin-right: auto; }
.brand-logo { height: 52px; width: auto; margin: -6px 0; }
.nav { display: flex; gap: 22px; align-items: center; font-size: .95rem; }
.nav a { text-decoration: none; opacity: .85; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nav .nav-cta { opacity: 1; border: 1.5px solid var(--pod); color: var(--pod); padding: 6px 14px; border-radius: 3px; }
.nav .nav-cta:hover { background: var(--pod); color: var(--ink); text-decoration: none; }
.lang { font: 600 .85rem var(--sans); background: none; color: var(--pulp); border: 1px solid rgba(245,245,241,.4); border-radius: 3px; padding: 5px 9px; cursor: pointer; }
.lang:hover { border-color: var(--pulp); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center;
  padding: clamp(48px, 8vw, 104px) var(--gutter) clamp(56px, 9vw, 120px);
  background: var(--bean);
  color: var(--pulp);
}
.hero-copy { max-width: 640px; justify-self: end; }
.hero-kicker { color: var(--jute); font-size: .95rem; margin-bottom: 18px; }
.stencil {
  font-family: var(--stencil); font-weight: 800; text-transform: uppercase;
  font-size: clamp(3rem, 7.4vw, 6.4rem); line-height: .92; letter-spacing: .01em;
  color: var(--pod);
  margin-bottom: 28px;
}
.hero-lead { font-size: 1.15rem; max-width: 34em; color: #e9e3e7; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-block; font: 600 1rem var(--sans); text-decoration: none; cursor: pointer;
  padding: 13px 22px; border-radius: 3px; border: 2px solid transparent;
}
.btn-primary { background: var(--pod); color: var(--ink); }
.btn-primary:hover { background: #f0b941; }
.btn-primary:disabled { opacity: .6; cursor: progress; }
.btn-ghost { border-color: rgba(245,245,241,.5); color: var(--pulp); }
.btn-ghost:hover { border-color: var(--pulp); }

/* The sack: jute weave + stencil print */
.sack { margin: 0; justify-self: start; width: min(100%, 400px); }
.sack-print {
  position: relative;
  padding: 36px 30px 30px;
  color: var(--bean-deep);
  background-color: var(--jute);
  background-image:
    repeating-linear-gradient(0deg, rgba(0,0,0,.07) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.06) 0 1px, transparent 1px 4px),
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.18), transparent 60%);
  border-radius: 6px 6px 14px 14px;
  box-shadow: inset 0 0 0 1px var(--jute-dark), 0 24px 48px -24px rgba(0,0,0,.6);
  transform: rotate(-2deg);
  text-align: center;
  font-family: var(--stencil); text-transform: uppercase;
}
.sack-print::before { /* stitched hem */
  content: ""; position: absolute; left: 14px; right: 14px; top: 12px;
  border-top: 2px dashed var(--jute-dark);
}
.sack-line { display: block; opacity: .9; mix-blend-mode: multiply; }
.sack-small { font-size: 1.35rem; font-weight: 600; letter-spacing: .12em; }
.sack-big { font-size: clamp(4rem, 9vw, 5.6rem); font-weight: 800; line-height: .9; color: var(--leaf); }
.sack-mid { font-size: 1.3rem; font-weight: 600; letter-spacing: .06em; }
.sack-rule { display: block; height: 3px; background: var(--bean-deep); opacity: .7; margin: 18px 20px; }
.sack-specs { margin: 0; text-align: left; font-family: var(--sans); text-transform: none; font-size: .9rem; display: grid; gap: 6px; }
.sack-specs div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(42,21,38,.18); padding-bottom: 5px; }
.sack-specs dt { opacity: .75; }
.sack-specs dd { margin: 0; font-weight: 600; text-align: right; }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) var(--gutter); }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-tinted { background: #ebe9e3; }
.section-head { margin-bottom: 44px; }
.section-head p { max-width: 36em; color: var(--muted); font-size: 1.1rem; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; letter-spacing: -.015em; color: var(--bean); margin-bottom: 16px; }
h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }

/* Process: a real sequence, so it is numbered */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; border-top: 3px solid var(--bean); }
.steps li { counter-increment: step; padding: 22px 24px 0 0; position: relative; }
.steps li::before {
  content: counter(step); display: block;
  font: 800 3rem/1 var(--stencil); color: var(--pod); margin-bottom: 12px;
}
.steps p { color: var(--muted); font-size: 1rem; max-width: 26em; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.split p { max-width: 34em; }
.calendar { background: var(--pulp); border: 1px solid var(--line); padding: 26px; border-radius: 4px; }
.cal-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin: 14px 0 18px; font-size: .78rem; text-align: center; color: var(--muted); }
.cal-grid i { height: 30px; background: #e4e0da; border-radius: 2px; }
.cal-grid .c-main { background: var(--bean); }
.cal-grid .c-light { background: var(--pod); }
.cal-legend { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: .95rem; }
.dot { width: 14px; height: 14px; border-radius: 2px; flex: none; }
.dot.c-main { background: var(--bean); } .dot.c-light { background: var(--pod); }

.audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.audiences article { padding: 0 28px 0 0; border-left: 3px solid var(--leaf); padding-left: 20px; margin-right: 24px; }
.audiences p { color: var(--muted); font-size: 1rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 6vw, 80px); max-width: none; background: var(--bean-deep); color: var(--pulp); }
.contact > * { margin: 0; max-width: none; }
.contact-intro { justify-self: end; max-width: 420px; }
.contact h2 { color: var(--pod); }
.contact-intro > p { color: #ddd5da; }
.direct { margin: 32px 0 0; display: grid; gap: 16px; }
.direct dt { font-size: .85rem; color: var(--jute); }
.direct dd { margin: 0; font-weight: 600; }
.direct a { text-decoration: none; border-bottom: 1px solid rgba(226,167,46,.5); }
.direct a:hover { border-color: var(--pod); }

.form { max-width: 640px; background: var(--pulp); color: var(--ink); padding: clamp(22px, 3vw, 36px); border-radius: 4px; }
.row { margin-bottom: 18px; display: block; }
.row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label > span, .form legend { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
input, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 11px 12px; background: #fff; border: 1.5px solid #cfc8c2; border-radius: 3px;
}
input:focus, textarea:focus { outline: none; border-color: var(--bean); box-shadow: 0 0 0 3px rgba(226,167,46,.45); }
textarea { resize: vertical; min-height: 120px; }
[aria-invalid="true"] { border-color: #b3261e; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-block; margin: 0; font-weight: 400 !important; padding: 8px 14px; border: 1.5px solid #cfc8c2; border-radius: 3px; cursor: pointer; background: #fff; }
.choice input:checked + span { background: var(--bean); border-color: var(--bean); color: var(--pulp); }
.choice input:focus-visible + span { outline: 3px solid var(--pod); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; }
.form-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.form-status { margin: 0; font-weight: 600; }
.form-status.ok { color: var(--leaf); }
.form-status.err { color: #b3261e; }
.privacy { font-size: .85rem; color: var(--muted); margin: 16px 0 0; }

.foot { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; padding: 26px var(--gutter); background: var(--ink); color: #bdb5b9; font-size: .9rem; }
.foot p { margin: 0; }
.foot { align-items: center; }
.foot-logo { height: 64px; width: auto; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 30;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--leaf); box-shadow: 0 8px 20px -6px rgba(0,0,0,.45);
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* One orchestrated moment: the sack is stamped into place on load */
@media (prefers-reduced-motion: no-preference) {
  .sack-print { animation: stamp .7s cubic-bezier(.2,.9,.3,1.2) .15s both; }
  @keyframes stamp { from { opacity: 0; transform: rotate(-9deg) scale(1.08); } to { opacity: 1; transform: rotate(-2deg) scale(1); } }
}

@media (max-width: 920px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero, .split, .contact { grid-template-columns: 1fr; }
  .hero-copy, .contact-intro { justify-self: start; }
  .sack { justify-self: center; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .audiences { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .top { gap: 12px; }
  .brand span { font-size: .95rem; white-space: nowrap; }
  .brand-logo { height: 42px; }
  .nav .nav-cta { padding: 5px 9px; font-size: .8rem; white-space: nowrap; }
  .lang { padding: 4px 7px; }
  .steps { grid-template-columns: 1fr; }
  .row.two { grid-template-columns: 1fr; }
}

.notfound { min-height: 100vh; grid-template-columns: 1fr; }
.notfound .hero-copy { justify-self: start; }

/* Location */
.places { margin: 24px 0; display: grid; gap: 14px; }
.places dt { font-size: .85rem; color: var(--muted); }
.places dd { margin: 0; font-weight: 600; }
.map-link { font-weight: 600; color: var(--leaf); text-underline-offset: 4px; }
.map { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: #e4e0da; min-height: 340px; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }
