/* Top Rated Photographers — site theme.
   All visual design lives here and in templates.py. build_v3.py holds no CSS.
   Palette: ivory and champagne, to sit quietly beside wedding, newborn and family work. */
/* Typefaces: Cormorant Garamond and Jost (SIL Open Font License), hosted on this
   site so pages make no requests to other sites. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/cormorant-garamond.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url(/assets/fonts/cormorant-garamond-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Jost; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/jost.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #faf6f1;
  --surface: #fffdfa;
  --ink: #2e2724;
  --ink-2: #4d433e;
  --muted: #74675f;
  --line: #ebe2d8;
  --line-2: #d9cbbd;
  --accent: #8c6a3f;        /* antique gold: links and details (AA on ivory) */
  --accent-dark: #5e4526;
  --champagne: #d6b487;
  --blush: #f4e8e3;
  --blush-ink: #8a5a50;
  --star: #b8925a;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(46,39,36,.04), 0 12px 32px rgba(46,39,36,.06);
  --max: 1120px;
  --serif: "Cormorant Garamond", Cormorant, Georgia, "Times New Roman", serif;
  --sans: Jost, "Helvetica Neue", Arial, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--sans); color: var(--ink); background: var(--bg); }
img { max-width: 100%; }
a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(140,106,63,.35); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 10px 16px; background: var(--ink); color: #fbf7f2; border-radius: 999px; }
.skip:focus { left: 16px; color: #fbf7f2; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--champagne); display: inline-flex; align-items: center; justify-content: center; color: var(--accent); font-size: 14px; font-family: var(--sans); }
.site-nav { display: flex; gap: 6px 24px; flex-wrap: wrap; font-size: 15px; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--accent); }
.beta { background: var(--blush); color: var(--blush-ink); font-size: 13.5px; padding: 7px 0; }

/* Page intro */
.crumbs { font-size: 14px; color: var(--muted); margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs a { color: var(--muted); }
.intro { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; padding: 20px 0 8px; }
.intro-text { flex: 1 1 460px; min-width: 0; }
.eyebrow { margin: 0 0 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.intro h1 { font-size: clamp(36px, 5vw, 58px); letter-spacing: -.01em; }
.sub { margin: 16px 0 0; font-size: 18px; color: var(--ink-2); max-width: 640px; }
.intro-photo { flex: 1 1 340px; min-width: 0; margin: 0; position: relative; }
.intro-photo img { display: block; width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius); }
.intro-photo figcaption { margin-top: 6px; font-size: 12px; color: var(--muted); text-align: right; }
.intro-photo figcaption a { color: var(--muted); }

/* Home hero */
.home-hero { padding-top: 40px; }
.home-hero h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02; }
.home-hero h1 em { color: var(--accent); }
.finder { margin-top: 26px; padding: 6px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); max-width: 520px; }
.finder label { display: flex; flex-direction: column; padding: 8px 12px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.finder input { font: 18px var(--sans); color: var(--ink); border: 0; background: transparent; padding: 4px 0; min-height: 34px; width: 100%; outline: 0; }
.finder:focus-within { border-color: var(--accent); }
.city-results { list-style: none; margin: 8px 0 0; padding: 0; max-width: 520px; }
.city-results li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 0 14px; min-height: 46px; border: 1px solid var(--line); border-top: 0; background: var(--surface); font-size: 15px; color: var(--muted); }
.city-results li:first-child { border-top: 1px solid var(--line); border-radius: 12px 12px 0 0; }
.city-results li:last-child { border-radius: 0 0 12px 12px; }
.city-results li:only-child { border-radius: 12px; }
.city-results a { flex: 1; padding: 11px 0; color: var(--ink); text-decoration: none; font-size: 17px; }
.city-results a:hover { color: var(--accent); }
.mosaic { flex: 1 1 380px; min-width: 0; display: grid; grid-template-columns: 3fr 2fr; grid-template-rows: 150px 150px; gap: 10px; margin: 0; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; display: block; }
.mosaic img:first-child { grid-row: span 2; }
.mosaic figcaption { grid-column: 1 / -1; font-size: 12px; color: var(--muted); text-align: right; }
.mosaic figcaption a { color: var(--muted); }
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 32px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust div { display: flex; gap: 12px; align-items: center; padding: 18px 8px; font-size: 15px; color: var(--ink-2); }
.trust svg { flex: none; color: var(--accent); }

/* Sections */
.section { margin-top: 56px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 20px; margin-bottom: 18px; }
.section h2 { font-size: 34px; }
.note { margin: 8px 0 0; font-size: 14px; color: var(--muted); max-width: 720px; }

/* Buttons */
.btn, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; font: 500 15px var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn { background: var(--ink); color: #fbf7f2; border: 1px solid var(--ink); }
.btn:hover { background: #4a3f3a; color: #fbf7f2; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--ink); }

/* Quick picks */
.picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 24px 0 0; }
.pick { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); }
.pick:hover { border-color: var(--champagne); color: var(--ink); }
.pick-label { font-size: 13px; color: var(--accent); font-weight: 500; }
.pick-name { font-family: var(--serif); font-size: 21px; line-height: 1.15; }
.pick-why { font-size: 14px; color: var(--muted); }

/* Listing card */
.listings { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.biz { display: grid; grid-template-columns: 40px 72px minmax(0, 1fr) auto; gap: 6px 18px; align-items: start; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.biz--top { box-shadow: var(--shadow); }
.biz-rank { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--accent); text-align: center; padding-top: 4px; }
.biz-logo { width: 72px; height: 72px; border-radius: 14px; background: var(--blush); color: var(--blush-ink); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 26px; overflow: hidden; }
.biz-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; background: #fff; }
.biz-main { min-width: 0; }
.biz h3 { font-size: 26px; overflow-wrap: anywhere; }
.biz-rating { margin: 6px 0 0; font-size: 15px; color: var(--ink-2); }
.biz-rating .star { color: var(--star); }
.biz-rating strong { font-weight: 600; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.chips li.is-on { background: var(--ink); color: var(--paper, #fff); }
.chips li { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--blush-ink); background: var(--blush); padding: 4px 10px; border-radius: 999px; font-weight: 500; }
.biz-about { margin: 12px 0 0; font-size: 15px; color: var(--ink-2); max-width: 620px; }
.biz-contact { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 12px 0 0; font-size: 14px; }
.biz-contact a { display: inline-flex; align-items: flex-start; gap: 6px; color: var(--ink-2); overflow-wrap: anywhere; padding: 4px 0; }
.biz-contact svg { flex: none; margin-top: 3px; color: var(--accent); }
.biz-soc { display: flex; flex-wrap: wrap; gap: 2px 16px; margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.biz-soc a { padding: 4px 0; }
.biz-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.biz-grade { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.biz-grade strong { font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--ink); }
.tier { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.tier.Platinum { background: var(--ink); color: #f4ede5; }
.tier.Gold { background: var(--champagne); color: var(--ink); }
.tier.Listed { border: 1px solid var(--line-2); color: var(--ink-2); }

/* Link cards (states, cities, specialties) */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.card { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.card-title { font-family: var(--serif); font-size: 21px; line-height: 1.2; color: var(--ink); }
a.card-title { text-decoration: none; }
a.card-title:hover { color: var(--accent); }
.card-meta { font-size: 14px; color: var(--muted); }
.card-meta a { color: var(--muted); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 800px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 500; padding: 14px 0; min-height: 44px; }
.faq details p { margin: 0 0 16px; color: var(--ink-2); }

/* For photographers band */
.band { margin-top: 64px; background: var(--ink); color: #f4ede5; border-radius: 24px; padding: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.band-text { flex: 1 1 420px; min-width: 0; }
.band .eyebrow { color: var(--champagne); }
.band h2 { font-size: 34px; color: #f4ede5; }
.band p { margin: 12px 0 0; color: #d9cec4; max-width: 560px; }
.band .btn { background: var(--champagne); border-color: var(--champagne); color: var(--ink); }
.band .btn:hover { background: #e3c8a2; color: var(--ink); }

/* Long-form pages (methodology, credits) */
.prose { max-width: 760px; padding-top: 36px; }
.prose h1 { font-size: clamp(36px, 5vw, 54px); }
.prose h2 { font-size: 28px; margin: 36px 0 10px; }
.prose h3 { font-size: 22px; margin: 22px 0 6px; }
.prose p, .prose li { color: var(--ink-2); }
.prose li { margin: 6px 0; }
.table-scroll { overflow-x: auto; margin-top: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.table-scroll table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 720px; }
.table-scroll th { text-align: left; font-weight: 500; color: var(--muted); }
.table-scroll th, .table-scroll td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.table-scroll tr:first-child th { border-top: 0; }

/* Forms */
.form-page { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-start; padding-top: 48px; }
.form-page--narrow { max-width: 520px; flex-direction: column; }
.form-intro { flex: 1 1 380px; min-width: 0; }
.form-intro h1 { font-size: clamp(36px, 5vw, 54px); }
.ticks { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.form { flex: 1 1 400px; min-width: 0; max-width: 520px; width: 100%; display: flex; flex-direction: column; gap: 16px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field-row .field { flex: 1 1 160px; }
.field-label { font-weight: 500; font-size: 15px; }
.optional { font-weight: 400; font-size: 13px; color: var(--muted); }
.hint { font-size: 13px; color: var(--muted); }
.field input, .field textarea { font: 16px var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 12px; min-height: 46px; width: 100%; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field-row { display: flex; flex-wrap: wrap; gap: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); padding: 6px 0; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.choices { border: 0; margin: 0; padding: 0; }
.choices legend { font-weight: 500; font-size: 15px; padding: 0; margin-bottom: 4px; }
.form .btn { align-self: flex-start; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); }
.form-error { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fbeae6; color: #8a2f1c; font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Private scorecard */
.scorecard { padding-top: 40px; }
.sc-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px 48px; }
.sc-head-text { flex: 1 1 460px; min-width: 0; }
.sc-head h1 { font-size: clamp(34px, 5vw, 54px); overflow-wrap: anywhere; }
.sc-status { margin: 16px 0 0; max-width: 640px; color: var(--ink-2); }
.sc-total { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.sc-total-num { font-family: var(--serif); font-size: 64px; line-height: 1; }
.sc-total-of { font-size: 14px; color: var(--muted); }
.tier.NotListed { border: 1px solid var(--line-2); color: var(--muted); }
.sc-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 16px; margin-top: 36px; }
.sc-pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.sc-pillar-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sc-pillar h2 { font-size: 26px; }
.sc-pillar-score { color: var(--muted); white-space: nowrap; }
.sc-pillar-score strong { font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--ink); }
.sc-bar { height: 6px; background: #efe6dc; border-radius: 6px; margin: 12px 0 6px; overflow: hidden; }
.sc-bar span { display: block; height: 100%; background: var(--accent); border-radius: 6px; }
.sc-checks { list-style: none; margin: 0; padding: 0; }
.sc-check { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.sc-check:first-child { border-top: 0; }
.sc-mark { width: 22px; height: 22px; border-radius: 50%; margin-top: 1px; position: relative; }
.sc-check--pass .sc-mark { background: var(--ink); }
.sc-check--pass .sc-mark::after { content: ""; position: absolute; left: 6px; top: 6px; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.sc-check--miss .sc-mark { border: 2px solid var(--blush-ink); }
.sc-check--miss .sc-mark::after { content: ""; position: absolute; left: 4px; right: 4px; top: 8px; height: 2px; background: var(--blush-ink); }
.sc-check--unknown .sc-mark { border: 2px dashed var(--line-2); }
.sc-check-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sc-check-main strong { font-weight: 500; }
.sc-evidence { font-size: 14px; color: var(--muted); }
.sc-points { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.sc-fix { grid-column: 2 / -1; margin: 2px 0 0; padding: 10px 12px; background: var(--blush); border-radius: 10px; font-size: 14px; color: var(--ink-2); }
.sc-fix strong { color: var(--blush-ink); font-weight: 600; }
.sc-seal-links { margin: 12px 0 0; font-size: 15px; }
.sc-cta { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 320px; }
.sc-cta input[type=email] { flex: 1 1 220px; min-width: 0; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #6a5d55; background: #3a312d; color: #f4ede5; font: 16px var(--sans); }
.sc-cta input[type=email]::placeholder { color: #c8bbb0; }
.sc-foot { margin-top: 24px; }

/* Byline and author */
.byline { margin: 40px 0 0; font-size: 14px; color: var(--muted); }
.author { display: flex; gap: 18px; align-items: flex-start; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.author-mark { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--blush); color: var(--blush-ink); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 22px; }
.author h3 { font-size: 26px; margin: 0; }
.author-role { margin: 2px 0 10px; font-size: 14px; color: var(--muted); }
.author p { margin: 0 0 8px; }

/* Seal on the scorecard */
.sc-seal { display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: center; margin-top: 16px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.sc-seal img { flex: none; width: 160px; height: 160px; }
.sc-seal-text { flex: 1 1 320px; min-width: 0; }
.sc-seal h2 { font-size: 26px; }
.sc-seal p { margin: 8px 0 12px; color: var(--ink-2); }
.sc-seal textarea { width: 100%; font: 13px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; resize: vertical; }

/* Methodology */
.prose--wide { max-width: 880px; }
.m-pillars { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.m-pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.m-pillar-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.m-pillar h3 { font-size: 26px; }
.m-blurb { margin: 4px 0 8px; color: var(--muted); }
.m-checks { list-style: none; margin: 0; padding: 0; }
.m-check { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); margin: 0; }
.m-check strong { font-weight: 500; color: var(--ink); display: block; }
.m-why { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.m-points { white-space: nowrap; font-size: 14px; color: var(--ink-2); }
.m-tiers { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.m-tiers li { display: flex; align-items: center; gap: 12px; margin: 0; }

/* For photographers */
.offer { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.offer li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.offer h3 { font-size: 24px; }
.offer p { margin: 8px 0 0; color: var(--ink-2); }

.steps { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 14px; color: var(--ink-2); }
.steps li { counter-increment: step; position: relative; padding-left: 44px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--champagne); color: var(--accent); font-family: var(--serif); font-size: 18px; display: flex; align-items: center; justify-content: center; }
.steps strong { color: var(--ink); font-weight: 500; }

/* Specialty cards: the way into the rankings */
.sp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.sp-card { display: flex; flex-direction: column; gap: 4px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.sp-card--quiet { box-shadow: none; }
.sp-card h3 { font-size: 26px; }
.sp-card h3 a { color: var(--ink); text-decoration: none; }
.sp-card h3 a:hover { color: var(--accent); }
.sp-top { list-style: none; margin: 12px 0 14px; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sp-top li { display: flex; gap: 12px; align-items: baseline; font-size: 15px; }
.sp-rank { font-family: var(--serif); font-size: 20px; color: var(--accent); width: 14px; flex: none; }
.sp-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.sp-where { display: block; font-size: 13px; color: var(--muted); }
.sp-score { color: var(--muted); font-size: 14px; }
.sp-more { margin: 0; font-size: 15px; font-weight: 500; color: var(--muted); }
a.sp-more { color: var(--accent); padding: 6px 0; }

/* Photographer profile */
.biz h3 a { color: var(--ink); text-decoration: none; }
.biz h3 a:hover { color: var(--accent); }
.profile-head { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 20px 28px; align-items: start; padding-top: 24px; }
.profile-logo { width: 112px; height: 112px; border-radius: 20px; background: var(--blush); color: var(--blush-ink); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 40px; overflow: hidden; }
.profile-logo img { width: 100%; height: 100%; object-fit: contain; padding: 12px; background: #fff; }
.profile-main h1 { font-size: clamp(34px, 5vw, 54px); overflow-wrap: anywhere; }
.profile-main .sub { font-size: 17px; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.profile-side { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.grid--wide { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.rank-pos { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--accent); }
.rank-pos small { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.details { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.details div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.details dt { font-size: 13px; color: var(--accent); font-weight: 500; }
.details dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; display: block; }
.band-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.band .btn-ghost { color: #f4ede5; border-color: #6a5d55; }
.band .btn-ghost:hover { color: #f4ede5; border-color: var(--champagne); }
@media (max-width: 720px) {
  .profile-head { grid-template-columns: 72px minmax(0, 1fr); }
  .profile-logo { width: 72px; height: 72px; font-size: 26px; border-radius: 14px; }
  .profile-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; }
  .profile-seal { width: 96px; height: 96px; }
}

/* At a glance */
.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 0; }
.glance-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.glance dt { font-size: 13px; color: var(--accent); font-weight: 500; }
.glance dd { margin: 4px 0 0; }
.glance strong { display: block; font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.1; }
.glance span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }

/* Research page */
.prose .glance { margin: 14px 0 6px; }
.prose .table-scroll td:nth-child(n+2), .prose .table-scroll th:nth-child(n+2) { text-align: right; white-space: nowrap; }
.prose .table-scroll table { font-size: 15px; min-width: 520px; }
.bars { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; max-width: 620px; }
.bars li { display: grid; grid-template-columns: 120px minmax(0, 1fr) 44px; gap: 12px; align-items: center; margin: 0; }
.bar { height: 8px; background: #efe6dc; border-radius: 8px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--accent); border-radius: 8px; }
.bar-num { text-align: right; font-size: 14px; color: var(--ink-2); }

/* Footer */
.site-foot { margin: 64px 0 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.site-foot p { margin: 0 0 8px; max-width: 880px; }
.site-foot a { color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 12px; }
.foot-links a { padding: 8px 0; }

/* Phones */
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .section { margin-top: 44px; }
  .section h2 { font-size: 30px; }
  .intro-photo img { height: 180px; }
  .mosaic { grid-template-rows: 110px 110px; }
  .biz { grid-template-columns: 56px minmax(0, 1fr); padding: 16px; gap: 6px 14px; position: relative; }
  .biz-rank { position: absolute; top: 8px; left: 8px; width: 28px; height: 28px; padding: 0; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-2); font-size: 18px; line-height: 26px; z-index: 1; }
  .biz-logo { width: 56px; height: 56px; font-size: 21px; border-radius: 12px; margin-top: 6px; }
  .biz h3 { font-size: 23px; }
  .biz-side { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
  .biz-grade { grid-column: 1 / -1; justify-content: space-between; }
  .band { padding: 28px 22px; }
}

/* City search results: the city, then a link to each specialty ranking. */
.city-results li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.city-results .city-name { font-weight: 500; }
.city-results .city-links { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; }
.card-links { display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: 6px; font-size: 14px; }
.city-results li { justify-content: flex-start; padding: 10px 14px; }
.city-results .city-name { flex-basis: 100%; }
.city-results .city-links a { white-space: nowrap; }
