/*
Theme Name: Downtown Auto AK
Theme URI: https://tiff-software-solutions.com/
Author: TIFF Software Solutions
Author URI: https://tiff-software-solutions.com/
Description: A vehicle rental theme for a used-car dealership that also rents: a fleet with per-vehicle availability, a request-based booking flow that cannot double-book, Alaska-specific content (gravel-road permissions, winter equipment, daylight), and a business profile record so the theme carries no dealer's details in its code. Mobile-first.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: Proprietary
Text Domain: daak
Tags: custom-theme, car-rental, mobile-first
*/

/* ==========================================================================
   1. TOKENS
   The navy, the type and the shadows are the dealership's, measured off the
   stylesheet its site actually serves — a sibling badge is worth nothing if the
   colour beside it is a shade out.

   The accent is this site's alone, so a customer can tell at a glance which of
   the two they are on. Warm amber, hue 26°, chosen off the rendered page rather
   than from a swatch list, and it passes 4.5:1 on white for text and 3:1 for a
   graphical mark. Deliberately not the vendor's gold: that is TIFF's colour, and
   borrowing it for the dealer's brand blurs the one line this identity rests on.
   ========================================================================== */
:root {
	--night: #103071;
	--night-2: #15418D;
	--night-3: #1A4EA8;
	--brand: #08318B;
	--brand-hover: #0B3EAF;
	--snow: #F7F9FC;
	--white: #FFFFFF;
	--sky: #8FB3FF;
	--steel: #5A6785;
	--mist: #AAB8D9;
	--line: #E4E9F4;
	--line-strong: #D3DBEC;
	--brand-wash: #E9EEFA;
	--ink: #161D2B;

	--accent: #B45309;        /* 5.02:1 on white */
	--accent-hover: #9A4507;
	--accent-wash: #FDF3E7;
	--accent-line: #F0D9BC;

	--ok: #1B5E33;
	--ok-wash: #EAF6EE;
	--danger: #B3261E;
	--danger-wash: #FDEDEC;

	--display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	--body: 'Barlow', 'Segoe UI', system-ui, sans-serif;

	--r-btn: 12px;
	--r-card: 16px;
	--r-pill: 999px;

	--sh-1: 0 1px 2px rgba(16, 48, 113, .05);
	--sh-2: 0 6px 20px rgba(16, 48, 113, .07);
	--sh-3: 0 20px 48px rgba(16, 48, 113, .13);

	--maxw: 1180px;
	--sp-section: 52px;
	--tap: 48px;
}

/* ==========================================================================
   2. BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font: 400 16px/1.6 var(--body);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 7.5vw, 54px); }
h2 { font-size: clamp(24px, 5vw, 34px); }
h3 { font-size: 20px; }
h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
p { margin: 0 0 1em; }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-hover); }

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

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

.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 99;
	background: var(--brand); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--r-btn) 0;
}
.skip-link:focus { left: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.wrap { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }

/* A grid child defaults to min-width:auto, so one wide table inside a column
   pushes the whole page sideways on a phone. Nothing here may do that: the
   table scrolls inside its own box instead. */
.cards > *, .split > *, .vgrid > *, .reasons > *, .foot-grid > *, .notecards > *, .extras-grid > *, .band .wrap > * { min-width: 0; }
.section { padding-block: var(--sp-section); }
.section-tint { background: var(--snow); }
.center { text-align: center; }
.dim { color: var(--steel); }
.microcopy { color: var(--steel); font-size: 14px; margin: 8px 0 0; }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }

/* ==========================================================================
   3. BUTTONS
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: var(--tap); padding: 12px 20px;
	border: 2px solid transparent; border-radius: var(--r-btn);
	font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
	transition: background .15s ease, border-color .15s ease, transform .05s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); color: #fff; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-hover); color: #fff; }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--brand); background: var(--brand-wash); }
.btn-light { background: #fff; color: var(--brand); }
.btn-lg { padding: 15px 26px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }
.btnrow { display: flex; gap: 12px; flex-wrap: wrap; }

.link { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link:hover { text-decoration: underline; }

/* ==========================================================================
   4. HEADER
   ========================================================================== */
.site {
	position: sticky; top: 0; z-index: 40;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(140%) blur(8px);
	border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-badge { width: 48px; height: 48px; border-radius: 11px; }
.brand-words { display: flex; flex-direction: column; line-height: 1.05; }
.brand-words b { font-family: var(--display); font-size: 21px; font-weight: 800; color: var(--brand); letter-spacing: .01em; }
.brand-words em { font-style: normal; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }

.hamb {
	width: var(--tap); height: var(--tap); display: grid; place-items: center;
	background: none; border: 1px solid var(--line); border-radius: 10px; color: var(--brand); cursor: pointer;
}
.hamb svg { width: 24px; height: 24px; }

.menu { display: none; }
.menu.is-open {
	display: block; position: absolute; left: 0; right: 0; top: 100%;
	background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--sh-2); padding: 8px 16px 18px;
}
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li a {
	display: block; padding: 13px 4px; min-height: var(--tap);
	color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line);
}
.menu li a:hover, .menu .current-menu-item > a { color: var(--brand); }
.menu .btn { margin-top: 14px; width: 100%; }

/* ==========================================================================
   5. HERO
   ========================================================================== */
.hero {
	background: linear-gradient(160deg, var(--night) 0%, var(--night-2) 55%, var(--night-3) 100%);
	color: #fff; padding: 40px 0 34px; position: relative; overflow: hidden;
}
.hero::after {
	content: ''; position: absolute; inset: auto -10% -60% 40%; height: 320px;
	background: radial-gradient(closest-side, rgba(143, 179, 255, .25), transparent);
	pointer-events: none;
}
.hero h1 { color: #fff; max-width: 21ch; }
.hero .lede { max-width: 54ch; color: #D7E2FB; font-size: 17px; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 7px; margin: 0 0 14px;
	font: 600 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--sky);
}
.eyebrow svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }

.herosearch { margin-top: 22px; }
.datesearch {
	display: grid; gap: 10px; background: #fff; padding: 14px; border-radius: var(--r-card); box-shadow: var(--sh-3);
}
.datesearch .field { display: flex; flex-direction: column; gap: 5px; }
.datesearch label { font: 600 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.datesearch input {
	min-height: var(--tap); padding: 10px 12px; border: 1px solid var(--line-strong);
	border-radius: 10px; font: 400 16px var(--body); color: var(--ink); background: #fff;
}
.datesearch.is-compact { box-shadow: var(--sh-1); border: 1px solid var(--line); }
.herosearch .microcopy { color: #C3D2F3; }

.herofacts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 22px 0 0; }
.herofacts li { display: flex; align-items: center; gap: 7px; font-weight: 600; color: #E4EBFB; font-size: 14.5px; }
.herofacts svg { width: 18px; height: 18px; color: var(--sky); }

.pagehead { background: var(--snow); border-bottom: 1px solid var(--line); padding: 30px 0; }
.pagehead h1 { margin-bottom: .2em; }
.pagehead .lede { color: var(--steel); max-width: 60ch; margin: 0; }
.pagehead .datesearch { margin-top: 18px; }

/* ==========================================================================
   6. CARDS AND THE FLEET
   ========================================================================== */
.sechead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sechead h2 { margin: 0; }

.cards { display: grid; gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sh-1); }
.vcard { display: flex; flex-direction: column; transition: box-shadow .18s ease, transform .18s ease; }
.vcard:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.vcard-shot { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--brand-wash); }
.vcard-shot img { width: 100%; height: 100%; object-fit: cover; }
.vcard-noshot { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, var(--brand-wash) 0 12px, #E1E8F7 12px 24px); }
.vcard-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.vcard-body h3 { margin: 0; font-size: 21px; }
.vcard-body h3 a { color: var(--ink); text-decoration: none; }
.vcard-body h3 a:hover { color: var(--brand); }

.specline { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0; margin: 0; color: var(--steel); font-size: 14px; }
.specline li { position: relative; }
.specline li + li::before { content: '·'; position: absolute; left: -9px; }

.vcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: auto 0 0; padding-top: 6px; }
.price { font-family: var(--display); font-size: 26px; font-weight: 800; color: var(--ink); }
.price small { font-family: var(--body); font-size: 13px; font-weight: 500; color: var(--steel); }
.price-ask { font-size: 18px; color: var(--steel); }

.tag {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 5px 10px; border-radius: var(--r-pill);
	background: var(--brand-wash); color: var(--brand);
	font: 600 12px/1 var(--body); letter-spacing: .02em;
}
.tag-gravel { background: var(--accent); color: #fff; }
.vcard-shot .tag-gravel { position: absolute; left: 12px; top: 12px; box-shadow: var(--sh-1); }

.filters { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--snow); margin-bottom: 18px; }
.filter { display: flex; flex-direction: column; gap: 5px; font: 600 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.filter select {
	min-height: var(--tap); padding: 10px 12px; border: 1px solid var(--line-strong);
	border-radius: 10px; background: #fff; font: 400 15px var(--body); color: var(--ink);
}
.resultcount { margin: 0 0 16px; color: var(--steel); }
.resultcount strong { color: var(--ink); font-size: 18px; }

.empty { text-align: center; padding: 40px 20px; border: 1px dashed var(--line-strong); border-radius: var(--r-card); background: var(--snow); }
.empty p { max-width: 52ch; margin-inline: auto; color: var(--steel); }
.taxnote { margin-top: 14px; font-size: 14px; color: var(--steel); }

/* ==========================================================================
   7. SECTIONS ON THE HOME PAGE
   ========================================================================== */
.reasons { display: grid; gap: 18px; }
.reasons article { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; }
.disc { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-wash); color: var(--brand); margin-bottom: 12px; }
.disc svg { width: 24px; height: 24px; stroke: currentColor; fill: none; }
.reasons h3 { margin-bottom: .35em; }
.reasons p { color: var(--steel); }

.split { display: grid; gap: 26px; }
.panel { background: var(--snow); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; }
.panel-quiet { background: var(--accent-wash); border-color: var(--accent-line); }
.panel h3 { margin-top: 0; }

.band { background: var(--brand); color: #fff; }
.band .wrap { display: grid; gap: 16px; padding-block: 34px; align-items: center; }
.band h2 { color: #fff; margin: 0 0 .2em; }
.band p { margin: 0; color: #D7E2FB; }

.ctastrip {
	display: grid; gap: 14px; margin-top: 32px; padding: 22px;
	background: var(--brand-wash); border-radius: var(--r-card);
}
.ctastrip p { margin: 0; font-weight: 600; }

.reviews { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.stars { color: var(--accent); letter-spacing: 2px; }

.notecards { display: grid; gap: 16px; margin: 18px 0 8px; }
.notecards article { border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 0 var(--r-card) var(--r-card) 0; padding: 18px 20px; }
.notecards h3 { margin-bottom: .3em; }
.notecards p { margin: 0; color: var(--steel); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 0 0 18px 44px; }
.steps li::before {
	counter-increment: step; content: counter(step);
	position: absolute; left: 0; top: 0; width: 30px; height: 30px;
	display: grid; place-items: center; border-radius: 50%;
	background: var(--brand); color: #fff; font: 700 15px var(--display);
}

.ticks, .crosses { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li, .crosses li { padding-left: 28px; position: relative; margin-bottom: 6px; }
.ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.crosses li::before { content: '✕'; position: absolute; left: 0; color: var(--danger); font-weight: 700; }

/* ==========================================================================
   8. TABLES
   ========================================================================== */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); }
table.roads, table.rates { width: 100%; border-collapse: collapse; background: #fff; min-width: 460px; }
table.roads th, table.roads td, table.rates th, table.rates td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.roads thead th, table.rates thead th { background: var(--snow); font: 700 12px/1.2 var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--steel); }
table.roads tbody tr:last-child th, table.roads tbody tr:last-child td,
table.rates tbody tr:last-child th, table.rates tbody tr:last-child td { border-bottom: 0; }
table.roads th[scope="row"], table.rates th[scope="row"] { font-weight: 600; }
.roadnote { display: block; font-weight: 400; font-size: 13.5px; color: var(--steel); }
.roads-words { margin-top: 14px; padding: 14px 16px; background: var(--accent-wash); border-radius: 12px; font-weight: 600; }

.verdict { display: inline-block; padding: 4px 11px; border-radius: var(--r-pill); font: 600 13px/1.4 var(--body); white-space: nowrap; }
.v-allowed { background: var(--ok-wash); color: var(--ok); }
.v-forbidden { background: var(--danger-wash); color: var(--danger); }
.v-ask { background: var(--accent-wash); color: var(--accent-hover); }
.v-conditional { background: var(--brand-wash); color: var(--brand); }

.daylight .barcell { width: 45%; min-width: 120px; }
.daylight .bar { display: block; height: 10px; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--accent), #E9A055); }

.policies { margin: 0; }
.polrow { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.polrow dt { font-family: var(--display); font-size: 18px; font-weight: 700; }
.polrow dd { margin: 0; color: var(--steel); }

/* ==========================================================================
   9. A VEHICLE
   ========================================================================== */
.vhead { background: var(--snow); border-bottom: 1px solid var(--line); padding: 22px 0 26px; }
.crumbs { font-size: 14px; color: var(--steel); margin: 0 0 8px; }
.crumbs a { text-decoration: none; }
.crumbs span { margin: 0 6px; }
.vtags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }

.vgrid { display: grid; gap: 26px; }
.vshot { margin: 0 0 14px; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); }
.vgallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.vgallery img { border-radius: 10px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; margin-bottom: 24px; }
/* The ruled lines are drawn by each cell, not by the gap: a specification with
   an odd number of entries would otherwise leave a coloured empty box. */
.specs > div { background: #fff; padding: 14px 16px; box-shadow: 0 0 0 1px var(--line); }
.specs dt { font: 600 11.5px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--steel); margin-bottom: 5px; }
.specs dd { margin: 0; font-weight: 600; }

.ratebox { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; box-shadow: var(--sh-2); display: grid; gap: 12px; }
.ratebox .price { font-size: 34px; }
.availability { margin: 0; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 14.5px; }
.availability.is-free { background: var(--ok-wash); color: var(--ok); }
.availability.is-busy { background: var(--danger-wash); color: var(--danger); }
.warn { padding: 14px 16px; border-radius: 12px; background: var(--danger-wash); color: var(--danger); font-weight: 600; }

/* ==========================================================================
   10. FORMS AND THE BOOKING BOX
   ========================================================================== */
.bookbox { background: var(--snow); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; }
.bookbox h2 { margin-top: 0; }
.grid2 { display: grid; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
.field label { font: 600 13px/1 var(--body); color: var(--ink); }
.field .opt { font-weight: 400; color: var(--steel); }
.field input, .field select, .field textarea {
	min-height: var(--tap); padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 10px;
	font: 400 16px/1.4 var(--body); color: var(--ink); background: #fff; width: 100%;
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); }
.hp { position: absolute; left: -9999px; }

.extras { border: 0; padding: 0; margin: 6px 0 18px; }
.extras legend { font: 700 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); padding: 0; margin-bottom: 10px; }
.extras-grid { display: grid; gap: 10px; }
.extra { display: flex; gap: 11px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.extra:hover { border-color: var(--line-strong); }
.extra input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.extra-body { display: grid; gap: 2px; }
.extra-body b { font-weight: 600; }
.extra-body small { color: var(--steel); font-size: 13px; }
.extra-body em { font-style: normal; font-weight: 600; color: var(--accent-hover); font-size: 14px; }
.extra:has(input:checked) { border-color: var(--brand); background: var(--brand-wash); }

.quote { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 18px; }
.quote h3 { font-size: 17px; margin-bottom: 10px; }
.quote ul { list-style: none; padding: 0; margin: 0 0 10px; }
.quote li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.quote-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-family: var(--display); font-size: 22px; font-weight: 800; }
.quote-tax { margin: 6px 0 0; font-size: 13.5px; color: var(--steel); }

.formnote { font-size: 14px; color: var(--steel); margin: 14px 0 0; max-width: 62ch; }
.notice-ok, .notice-warn { padding: 13px 16px; border-radius: 12px; margin-bottom: 16px; font-weight: 600; }
.notice-ok { background: var(--ok-wash); color: var(--ok); }
.notice-warn { background: var(--accent-wash); color: var(--accent-hover); }

.rto .field { margin-bottom: 10px; }
.rtoout { margin: 14px 0 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.rtoout > div { background: #fff; display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; }
.rtoout dt { color: var(--steel); font-size: 14.5px; }
.rtoout dd { margin: 0; font-weight: 700; font-family: var(--display); font-size: 19px; }

.mapbox { margin: 0; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); }
.mapbox iframe { display: block; }

.contactcard { background: var(--snow); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; align-self: start; }
.contactcard h2 { margin-top: 0; }
.addr { font-weight: 600; }
.contactlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.contactlist a { font-weight: 600; text-decoration: none; }

.sitesearch { display: flex; gap: 8px; }
.sitesearch input { flex: 1; min-height: var(--tap); padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 10px; font: 400 16px var(--body); }

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.site-footer { background: var(--night); color: #C7D4EE; margin-top: 0; padding: 40px 0 26px; }
.site-footer .brand-words b { color: #fff; }
.site-footer .brand-badge.on-dark { width: 56px; height: 56px; }   /* the reverse badge carries its own white field */
.foot-grid { display: grid; gap: 28px; }
.foot-grid h4 { color: #fff; margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-grid a { color: #C7D4EE; text-decoration: none; }
.foot-grid a:hover { color: #fff; text-decoration: underline; }
.foot-line { color: var(--sky); font-weight: 600; margin-top: 12px; }
.site-footer .reviews { color: #C7D4EE; }
.site-footer .dim { color: #93A6CC; }

.foot-bottom {
	display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center;
	margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14);
	font-size: 13.5px; color: #93A6CC;
}
.foot-bottom a { color: #93A6CC; }
.foot-credit { margin-left: auto; }
.tiff-credit { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.tiff-credit b { color: #fff; }

/* ==========================================================================
   12. WIDER SCREENS
   Mobile first, and meant: everything above is the phone layout, because over
   80% of this traffic is one.
   ========================================================================== */
@media (min-width: 600px) {
	.datesearch { grid-template-columns: 1fr 1fr auto; align-items: end; }
	.datesearch .btn { min-height: var(--tap); }
	.cards { grid-template-columns: repeat(2, 1fr); }
	.grid2 { grid-template-columns: 1fr 1fr; }
	.extras-grid { grid-template-columns: repeat(2, 1fr); }
	.filters { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); align-items: end; }
	.reasons { grid-template-columns: repeat(3, 1fr); }
	.notecards { grid-template-columns: repeat(2, 1fr); }
	.ctastrip { grid-template-columns: 1fr auto; align-items: center; }
	.band .wrap { grid-template-columns: 1fr auto; }
	.foot-grid { grid-template-columns: repeat(2, 1fr); }
	.specs { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
	:root { --sp-section: 76px; }
	.hamb { display: none; }
	.menu { display: flex; align-items: center; gap: 22px; }
	.menu ul { display: flex; gap: 22px; }
	.menu li a { border: 0; padding: 6px 0; }
	.menu .btn { margin: 0; width: auto; }
	.hero { padding: 74px 0 60px; }
	.hero .lede { font-size: 18px; }
	.herosearch { max-width: 760px; }
	.cards { grid-template-columns: repeat(4, 1fr); }
	.archive .cards, .post-type-archive .cards { grid-template-columns: repeat(3, 1fr); }
	.split { grid-template-columns: 1.35fr 1fr; align-items: start; }
	.vgrid { grid-template-columns: 1.6fr 1fr; align-items: start; }
	.vaside { position: sticky; top: 90px; }
	.foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
	.pagehead { padding: 46px 0; }
	.bookbox { padding: 30px; }
}

@media (min-width: 1100px) {
	.cards { grid-template-columns: repeat(4, 1fr); }
}

/* Print: a rate sheet or a policy page has to survive a printer at the counter. */
@media print {
	.site, .site-footer, .band, .bookbox, .ctastrip, .hamb { display: none !important; }
	body { color: #000; font-size: 12pt; }
	.wrap { width: 100%; }
	a { text-decoration: underline; color: #000; }
}

/* A card on a phone says class, seats and drive; the transmission joins them
   when there is room for it on one line. */
.hide-narrow { display: none; }
@media (min-width: 420px) { .hide-narrow { display: block; } }
