/* ==========================================================================
   Ocean Earth Psychology — Psychology Services Australia Wide
   ========================================================================== */

:root {
  --ink: #16313d;
  --ink-soft: #3f5762;
  --muted: #6a7f88;
  --bg: #fbf8f3;          /* sand */
  --bg-alt: #f1ebe1;
  --sea-mist: #e6f0f1;
  --surface: #ffffff;
  --line: #e3dccf;
  --ocean: #1f5f73;       /* deep ocean */
  --ocean-dark: #123f4e;
  --teal: #3d8f94;        /* shallow water */
  --teal-tint: #d9ebeb;
  --earth: #a86f4c;       /* clay / earth */
  --earth-tint: #f3e4d8;
  --sage: #7c9a7e;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 2px 6px rgba(22, 49, 61, .04), 0 14px 34px rgba(22, 49, 61, .07);
  --max: 1180px;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.075rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ocean); text-underline-offset: 3px; }
a:hover { color: var(--earth); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .55em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1.1em; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 40em; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ocean); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--earth); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 8'%3E%3Cpath d='M1 5c2.5-3 5-3 7 0s4.5 3 7 0 4.5-3 6 0' fill='none' stroke='%233d8f94' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.center .eyebrow, .eyebrow.center { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem; border-radius: 14px;
  font-weight: 700; font-size: 1rem; font-family: inherit;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--ocean); color: #fff; box-shadow: 0 8px 20px -8px rgba(31,95,115,.6); }
.btn-primary:hover { background: var(--ocean-dark); color: #fff; }
.btn-earth { background: var(--earth); color: #fff; }
.btn-earth:hover { background: #8e5a3b; color: #fff; }
.btn-outline { border-color: var(--ocean); color: var(--ocean); background: transparent; }
.btn-outline:hover { background: var(--ocean); color: #fff; }
.btn-white { background: #fff; color: var(--ocean-dark); }
.btn-white:hover { background: var(--earth-tint); color: var(--ocean-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { width: 44px; height: 44px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--serif); font-size: 1.5rem; letter-spacing: -0.005em; }
.logo-name span { color: var(--earth); }
.logo-name b { font-weight: 400; color: var(--ocean); }
.logo-tag { margin-top: .35rem; font-size: .62rem; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.logo--light, .logo--light:hover { color: #fff; }
.logo--light .logo-name b { color: #a9d7d8; }
.logo--light .logo-name span { color: #eac2a6; }
.logo--light .logo-tag { color: #9fb8c0; }

/* ---------- Header ---------- */
.topbar { background: var(--ocean-dark); color: #cfe3e6; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 700; }
.topbar a:hover { color: #eac2a6; }
.topbar .bb { display: inline-flex; align-items: center; gap: .45rem; }
.topbar .bb::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8fd1b0; box-shadow: 0 0 0 3px rgba(143,209,176,.25); }
@media (max-width: 600px) { .topbar .hide-sm { display: none; } .topbar .container { justify-content: center; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .9); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(22,49,61,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 1rem; }
.nav ul { list-style: none; display: flex; align-items: center; gap: .3rem; margin: 0; padding: 0; }
.nav a { display: block; text-decoration: none; color: var(--ink-soft); font-weight: 700; font-size: .97rem; padding: .5rem .9rem; border-radius: 10px; }
.nav a:hover { color: var(--ocean); background: var(--sea-mist); }
.nav a[aria-current="page"] { color: var(--ocean); background: var(--teal-tint); }
.nav .btn { color: #fff; margin-left: .6rem; padding: .7rem 1.2rem; }
.nav .btn:hover, .nav .btn[aria-current="page"] { background: var(--ocean-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); display: none; box-shadow: 0 20px 30px -20px rgba(22,49,61,.3); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: .2rem; padding: .75rem 1.25rem 1.25rem; }
  .nav a { padding: .85rem 1rem; }
  .nav .btn { margin: .6rem 0 0; }
}

/* ---------- Sections ---------- */
section { padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-sea { background: var(--sea-mist); }
.section-head { max-width: 700px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; }
.section-head.center .lead { margin-inline: auto; }

.wave { display: block; width: 100%; height: 60px; color: var(--bg-alt); margin-bottom: -1px; }
.wave--sea { color: var(--sea-mist); }
.wave--ocean { color: var(--ocean-dark); }
.wave-bottom { transform: scaleY(-1); margin-top: -1px; margin-bottom: 0; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(61,143,148,.16), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(168,111,76,.10), transparent 60%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 .accent { color: var(--ocean); font-style: italic; }
.badge-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: .45rem .95rem; font-size: .88rem; font-weight: 700; color: var(--ink-soft);
}
.badge svg { width: 16px; height: 16px; color: var(--teal); }

.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 500px; justify-self: center; width: 100%; }
.hero-visual .orb {
  position: absolute; inset: 0; border-radius: 46% 54% 52% 48% / 52% 44% 56% 48%;
  background: linear-gradient(180deg, #7fbfc2 0%, var(--teal) 38%, var(--ocean) 58%, #b68863 58.5%, var(--earth) 80%, #8a5a3d 100%);
  box-shadow: 0 40px 80px -30px rgba(18,63,78,.55);
  overflow: hidden;
}
.hero-visual .orb svg { position: absolute; left: 0; width: 100%; }
.hero-visual .card-float {
  position: absolute; background: var(--surface); border-radius: 18px; padding: 1rem 1.2rem;
  box-shadow: var(--shadow); display: flex; gap: .8rem; align-items: center; font-size: .92rem; line-height: 1.35;
}
.hero-visual .card-float strong { display: block; font-size: 1rem; color: var(--ink); }
.hero-visual .card-float span { color: var(--muted); }
.hero-visual .card-float .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.hero-visual .card-float .ic svg { width: 22px; height: 22px; }
.card-float.one { left: -6%; top: 12%; }
.card-float.one .ic { background: var(--teal-tint); color: var(--ocean); }
.card-float.two { right: -4%; bottom: 10%; }
.card-float.two .ic { background: var(--earth-tint); color: var(--earth); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 380px; margin-top: 1rem; }
  .card-float.one { left: 0; }
  .card-float.two { right: 0; }
}

/* ---------- Page hero ---------- */
.page-hero { padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 5vw, 4rem); background: radial-gradient(800px 380px at 90% 0%, rgba(61,143,148,.14), transparent 60%); }
.page-hero h1 { max-width: 15em; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--muted); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; border: 1px solid rgba(227,220,207,.6); }
.card:hover { transform: translateY(-4px); box-shadow: 0 4px 10px rgba(22,49,61,.05), 0 24px 44px rgba(22,49,61,.1); }
.card h3 { margin-bottom: .45rem; font-size: 1.3rem; }
.card p { color: var(--ink-soft); font-size: 1rem; margin: 0; }
.card .icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--teal-tint); color: var(--ocean); margin-bottom: 1.2rem; }
.card .icon svg { width: 28px; height: 28px; }
.card:nth-child(3n+2) .icon { background: var(--earth-tint); color: var(--earth); }
.card:nth-child(3n+3) .icon { background: #e3ece3; color: #4f7352; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.photo-frame {
  aspect-ratio: 4 / 5; border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
  background: linear-gradient(170deg, #cfe6e7 0%, #a8d0d2 45%, #e9d6c6 100%);
  display: grid; place-items: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.photo-frame .initials { font-family: var(--serif); font-size: clamp(5rem, 13vw, 8rem); color: var(--ocean); opacity: .75; }
.photo-frame .note { position: absolute; bottom: 1rem; left: 1rem; right: 1rem; text-align: center; font-size: .82rem; background: rgba(255,255,255,.75); border-radius: 12px; padding: .5rem; color: var(--ink-soft); }

.tick-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .85rem; }
.tick-list li { display: flex; gap: .8rem; align-items: flex-start; }
.tick-list li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: .2rem; border-radius: 50%;
  background: var(--teal-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5f73' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") no-repeat center / 14px;
}

/* ---------- Bulk billing feature ---------- */
.bb-panel {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-dark) 100%);
  color: #d4e7ea; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; position: relative; overflow: hidden;
}
.bb-panel::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,111,76,.35), transparent 70%);
}
.bb-panel h2 { color: #fff; }
.bb-panel .big { font-family: var(--serif); font-size: clamp(3rem, 7vw, 4.6rem); color: #fff; line-height: 1; }
.bb-panel .big small { display: block; font-family: var(--sans); font-size: 1rem; color: #a9d7d8; margin-top: .6rem; letter-spacing: .02em; }
.bb-panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; position: relative; z-index: 1; }
.bb-panel li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: .9rem 1.1rem; }
.bb-panel li strong { color: #fff; }
@media (max-width: 820px) { .bb-panel { grid-template-columns: 1fr; } }

/* ---------- Steps (timeline) ---------- */
.timeline { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 1.2rem; }
.timeline li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 1.3rem; align-items: start; background: var(--surface); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.timeline li::before {
  content: counter(s); width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.7rem;
  background: var(--teal-tint); color: var(--ocean);
}
.timeline li:nth-child(even)::before { background: var(--earth-tint); color: var(--earth); }
.timeline h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.timeline p { margin: 0; color: var(--ink-soft); }

.steps-row { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.steps-row li { counter-increment: s; text-align: center; padding: 0 .5rem; position: relative; }
.steps-row li::before {
  content: counter(s); width: 70px; height: 70px; margin: 0 auto 1.1rem; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.8rem;
  background: var(--surface); color: var(--ocean); box-shadow: var(--shadow); border: 2px solid var(--teal-tint);
}
.steps-row li:not(:last-child)::after {
  content: ""; position: absolute; top: 35px; left: calc(50% + 48px); right: calc(-50% + 48px); border-top: 2px dashed #b9d3d4;
}
.steps-row h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.steps-row p { font-size: .97rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 880px) { .steps-row { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; } .steps-row li::after { display: none; } }
@media (max-width: 520px) { .steps-row { grid-template-columns: 1fr; } }

/* ---------- Requirements / info boxes ---------- */
.info-box { background: var(--surface); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.info-box h3 { font-size: 1.3rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; padding: 0; margin: 1.2rem 0 0; }
.pill-list li { background: var(--sea-mist); color: var(--ocean-dark); border-radius: 999px; padding: .45rem 1rem; font-weight: 700; font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; }
.faq details { background: var(--surface); border-radius: 16px; padding: 0 1.5rem; box-shadow: 0 1px 3px rgba(22,49,61,.05); border: 1px solid rgba(227,220,207,.7); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 0; font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--teal-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5f73' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center / 16px; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details > div { padding-bottom: 1.3rem; color: var(--ink-soft); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Approach chips ---------- */
.approach { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.approach div { background: var(--surface); border-radius: 16px; padding: 1.4rem 1.5rem; border-left: 4px solid var(--teal); box-shadow: 0 1px 3px rgba(22,49,61,.05); }
.approach div:nth-child(even) { border-left-color: var(--earth); }
.approach h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.approach p { margin: 0; font-size: .97rem; color: var(--ink-soft); }

.quote { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.35; color: var(--ocean-dark); margin: 2rem 0; padding: 1.5rem 0 0; border-top: 2px solid var(--teal-tint); }

.details-list { margin: 1.5rem 0 0; border-top: 1px solid var(--line); }
.details-list div { display: grid; grid-template-columns: 190px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.details-list dt { font-weight: 800; font-size: .9rem; color: var(--muted); }
.details-list dd { margin: 0; }
@media (max-width: 560px) { .details-list div { grid-template-columns: 1fr; gap: .2rem; } }

/* ---------- CTA ---------- */
.cta-band { background: var(--ocean-dark); color: #cfe3e6; padding: clamp(3.5rem, 7vw, 5rem) 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 36em; margin: 0 auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Crisis notice ---------- */
.crisis { background: var(--earth-tint); border-radius: var(--radius); padding: 1.5rem 1.6rem; color: #5a3420; font-size: .97rem; }
.crisis strong { display: block; color: #4a2716; font-size: 1.05rem; margin-bottom: .35rem; }
.crisis p { margin: 0 0 .4rem; }
.crisis p:last-child { margin: 0; }
.crisis a { color: #6e3d22; font-weight: 800; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.6rem); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 800; font-size: .9rem; margin-bottom: .4rem; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 2px solid var(--line); border-radius: 12px; padding: .8rem .95rem; transition: border-color .2s, background .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.check input { margin-top: .35rem; width: 18px; height: 18px; accent-color: var(--ocean); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .86rem; color: var(--muted); margin-top: 1rem; }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 12px; font-size: .95rem; display: none; }
.form-status.ok { display: block; background: var(--teal-tint); color: var(--ocean-dark); }
.form-status.err { display: block; background: var(--earth-tint); color: #7a3a22; }

.contact-cards { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.contact-card { display: flex; gap: 1rem; align-items: center; background: var(--surface); border-radius: 16px; padding: 1.1rem 1.2rem; box-shadow: 0 1px 3px rgba(22,49,61,.05); text-decoration: none; color: var(--ink); }
a.contact-card:hover { color: var(--ink); box-shadow: var(--shadow); }
.contact-card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-tint); color: var(--ocean); flex: none; }
.contact-card:nth-child(even) .ic { background: var(--earth-tint); color: var(--earth); }
.contact-card .ic svg { width: 24px; height: 24px; }
.contact-card small { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-card span { font-weight: 700; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ocean-dark); color: #a9c1c8; padding: 1rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-top: 3rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: #fff; font-weight: 800; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: #a9c1c8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-about { max-width: 24rem; margin-top: 1.2rem; }
.acknowledgement { margin-top: 3rem; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; color: #92aeb6; max-width: 60rem; }
.footer-bottom { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .82rem; color: #7f9ba3; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* Prevent long words (emails) forcing horizontal scroll */
.split > *, .timeline li > div, .contact-grid > * { min-width: 0; }
.timeline p, .info-box p, .contact-card span { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .timeline li { grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.3rem; }
  .timeline li::before { width: 44px; height: 44px; font-size: 1.3rem; }
}
