/* Wedding Contacts — light, black, white and gold (PRD v1.0). Cormorant Garamond titles, Raleway everything else.
   Layout: a dark navigation bar, a photo hero (Adam's own still) with the notice over it, the search bar overlapping its foot, then the list. */
:root {
  --ink: #14120E; --ink-2: #3F3A33; --quiet: #6A6257; --line: #E4DED3; --line-2: #EEE8DD;
  --page: #F5F3EE; --card: #FFFFFF; --gold: #C9A86A; --gold-deep: #A9874A; --gold-ink: #7E6128; --gold-tint: #F6EFE1;
  --night: #14120E; --night-2: #26221C; --on-night: #F5F3EE; --on-night-2: #CFC6B6;
  --ok: #2F6B3F; --ok-tint: #E7F1E9; --bad: #8E2B22; --bad-tint: #F7E6E3;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: Raleway, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --radius: 6px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 16px/1.6 var(--sans); }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
img { max-width: 100%; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 720px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--card); padding: 8px 14px; }
.skip:focus { left: 8px; }
.muted { color: var(--quiet); }
.small { font-size: 14px; }
.sel { user-select: all; font-weight: 600; }
[hidden] { display: none !important; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; text-wrap: balance; }

/* ---------- navigation bar ---------- */
.top { position: relative; z-index: 20; background: var(--night); color: var(--on-night); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1.1; color: var(--on-night); }
.brand img { display: block; height: 28px; width: auto; }
@media (max-width: 640px) { .brand img { height: 22px; } }
.brand-name { font-weight: 600; letter-spacing: .34em; font-size: 14px; color: var(--on-night); padding-left: .34em; }
.brand-sub { font-size: 9px; letter-spacing: .46em; color: var(--gold); margin-top: 4px; padding-left: .46em; }
.brand:hover { color: var(--on-night); }
.nav { display: none; align-items: center; gap: 26px; font-size: 14px; }
.nav a { color: var(--on-night-2); text-decoration: none; padding: 24px 0 22px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.on { color: var(--on-night); }
.nav a.on { border-color: var(--gold); }
.nav a.nav-cta, .menu-panel a.nav-cta { padding: 10px 16px; border: 0; background: var(--card); color: var(--ink); font-weight: 600; border-radius: var(--radius); }
.nav a.nav-cta:hover { background: var(--gold-tint); }
.menu { position: relative; }
.menu summary { list-style: none; display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; height: 2px; background: var(--on-night); }
.menu-panel { position: absolute; right: 0; top: 52px; display: flex; flex-direction: column; min-width: 240px; padding: 10px; background: var(--night-2); border: 1px solid #3A342C; border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.menu-panel a { color: var(--on-night); text-decoration: none; padding: 12px 10px; }
.menu-panel a.on { color: var(--gold); }
.menu-panel a.nav-cta { margin-top: 6px; text-align: center; }
@media (min-width: 900px) { .nav { display: flex; } .menu { display: none; } }

/* ---------- hero and bands ---------- */
.hero, .band { position: relative; background-color: var(--night-2); color: var(--on-night); }
.hero, .band { overflow: hidden; isolation: isolate; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 40%; z-index: -2; }
.has-photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,18,14,.55) 0%, rgba(20,18,14,.28) 45%, rgba(20,18,14,0) 75%); }
.hero-img { object-position: right 40%; }
@media (max-width: 640px) { .has-photo::before { background: linear-gradient(180deg, rgba(20,18,14,.72) 0%, rgba(20,18,14,.82) 100%); } }
.hero-in { padding-block: 48px 92px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(46px, 8.5vw, 86px); text-transform: uppercase; letter-spacing: .01em; color: #fff; }
.hero .lede { max-width: 560px; margin: 18px 0 0; font-size: 17px; color: var(--on-night); }
.band-in { padding-block: 22px 28px; }
.band.slim .band-in { padding-block: 18px; }
.band-title { font-size: clamp(40px, 7vw, 64px); text-transform: uppercase; color: #fff; margin-top: 10px; }
.band-sub { margin: 6px 0 0; color: var(--on-night-2); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--on-night-2); }
.crumbs li + li::before { content: '/'; margin-right: 4px; color: #8C8273; }
.crumbs a { color: var(--on-night-2); text-decoration: none; }
.crumbs a:hover { color: var(--on-night); text-decoration: underline; }
.crumbs [aria-current] { color: var(--on-night); }

.eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--quiet); }
.eyebrow.gold { color: var(--gold-ink); }
.lede { max-width: 640px; margin: 20px 0 0; font-size: 17px; color: var(--ink-2); }
.lede.small { font-size: 16px; margin: 12px 0 24px; }
.form-title { font-size: clamp(36px, 6vw, 50px); margin: 6px 0 8px; }

/* ---------- the notice (thin gold rule, never a warning badge) ---------- */
.notice { margin: 24px 0; padding: 14px 18px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.notice p { margin: 0; display: inline; }
.notice-more { display: inline; }
.notice-more summary { display: inline; cursor: pointer; color: var(--gold-ink); font-weight: 600; text-decoration: underline; margin-left: 4px; }
.notice-more[open] summary { display: none; }
.notice-more p::before { content: ' '; }
.notice.on-hero { max-width: 760px; margin: 26px 0 0; background: rgba(245,243,238,.94); border-color: rgba(245,243,238,.94); border-left-color: var(--gold); color: var(--ink-2); }

/* ---------- search, chips, results bar ---------- */
.finder { position: relative; z-index: 2; }
.home .finder { margin-top: -34px; }
.searchbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 6; display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 8px 8px 8px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 26px rgba(20,18,14,.10); }
.type-page .searchbar, .searchbar.solo { box-shadow: none; }
.searchbar .ico { color: var(--quiet); flex: none; }
.searchbar input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 500 16.5px var(--sans); color: var(--ink); padding: 12px 0; }
.searchbar:focus-within { border-color: var(--gold-deep); }
.search-btn { flex: none; min-height: 48px; padding: 0 26px; border: 0; border-radius: var(--radius); background: var(--gold); color: var(--ink); font: 600 15px var(--sans); cursor: pointer; }
.search-btn:hover { background: var(--gold-deep); color: #fff; }
.chips-wrap { position: relative; display: flex; align-items: center; gap: 8px; margin-top: 18px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 2px; flex: 1; min-width: 0; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 0; min-height: 56px; min-width: 76px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--ink); font: 600 13.5px/1.3 var(--sans); cursor: pointer; text-align: left; }
.chip-n { font-weight: 500; font-size: 12.5px; color: var(--quiet); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--gold-deep); }
.chip.on { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.chip.on .chip-n { color: var(--ink-2); }
.chips-next { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; color: var(--ink); }
.bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px 20px; flex-wrap: wrap; margin: 28px 0 14px; }
.bar-l { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; }
.bar-title { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.count { margin: 0; font-size: 14px; color: var(--quiet); }
.bar-r { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--quiet); }
.sort select { font: 500 14px var(--sans); color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px; min-height: 44px; }
.view { display: flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.view-b { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px; border: 0; background: var(--card); color: var(--ink-2); font: 600 13.5px var(--sans); cursor: pointer; }
.view-b .ico { width: 16px; height: 16px; }
.view-b.on { background: var(--gold); color: var(--ink); }

/* ---------- supplier cards (text only) ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 18px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; min-width: 0; }
.card:hover { border-color: #CDBF9F; box-shadow: 0 6px 18px rgba(20,18,14,.06); }
.card-top { display: flex; justify-content: space-between; gap: 10px; }
.card-type { font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.card-go { color: var(--ink-2); flex: none; }
.card-name { font-family: var(--serif); font-size: 25px; font-weight: 600; line-height: 1.12; margin: 2px 0 6px; overflow-wrap: anywhere; }
.card-name a { text-decoration: none; }
.card-name a::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.card-n { font-size: 14.5px; color: var(--ink-2); }
.card-n b { font-weight: 700; color: var(--ink); }
.card-area { display: flex; gap: 6px; align-items: flex-start; font-size: 13.5px; color: var(--quiet); }
.card-area .ico { width: 15px; height: 15px; margin-top: 3px; flex: none; }
.card-links { position: relative; z-index: 1; display: flex; gap: 8px; margin-top: auto; padding-top: 12px; justify-content: flex-end; }
.card-links a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); }
.card-links a:hover { border-color: var(--gold-deep); color: var(--ink); }
/* list view: compact rows with the same facts */
.grid.list-view { grid-template-columns: 1fr; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.grid.list-view .card { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 16px; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: 12px 16px; box-shadow: none; }
.grid.list-view .card:last-child { border-bottom: 0; }
.grid.list-view .card-top { order: 2; flex: 0 0 160px; }
.grid.list-view .card-go { display: none; }
.grid.list-view .card-name { order: 1; flex: 1 1 220px; font-size: 21px; margin: 0; }
.grid.list-view .card-n { order: 3; flex: 0 0 auto; }
.grid.list-view .card-area { order: 4; flex: 1 1 160px; }
.grid.list-view .card-links { order: 5; margin: 0; padding: 0; }
.more-wrap { text-align: center; margin: 24px 0 0; }
.none { padding: 32px 18px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink-2); }
.none p { margin: 0 0 14px; font-size: 17px; }
.plain-list { columns: 2 260px; padding-left: 18px; }
.owner-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 56px; padding-block: 28px; border-top: 1px solid var(--line); }
.owner-cta > div { flex: 1 1 420px; min-width: 0; }
.owner-cta h2 { font-size: 32px; margin-bottom: 8px; }
.owner-cta p { max-width: 640px; color: var(--ink-2); margin: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: #fff; font: 600 15px var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: #2C2822; color: #fff; }
.btn.ghost { background: var(--card); color: var(--ink); }
.btn.ghost:hover { background: var(--gold-tint); color: var(--ink); }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.linkbtn { background: none; border: 0; padding: 0; font: 600 14px var(--sans); color: var(--gold-ink); text-decoration: underline; cursor: pointer; }

/* ---------- supplier profile ---------- */
.profile { padding-top: 32px; max-width: 900px; }
.profile-head { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.profile-logo { width: 120px; height: 120px; object-fit: contain; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; flex: none; }
.profile-id { flex: 1 1 380px; min-width: 0; }
.one-name { font-size: clamp(40px, 7vw, 60px); font-weight: 500; overflow-wrap: anywhere; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 14px 0 0; color: var(--ink-2); font-size: 15px; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta .ico { color: var(--gold-ink); }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.about { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 36px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .about { grid-template-columns: 180px 1fr; gap: 24px; } }
.about h2 { font-size: 30px; }
.about-body { color: var(--ink-2); font-size: 16.5px; min-width: 0; }
.about-src { margin: 12px 0 0; font-size: 13px; color: var(--quiet); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; margin: 32px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }

.stats div { background: var(--gold-tint); padding: 18px 16px; text-align: center; }
.stats dt { order: 2; font-size: 14px; color: var(--quiet); }
.stats div { display: flex; flex-direction: column; }
.stats dd { order: 1; margin: 0; font-family: var(--serif); font-size: 38px; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats dd.small-dd { font-size: 24px; line-height: 1.6; }
.owner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.owner > div { flex: 1 1 360px; min-width: 0; }
.owner h2 { font-size: 28px; margin-bottom: 4px; }
.owner p { margin: 0; color: var(--ink-2); }

/* ---------- forms ---------- */
.form-wrap { max-width: 900px; padding-top: 28px; }
.narrow { padding-top: 28px; }
.form { display: flex; flex-direction: column; gap: 18px; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { padding: 0; margin-bottom: 12px; font-family: var(--serif); font-size: 26px; font-weight: 600; }
.cols { display: grid; grid-template-columns: 1fr; gap: 16px 20px; }
@media (min-width: 760px) { .cols { grid-template-columns: 1fr 1fr; } .span2 { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-weight: 600; font-size: 15px; color: var(--ink-2); }
.field small { color: var(--quiet); font-size: 13px; }
.opt { font-style: normal; font-weight: 500; color: var(--quiet); }
.field input, .field textarea, .field select { width: 100%; font: 16px var(--sans); color: var(--ink); background: #FAF9F6; border: 1px solid #D9D2C5; border-radius: var(--radius); padding: 13px 14px; }
.field input[type=file] { padding: 10px; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--gold-deep); outline-offset: 0; background: #fff; }
[aria-invalid="true"] { border-color: var(--bad) !important; }
.field-err { color: var(--bad); font-size: 14px; font-weight: 600; }
.tick { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.tick input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--ink); }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 14px; background: var(--gold-tint); border-radius: var(--radius); }
.review-note { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--gold-ink); font-size: 14.5px; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.errors { margin: 0 0 20px; padding: 14px 18px; background: var(--bad-tint); border-left: 3px solid var(--bad); border-radius: 0 var(--radius) var(--radius) 0; color: var(--bad); }
.errors p { margin: 0 0 4px; font-weight: 700; }
.errors ul { margin: 0; padding-left: 18px; }
.errors a { color: var(--bad); }
.msg-box p { color: var(--ink-2); font-size: 17px; }
.sub-h { font-size: 28px; margin: 32px 0 6px; }
.prose h2 { font-size: 30px; margin: 32px 0 8px; }
.prose p { color: var(--ink-2); }

/* ---------- footer ---------- */
.foot { margin-top: 72px; padding-block: 44px 40px; background: var(--night); color: var(--on-night-2); font-size: 14px; }
.foot-in { display: grid; grid-template-columns: 1fr; gap: 24px 48px; }
@media (min-width: 860px) { .foot-in { grid-template-columns: 1.3fr 1fr; } }
.foot h2 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.foot-side h2 + p { margin-top: 0; }
.foot-side h2:not(:first-child) { margin-top: 20px; }
.foot p { margin: 0 0 8px; }
.foot a { color: var(--on-night); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px !important; }
.foot-small { grid-column: 1 / -1; margin: 0; font-size: 13px; color: #8C8273; }

/* ---------- admin ---------- */
.admin { padding-top: 24px; }
.tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; padding-bottom: 12px; margin-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
.tabs a { text-decoration: none; color: var(--quiet); padding: 8px 0; border-bottom: 2px solid transparent; }
.tabs a.on { color: var(--ink); border-color: var(--gold); font-weight: 600; }
.tabs b { display: inline-block; min-width: 22px; padding: 0 6px; margin-left: 4px; background: var(--gold); color: var(--ink); font-size: 12px; text-align: center; border-radius: 11px; }
.tabs .inline { margin-left: auto; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
@media (min-width: 860px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.tile b { display: block; font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tile span { font-size: 13.5px; color: var(--quiet); }
.tile.alert { border-color: var(--gold); background: var(--gold-tint); }
.flash { padding: 12px 16px; background: var(--ok-tint); border-left: 3px solid var(--ok); color: var(--ok); margin: 0 0 20px; border-radius: 0 var(--radius) var(--radius) 0; }
.warn { padding: 10px 14px; background: var(--gold-tint); border-left: 3px solid var(--gold); color: var(--gold-ink); margin: 0 0 14px; font-size: 14.5px; }
.ok-line { color: var(--ok); font-weight: 600; margin: 0; }
.admin-h { font-size: 40px; margin-bottom: 10px; }
.admin-h2 { font-size: 28px; margin: 36px 0 10px; }
.empty { padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink-2); }
.card-a { margin: 0 0 20px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.card-a h2 { font-size: 28px; margin-bottom: 6px; }
.card-a header p { margin: 0 0 16px; font-size: 14px; }
.compare { gap: 0; }
.cmp { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line-2); }
@media (min-width: 860px) { .cmp { grid-template-columns: 140px 1fr 1.2fr; gap: 16px; } }
.cmp-l { font-weight: 600; font-size: 14px; }
.cmp-l em { display: inline-block; margin-left: 6px; padding: 1px 6px; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--gold-tint); color: var(--gold-ink); border-radius: 4px; }
.cmp small { display: block; color: var(--quiet); font-size: 12px; margin-bottom: 4px; }
.cmp-now { font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; min-width: 0; }
.cmp-new { min-width: 0; }
.cmp-new input, .cmp-new textarea { width: 100%; font: 15px var(--sans); padding: 10px 12px; border: 1px solid #D9D2C5; border-radius: var(--radius); background: #FAF9F6; }
.cmp.changed .cmp-new input, .cmp.changed .cmp-new textarea { border-color: var(--gold); background: #fff; }
.cmp-logo { display: block; width: 96px; height: 96px; object-fit: contain; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 6px; margin-bottom: 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; padding-top: 16px; border-top: 1px solid var(--line-2); }
.reject summary { list-style: none; }
.reject summary::-webkit-details-marker { display: none; }
.reject[open] { flex-basis: 100%; display: flex; flex-direction: column; gap: 12px; }
.log { list-style: none; padding: 0; margin: 0; font-size: 14.5px; }
.log li { padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.tag { display: inline-block; padding: 2px 9px; font-size: 12px; font-weight: 600; background: var(--line-2); color: var(--ink-2); border-radius: 20px; white-space: nowrap; }
.tag.approved { background: var(--ok-tint); color: var(--ok); }
.tag.rejected { background: var(--bad-tint); color: var(--bad); }
.adm-search { display: flex; gap: 8px; margin: 16px 0 12px; }
.adm-search input { flex: 1; min-width: 0; font: 16px var(--sans); padding: 12px 14px; border: 1px solid #D9D2C5; border-radius: var(--radius); background: #fff; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.filters .chip { flex-direction: row; align-items: center; gap: 6px; min-height: 40px; min-width: 0; text-decoration: none; }
.table-scroll { overflow-x: auto; }
.adm-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); font-size: 14.5px; margin-top: 12px; }
.adm-table th, .adm-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-2); }
.adm-table th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--quiet); font-weight: 600; }
.pos-in { width: 80px; font: 15px var(--sans); padding: 8px; border: 1px solid #D9D2C5; border-radius: var(--radius); }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 20px 0; font-size: 14px; color: var(--quiet); }
.adm-edit { max-width: 640px; }

@media (max-width: 640px) {
  .hero-in { padding-block: 30px 80px; }
  .hero h1 { font-size: 48px; }
  .hero .lede { font-size: 16px; }
  .notice { font-size: 13.5px; padding: 12px 14px; }
  .top-in { min-height: 64px; }
  .search-btn { padding: 0 16px; }
  .bar { align-items: flex-start; }
  .grid.list-view .card-top { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* films: VidFlow players (16:9) and the Instagram fallback (loads on press) */
.films { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.films h2 { font-size: 30px; margin-bottom: 6px; }
.films-intro { color: var(--ink-2); margin: 0 0 18px; }
.films-intro a, .stats dt a { color: var(--ink); font-weight: 600; }
.film-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px 18px; }
.film { min-width: 0; margin: 0; }
.film figcaption { margin-top: 8px; font-size: 14px; color: var(--quiet); }
.film figcaption strong { color: var(--ink); font-weight: 600; }
.film-frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); border-radius: var(--radius); overflow: hidden; }
.film-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-play { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; aspect-ratio: 16 / 9; padding: 20px; background: var(--ink); color: #fff; border-radius: var(--radius); text-decoration: none; text-align: center; }
.film-play:hover .film-btn, .film-play:focus-visible .film-btn { background: #fff; }
.film-btn { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--ink); transition: background .15s; }
.film-btn svg { width: 28px; height: 28px; margin-left: 4px; }
.film-label { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 24px; font-weight: 600; }
.film-note { font-size: 13px; color: rgba(255,255,255,.72); }
.film-ig iframe { display: block; width: 100%; height: 640px; border: 0; border-radius: var(--radius); background: #fff; }
@media (max-width: 400px) { .film-grid { grid-template-columns: 1fr; } }
.steps-a { margin: 0; padding-left: 20px; } .steps-a li { margin: 4px 0; }
.film-row h2 { font-size: 24px; margin-bottom: 2px; }
.film-row textarea { font-family: ui-monospace, Menlo, monospace; font-size: 12px; }

/* home: four suppliers, one per group */
.home-four { margin-top: 40px; }
.four-head { margin-bottom: 16px; }
.four-head h2 { font-size: 32px; margin-bottom: 4px; }
.four-head p { margin: 0; color: var(--ink-2); }
@media (min-width: 700px) { .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid.four { grid-template-columns: repeat(4, 1fr); } }
.grid.four .card-name { font-size: 23px; }
