/* Launceston Language and Literacy Services — static styles */

:root {
  --radius: 0.75rem;

  --brand: oklch(0.31 0.09 258);
  --brand-foreground: oklch(0.985 0 0);
  --teal: oklch(0.62 0.09 200);
  --teal-foreground: oklch(0.985 0 0);
  --sand: oklch(0.975 0.01 90);

  --background: oklch(1 0 0);
  --foreground: oklch(0.22 0.04 258);

  --card: oklch(1 0 0);
  --card-foreground: oklch(0.22 0.04 258);

  --primary: var(--brand);
  --primary-foreground: oklch(0.985 0 0);

  --secondary: oklch(0.96 0.015 220);
  --secondary-foreground: var(--brand);

  --muted: oklch(0.965 0.008 240);
  --muted-foreground: oklch(0.45 0.03 258);

  --accent: var(--teal);
  --accent-foreground: oklch(0.985 0 0);

  --border: oklch(0.92 0.01 240);

  --gradient-hero: linear-gradient(135deg, oklch(0.31 0.09 258) 0%, oklch(0.42 0.1 230) 55%, oklch(0.62 0.09 200) 100%);
  --gradient-soft: linear-gradient(180deg, oklch(0.985 0.005 220) 0%, oklch(0.96 0.02 200) 100%);
  --shadow-card: 0 1px 2px oklch(0.31 0.09 258 / 0.06), 0 8px 24px -12px oklch(0.31 0.09 258 / 0.18);
  --shadow-lift: 0 2px 4px oklch(0.31 0.09 258 / 0.08), 0 20px 40px -20px oklch(0.31 0.09 258 / 0.28);

  --font-heading: "Glacial Indifference", "Jost", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; border-color: var(--border); }
.flex-col-min-h { display: flex; flex-direction: column; min-height: 100vh; }
.flex-1 { flex: 1 1 auto; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  color: var(--brand);
  margin: 0;
}
p { margin: 0; }

.container-x {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) {
  .container-x { padding-inline: 2rem; }
}

.diamond { color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.2s, color 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); box-shadow: 0 1px 2px oklch(0 0 0 / 0.05); }
.btn-primary:hover { background: var(--accent); }
.btn-accent { background: var(--accent); color: var(--accent-foreground); }
.btn-accent:hover { background: var(--primary); }
.btn-white { background: white; color: var(--primary); }
.btn-white:hover { background: oklch(1 0 0 / 0.9); }
.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid oklch(1 0 0 / 0.7);
}
.btn-outline-white:hover { background: white; color: var(--primary); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid oklch(0.92 0.01 240 / 0.6);
  background: oklch(1 0 0 / 0.9);
  backdrop-filter: blur(8px);
}
.site-header .container-x {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 5rem;
}
.brand-logo-link { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.brand-logo-link img { height: 2.75rem; width: auto; max-width: none; }
@media (min-width: 768px) { .brand-logo-link img { height: 3rem; } }

.main-nav { display: none; align-items: center; gap: 0.25rem; }
.main-nav a {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: oklch(0.22 0.04 258 / 0.75);
  border-radius: 0.375rem;
  transition: color 0.2s, background-color 0.2s;
}
.main-nav a:hover { color: var(--primary); background: var(--secondary); }

.header-cta { display: none; align-items: center; gap: 0.75rem; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  padding: 0.5rem;
  color: var(--primary);
  background: transparent;
  border: none;
  cursor: pointer;
}
.menu-toggle:hover { background: var(--secondary); }
.menu-toggle svg { width: 24px; height: 24px; }
.icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--background);
}
.mobile-nav.open { display: block; }
.mobile-nav .container-x { display: flex; flex-direction: column; gap: 0.25rem; padding-block: 1rem; }
.mobile-nav a { padding: 0.625rem 0.75rem; font-size: 0.875rem; font-weight: 500; border-radius: 0.375rem; }
.mobile-nav a:hover { background: var(--secondary); }
.mobile-nav-contact {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}
.mobile-nav-contact a.phone { font-size: 0.875rem; font-weight: 600; color: var(--primary); }
.mobile-nav-contact a.email { font-size: 0.875rem; color: var(--muted-foreground); word-break: break-all; }
.mobile-nav-contact p { font-size: 0.875rem; color: var(--muted-foreground); }

@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .header-cta { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- Waves ---------- */
.wave { position: absolute; pointer-events: none; height: auto; z-index: 0; }
.wave-top-right { top: 0; right: 0; width: 46%; max-width: 520px; }
.wave-bottom-left { bottom: 0; left: 0; width: 38%; max-width: 380px; }
.wave-small { width: 42% !important; max-width: 420px !important; opacity: 0.8; }

/* ---------- Hero ---------- */
.hero-section { position: relative; overflow: hidden; background: var(--gradient-soft); }
.hero-section .container-x {
  position: relative;
  z-index: 10;
  display: grid;
  gap: 3rem;
  align-items: center;
  padding-block: 4rem;
}
@media (min-width: 1024px) {
  .hero-section .container-x { grid-template-columns: 1fr 1.05fr; gap: 4rem; padding-block: 5.5rem; }
}
.hero-text-col { order: 2; }
.hero-photo-col { order: 1; position: relative; display: flex; justify-content: center; }
@media (min-width: 1024px) {
  .hero-text-col { order: 1; }
  .hero-photo-col { order: 2; justify-content: flex-end; }
}
.hero-logo { height: 11rem; width: auto; max-width: none; margin-bottom: 2rem; }
@media (min-width: 768px) { .hero-logo { height: 14rem; } }
@media (min-width: 1024px) { .hero-logo { height: 16rem; } }
.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .eyebrow { font-size: 0.875rem; } }
.hero-lede { margin-top: 0.5rem; font-size: 1.125rem; color: oklch(0.22 0.04 258 / 0.75); max-width: 42rem; }
@media (min-width: 768px) { .hero-lede { font-size: 1.25rem; } }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-photo-wrap { width: 88%; max-width: 520px; position: relative; z-index: 10; }

/* ---------- Oval photo ---------- */
.oval-photo { position: relative; }
.oval-photo::before {
  content: "";
  position: absolute;
  inset: -0.75rem;
  border-radius: 50%;
  border: 3px solid oklch(0.62 0.09 200 / 0.6);
}
.oval-photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  border: 6px solid var(--primary);
  background: var(--primary);
  aspect-ratio: 3 / 4;
  box-shadow: 0 20px 50px -20px oklch(0.31 0.09 258 / 0.45);
}
.oval-photo-frame img { height: 100%; width: 100%; object-fit: cover; }
.oval-74 { width: 74%; max-width: 400px; }
.oval-74-lg { width: 74%; max-width: 420px; }

/* ---------- Banner ---------- */
.banner-section { background: var(--primary); color: var(--primary-foreground); }
.banner-section .container-x {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  text-align: center;
}
.banner-section p { font-size: 1rem; font-weight: 600; letter-spacing: 0.02em; }
@media (min-width: 768px) { .banner-section p { font-size: 1.125rem; } }
@media (min-width: 640px) {
  .banner-section .container-x { flex-direction: row; text-align: left; }
}
.banner-section .btn-accent:hover { background: white; color: var(--primary); }

/* ---------- Trust strip ---------- */
.trust-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: color-mix(in oklab, var(--teal) 10%, white); }
.trust-section .container-x { display: grid; gap: 2rem; padding-block: 3rem; text-align: center; }
@media (min-width: 768px) { .trust-section .container-x { grid-template-columns: repeat(3, 1fr); text-align: left; } }
.trust-item h3 { font-size: 1.125rem; font-weight: 600; color: var(--primary); }
.trust-item p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }

/* ---------- Generic section layout ---------- */
.section { position: relative; padding-block: 5rem; }
@media (min-width: 768px) { .section { padding-block: 6rem; } }
.section-tinted-teal { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: color-mix(in oklab, var(--teal) 8%, white); overflow: hidden; }
.section-tinted-brand { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: color-mix(in oklab, var(--brand) 8%, white); overflow: hidden; }

.split-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .split-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }
.split-grid.reverse { }
@media (min-width: 1024px) { .split-grid.narrow-right { grid-template-columns: 1fr 1.05fr; } }
@media (min-width: 1024px) { .split-grid.wide-left { grid-template-columns: 1.1fr 1fr; align-items: start; } }
@media (min-width: 1024px) { .split-grid.pro-learning { grid-template-columns: 1fr 1.1fr; } }
@media (min-width: 1024px) { .split-grid.contact-grid { grid-template-columns: 1.3fr 1fr; align-items: start; } }

h2.section-title { font-size: 1.875rem; font-weight: 600; line-height: 1.1; }
@media (min-width: 768px) { h2.section-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { h2.section-title { font-size: 3rem; } }

.prose-body { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; font-size: 1rem; line-height: 1.7; color: oklch(0.22 0.04 258 / 0.85); }
.bullet-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; color: oklch(0.22 0.04 258 / 0.85); }
.bullet-list li { display: flex; gap: 0.75rem; }
.bullet-list.tight li { gap: 0.75rem; }
.photo-col { display: flex; justify-content: center; }
@media (min-width: 1024px) { .photo-col.end { justify-content: flex-end; } .photo-col.start { justify-content: flex-start; } }
.order-2-mobile { order: 2; }
@media (min-width: 1024px) { .order-2-mobile { order: 1; } .order-1-desktop { order: 2; } }

.pill-badge {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--accent);
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-foreground);
}

/* ---------- Intervention services grid ---------- */
.service-grid { margin-top: 3.5rem; display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
.service-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s;
}
@media (min-width: 768px) { .service-card { padding: 2rem; } }
.service-card:hover { transform: translateY(-2px); }
.service-card .meta { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent); font-weight: 600; margin-bottom: 0.75rem; }
.service-card h3 { font-size: 1.5rem; font-weight: 600; color: var(--primary); }
.service-card .body { margin-top: 1rem; display: flex; flex-direction: column; gap: 1rem; font-size: 0.9375rem; line-height: 1.7; color: oklch(0.22 0.04 258 / 0.8); }
.service-card .body strong { color: var(--primary); }
.service-card .body ul { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.625rem; }
.service-card .body ul li { display: flex; gap: 0.75rem; }
.service-card .highlight { font-weight: 600; color: var(--primary); }

/* ---------- About "what we believe" card ---------- */
.belief-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.belief-card h3 { font-size: 1.25rem; font-weight: 600; color: var(--primary); }
.belief-card ul { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.9375rem; color: oklch(0.22 0.04 258 / 0.85); }
.belief-card li { display: flex; gap: 0.75rem; }

/* ---------- Contact ---------- */
.contact-panel {
  border-radius: 1.5rem;
  padding: 3.5rem 2rem;
  color: var(--primary-foreground);
  background: var(--gradient-hero);
  box-shadow: var(--shadow-lift);
}
@media (min-width: 768px) { .contact-panel { padding: 4rem 3.5rem; } }
.contact-panel .eyebrow { color: oklch(1 0 0 / 0.8); }
.contact-panel h2 { color: white; margin-top: 0.75rem; font-size: 1.875rem; font-weight: 600; }
@media (min-width: 768px) { .contact-panel h2 { font-size: 2.25rem; } }
.contact-panel p.lede { margin-top: 1rem; color: oklch(1 0 0 / 0.85); font-size: 1.125rem; max-width: 42rem; }
.contact-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2.5rem; }
@media (min-width: 1024px) { .contact-actions { align-items: flex-end; margin-top: 0; } }

/* ---------- Footer ---------- */
.site-footer { margin-top: 6rem; border-top: 1px solid var(--border); background: color-mix(in oklab, var(--secondary) 50%, white); }
.footer-grid { display: grid; gap: 2.5rem; padding-block: 3.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-logo { height: 7rem; width: auto; max-width: none; }
@media (min-width: 768px) { .footer-logo { height: 8rem; } }
.footer-grid p.blurb { margin-top: 1rem; font-size: 0.875rem; color: var(--muted-foreground); max-width: 24rem; }
.footer-heading { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); }
.footer-grid ul { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.footer-grid a { color: var(--muted-foreground); }
.footer-grid a:hover { color: var(--primary); }
.footer-grid .muted { color: var(--muted-foreground); }
.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom .container-x { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.5rem; padding-block: 1.25rem; font-size: 0.75rem; color: var(--muted-foreground); text-align: center; }
@media (min-width: 768px) { .footer-bottom .container-x { flex-direction: row; } }
.footer-cta-strip { border-top: 1px solid var(--border); background: color-mix(in oklab, var(--primary) 5%, white); }
.footer-cta-strip .container-x { padding-block: 1rem; text-align: center; font-size: 0.875rem; color: var(--muted-foreground); }
.footer-cta-strip a { font-weight: 600; color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
.footer-cta-strip a:hover { color: var(--accent); }
