/* ═══════════════════════════════════════════════════════════
   COASTAL FRAME — Design System
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Colours */
  --color-bg:         #0D0D0D;
  --color-surface:    #141414;
  --color-surface-2:  #1A1A1A;
  --color-gold:       #C8A96E;
  --color-gold-light: #D4BA85;
  --color-text:       #FFFFFF;
  --color-text-muted: rgba(255, 255, 255, 0.6);
  --color-text-dim:   rgba(255, 255, 255, 0.35);
  --color-border:     rgba(200, 169, 110, 0.18);
  --color-border-sub: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;
}

/* ═══ RESET ═══ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: var(--font-sans); cursor: pointer; }
ul { list-style: none; }

/* ═══ UTILITY ═══ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--space-xl) 0;
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--color-gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section__header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.28s ease;
  border: none;
  outline: none;
}

.btn--gold {
  background: var(--color-gold);
  color: #0D0D0D;
}
.btn--gold:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 169, 110, 0.25);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
}
.btn--outline:hover {
  background: var(--color-gold);
  color: #0D0D0D;
}

.btn--full {
  width: 100%;
  text-align: center;
}

/* ═══ SCROLL ANIMATION ═══ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ NAV ═══ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--color-border-sub);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  padding: 0 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav__logo {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--color-gold);
  text-decoration: none;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--color-text); }

.nav__cta {
  color: var(--color-gold) !important;
  border: 1px solid rgba(200, 169, 110, 0.5);
  padding: 0.5rem 1.4rem;
  transition: background 0.25s, color 0.25s, border-color 0.25s !important;
}
.nav__cta:hover {
  background: var(--color-gold) !important;
  color: #0D0D0D !important;
  border-color: var(--color-gold) !important;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-text);
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile {
  display: none;
  background: rgba(13, 13, 13, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border-sub);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}
.nav__mobile.open {
  max-height: 320px;
}
.nav__mobile ul {
  padding: 1.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.nav__mobile a {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s;
}
.nav__mobile a:hover { color: var(--color-gold); }

/* ═══ HERO ═══ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 13, 13, 0.25) 0%,
    rgba(13, 13, 13, 0.45) 50%,
    rgba(13, 13, 13, 0.88) 85%,
    rgba(13, 13, 13, 1.00) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  animation: heroFadeUp 1.2s ease forwards;
}

.hero__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(3.8rem, 9vw, 9rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 1.4rem;
}

.hero__sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* ── Sound prompt ── */
.hero__sound-prompt {
  position: absolute;
  bottom: 2.5rem;
  right: 2rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(13, 13, 13, 0.5);
  border: 1px solid rgba(200, 169, 110, 0.4);
  color: rgba(255, 255, 255, 0.85);
  padding: 0.6rem 1.1rem 0.6rem 0.85rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 0.25s, border-color 0.25s, color 0.25s, opacity 0.5s, transform 0.5s;
}
.hero__sound-prompt:hover {
  background: rgba(200, 169, 110, 0.15);
  border-color: var(--color-gold);
  color: var(--color-gold);
}
.hero__sound-prompt.hidden {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}
.hero__sound-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}
.hero__sound-pulse {
  position: absolute;
  inset: -1px;
  border: 1px solid var(--color-gold);
  animation: soundPulse 2s ease-out infinite;
  pointer-events: none;
}

@keyframes soundPulse {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.18); }
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  opacity: 0;
  animation: heroFadeUp 1.2s ease 0.6s forwards;
}
.hero__scroll span {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.35);
}
.hero__scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(200, 169, 110, 0.7), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

/* ═══ TRUST STRIP ═══ */
.trust {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trust__inner {
  display: flex;
  justify-content: center;
  align-items: stretch;
  max-width: var(--max-width);
  margin: 0 auto;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.4rem 2.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.65);
  border-right: 1px solid var(--color-border);
  flex: 1;
  justify-content: center;
}
.trust__item:last-child { border-right: none; }
.trust__item svg { color: var(--color-gold); flex-shrink: 0; }

/* ═══ THE WORK ═══ */
.work { background: var(--color-bg); }

.work__video-wrap {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.work__video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
}

.work__video-caption {
  padding: 1rem 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--color-text-dim);
  text-transform: uppercase;
  border-top: 1px solid var(--color-border-sub);
}

/* ═══ SERVICES ═══ */
.services { background: var(--color-surface); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--color-border);
  border: 1.5px solid var(--color-border);
}

.service-card {
  background: var(--color-surface);
  padding: 3rem 2.5rem;
  transition: background 0.3s;
}
.service-card:hover { background: var(--color-surface-2); }

.service-card__number {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  font-weight: 300;
  color: var(--color-gold);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 400;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* ═══ PRICING ═══ */
.pricing { background: var(--color-bg); }

.pricing__card {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 4.5rem;
}

.pricing__price {
  margin-bottom: 1.25rem;
}

.pricing__amount {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(4rem, 6vw, 5.5rem);
  font-weight: 300;
  color: var(--color-gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.pricing__gst {
  display: block;
  font-size: 0.72rem;
  color: var(--color-text-dim);
  letter-spacing: 0.12em;
  margin-top: 0.4rem;
  text-transform: uppercase;
}

.pricing__tagline {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.pricing__deposit {
  margin-top: 1rem;
  font-size: 0.72rem;
  color: var(--color-text-dim);
  letter-spacing: 0.05em;
}

.pricing__includes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 2rem;
  margin-bottom: 0;
}

.pricing__includes li {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}

.check {
  color: var(--color-gold);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ═══ PROCESS ═══ */
.process { background: var(--color-surface); }

.process__steps {
  display: grid;
  grid-template-columns: 1fr 60px 1fr 60px 1fr;
  align-items: start;
  gap: 0;
}

.process__step {
  text-align: center;
  padding: 0 1.5rem;
}

.process__num {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 300;
  color: var(--color-gold);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.process__step h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  margin-bottom: 0.85rem;
}

.process__step p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.process__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2.4rem;
}
.process__connector::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-border);
}

/* ═══ ABOUT ═══ */
.about { background: var(--color-bg); }

.about__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about__inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 300;
  margin-bottom: 1.75rem;
}

.about__copy {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.7);
}

/* ═══ CTA BAND ═══ */
.cta-band {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 5rem 2rem;
}

.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.cta-band__inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
}

/* ═══ CONTACT ═══ */
.contact { background: var(--color-bg); }

.contact__sub {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-top: 0.75rem;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form__group label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

.form__group input,
.form__group textarea {
  background: var(--color-surface);
  border: 1px solid var(--color-border-sub);
  color: var(--color-text);
  padding: 0.9rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}

.form__group input::placeholder,
.form__group textarea::placeholder { color: rgba(255, 255, 255, 0.2); }

.form__group input:focus,
.form__group textarea:focus { border-color: var(--color-gold); }

.form__group input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.5);
}

.form__group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact__detail {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact__detail-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--color-gold);
}

.contact__detail a,
.contact__detail span {
  font-size: 0.95rem;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s;
}
.contact__detail a:hover { color: var(--color-gold); }

/* ═══ FOOTER ═══ */
.footer {
  background: #080808;
  border-top: 1px solid var(--color-border-sub);
  padding: 3.5rem 2rem;
  text-align: center;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.footer__logo {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--color-gold);
  text-decoration: none;
}

.footer__abn {
  font-size: 0.72rem;
  color: var(--color-text-dim);
  letter-spacing: 0.05em;
}

.footer__contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
}
.footer__contact a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__contact a:hover { color: var(--color-text); }
.footer__contact span { color: rgba(255, 255, 255, 0.15); }

.footer__copy {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.18);
}

/* ═══ KEYFRAMES ═══ */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 0.9; transform: scaleY(1.15); }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

/* Tablet: 768px */
@media (max-width: 900px) {
  :root { --space-xl: 5rem; }

  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile { display: block; }

  .trust__inner {
    flex-wrap: wrap;
  }
  .trust__item {
    flex: 1 1 50%;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    justify-content: flex-start;
    padding: 1.1rem 2rem;
  }
  .trust__item:nth-child(odd) { border-right: 1px solid var(--color-border); }
  .trust__item:nth-last-child(-n+2) { border-bottom: none; }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .pricing__card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 2.5rem;
  }

  .process__steps {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .process__connector { display: none; }
  .process__step { text-align: left; padding: 0; }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .form__row { grid-template-columns: 1fr; }
}

/* Mobile: 480px */
@media (max-width: 480px) {
  :root { --space-xl: 4rem; }

  .hero__headline { font-size: clamp(2.8rem, 12vw, 4rem); }

  .pricing__includes {
    grid-template-columns: 1fr;
  }

  .pricing__card { padding: 2.25rem 1.75rem; }

  .trust__item {
    flex: 1 1 100%;
    border-right: none !important;
  }
  .trust__item:last-child { border-bottom: none; }

  .nav__inner { padding: 0 1.25rem; }
  .container { padding: 0 1.25rem; }
}
