/* HWC Coffee — v1 Monochrome Editorial */
:root {
  --ink: #111;
  --ink-2: #2a2826;
  --paper: #f7f5f1;
  --paper-2: #efece6;
  --white: #fff;
  --grey: #8a8680;
  --grey-text: #66625c;
  --rule: #d9d5ce;
  --placeholder: #e2ded7;
  --focus: #111;
  --serif: 'Cormorant Garamond', 'Bodoni Moda', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --header-h: 76px;
  --sec: clamp(72px, 10vw, 148px);
}

/* ---------- Base (wrapped in :where so classes always win) ---------- */
:where(*, *::before, *::after) { box-sizing: border-box; }
:where(html) { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
:where(body) {
  font-variant-numeric: lining-nums;
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1rem; line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
:where(img) { display: block; max-width: 100%; height: auto; }
:where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, address) { margin: 0; }
:where(ul, ol) { padding: 0; list-style: none; }
:where(a) { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:where(button, input, textarea) { font: inherit; color: inherit; }
:where(address) { font-style: normal; }
:where(strong) { font-weight: 600; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
#main:focus { outline: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper);
  padding: 12px 18px; text-decoration: none; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
}
.skip-link:focus { top: 12px; outline-color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ico { flex: none; }

/* ---------- Type ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--grey-text);
  margin-bottom: 28px;
}
.eyebrow .num {
  font-family: var(--serif); font-size: 1.05rem; letter-spacing: .04em; color: var(--ink); font-weight: 600;
  padding-right: 14px; border-right: 1px solid var(--rule); line-height: 1;
}
.eyebrow--light, .section--ink .eyebrow { color: rgba(247, 245, 241, .7); }
.eyebrow--light .num, .section--ink .eyebrow .num { color: var(--paper); border-color: rgba(247, 245, 241, .3); }

.display, .h1, .h2, .h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
.display { font-size: clamp(2.9rem, 7.4vw, 7rem); line-height: .98; letter-spacing: -.02em; }
.h1 { font-size: clamp(2.7rem, 6.2vw, 5.6rem); line-height: 1; letter-spacing: -.02em; }
.h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: 1.06; margin-bottom: 26px; }
.h2--xl { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.h3 { font-size: clamp(1.45rem, 2vw, 1.8rem); line-height: 1.15; margin-bottom: 12px; font-weight: 600; }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.75; color: var(--ink-2); max-width: 36em; margin-bottom: 32px; }
.section--ink .lead, .hero .lead { color: rgba(247, 245, 241, .82); }
.fineprint { font-size: .78rem; color: var(--grey-text); letter-spacing: .02em; margin-top: 18px; }
.section--ink .fineprint { color: rgba(247, 245, 241, .6); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 14px 26px; border: 1px solid var(--ink); border-radius: 0;
  font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; line-height: 1.3; cursor: pointer; text-align: center;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn .ico { width: 16px; height: 16px; transition: transform .25s ease; }
.btn:hover .ico { transform: translateX(4px); }
.btn--sm { min-height: 40px; padding: 9px 18px; font-size: .68rem; }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: transparent; color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: transparent; color: var(--paper); }
.btn--line-light { background: transparent; color: var(--paper); border-color: rgba(247, 245, 241, .6); }
.btn--line-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--rule); }
.site-header__bar { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.site-header__logo { flex: none; display: block; }
.site-header__logo img { width: 92px; height: auto; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: clamp(16px, 1.8vw, 30px); }
.site-nav a {
  display: block; padding: 8px 0; text-decoration: none; font-size: .8rem; font-weight: 500; letter-spacing: .04em;
  border-bottom: 1px solid transparent; white-space: nowrap;
}
.site-nav a:hover { border-bottom-color: var(--rule); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.site-header__actions { display: flex; align-items: center; gap: 20px; flex: none; }
.util-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; text-decoration: none; padding: 8px 0; white-space: nowrap;
}
.util-link .ico { width: 16px; height: 16px; }
.util-link:hover span { text-decoration: underline; }
.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--ink); background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle__lines { display: grid; gap: 6px; width: 18px; }
.menu-toggle__lines span { display: block; height: 1px; background: var(--ink); transition: transform .25s ease; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; background: var(--paper);
  overflow-y: auto; border-top: 1px solid var(--rule); padding: 24px 0 40px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__list li { border-bottom: 1px solid var(--rule); }
.mobile-menu__list a { display: flex; align-items: baseline; gap: 18px; padding: 16px 0; text-decoration: none; }
.mobile-menu__num { font-size: .72rem; font-weight: 600; letter-spacing: .18em; color: var(--grey-text); min-width: 24px; }
.mobile-menu__label { font-family: var(--serif); font-size: clamp(1.8rem, 7vw, 2.6rem); line-height: 1.1; font-weight: 500; }
.mobile-menu__list a[aria-current="page"] .mobile-menu__label { font-style: italic; }
.mobile-menu__list a[aria-current="page"] .mobile-menu__num { color: var(--ink); }
.mobile-menu__foot { display: grid; gap: 12px; margin-top: 32px; }
body.menu-open { overflow: hidden; }

@media (max-width: 1180px) {
  .site-nav, .util-link { display: none; }
  .site-header__actions { margin-left: auto; gap: 12px; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 380px) {
  .site-header__actions .btn--sm { padding: 9px 12px; letter-spacing: .1em; }
}
@media (min-width: 1181px) { .mobile-menu { display: none !important; } }

/* ---------- Pictures ---------- */
.pic { position: relative; overflow: hidden; background: var(--placeholder); }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.pic--tall { aspect-ratio: 4 / 5; }
.pic--wide { aspect-ratio: 3 / 2; }
.pic--card { aspect-ratio: 4 / 3; }
.pic--banner { aspect-ratio: 21 / 9; }
.pic__label {
  position: absolute; left: 0; bottom: 0; background: rgba(17, 17, 17, .78); color: var(--paper);
  font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; padding: 6px 10px; line-height: 1.3;
}

/* ---------- Sections ---------- */
.section { padding: var(--sec) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section--tint { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); --focus: var(--paper); border-top: 0 !important; }
.section--ink + .section { border-top: 0; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--wide { max-width: 900px; }
.section-head .lead { margin-bottom: 0; }

/* Hero */
.hero {
  position: relative; color: var(--paper); background: #1b1917; --focus: var(--paper);
  min-height: min(calc(100svh - var(--header-h)), 920px); display: flex; align-items: flex-end; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 10, .9) 0%, rgba(10, 10, 10, .8) 45%, rgba(10, 10, 10, .3) 80%, rgba(10, 10, 10, .15) 100%),
              linear-gradient(0deg, rgba(10, 10, 10, .6) 0%, rgba(10, 10, 10, 0) 50%);
}
@media (max-width: 760px) {
  .hero__media::after { background: linear-gradient(0deg, rgba(10, 10, 10, .9) 0%, rgba(10, 10, 10, .72) 55%, rgba(10, 10, 10, .5) 100%); }
}
.hero__inner { position: relative; padding-top: 120px; padding-bottom: clamp(56px, 8vw, 110px); }
.hero .display { max-width: 9.6em; margin-bottom: 30px; }
.hero__lead { max-width: 34em; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.75; color: rgba(247, 245, 241, .85); margin-bottom: 40px; }

/* Split */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 40px); align-items: start; }
.split--center { align-items: center; }
.split--text-left .split__text { grid-column: 1 / span 5; padding-top: 8px; }
.split--text-left .split__media { grid-column: 7 / span 6; }
.split--media-left .split__media { grid-column: 1 / span 6; }
.split--media-left .split__text { grid-column: 8 / span 5; padding-top: 8px; }
.split--offset .split__media { margin-top: clamp(40px, 8vw, 120px); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; row-gap: 40px; }
  .split .split__text, .split .split__media { grid-column: 1 / -1; }
  .split--media-left .split__media { order: 0; }
  .split--offset .split__media { margin-top: 0; }
}

/* Lists */
.rule-list { border-top: 1px solid var(--rule); margin-bottom: 36px; }
.rule-list li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--rule); position: relative; }
.rule-list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 1px; background: var(--ink); }
.index-list { border-top: 1px solid var(--rule); margin-bottom: 8px; }
.index-list li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.index-list__num { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; line-height: 1.4; }
.index-list strong { display: block; font-weight: 600; margin-bottom: 2px; }
.index-list li > span:last-child { color: var(--grey-text); }
.index-list strong { color: var(--ink); }
.split__text > .btn { margin-top: 28px; }

/* Figures */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(64px, 9vw, 120px); border-top: 1px solid var(--ink); }
.figures__item { padding: 26px 24px 0 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; }
.figures__item + .figures__item { padding-left: 24px; border-left: 1px solid var(--rule); }
.figures dd { font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 4.4rem); line-height: 1; font-weight: 500; }
.figures dt { font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--grey-text); }
.tbc { font-family: var(--sans); font-size: .4em; vertical-align: super; margin-left: 2px; color: var(--grey); }
@media (max-width: 760px) {
  .figures { grid-template-columns: 1fr 1fr; }
  .figures__item { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--rule); }
  .figures__item + .figures__item { padding-left: 0; border-left: 0; }
  .figures__item:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule); }
}

/* Expertise grid */
.expertise { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 2.6vw, 36px); margin-bottom: 56px; }
.expertise__item .pic { margin-bottom: 22px; }
.expertise__num { font-size: .72rem; font-weight: 600; letter-spacing: .2em; color: var(--grey-text); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--rule); }
.expertise__item p:last-child { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 1100px) { .expertise { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; } }
@media (max-width: 560px) { .expertise { grid-template-columns: 1fr; } }

/* Market row (home, dark) */
.market-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(247, 245, 241, .25); margin-bottom: 56px; }
.market-row li { padding: 32px 28px 8px 0; }
.market-row li + li { padding-left: 28px; border-left: 1px solid rgba(247, 245, 241, .18); }
.market-row p:last-child { color: rgba(247, 245, 241, .75); font-size: .95rem; }
.market-row__since { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(247, 245, 241, .6); margin-bottom: 14px; }
.market-row .h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 500; }
@media (max-width: 760px) {
  .market-row { grid-template-columns: 1fr; }
  .market-row li, .market-row li + li { padding: 26px 0; border-left: 0; border-bottom: 1px solid rgba(247, 245, 241, .18); }
}

/* ---------- Inner page head ---------- */
.page-head { padding: clamp(56px, 8vw, 112px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--rule); }
.page-head__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 40px); align-items: end; }
.page-head__title { grid-column: 1 / span 7; }
.page-head__lead { grid-column: 9 / span 4; }
.page-head__lead .lead { margin-bottom: 0; }
.page-head .h1 { margin-top: 4px; }
@media (max-width: 900px) {
  .page-head__grid { grid-template-columns: 1fr; row-gap: 28px; }
  .page-head__title, .page-head__lead { grid-column: 1 / -1; }
}
.banner { margin: 0; }
.banner .pic { aspect-ratio: 21 / 8; }
@media (max-width: 760px) { .banner .pic { aspect-ratio: 4 / 3; } }

/* Brand page */
.quote { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.3; font-style: italic; font-weight: 500; }
.quote-by { margin-top: 26px; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--grey-text); }
.quote-by::before { content: ""; display: inline-block; width: 32px; height: 1px; background: var(--ink); vertical-align: middle; margin-right: 14px; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.values li { padding: 30px 28px 0 0; }
.values li + li { padding-left: 28px; border-left: 1px solid var(--rule); }
.values__num { font-family: var(--serif); font-size: 3.2rem; line-height: 1; margin-bottom: 20px; font-weight: 500; }
.values p:last-child { color: var(--ink-2); }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.timeline li { padding: 28px 24px 0 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--ink); }
.timeline__year { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; margin-bottom: 14px; font-weight: 500; }
.timeline p:last-child { color: var(--ink-2); font-size: .95rem; max-width: 18em; }
@media (max-width: 860px) {
  .values { grid-template-columns: 1fr; }
  .values li, .values li + li { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--rule); margin-left: 4px; }
  .timeline li { padding: 0 0 36px 28px; }
  .timeline li::before { top: 10px; left: -5px; }
}
.story-text p + p { margin-top: 18px; }
.story-text p { color: var(--ink-2); font-size: 1.05rem; }

/* Coffee chapters */
.chapter + .chapter { margin-top: clamp(72px, 10vw, 140px); }
.chapter__num { font-family: var(--serif); font-size: clamp(4rem, 8vw, 7rem); line-height: .9; font-weight: 500; color: var(--ink); margin-bottom: 18px; }
.chapter .h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.chapter p.body { color: var(--ink-2); font-size: 1.05rem; max-width: 30em; }
.product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); margin-top: 48px; }
.product-grid li { padding: 26px 22px 26px 0; }
.product-grid li + li { padding-left: 22px; border-left: 1px solid var(--rule); }
.product-grid__num { font-size: .72rem; font-weight: 600; letter-spacing: .2em; color: var(--grey-text); margin-bottom: 18px; }
.product-grid .h3 { font-size: 1.45rem; }
.product-grid p:last-child { color: var(--ink-2); font-size: .93rem; }
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-grid li, .product-grid li + li { padding: 24px 18px 24px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .product-grid li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--rule); }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-grid li:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* Store concepts */
.concept + .concept { margin-top: clamp(80px, 11vw, 150px); }
.concept__specs { border-top: 1px solid var(--ink); margin-top: 32px; }
.concept__specs div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.concept__specs dt { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--grey-text); padding-top: 4px; }
.concept__specs dd { font-size: 1rem; }
.concept__specs div:first-child dd { font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; font-weight: 600; }
@media (max-width: 520px) { .concept__specs div { grid-template-columns: 1fr; gap: 4px; } }
.notice {
  display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--ink); padding: 22px 26px; margin-top: clamp(64px, 9vw, 110px);
  font-size: .95rem;
}
.notice strong { display: block; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 4px; }

/* Global page */
.market-filter { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--ink); width: max-content; max-width: 100%; margin-bottom: 40px; }
.market-filter button {
  border: 0; background: transparent; padding: 12px 22px; min-height: 46px; cursor: pointer;
  font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.market-filter button + button { border-left: 1px solid var(--ink); }
.market-filter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.market-filter button:focus-visible { outline-offset: -5px; outline-color: currentColor; }
@media (max-width: 520px) {
  .market-filter { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .market-filter button + button { border-left: 0; }
  .market-filter button:nth-child(even) { border-left: 1px solid var(--ink); }
  .market-filter button:nth-child(n+3) { border-top: 1px solid var(--ink); }
}
.global-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 960px) { .global-layout { grid-template-columns: 1fr; } }
.map { position: relative; background: var(--white); border: 1px solid var(--rule); }
.map svg { display: block; width: 100%; height: auto; }
.map .land { fill: #e7e3dc; stroke: #c9c4bb; stroke-width: .12; }
.map .grid line { stroke: #ece9e3; stroke-width: .08; }
.map .sea-label { font-family: var(--serif); font-style: italic; font-size: 1.15px; fill: #a39e96; letter-spacing: .05px; }
.map .marker { cursor: pointer; }
.map .marker circle.dot { fill: var(--ink); transition: r .25s ease; }
.map .marker circle.ring { fill: none; stroke: var(--ink); stroke-width: .14; opacity: .0; transition: opacity .25s ease; }
.map .marker text { font-family: var(--sans); font-size: 1.05px; font-weight: 600; letter-spacing: .12px; fill: var(--ink); text-transform: uppercase; }
.map .marker.is-active circle.ring { opacity: 1; }
@media (max-width: 600px) { .map .marker text { font-size: 1.5px; } .map .sea-label { font-size: 1.4px; } }
.map .marker.is-dim { opacity: .3; }
.map .marker:focus { outline: none; }
.map .marker:focus-visible circle.ring { opacity: 1; stroke-width: .3; }
.map__caption { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--rule); font-size: .72rem; color: var(--grey-text); letter-spacing: .04em; }
.market-list { border-top: 1px solid var(--ink); }
.market-card { padding: 28px 0; border-bottom: 1px solid var(--rule); transition: opacity .3s ease; }
.market-card.is-dim { opacity: .35; }
.market-card.is-hidden { display: none; }
.market-card.is-active .market-card__name { font-style: italic; }
.market-card__since { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--grey-text); margin-bottom: 8px; }
.market-card__name { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.05; font-weight: 500; margin-bottom: 12px; }
.market-card p { color: var(--ink-2); }
.market-card a { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.market-card a .ico { width: 15px; height: 15px; }
.market-card__nolink { margin-top: 14px; font-size: .78rem; color: var(--grey-text); }

/* Partner page */
.models { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.models li { padding: 28px 24px 8px 0; }
.models li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.models__num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; margin-bottom: 22px; font-weight: 500; }
.models p:last-child { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 1000px) {
  .models { grid-template-columns: 1fr 1fr; }
  .models li, .models li + li { padding: 26px 18px 26px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .models li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--rule); }
}
@media (max-width: 560px) { .models { grid-template-columns: 1fr; } .models li:nth-child(even) { padding-left: 0; border-left: 0; } }
.support li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.support { border-top: 1px solid var(--ink); }
.support h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.2; }
.support p { color: var(--ink-2); }
@media (max-width: 600px) { .support li { grid-template-columns: 1fr; gap: 6px; } }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: step; }
.steps li { position: relative; padding: 0 20px 0 0; }
.steps__num {
  display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid var(--paper);
  font-family: var(--serif); font-size: 1.4rem; font-weight: 600; margin-bottom: 26px; position: relative; z-index: 1; background: var(--ink);
}
.steps li::before { content: ""; position: absolute; top: 26px; left: 52px; right: 0; height: 1px; background: rgba(247, 245, 241, .3); }
.steps li:last-child::before { display: none; }
.steps .h3 { font-size: 1.4rem; }
.steps p:last-child { color: rgba(247, 245, 241, .75); font-size: .93rem; }
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 22px; padding: 0 0 34px; }
  .steps li::before { top: 52px; bottom: 0; left: 26px; right: auto; width: 1px; height: auto; }
  .steps__num { grid-row: span 2; margin-bottom: 0; }
  .steps li:last-child { padding-bottom: 0; }
}

/* ---------- Form ---------- */
.form-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
@media (max-width: 960px) { .form-wrap { grid-template-columns: 1fr; } }
.form-intro { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 960px) { .form-intro { position: static; } }
.form-intro .contact-line { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: .92rem; }
.inquiry { background: var(--white); border: 1px solid var(--rule); padding: clamp(24px, 4vw, 52px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label:not(.check), .field .label {
  display: block; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; color: var(--ink);
}
.req { color: var(--grey-text); margin-left: 2px; }
.opt { color: var(--grey-text); font-weight: 500; letter-spacing: .08em; text-transform: none; font-size: .78rem; margin-left: 4px; }
.input, .select-btn {
  display: block; width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid #bfbab2; border-radius: 0;
  background: var(--paper); color: var(--ink); font-size: 1rem; line-height: 1.5; transition: border-color .2s ease, background-color .2s ease;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: #9a958e; }
.input:hover, .select-btn:hover { border-color: var(--ink); }
.input:focus, .select-btn:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: inset 0 0 0 1px var(--ink); }
textarea.input { resize: vertical; min-height: 110px; }
textarea.input--long { min-height: 170px; }
.field.has-error .input, .field.has-error .select-btn, .field.has-error .check__box { border-color: #8c1d18; }
.error-msg { font-size: .8rem; color: #8c1d18; margin-top: 8px; }
.form-errors { border: 1px solid #8c1d18; padding: 16px 20px; margin-bottom: 28px; color: #8c1d18; font-size: .92rem; }
.form-errors strong { display: block; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; margin-bottom: 4px; }

/* custom select */
.select { position: relative; }
.select-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; cursor: pointer; }
.select-btn .select-value.is-placeholder { color: #8a857e; }
.select-btn .ico { transition: transform .2s ease; }
.select-btn[aria-expanded="true"] { border-color: var(--ink); background: var(--white); }
.select-btn[aria-expanded="true"] .ico { transform: rotate(180deg); }
.listbox {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% - 1px); max-height: 288px; overflow-y: auto;
  background: var(--white); border: 1px solid var(--ink); padding: 6px 0; margin: 0; list-style: none;
  box-shadow: 0 18px 40px rgba(17, 17, 17, .12);
}
.listbox[hidden] { display: none; }
.listbox:focus { outline: none; }
.listbox [role="option"] { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 16px; cursor: pointer; font-size: .95rem; }
.listbox [role="option"] .ico { width: 16px; height: 16px; opacity: 0; }
.listbox [role="option"][aria-selected="true"] { font-weight: 600; }
.listbox [role="option"][aria-selected="true"] .ico { opacity: 1; }
.listbox [role="option"].is-active, .listbox [role="option"]:hover { background: var(--paper-2); }
.listbox [role="option"].is-active { box-shadow: inset 2px 0 0 var(--ink); }

/* custom checkbox */
.privacy { font-size: .88rem; color: var(--ink-2); padding: 20px; background: var(--paper); border-left: 2px solid var(--ink); margin-bottom: 18px; }
.check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; position: relative; font-size: .95rem; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; left: 0; top: 1px; cursor: pointer; }
.check__box { flex: none; width: 22px; height: 22px; border: 1px solid var(--ink); background: var(--white); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.check__box .ico { width: 16px; height: 16px; opacity: 0; color: var(--paper); }
.check input:checked + .check__box { background: var(--ink); }
.check input:checked + .check__box .ico { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--ink); outline-offset: 3px; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--rule); }
.form-submit .fineprint { margin: 0; }
.thanks { background: var(--ink); color: var(--paper); padding: clamp(32px, 5vw, 64px); --focus: var(--paper); }
.thanks__mark { width: 56px; height: 56px; border: 1px solid var(--paper); display: flex; align-items: center; justify-content: center; margin-bottom: 30px; }
.thanks__mark .ico { width: 26px; height: 26px; }
.thanks .h2 { margin-bottom: 18px; }
.thanks p { color: rgba(247, 245, 241, .82); max-width: 36em; }
.thanks .fineprint { color: rgba(247, 245, 241, .6); margin-top: 26px; }
.thanks .btn { margin-top: 30px; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px); row-gap: clamp(48px, 6vw, 80px); }
.news-card .pic { margin-bottom: 22px; }
.news-card__meta { display: flex; gap: 12px; align-items: center; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--grey-text); padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--rule); }
.news-card__meta span + span::before { content: ""; display: inline-block; width: 18px; height: 1px; background: var(--grey); vertical-align: middle; margin-right: 12px; }
.news-card .h3 { font-size: clamp(1.5rem, 2vw, 1.85rem); font-weight: 500; }
.news-card p:last-child { color: var(--ink-2); font-size: .95rem; }
.news-card--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.news-card--lead .pic { margin-bottom: 0; aspect-ratio: 3 / 2; }
.news-card--lead .h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.08; }
.news-card { grid-column: span 2; }
.news-card:nth-child(2), .news-card:nth-child(3) { grid-column: span 3; }
.news-card:nth-child(2) .pic, .news-card:nth-child(3) .pic { aspect-ratio: 3 / 2; }
@media (max-width: 1000px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card, .news-card:nth-child(2), .news-card:nth-child(3) { grid-column: span 1; }
  .news-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-card:last-child { grid-column: auto; }
  .news-card--lead { grid-template-columns: 1fr; gap: 22px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(64px, 8vw, 104px) 0 36px; --focus: var(--paper); }
.site-footer .eyebrow { color: rgba(247, 245, 241, .55); margin-bottom: 18px; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 4fr) minmax(0, 2fr); gap: clamp(28px, 4vw, 56px); padding-bottom: 56px; border-bottom: 1px solid rgba(247, 245, 241, .18); }
.site-footer__logo { width: 120px; filter: invert(1); margin-bottom: 22px; }
.site-footer__tagline { font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; margin-bottom: 28px; max-width: 12em; }
.site-footer__col li + li { margin-top: 8px; }
.site-footer__col a { text-decoration: none; font-size: .92rem; color: rgba(247, 245, 241, .85); display: inline-flex; align-items: center; gap: 10px; }
.site-footer__col a:hover { color: var(--paper); text-decoration: underline; }
.site-footer address p { font-size: .92rem; color: rgba(247, 245, 241, .85); }
.site-footer address p + p { margin-top: 8px; }
.site-footer address .ico, .social .ico { width: 16px; height: 16px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; padding-top: 28px; font-size: .78rem; color: rgba(247, 245, 241, .55); }
.site-footer__note { max-width: 62em; }
@media (max-width: 1000px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .site-footer__top { grid-template-columns: 1fr; } }

/* ---------- Reveal (only when JS present) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  :where(html) { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.news-grid .news-card--lead { grid-column: 1 / -1; }
@media (min-width: 561px) and (max-width: 900px) { .split .pic--tall { aspect-ratio: 4 / 3; } }
