/* Quinn Legal Services — site styles
   Colours are sampled from the Quinn Legal logo (red → orange "Q").
   Orange is for fills and accents only: it fails contrast as text on light backgrounds. */

@font-face { font-family: 'Source Serif 4'; src: url('../fonts/SourceSerif4-latin.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/Inter-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ink: #221A16;
  --ink-muted: #5A4F49;
  --red: #B3241A;        /* text, buttons, links */
  --red-bright: #D82010; /* logo red, fills */
  --orange: #F09000;     /* fills/accents only */
  --amber: #F8B030;
  --cream: #FBF7F2;
  --sand: #F3EBE1;
  --line: #E6DCD0;
  --dark: #1E1714;
  --white: #FFFFFF;
  --ls-navy: #101D2E;    /* Loan Shepherd brand */
  --ls-lime: #C0D72F;

  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(34, 26, 22, .06), 0 8px 24px rgba(34, 26, 22, .07);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--amber); color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.bg-cream { background: var(--cream); }
.bg-sand { background: var(--sand); }
.bg-dark { background: var(--dark); color: #EFE7DF; }
.bg-dark h2, .bg-dark h3 { color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--red-bright), var(--orange)); }
.bg-dark .eyebrow, .hero .eyebrow { color: var(--amber); }
.lede { font-size: 1.18rem; color: var(--ink-muted); max-width: 46em; }
.bg-dark .lede { color: #D9CEC4; }
.light { font-weight: 400; color: var(--ink-muted); }

/* Buttons and arrow links */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font: 600 .98rem/1 var(--sans); text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s ease, color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #941C14; }
.btn-ghost { border-color: currentColor; color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.arrow-link { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.arrow-link::after { content: "→"; transition: transform .15s ease; text-decoration: none; display: inline-block; }
.arrow-link:hover::after { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand img { width: 150px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li > a { display: block; padding: 10px 14px; color: var(--ink); font-weight: 500; font-size: .98rem; text-decoration: none; border-radius: 8px; }
.nav-list > li > a:hover, .nav-list > li > a[aria-current="page"] { color: var(--red); background: var(--cream); }
.has-menu { position: relative; }
.has-menu > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.submenu { position: absolute; top: 100%; left: -12px; min-width: 290px; list-style: none; margin: 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease; }
.has-menu:hover .submenu, .has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 9px 12px; color: var(--ink); text-decoration: none; border-radius: 8px; font-size: .95rem; }
.submenu a:hover { background: var(--cream); color: var(--red); }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  /* backdrop-filter would make the fixed menu panel position against the header */
  .site-header { backdrop-filter: none; background: #fff; }
  .header-inner { min-height: 72px; }
  .brand img { width: 124px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .2s ease; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
  .nav-open .nav-toggle-bars { background: transparent; }
  .nav-open .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
  .nav-open .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }
  .site-nav { position: fixed; inset: 72px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 20px; padding: 16px 24px 32px; overflow-y: auto; display: none; }
  .nav-open .site-nav { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list > li > a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .has-menu > a::after { display: none; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 4px 0 8px 12px; min-width: 0; }
  .submenu a { padding: 8px 4px; }
  .nav-cta { justify-content: center; }
  body.nav-open { overflow: hidden; }
}

/* Home hero */
.hero { position: relative; color: #fff; background: var(--dark) url('../img/brisbane-story-bridge.jpg') center 60% / cover no-repeat; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(30,23,20,.94) 0%, rgba(30,23,20,.82) 45%, rgba(30,23,20,.35) 100%); }
.hero-inner { padding: clamp(80px, 12vw, 150px) 0 clamp(72px, 10vw, 120px); max-width: 720px; }
.hero h1 { color: #fff; }
.hero h1 .accent { background: linear-gradient(90deg, var(--amber), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede { color: #E9DFD6; font-size: 1.25rem; }
.hero-strip { position: relative; background: rgba(255,255,255,.06); border-top: 1px solid rgba(255,255,255,.14); }
.hero-strip ul { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; }
.hero-strip li { padding: 22px 24px 22px 0; display: flex; gap: 14px; align-items: center; font-size: .98rem; color: #E9DFD6; }
.hero-strip li + li { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.14); }
.hero-strip strong { color: #fff; display: block; font-size: 1.02rem; }
.hero-strip .num { font: 600 2rem/1 var(--serif); color: var(--amber); flex: none; min-width: 1.4em; }
@media (max-width: 760px) {
  .hero-strip ul { grid-template-columns: 1fr; }
  .hero-strip li, .hero-strip li + li { padding: 16px 0; border-left: 0; }
  .hero-strip li + li { border-top: 1px solid rgba(255,255,255,.14); }
}

/* Inner-page hero */
.page-hero { position: relative; background: var(--cream); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero .wrap { position: relative; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(48px, 7vw, 80px); }
.page-hero h1 { max-width: 15em; }
.page-hero .lede { margin-bottom: 0; }
.crumbs { font-size: .9rem; margin-bottom: 18px; color: var(--ink-muted); }
.crumbs a { color: var(--ink-muted); }
/* Decorative rings, echoing the logo's Q. */
.rings { position: absolute; right: -120px; top: 50%; width: 460px; height: 460px; transform: translateY(-50%); pointer-events: none; opacity: .9; }
.rings::before, .rings::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 54px solid var(--red-bright); opacity: .1; }
.rings::after { inset: 90px; border-width: 38px; border-color: var(--orange); opacity: .16; }
@media (max-width: 760px) { .rings { width: 300px; height: 300px; right: -170px; } }

/* Split layouts */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.statement { font: 500 clamp(1.5rem, 2.6vw, 2.05rem)/1.3 var(--serif); letter-spacing: -.01em; margin: 0; }
.statement em { font-style: normal; color: var(--red); }

/* Help list (home) */
.help-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.help-list li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.help-list li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, var(--red-bright), var(--orange)); transform: translateY(-2px); }
@media (max-width: 600px) { .help-list { grid-template-columns: 1fr; } }

/* Practice tiles (8 = 4×2 / 2×4, never a half row) */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 210px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: .18s ease; overflow: hidden; }
.tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--red-bright), var(--orange)); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.tile:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.tile:hover::after { transform: scaleX(1); }
.tile .n { font: 600 .82rem/1 var(--sans); color: var(--red); letter-spacing: .1em; }
.tile h3 { font-size: 1.22rem; margin: 0; }
.tile p { font-size: .94rem; color: var(--ink-muted); margin: 0; flex: 1; }
.tile .go { font-weight: 600; font-size: .92rem; color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.tile .go::after { content: " →"; }
@media (max-width: 1020px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 0; } }

/* Person feature */
.person { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.person-photo { position: relative; }
.person-photo img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; object-position: top; width: 100%; }
.person-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--radius); background: linear-gradient(135deg, var(--red-bright), var(--orange)); z-index: -1; }
.person-photo { isolation: isolate; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 18px 18px 18px 0; }
.facts div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.facts strong { display: block; font: 600 1.7rem/1.1 var(--serif); color: var(--red); }
.facts span { font-size: .9rem; color: var(--ink-muted); }
.bg-dark .facts, .bg-dark .facts div + div { border-color: rgba(255,255,255,.16); }
.bg-dark .facts strong { color: var(--amber); }
.bg-dark .facts span { color: #D9CEC4; }
@media (max-width: 820px) { .person { grid-template-columns: 1fr; } .person-photo { max-width: 320px; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts div, .facts div + div { padding: 14px 0; border-left: 0; } .facts div + div { border-top: 1px solid var(--line); } }

/* Loan Shepherd partner panel (uses Loan Shepherd's own brand colours) */
.ls-panel { display: grid; grid-template-columns: 1.1fr .9fr; background: var(--ls-navy); color: #DCE2EA; border-radius: 22px; overflow: hidden; }
.ls-main { padding: clamp(32px, 5vw, 60px); }
.ls-main .eyebrow { color: var(--ls-lime); }
.ls-main .eyebrow::before { background: var(--ls-lime); }
.ls-main h2 { color: #fff; }
.ls-main h2 .light { color: #AEB9C6; font-weight: 400; }
.ls-logo { width: 230px; margin-bottom: 28px; }
.ls-panel a:not(.btn), .ls-callout a:not(.btn) { color: #fff; }
.ls-side { background: rgba(255,255,255,.05); border-left: 1px solid rgba(255,255,255,.1); padding: clamp(32px, 5vw, 60px); display: flex; flex-direction: column; justify-content: center; }
.ls-steps { list-style: none; margin: 0 0 28px; padding: 0; counter-reset: s; }
.ls-steps li { counter-increment: s; display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.ls-steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ls-lime); color: var(--ls-navy); font-weight: 700; font-size: .9rem; }
.ls-steps strong { color: #fff; display: block; }
.ls-contact { font-size: .98rem; }
.ls-contact strong { color: #fff; }
.btn-lime { background: var(--ls-lime); color: var(--ls-navy); }
.btn-lime:hover { background: #D2E556; }
.ls-disclosure { margin: 24px 0 0; font-size: .78rem; line-height: 1.5; color: #8E9AA8; }
@media (max-width: 900px) { .ls-panel { grid-template-columns: 1fr; } .ls-side { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); } }

/* Compact Loan Shepherd callout for practice pages */
.ls-callout { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "logo btn" "text text"; gap: 18px 24px; align-items: center; background: var(--ls-navy); color: #DCE2EA; border-radius: var(--radius); padding: 28px 30px; margin-top: 40px; }
.ls-callout img { grid-area: logo; width: 170px; }
.ls-callout > div { grid-area: text; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
.ls-callout .btn { grid-area: btn; }
.ls-callout h3 { color: #fff; font-size: 1.15rem; margin: 0 0 4px; }
.ls-callout p { margin: 0; font-size: .95rem; }
.ls-callout .ls-disclosure { margin-top: 8px; }
@media (max-width: 560px) { .ls-callout { grid-template-columns: 1fr; grid-template-areas: "logo" "text" "btn"; } .ls-callout .btn { justify-self: start; } }

/* Offices */
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.office { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; overflow: hidden; }
.office::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--red-bright), var(--orange)); }
.office .suburb { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.office h3 { margin-bottom: 14px; }
.office dl { margin: 0; display: grid; grid-template-columns: 74px 1fr; gap: 8px 12px; font-size: .98rem; }
.office dt { color: var(--ink-muted); }
.office dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 760px) { .offices { grid-template-columns: 1fr; } }

/* CTA band */
.cta { background: linear-gradient(110deg, var(--red) 0%, var(--red-bright) 55%, #E8561A 100%); color: #fff; border-radius: 22px; padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.cta::after { content: ""; position: absolute; right: -80px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%; border: 50px solid rgba(255,255,255,.12); z-index: -1; }
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { margin: 0; color: #FFE7DC; font-size: 1.08rem; }
.cta .btn-white { background: #fff; color: var(--red); }
.cta .btn-white:hover { background: var(--cream); }
.cta .btn-row { margin-top: 0; }
@media (max-width: 820px) { .cta { grid-template-columns: 1fr; } }

/* Practice page body */
.practice-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.aside { position: sticky; top: 108px; display: grid; gap: 16px; }
.aside-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.aside-card h2 { font-size: 1.2rem; margin-bottom: 10px; }
.aside-card p { font-size: .96rem; }
.aside-card .btn { width: 100%; justify-content: center; }
.aside-card .btn + .btn { margin-top: 10px; }
.aside-links { list-style: none; margin: 0; padding: 0; }
.aside-links li { border-top: 1px solid var(--line); }
.aside-links a { display: flex; justify-content: space-between; padding: 10px 0; font-size: .95rem; text-decoration: none; color: var(--ink); }
.aside-links a::after { content: "→"; color: var(--red); }
.aside-links a:hover { color: var(--red); }
.aside-links a[aria-current="page"] { color: var(--red); font-weight: 600; }
@media (max-width: 960px) { .practice-layout { grid-template-columns: 1fr; } .aside { position: static; } }

.ticks { list-style: none; padding: 0 !important; margin: 0 0 1.4em; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.ticks.one { grid-template-columns: 1fr; }
.ticks li { position: relative; padding-left: 30px; margin: 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23B3241A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (max-width: 640px) { .ticks { grid-template-columns: 1fr; } }

.steps { list-style: none; padding: 0 !important; margin: 0 0 1.6em; counter-reset: st; display: grid; gap: 14px; }
.steps li { counter-increment: st; position: relative; padding: 22px 22px 22px 78px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); margin: 0; }
.steps li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 22px; top: 20px; font: 600 1.6rem/1 var(--serif); color: var(--red); }
.steps h3 { font-size: 1.12rem; margin: 0 0 6px; }
.steps p { margin: 0; font-size: .98rem; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0 0 1.6em; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p, .card ul { font-size: .95rem; margin: 0; color: var(--ink-muted); }
.card ul { padding-left: 1.1em; }
@media (max-width: 1100px) { .cards.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards, .cards.three { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; margin: 0 0 1.6em; }
.chips li { margin: 0; padding: 8px 14px; border-radius: 999px; background: var(--sand); font-size: .92rem; font-weight: 500; }

.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 1.15rem/1.3 var(--serif); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 1.6rem/1 var(--sans); color: var(--red); transition: transform .2s ease; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa .answer { padding-bottom: 20px; }

.note { background: #FFF6E6; border-left: 4px solid var(--orange); padding: 16px 20px; border-radius: 0 10px 10px 0; font-size: .97rem; margin: 0 0 1.6em; }

/* Areas of practice index (rows rather than cards) */
.area-rows { border-top: 1px solid var(--line); margin-top: 40px; }
.area-row { display: grid; grid-template-columns: 70px 1.1fr 1.4fr 40px; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background .15s ease; }
.area-row:hover { background: var(--cream); }
.area-row .n { font: 600 1rem/1 var(--sans); color: var(--red); padding-left: 8px; }
.area-row h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 0; }
.area-row p { margin: 0; color: var(--ink-muted); font-size: .98rem; }
.area-row .arr { font-size: 1.4rem; color: var(--red); transition: transform .15s ease; }
.area-row:hover .arr { transform: translateX(4px); }
.area-row:hover h2 { color: var(--red); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
@media (max-width: 760px) { .area-row { grid-template-columns: 1fr 30px; gap: 6px 16px; } .area-row .n { display: none; } .area-row p { grid-column: 1; } .area-row .arr { grid-row: 1 / span 2; grid-column: 2; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.16); }
.values div { padding: 28px 28px 8px 0; }
.values div + div { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.16); }
.values h3 { font-size: 1.25rem; }
.values p { color: #D9CEC4; font-size: .98rem; }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; } .values div, .values div + div { padding: 22px 0 6px; border-left: 0; } .values div + div { border-top: 1px solid rgba(255,255,255,.16); } }

/* Contact */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.contact-card header { background: var(--dark); color: #fff; padding: 26px 28px; }
.contact-card header .suburb { color: var(--amber); font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.contact-card header h2 { color: #fff; font-size: 1.6rem; margin: 10px 0 0; }
.contact-card .body { padding: 10px 28px 28px; }
.contact-line { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-child { border-bottom: 0; }
.contact-line .ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; color: var(--red); }
.contact-line .ico svg { width: 18px; height: 18px; }
.contact-line small { display: block; color: var(--ink-muted); font-size: .82rem; }
.contact-line a, .contact-line span { font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 820px) { .contact-cards { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--cream); border-top: 1px solid var(--line); padding-top: 64px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand img { width: 150px; margin-bottom: 16px; }
.logo-multiply { mix-blend-mode: multiply; }
.footer-brand p { color: var(--ink-muted); max-width: 26em; }
.footer-head { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }
.footer-head + p { margin-bottom: 24px; }
.footer-links { list-style: none; margin: 0; padding: 0; columns: 1; }
.footer-links li { margin-bottom: 8px; }
.site-footer p a { overflow-wrap: anywhere; }
.footer-legal { border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 32px; font-size: .84rem; color: var(--ink-muted); }
.footer-legal p { margin-bottom: 6px; }
.footer-legal strong { color: var(--ink); font-weight: 600; letter-spacing: .02em; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  body { font-size: 16px; }
  .hero p.lede, .lede { font-size: 1.06rem; }
  .eyebrow { letter-spacing: .1em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
.mt { margin-top: 32px; }
