/* Shared styles for /rentals, generated by rentals-src/build.py */
:root {
  --midnight: #0B0D1F;
  --navy: #0F1126;
  --panel: #16193A;
  --line: rgba(233, 231, 220, 0.11);
  --line-soft: rgba(233, 231, 220, 0.055);
  --ivory: #F4F1E8;
  --ivory-dim: #C9C9DA;
  --muted: #9298B8;
  --gold: #D8B877;
  --gold-soft: #E7CE9A;
  --gold-deep: rgba(216, 184, 119, 0.28);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --maxw: 1180px;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--navy); color: var(--ivory);
  font-family: var(--sans); font-weight: 300; font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
[hidden] { display: none !important; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* masthead */
.masthead { background: var(--midnight); border-bottom: 1px solid var(--line); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; padding-bottom: 20px; }
.lockup { height: 40px; width: auto; display: block; }
.masthead nav { display: flex; align-items: center; gap: 22px; }
.plain { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivory-dim); text-decoration: none; }
.plain:hover { color: var(--gold); }
.cta {
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--midnight); background: var(--gold); border: 1px solid var(--gold);
  padding: 10px 18px; text-decoration: none; white-space: nowrap; transition: background 0.18s;
}
.cta:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.ghost {
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ivory); border: 1px solid var(--line); padding: 10px 18px; text-decoration: none; transition: border-color 0.18s;
}
.ghost:hover { border-color: var(--gold); }
.cta:focus-visible, .ghost:focus-visible, .card:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }

/* crumbs + title */
.crumbs { padding-top: 22px; font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.crumbs a { color: var(--ivory-dim); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs span[aria-hidden] { margin: 0 6px; opacity: 0.5; }
.titleblock { padding: 44px 0 0; }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin: 0; }
h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.3rem, 5.5vw, 3.9rem); line-height: 1.06; letter-spacing: -0.01em; margin: 16px 0 0; text-wrap: balance; }
.standfirst { max-width: 68ch; margin: 22px 0 0; color: var(--ivory-dim); font-size: 16.5px; }
.brands-line { margin: 18px 0 0; font-size: 13.5px; color: var(--ivory-dim); max-width: 90ch; }
.brands-line span { font-size: 10.5px; letter-spacing: 0.17em; text-transform: uppercase; color: var(--muted); margin-right: 10px; }

/* search */
.search-wrap { margin-top: 32px; }
.search {
  width: 100%; background: var(--panel); border: 1px solid var(--line); color: var(--ivory);
  font-family: var(--sans); font-size: 15px; font-weight: 300; padding: 13px 16px;
}
.search::placeholder { color: var(--muted); }
.search:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-deep); }
.hits { margin-top: 26px; }
.empty { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: var(--muted); font-family: var(--serif); font-size: 1.4rem; }

/* sections */
section { padding-top: 64px; }
.sechead { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.sechead h2 { font-family: var(--serif); font-weight: 400; font-size: 1.85rem; margin: 0; }
.sechead .hint { font-size: 12.5px; color: var(--muted); margin: 0; }
.sechead .hint a { color: var(--gold); text-decoration: none; }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.card {
  display: flex; flex-direction: column; text-decoration: none; background: var(--panel);
  border: 1px solid var(--line-soft); transition: border-color 0.18s, transform 0.18s;
}
.card:hover { border-color: var(--gold-deep); transform: translateY(-2px); }
.media { aspect-ratio: 1 / 1; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; display: block; }
.ph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(circle at 30% 20%, #20244d, var(--midnight) 70%); padding: 18px;
}
.ph span { font-family: var(--serif); font-size: 1.6rem; color: var(--gold-soft); line-height: 1.15; }
.cbody { padding: 14px 16px 18px; }
.cbody .brand { margin: 0; font-size: 10.5px; letter-spacing: 0.17em; text-transform: uppercase; color: var(--gold); }
.cbody h3 { margin: 5px 0 0; font-family: var(--serif); font-weight: 400; font-size: 1.32rem; line-height: 1.2; }
.cbody .desc { margin: 6px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.card.cat .media { aspect-ratio: 4 / 3; }
.tag { display: block; margin-top: 10px; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }

/* item page */
.item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; padding-top: 34px; align-items: start; }
.item-media { background: #fff; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-soft); }
.item-media img { width: 100%; height: 100%; object-fit: contain; padding: 28px; }
.ph.big span { font-size: 2.6rem; }
.item-body h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.item-body > p { color: var(--ivory-dim); max-width: 62ch; }
.specs { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.specs li { border: 1px solid var(--gold-deep); color: var(--gold-soft); font-size: 13px; padding: 6px 12px; }
.actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.facts { margin: 30px 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 120px 1fr; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.facts dt { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts dd { margin: 0; }
.facts a { color: var(--gold); text-decoration: none; }

/* related, seo, faq */
.pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { display: block; border: 1px solid var(--line); padding: 8px 14px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ivory-dim); text-decoration: none; }
.pills a:hover { border-color: var(--gold); color: var(--ivory); }
.seo .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; color: var(--ivory-dim); }
.seo .cols p { margin: 0; }
.areas { color: var(--muted); font-size: 13.5px; margin-top: 22px; }
.areas strong { color: var(--ivory-dim); font-weight: 500; }
.noterow { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 6px 32px; padding: 17px 0; border-bottom: 1px solid var(--line-soft); }
.noterow dt { font-family: var(--serif); font-size: 1.2rem; color: var(--gold-soft); }
.noterow dd { margin: 0; color: var(--ivory-dim); max-width: 78ch; }
dl { margin: 0; }

.closing { margin-top: 70px; padding: 44px 40px; text-align: center; border: 1px solid var(--gold-deep); background: linear-gradient(120deg, rgba(216, 184, 119, 0.06), rgba(216, 184, 119, 0.015)); }
.closing h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0; text-wrap: balance; }
.closing p { margin: 14px auto 0; max-width: 58ch; color: var(--ivory-dim); }
.closing .actions { justify-content: center; }

footer { margin-top: 80px; border-top: 1px solid var(--line); background: var(--midnight); }
.fcats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding: 40px 0 10px; }
.fcats h3 { font-size: 10.5px; font-weight: 500; letter-spacing: 0.17em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.fcats ul { list-style: none; padding: 0; margin: 0; }
.fcats li { margin: 4px 0; }
.fcats a, .fline a { color: var(--ivory-dim); text-decoration: none; font-size: 13px; }
.fcats a:hover, .fline a:hover { color: var(--gold); }
.fline { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; padding: 24px 0 40px; border-top: 1px solid var(--line-soft); margin-top: 24px; }
.fline p { margin: 0; font-size: 12.5px; color: var(--muted); }
.fmark { font-family: var(--serif); font-size: 1.05rem; color: var(--ivory-dim); }

@media (max-width: 900px) {
  .item { grid-template-columns: 1fr; gap: 28px; }
  .seo .cols { grid-template-columns: 1fr; }
  .fcats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .noterow { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .masthead nav { gap: 14px; }
  .masthead .plain:not(:first-child) { display: none; }
  .lockup { height: 32px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cbody { padding: 10px 11px 14px; }
  .cbody h3 { font-size: 1.12rem; }
  .cbody .desc { display: none; }
  .card.cat .desc { display: block; font-size: 12px; }
  .media img { padding: 8px; }
  .closing { padding: 34px 20px; }
  .fcats { grid-template-columns: 1fr 1fr; }
  .sechead { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .card:hover { transform: none; } }
