:root {
  --ink: #091723;
  --ink-soft: #122838;
  --paper: #f5f3ef;
  --white: #fff;
  --line: rgba(9, 23, 35, 0.17);
  --accent: #7f302a;
  --serif: "Libre Caslon Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: min(100% - 3rem, 1240px); margin-inline: 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: 1rem; top: -5rem; padding: .75rem 1rem; background: white; color: var(--ink); }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; z-index: 20; inset: 0 0 auto; color: white; transition: background .25s ease, box-shadow .25s ease; }
.site-header.scrolled { background: rgba(9, 23, 35, .96); box-shadow: 0 1px 0 rgba(255,255,255,.12); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .85rem; font-weight: 500; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid currentColor; font-family: var(--serif); font-size: .95rem; }
.brand-name { font-size: 1.05rem; }
.brand-name em { color: #d7b39e; font-family: var(--serif); font-style: italic; font-weight: 400; }
.site-nav { display: flex; align-items: center; gap: 2rem; font-size: .9rem; }
.site-nav > a:not(.nav-cta) { opacity: .82; transition: opacity .2s ease; }
.site-nav > a:hover { opacity: 1; }
.nav-cta { padding: .75rem 1rem; border: 1px solid rgba(255,255,255,.45); }
.menu-toggle { display: none; background: none; border: 0; color: white; padding: .75rem; }

.hero { position: relative; min-height: 760px; height: 92svh; color: white; display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-overlay { background: linear-gradient(90deg, rgba(5,15,24,.86) 0%, rgba(5,15,24,.66) 42%, rgba(5,15,24,.05) 76%), linear-gradient(0deg, rgba(4,12,19,.32), transparent 45%); }
.hero-content { position: relative; z-index: 2; padding-top: 5rem; }
.eyebrow, .section-label { margin: 0 0 2rem; font-size: .78rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow { color: #d7b39e; }
.hero h1 { margin: 0; max-width: 850px; font-family: var(--serif); font-size: clamp(4rem, 8vw, 7.8rem); font-weight: 400; line-height: .94; letter-spacing: -.055em; }
.hero h1 span { color: #d8cbc1; font-style: italic; }
.hero-intro { max-width: 575px; margin: 2rem 0 0; color: rgba(255,255,255,.78); font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 2rem; margin-top: 2.25rem; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: .8rem 1.3rem; border: 1px solid transparent; font-size: .9rem; font-weight: 600; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-light { background: white; color: var(--ink); }
.text-link { font-size: .9rem; border-bottom: 1px solid rgba(255,255,255,.5); padding-block: .65rem .35rem; }
.text-link span { margin-left: .5rem; }
.hero-index { position: absolute; z-index: 2; right: 2.5rem; bottom: 2rem; display: flex; align-items: center; gap: .8rem; font-size: .65rem; letter-spacing: .1em; }
.hero-index i { display: block; width: 60px; height: 1px; background: rgba(255,255,255,.45); }

.section { padding: clamp(5.5rem, 10vw, 9rem) 0; }
.editorial-grid { display: grid; grid-template-columns: .7fr 2fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.section-label { color: var(--accent); }
h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.7rem, 5vw, 5rem); font-weight: 400; line-height: 1.05; letter-spacing: -.045em; }
.intro-section .lead { max-width: 740px; margin: 2rem 0 1.4rem; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.45; }
.intro-section .lead + p { max-width: 640px; color: #4b565e; }
.principle-card { border-top: 3px solid var(--accent); padding-top: 1.25rem; }
.card-number { color: var(--accent); font-size: .76rem; font-weight: 600; }
.principle-card p { margin: 2.75rem 0 0; font-family: var(--serif); font-size: 1.6rem; line-height: 1.25; }

.practice-section { background: var(--ink); color: white; }
.section-heading { display: grid; grid-template-columns: 1.65fr .75fr; gap: 4rem; align-items: end; }
.section-heading h2 { max-width: 780px; }
.section-heading > p { margin: 0 0 .6rem; color: rgba(255,255,255,.62); }
.section-label-light { color: #d7b39e; }
.practice-list { margin-top: 5rem; border-top: 1px solid rgba(255,255,255,.18); }
.practice-item { display: grid; grid-template-columns: 80px 1fr .9fr; gap: 2rem; align-items: baseline; padding: 1.75rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.practice-item > span { color: #d7b39e; font-size: .75rem; }
.practice-item h3 { margin: 0; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 400; }
.practice-item p { margin: 0; color: rgba(255,255,255,.58); }

.immigration-section { background: #e9e5df; }
.immigration-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 8vw; align-items: start; }
.immigration-heading h2 { max-width: 680px; }
.immigration-lead { max-width: 640px; margin: 2rem 0 0; color: #4b565e; font-size: 1.15rem; }
.accreditation { display: grid; grid-template-columns: 74px 1fr; gap: 1.4rem; align-items: start; padding: 1.5rem; background: var(--ink); color: white; }
.accreditation-mark { display: grid; place-items: center; width: 74px; height: 74px; border: 1px solid #d7b39e; color: #d7b39e; font-family: var(--serif); font-size: 1.35rem; }
.accreditation p { margin: 0; color: rgba(255,255,255,.78); }
.route-list { list-style: none; margin: 2rem 0; padding: 0; border-top: 1px solid var(--line); }
.route-list li { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.3rem; }
.route-list span { color: var(--accent); font-family: var(--sans); font-size: .75rem; font-weight: 600; }
.button-dark { background: var(--ink); color: white; }

.approach-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; }
.approach-grid h2 { max-width: 600px; }
.steps { border-top: 1px solid var(--line); }
.steps article { display: grid; grid-template-columns: 70px 1fr; gap: 1rem; padding: 1.65rem 0 2rem; border-bottom: 1px solid var(--line); }
.steps span { color: var(--accent); font-size: .75rem; font-weight: 600; }
.steps h3 { margin: 0 0 .35rem; font-family: var(--serif); font-size: 1.65rem; font-weight: 400; }
.steps p { margin: 0; color: #59636a; }

.contact-section { background: var(--accent); color: white; padding: clamp(5.5rem, 9vw, 8rem) 0; }
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 8vw; }
.contact-section .section-label-light { color: #f0cfc6; }
.contact-copy > p:first-child { margin-top: .5rem; font-size: 1.2rem; color: rgba(255,255,255,.8); }
.contact-copy .button { margin: 1.25rem 0 2.25rem; }
.office-list { margin: 0; border-top: 1px solid rgba(255,255,255,.3); }
.office-card { padding: 1.2rem 0; border-bottom: 1px solid rgba(255,255,255,.3); }
.office-card .office-city { margin: 0 0 .45rem; color: #f2cbc1; font-family: var(--serif); font-size: 1.45rem; }
.office-card address { margin-bottom: .5rem; color: rgba(255,255,255,.76); font-style: normal; }
.office-card > a { display: inline-block; border-bottom: 1px solid rgba(255,255,255,.4); }
.contact-note { font-size: .78rem; color: rgba(255,255,255,.55); }

.site-footer { background: #06111a; color: rgba(255,255,255,.58); padding: 2rem 0; font-size: .78rem; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: center; }
.brand-footer { color: white; }
.footer-grid p { margin: 0; }
.footer-actions { display: flex; justify-content: flex-end; align-items: center; gap: .75rem; }
.share-button { border: 0; border-bottom: 1px solid rgba(255,255,255,.32); padding: .35rem 0; background: none; color: inherit; cursor: pointer; font: inherit; }
.share-button:hover { color: white; }
.share-status { color: #d7b39e; }
.legal-note { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .72rem; }

@media (max-width: 900px) {
  .shell { width: min(100% - 2rem, 1240px); }
  .menu-toggle { display: block; position: relative; z-index: 3; }
  .menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 1px; margin: 6px 0; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.2rem; padding: 2rem; background: var(--ink); font-family: var(--serif); font-size: 2.4rem; transform: translateX(100%); transition: transform .28s ease; }
  .site-nav.open { transform: translateX(0); }
  .nav-cta { margin-top: 1rem; font-family: var(--sans); font-size: .95rem; }
  .hero { min-height: 680px; }
  .hero-image { object-position: 58% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(5,15,24,.91), rgba(5,15,24,.4)); }
  .hero-index { display: none; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-grid > div:first-child { margin-bottom: -1rem; }
  .principle-card { max-width: 480px; margin-top: 1rem; }
  .section-heading, .approach-grid, .contact-grid, .immigration-grid { grid-template-columns: 1fr; gap: 3rem; }
  .section-heading > p { max-width: 600px; }
  .practice-item { grid-template-columns: 50px 1fr; }
  .practice-item p { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .footer-actions { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .nav-wrap { min-height: 74px; }
  .brand-name { font-size: .95rem; }
  .brand-mark { width: 34px; height: 34px; }
  .hero { height: auto; min-height: 780px; }
  .hero-content { padding-top: 7rem; }
  .hero h1 { font-size: clamp(3.6rem, 17vw, 5.2rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: .8rem; }
  .practice-item { grid-template-columns: 38px 1fr; gap: 1rem; }
  .steps article { grid-template-columns: 45px 1fr; }
  .contact-copy .button { width: 100%; font-size: .82rem; }
  .accreditation { grid-template-columns: 58px 1fr; padding: 1rem; }
  .accreditation-mark { width: 58px; height: 58px; font-size: 1.05rem; }
}

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