/* SWFL Fishing Insider design kit v1
   Fonts (load in <head>):
   https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Source+Sans+3:wght@400;600;700&family=Caveat:wght@600&display=swap
   Pages use ONLY the classes in this file. See DESIGN.md.
   Color and font tokens live in theme.css, loaded before this file. */

:root {
  --radius: 6px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(31, 36, 34, .06), 0 8px 22px rgba(31, 36, 34, .10);
  --shadow-lift: 0 2px 4px rgba(31, 36, 34, .08), 0 16px 34px rgba(31, 36, 34, .16);
  --wrap: 1180px;
  --gutter: 20px;
  --section-y: clamp(56px, 7vw, 96px);

  /* paper grain, pure CSS (SVG noise) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .2 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper) var(--grain);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
}
img { max-width: 100%; display: block; }
a { color: var(--coral-deep); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.cover { width: 100%; height: 100%; object-fit: cover; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Added for the redesign: a real-photo slot standing in for a missing photo,
   shown as a centered engraved illustration instead of a cropped/stretched fallback. */
.media--illustration { background: var(--paper-light); display: grid; place-items: center; }
.media--illustration img { width: 56%; height: 56%; object-fit: contain; color: var(--tan); }

/* Added for the redesign: navy + chart-texture header for pages with no
   representative photo (report posts use their own real photo below instead). */
.texture-hero { position: relative; color: var(--white); background: url("assets/chart-lines.svg") 0 0 / 400px repeat, var(--navy); padding: 150px 0 70px; --edge: var(--paper); }
.texture-hero .h1 { color: var(--white); font-size: clamp(38px, 5.4vw, 60px); max-width: 24ch; }
.lead-photo { margin: 0; max-width: 620px; }
.lead-photo img { width: 100%; height: auto; display: block; border: 1.5px solid var(--navy); padding: 10px; background: var(--card); box-sizing: border-box; }
.lead-photo figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: left; }

/* ---------- Type ---------- */
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 400; line-height: 1.05; margin: 0; color: var(--ink); }
.h1 { font-size: clamp(42px, 7vw, 76px); letter-spacing: -.01em; }
.h2 { font-size: clamp(34px, 4.6vw, 52px); letter-spacing: -.01em; }
.h3 { font-size: 22px; line-height: 1.15; }
.eyebrow { font: 700 13px/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--coral); margin: 0 0 10px; }
.lead-caps { font: 600 13px/1.9 var(--font-body); letter-spacing: .28em; text-transform: uppercase; }
.script { font: 600 clamp(26px, 3vw, 34px)/1.05 var(--font-script); transform: rotate(-8deg); display: inline-block; }
.swash { position: relative; display: inline-block; }
.swash::after {
  content: ""; position: absolute; left: 0; bottom: -.18em; width: min(170px, 60%); height: 12px;
  background: var(--coral);
  -webkit-mask: url("assets/brush-underline.svg") center / 100% 100% no-repeat;
          mask: url("assets/brush-underline.svg") center / 100% 100% no-repeat;
}
.muted { color: var(--muted); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 14px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase;
  padding: 14px 20px; border-radius: 4px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, transform .2s;
}
.btn-coral { background: var(--coral); color: var(--white); }
.btn-coral:hover { background: var(--coral-deep); }
.btn-outline-light { border-color: rgba(255,255,255,.75); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn .arrow, .link-arrow .arrow { width: 16px; height: 16px; flex: none; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--ink);
  font: 700 13px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; padding-bottom: 6px; border-bottom: 1.5px solid var(--ink);
}
.link-arrow:hover { color: var(--coral-deep); border-color: var(--coral-deep); }

/* ---------- Pills, stars, small bits ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pill {
  font: 600 13px/1 var(--font-body); color: var(--ink); text-decoration: none;
  padding: 7px 13px; border-radius: var(--radius-pill); background: #efe8dc; border: 1px solid var(--line);
}
a.pill:hover { border-color: var(--coral); }
.rating { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 16px; height: 16px; }
.meta { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.meta svg { width: 15px; height: 15px; }
.icon-circle {
  width: 30px; height: 30px; border-radius: 50%; background: var(--tan); color: var(--white);
  display: grid; place-items: center; flex: none; transition: background .2s, transform .2s;
}
.icon-circle svg { width: 15px; height: 15px; }
.sample-flag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font: 700 11px/1 var(--font-body); letter-spacing: .12em; color: var(--white);
  background: rgba(4,39,58,.82); padding: 5px 8px; border-radius: 3px;
}

/* ---------- Section frame, textures, torn edges ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--paper { background: var(--paper) var(--grain); }
.section--light { background: var(--paper-light) var(--grain); }
.section--palms { overflow: hidden; }
.section--palms::before,
.section--palms::after {
  content: ""; position: absolute; width: clamp(260px, 32vw, 460px); aspect-ratio: 1; color: var(--tan); opacity: .26; pointer-events: none;
  background: currentColor;
}
.section--palms::before { left: 0; bottom: 0;
  -webkit-mask: url("assets/palms-left.webp") left bottom / contain no-repeat;
          mask: url("assets/palms-left.webp") left bottom / contain no-repeat; }
.section--palms::after { right: 0; top: 0;
  -webkit-mask: url("assets/palms-right.webp") right top / contain no-repeat;
          mask: url("assets/palms-right.webp") right top / contain no-repeat; }
@media (max-width: 639px) { .section--palms::before, .section--palms::after { opacity: .12; } }
.section > .wrap { position: relative; z-index: 1; }
.torn-top::before, .torn-bottom::after {
  content: ""; position: absolute; left: 0; right: 0; height: 28px; z-index: 2; pointer-events: none;
  background: var(--edge, var(--paper));
  -webkit-mask: url("assets/torn-edge.svg") center / 100% 100% no-repeat;
          mask: url("assets/torn-edge.svg") center / 100% 100% no-repeat;
}
.torn-top::before { top: -1px; transform: scaleY(-1); }
.torn-bottom::after { bottom: -1px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.section-head .h2 { white-space: nowrap; }
@media (max-width: 959px) { .section-head .h2 { white-space: normal; } }
.stamp { position: absolute; top: -28px; right: 0; width: 120px; color: var(--tan); opacity: .7; transform: rotate(-6deg); }
@media (max-width: 759px) { .stamp { display: none; } }

/* ---------- site-header ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; color: var(--white); }
.site-header--solid { position: relative; background: var(--navy); }
.site-header .bar { display: flex; align-items: center; gap: 22px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; margin-right: auto; }
.brand-mark { width: 62px; height: 44px; color: inherit; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font: 400 38px/0.9 var(--font-display); letter-spacing: .01em; }
.brand-word span { font: 700 12px/1 var(--font-body); letter-spacing: .24em; margin-top: 5px; }
.brand-tag { font: 600 10px/1.6 var(--font-body); letter-spacing: .2em; text-transform: uppercase; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.4); opacity: .85; }
.nav { display: flex; gap: 34px; }
.nav a { color: inherit; text-decoration: none; font: 400 17px/1 var(--font-display); }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 8px; text-decoration-thickness: 2px; }
.header-compass { width: 34px; height: 34px; opacity: .9; padding-right: 18px; box-sizing: content-box; border-right: 1px solid rgba(255,255,255,.35); }
.menu-btn { display: none; background: none; color: inherit; border: 1.5px solid rgba(255,255,255,.7); border-radius: 4px; padding: 10px 14px; font: 700 13px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
@media (max-width: 1099px) {
  .brand-tag, .nav, .header-compass, .site-header .btn { display: none; }
  .menu-btn { display: inline-block; }
  .site-header.open .nav { display: flex; flex-direction: column; gap: 18px; position: absolute; top: 100%; left: var(--gutter); right: var(--gutter); background: var(--navy); padding: 22px; border-radius: var(--radius); }
}
@media (max-width: 479px) { .brand-word b { font-size: 30px; } .brand-mark { width: 48px; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 640px; color: var(--white); display: flex; align-items: center; padding: 130px 0 90px; background: var(--navy); --edge: var(--paper); }
.hero-media { position: absolute; inset: 0; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,39,58,.86) 0%, rgba(4,39,58,.55) 45%, rgba(4,39,58,.1) 80%), linear-gradient(0deg, rgba(4,39,58,.45), transparent 40%); }
.hero-inner { position: relative; z-index: 1; }
.hero .h1 { color: var(--white); max-width: 15ch; }
.hero .h1 .swash::after { bottom: -.12em; }
.hero .lead-caps { margin: 26px 0 26px; }
.hero-script { position: absolute; right: 4%; bottom: 70px; z-index: 1; color: var(--white); }
.search {
  display: flex; align-items: stretch; background: var(--white); border-radius: 4px; padding: 8px; gap: 8px; max-width: 560px; box-shadow: var(--shadow-card);
}
.search label { flex: 1 1 0; display: flex; align-items: center; gap: 8px; padding: 0 10px; color: var(--ink); border-right: 1px solid var(--line); min-width: 0; }
.search label svg { width: 18px; height: 18px; flex: none; color: var(--ink); }
.search select { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 14px var(--font-body); color: var(--ink); padding: 10px 0; }
.search .btn { padding: 12px 16px; }
.area-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; padding: 0; margin: 16px 0 0; font: 600 11px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.area-links li + li::before { content: "/"; margin-right: 10px; opacity: .7; }
.area-links a { color: var(--white); text-decoration: none; }
@media (max-width: 759px) {
  .hero { min-height: 0; padding: 110px 0 80px; }
  .search { flex-direction: column; }
  .search label { border-right: 0; border-bottom: 1px solid var(--line); }
  .search .btn { justify-content: center; }
  .hero-script { display: none; }
}

/* ---------- page-hero (derived) ---------- */
.page-hero { position: relative; color: var(--white); background: var(--navy); padding: 150px 0 80px; --edge: var(--paper); }
.page-hero .hero-media::after { background: linear-gradient(90deg, rgba(4,39,58,.88), rgba(4,39,58,.5)); }
.page-hero .h1 { color: var(--white); font-size: clamp(38px, 5.4vw, 60px); max-width: 18ch; }
.page-hero p { max-width: 60ch; margin: 18px 0 0; font-size: 18px; }

/* ---------- category-cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 959px) { .cards-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .cards-3 { grid-template-columns: 1fr; } }
.cat-card {
  display: block; background: var(--card); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none;
  box-shadow: var(--shadow-card); transition: transform .25s, box-shadow .25s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.cat-card:hover .icon-circle { background: var(--coral); transform: translateX(3px); }
.cat-card .media { position: relative; aspect-ratio: 5 / 2; overflow: hidden; }
.cat-card .media img { transition: transform .5s; }
.cat-card:hover .media img { transform: scale(1.04); }
.cat-card .body { display: grid; grid-template-columns: 104px 1fr auto; gap: 4px 14px; align-items: center; padding: 18px 18px 22px; }
.cat-card .engraved { grid-row: span 2; width: 104px; height: 68px; object-fit: contain; }
.cat-card h3 { font: 400 23px/1 var(--font-display); text-transform: uppercase; letter-spacing: .02em; }
.cat-card p { grid-column: 2 / 4; margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); }

/* ---------- captain-cards ---------- */
.capt-card { background: var(--card); border-radius: var(--radius); padding: 8px 8px 18px; box-shadow: var(--shadow-card); transition: transform .25s, box-shadow .25s; }
.capt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.capt-card .media { position: relative; aspect-ratio: 15 / 8; border-radius: 3px; overflow: hidden; }
.capt-card .body { padding: 14px 8px 0; display: grid; gap: 6px; }
.capt-card h3 a { color: inherit; text-decoration: none; }
.capt-card h3 a:hover { color: var(--coral-deep); }
.capt-card .pills { margin-top: 8px; }

/* ---------- captain-cards: field guide card (homepage, tag pages, report author) ---------- */
  .fg-card { display: flex; position: relative; background: var(--card) var(--grain); padding: 14px; border-radius: 3px; box-shadow: var(--shadow-card); transition: transform .25s, box-shadow .25s; }
  .fg-card:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow-lift); }
  .fg-frame { flex: 1; border: 1.5px solid var(--navy); outline: 1px solid var(--navy); outline-offset: -6px; padding: 14px; }
  .fg-card .media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--navy); }
  .fg-card .media img { filter: saturate(.85) contrast(1.05); }
  .fg-port { text-align: center; font: 700 11px/1 var(--font-body); letter-spacing: .26em; text-transform: uppercase; color: var(--coral); margin: 16px 0 6px; }
  .fg-card h3 { text-align: center; font: 400 26px/1.05 var(--font-display); }
  .fg-card h3 a { color: var(--ink); text-decoration: none; }
  .fg-rule { display: flex; align-items: center; gap: 10px; margin: 12px 0; color: var(--tan); }
  .fg-rule::before, .fg-rule::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
  .fg-rule img { height: 30px; width: auto; opacity: .85; }
  .fg-stats { display: grid; grid-template-columns: 1fr 1fr; text-align: center; font-size: 13px; color: var(--muted); }
  .fg-stats b { display: block; font: 400 18px/1.2 var(--font-display); color: var(--ink); }
  .fg-stats div + div { border-left: 1px solid var(--line); }
  .fg-card .pills { justify-content: center; margin-top: 14px; }
  .fg-seal { position: absolute; top: -10px; right: -10px; width: 74px; height: 74px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; text-align: center; font: 700 8px/1.2 var(--font-body); letter-spacing: .08em; transform: rotate(10deg); box-shadow: 0 4px 10px rgba(0,0,0,.18); border: 2px dashed rgba(255,255,255,.55); outline: 3px solid var(--coral); }

  
/* ---------- guide-list: logbook row (Guides page) ---------- */
  .lb-list { display: grid; gap: 16px; }
  .lb-card { display: grid; grid-template-columns: 220px 1fr 220px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; }
  .lb-card .media { position: relative; }
  .lb-main { padding: 20px 24px; border-right: 1px dashed var(--line);
    background-image: repeating-linear-gradient(transparent 0 31px, rgba(164,155,138,.18) 31px 32px); }
  .lb-main h3 { font: 400 26px/1.1 var(--font-display); }
  .lb-main .meta { margin: 6px 0 10px; }
  .lb-main p { margin: 0 0 12px; font-size: 15px; color: var(--muted); max-width: 52ch; }
  .lb-side { padding: 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; background: var(--paper-light); }
  .lb-side time { font: 700 11px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--coral); }
  .lb-side .latest { font: 400 17px/1.2 var(--font-display); margin-top: 6px; }
  .lb-side .btn { justify-content: center; white-space: nowrap; }
  @media (max-width: 859px) {
    .lb-card { grid-template-columns: 1fr; }
    .lb-card .media { aspect-ratio: 16 / 9; }
    .lb-main { border-right: 0; border-bottom: 1px dashed var(--line); }
  }

/* ---------- report-list ---------- */
.reports { display: grid; grid-template-columns: repeat(3, 1fr); }
.report { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 0 22px; }
.report:first-child { padding-left: 0; }
.report:last-child { padding-right: 0; }
.report + .report { border-left: 1px solid var(--line); }
.report .media { position: relative; aspect-ratio: 4 / 5; border-radius: 3px; overflow: hidden; }
.report time { display: block; font: 700 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--coral); margin-bottom: 8px; }
.report h3 a { color: inherit; text-decoration: none; }
.report h3 a:hover { color: var(--coral-deep); }
.report p { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 10px 0 12px; }
.report .pill { font-size: 12px; padding: 6px 10px; }
@media (max-width: 1023px) {
  .reports { grid-template-columns: 1fr; gap: 26px; }
  .report, .report:first-child, .report:last-child { padding: 0; }
  .report + .report { border-left: 0; border-top: 1px solid var(--line); padding-top: 26px; }
}
@media (max-width: 419px) { .report { grid-template-columns: 96px 1fr; } }

/* ---------- cta-band ---------- */
.cta-band {
  position: relative; color: var(--white); padding: 86px 0 80px; overflow: hidden;
  background: url("assets/chart-lines.svg") 0 0 / 400px repeat, var(--navy);
  --edge: var(--paper);
}
.cta-band .grid { display: grid; grid-template-columns: 200px 1fr 300px; gap: 36px; align-items: center; }
.cta-band .script { color: var(--white); }
.cta-band .script.swash::after { width: 80%; bottom: -.3em; }
.cta-band .h2 { color: var(--white); }
.cta-band p { margin: 14px 0 0; font-size: 18px; max-width: 46ch; opacity: .92; }
.cta-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; font-size: 15px; }
.cta-list li { display: flex; gap: 10px; align-items: center; }
.cta-list svg { width: 18px; height: 18px; flex: none; }
.cta-band .palms { position: absolute; right: 0; bottom: 0; width: 340px; height: 300px; color: var(--white); opacity: .16; background: currentColor; pointer-events: none;
  -webkit-mask: url("assets/palms-right.webp") right bottom / contain no-repeat; mask: url("assets/palms-right.webp") right bottom / contain no-repeat; }
@media (max-width: 959px) {
  .cta-band .grid { grid-template-columns: 1fr; gap: 22px; }
  .cta-band .palms { display: none; }
}

/* ---------- prose (derived) ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(28px, 3.4vw, 36px); margin: 1.6em 0 .5em; }
.prose h3 { font-size: 23px; margin: 1.4em 0 .4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose img { border-radius: var(--radius); margin: 1.4em 0; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--coral); font: 400 22px/1.4 var(--font-display); }

/* ---------- filter-bar (derived, Guides and Reports lists) ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: var(--card); padding: 14px; border-radius: var(--radius); box-shadow: var(--shadow-card); margin-bottom: 30px; }
.filter-bar .label { font: 700 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.filter-bar .pill[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ---------- profile-head (derived, guide profile page) ---------- */
.profile-head { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: center; }
.profile-head .media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.profile-head .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
@media (max-width: 759px) { .profile-head { grid-template-columns: 1fr; } }

/* ---------- faq (derived) ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font: 400 22px/1.25 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font-family: var(--font-body); font-weight: 700; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* ---------- form-card (derived, Claim Your Listing) ---------- */
.form-card { max-width: 620px; background: var(--card); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow-card); display: grid; gap: 16px; }
.form-card label { display: grid; gap: 6px; font: 600 14px var(--font-body); }
.form-card input, .form-card select, .form-card textarea { font: 400 16px var(--font-body); padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); color: var(--ink); }
.form-card .btn { justify-self: start; }

/* ---------- site-footer ---------- */
.site-footer { position: relative; background: var(--paper) var(--grain); padding: 46px 0 40px; --edge: var(--navy); overflow: hidden; }
.site-footer::after { content: ""; position: absolute; right: 0; bottom: 0; width: 200px; height: 140px; background: var(--tan); opacity: .35; pointer-events: none;
  -webkit-mask: url("assets/palms-right.webp") right bottom / contain no-repeat; mask: url("assets/palms-right.webp") right bottom / contain no-repeat; }
.site-footer .wrap { position: relative; z-index: 1; }
.site-footer .bar { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.site-footer .brand { color: var(--ink); margin-right: 0; }
.footer-badge { display: block; width: 200px; flex: none; }
.footer-badge img { width: 100%; height: auto; }
.site-footer .brand-word b { font-size: 34px; }
.foot-nav { display: flex; gap: 30px; flex-wrap: wrap; margin-right: auto; }
.foot-nav a { color: var(--ink); text-decoration: none; font: 400 16px var(--font-display); }
.foot-nav a:hover { color: var(--coral-deep); }
.social { display: flex; gap: 16px; padding-right: 24px; border-right: 1px solid var(--line); }
.social a { color: var(--ink); }
.social svg { width: 20px; height: 20px; }
.foot-tag { font: 600 10px/1.7 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 759px) { .site-footer .bar { flex-direction: column; align-items: flex-start; gap: 24px; } .social { border-right: 0; padding-right: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.search label:nth-of-type(2) { flex-grow: 1.5; }

/* Home hero intro paragraph (plain-language answer under the H1). */
.hero .hero-intro { max-width: 62ch; margin: 18px 0 0; font: 400 18px/1.55 var(--font-body); }
/* FAQ questions are real <h3>s inside <summary>; keep the summary styling. */
.faq summary h3 { margin: 0; font: inherit; color: inherit; }

/* Publisher blog post gallery (photos after the lead photo). */
.blog-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 28px; }
.blog-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
