/* ============================================================
   PENINSULA VISUALS — Design System
   Drone photography & videography, Mornington Peninsula VIC
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Color */
  --bg: #0A0E13;
  --bg-panel: #10161D;
  --bg-panel-2: #161D26;
  --bg-panel-3: #1B232D;
  --text: #EDEFF2;
  --text-muted: #8A94A2;
  --text-dim: #5A6472;
  --accent-gold: #D4A24E;
  --accent-gold-dim: #8C7038;
  --accent-teal: #4C868C;
  --accent-teal-dim: #2C4C50;
  --line: rgba(237, 239, 242, 0.10);
  --line-strong: rgba(237, 239, 242, 0.18);

  /* Type */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --max: 1240px;
  --pad: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

::selection { background: var(--accent-gold); color: var(--bg); }

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------------- HUD NAV ---------------- */

.hud-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 19, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.hud-bar__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.brand__logo {
  height: 70px;
  width: auto;
  display: block;
}

.brand__loc {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: none;
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
}

@media (min-width: 720px) {
  .brand__loc { display: inline; }
}

@media (max-width: 480px) {
  .brand__logo { height: 54px; }
}

@media (max-width: 480px) {
  .footer-brand__logo { height: 90px; }
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__list {
  display: none;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (min-width: 860px) {
  .nav__list { display: flex; }
}

.nav__list a {
  padding: 8px 14px;
  color: var(--text-muted);
  border-radius: 2px;
  transition: color 0.2s ease;
  position: relative;
}

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

.nav__list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--accent-gold);
}

.nav__cta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 16px;
  border: 1px solid var(--accent-gold-dim);
  color: var(--accent-gold);
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav__cta:hover {
  background: var(--accent-gold);
  color: var(--bg);
}

.nav__toggle {
  display: flex;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 9px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
}

@media (min-width: 860px) {
  .nav__toggle { display: none; }
}

.nav__mobile {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav__mobile.is-open { display: flex; }

.nav__mobile a {
  padding: 16px var(--pad);
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
}

.nav__mobile a[aria-current="page"] { color: var(--accent-gold); }

@media (min-width: 860px) {
  .nav__mobile { display: none !important; }
}

/* ---------------- HERO ---------------- */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero__sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(212,162,78,0.14), transparent 60%),
    linear-gradient(180deg, #0A0E13 0%, #0D131A 45%, #101A20 75%, #14232A 100%);
  z-index: 0;
}

.hero__horizon {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  opacity: 0.9;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 140px var(--pad) 100px;
  width: 100%;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212,162,78,0.2);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  max-width: 15ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-gold);
}

.hero__sub {
  margin-top: 28px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 46ch;
  line-height: 1.65;
}

.hero__ctas {
  margin-top: 44px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* HUD readout strip on hero */
.hud-readout {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  background: rgba(10,14,19,0.6);
}

.hud-readout__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hud-readout__item { display: flex; gap: 8px; align-items: center; }
.hud-readout__item b { color: var(--text-muted); font-weight: 500; }

.hud-rec {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #C9564B;
}

.hud-rec__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #C9564B;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---------------- BUTTONS ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--accent-gold);
  color: var(--bg);
}
.btn--primary:hover { background: #E4B462; }

.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent-gold); color: var(--accent-gold); }

/* ---------------- SECTIONS ---------------- */

section { position: relative; }

.section {
  padding: 110px var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}

.section--tight { padding-top: 70px; padding-bottom: 70px; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 14px;
  display: block;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.01em;
  max-width: 18ch;
}

.section-head p {
  color: var(--text-muted);
  max-width: 40ch;
  font-size: 15px;
}

/* ---------------- SERVICES GRID ---------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  background: var(--bg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background 0.25s ease;
}

.service-card:hover { background: var(--bg-panel); }

.service-card__icon {
  width: 40px;
  height: 40px;
  color: var(--accent-gold);
}

.service-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------------- PORTFOLIO TILES (abstract aerial art) ---------------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.tile {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.tile__art { position: absolute; inset: 0; width: 100%; height: 100%; }

.tile__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(180deg, transparent, rgba(10,14,19,0.92));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
}

.tile__caption h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
}

.tile__caption span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------------- STATS / TRUST STRIP ---------------- */

.stat-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.stat {
  padding: 40px var(--pad);
  border-left: 1px solid var(--line);
  text-align: left;
}
.stat:first-child { border-left: none; }

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  color: var(--accent-gold);
}

.stat span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------------- CTA BAND ---------------- */

.cta-band {
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 90px var(--pad);
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  max-width: 20ch;
  margin: 0 auto 20px;
}

.cta-band p {
  color: var(--text-muted);
  max-width: 42ch;
  margin: 0 auto 36px;
}

.cta-band__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------------- FOOTER ---------------- */

footer {
  padding: 70px var(--pad) 40px;
  max-width: var(--max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.footer-grid h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.footer-grid li { margin-bottom: 10px; font-size: 14px; }
.footer-grid a { color: var(--text-muted); transition: color 0.2s ease; }
.footer-grid a:hover { color: var(--accent-gold); }

.footer-brand {
  display: inline-block;
  margin-bottom: 18px;
}

.footer-brand__logo {
  height: 120px;
  width: auto;
  display: block;
}

.footer-tag {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 30ch;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------------- PAGE HEADER (interior pages) ---------------- */

.page-header {
  padding: 100px var(--pad) 60px;
  max-width: var(--max);
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.page-header h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5.5vw, 60px);
  letter-spacing: -0.01em;
  max-width: 18ch;
}

.page-header p {
  margin-top: 20px;
  color: var(--text-muted);
  max-width: 50ch;
  font-size: 17px;
}

/* ---------------- ABOUT PAGE ---------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
}

.about-copy p { color: var(--text-muted); margin-bottom: 18px; font-size: 15.5px; line-height: 1.75; }
.about-copy p:first-child { color: var(--text); font-size: 18px; line-height: 1.6; }

.cert-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}

.cert-item {
  background: var(--bg-panel);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.cert-item b { font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.cert-item span { font-family: var(--font-mono); font-size: 11px; color: var(--accent-teal); text-transform: uppercase; letter-spacing: 0.06em; text-align: right; }

/* ---------------- SERVICES PAGE (detailed) ---------------- */

.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 48px;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.service-detail:last-child { border-bottom: none; }

@media (max-width: 760px) {
  .service-detail { grid-template-columns: 1fr; gap: 24px; }
}

.service-detail__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-gold);
}

.service-detail h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  margin-top: 10px;
}

.service-detail__body p { color: var(--text-muted); font-size: 15.5px; line-height: 1.7; margin-bottom: 18px; }

.tag-list { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border: 1px solid var(--line-strong);
  padding: 7px 12px;
  border-radius: 2px;
}

/* ---------------- BLOG ---------------- */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.post-card {
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}
.post-card:hover { border-color: var(--line-strong); }

.post-card__art { aspect-ratio: 16/9; width: 100%; }

.post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }

.post-card__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-teal);
}

.post-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
}

.post-card p { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; flex: 1; }

.post-card__read {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

/* ---------------- CONTACT ---------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.field {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.field input, .field select, .field textarea {
  background: var(--bg-panel);
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: 2px;
  transition: border-color 0.2s ease;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.field textarea { resize: vertical; min-height: 120px; }

.contact-info { display: flex; flex-direction: column; gap: 32px; }

.info-block h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 10px;
}

.info-block p, .info-block a { color: var(--text-muted); font-size: 15px; line-height: 1.7; }
.info-block a:hover { color: var(--accent-gold); }

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.area-list span {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--line);
  padding: 6px 11px;
  border-radius: 2px;
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Updated launch-safe portfolio placeholders */
.service-card .service-card__num { color: var(--accent-gold); }
