/* Suncoast Registry - the whole design system, in one file, for 4,200 static pages.
   ONE stylesheet, ZERO JavaScript, ZERO third-party font requests. The thesis of this site
   is that a public record should be fast, crawlable and legible on a phone in a driveway,
   so a webfont fetched from someone else's CDN would cost more than it is worth. The stacks
   below resolve to a real humanist sans and a real text serif on every OS we ship to, and
   the wordmark SVG carries the same sans stack so the mark matches the page.

   Colour: deep gulf blue, warm sand, ink. Every text pair below is at or above WCAG AA.
   The verified green is written EXACTLY ONCE, inside .badge, and never enters :root - a
   reserved colour that can be referenced by a token is a colour that will be reused. */

*,*::before,*::after{box-sizing:border-box}

:root{
  /* --- surface + ink ------------------------------------------------------ */
  --paper:#ffffff;          /* page */
  --tint:#fbf8f2;           /* quiet panel */
  --sand:#efe4d0;           /* warm panel: the offer, the chip */
  --ink:#1b1b1b;            /* body text            17.2:1 on paper */
  --ink-2:#3e3a33;          /* secondary body       11.3:1 on paper */
  --deep:#0b3b5e;           /* headings, footer     11.7:1 on paper */
  --deep-hover:#155a8a;     /* 7.3:1 with white on top */
  --link:#2a5f82;           /* body links            6.9:1 on paper */
  --muted:#5a5346;          /* labels + notes        7.6:1 on paper, 6.0:1 on sand */
  --line:#d9cdb6;           /* hairline rule */
  --line-strong:#b9ac90;    /* panel edge */

  /* --- type --------------------------------------------------------------- */
  --font-text:ui-sans-serif,system-ui,-apple-system,"Segoe UI Variable Text","Segoe UI",
    Roboto,"Helvetica Neue",Arial,sans-serif;
  --font-display:Georgia,"Iowan Old Style","Palatino Linotype",Palatino,
    "Times New Roman",serif;
  --font-mono:ui-monospace,"Cascadia Mono","Segoe UI Mono","SF Mono",Menlo,Consolas,monospace;

  /* fluid scale, 1.2 at 360px opening to 1.25 at 1280px */
  --step--2:clamp(.75rem,.72rem + .14vw,.8125rem);      /* 12 -> 13 */
  --step--1:clamp(.875rem,.845rem + .13vw,.9375rem);    /* 14 -> 15 */
  --step-0:clamp(1rem,.96rem + .18vw,1.125rem);         /* 16 -> 18 */
  --step-1:clamp(1.125rem,1.06rem + .29vw,1.3125rem);   /* 18 -> 21 */
  --step-2:clamp(1.25rem,1.14rem + .49vw,1.625rem);     /* 20 -> 26 */
  --step-3:clamp(1.5rem,1.32rem + .8vw,2.125rem);       /* 24 -> 34 */

  /* --- space: a 4px scale, used for every margin on the page -------------- */
  --s1:.25rem;--s2:.5rem;--s3:.75rem;--s4:1rem;--s5:1.5rem;--s6:2rem;--s7:3rem;--s8:4rem;

  --measure:66ch;           /* measured line length for body copy */
  --shell:48rem;            /* the page, opened to 66rem at desktop by the last block below */
}

html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);
  font-family:var(--font-text);font-size:var(--step-0);line-height:1.6}
img{max-width:100%}

h1,h2,h3{font-family:var(--font-display);color:var(--deep);font-weight:600;
  line-height:1.22;margin:0;text-wrap:balance}
h1{font-size:var(--step-3);letter-spacing:-.005em;overflow-wrap:break-word}
h2{font-size:var(--step-2)}
h3{font-size:var(--step-1)}
p{margin:0;max-width:var(--measure)}

a{color:var(--link);text-decoration-thickness:.07em;text-underline-offset:.17em}
a:hover{color:var(--deep)}
a:focus-visible,.cta:focus-visible{outline:3px solid var(--deep);outline-offset:2px;
  border-radius:2px}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:-9999px;top:0}
.skip:focus{left:0;z-index:20;display:block;background:var(--deep);color:#fff;
  padding:.7rem 1.1rem;font-size:var(--step--1);font-weight:600;text-decoration:underline}

.shell{width:100%;max-width:var(--shell);margin-inline:auto;padding-inline:var(--s4)}
@media(min-width:30em){.shell{padding-inline:var(--s5)}}
/* Every container on the site is the same width, so the wordmark, the breadcrumb, the
   masthead and the first line of the record all start on one left edge - and walking from a
   trade index into a profile never shifts the page under your thumb. The reading column is
   capped separately, below, which is what leaves room for the rail at desktop. */
.col-main,.offer,.rail{max-width:48rem}

/* --- masthead ------------------------------------------------------------- */
.site-head{border-bottom:1px solid var(--line);background:var(--paper)}
.site-head .shell{display:flex;flex-wrap:wrap;gap:var(--s2) var(--s5);
  align-items:center;justify-content:space-between;padding-block:var(--s4)}
.wordmark{display:inline-block;line-height:0}
.wordmark img{width:clamp(9rem,32vw,11.25rem);height:auto;display:block}
.site-nav{display:flex;flex-wrap:wrap;gap:var(--s2) var(--s4);font-size:var(--step--1)}
.site-nav a{color:var(--ink-2);text-decoration:none;padding-block:.35rem}
.site-nav a:hover{color:var(--deep);text-decoration:underline}

/* --- breadcrumbs ---------------------------------------------------------- */
.crumbs{padding-top:var(--s4)}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;align-items:baseline;
  gap:.15rem .4rem;margin:0;padding:0;font-size:var(--step--2);color:var(--muted)}
.crumbs a{color:var(--muted);display:inline-block;padding-block:.25rem}
.crumbs li+li::before{content:"\203A";margin-right:.4rem;color:var(--line-strong)}
.crumbs [aria-current]{color:var(--ink-2);font-weight:600}

/* --- page head ------------------------------------------------------------ */
.page-head{padding-top:var(--s5)}
.subhead{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s2) var(--s3);
  margin-top:var(--s3);font-size:var(--step--1);color:var(--muted)}
.chip{display:inline-block;background:var(--sand);color:var(--ink-2);
  font-size:var(--step--2);font-weight:600;letter-spacing:.06em;text-transform:uppercase;
  padding:.3em .65em;border-radius:2px}

/* --- THE RECORD ----------------------------------------------------------- */
/* The verified fact first, its source under it, the caveat under that. The panel edge is
   the state's blue: this block is the only thing on the page we can stand behind. */
.record{margin-top:var(--s5);border:1px solid var(--line-strong);border-top:4px solid var(--deep);
  background:var(--paper);padding:var(--s5) var(--s4)}
@media(min-width:30em){.record{padding:var(--s5)}}
.license-line{font-size:var(--step-1);line-height:1.45;color:var(--ink);font-weight:500;
  font-variant-numeric:tabular-nums;margin-top:var(--s4)}
.record-detail{margin-top:var(--s7)}
.record-detail>h2{font-size:var(--step-1);padding-bottom:var(--s3);
  border-bottom:2px solid var(--deep)}
.record-table{width:100%;border-collapse:collapse;
  font-size:var(--step--1);font-variant-numeric:tabular-nums}
.record-table th,.record-table td{text-align:left;vertical-align:baseline;
  padding:var(--s3) 0;border-bottom:1px solid var(--line)}
.record-table th{width:44%;padding-right:var(--s4);color:var(--muted);font-weight:600;
  font-size:var(--step--2);letter-spacing:.055em;text-transform:uppercase;line-height:1.35}
.record-table td{color:var(--ink)}
.record-table tr:last-child th,.record-table tr:last-child td{border-bottom:0}
@media(min-width:40em){.record-table th{width:34%}}

/* --- the verified badge. The reserved green lives here and nowhere else. --- */
.badge{display:inline-flex;align-items:center;gap:.45rem;text-decoration:none;
  font-size:var(--step--1);font-weight:600;letter-spacing:.02em;line-height:1;
  padding:.4rem .75rem .4rem .5rem;border-radius:3px;
  color:#1B7F4C;background:var(--paper);border:1.5px solid #1B7F4C}
.badge img{width:20px;height:20px;display:block}
.badge:hover{color:#1B7F4C;background:#f4faf6}
.badge-sub{display:block;margin-top:var(--s2);font-size:var(--step--2);color:var(--muted)}

/* --- source + caveat panels. System notes, never marketing, never a warning. --- */
.panel{margin-top:var(--s5);background:var(--tint);border:1px solid var(--line);
  padding:var(--s4)}
.panel>h2{font-size:var(--step-1);margin-bottom:var(--s3)}
.panel p{font-size:var(--step--1);line-height:1.65}
.panel p+p{margin-top:var(--s3)}
.provenance{border-left:4px solid var(--deep)}
/* all three links, one size, one weight, one target height - making removal harder to hit
   than claiming is the two-pixel decision that costs the whole trust position */
.prov-links{margin-top:var(--s4);line-height:2}
.prov-links a{display:inline-block;font-size:var(--step--1);font-weight:600;line-height:1.75}
.remove-line{color:var(--muted)}
.note{font-size:var(--step--2);line-height:1.6;color:var(--muted);margin-top:var(--s4)}

/* --- what the business says about itself. Sourced, dated, and clearly not ours. --- */
.declared{margin-top:var(--s7);padding-top:var(--s5);border-top:1px solid var(--line-strong)}
.declared>h2{font-size:var(--step-1)}
.declared-areas{margin-top:var(--s3);font-family:var(--font-display);font-size:var(--step-1);
  line-height:1.4;color:var(--ink)}
.declared-source{margin-top:var(--s3);font-size:var(--step--2);color:var(--muted)}
.declared-site{margin-top:var(--s4);padding-top:var(--s3);border-top:1px solid var(--line);
  font-size:var(--step--1);color:var(--ink)}
.declared-site .lbl{display:block;font-size:var(--step--2);color:var(--muted);font-weight:600;
  letter-spacing:.055em;text-transform:uppercase;margin-bottom:var(--s1)}
.declared-site em{display:block;margin-top:var(--s1);font-style:normal;
  font-size:var(--step--2);color:var(--muted)}
.declared .note{margin-top:var(--s4);background:var(--tint);border:1px solid var(--line);
  padding:var(--s3) var(--s4)}

/* --- the claim offer. An offer, not an error: sand, never alarm colour. --- */
.offer{margin-top:var(--s5);background:var(--sand);border:1px solid var(--line-strong);
  padding:var(--s4)}
.offer-title{font-family:var(--font-display);font-size:var(--step-1);font-weight:600;
  color:var(--deep);line-height:1.25}
.offer p{font-size:var(--step--1);line-height:1.6;margin-top:var(--s3)}
.offer .cta-row{margin-top:var(--s4);display:flex;flex-wrap:wrap;align-items:center;
  gap:var(--s3)}
.offer em{font-style:normal;font-size:var(--step--2);color:var(--muted)}
.cta{display:inline-block;background:var(--deep);color:#fff;font-weight:600;
  font-size:var(--step--1);padding:.7rem 1.1rem;border-radius:3px;text-decoration:none}
.cta:hover{background:var(--deep-hover);color:#fff}

/* --- trade index ---------------------------------------------------------- */
/* full-bleed up to the chrome width, then centred - the source tile is 800px square and
   stretching it across a 27-inch monitor would look exactly as cheap as it is */
.masthead{background:var(--tint);border-bottom:1px solid var(--line);
  max-width:var(--shell);margin-inline:auto}
.masthead-art{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;
  object-position:center 45%;background:var(--sand)}
@media(min-width:40em){.masthead-art{aspect-ratio:16/6}}
.intro{margin-top:var(--s4);font-size:var(--step-0);line-height:1.65}
.count{margin-top:var(--s5);padding-bottom:var(--s3);border-bottom:1px solid var(--line);
  font-size:var(--step--1);color:var(--muted)}
.count strong{color:var(--deep);font-size:var(--step-1);font-variant-numeric:tabular-nums}
.disclosure{margin-top:var(--s3);font-size:var(--step--2);line-height:1.6;color:var(--muted)}
.cards{list-style:none;padding:0;margin:var(--s6) 0 0}
.card{padding:var(--s5) 0;border-bottom:1px solid var(--line)}
.card-head{max-width:none;display:flex;flex-wrap:wrap;align-items:center;gap:var(--s2) var(--s3)}
.card .name{font-family:var(--font-display);font-size:var(--step-1);font-weight:600;
  color:var(--deep);text-decoration:none}
.card .name:hover{text-decoration:underline}
.card .badge{font-size:var(--step--2);padding:.25rem .55rem .25rem .35rem;
  vertical-align:.15em}
.card .badge img{width:16px;height:16px}
.card .badge-sub,.card .meta{margin-top:var(--s2);font-size:var(--step--2);
  line-height:1.5;color:var(--muted);font-variant-numeric:tabular-nums}
.card .badge-sub{flex:1 0 100%;margin-top:0}   /* its own line under the name + badge */
.card .unclaimed{color:var(--ink-2)}
.pager{margin-top:var(--s6);font-size:var(--step--1)}
.pager a,.pager span{display:inline-block;min-width:2.75rem;margin:0 .3rem .4rem 0;
  padding:.55rem .4rem;text-align:center;border:1px solid var(--line);text-decoration:none}
.pager a:hover{border-color:var(--deep);background:var(--tint)}
.pager span{font-weight:700;background:var(--deep);border-color:var(--deep);color:#fff}
.how,.related,.pros{margin-top:var(--s6);padding-top:var(--s5);
  border-top:1px solid var(--line)}
.how>h2,.related>h2{font-size:var(--step-1);margin-bottom:var(--s3)}
.how p,.related p,.pros p{font-size:var(--step--1);line-height:1.65}
.how p+p{margin-top:var(--s3)}
/* link runs are navigation, not prose: every one of them clears a 24px target */
.related p{line-height:2}
.how p a,.related a,.pros p a{display:inline-block;line-height:1.75}
.coverage{margin:var(--s6) 0 0;padding:0}
.coverage img{display:block;width:100%;height:auto;border:1px solid var(--line);
  background:var(--tint)}
.coverage figcaption{margin-top:var(--s2);font-size:var(--step--2);color:var(--muted);
  letter-spacing:.05em;text-transform:uppercase;font-weight:600}
.band{margin-top:var(--s7)}
.band img{display:block;width:100%;height:auto;aspect-ratio:21/9;object-fit:cover}

/* --- 410 ------------------------------------------------------------------ */
.gone{padding-top:var(--s6)}
.gone .status{font-size:var(--step--2);letter-spacing:.08em;text-transform:uppercase;
  font-weight:600;color:var(--muted)}
.gone h1{margin-top:var(--s3)}
.gone p{margin-top:var(--s4);font-size:var(--step--1);line-height:1.65}

/* --- footer. The registry's mark, then the record's caveats, then the operator. --- */
.site-foot{margin-top:var(--s8);background:var(--deep);color:#fff;
  padding-block:var(--s6) var(--s7)}
.site-foot .mark{display:inline-block;line-height:0}
.site-foot .mark img{width:9.5rem;height:auto;display:block;filter:brightness(0) invert(1)}
.site-foot p{margin-top:var(--s4);color:#efe4d0;font-size:var(--step--2);line-height:1.7}
.site-foot .operator{color:#fff;font-size:var(--step--1)}
.site-foot a{color:#fff;text-decoration:underline}
.site-foot a:hover{color:#efe4d0}
.site-foot a:focus-visible{outline-color:#efe4d0}
.legal{display:flex;flex-wrap:wrap;gap:var(--s2) var(--s5);margin-top:var(--s5);
  font-size:var(--step--2);line-height:1.8}
.legal a{white-space:nowrap;display:inline-block;padding-block:.15rem}
.endorse{margin-top:var(--s5);padding-top:var(--s4);
  border-top:1px solid rgba(239,228,208,.35);font-size:var(--step--2);color:#efe4d0}
.endorse a{display:inline-block;padding-block:.25rem}

/* --- desktop: the record leads, the secondary column sits beside it -------- */
/* One grid for both page types. On a profile the offer moves out of the reading column
   without moving in the document, so a phone still gets it at the top of the profile. */
@media(min-width:64em){
  :root{--shell:66rem}
  .provider-grid,.index-grid{display:grid;grid-template-columns:minmax(0,1fr) 19rem;
    gap:var(--s7);align-items:start}
  .provider-grid>.col-main,.index-grid>.col-main{grid-column:1;grid-row:1;min-width:0}
  .provider-grid>.offer{grid-column:2;grid-row:1}
  .index-grid>.rail{grid-column:2;grid-row:1}
  .offer,.rail{position:sticky;top:var(--s5)}
  .rail .coverage,.rail .related{margin-top:0}
  .rail .related{margin-top:var(--s6)}
}

@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* People print these. A printed record should still name its source. */
@media print{
  body{font-size:11pt;color:#000;background:#fff}
  .site-head,.site-nav,.offer,.band,.pager,.skip,.coverage{display:none}
  .site-foot{background:#fff;color:#000;margin-top:1.5rem;border-top:1pt solid #000}
  .site-foot p,.endorse{color:#000}
  .site-foot .mark img{filter:none}
  .record{border:1pt solid #000;break-inside:avoid}
  a{color:#000}
  a[href^="/"]::after{content:" (suncoastregistry.com" attr(href) ")";font-size:9pt}
}
