/* zacsouthern.com.au – shared styles (design D · Clean + bold) */

/* Fonts are stored with the site (no Google connection). Both are SIL Open Font Licence. */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/barlow-condensed-800-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-variable-latin.woff2') format('woff2');
}

:root {
  --navy: #0F2A3D;
  --navy-line: #23435A;
  --teal: #0B6E78;
  --teal-dark: #084F57;
  --teal-light: #7FE0D6;
  --body: #3B5366;
  --muted: #5A7184;
  --border: #DDE5EB;
  --pale: #F3F7F9;
  --on-navy: #C9D6E0;
  --white: #FFFFFF;
  --heading: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--text);
  color: var(--navy);
  background: var(--white);
  line-height: 1.5;
}

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

a { color: var(--teal); }
a:hover { color: var(--teal-dark); }

a:focus-visible {
  outline: 3px solid var(--teal-light);
  outline-offset: 3px;
  border-radius: 4px;
}
.light-focus a:focus-visible,
main a:focus-visible { outline-color: var(--teal); }
.band-navy a:focus-visible { outline-color: var(--teal-light); }

h1, h2, h3 {
  font-family: var(--heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--teal-light);
  color: var(--navy);
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  z-index: 10;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  padding: 13px 20px;
  border-radius: 6px;
  border: 1.5px solid transparent;
  line-height: 1.3;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-accent { background: var(--teal-light); color: var(--navy); }
.btn-accent:hover { background: #A6EBE3; color: var(--navy); }
.btn-outline-light { border-color: var(--white); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }

.text-link { font-weight: 600; }

/* ---------- Header / nav ---------- */

.band-navy { background: var(--navy); color: var(--white); }

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--navy-line);
}

.logo {
  font-family: var(--heading);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
}
.logo:hover { color: var(--teal-light); }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 26px;
  font-size: 15px;
}
.site-nav a {
  color: var(--white);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--teal-light);
}

/* ---------- Hero ---------- */

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  padding-top: 72px;
  padding-bottom: 88px;
}
.hero-text { flex: 1 1 540px; }
.hero-titles {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-light);
}
.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(48px, 7vw, 80px);
  line-height: 0.95;
}
.hero-lede {
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--on-navy);
  max-width: 580px;
}
.hero-photo {
  flex: 0 1 400px;
  position: relative;
  margin: 0 0 0 16px;
}
.hero-photo::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 16px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--teal-light);
  border-radius: 6px;
}
.hero-photo img {
  position: relative;
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
  background: var(--white);
}

/* ---------- Audience cards ---------- */

.audiences {
  position: relative;
  margin-top: -48px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 6px solid var(--navy);
  border-radius: 8px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(15, 42, 61, 0.08);
}
.card--primary { border-top-color: var(--teal); }
.card .eyebrow { color: var(--body); }
.card--primary .eyebrow { color: var(--teal); }
.card h2 { font-size: 30px; line-height: 1.05; }
.card p:not(.eyebrow) {
  margin: 0;
  line-height: 1.6;
  color: var(--body);
  flex-grow: 1;
}
.card .btn { align-self: flex-start; margin-top: 4px; }

/* ---------- Experience ---------- */

.experience {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  padding-top: 96px;
  padding-bottom: 88px;
}
.experience-intro { flex: 1 1 380px; }
.section-title {
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 52px);
  line-height: 1;
}
.section-lede {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--body);
}
.experience-list {
  flex: 1 1 520px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 17px;
  line-height: 1.5;
}
.experience-list li {
  border-top: 1px solid var(--border);
  padding: 14px 0;
}
.experience-list li:first-child { border-top: 2px solid var(--navy); }
.experience-list li:last-child { border-bottom: 1px solid var(--border); }

/* ---------- Resources ---------- */

.band-pale { background: var(--pale); }
.resources {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding-top: 88px;
  padding-bottom: 88px;
}
.resources-text { flex: 1 1 440px; }
.resources-text .eyebrow { margin-bottom: 12px; }
.resources-text .section-title { margin-bottom: 16px; }
.resources-text .section-lede { margin-bottom: 24px; }
.diagram-placeholder {
  flex: 0 1 380px;
  min-height: 300px;
  border-radius: 8px;
  background: var(--white);
  border: 1px dashed #B7C7D3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

/* ---------- Contact band ---------- */

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 72px;
  padding-bottom: 72px;
}
.cta h2 {
  flex: 1 1 520px;
  font-size: clamp(36px, 5vw, 48px);
  line-height: 1;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta .btn { padding: 15px 24px; }

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 56px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.site-footer p { margin: 0; }

.placeholder {
  background: #FFF4CC;
  color: #5C4700;
  padding: 0 4px;
  border-radius: 3px;
}

/* ---------- Phones ---------- */

@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .site-nav ul { gap: 6px 18px; font-size: 15px; }
  .hero { padding-top: 48px; padding-bottom: 80px; gap: 40px; }
  .hero-lede { font-size: 17px; }
  .hero-photo img { height: 380px; }
  .card { padding: 24px; }
  .card-grid { grid-template-columns: 1fr; }
  .experience { padding-top: 64px; padding-bottom: 64px; gap: 32px; }
  .resources { padding-top: 64px; padding-bottom: 64px; gap: 32px; }
  .diagram-placeholder { flex-basis: 100%; min-height: 220px; }
  .cta { padding-top: 56px; padding-bottom: 56px; }
}

/* ==========================================================
   Inner pages
   ========================================================== */

.page-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 72px;
}
.page-hero-text { flex: 1 1 560px; }
.page-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(44px, 6vw, 68px);
  line-height: 0.95;
}
.page-hero .hero-lede { margin-bottom: 0; }
.page-hero .hero-photo { flex: 0 1 340px; }
.page-hero .hero-photo img { height: 400px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.section { padding-top: 80px; padding-bottom: 80px; }
.section + .section { padding-top: 0; }
.band-pale > .section + .section,
.band-pale .section { padding-top: 80px; }

.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head .section-title { margin-bottom: 14px; }
.section-head .section-lede { margin-bottom: 0; }

.prose {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
}
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose h2 {
  margin: 48px 0 14px;
  font-size: 34px;
  line-height: 1.05;
  color: var(--navy);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  margin: 28px 0 8px;
  font-family: var(--text);
  text-transform: none;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0;
  color: var(--navy);
}
.prose strong { color: var(--navy); font-weight: 600; }

/* Grids of simple info cards */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.info-grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 26px;
}
.info-card h3 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.05;
}
.info-card p { margin: 0 0 10px; line-height: 1.6; color: var(--body); }
.info-card p:last-child { margin-bottom: 0; }
.info-card .meta {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
}

/* Numbered steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.steps li {
  counter-increment: step;
  border-top: 2px solid var(--navy);
  padding-top: 18px;
  line-height: 1.6;
  color: var(--body);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--heading);
  font-weight: 800;
  font-size: 36px;
  line-height: 1;
  color: var(--teal);
  margin-bottom: 10px;
}
.steps h3 {
  margin: 0 0 8px;
  font-size: 24px;
  color: var(--navy);
}
.steps p { margin: 0; }

/* Two-column checklists */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}
.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
}
.ticks li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-top: 1px solid var(--border);
}
.ticks li:last-child { border-bottom: 1px solid var(--border); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 21px;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--teal);
  border-bottom: 2.5px solid var(--teal);
  transform: rotate(-45deg);
}
.split h3 {
  margin: 0 0 14px;
  font-size: 28px;
}

/* Notices */
.notice {
  border-left: 4px solid var(--teal);
  background: var(--pale);
  border-radius: 0 6px 6px 0;
  padding: 18px 22px;
  line-height: 1.6;
  color: var(--body);
  max-width: 760px;
}
.notice p { margin: 0; }
.notice p + p { margin-top: 8px; }
.notice strong { color: var(--navy); }

/* Fee / detail table */
.details {
  margin: 0;
  max-width: 760px;
  border-top: 2px solid var(--navy);
}
.details div {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 2fr;
  gap: 8px 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.details dt { font-weight: 600; color: var(--navy); }
.details dd { margin: 0; color: var(--body); line-height: 1.6; }

/* Booking embed slot */
.embed-placeholder {
  min-height: 320px;
  border-radius: 8px;
  background: var(--white);
  border: 1px dashed #B7C7D3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: var(--muted);
}

/* Resources: body regions */
.resources-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}
.resources-layout .diagram-placeholder { flex: 0 1 360px; min-height: 460px; }
.region-list {
  flex: 1 1 480px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.region-list li {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}
.region-list a,
.region-list span.region {
  display: block;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--navy);
}
.region-list a:hover { background: var(--pale); }
.region-name {
  display: block;
  font-family: var(--heading);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1.1;
}
.region-status {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

/* Contact */
.contact-email {
  display: inline-block;
  font-family: var(--heading);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.1;
  word-break: break-word;
}

@media (max-width: 640px) {
  .page-hero { padding-top: 40px; padding-bottom: 56px; gap: 36px; }
  .page-hero .hero-photo img { height: 340px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .band-pale .section { padding-top: 56px; }
  .details div { grid-template-columns: 1fr; gap: 4px; }
  .resources-layout .diagram-placeholder { min-height: 260px; }
}
