@font-face {
  font-family: Inter;
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #242a2c;
  --body: #414847;
  --muted: #545c5c;
  --paper: #fcfcfa;
  --surface: #f1f2ee;
  --line: #d6d9d4;
  --copper: #89502f;
  --light-copper: #e8b48b;
  --gutter: clamp(1rem, 4.8vw, 4.75rem);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-optical-sizing: auto;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.25rem; }
body { margin: 0; font-size: 1rem; line-height: 1.6; }
header, main, footer { max-width: 86rem; margin-inline: auto; padding-inline: var(--gutter); }
a { color: inherit; text-underline-offset: .23em; }
:focus-visible { outline: 3px solid #ab693a; outline-offset: 3px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.25rem; }
.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-size: 1.13rem; font-weight: 730; letter-spacing: .035em; white-space: nowrap; }
.mark { position: relative; isolation: isolate; display: grid; place-items: center; width: 2.7rem; height: 2.4rem; background: var(--ink); color: white; font: italic 800 1.85rem/1 Inter,sans-serif; clip-path: polygon(15% 0,100% 0,85% 100%,0 100%); }
.mark::after { content: ""; position: absolute; inset: 0 0 0 73%; background: #a86c43; transform: skewX(-12deg); z-index: -1; }
.wordmark { font-size: 1.2rem; font-weight: 720; letter-spacing: -.045em; }
.wordmark b { color: var(--copper); font-weight: 560; }
.primary { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.4rem); }
.primary a, .button, button { font-size: .9375rem; font-weight: 600; text-decoration: none; }
.primary a:not(.button):hover, .detail a:hover, .report-grid a:hover { color: var(--copper); }
.button, button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .68rem 1.15rem; background: var(--light-copper); color: var(--ink); border: 0; border-radius: .3rem; font-family: inherit; line-height: 1.35; cursor: pointer; }
.dark { background: var(--ink); color: white; }
.button:hover, button:hover { filter: brightness(.91); }
.hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(105deg,#242a2c 42%,#364044 78%,#494642); color: white; padding: clamp(2rem,5.5vw,5.25rem); }
.hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(18,25,29,.94) 0%,rgba(18,25,29,.83) 38%,rgba(18,25,29,.26) 65%,transparent 90%); }
.hero .kicker { font-size: .8125rem; font-weight: 620; line-height: 1.5; letter-spacing: .105em; color: #e5ba97; margin: 0 0 1.35rem; }
h1,h2,h3 { text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.5rem,5.65vw,5.15rem); font-weight: 590; line-height: 1.04; letter-spacing: -.052em; max-width: 14ch; }
h2 { font-size: clamp(1.9rem,3.1vw,2.95rem); font-weight: 590; line-height: 1.13; letter-spacing: -.041em; }
h3 { font-size: clamp(1.22rem,1.65vw,1.5rem); font-weight: 610; line-height: 1.25; letter-spacing: -.025em; }
.hero p:not(.kicker) { max-width: 48ch; margin: 1.35rem 0 1.65rem; color: #f1f0ed; font-size: clamp(1rem,1.25vw,1.15rem); line-height: 1.55; }
.market-links { display: flex; flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--line); background: var(--surface); padding: .3rem clamp(.5rem,2vw,2rem); }
.market-links a { padding: .67rem .95rem; text-decoration: none; font-size: .9375rem; font-weight: 550; }
.market-links a:hover, summary:hover { background: #e8ebe5; }
.section { padding-block: clamp(2.5rem,5vw,4.8rem); }
.head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; margin-bottom: 1.5rem; }
.meta,.head small,.fine { color: var(--muted); font-size: .875rem; }
.meta { font-variant-numeric: tabular-nums; font-weight: 500; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { display: grid; grid-template-columns: 2.75rem 1fr auto 1.5rem; align-items: center; gap: 1.2rem; padding: .95rem .75rem; cursor: pointer; list-style: none; font-size: clamp(1.08rem,1.6vw,1.35rem); font-weight: 540; letter-spacing: -.017em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--copper); text-align: center; font-size: 1.45rem; font-weight: 400; }
details[open] summary::after { content: '−'; }
.tile { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; background: #e1e7e3; font-size: 1rem; font-weight: 620; border-radius: .25rem; }
.t1 { background: #e4e3df; }.t2 { background: #eedbce; }.t3 { background: #efe6ce; }.t4 { background: #dfe7db; }
.detail { margin: 0 .75rem 1.5rem 4.7rem; max-width: 65ch; color: var(--body); }
.detail p { margin: 0 0 .75rem; }
.detail a,.report-grid a { font-weight: 600; color: var(--copper); }
.reports,.method { border-top: 1px solid var(--line); }
.report-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.85rem,2vw,1.5rem); margin-top: 1.65rem; }
.report-grid article { display: flex; flex-direction: column; align-items: start; padding: clamp(1.25rem,2.2vw,2rem); background: var(--surface); border-top: 2px solid #aa7956; }
.report-grid p,.method dd,.method p,.order p { color: var(--body); max-width: 62ch; }
main p:not(.kicker):not(.meta), main dd {
  text-align: justify;
  text-align-last: start;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.report-grid p { align-self: stretch; margin: 1rem 0 0; }
.report-grid a { margin-top: auto; padding-top: 1.5rem; }
.method,.order { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0,1.25fr); gap: clamp(2rem,6vw,6rem); }
.method dl { margin: 0; }
.method dt { font-weight: 650; font-size: 1.08rem; }
.method dd { margin: .35rem 0 1.3rem; }
.method dd:last-child { margin-bottom: 0; }
.order { background: var(--surface); padding: clamp(1.4rem,4vw,3.5rem); border-top: 2px solid var(--copper); margin-bottom: 3rem; }
form { display: grid; gap: 1.05rem; min-width: 0; }
label { display: grid; gap: .4rem; font-size: .925rem; font-weight: 600; }
input,textarea,select { min-width: 0; width: 100%; border: 1px solid #929b96; background: white; border-radius: .25rem; padding: .72rem; font: 400 1rem/1.45 Inter,"Segoe UI",sans-serif; color: var(--ink); }
textarea { resize: vertical; }
form button { justify-self: start; }
#result { white-space: pre-wrap; overflow-wrap: anywhere; padding-block: .8rem; }
.actions,.foot { display: flex; gap: .75rem; flex-wrap: wrap; }
.foot { border-top: 1px solid var(--line); justify-content: space-between; padding-block: 1.4rem; font-size: .9rem; }
@media(max-width: 52rem) {
  header { flex-wrap: wrap; gap: .8rem; }
  .primary { gap: .85rem; flex-wrap: wrap; }
  .report-grid { grid-template-columns: 1fr; }
  .report-grid p { max-width: 66ch; }
}
@media(max-width: 42rem) {
  header { display: grid; gap: .65rem; padding-block: .9rem; }
  .primary { gap: .4rem 1rem; }
  .primary a:not(.button) { padding-block: .45rem; }
  .hero { padding: 2.4rem 1.35rem; }
  .hero::before { background: linear-gradient(90deg,rgba(18,25,29,.9),rgba(18,25,29,.69) 78%,rgba(18,25,29,.5)); }
  .market-links { padding: .3rem; justify-content: center; }
  .market-links a { padding: .5rem .65rem; }
  .head { flex-wrap: wrap; gap: .4rem; }
  summary { grid-template-columns: 2.6rem 1fr 1.3rem; gap: .7rem; padding-inline: .3rem; }
  summary .meta { grid-column: 2; font-size: .8125rem; }
  summary::after { grid-column: 3; grid-row: 1; }
  .detail { margin-left: .3rem; }
  .order,.method { grid-template-columns: 1fr; gap: 1.2rem; }
}

#rows { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: clamp(.65rem,1.1vw,1.1rem); }
#catalog h2 { color: var(--copper); font-weight: 550; }
.commodity-card { display: flex; flex-direction: column; background: #efefec; scroll-margin-top: 1rem; }
.commodity-card img { display: block; width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; }
.commodity-text { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 1rem; }
.commodity-text h3 { font-size: 1.13rem; line-height: 1.24; }
.commodity-text p { align-self: stretch; margin: .65rem 0 1.25rem; line-height: 1.48; color: var(--body); }
.commodity-text button { align-self: stretch; margin-top: .45rem; min-height: 2.5rem; border: 1px solid #696f6d; background: transparent; border-radius: 0; }
.commodity-text button:hover { color: white; background: var(--ink); }
#market-dialog { width: min(36rem,92vw); border: 0; border-top: 3px solid var(--copper); padding: 2rem; color: var(--ink); }
#market-dialog::backdrop { background: #17202099; }
.close-market { float: right; margin: -.75rem -.75rem .5rem .5rem; }
.close-market button { font-size: 1.6rem; background: transparent; }
@media(max-width: 69rem) { #rows { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media(max-width: 49rem) { #rows { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 32rem) { #rows { grid-template-columns: 1fr; } }

.commodity-media { position: relative; }
.sample-link { position: absolute; bottom: .65rem; right: .65rem; display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .65rem; border-radius: .25rem; background: #fff; color: var(--ink); font-size: .875rem; font-weight: 600; text-decoration: none; box-shadow: 0 1px 5px #171d2429; }
.sample-link::before { content: ""; width: .65rem; height: .85rem; border: 1px solid currentColor; border-radius: 1px; background: linear-gradient(currentColor,currentColor) center 65% / 55% 1px no-repeat; }
.tax-ref { align-self: stretch; margin-top: auto; padding-block: .6rem .35rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; text-decoration: none; }
.tax-ref:hover, .sample-link:hover { color: var(--copper); text-decoration: underline; }
