/* Branching Out Island Artisan Market
   v2 revamp 2026-10-07: light, square photos, Grand Central Market skeleton (header, section bars, vendor cards, splits).
   Free makers are their original Meet the Maker poster only; paying makers sit on top. */

/* ---------- Fonts ---------- */
/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('fonts/bricolage-grotesque-latin-ext-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF;
}
@font-face {
  font-family: 'Newsreader';
  src: url('fonts/newsreader-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Newsreader';
  src: url('fonts/newsreader-latin-wght-italic.woff2') format('woff2');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Newsreader';
  src: url('fonts/newsreader-latin-ext-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF;
}


/* ---------- Tokens ---------- */
:root {
  --paper: #FFFFFF;
  --ink: #1F1D1A;
  --muted: #5E594F;
  --line: #E3DDD1;
  --line-strong: #1F1D1A;
  --cream: #F6F2EA;
  --wood: #8A4A1C;        /* burl brown: primary buttons, links, kickers */
  --wood-deep: #6B3814;
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Newsreader', serif;
  --wrap: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}
h1, h2 { text-transform: uppercase; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; font-weight: 750; line-height: 1.15; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
section { padding-block: clamp(48px, 6vw, 80px); }
a { color: var(--wood); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--wood); outline-offset: 2px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--ink); color: #fff;
  font-family: var(--font-display); font-weight: 700;
  padding: 10px 18px; transition: top 0.2s;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons: square, plain, like the reference ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  padding: 13px 24px;
  border: 1.5px solid var(--wood);
  border-radius: 0;
  background: var(--wood);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--solid-ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--solid-ink:hover { background: var(--wood); border-color: var(--wood); }
.btn--small { font-size: 0.9rem; padding: 9px 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn-row--center { justify-content: center; }

/* ---------- Header: slim, white, logo left, links right ---------- */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 10px;
  transition: padding 0.25s ease;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 74px; width: auto; transition: height 0.25s ease; }
.site-header.shrunk .bar { padding-block: 6px; }
.site-header.shrunk .brand img { height: 52px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-family: var(--font-display);
  font-weight: 550;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  padding-block: 6px;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--wood); }
.nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.menu-btn {
  display: none;
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 9px 18px;
  cursor: pointer;
}

/* ---------- Section head bar (reference: title left, button right, hairlines) ---------- */
.sec-head { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 22px;
}
.sec-head h2 { margin: 0; }
.sec-head .btn { flex: none; }
.sec-body { padding-block: clamp(32px, 4.4vw, 56px) clamp(56px, 7vw, 88px); }
.kicker {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wood);
  margin: 0 0 8px;
}
.big-h3 { font-size: clamp(1.7rem, 2.8vw, 2.25rem); font-weight: 800; text-transform: uppercase; line-height: 1.05; margin-bottom: 14px; }
.section-intro { max-width: 64ch; }
.center { text-align: center; }
.center-intro { margin-inline: auto; }
.more-row { margin-top: 36px; }
.muted-l, .muted-d { color: var(--muted); }

/* ---------- Home hero: photo collage, then the intro under it ---------- */
.hero { padding-block: 24px clamp(40px, 5vw, 64px); }
.hero__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.hero__four { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; background: var(--cream); }
.hero__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  padding-top: clamp(32px, 4vw, 52px);
}
.hero__intro h1 { margin: 0; }
.hero__lead { font-size: 1.25rem; line-height: 1.55; margin-bottom: 18px; }

/* ---------- Cards (reference vendor card: square photo, name, line, outlined button) ---------- */
.grid { display: grid; gap: 22px; align-items: stretch; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.card__media { display: block; }
.card .sq { width: 100%; }
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; flex: 1; }
.card--text { padding: 26px 24px; gap: 10px; align-items: flex-start; }
.card__name { font-size: 1.3rem; font-weight: 800; text-transform: uppercase; margin: 0; line-height: 1.1; }
.card__person { color: var(--muted); font-style: italic; margin: -2px 0 0; font-size: 1.02rem; }
.card__line { color: var(--ink); margin: 0; font-size: 1.04rem; }
.card .btn { margin-top: auto; }
.card__body .card__line + .btn { margin-top: 12px; }

/* Square photos everywhere (no circles, no rounded corners) */
.sq { aspect-ratio: 1; object-fit: cover; width: 100%; height: auto; background: var(--cream); }
.sq--empty {
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 2px dashed rgba(138, 74, 28, 0.5);
  color: var(--muted);
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  padding: 12%;
}

/* ---------- Makers page ---------- */
.paid-list { display: grid; gap: 0; }
.paid-row {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
  padding-block: 36px;
  border-bottom: 1px solid var(--line);
}
.paid-row:first-child { padding-top: 8px; }
.paid-row:last-child { border-bottom: none; }
.paid-row > a { display: block; }
.paid-row__body .card__name { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 6px; }
.paid-row__body .card__person { margin-bottom: 14px; }
.paid-row__body .card__line { margin-bottom: 10px; }
.paid-row__bio { max-width: 68ch; }
.paid-row__bio p { margin-bottom: 0.8em; }

/* Free makers: the original poster, nothing else */
.poster-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.poster {
  display: block; width: 100%; padding: 0; margin: 0;
  border: 0; background: var(--cream); cursor: zoom-in;
}
.poster img { width: 100%; aspect-ratio: 1200 / 1553; object-fit: cover; }

/* ---------- Split blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--happening { align-items: start; }
.photo, .frame-img { width: 100%; }
.photo-cap { max-width: 420px; justify-self: end; }
.four-up { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.happening__next { border-top: 1px solid var(--line); margin: 26px 0 22px; padding-top: 20px; }
.happening__next h3 { margin-bottom: 6px; }
.happening__next p:last-child { margin: 0; }
.loc-list { list-style: none; padding: 0; margin: 0 0 24px; }
.loc-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.loc-list li:first-child { border-top: 1px solid var(--line); }
.loc-list strong { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; display: block; }

/* ---------- Bands, panels, inner page heads ---------- */
.band--cream { background: var(--cream); }
.page-head { padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: 0.4em; }
.page-head .section-intro { font-size: 1.2rem; }
.page-head .section-intro p:last-child, .page-head p.section-intro { margin-bottom: 0; }
.page-head + section { padding-top: clamp(40px, 5vw, 64px); }
.panel {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: clamp(22px, 3.4vw, 36px);
}
.panel--dark { background: var(--cream); }

/* ---------- Placeholders ---------- */
.placeholder {
  border: 2px dashed rgba(138, 74, 28, 0.5);
  background: rgba(138, 74, 28, 0.05);
  color: var(--muted);
  padding: 26px 22px;
  text-align: center;
  font-size: 1rem;
}
.placeholder strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--wood);
  margin-bottom: 6px;
  font-size: 1.05rem;
}
.placeholder--tight { margin-top: 14px; padding: 16px 18px; font-size: 0.95rem; text-align: left; }
.placeholder--square, .grid .placeholder:not(.placeholder--tight) { aspect-ratio: 1; display: flex; flex-direction: column; justify-content: center; }

/* ---------- Maker page ---------- */
.page-head--maker { border-bottom: none; padding-bottom: clamp(36px, 5vw, 56px); }
.crumb { font-family: var(--font-display); font-weight: 600; margin-bottom: 22px; }
.crumb a { text-decoration: none; }
.maker-hero { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: clamp(24px, 4vw, 52px); align-items: center; }
.maker-hero__person { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--muted); margin: -4px 0 16px; }
.maker-bio { max-width: 72ch; }
.maker-bio p:last-child { margin-bottom: 0; }

/* ---------- Story timeline ---------- */
.timeline { display: flex; flex-direction: column; gap: clamp(44px, 6vw, 72px); }
.timeline__row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}
.timeline__row:nth-child(even) .timeline__poster { order: 2; }
.timeline__poster button { display: block; width: 100%; padding: 0; border: none; background: none; cursor: zoom-in; }
.timeline__poster img { width: 100%; }
.timeline__year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wood);
  margin: 0 0 8px;
}
.timeline__text h3 { margin-bottom: 8px; font-size: 1.5rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(20, 19, 17, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(94vw, 900px); max-height: 92vh; width: auto; height: auto; }
.lightbox__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: #fff;
  color: var(--ink);
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 18px;
  cursor: pointer;
}

/* ---------- Wholesale products ---------- */
.product { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.product img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product__body { padding: 16px 18px 20px; }
.product__name { font-family: var(--font-display); font-weight: 750; font-size: 1.08rem; margin: 0 0 2px; }
.product__maker { color: var(--muted); font-style: italic; margin: 0 0 8px; font-size: 0.98rem; }
.product__price { font-family: var(--font-display); font-weight: 750; color: var(--wood); margin: 0; font-size: 1.1rem; }
.service-lines { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.service-lines li { padding: 16px 0 16px 30px; border-bottom: 1px solid var(--line); position: relative; font-size: 1.14rem; }
.service-lines li::before { content: ''; position: absolute; left: 4px; top: 25px; width: 10px; height: 10px; background: var(--wood); }
.service-lines strong { font-family: var(--font-display); font-weight: 700; }
.price-slot {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--wood);
  border: 2px dashed rgba(138, 74, 28, 0.5);
  padding: 6px 14px;
  margin: 4px 0;
}
.grid--spaced { margin: 28px 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.field label { display: block; font-family: var(--font-display); font-weight: 650; font-size: 0.98rem; margin-bottom: 6px; }
.field label small { font-weight: 500; color: var(--muted); font-family: var(--font-body); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #9C968A;
  border-radius: 0;
  padding: 12px 14px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid rgba(138, 74, 28, 0.3); outline-offset: 1px; }
.field textarea { min-height: 130px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.mt-0 { margin-top: 0; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.14rem;
  cursor: pointer;
  padding: 16px 34px 16px 0;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 1.3rem; color: var(--wood); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding: 0 0 16px; margin: 0; max-width: 68ch; }

/* ---------- Visit ---------- */
.map-wrap { margin-top: 30px; }
.map-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.hours { list-style: none; padding: 0; margin: 12px 0; }
.hours li { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-bottom: 1px solid var(--line); max-width: 440px; }
.hours li span:first-child { font-family: var(--font-display); font-weight: 600; }

/* ---------- Footer (light) ---------- */
.site-footer { background: var(--cream); border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 0.9fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.footer-brand img { height: 92px; width: auto; margin-bottom: 14px; }
.site-footer h2 { font-size: 1rem; font-weight: 800; letter-spacing: 0.06em; margin-bottom: 12px; }
.site-footer p, .site-footer li { color: var(--muted); font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--wood); text-decoration: underline; }
.footer-base {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-base p { margin: 0; }
.footer-base .credit a { color: var(--muted); text-decoration: underline; }

/* ---------- Phone bottom bar ---------- */
.call-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 130;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.call-bar ul { display: flex; list-style: none; margin: 0; padding: 0; }
.call-bar li { flex: 1; }
.call-bar a {
  display: block;
  text-align: center;
  padding: 13px 6px;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.98rem;
  color: var(--ink);
  text-decoration: none;
  border-left: 1px solid var(--line);
}
.call-bar li:first-child a { border-left: none; background: var(--wood); color: #fff; }

[lang="fr"] { quotes: '\00AB' '\00BB'; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .poster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .menu-btn { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    padding: 4px 24px 14px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--wood); }
  html:not(.js) .nav { position: static; display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px 20px; padding: 0 0 12px; border: none; }
  html:not(.js) .site-header .bar { flex-wrap: wrap; }
  html:not(.js) .menu-btn { display: none; }
  .call-bar { display: block; }
  body { padding-bottom: 52px; }
  .hero__intro { grid-template-columns: 1fr; align-items: start; gap: 16px; }
  .split { grid-template-columns: 1fr; }
  .photo-cap { justify-self: start; }
  .timeline__row { grid-template-columns: 1fr; }
  .timeline__row:nth-child(even) .timeline__poster { order: 0; }
  .timeline__poster { max-width: 460px; }
  .form__row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .paid-row { grid-template-columns: 220px minmax(0, 1fr); }
  .maker-hero { grid-template-columns: 260px minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .grid--featured { grid-template-columns: 1fr; }
  .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand img { height: 56px; }
  .site-header.shrunk .brand img { height: 44px; }
  .hero { padding-top: 12px; }
  .hero__photos { grid-template-columns: 1fr; gap: 6px; }
  .hero__four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .sec-head__bar { padding-block: 18px; }
  .sec-head .btn { font-size: 0.88rem; padding: 12px 14px; }
  .paid-row { grid-template-columns: 1fr; padding-block: 28px; }
  .paid-row .sq, .paid-row > a { max-width: 360px; }
  .maker-hero { grid-template-columns: 1fr; }
  .maker-hero__photo { max-width: 320px; }
  .wrap { padding-inline: 16px; }
}
