/* iMediaNZ Creative Studio - brand: charcoal #353231, gold #FEC10C, white. Montserrat. */

:root {
  --charcoal: #353231;
  --charcoal-deep: #2b2928;
  --charcoal-card: #3e3a39;
  --gold: #FEC10C;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --line: rgba(255, 255, 255, 0.16);
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }

body {
  min-width: 280px;
  font-family: 'Montserrat', 'Poppins', Calibri, sans-serif;
  background: var(--charcoal);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--gold);
  color: var(--charcoal-deep);
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(43, 41, 40, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.9rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.wordmark {
  flex: 0 0 auto;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0;
  line-height: 1.1;
  color: var(--white);
}

.wordmark:hover { text-decoration: none; }
.wordmark span { color: var(--gold); }
.wordmark small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-align: right;
}

.site-nav { display: flex; align-items: center; gap: 1.4rem; }

.site-nav a {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  padding: 0.3rem 0;
}

.site-nav a:hover { color: var(--white); text-decoration: none; }
.site-nav a.active { color: var(--gold); border-bottom: 2px solid var(--gold); }

/* Hero */
.hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  background: url('../assets/img/hero.jpg') center / cover no-repeat;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(43, 41, 40, 0.72);
}

.hero-inner { width: 100%; max-width: 1100px; margin: 0 auto; padding: 5rem 1.25rem; }

.hero h1 {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.15;
  max-width: 16ch;
}

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

.hero p {
  margin-top: 1.4rem;
  max-width: 52ch;
  font-size: 1.05rem;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-block;
  margin-top: 2rem;
  background: var(--gold);
  color: var(--charcoal-deep);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 0.95rem 2.1rem;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
}

.btn:hover { text-decoration: none; filter: brightness(1.08); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.text-link { display: inline-block; margin-top: 1.25rem; font-weight: 700; }

/* Sections */
section { padding: 4.5rem 0; }
section.alt { background: var(--charcoal-deep); }

.kicker {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.25; }
h2, section h1 { font-size: 2.2rem; font-weight: 800; margin-top: 0.4rem; margin-bottom: 0.83em; }
.section-heading { margin-top: 3.5rem; }
.section-intro { margin-top: 1rem; max-width: 64ch; color: var(--muted); }
.page-intro { font-size: 1.08rem; }

/* Cards / grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.5rem; }

.card {
  background: var(--charcoal-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.8rem;
}

.card h3 { font-size: 1.05rem; font-weight: 700; }
.card p { margin-top: 0.6rem; color: var(--muted); font-size: 0.95rem; }

/* Video blocks */
.video-item { margin-top: 3rem; }
.video-item h3 { font-size: 1.2rem; font-weight: 700; }
.video-item .caption { color: var(--muted); margin: 0.4rem 0 1rem; max-width: 64ch; }

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #191919;
  border-radius: 6px;
  overflow: hidden;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame.vertical {
  aspect-ratio: 9 / 16;
  max-width: 360px;
  margin: 0 auto;
}

/* Stills */
.stills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin-top: 2rem; }
.stills-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 4px;
}

/* Services */
.price-card { display: flex; flex-direction: column; }
.price-card .price { color: var(--gold); font-size: 1.6rem; font-weight: 800; margin-top: 0.8rem; }
.price-card .price small { display: block; margin-top: 0.15rem; font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.price-card ul { margin: 1rem 0 0 1.1rem; color: var(--muted); font-size: 0.93rem; }
.price-card ul li { margin-top: 0.35rem; }
.price-card .text-link { margin-top: auto; padding-top: 1.25rem; }

.addons { margin-top: 3rem; }
.addons ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
}

.addons li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.addons li:nth-child(odd) { padding-right: 1.25rem; }
.addons li:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.addons li strong { color: var(--gold); font-weight: 700; text-align: right; }

.fine-print { margin-top: 2rem; color: var(--muted); font-size: 0.88rem; max-width: 72ch; }

.service-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-summary div { padding: 1.25rem 1rem; border-right: 1px solid var(--line); }
.service-summary div:first-child { padding-left: 0; }
.service-summary div:last-child { border-right: 0; }
.service-summary dt { color: var(--muted); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; }
.service-summary dd { margin-top: 0.35rem; font-weight: 700; }
.service-summary .summary-price { color: var(--gold); }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 3rem;
  align-items: start;
  margin-top: 2.5rem;
}

.content-grid h2 { font-size: 1.65rem; }
.content-grid h3 { margin-top: 2rem; font-size: 1.08rem; }
.content-grid p { margin-top: 1rem; color: var(--muted); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 420px));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.testimonial-card {
  background: var(--charcoal-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.testimonial-stars { color: var(--gold); font-size: 1rem; letter-spacing: 0.15em; }

.testimonial-quote {
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--white);
  flex-grow: 1;
}

.testimonial-quote::before { content: open-quote; }
.testimonial-quote::after { content: close-quote; }

.testimonial-attribution {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.testimonial-attribution strong { color: var(--white); display: block; font-size: 0.92rem; }
.content-grid ul, .content-grid ol { margin: 1rem 0 0 1.2rem; color: var(--muted); }
.content-grid li { margin-top: 0.5rem; }

.side-panel {
  border-top: 3px solid var(--gold);
  padding-top: 1.25rem;
}

.side-panel h2 { margin-top: 0; }

/* About */
.about-body p { margin-top: 1.2rem; max-width: 62ch; font-size: 1.02rem; }
.about-body p:first-child { margin-top: 2rem; }

/* Contact */
.contact-details { margin-top: 1.8rem; font-size: 1.05rem; }
.contact-details p { margin-top: 0.5rem; }
.contact-details strong { color: var(--white); }

.contact-form { margin-top: 2.5rem; max-width: 620px; }
.contact-form label {
  display: block;
  margin-top: 1.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.85rem 1rem;
  background: var(--charcoal-deep);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
}

.contact-form textarea { resize: vertical; min-height: 9rem; }
.contact-form select { appearance: auto; }
.form-note { margin-top: 1rem; max-width: 62ch; color: var(--muted); font-size: 0.88rem; }

/* Quote builder */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.quote-exit { display: none; font-weight: 700; }
.quote-section { min-height: 70vh; padding: 3.5rem 0 5rem; }
.quote-shell { max-width: 720px; }
.quote-intro h1 { max-width: 24ch; margin-bottom: 0; }
.quote-intro .page-intro { max-width: 58ch; margin-top: 0.7rem; }
.quote-form { margin-top: 1.6rem; }
.quote-view[hidden],
.range-block[hidden],
.addon-step[hidden] { display: none; }
.quote-view { border: 0; scroll-margin-top: 6rem; }
.quote-view-heading { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.quote-view-heading h2,
.package-view > h2,
.details-view > h2 { margin: 0.3rem 0 0; font-size: 1.55rem; }
.package-view > h2:focus,
.details-view > h2:focus { outline: none; }
.progress-label {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.view-intro { margin-top: 0.65rem; color: var(--muted); max-width: 58ch; }
.service-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.service-choice,
.addon-choice { cursor: pointer; }
.service-choice input,
.addon-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.service-choice > span {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--charcoal-card);
  transition: border-color 160ms ease, background 160ms ease;
}
.service-choice:hover > span,
.addon-choice:hover > span { border-color: rgba(254, 193, 12, 0.65); }
.service-choice input:focus-visible + span,
.addon-choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 3px; }
.service-choice input:checked + span,
.addon-choice input:checked + span {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
}
.service-choice strong { font-size: 0.92rem; }
.service-choice small { margin-top: 0.2rem; color: var(--muted); }
.service-choice b { margin-top: 0.55rem; color: var(--gold); font-size: 0.86rem; }
.step-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.35rem;
}
.selection-strip span,
.action-price span {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}
.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.range-block { margin-top: 1.35rem; padding: 1.35rem; background: var(--charcoal-card); border-radius: 6px; }
.range-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.range-label { color: var(--muted); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
.range-heading output { display: block; margin-top: 0.15rem; color: var(--gold); font-size: 2rem; font-weight: 800; }
.range-heading > p { color: var(--muted); font-size: 0.82rem; text-align: right; }
.range-block input[type="range"] {
  width: 100%;
  min-height: 28px;
  margin-top: 1rem;
  accent-color: var(--gold);
  cursor: pointer;
}
.range-stops { display: flex; justify-content: space-between; gap: 0.3rem; color: var(--muted); font-size: 0.69rem; }
.range-stops span { width: 25%; text-align: center; }
.range-stops span:first-child { text-align: left; }
.range-stops span:last-child { text-align: right; }
.range-note { margin-top: 0.75rem; color: var(--muted); font-size: 0.84rem; }
.package-detail { margin-top: 1.1rem; color: var(--muted); }
.package-detail:empty { display: none; }
.package-detail ul { margin: 0.75rem 0 0 1.1rem; columns: 2; column-gap: 2rem; }
.package-detail li { margin-top: 0.25rem; break-inside: avoid; }
.flat-package { padding: 1.2rem; border: 1px solid var(--line); border-radius: 6px; background: var(--charcoal-card); }
.flat-price-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.flat-price-row span { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; }
.flat-price-row strong { color: var(--gold); font-size: 1.2rem; }
.addon-step { margin-top: 1.5rem; padding-top: 1.25rem; border: 0; border-top: 1px solid var(--line); }
.addon-step legend { padding-right: 0.8rem; font-size: 1rem; font-weight: 800; }
.addon-step > p { color: var(--muted); font-size: 0.86rem; }
.addon-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin-top: 0.9rem; }
.addon-choice > span {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--charcoal-card);
}
.addon-copy { min-width: 0; }
.addon-choice strong { display: block; font-size: 0.78rem; line-height: 1.35; }
.addon-choice small { display: block; margin-top: 0.15rem; color: var(--muted); font-size: 0.68rem; }
.addon-choice b { flex: 0 0 auto; color: var(--gold); font-size: 0.72rem; text-align: right; }
.quote-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  padding: 1rem 1.1rem;
  border-top: 3px solid var(--gold);
  background: var(--charcoal-deep);
}
.action-price strong { display: block; margin-top: 0.1rem; color: var(--gold); font-size: 1.35rem; }
.quote-action-bar .btn { margin-top: 0; padding: 0.75rem 1.5rem; }
.selection-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.35rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--gold);
  background: var(--charcoal-deep);
}
.selection-strip strong { display: block; margin-top: 0.15rem; color: var(--gold); font-size: 1.3rem; }
.selection-strip small { display: block; margin-top: 0.15rem; color: var(--muted); font-size: 0.74rem; }
.details-fields { margin-top: 0.65rem; border: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.quote-form label:not(.service-choice):not(.addon-choice) {
  display: block;
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}
.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form input[type="date"],
.quote-form textarea {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.8rem 0.9rem;
  background: var(--charcoal-deep);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--white);
  font: inherit;
}
.quote-form textarea { resize: vertical; min-height: 8rem; }
.field-help { display: block; margin-top: 0.3rem; color: var(--muted); font-size: 0.74rem; }
.details-actions { display: flex; justify-content: flex-end; gap: 0.75rem; }
.details-actions .btn { margin-top: 1.25rem; }
.no-script-note { margin-top: 1.5rem; padding: 1rem; border-left: 3px solid var(--gold); background: var(--charcoal-deep); }

/* Terms and simple pages */
.terms-content { max-width: 820px; }
.terms-content h2 { margin-top: 2.75rem; font-size: 1.45rem; }
.terms-content h3 { margin-top: 2rem; font-size: 1.15rem; }
.terms-content p, .terms-content ul { margin-top: 0.9rem; color: var(--muted); }
.terms-content ul { margin-left: 1.2rem; }
.terms-content li { margin-top: 0.45rem; }

.simple-page {
  min-height: 62vh;
  display: flex;
  align-items: center;
}

.simple-page .container { width: 100%; }
.simple-page p:not(.kicker) { max-width: 58ch; color: var(--muted); }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--charcoal-deep);
  padding: 2.5rem 0 3rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  justify-content: space-between;
  align-items: center;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.4rem; }

/* Responsive */
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; }
  .site-nav { width: 100%; justify-content: space-between; gap: 0.4rem; }
  .site-nav a { font-size: 0.75rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-summary { grid-template-columns: repeat(2, 1fr); }
  .service-summary div:nth-child(2) { border-right: 0; }
  .service-summary div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 620px) {
  section { padding: 3.5rem 0; }
  .header-inner { padding-top: 0.75rem; padding-bottom: 0.75rem; }
  .site-nav a { font-size: 0.68rem; }
  .hero { min-height: 64vh; }
  .hero-inner { padding-top: 4rem; padding-bottom: 4rem; }
  .hero h1 { font-size: 2.35rem; }
  h2, section h1 { font-size: 1.8rem; }
  .stills-grid { grid-template-columns: repeat(2, 1fr); }
  .stills-grid img { height: 180px; }
  .addons ul { grid-template-columns: 1fr; }
  .addons li:nth-child(odd), .addons li:nth-child(even) { padding-left: 0; padding-right: 0; border-left: 0; }
  .service-summary { grid-template-columns: 1fr; }
  .service-summary div { padding-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-summary div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .service-summary div:last-child { border-bottom: 0; }
  .footer-inner { align-items: flex-start; }
  .service-choice-grid, .addon-choice-grid, .form-grid { grid-template-columns: 1fr; }
  .quote-page .header-inner { flex-wrap: nowrap; }
  .quote-page .site-nav { display: none; }
  .quote-exit { display: inline-block; font-size: 0.82rem; }
  .quote-section { padding: 2.4rem 0 4rem; }
  .quote-intro h1 { font-size: 2rem; }
  .quote-form { margin-top: 1.75rem; }
  .service-choice-grid { gap: 0.6rem; }
  .service-choice > span { padding: 0.85rem 0.9rem; }
  .package-view > h2, .details-view > h2 { font-size: 1.4rem; }
  .range-block { padding: 1rem; }
  .range-heading { align-items: flex-start; flex-direction: column; }
  .range-heading > p { text-align: left; }
  .range-stops { font-size: 0.6rem; }
  .package-detail ul { columns: 1; }
  .addon-choice-grid { gap: 0.5rem; }
  .quote-action-bar {
    position: sticky;
    bottom: 0;
    z-index: 20;
    margin-right: -0.25rem;
    margin-left: -0.25rem;
    padding: 0.8rem 0.9rem;
    box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.22);
  }
  .action-price strong { font-size: 1.15rem; }
  .quote-action-bar .btn { padding: 0.68rem 1.25rem; }
  .selection-strip { align-items: flex-start; padding: 0.9rem; }
  .details-actions { justify-content: stretch; }
  .details-actions .btn { flex: 1; padding-right: 0.75rem; padding-left: 0.75rem; text-align: center; }
}

@media (max-width: 340px) {
  .site-nav a { font-size: 0.62rem; }
  .hero h1 { font-size: 2.05rem; }
  .stills-grid { grid-template-columns: 1fr; }
  .quote-action-bar { align-items: stretch; flex-direction: column; }
  .quote-action-bar .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
