/* Foundation */
:root {
  --ocean: #214d47;
  --coral: #b9853b;
  --sun: #e9b23d;
  --paper: #fcfbf7;
  --muted: #536e67;
  --line: #d4dedb;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ocean); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
h1, h2, p { margin: 0; }
h2 { font-size: 24px; letter-spacing: -.7px; line-height: 1.2; }
.page-shell { max-width: 1240px; margin: auto; padding: 0 22px; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ocean); color: white; padding: 12px; z-index: 5; }
.skip:focus { top: 12px; }
.eyebrow { text-transform: uppercase; font-size: 10px; letter-spacing: 1.5px; font-weight: 700; line-height: 1.7; margin-bottom: 10px; }

/* A quiet platform cue, without changing the parent brand mark. */
.header--marketplace {
  position: relative;
  justify-content: space-between;
  gap: 16px;
  isolation: isolate;
}
.header--marketplace::before {
  content: '';
  position: absolute;
  inset: 0 -22px;
  background: var(--header-tint);
  z-index: -1;
}
.header-marketplace-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--ocean);
}
.header-marketplace-label::before {
  content: '';
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--header-accent);
}
@media (min-width: 601px) {
  .header--marketplace::before { inset-inline: -28px; }
  .header-marketplace-label { font-size: 12px; }
}
@media (min-width: 901px) {
  .header--marketplace::before { inset-inline: -48px; }
}
@media (max-width: 380px) {
  .header-marketplace-label { max-width: 100px; }
}

/* Brand introduction */
.header { display: flex; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line); }
.parent-brand { display: flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 700; letter-spacing: -.7px; min-height: 44px; }
.parent-brand svg { width: 33px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.hero { padding: 24px 0; }
.hero-copy { max-width: 850px; }
.hero-parent-credit { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: var(--muted); }
h1 { font-size: clamp(34px, 9.5vw, 60px); line-height: 1.06; letter-spacing: -2px; margin-bottom: 12px; overflow-wrap: anywhere; }
.tagline { font-size: 18px; font-weight: 600; letter-spacing: -.4px; line-height: 1.4; margin-bottom: 10px; }
.intro, .intro-mobile { color: var(--muted); font-size: 13px; line-height: 1.7; max-width: 560px; }
.intro { display: none; }

/* Shop navigation */
.shops { border-top: 1px solid var(--line); padding: 25px 0 30px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.section-description { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 10px 0 20px; }
.market-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.market-entry { min-width: 0; }
.market-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 94px; padding: 18px 14px; border: 1px solid var(--line); border-radius: 6px; background: #ffffff99; transition: background .2s, transform .2s; }
/* Direct store destinations are the hub's primary action. */
.market-entry .market-card {
  min-height: 110px;
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 2px 5px #214d4708;
}
.market-entry .platform-name { font-size: 21px; }
.market-entry .platform-detail { font-size: 12px; color: var(--ocean); }
.market-card[href]:hover { background: #fff; border-color: #a7beb5; box-shadow: 0 4px 12px #214d470d; transform: translateY(-1px); }
.platform-body { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.platform-name { display: flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 700; letter-spacing: -.6px; }
.platform-detail { font-size: 11px; line-height: 1.5; color: var(--muted); }
.platform-arrow { flex: 0 0 auto; font-size: 23px; }
.unconfirmed .platform-arrow { font-size: 16px; }
.placeholder-note { font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: 16px; }
.marketplace-page .market-grid { grid-template-columns: 1fr; max-width: 620px; }
.marketplace-page .market-card { background: #edf5f2; color: var(--ocean); border-color: #cbded6; min-height: 105px; }
.marketplace-page .market-card .platform-detail { color: var(--muted); }
.marketplace-page .market-card[href]:hover { background: #e1eee8; }
.shop-secondary-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; margin-top: 8px; font-size: 13px; line-height: 1.5; }
.shop-secondary-link .platform-icon { width: 18px; height: 18px; flex-basis: 18px; }
.shop-secondary-link:hover span:first-of-type { text-decoration: underline; text-underline-offset: 3px; }

/* Artwork and business introduction */
.coastal-banner { margin: 0 0 28px; overflow: hidden; border-radius: 6px; background: #f4eddb; }
.coastal-banner img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; object-position: 48% center; filter: saturate(.72) brightness(.95); }
.about-section { display: grid; gap: 16px; padding-bottom: 32px; }
.about-section h2 { max-width: 380px; }
.about-copy { max-width: 480px; font-size: 13px; line-height: 1.8; color: var(--muted); }

#about-note { margin-top: 16px; }
.about-section--intro { padding-top: 8px; }

/* Compact contact footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0 20px; display: grid; gap: 24px; }
.footer-shop { font-size: 16px; font-weight: 700; }
.footer-brand p { font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: 7px; }
.footer-contact h2 { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.social-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.social-link { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 0; min-width: 0; }
.platform-icon { width: 24px; height: 24px; flex: 0 0 24px; object-fit: contain; }
.social-link .platform-name { font-size: 13px; letter-spacing: 0; overflow-wrap: anywhere; }
.social-link .platform-detail, .social-link .platform-arrow { display: none; }
.social-link:hover .platform-name { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; padding-top: 12px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }

/* Keep brand icons and long shop names clear on narrow phones. */
@media (max-width: 600px) {
  .market-entry .platform-arrow { display: none; }
}
@media (max-width: 380px) {
  .market-grid { grid-template-columns: 1fr; }
}

/* Larger screens */
@media (min-width: 601px) {
  .page-shell { padding: 0 28px; }
  .header { padding: 25px 0; }
  .parent-brand { font-size: 20px; }
  .parent-brand svg { width: 40px; }
  .hero { padding: 32px 0 28px; }
  h1 { font-size: clamp(56px, 5.5vw, 68px); letter-spacing: -3px; }
  .tagline { font-size: 20px; }
  .intro { display: block; font-size: 14px; }
  .intro-mobile { display: none; }
  h2 { font-size: 27px; }
  .market-card { padding: 23px 22px; min-height: 105px; }
  .market-entry .market-card { min-height: 120px; }
  .market-entry .platform-name { font-size: 24px; }
  .platform-name { font-size: 22px; }
  .platform-detail { font-size: 12px; }
  .coastal-banner img { aspect-ratio: 4.5 / 1; }
  .about-section { grid-template-columns: 1fr 1fr; gap: 40px; padding: 8px 0 36px; }
  .about-copy { font-size: 14px; }
  .footer { grid-template-columns: 1fr auto; }
  .footer-bottom { grid-column: 1 / -1; }
}
@media (min-width: 901px) {
  .page-shell { padding: 0 48px; }
  .market-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Featured Pinterest pins, shown only where their Poshmark destination fits. */
.pinterest-feature { border-top: 1px solid var(--line); padding: 28px 0 32px; }
.pinterest-heading { display: flex; align-items: center; gap: 12px; }
.pinterest-heading img { flex: 0 0 24px; }
.pin-grid { display: grid; gap: 12px; }
.pin-card { display: flex; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #ffffff99; }
.pin-card:hover { background: #edf3ee; }
.pin-card > img { width: 104px; height: 144px; flex: 0 0 104px; object-fit: cover; object-position: top center; background: white; }
.pin-copy { display: flex; flex-direction: column; gap: 10px; padding: 12px 12px 12px 0; }
.pin-title { font-size: 15px; font-weight: 600; line-height: 1.4; }
.pin-action { font-size: 12px; color: var(--muted); }
.pinterest-bottom { margin-top: 12px; }
.pinterest-bottom a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; line-height: 1.5; }
.pinterest-bottom p { font-size: 12px; color: var(--muted); line-height: 1.6; }
@media (min-width: 601px) {
  .pin-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .pin-card { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .pin-card > img { width: 100%; height: auto; aspect-ratio: 3 / 4; flex: auto; }
  .pin-copy { padding: 16px; }
}

/* Official board widget owns its contents; keep the surrounding layout flexible. */
.pinterest-widget { width: 100%; max-width: 1000px; overflow: hidden; }
.pinterest-widget > span, .pinterest-widget > iframe { max-width: 100% !important; }

/* Secondary navigation belongs to the hub only. */
.shop-pages { border-top: 1px solid var(--line); padding: 24px 0; }
.shop-pages h2 { font-size: 15px; letter-spacing: 0; margin-bottom: 8px; }
.shop-pages ul { display: flex; flex-wrap: wrap; gap: 0 24px; list-style: none; padding: 0; margin: 0; }
.shop-pages a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.shop-pages a:hover { color: var(--coral); }

/* Optional affiliate resources stay separate from shopping navigation. */
.shop-pages .resources-link { font-size: 12px; color: var(--muted); margin-top: 8px; }
.resource-page { max-width: 720px; padding: 40px 0 56px; min-height: 50svh; }
.resource-page h1 { font-size: clamp(30px, 6vw, 44px); letter-spacing: -1px; }
.resource-intro { font-size: 15px; line-height: 1.7; color: var(--muted); }
.resource-disclosure { font-size: 13px; line-height: 1.7; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 24px; }
.resource-links { display: grid; gap: 12px; margin-top: 20px; }
.resource-links .market-card { background: white; }
.resource-links .platform-name { font-size: 17px; }
.resource-empty { color: var(--muted); font-size: 14px; padding-top: 16px; }
.resource-back { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
