:root {
  --navy: #041f33;
  --blue: #0c527f;
  --bright: #52c4ed;
  --ink: #0c2739;
  --muted: #556c7a;
  --line: #d4e0e6;
  --mist: #f0f5f7;
  --white: #ffffff;
  --shell: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin: 0 auto; }
.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: 100; left: 16px; top: -100px; padding: 10px 16px; background: white; color: var(--navy); }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(7,43,69,.1);
  box-shadow: 0 8px 30px rgba(4,31,51,.035);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; width: 150px; flex: 0 0 auto; align-items: center; }
.brand img { width: 100%; height: auto; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 34px; }
.primary-nav a { font-weight: 600; font-size: .86rem; letter-spacing: .015em; text-decoration: none; }
.primary-nav > a:not(.nav-cta) { position: relative; }
.primary-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 2px; background: var(--bright); transition: width .22s ease; }
.primary-nav > a:hover::after, .primary-nav > a:focus-visible::after { width: 100%; }
.nav-cta { padding: 11px 16px; color: white; background: var(--navy); transition: background .2s ease, transform .2s ease; }
.nav-cta:hover { background: var(--blue); transform: translateY(-1px); }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; }
.menu-button span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--navy); }

.hero {
  min-height: 660px;
  position: relative;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(90deg, rgba(4,31,51,.97) 0%, rgba(4,31,51,.93) 43%, rgba(4,31,51,.69) 70%, rgba(4,31,51,.42) 100%),
    linear-gradient(180deg, rgba(4,31,51,.08), rgba(4,31,51,.62)),
    url("sydney-harbour-corporate.jpg") center 58% / cover no-repeat;
}
.hero-grid { position: absolute; inset: 0; opacity: .045; background-image: linear-gradient(rgba(255,255,255,.32) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.32) 1px, transparent 1px); background-size: 112px 112px; mask-image: linear-gradient(to right, transparent 5%, black 72%, black 100%); }
.hero::before { content: ""; position: absolute; width: 43%; height: 118%; right: -4%; top: -9%; transform: skewX(-11deg); background: linear-gradient(145deg, rgba(82,196,237,.11), rgba(4,31,51,.03)); border-left: 1px solid rgba(255,255,255,.12); }
.hero-orbit { position: absolute; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.orbit-one { width: 560px; height: 560px; right: -150px; top: -170px; }
.orbit-two { width: 900px; height: 900px; right: -380px; top: -340px; }
.hero-inner { position: relative; z-index: 2; min-height: 575px; display: grid; grid-template-columns: 1fr .42fr; align-items: center; gap: 80px; }
.hero-copy { max-width: 800px; padding: 72px 0 48px; animation: hero-in .7s cubic-bezier(.2,.75,.25,1) both; }
.eyebrow, .section-index { margin: 0 0 22px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; font-size: .72rem; }
.eyebrow { color: #86d5f4; }
h1, h2, h3 { font-family: "Libre Franklin", "DM Sans", sans-serif; line-height: 1.08; letter-spacing: -.035em; }
h1 { margin: 0; max-width: 810px; font-size: clamp(3.2rem, 5.8vw, 5.2rem); font-weight: 700; line-height: 1.02; letter-spacing: -.052em; }
h1 span { color: #8ddaf5; }
.hero-lede { max-width: 650px; margin: 28px 0 0; color: #d5e6ed; font-size: 1.08rem; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 36px; }
.button { display: inline-flex; gap: 14px; align-items: center; padding: 14px 20px; font-weight: 700; text-decoration: none; }
.button-light { color: var(--navy); background: white; }
.text-link { color: white; font-weight: 700; text-decoration: none; }
.hero-mark { justify-self: end; display: grid; gap: 28px; align-items: end; }
.hero-mark > span { display: flex; width: 184px; height: 184px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.025); box-shadow: inset 0 0 0 8px rgba(255,255,255,.018); font-family: "Libre Franklin", sans-serif; font-size: 6.5rem; font-weight: 800; line-height: 1; }
.mark-caption { padding-left: 22px; border-left: 2px solid var(--bright); color: #a8c8d8; font-size: .84rem; letter-spacing: .12em; line-height: 1.9; text-transform: uppercase; }
.hero-foot { position: relative; z-index: 2; min-height: 85px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.15); color: #9fbac7; font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; }

.section { padding: 132px 0; }
.section-index { color: var(--blue); }
.section-index.light { color: #8bd9f6; }
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 132px; }
.intro h2, .approach h2, .contact-band h2 { margin: 0; font-size: clamp(2.35rem, 4.5vw, 4.15rem); }
.intro-copy { padding-top: 43px; }
.intro-copy p { color: var(--muted); max-width: 620px; }
.intro-copy .lead { margin-top: 0; color: var(--ink); font-size: 1.36rem; line-height: 1.5; }
.principles { margin-top: 44px; border-top: 1px solid var(--line); }
.principles div { display: grid; grid-template-columns: 55px 1fr; padding: 17px 0; border-bottom: 1px solid var(--line); }
.principles span { color: var(--bright); font-size: .8rem; font-weight: 700; }

.practices { color: white; background: #061f32; }
.section-heading { display: grid; grid-template-columns: 1fr .72fr; align-items: end; gap: 80px; margin-bottom: 58px; }
.section-heading h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 4.8rem); }
.section-heading > p { max-width: 490px; margin: 0 0 8px; color: #b8cfda; font-size: 1.08rem; }
.practice-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.16); }
.practice-card { min-width: 0; display: flex; flex-direction: column; gap: 0; padding: 0; background: #0a304a; border: 0; text-decoration: none; transition: background .25s ease, transform .25s ease, box-shadow .25s ease; }
.practice-card:hover { padding: 0; background: #0d3a58; transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,.22); }
.practice-no { align-self: auto; padding: 22px 24px 0; color: #74caee; font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.practice-logo-wrap { min-height: 150px; display: flex; align-items: center; justify-content: center; margin: 20px 24px 0; padding: 26px; background: white; }
.practice-logo-wrap img { display: block; width: 76%; max-width: 320px; height: 82px; object-fit: contain; }
.practice-logo-wrap img.logo-efamily { transform: scale(.84); }
.practice-logo-wrap img.logo-wide { max-height: none; }
.practice-copy { display: flex; flex: 1; flex-direction: column; padding: 30px 24px 32px; }
.practice-copy > p:first-child { margin: 0 0 12px; color: #77caed; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.practice-copy h3 { margin: 0 0 17px; font-size: clamp(1.65rem, 2.1vw, 2.25rem); }
.practice-copy p { max-width: 570px; margin: 0; color: #bcd0da; font-size: .94rem; }
.card-link { display: inline-flex; gap: 14px; align-items: center; margin-top: auto; padding-top: 28px; color: white; font-weight: 700; font-size: .9rem; }
.card-link b { color: var(--bright); font-size: 1.25rem; }

.approach { background: linear-gradient(180deg, #f4f8fa, var(--mist)); }
.approach-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 100px; }
.approach-title { position: sticky; top: 125px; align-self: start; }
.approach-items { border-top: 1px solid #c6d6de; }
.approach-items article { display: grid; grid-template-columns: 62px 1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid #c6d6de; }
.approach-items article > span { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; color: var(--blue); border: 1px solid #aac2cf; border-radius: 50%; font-size: .78rem; font-weight: 700; }
.approach-items h3 { margin: 0 0 9px; font-size: 1.45rem; }
.approach-items p { margin: 0; color: var(--muted); }

.contact-band { position: relative; overflow: hidden; padding: 96px 0; color: white; background: linear-gradient(118deg, #0b527f, #041f33 72%); }
.contact-band::after { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -280px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.contact-grid { position: relative; z-index: 1; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.contact-actions { display: grid; }
.contact-actions a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.3); font-size: 1.1rem; font-weight: 700; text-decoration: none; }
.contact-actions a:first-child { border-top: 1px solid rgba(255,255,255,.3); }
.contact-actions a:hover span { transform: translate(3px,-3px); }
.contact-actions span { color: #8ad8f5; transition: transform .2s ease; }

footer { padding: 55px 0 28px; background: white; }
.footer-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 42px; }
.footer-top img { width: 190px; }
.footer-top p { color: var(--muted); }
.footer-bottom { display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 24px; padding-top: 22px; border-top: 1px solid var(--line); color: #71828c; font-size: .78rem; }
.footer-bottom a { text-underline-offset: 3px; }
.footer-legal-links { display: flex; justify-content: flex-end; gap: 18px; }
.footer-disclaimer { grid-column: 1 / -1; padding-top: 15px; border-top: 1px solid var(--line); text-align: left; }

.legal-hero { padding: 88px 0 78px; color: white; background: linear-gradient(122deg, #041f33, #0c527f); }
.legal-hero .eyebrow { margin-bottom: 16px; }
.legal-hero h1 { max-width: 900px; font-size: clamp(2.9rem, 6vw, 5rem); }
.legal-hero p:last-child { max-width: 680px; margin: 24px 0 0; color: #d5e6ed; font-size: 1.05rem; }
.legal-main { padding: 86px 0 110px; }
.legal-layout { display: grid; grid-template-columns: minmax(190px, .34fr) minmax(0, 1fr); gap: 84px; align-items: start; }
.legal-aside { position: sticky; top: 112px; padding: 24px; border-left: 3px solid var(--bright); background: var(--mist); }
.legal-aside strong { display: block; margin-bottom: 8px; color: var(--navy); }
.legal-aside p { margin: 0; color: var(--muted); font-size: .88rem; }
.legal-content { max-width: 820px; }
.legal-content section { scroll-margin-top: 110px; padding: 0 0 38px; margin: 0 0 38px; border-bottom: 1px solid var(--line); }
.legal-content section:last-child { border-bottom: 0; }
.legal-content h2 { margin: 0 0 18px; color: var(--navy); font-size: clamp(1.65rem, 3vw, 2.25rem); }
.legal-content h3 { margin: 28px 0 10px; color: var(--ink); font-size: 1.14rem; letter-spacing: -.015em; }
.legal-content p { margin: 0 0 16px; color: var(--muted); }
.legal-content ul { margin: 0 0 18px; padding-left: 22px; color: var(--muted); }
.legal-content li { margin-bottom: 9px; }
.legal-content a { color: var(--blue); font-weight: 600; text-underline-offset: 3px; }
.legal-note { padding: 22px 24px; border: 1px solid #bfd1db; background: #f6fafb; }

a:focus-visible, button:focus-visible { outline: 3px solid var(--bright); outline-offset: 4px; }

@keyframes hero-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 38px, 1180px); }
  .menu-button { display: block; }
  .primary-nav { position: absolute; left: 0; right: 0; top: 76px; display: none; padding: 12px 19px 22px; background: white; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 13px 0; }
  .nav-cta { margin-top: 8px; padding: 13px 15px !important; text-align: center; }
  .hero { min-height: auto; }
  .hero-inner { min-height: 620px; grid-template-columns: 1fr; }
  .hero-copy { padding: 82px 0 34px; }
  .hero-mark { display: none; }
  .intro-grid, .approach-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .intro-copy { padding-top: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 26px; }
  .approach-title { position: static; }
  .practice-list { grid-template-columns: 1fr; }
  .practice-card { min-height: 0; }
  .practice-card:hover { transform: none; }
  .practice-logo-wrap { min-height: 170px; }
  .footer-bottom { grid-template-columns: 1fr 1fr; }
  .footer-legal-links { justify-content: flex-start; }
  .legal-layout { grid-template-columns: 1fr; gap: 46px; }
  .legal-aside { position: static; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100% - 32px); }
  .nav-wrap { min-height: 70px; }
  .brand { width: 122px; }
  .primary-nav { top: 70px; }
  .hero-grid { background-size: 64px 64px; }
  .hero-inner { min-height: auto; }
  .hero-copy { padding: 64px 0 48px; }
  h1 { font-size: clamp(2.7rem, 11.7vw, 3.35rem); line-height: 1.035; }
  .hero-lede { font-size: 1rem; line-height: 1.7; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-foot { min-height: 95px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 3px; }
  .section { padding: 88px 0; }
  .intro h2, .approach h2, .contact-band h2 { font-size: 2.45rem; }
  .practice-card { gap: 0; padding: 0; }
  .practice-card:hover { padding: 0; }
  .practice-no { display: block; }
  .practice-logo-wrap { min-height: 154px; margin: 18px 20px 0; padding: 24px; }
  .practice-logo-wrap img { width: 76%; max-width: 300px; height: 78px; }
  .practice-copy { padding: 28px 20px 30px; }
  .practice-copy h3 { font-size: 2rem; }
  .contact-band { padding: 76px 0; }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 20px; }
  .footer-top p { margin: 0; }
  .footer-bottom { grid-template-columns: 1fr; }
  .footer-disclaimer { grid-column: auto; }
  .legal-hero { padding: 64px 0 58px; }
  .legal-main { padding: 64px 0 80px; }
}

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