/* Nation Air Con — the editorial site. /quote/ intentionally keeps site.css. */
:root {
  --paper: #fffefa;
  --paper-deep: #f4f0e6;
  --ink: #292821;
  --muted: #6b675d;
  --navy: #18374d;
  --link: #235b7d;
  --brick: #a43a30;
  --brick-dark: #7e2922;
  --rule: #d9d3c5;
  --note: #f7f0d3;
  --content: 760px;
  --wide: 1040px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font: 18px/1.72 Georgia, "Times New Roman", serif;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.13em;
}

a:hover { color: var(--brick); }

:focus-visible {
  outline: 3px solid #df9b33;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  padding: 8px 12px;
  color: #fff;
  background: var(--navy);
  font: 700 0.85rem/1.2 Arial, sans-serif;
}

.skip-link:focus { transform: none; }

.masthead {
  border-top: 5px solid var(--brick);
  border-bottom: 1px solid var(--rule);
  background: rgba(255, 254, 250, 0.96);
}

.masthead-inner {
  width: min(100%, var(--wide));
  margin: 0 auto;
  padding: 20px 24px 17px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px 30px;
}

.brand-lockup { min-width: 0; }

.brand {
  display: inline-block;
  color: var(--navy);
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand span { color: var(--brick); }

.brand-note {
  margin: 7px 0 0;
  color: var(--muted);
  font: 0.72rem/1.25 "Courier New", monospace;
  letter-spacing: 0.03em;
}

.mast-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px 18px;
  font: 700 0.78rem/1.2 Arial, sans-serif;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.mast-nav a {
  color: var(--navy);
  text-decoration: none;
}

.mast-nav a:hover,
.mast-nav a[aria-current="page"] { color: var(--brick); }

.mast-nav .nav-cta {
  padding: 8px 10px 7px;
  border: 1px solid var(--brick);
  color: var(--brick);
}

.wrap {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding-right: 24px;
  padding-left: 24px;
}

.home-wrap { width: min(100%, var(--wide)); }

.content {
  min-width: 0;
  padding-top: 46px;
  padding-bottom: 52px;
}

.content h1,
.content h2,
.content h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  text-wrap: balance;
}

.content h1 {
  max-width: 21ch;
  margin: 0 0 15px;
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1.07;
  letter-spacing: -0.045em;
}

.content h2 {
  margin: 2.35em 0 0.55em;
  font-size: clamp(1.38rem, 4vw, 1.75rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.content h3 {
  margin: 1.65em 0 0.45em;
  font-size: 1.13rem;
  line-height: 1.3;
}

.content p { margin: 0 0 1.05em; }

.content ul,
.content ol {
  margin: 0 0 1.15em;
  padding-left: 1.35em;
}

.content li { margin: 0.35em 0; }

.content li::marker { color: var(--brick); font-weight: 700; }

.kicker {
  margin: 0 0 13px;
  color: var(--brick);
  font: 700 0.72rem/1.3 "Courier New", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead,
.article-intro {
  color: #48463f;
  font-size: clamp(1.08rem, 2.4vw, 1.22rem);
  line-height: 1.6;
}

.home-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(300px, 0.97fr);
  align-items: center;
  gap: 38px;
  padding: 6px 0 18px;
}

.home-intro .hero { min-width: 0; }

.home-intro h1 { max-width: 18ch; }

.hero-photo { margin: 0; }

.hero-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid #bdb6a8;
  box-shadow: 7px 8px 0 var(--paper-deep);
}

.hero-photo figcaption,
.article-img figcaption {
  margin-top: 8px;
  color: var(--muted);
  font: italic 0.78rem/1.45 Georgia, serif;
}

.byline {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 17px 0 26px;
  color: var(--muted);
  font: 0.79rem/1.45 Arial, sans-serif;
}

.byline img {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: cover;
  border: 1px solid var(--rule);
  border-radius: 50%;
}

.byline strong { color: var(--ink); }

.article-meta {
  margin: -3px 0 25px;
  color: var(--muted);
  font: 0.76rem/1.5 "Courier New", monospace;
}

.article-img {
  margin: 28px -34px 32px;
}

.article-img img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border: 1px solid #c7c0b4;
}

.article-img figcaption { padding: 0 10px; }

.jump-links {
  margin: 28px 0 34px;
  padding: 15px 0 14px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font: 0.84rem/1.55 Arial, sans-serif;
}

.jump-links strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.jump-links a { margin-right: 14px; }

.callout,
.tipbox {
  margin: 26px 0;
  padding: 15px 18px 14px;
  border-left: 4px solid #b58a20;
  background: var(--note);
  font-size: 0.96rem;
}

.tipbox {
  border-color: var(--navy);
  background: var(--paper-deep);
}

.callout strong,
.tipbox strong { color: var(--navy); }

.pullquote {
  max-width: 30em;
  margin: 34px auto;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--brick);
  color: var(--navy);
  font-size: clamp(1.2rem, 3.4vw, 1.48rem);
  font-style: italic;
  line-height: 1.45;
}

.table-scroll {
  max-width: 100%;
  margin: 22px 0 26px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table.simple {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font: 0.87rem/1.45 Arial, sans-serif;
}

table.simple th,
table.simple td {
  padding: 11px 12px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

table.simple th {
  color: var(--navy);
  background: var(--paper-deep);
  font-weight: 800;
}

.cta-box,
.cta-card-final {
  margin: 34px 0;
  padding: 21px 22px 20px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-deep);
  text-align: center;
}

.cta-card-final {
  border-top: 3px double #c19d45;
  border-bottom: 3px double #c19d45;
  background: #fbf3d8;
}

.cta-box .cta-lead,
.cta-card-final .cta-lead {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 1rem;
  text-align: left;
}

.cta-btn {
  display: inline-block;
  padding: 13px 19px 12px;
  border: 1px solid var(--brick-dark);
  box-shadow: 3px 3px 0 #d6b7a7;
  color: #fff !important;
  background: var(--brick);
  font: 800 0.94rem/1.2 Arial, sans-serif;
  text-align: center;
  text-decoration: none;
}

.cta-btn:hover {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 #d6b7a7;
  background: var(--brick-dark);
}

.cta-fine {
  margin: 11px 0 0 !important;
  color: var(--muted);
  font: italic 0.74rem/1.45 Arial, sans-serif;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  border-bottom: 2px solid var(--navy);
}

.section-heading h2 { margin: 0 0 8px; }

.section-heading span {
  color: var(--muted);
  font: 0.7rem/1.2 "Courier New", monospace;
}

.card-grid {
  display: block;
  margin: 0 0 44px;
}

.card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
}

.card img {
  width: 220px;
  height: 142px;
  object-fit: cover;
  border: 1px solid #c8c1b5;
  filter: saturate(0.88) contrast(0.98);
}

.card-body { min-width: 0; }

.card h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1.25;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.card .read-more {
  display: block;
  margin-top: 8px;
  color: var(--brick);
  font: 700 0.7rem/1.2 "Courier New", monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card:hover h3 { color: var(--brick); }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 20px 0 45px;
  padding: 19px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.trust-strip div { min-width: 0; }

.trust-strip strong {
  display: block;
  color: var(--navy);
  font: 800 0.81rem/1.3 Arial, sans-serif;
}

.trust-strip span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.source-note {
  margin: 34px 0 6px;
  padding-top: 15px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font: 0.78rem/1.55 Arial, sans-serif;
}

.source-note strong { color: var(--ink); }

.legal-page {
  overflow-wrap: anywhere;
  word-break: normal;
}

.legal-page h1 { max-width: none; font-size: clamp(1.9rem, 6vw, 2.65rem); }

.legal-page h2 { margin-top: 1.9em; }

.legal-date {
  margin-bottom: 30px;
  color: var(--muted);
  font: 0.76rem/1.4 "Courier New", monospace;
}

.contact-details {
  margin: 24px 0 30px;
  padding: 17px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.contact-details p:last-child { margin-bottom: 0; }

.site-footer {
  margin-top: 32px;
  border-top: 1px solid var(--rule);
  background: var(--paper-deep);
}

.footer-inner {
  width: min(100%, var(--wide));
  margin: 0 auto;
  padding: 30px 24px 38px;
  color: var(--muted);
  font: 0.75rem/1.6 Arial, sans-serif;
}

.footer-brand {
  margin: 0 0 10px;
  color: var(--navy);
  font: 800 1rem/1.2 Georgia, serif;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  margin-bottom: 16px;
}

.footer-links a { color: var(--navy); }

.footer-inner p { max-width: 88ch; margin: 0 0 8px; }

@media (max-width: 760px) {
  .masthead-inner {
    align-items: center;
    padding: 16px 18px 14px;
  }

  .brand-note { display: none; }

  .mast-nav { gap: 7px 12px; font-size: 0.68rem; }

  .mast-nav .nav-cta { padding: 7px 8px 6px; }

  .wrap { padding-right: 20px; padding-left: 20px; }

  .content { padding-top: 32px; padding-bottom: 38px; }

  .home-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 23px;
  }

  .home-intro .hero-photo { grid-row: 2; }

  .article-img { margin-right: 0; margin-left: 0; }

  .article-img figcaption { padding: 0; }

  .trust-strip { grid-template-columns: minmax(0, 1fr); gap: 13px; }
}

@media (max-width: 540px) {
  body { font-size: 17px; }

  .masthead-inner {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 13px;
  }

  .mast-nav { justify-content: flex-start; }

  .brand { font-size: 1.58rem; }

  .content h1 { font-size: clamp(2rem, 10.5vw, 2.55rem); }

  .card {
    grid-template-columns: 108px minmax(0, 1fr);
    align-items: start;
    gap: 13px;
    padding: 16px 0;
  }

  .card img { width: 108px; height: 92px; }

  .card h3 { font-size: 1rem; }

  .card p { font-size: 0.81rem; line-height: 1.42; }

  .section-heading { display: block; padding-bottom: 8px; }

  .section-heading h2 { margin-bottom: 3px; }

  .cta-box,
  .cta-card-final { padding: 18px 15px 17px; }

  .cta-btn { display: block; width: 100%; }

  .jump-links a { display: inline-block; margin: 3px 12px 3px 0; }

  .footer-inner { padding-right: 20px; padding-left: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
