:root {
  --night: #071113;
  --night-2: #0b181a;
  --night-3: #102224;
  --teal: #59c4bc;
  --teal-bright: #79e2d9;
  --paper: #f1efe8;
  --paper-2: #dedbd2;
  --ink: #102022;
  --muted-dark: #6f7e7e;
  --muted-light: #a7b4b3;
  --line-dark: rgba(255,255,255,.13);
  --line-light: rgba(16,32,34,.15);
  --sans: "Aptos", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--paper); background: var(--night); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 300; left: 1rem; top: 1rem; transform: translateY(-180%); background: var(--paper); color: var(--ink); padding: .75rem 1rem; border-radius: 6px; }
.skip-link:focus { transform: none; }

.site-header { position: absolute; z-index: 30; top: 0; left: 0; width: 100%; color: var(--paper); }
.nav-shell { width: min(100% - 64px, 1420px); min-height: 96px; margin: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-dark); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(121,226,217,.48); border-radius: 50%; color: var(--teal-bright); font-size: 1rem; font-weight: 800; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: 1.05rem; letter-spacing: .19em; }
.brand-copy small { margin-top: 5px; color: var(--muted-light); font-size: .59rem; font-weight: 600; letter-spacing: .23em; }
.primary-nav { display: flex; align-items: center; gap: 28px; font-size: .85rem; }
.primary-nav a { position: relative; text-decoration: none; color: #c6cfce; }
.primary-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 100%; height: 1px; background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 11px 18px; border: 1px solid rgba(121,226,217,.5); border-radius: 6px; color: var(--paper) !important; }
.nav-cta:hover, .nav-cta:focus-visible { background: rgba(89,196,188,.13); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 50%; color: var(--paper); background: transparent; padding: 11px; }
.menu-toggle span:not(.sr-only) { display: block; height: 1px; margin: 5px 0; background: currentColor; }

.hero { position: relative; min-height: 920px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(360px, .65fr); grid-template-rows: 1fr auto; gap: 0 64px; padding: 175px max(32px, calc((100vw - 1420px) / 2)) 0; overflow: hidden; background: radial-gradient(circle at 82% 35%, rgba(89,196,188,.12), transparent 24%), linear-gradient(140deg, #071113 0%, #0a1719 58%, #081315 100%); }
.hero-grid { position: absolute; inset: 0; opacity: .18; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 96px 96px; mask-image: linear-gradient(to bottom, black, transparent 82%); }
.hero-copy { position: relative; z-index: 2; align-self: center; padding: 20px 0 80px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; color: var(--muted-light); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span { width: 32px; height: 1px; flex: 0 0 auto; background: var(--teal); }
.eyebrow.dark { color: #687776; }
.hero h1 { max-width: 920px; margin: 0; font-size: clamp(4.2rem, 7.8vw, 8.1rem); font-weight: 600; line-height: .88; letter-spacing: -.07em; }
.hero h1 span, h2 span { color: var(--teal); }
.hero-intro { max-width: 700px; margin: 40px 0 0; color: #b6c0bf; font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.78; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 40px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 54px; padding: 0 22px; border: 0; border-radius: 6px; cursor: pointer; text-decoration: none; font-size: .87rem; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: var(--night); background: var(--teal-bright); }
.button-primary:hover, .button-primary:focus-visible { background: var(--paper); }
.button-light { color: var(--night); background: var(--paper); }
.text-link { color: var(--paper); font-size: .87rem; text-underline-offset: 7px; }
.response-panel { position: relative; z-index: 2; align-self: center; min-height: 510px; display: flex; flex-direction: column; justify-content: space-between; margin-bottom: 70px; padding: 28px; border: 1px solid rgba(121,226,217,.24); border-radius: var(--radius); background: linear-gradient(145deg, rgba(16,34,36,.84), rgba(7,17,19,.95)); box-shadow: 0 40px 100px rgba(0,0,0,.25); }
.response-panel::before { content: ""; position: absolute; inset: 18px; border: 1px solid var(--line-dark); border-radius: 9px; pointer-events: none; }
.response-topline { position: relative; display: flex; align-items: center; gap: 11px; color: var(--muted-light); font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 6px rgba(121,226,217,.09); }
.response-time { position: relative; display: flex; align-items: end; gap: 15px; padding: 30px 0 0 8px; line-height: .8; }
.response-time strong { font-size: clamp(7rem, 11vw, 10.5rem); font-weight: 300; letter-spacing: -.09em; color: var(--paper); }
.response-time span { padding-bottom: 13px; color: var(--teal); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; writing-mode: vertical-rl; }
.response-panel > p { position: relative; max-width: 285px; margin: 0 0 10px 8px; color: #b6c0bf; font-size: .95rem; }
.response-tags { position: relative; display: flex; flex-wrap: wrap; gap: 7px; }
.response-tags span { padding: 7px 9px; border: 1px solid var(--line-dark); border-radius: 4px; color: #aeb9b8; font-size: .66rem; }
.hero-highlights { position: relative; z-index: 2; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.hero-highlights div { min-height: 142px; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding: 24px; border-right: 1px solid var(--line-dark); }
.hero-highlights div:first-child { padding-left: 0; }
.hero-highlights div:last-child { border-right: 0; }
.hero-highlights strong { color: var(--teal); font-size: .67rem; letter-spacing: .12em; }
.hero-highlights span { color: #b2bdbc; font-size: .84rem; line-height: 1.5; }

.dva-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; padding: 150px max(32px, calc((100vw - 1420px) / 2)); color: var(--ink); background: var(--paper); }
.section-intro h2, .section-heading h2, .mobile-heading h2, .contact-copy h2 { margin: 0; font-size: clamp(3.2rem, 5.4vw, 5.6rem); font-weight: 600; line-height: .94; letter-spacing: -.06em; }
.dva-content .lead { max-width: 760px; margin: 0 0 45px; color: #3f5151; font-size: 1.12rem; line-height: 1.8; }
.pathway-list { border-top: 1px solid var(--line-light); }
.pathway-list article { display: grid; grid-template-columns: 42px 1fr; gap: 24px; padding: 27px 0; border-bottom: 1px solid var(--line-light); }
.pathway-list b { color: #3faaa3; font-size: .7rem; letter-spacing: .12em; }
.pathway-list h3 { margin: 0 0 5px; font-size: 1rem; }
.pathway-list p { margin: 0; color: var(--muted-dark); font-size: .88rem; }
.dva-cta { display: flex; justify-content: center; margin-top: 34px; }
.fine-print { margin: 25px 0 0; color: #778584; font-size: .76rem; line-height: 1.7; }

.services-section { padding: 150px max(32px, calc((100vw - 1420px) / 2)); background: var(--night-2); }
.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 80px; }
.section-heading > p { max-width: 470px; margin: 0 0 5px; color: var(--muted-light); line-height: 1.8; }
.podiatry-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 78px; padding: 55px; border: 1px solid rgba(121,226,217,.35); border-radius: var(--radius); background: radial-gradient(circle at 8% 10%, rgba(89,196,188,.15), transparent 27%), #0d2022; }
.service-index { color: var(--teal); font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.podiatry-title h3 { margin: 72px 0 20px; font-size: clamp(3.6rem, 6vw, 6.5rem); font-weight: 500; line-height: .9; letter-spacing: -.065em; }
.podiatry-title p { max-width: 570px; margin: 0 0 35px; color: #afbbba; }
.podiatry-list { align-self: end; border-top: 1px solid var(--line-dark); }
.podiatry-list div { display: grid; grid-template-columns: 38px 1fr; gap: 15px; padding: 19px 0; border-bottom: 1px solid var(--line-dark); }
.podiatry-list span { color: var(--teal); font-size: .66rem; }
.podiatry-list p { margin: 0; color: #d0d7d6; font-size: .91rem; }
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 24px; border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.service-card { min-height: 390px; padding: 28px 24px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: rgba(255,255,255,.018); }
.service-card > span { color: var(--teal); font-size: .66rem; letter-spacing: .12em; }
.service-card h3 { min-height: 62px; margin: 60px 0 15px; font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.service-card > p { margin: 0; color: var(--muted-light); font-size: .84rem; line-height: 1.72; }
.service-card details { margin-top: 30px; padding-top: 15px; border-top: 1px solid var(--line-dark); }
.service-card summary { color: #dbe1df; cursor: pointer; font-size: .76rem; text-decoration: underline; text-underline-offset: 5px; }
.service-card details p { margin: 15px 0 0; color: var(--muted-light); font-size: .78rem; line-height: 1.65; }

.mobile-section { padding: 150px max(32px, calc((100vw - 1420px) / 2)); color: var(--ink); background: var(--paper-2); }
.mobile-heading { display: grid; grid-template-columns: 1fr 1fr; column-gap: 80px; }
.mobile-heading .eyebrow { grid-column: 1 / -1; }
.mobile-heading > p:last-child { max-width: 590px; align-self: end; margin: 0 0 4px; color: #566765; line-height: 1.8; }
.mobile-options { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.mobile-options article { min-height: 275px; padding: 31px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.mobile-options span { color: #238b84; font-size: .65rem; font-weight: 800; letter-spacing: .13em; }
.mobile-options h3 { margin: 65px 0 10px; font-size: 1.18rem; }
.mobile-options p { margin: 0; color: #5d6b6a; font-size: .86rem; }
.aged-care-callout { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 34px; padding: 28px 32px; color: var(--paper); background: var(--ink); }
.aged-care-callout p { margin: 0; color: #bbc4c3; }
.aged-care-callout p span { margin-right: 14px; color: var(--teal-bright); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.aged-care-callout a { flex: 0 0 auto; color: var(--paper); font-size: .82rem; text-underline-offset: 6px; }

.funding-section { padding: 140px max(32px, calc((100vw - 1420px) / 2)); background: var(--night); }
.funding-heading { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; align-items: end; }
.funding-heading .eyebrow { grid-column: 1 / -1; }
.funding-heading h2 { margin: 0; font-size: clamp(3rem, 5.2vw, 5.4rem); font-weight: 600; line-height: .95; letter-spacing: -.06em; }
.funding-heading > p:last-child { max-width: 520px; margin: 0 0 5px; color: var(--muted-light); }
.funding-grid { display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 64px; border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.funding-grid div { min-height: 160px; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.funding-grid span { color: var(--teal); font-size: .62rem; font-weight: 800; letter-spacing: .12em; }
.funding-grid strong { color: #d7dedc; font-size: 1.05rem; font-weight: 650; line-height: 1.3; letter-spacing: -.015em; }

.contact-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; padding: 150px max(32px, calc((100vw - 1420px) / 2)); color: var(--ink); background: var(--paper); }
.contact-copy > p:not(.eyebrow) { max-width: 580px; margin: 34px 0; color: #5d6d6c; }
.contact-list { margin: 45px 0 0; border-top: 1px solid var(--line-light); }
.contact-list div { display: grid; grid-template-columns: 92px 1fr; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.contact-list dt { color: #778685; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-list dd { margin: 0; color: var(--ink); font-size: .88rem; overflow-wrap: anywhere; }
.callback-form { padding: 44px; border: 1px solid var(--line-light); border-radius: var(--radius); background: #e8e5dc; }
.form-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 38px; padding-bottom: 24px; border-bottom: 1px solid var(--line-light); }
.form-heading span { font-size: 1.35rem; font-weight: 700; }
.form-heading b { max-width: 160px; color: #788483; font-size: .68rem; font-weight: 600; text-align: right; }
.callback-form label:not(.consent) { display: block; margin: 19px 0 7px; color: #526260; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.callback-form input:not([type="checkbox"]), .callback-form select, .callback-form textarea { width: 100%; min-height: 52px; padding: 0 14px; border: 1px solid rgba(16,32,34,.24); border-radius: 5px; outline: none; color: var(--ink); background: rgba(255,255,255,.48); }
.callback-form textarea { min-height: 118px; padding-top: 14px; resize: vertical; font: inherit; line-height: 1.5; }
.callback-form input:focus, .callback-form select:focus, .callback-form textarea:focus { border-color: #258e87; box-shadow: 0 0 0 3px rgba(37,142,135,.12); }
.callback-form .optional { margin-left: 6px; color: #7b8786; font-size: .62rem; font-weight: 650; letter-spacing: .04em; text-transform: none; }
.callback-form .form-honey { position: absolute; left: -10000px; width: 1px !important; height: 1px; min-height: 0 !important; overflow: hidden; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 24px 0 0; color: #526260; font-size: .78rem; }
.consent input { width: 18px; height: 18px; flex: 0 0 auto; margin: 2px 0 0; accent-color: #238b84; }
.form-submit { width: 100%; margin-top: 25px; }
.form-submit:disabled { cursor: wait; opacity: .65; }
.form-status { min-height: 24px; margin: 14px 0 0; color: #247b75; font-size: .77rem; }
.form-status.error { color: #a02f2f; }

.location-strip { display: grid; grid-template-columns: .8fr 1fr 1fr; align-items: stretch; padding: 0 max(32px, calc((100vw - 1420px) / 2)); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: var(--night-3); }
.location-partner { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 36px 38px 36px 0; }
.location-partner > span, .location-card > span { color: var(--teal); font-size: .67rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.location-partner a { width: fit-content; color: var(--paper); font-size: 1.2rem; font-weight: 600; text-decoration: none; }
.location-partner a span { color: var(--teal); }
.location-card { display: flex; flex-direction: column; justify-content: center; min-height: 150px; padding: 30px 38px; border-left: 1px solid var(--line-dark); color: var(--paper); text-decoration: none; transition: background .2s ease; }
.location-card:hover, .location-card:focus-visible { background: rgba(89,196,188,.07); }
.location-card strong { margin-top: 12px; font-size: 1rem; font-weight: 550; }
.location-card small { margin-top: 5px; color: #899795; font-size: .76rem; }
footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 60px; padding: 38px max(32px, calc((100vw - 1420px) / 2)); color: #899795; background: #040c0d; font-size: .73rem; }
.footer-brand { color: var(--paper); }
footer p { margin: 5px 0 0; }
footer > div { text-align: right; }
.footer-meta a { color: #c6d0cf; text-underline-offset: 5px; }

.privacy-main { min-height: calc(100vh - 180px); padding: 150px max(24px, calc((100vw - 880px) / 2)) 100px; color: var(--ink); background: var(--paper); }
.privacy-main h1 { margin: 0 0 25px; font-size: clamp(3rem, 7vw, 5.6rem); line-height: .95; letter-spacing: -.06em; }
.privacy-main h2 { margin: 48px 0 12px; font-size: 1.28rem; }
.privacy-main p, .privacy-main li { color: #526260; }
.privacy-main ul { padding-left: 20px; }
.privacy-main .updated { color: #7b8786; font-size: .8rem; }
.privacy-header { position: absolute; color: var(--paper); background: var(--night); }

@media (max-width: 1180px) {
  .primary-nav { gap: 18px; }
  .hero { grid-template-columns: 1.15fr .85fr; gap: 40px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .funding-grid { grid-template-columns: repeat(4, 1fr); }
  .dva-section, .contact-section { gap: 65px; }
}

@media (max-width: 860px) {
  .nav-shell { width: min(100% - 36px, 1420px); min-height: 80px; }
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; top: 72px; left: 18px; right: 18px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; border: 1px solid var(--line-dark); border-radius: 10px; background: rgba(7,17,19,.98); }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 13px; }
  .nav-cta { margin-top: 5px; text-align: center; }
  .hero { min-height: auto; grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 0; padding: 125px 24px 0; }
  .hero-copy { padding: 40px 0 65px; }
  .hero h1 { font-size: clamp(3.7rem, 14vw, 6.2rem); }
  .response-panel { min-height: 380px; margin: 0 0 60px; }
  .response-time strong { font-size: clamp(7rem, 28vw, 10rem); }
  .hero-highlights { grid-template-columns: repeat(2, 1fr); }
  .hero-highlights div:first-child { padding-left: 24px; }
  .hero-highlights div:nth-child(2) { border-right: 0; }
  .dva-section, .contact-section { grid-template-columns: 1fr; gap: 55px; padding: 100px 24px; }
  .services-section, .mobile-section, .funding-section { padding: 100px 24px; }
  .section-heading, .mobile-heading, .funding-heading { grid-template-columns: 1fr; gap: 28px; }
  .mobile-heading .eyebrow, .funding-heading .eyebrow { grid-column: auto; }
  .podiatry-feature { grid-template-columns: 1fr; gap: 45px; padding: 38px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .mobile-options { grid-template-columns: 1fr; }
  .mobile-options article { min-height: auto; }
  .mobile-options h3 { margin-top: 35px; }
  .aged-care-callout { align-items: flex-start; flex-direction: column; }
  .funding-grid { grid-template-columns: repeat(2, 1fr); }
  .location-strip { grid-template-columns: 1fr; }
  .location-partner { padding: 32px 0; }
  .location-card { min-height: 130px; padding: 28px 0; border-top: 1px solid var(--line-dark); border-left: 0; }
  footer { grid-template-columns: 1fr; gap: 20px; }
  footer > div { text-align: left; }
}

@media (max-width: 560px) {
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .text-link { text-align: center; }
  .hero-highlights { grid-template-columns: 1fr; }
  .hero-highlights div { min-height: 112px; border-right: 0; border-bottom: 1px solid var(--line-dark); padding-left: 0 !important; }
  .section-intro h2, .section-heading h2, .mobile-heading h2, .contact-copy h2 { font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .podiatry-feature { padding: 28px 22px; }
  .podiatry-title h3 { margin-top: 52px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-card h3 { min-height: auto; margin-top: 42px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .callback-form { padding: 28px 20px; }
  .form-heading { align-items: flex-start; flex-direction: column; }
  .form-heading b { text-align: left; }
  .funding-grid { grid-template-columns: 1fr; }
  .funding-grid div { min-height: 125px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
