:root {
  --terracotta: #c2562f;
  --blue: #1f3f8f;
  --saffron: #e3a62c;
  --olive: #6f7d3c;
  --night: #1b2440;
  --ink: #1d2330;
  --muted: #5b6272;
  --sand: #f7f0e4;
  --paper: #fffdf9;
  --line: #e7dccb;
  --width: 1240px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --script: "Caveat", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--sans); }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: var(--width); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }

/* Buttons */
.btn, button[type=submit] {
  display: inline-block; padding: 13px 28px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--terracotta); color: #fff; font: 600 15px var(--sans);
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: background .2s, transform .2s;
}
.btn:hover, button[type=submit]:hover { background: var(--blue); transform: translateY(-1px); }
.btn-light { background: var(--saffron); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }

/* Header */
.topbar { background: var(--night); color: #fff; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; }
.topbar :is(a, .soon) { text-decoration: none; margin-left: 18px; opacity: .85; }
.topbar .lang :is(a, .soon) { margin: 0 14px 0 0; font-weight: 600; letter-spacing: .06em; }
.topbar :is(a, .soon):hover, .topbar :is(a, .soon)[aria-current] { opacity: 1; color: var(--saffron); }

.brandbar { display: flex; justify-content: center; align-items: center; padding-top: 22px; padding-bottom: 18px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 500 30px var(--serif); }
.brand svg { width: 52px; height: 52px; }
.brand b { color: var(--terracotta); font-weight: 700; }
.menu-toggle { display: none; }

.mainnav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.mainnav > ul { display: flex; justify-content: center; flex-wrap: wrap; }
.mainnav li { position: relative; }
.mainnav :is(a, .soon) {
  display: block; padding: 15px 18px; text-decoration: none;
  font-size: 14px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
}
.mainnav :is(a, .soon):hover { color: var(--terracotta); }
.has-sub > :is(a, .soon)::after { content: "▾"; margin-left: 6px; font-size: 11px; opacity: .6; }
.mainnav li ul {
  position: absolute; left: 0; top: 100%; z-index: 20; min-width: 240px; padding: 8px 0;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--terracotta);
  box-shadow: 0 14px 30px rgba(29, 35, 48, .12);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.mainnav li:hover > ul, .mainnav li:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
.mainnav li ul :is(a, .soon) { padding: 10px 18px; font-weight: 500; letter-spacing: .02em; text-transform: none; font-size: 15px; }

/* Hero */
.hero { position: relative; background: linear-gradient(180deg, #f3c98b 0%, #e89a5b 55%, #c2562f 100%); color: #fff; overflow: hidden; }
.hero-art { position: absolute; inset: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 36, 64, .15), rgba(27, 36, 64, .42)); }
.hero-inner { position: relative; z-index: 1; padding-top: 170px; padding-bottom: 180px; text-align: center; }
.hero h1 { font-size: clamp(26px, 4.2vw, 50px); font-weight: 700; margin: 0; text-shadow: 0 2px 18px rgba(80, 30, 10, .45); }
.hero h1 i { font-style: normal; font-weight: 500; color: var(--sand); opacity: .75; margin: 0 .15em; }
.hero-sub { margin: 14px 0 0; font: 600 clamp(22px, 2.6vw, 30px) var(--script); }

/* Newsletter */
.signup { background: var(--blue); color: #fff; }
.signup-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: center; padding-top: 34px; padding-bottom: 34px; }
.signup h2 { font-size: 30px; margin-bottom: .2em; }
.signup p { margin: 0; opacity: .92; font-size: 16px; }
.signup form { display: flex; gap: 10px; flex-wrap: wrap; }
.signup input { flex: 1 1 170px; min-width: 0; padding: 13px 16px; border: 0; border-radius: 999px; font: 16px var(--sans); }
.signup button { background: var(--saffron); color: var(--ink); }

/* Section headings */
.block { padding-top: 64px; padding-bottom: 20px; }
.script-title { text-align: center; font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 34px; }
.script-title span { display: block; font: 600 .95em var(--script); color: var(--terracotta); transform: rotate(-3deg); margin-bottom: -4px; }
.script-title.left { text-align: left; margin-bottom: 18px; }
.script-title.left span { transform-origin: left; }
.caps-title { text-align: center; font: 600 22px var(--sans); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 34px; }
.caps-title::after { content: ""; display: block; width: 60px; height: 3px; background: var(--saffron); margin: 14px auto 0; }

/* Colour themes for art */
.t-terracotta { background: linear-gradient(180deg, #f1c08a, #c2562f); color: #6f2812; }
.t-blue { background: linear-gradient(180deg, #a9c4ee, #1f3f8f); color: #12265c; }
.t-olive { background: linear-gradient(180deg, #dfe3b4, #6f7d3c); color: #3b4520; }
.t-saffron { background: linear-gradient(180deg, #fbe7b0, #e3a62c); color: #8a5a0c; }
.t-night { background: linear-gradient(180deg, #4a4f86, #1b2440); color: #0d1226; }

/* Category tiles */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.tile { position: relative; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile::after { content: ""; position: absolute; inset: 0; background: rgba(20, 24, 40, .38); transition: background .3s; }
.tile h3 { position: relative; z-index: 1; margin: 0; padding: 0 8px; color: #fff; text-align: center; font: 600 clamp(15px, 1.5vw, 20px) var(--sans); letter-spacing: .18em; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.tile:hover img { transform: scale(1.08); }
.tile:hover::after { background: rgba(20, 24, 40, .2); }

/* Post cards */
.cards { display: grid; gap: 34px 28px; margin-bottom: 36px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.thumb { display: block; aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden; margin-bottom: 16px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .thumb img { transform: scale(1.06); }
.cat { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta); }
.card h3 { font-size: 21px; margin-bottom: .4em; }
.cards-4 .card h3 { font-size: 18px; text-align: center; }
.card h3 :is(a, .soon) { text-decoration: none; }
.card h3 :is(a, .soon):hover { color: var(--terracotta); }
.card p:last-child { margin: 0; color: var(--muted); font-size: 15.5px; }

/* About */
.about { background: var(--sand); margin-top: 44px; }
.about-inner { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.about-photo { aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 8px solid #fff; box-shadow: 0 10px 30px rgba(29, 35, 48, .12); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about p { max-width: 60ch; }

/* Basics strip */
.strip { border-bottom: 1px solid var(--line); padding: 30px 0; text-align: center; }
.strip h3 { font: 600 13px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 38px; }
.strip :is(a, .soon) { font: 500 21px var(--serif); text-decoration: none; color: var(--muted); }
.strip :is(a, .soon):hover { color: var(--terracotta); }

/* Lead magnet */
.magnet { background: var(--night); color: #fff; }
.magnet-inner { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.magnet-cover { position: relative; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; transform: rotate(-4deg); background: linear-gradient(180deg, #f3c98b, #c2562f); color: #7a2d14; box-shadow: 0 20px 40px rgba(0, 0, 0, .4); }
.magnet-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.magnet-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 36, 64, .6), rgba(27, 36, 64, 0) 60%); }
.magnet-cover span { position: absolute; z-index: 1; left: 22px; top: 26px; color: #fff; font: 700 26px/1.15 var(--serif); }
.magnet h2 { font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; letter-spacing: .04em; }
.kicker { font: 600 28px var(--script); color: var(--saffron); margin-bottom: .4em; }
.ticks { margin-bottom: 26px; }
.ticks li { padding-left: 30px; position: relative; margin-bottom: 6px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--saffron); font-weight: 700; }

/* Rental call to action */
.cta-band { background: var(--sand); text-align: center; padding: 54px 0; margin-top: 30px; }
.cta-band h3 { font-size: 30px; }
.cta-band p { color: var(--muted); }

/* Topics */
.topics { background: var(--terracotta); color: #fff; padding: 40px 0; text-align: center; }
.topics h3 { font-size: 26px; margin-bottom: 18px; }
.topics ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.topics :is(a, .soon) { display: block; padding: 8px 18px; border: 1.5px solid rgba(255, 255, 255, .7); border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.topics :is(a, .soon):hover { background: #fff; color: var(--terracotta); }

/* Footer */
.site-footer { background: var(--night); color: #fff; padding: 52px 0 22px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.site-footer h4 { font-size: 24px; }
.site-footer p { opacity: .85; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer nav :is(a, .soon) { text-decoration: none; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.site-footer nav :is(a, .soon):hover { opacity: 1; color: var(--saffron); }
.copy { text-align: center; font-size: 13px; opacity: .6; margin: 36px 0 0; }

/* Tablet */
@media (max-width: 980px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .signup-inner, .about-inner, .magnet-inner { grid-template-columns: 1fr; gap: 28px; }
  .about-photo { width: 240px; margin: 0 auto; }
  .magnet-cover { width: 220px; margin: 0 auto; }
  .about-inner, .magnet-inner { text-align: center; }
  .script-title.left { text-align: center; }
  .about p { margin-left: auto; margin-right: auto; }
  .ticks { display: inline-block; text-align: left; }
}

/* Phone */
@media (max-width: 760px) {
  .brandbar { justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
  .brand { font-size: 22px; }
  .brand svg { width: 40px; height: 40px; }
  .menu-toggle { display: block; padding: 9px 16px; border: 1.5px solid var(--ink); border-radius: 999px; background: none; font: 600 13px var(--sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
  .mainnav { display: none; }
  .mainnav.open { display: block; }
  .mainnav > ul { display: block; padding: 0; }
  .mainnav :is(a, .soon) { padding: 13px 20px; border-bottom: 1px solid var(--line); }
  .mainnav li ul { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0; background: var(--sand); }
  .mainnav li ul :is(a, .soon) { padding-left: 36px; }
  .hero-inner { padding-top: 70px; padding-bottom: 80px; }
  .hero h1 { line-height: 1.35; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tile { aspect-ratio: 1; }
  .tile:last-child { grid-column: span 2; aspect-ratio: 2 / 1; }
  .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .block { padding-top: 46px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .site-footer nav { justify-content: center; }
}

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

/* Links to pages that are not written yet render as <span class="soon"> (see src/components/Link.astro) */
.soon { cursor: default; }
.btn.soon { opacity: .55; }
.btn.soon:hover { background: var(--terracotta); transform: none; }
.form-note { flex-basis: 100%; margin: 4px 0 0; font-size: 14px; }
.notfound { text-align: center; padding: 90px 20px 110px; }
.notfound h1 { font-size: clamp(30px, 4vw, 46px); }
.credits { max-width: 860px; margin: 0 auto; padding: 60px 20px 80px; }
.credits h1 { font-size: clamp(30px, 4vw, 44px); }
.credits li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.credits a { color: var(--terracotta); }

/* Articles */
.article { max-width: 820px; margin: 0 auto; padding: 46px 20px 70px; }
.article .cat { margin-bottom: 10px; }
.article h1 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: .35em; }
.article .lede { font-size: 20px; color: var(--muted); }
.article .meta { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.article h2 { font-size: clamp(24px, 3vw, 31px); margin-top: 1.9em; }
.article h3 { font-size: 21px; margin-top: 1.5em; }
.article a { color: var(--terracotta); text-underline-offset: 3px; }
.article a:hover { color: var(--blue); }
.article ul, .article ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.article ul { list-style: disc; }
.article li { margin-bottom: .45em; }
.article li::marker { color: var(--terracotta); }
.fig { margin: 26px 0 28px; }
.fig img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }
.fig figcaption { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.fig .credit { display: block; font-size: 12.5px; opacity: .85; }
.fig .credit a { color: inherit; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; }
.article table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; }
.article th, .article td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.article thead th { background: var(--sand); font: 600 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.keybox { background: var(--sand); border-left: 4px solid var(--saffron); border-radius: 0 6px 6px 0; padding: 20px 24px 8px; margin: 26px 0; }
.keybox h2 { margin-top: 0; font-size: 22px; }
.linklist { list-style: none !important; padding: 0 !important; }
.linklist li { padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; }
.faq h3 { margin-top: 1.3em; }
.more { padding-top: 10px; padding-bottom: 50px; }
.more .card h3 { font-size: 19px; }
.card-title { font-size: 21px; margin-bottom: .4em; }
.card-title a { text-decoration: none; }
.card-title a:hover { color: var(--terracotta); }
.article ol { list-style: decimal; }
.article ol li::marker { font-weight: 600; }

/* Provider reviews */
.review .cat a { color: inherit; }
.verdict { background: var(--sand); border-left: 4px solid var(--terracotta); border-radius: 0 6px 6px 0; padding: 20px 24px 14px; margin: 24px 0 30px; }
.verdict-label { font: 700 22px var(--serif); margin-bottom: .3em; }
.verdict dl { margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.verdict dt { font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.verdict dd { margin: 2px 0 0; }
.revbox { border: 1px solid var(--line); border-radius: 6px; padding: 4px 20px 10px; margin: 0 0 18px; }
.revbox h3 { margin-top: .8em; }
.small { font-size: 14.5px; color: var(--muted); }
.article tbody th { font-weight: 600; white-space: nowrap; width: 30%; }
.pill-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pill-list a { display: block; padding: 8px 18px; border: 1.5px solid var(--terracotta); border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--terracotta); }
.pill-list a:hover { background: var(--terracotta); color: #fff; }
@media (max-width: 600px) { .verdict dl { grid-template-columns: 1fr; } }

/* Rental hub */
.rent-hub h1 { font-size: clamp(30px, 4.4vw, 46px); }
.rent-hub .lede { font-size: 20px; color: var(--muted); max-width: 70ch; }
.rent-hub a { color: var(--terracotta); text-underline-offset: 3px; }
.rent-hub .cmp { min-width: 880px; font-size: 14.5px; }
.rent-hub .cmp th, .rent-hub .cmp td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.rent-hub .cmp thead th { background: var(--sand); font: 600 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.rent-hub .where { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); }
.rent-hub .keybox { max-width: 820px; }
.rent-hub .card.plain { border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px; }
.rent-hub .card.plain h3 { margin-top: 6px; }
.vtag { display: inline-block; padding: 2px 10px; border-radius: 999px; font: 600 12px var(--sans); letter-spacing: .04em; border: 1px solid currentColor; }
.v-good { color: #2f6b2f; } .v-ok { color: #8a5a0c; } .v-thin { color: #5b6272; }
.v-caution { color: #a32a1d; } .v-none { color: #5b6272; border-style: dashed; } .v-plat { color: var(--blue); }
.rent-hub .keybox ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.rent-hub .keybox li::marker { color: var(--terracotta); }
