/* ==========================================================================
   Altamonte Springs Rescreening — altamonterescreening.com
   Direction 6: contemporary urban, dark-mode-first.

   Palette discipline (measured, not guessed):
     #FFAE1A on #0E0F12 .................. 10.4:1   headline + single CTA
     #E8EBEF on #0E0F12 .................. 16.6:1   body text
     #A8B0BA on #0E0F12 ..................  9.0:1   secondary text
     #7D858F on #0E0F12 ..................  5.0:1   micro-labels (>=18px bold
                                                    or 14px+ tracking only)
     #4A5058 on #0E0F12 ..................  2.4:1   STRUCTURE ONLY. Never text.
     #0E0F12 on #FFAE1A .................. 10.4:1   text inside the amber CTA

   The steel from the brief is a rule-and-border colour here. Anything that
   has to be read is lifted to a tint of it that actually passes.

   No webfonts, no @import, no external requests of any kind.
   ========================================================================== */

:root {
  --bg:        #0E0F12;
  --bg-2:      #131519;   /* raised panel        */
  --bg-3:      #181B21;   /* raised panel, hover */
  --line:      #23262D;   /* hairline            */
  --line-2:    #2E333B;   /* hairline, stronger  */
  --steel:     #4A5058;   /* brief's steel — structure only */
  --text:      #E8EBEF;
  --muted:     #A8B0BA;
  --dim:       #7D858F;
  --amber:     #FFAE1A;
  --amber-dk:  #E09600;
  --ink:       #0E0F12;   /* text on amber */

  --grotesk: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter,
             "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
          "Liberation Mono", monospace;

  --wrap: 1160px;
  --gut: 24px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--grotesk);
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
img { height: auto; }

a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- type ---------------------------------------------------------------- */

h1, h2, h3, h4 {
  margin: 0 0 14px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: #fff;
}

h1 { font-size: clamp(34px, 5.6vw, 60px); letter-spacing: -0.035em; }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: clamp(19px, 2vw, 23px); letter-spacing: -0.02em; }
h4 { font-size: 16px; letter-spacing: -0.01em; }

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

strong { color: #fff; font-weight: 650; }

.lead {
  font-size: clamp(18px, 2.1vw, 21px);
  line-height: 1.55;
  color: var(--muted);
}
.lead strong { color: var(--text); font-weight: 600; }

.small { font-size: 14px; line-height: 1.55; color: var(--muted); }
.dim   { color: var(--dim); }

/* Uppercase micro-label — the recurring signature of this direction. */
.ml {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 14px;
}
.ml--amber { color: var(--amber); }
.ml .n {
  color: var(--amber);
  font-family: var(--mono);
  letter-spacing: 0.1em;
  margin-right: 10px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 780px; }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--amber); color: var(--ink); padding: 10px 16px;
  font-weight: 700;
}
.skip:focus { left: 8px; top: 8px; }

/* --- buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text); background: transparent;
  transition: border-color .15s, background .15s, color .15s;
}
.btn:hover { text-decoration: none; border-color: var(--steel); background: var(--bg-2); }

/* The single amber CTA. One per page — that is the whole signature move. */
.btn--go {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}
.btn--go:hover { background: var(--amber-dk); border-color: var(--amber-dk); color: var(--ink); }

.btn svg { width: 15px; height: 15px; flex: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* --- header -------------------------------------------------------------- */

.site-head {
  position: sticky; top: 0; z-index: 30;
  background: rgba(14, 15, 18, 0.94);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-head { backdrop-filter: blur(10px); }
}
.site-head .wrap {
  display: flex; align-items: center; gap: 20px;
  min-height: 68px;
}

.brand {
  display: flex; align-items: center; gap: 11px;
  color: #fff; font-weight: 700; letter-spacing: -0.03em; font-size: 18px;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand-logo {
  height: 38px; width: auto; flex: none; display: block;
  background: #fff; padding: 5px 10px; border-radius: 7px;
}
.fbrand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-logo { height: 34px; margin-bottom: 12px; }
.fbrand .brand-name { color: #fff; font-weight: 700; font-size: 18px; }
.brand .sub {
  display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--dim); margin-top: 2px;
}

.nav { margin-left: auto; display: flex; gap: 4px; overflow-x: auto; }
.nav a {
  padding: 8px 12px; border-radius: 2px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--muted); white-space: nowrap;
}
.nav a:hover { color: #fff; background: var(--bg-2); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--amber); }

.head-tel {
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--text); white-space: nowrap;
  padding-left: 18px; border-left: 1px solid var(--line);
}
.head-tel span { display: block; font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--dim); font-weight: 600; }

@media (max-width: 900px) {
  .site-head .wrap { flex-wrap: wrap; min-height: 0; padding-top: 12px; padding-bottom: 0; }
  .head-tel { border-left: 0; padding-left: 0; margin-left: auto; }
  .nav {
    order: 3; width: 100%; margin: 6px calc(var(--gut) * -1) 0;
    padding: 0 var(--gut) 10px;
    border-top: 1px solid var(--line);
    padding-top: 8px;
  }
}

/* --- hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
/* A steel hairline grid — the only decoration in the hero. */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(74, 80, 88, 0.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(74, 80, 88, 0.16) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(115% 90% at 78% 0%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(115% 90% at 78% 0%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero .wrap { position: relative; padding-top: 84px; padding-bottom: 78px; }
.hero h1 { max-width: 15ch; }
.hero .lead { max-width: 60ch; margin-top: 22px; }

.hero-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; margin-top: 54px;
  background: var(--line); border: 1px solid var(--line);
}
.hero-facts div { background: var(--bg); padding: 22px 20px; }
.hero-facts .v {
  display: block; font-size: clamp(26px, 3.2vw, 34px); font-weight: 700;
  letter-spacing: -0.035em; color: #fff; line-height: 1;
}
.hero-facts .k {
  display: block; margin-top: 10px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim);
}
@media (max-width: 700px) {
  .hero .wrap { padding-top: 54px; padding-bottom: 48px; }
  .hero-facts { grid-template-columns: 1fr; margin-top: 36px; }
}

/* Interior page header — quieter than the home hero. */
.phead { border-bottom: 1px solid var(--line); }
.phead .wrap { padding-top: 58px; padding-bottom: 40px; }
.phead h1 { max-width: 20ch; }
.phead .lead { max-width: 68ch; margin-top: 18px; }

.crumbs {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 22px;
}
.crumbs a { color: var(--dim); }
.crumbs a:hover { color: var(--text); }
.crumbs span { padding: 0 8px; color: var(--steel); }

/* --- sections ------------------------------------------------------------ */

section { border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: 0; }
section > .wrap { padding-top: 76px; padding-bottom: 76px; }
@media (max-width: 700px) { section > .wrap { padding-top: 52px; padding-bottom: 52px; } }

.alt { background: var(--bg-2); }

.sec-head { max-width: 66ch; margin-bottom: 40px; }
.sec-head p { color: var(--muted); }

.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 56px; align-items: start;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* --- cards --------------------------------------------------------------- */

.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }

.card { background: var(--bg); padding: 30px 26px; }
.alt .card { background: var(--bg-2); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .ico { width: 24px; height: 24px; color: var(--amber); margin-bottom: 18px; display: block; }
.card .more {
  display: inline-block; margin-top: 16px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}

a.card { color: inherit; display: block; transition: background .15s; }
a.card:hover { background: var(--bg-3); text-decoration: none; }
.alt a.card:hover { background: var(--bg-3); }

/* --- fact / callout ------------------------------------------------------ */

.note {
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--amber);
  background: var(--bg-2);
  padding: 26px 28px;
  margin: 30px 0;
}
.alt .note { background: var(--bg); }
.note h3 { font-size: 19px; }
.note p { color: var(--muted); }
.note--steel { border-left-color: var(--steel); }

blockquote.src {
  margin: 22px 0; padding: 0 0 0 20px;
  border-left: 2px solid var(--steel);
  color: var(--text); font-size: 16.5px;
}
blockquote.src cite {
  display: block; margin-top: 10px; font-style: normal;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--dim);
}

/* --- tables -------------------------------------------------------------- */

.tbl-scroll { overflow-x: auto; margin: 26px 0; -webkit-overflow-scrolling: touch; }
table {
  width: 100%; min-width: 520px; border-collapse: collapse;
  font-size: 15px;
}
caption {
  text-align: left; font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--dim); padding-bottom: 12px;
}
th, td {
  text-align: left; padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
thead th {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--dim);
  border-bottom: 1px solid var(--line-2);
}
tbody th { color: #fff; font-weight: 650; }
td { color: var(--muted); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.num { font-family: var(--mono); font-size: 14px; letter-spacing: -0.02em; color: var(--text); }

/* --- lists --------------------------------------------------------------- */

.ticks { list-style: none; margin: 0 0 16px; padding: 0; }
.ticks li {
  position: relative; padding-left: 26px; margin-bottom: 11px; color: var(--muted);
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 9px; height: 9px; border: 1px solid var(--amber);
}
.ticks strong { color: #fff; }

.plain { margin: 0 0 16px; padding-left: 20px; color: var(--muted); }
.plain li { margin-bottom: 9px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.chips li {
  border: 1px solid var(--line-2); padding: 7px 13px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}

/* --- FAQ ----------------------------------------------------------------- */

.faq { border-top: 1px solid var(--line); }
.faq .q {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 8px;
}
.faq .q .idx {
  font-family: var(--mono); font-size: 13px; color: var(--steel);
  padding-top: 5px;
}
.faq .q h3 { font-size: 19px; margin-bottom: 10px; }
.faq .q .a { color: var(--muted); grid-column: 2; }
@media (max-width: 560px) {
  .faq .q { grid-template-columns: 1fr; }
  .faq .q .idx { display: none; }
  .faq .q .a { grid-column: 1; }
}

/* --- placeholders / figures ---------------------------------------------- */

figure { margin: 0; }
.ph {
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed var(--line-2); background: var(--bg-2);
  color: var(--dim); text-align: center;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 20px; line-height: 1.7;
}
figcaption { font-size: 13px; color: var(--dim); margin-top: 10px; }

.diagram { background: var(--bg-2); border: 1px solid var(--line); padding: 24px; }
.alt .diagram { background: var(--bg); }

/* --- empty testimonials -------------------------------------------------- */

.empty {
  border: 1px dashed var(--line-2);
  padding: 40px 32px;
  text-align: center;
  color: var(--muted);
}
.empty .ml { text-align: center; }

/* --- contact strip ------------------------------------------------------- */

.cta-strip { background: var(--bg-2); border-top: 1px solid var(--line); }
.cta-strip .wrap {
  padding-top: 60px; padding-bottom: 60px;
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px; align-items: center;
}
.cta-strip h2 { max-width: 18ch; }
@media (max-width: 780px) { .cta-strip .wrap { grid-template-columns: 1fr; } }

.need {
  font-family: var(--mono); font-size: 13px;
  color: var(--amber); background: rgba(255, 174, 26, 0.08);
  border: 1px dashed rgba(255, 174, 26, 0.45);
  padding: 1px 7px; white-space: nowrap;
}

/* --- footer -------------------------------------------------------------- */

.site-foot { border-top: 1px solid var(--line); background: #0B0C0F; }
.site-foot .wrap { padding-top: 60px; padding-bottom: 44px; }
.foot-cols {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px;
}
@media (max-width: 860px) { .foot-cols { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .foot-cols { grid-template-columns: 1fr; } }

.site-foot h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 16px;
}
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 9px; }
.site-foot a { color: var(--muted); font-size: 14.5px; }
.site-foot a:hover { color: #fff; }
.site-foot p { color: var(--muted); font-size: 14.5px; }

.foot-nap { color: var(--text); font-size: 15px; }
.footer-logo { height: 34px; margin-bottom: 12px; }
.foot-nap strong { display: block; color: #fff; font-size: 17px; margin-bottom: 4px; }

.foot-bar {
  border-top: 1px solid var(--line); margin-top: 44px; padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: 13px; color: var(--dim);
}

/* --- sources ------------------------------------------------------------- */

.sources { font-size: 13.5px; color: var(--dim); }
.sources ol { padding-left: 20px; margin: 0; }
.sources li { margin-bottom: 8px; word-break: break-word; }
.sources a { color: var(--muted); }

/* --- print --------------------------------------------------------------- */

@media print {
  .site-head, .cta-strip, .nav { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}

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