/* Burleigh Heads Office For Lease. One stylesheet, no build step. */

:root {
  --red:        #F50000;
  --red-dark:   #C80000;
  --black:      #0A0A0A;
  --ink:        #1A1918;
  --ink-2:      #4A4846;
  --ink-3:      #7C7874;
  --white:      #FFFFFF;
  --off-white:  #F7F6F4;
  --line:       #E4E2DE;
  --line-2:     #D1CFCB;
  --radius:     14px;
  --radius-lg:  24px;
  --pill:       100px;
  --display:    'Outfit', system-ui, -apple-system, sans-serif;
  --body:       'Instrument Sans', system-ui, -apple-system, sans-serif;
  --shadow:     0 1px 2px rgba(10,10,10,.05), 0 10px 30px rgba(10,10,10,.06);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 760px; }

h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; text-wrap: balance; margin: 0; color: var(--black); }
h1 { font-size: clamp(34px, 6vw, 62px); font-weight: 700; line-height: 1.03; }
h2 { font-size: clamp(26px, 3.8vw, 40px); font-weight: 600; line-height: 1.1; }
h3 { font-size: 20px; font-weight: 600; line-height: 1.28; }
p { margin: 0; }
a { color: var(--red-dark); }

.eyebrow {
  font-family: var(--display); font-size: 12.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); flex: none; }

.lede { font-size: 19px; line-height: 1.65; color: var(--ink-2); }
.small { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.tiny { font-size: 13.5px; line-height: 1.55; color: var(--ink-3); }

section { padding-block: clamp(52px, 8vw, 96px); }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.tint { background: var(--off-white); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { font-family: var(--display); font-weight: 700; font-size: 16.5px; color: var(--black); text-decoration: none; letter-spacing: -.01em; line-height: 1.2; }
.brand span { display: block; font-family: var(--body); font-weight: 500; font-size: 12.5px; color: var(--ink-3); letter-spacing: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--pill); padding: 13px 26px;
  font-family: var(--display); font-size: 15.5px; font-weight: 600;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--black); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--black); }
.btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.btn-sm { padding: 10px 20px; font-size: 14.5px; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--black); color: var(--white); overflow: hidden; padding-block: clamp(56px, 9vw, 104px); }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero h1 .red { color: var(--red); }
.hero .eyebrow { color: var(--white); }
.hero .eyebrow::before { background: var(--red); }
.hero-capsule {
  margin-top: 24px; max-width: 62ch; font-size: 19px; line-height: 1.6;
  color: rgba(255,255,255,.88);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.4); }
.hero .btn-ghost:hover { border-color: var(--white); }

.fast-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 44px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); overflow: hidden; }
.fact { background: #111010; padding: 20px 18px; }
.fact dt { font-family: var(--display); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); margin: 0 0 6px; }
.fact dd { margin: 0; font-family: var(--display); font-size: 17px; font-weight: 600; color: var(--white); line-height: 1.25; }

/* ---------- feature grid ---------- */
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.card.raised { box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 15.5px; color: var(--ink-2); line-height: 1.6; }

.spec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.spec-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; line-height: 1.55; }
.spec-list .tick { color: var(--red); font-weight: 700; flex: none; line-height: 1.5; }

/* ---------- overview spec table ---------- */
.overview { margin-top: 20px; background: var(--off-white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 34px); }
.overview h3 { font-size: 19px; margin-bottom: 18px; }
.ov-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ov-list > div { background: var(--white); padding: 16px 18px; }
.ov-list dt { font-family: var(--display); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 6px; }
.ov-list dd { margin: 0; font-family: var(--display); font-size: 17px; font-weight: 600; color: var(--black); line-height: 1.25; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--off-white); border: 1px solid var(--line); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 12px 16px; font-size: 14px; color: var(--ink-2); }
.gallery .wide { grid-column: 1 / -1; }
.gallery .wide img { aspect-ratio: 16 / 7; }
.plan img { aspect-ratio: auto; object-fit: contain; background: var(--white); padding: 12px; }

/* ---------- location ---------- */
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.loc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.loc .n { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--black); line-height: 1; }
.loc .l { font-size: 14.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.45; }

/* ---------- price ---------- */
.price-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3.6vw, 36px); display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
}
.price-card.feature { border: 1.5px solid var(--red); box-shadow: var(--shadow); }
.price-card .tag {
  font-family: var(--display); font-size: 11.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--white); background: var(--red);
  padding: 5px 12px; border-radius: var(--pill); margin-bottom: 12px;
}
.price-card .tag.muted { background: var(--ink-3); }
.price-card h3 { font-size: 22px; margin-bottom: 10px; }
.price-figure {
  font-family: var(--display); font-size: clamp(30px, 4.4vw, 44px); font-weight: 700;
  line-height: 1.05; color: var(--red); letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.price-qual { font-family: var(--display); font-size: 16.5px; font-weight: 600; color: var(--ink); margin-top: 6px; }
.price-note { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); margin-top: 14px; }
.price-card .btn { margin-top: 22px; }

.price-terms {
  margin-top: 20px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 34px);
}
.price-terms h3 { font-size: 19px; }
.price-terms .spec-list li { font-size: 16px; }

/* ---------- form ---------- */
.form-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-family: var(--display); font-size: 14.5px; font-weight: 600; color: var(--black); }
.field .hint { font-size: 13px; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--body); font-size: 16.5px; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line-2); border-radius: 12px;
  padding: 13px 15px; line-height: 1.45;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid rgba(245,0,0,.28); outline-offset: 1px; border-color: var(--red);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req { color: var(--red); }

/* ---------- footer ---------- */
.site-footer { background: var(--black); color: rgba(255,255,255,.7); padding-block: 48px 40px; }
.site-footer a { color: rgba(255,255,255,.9); }
.site-footer h3 { color: var(--white); font-size: 17px; margin-bottom: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.footer-bottom { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13.5px; }

/* ---------- legal page ---------- */
.legal { max-width: 720px; }
.legal h2 { font-size: 22px; margin-top: 34px; margin-bottom: 10px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.legal ul { padding-left: 20px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .fast-facts { grid-template-columns: repeat(2, 1fr); }
  .g3, .g2 { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .ov-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16.5px; }
  .gallery { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr; }
  .site-header .container { height: 60px; }
}
