/* Layout, type and components follow in-good-light.com.au; colours are LS Elite's */

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

:root {
  --navy: #123260;
  --navy-deep: #0b2140;
  --blue: oklch(0.42 0.12 258);
  --sky: #d4dfef;
  --grey: #eef0f4;
  --off-white: #fbfcfd;
  --white: #ffffff;
  --ink: #121b29;
  --ink-soft: #3e4757;
  --ink-dim: #596273;
  --display: 'Libre Franklin', system-ui, sans-serif;
  --body: 'Source Sans 3', system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  background: var(--off-white);
  color: var(--ink);
  caret-color: var(--navy);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}
h2 { font-size: 40px; }
em { font-style: normal; color: var(--blue); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 48px; }

/* Browser surfaces */
::selection { background: var(--blue); color: var(--white); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.contact-card a:focus-visible { outline-color: var(--white); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: var(--white); padding: 10px 18px; border-radius: 12px;
}
.skip:focus { top: 16px; }

/* Ambient background */
.atmosphere {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 15% 0%, rgba(18, 50, 96, 0.13) 0%, transparent 60%),
    radial-gradient(ellipse 70% 55% at 85% 15%, rgba(18, 27, 41, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 50% 100%, rgba(18, 50, 96, 0.10) 0%, transparent 60%),
    var(--off-white);
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 252, 253, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--grey);
}
.nav-inner { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav nav { display: flex; align-items: center; gap: 40px; }
.nav-link { font-size: 15px; color: var(--ink-soft); white-space: nowrap; transition: color 0.2s; }
.nav-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }

.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--display); font-weight: 700; font-size: 20px;
  letter-spacing: -0.01em; white-space: nowrap;
}
a.brand { min-height: 44px; }
.brand img { width: 62px; height: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 11px 28px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  font-size: 15px; font-weight: 600; white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px;
  box-shadow: 0 10px 26px -10px rgba(18, 50, 96, 0.55);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(18, 50, 96, 0.65); }
.btn:active { transform: translateY(0); }

/* Hero */
.hero { padding: 112px 0 104px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: end; }
h1 { font-size: clamp(38px, 5.4vw, 70px); line-height: 1.1; }
.hero-side { display: flex; flex-direction: column; gap: 28px; }
.lede { font-size: 19px; font-weight: 300; color: var(--ink-soft); max-width: 44ch; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 440px; }
.people li { display: flex; flex-direction: column; gap: 6px; }
.btn-person { min-height: 56px; font-size: 17px; padding-inline: 16px; }
.call {
  align-self: center; padding: 8px 4px; font-size: 15px; color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.call:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }

/* Service sheets */
.services { padding: 24px 0 112px; }
.services h2 { margin-bottom: 48px; }
.sheets { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.sheet {
  display: flex; padding: 8px; background: var(--white); border-radius: 18px;
  box-shadow: 0 24px 48px -22px rgba(18, 50, 96, 0.32), 0 2px 8px rgba(18, 50, 96, 0.08);
}
.sheet-face {
  position: relative; overflow: hidden; flex: 1;
  padding: 36px 36px 32px; border-radius: 13px;
  background: linear-gradient(160deg, var(--grey), var(--off-white) 70%);
}
.sheet h3 { font-size: 30px; color: var(--navy); margin-bottom: 20px; }
.sheet li { display: flex; gap: 14px; align-items: flex-start; padding: 9px 0; font-size: 19px; line-height: 1.5; }
.sheet li svg { flex: none; width: 20px; height: 20px; margin-top: 4px; color: var(--blue); }

/* One pass of light, as on the In Good Light cards */
.sheet-face::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.95) 50%, transparent 62%);
  transform: translateX(-130%);
}
.sheets.is-lit .sheet-face::after { animation: sweep 1.2s var(--ease) forwards; }
.sheets.is-lit .sheet:nth-child(2) .sheet-face::after { animation-delay: 0.35s; }
@keyframes sweep { to { transform: translateX(130%); } }

/* Booking steps */
.booking { padding: 48px 0 112px; }
.booking h2 { margin-bottom: 72px; max-width: 620px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; counter-reset: step; }
.steps li { position: relative; padding-top: 32px; border-top: 1px solid rgba(18, 50, 96, 0.28); counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: absolute; top: -14px; left: 0; min-width: 32px; padding-right: 8px;
  background: var(--off-white);
  font: 700 15px/28px var(--display); color: var(--navy);
}
.steps h3 { font-size: 19px; margin-bottom: 12px; }
.steps p { color: var(--ink-soft); }

/* Questions */
.questions { padding: 24px 0 112px; }
.questions-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.faq details { border-bottom: 1px solid rgba(18, 50, 96, 0.2); }
.faq details:first-child { border-top: 1px solid rgba(18, 50, 96, 0.2); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 700; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 9px; height: 9px; margin-right: 4px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: rotate(45deg); transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq p { padding: 0 0 24px; max-width: 62ch; color: var(--ink-soft); }

/* Reviews */
.reviews { padding: 0 48px 80px; }
.reviews-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.reviews h2 { margin-bottom: 24px; }
.track {
  display: flex; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  border-radius: 18px;
}
.track::-webkit-scrollbar { display: none; }
.track:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
/* The padding gives each card's shadow room inside the scrolling area */
.review { flex: 0 0 100%; display: flex; padding: 16px 20px 40px; scroll-snap-align: start; scroll-snap-stop: always; }
.review figure {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  min-height: 264px; padding: 40px 48px; border-radius: 18px; background: var(--white);
  box-shadow: 0 18px 28px -22px rgba(18, 50, 96, 0.45), 0 1px 5px rgba(18, 50, 96, 0.09);
}
.stars { display: flex; gap: 4px; color: var(--blue); }
.stars svg { width: 20px; height: 20px; }
.review blockquote { font-size: 22px; line-height: 1.55; max-width: 44ch; text-wrap: pretty; }
.review figcaption { font-size: 16px; color: var(--ink-dim); }
.review strong { display: block; font-family: var(--display); font-weight: 700; color: var(--ink); }
.controls { display: flex; align-items: center; justify-content: center; gap: 20px; }
.controls[hidden] { display: none; }
.step-btn {
  display: grid; place-items: center; width: 48px; height: 48px;
  border: 1px solid rgba(18, 50, 96, 0.28); border-radius: 12px;
  background: var(--white); color: var(--navy); cursor: pointer;
  transition: border-color 0.2s, opacity 0.2s;
}
.step-btn:hover { border-color: var(--navy); }
.step-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.step-btn[aria-disabled="true"] { opacity: 0.4; cursor: default; border-color: rgba(18, 50, 96, 0.28); }
.step-btn svg { width: 20px; height: 20px; }
.step-next svg { transform: scaleX(-1); }
.count { min-width: 4.5em; font-size: 15px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.reviews-more { margin-top: 16px; }
.reviews-more a { display: inline-block; padding: 10px 0; font-size: 16px; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }

/* Contact */
.contact { padding: 0 48px 112px; }
.contact-card {
  max-width: 880px; margin: 0 auto; padding: 80px 56px 56px; border-radius: 28px;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: var(--white); text-align: center;
  box-shadow: 0 32px 64px -24px rgba(18, 50, 96, 0.5);
}
.contact-card h2 { font-size: 44px; line-height: 1.25; margin-bottom: 48px; }
.contact-card h2 em { display: block; color: #a9c4ec; }
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contacts h3 { font-size: 20px; }
.number { font-size: 22px; color: var(--sky); margin: 4px 0 18px; font-variant-numeric: tabular-nums; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn-light { background: var(--white); color: var(--navy); border: 0; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.4); }
.btn-light:hover { box-shadow: 0 16px 34px -10px rgba(0, 0, 0, 0.48); }
.btn-line { background: transparent; border-color: rgba(255, 255, 255, 0.5); box-shadow: none; }
.btn-line:hover { border-color: var(--white); box-shadow: none; }
.elsewhere {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 32px;
  margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.elsewhere a { display: inline-block; padding: 8px 0; font-size: 16px; color: var(--sky); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(212, 223, 239, 0.45); }
.elsewhere a:hover { color: var(--white); text-decoration-color: var(--white); }

/* Footer */
footer { padding: 0 0 48px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 14px; color: var(--ink-dim); }
.brand-foot { font-size: 16px; color: var(--ink); }
.brand-foot img { width: 46px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .questions-grid { grid-template-columns: 1fr; gap: 36px; align-items: start; }
  .steps { grid-template-columns: 1fr 1fr; gap: 48px 32px; }
}

@media (max-width: 768px) {
  .wrap { padding: 0 24px; }
  .nav-inner { height: 72px; }
  .nav-link { display: none; }
  .nav .btn { padding-inline: 18px; }
  .brand { font-size: 18px; gap: 8px; }
  .brand img { width: 52px; }
  .brand-rest { display: none; }
  .hero { padding: 48px 0 72px; }
  h2 { font-size: 32px; }
  .services { padding-bottom: 80px; }
  .services h2 { margin-bottom: 32px; }
  .sheets { grid-template-columns: 1fr; gap: 24px; }
  .sheet-face { padding: 28px 24px 24px; }
  .booking { padding: 16px 0 80px; }
  .booking h2 { margin-bottom: 48px; }
  .questions { padding: 0 0 80px; }
  .reviews { padding: 0 16px 64px; }
  .review { padding-inline: 8px; }
  .review figure { padding: 32px 24px; }
  .review blockquote { font-size: 19px; }
  .contact { padding: 0 16px 72px; }
  .contact-card { padding: 52px 24px 36px; border-radius: 26px; }
  .contact-card h2 { font-size: clamp(28px, 8vw, 40px); }
  .contacts { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; gap: 12px; }
}

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

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

@media (prefers-reduced-motion: reduce) {
  html, .track { scroll-behavior: auto; }
  .sheet-face::after { display: none; }
  .btn, .faq summary::after { transition: none; }
}
