:root {
  --ink: #0c0d10;
  --ink-navy: #0f1729;
  --field: #11141b;
  --btn-navy: #16203a;
  --btn-navy-hover: #1e2c4e;
  --paper: #eef0f4;
  --white: #ffffff;
  --body: #b9c0cc;
  --body-strong: #cdd3dd;
  --muted: #9aa2b1;
  --link: #8ea8d2;
  --link-hover: #b8cbe8;
  --link-soft: #a8bedd;
  --rule: rgba(238, 240, 244, 0.25);
  --rule-strong: rgba(238, 240, 244, 0.45);
  --field-border: rgba(238, 240, 244, 0.3);
  --gutter: 40px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mark: "Arial Black", "Archivo", Helvetica, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; }
p { margin: 0; }
img { display: block; }

a { color: var(--link); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
::selection { background: rgba(142, 168, 210, 0.3); }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.eyebrow--link { color: var(--link); }
.eyebrow--soft { color: var(--link-soft); }
.eyebrow--sm { font-size: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 800;
  font-size: 14px;
  padding: 13px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn--solid { background: var(--paper); color: var(--ink); }
.btn--solid:hover { background: var(--white); color: var(--ink); }
.btn--outline { border-color: var(--rule-strong); color: var(--paper); }
.btn--outline:hover { background: rgba(238, 240, 244, 0.12); color: var(--white); }
.btn--navy { background: var(--btn-navy); color: var(--paper); border-color: var(--rule); padding: 10px 16px; }
.btn--navy:hover { background: var(--btn-navy-hover); color: var(--white); }

/* ---------- logo ---------- */
.mark {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  width: 150px;
  color: var(--paper);
  text-decoration: none;
}
.mark:hover { text-decoration: none; color: var(--paper); }
.mark__pl,
.mark__word {
  display: flex;
  justify-content: space-between;
  align-self: stretch;
}
.mark__pl {
  font-family: var(--font-mark);
  font-weight: 900;
  font-size: 52px;
  line-height: 0.92;
  color: var(--white);
}
.mark__word { font-size: 13px; font-weight: 600; color: var(--white); }
.mark--sm { width: 112px; }
.mark--sm .mark__pl { font-size: 26px; line-height: 1; }
.mark--sm .mark__word { font-size: 10px; font-weight: 500; color: var(--body); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--ink-navy);
  overflow: hidden;
  border-bottom: 2px solid var(--rule);
}
.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  filter: grayscale(0.15) brightness(0.9) contrast(1.02);
}
.hero__scrim-v,
.hero__scrim-h { position: absolute; inset: 0; }
.hero__scrim-v {
  background: linear-gradient(180deg, rgba(12,13,16,0.6) 0%, rgba(12,13,16,0.2) 40%, rgba(15,23,41,0.35) 100%);
}
.hero__scrim-h {
  background: linear-gradient(90deg, rgba(12,13,16,0.86) 0%, rgba(12,13,16,0.62) 42%, rgba(12,13,16,0.1) 72%, rgba(12,13,16,0) 100%);
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 20px var(--gutter);
  border-bottom: 2px solid var(--rule);
  background: linear-gradient(180deg, rgba(12,13,16,0.96) 0%, rgba(12,13,16,0.86) 100%);
}
.site-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.site-nav a {
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.site-nav a:hover { color: var(--link); text-decoration: none; }
.site-nav__email-short { display: none; }
.nav-toggle,
.nav-backdrop { display: none; }

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 128px var(--gutter) 112px;
  max-width: 1240px;
}
.hero__inner h1 {
  font-size: clamp(40px, 5.4vw, 78px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 36px;
  max-width: 20ch;
  color: var(--white);
  text-wrap: pretty;
}
.hero__lede {
  font-size: 20px;
  line-height: 1.5;
  max-width: 58ch;
  margin-bottom: 40px;
  color: var(--white);
  text-wrap: pretty;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- practice areas ---------- */
.practice { border-bottom: 2px solid var(--rule); }
.practice__head { padding: 40px var(--gutter) 28px; }
.practice__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--rule);
}
.practice__cell { min-width: 0; padding: 32px 32px 56px; border-right: 2px solid var(--rule); }
.practice__cell:last-child { border-right: 0; }
.practice__cell h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--white);
}
.practice__cell p { font-size: 15px; line-height: 1.6; color: var(--body); }

/* ---------- fees band ---------- */
.fees { position: relative; overflow: hidden; border-bottom: 2px solid var(--rule); }
.fees__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.6) brightness(0.42) contrast(1.05);
}
.fees__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,23,41,0.92) 0%, rgba(15,23,41,0.72) 60%, rgba(15,23,41,0.5) 100%);
}
.fees__inner { position: relative; z-index: 2; padding: 96px var(--gutter); }
.fees__inner .eyebrow { margin-bottom: 24px; }
.fees__statement {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 40ch;
  color: var(--white);
  text-wrap: pretty;
}

/* ---------- split sections (about, enquire) ---------- */
.split {
  border-bottom: 2px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
}
.split__aside { min-width: 0; border-right: 2px solid var(--rule); padding: 64px var(--gutter); }
.split__aside .eyebrow { margin-bottom: 28px; }
.split__main { min-width: 0; padding: 64px var(--gutter); display: flex; flex-direction: column; gap: 36px; }

.about__name {
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  color: var(--white);
}
.about__role { font-size: 16px; font-weight: 600; color: var(--muted); }
.about__bio {
  font-size: 19px;
  line-height: 1.6;
  max-width: 54ch;
  color: var(--body-strong);
  text-wrap: pretty;
}
.about__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.enquire__title {
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--white);
  text-wrap: pretty;
}

/* ---------- form ---------- */
.form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 720px;
  min-width: 0;
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--paper);
  background: var(--field);
  border: 1px solid var(--field-border);
  border-radius: 0;
  padding: 13px 14px;
}
.field textarea { resize: vertical; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--link); }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }

.form__submit {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.form__note { font-size: 12px; line-height: 1.5; color: var(--muted); max-width: 46ch; }
.form__honey {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.form__status {
  grid-column: 1 / -1;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
.form__status[hidden] { display: none; }
.form__status--success { color: var(--link); }
.form__status--error { color: #d4a09a; }
.form[aria-busy="true"] .btn { cursor: progress; }
.btn:disabled {
  opacity: 0.55;
  cursor: progress;
  pointer-events: none;
}

/* ---------- footer ---------- */
.site-footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.site-footer__cell { min-width: 0; padding: 48px var(--gutter); border-right: 2px solid var(--rule); }
.site-footer__cell a { overflow-wrap: anywhere; }
.site-footer__cell:last-child {
  border-right: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.site-footer__cell .eyebrow { margin-bottom: 16px; }
.site-footer__cell:last-child .eyebrow { margin-bottom: 0; }
.site-footer__cell p { color: var(--body); }
.site-footer__legal {
  border-top: 2px solid var(--rule);
  padding: 24px var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer__legal p { font-size: 12px; color: var(--muted); }
.site-footer__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  margin-left: auto;
  text-align: right;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .practice__grid { grid-template-columns: 1fr 1fr; }
  .practice__cell:nth-child(2n) { border-right: 0; }
  .practice__cell:nth-child(-n+2) { border-bottom: 2px solid var(--rule); }
  .split { grid-template-columns: 1fr; }
  .split__aside { border-right: 0; border-bottom: 2px solid var(--rule); }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__cell { border-right: 0; border-bottom: 2px solid var(--rule); }
  .site-footer__meta { align-items: flex-start; margin-left: 0; text-align: left; }
}

@media (max-width: 900px) {
  .site-header { flex-wrap: nowrap; gap: 16px; }
  body.nav-open .hero {
    overflow: visible;
    z-index: 40;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--rule);
    background: var(--btn-navy);
    cursor: pointer;
    z-index: 30;
  }
  .nav-toggle__box {
    position: relative;
    display: block;
    width: 18px;
    height: 14px;
  }
  .nav-toggle__box span {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--paper);
    transition: transform 0.22s ease, opacity 0.22s ease, top 0.22s ease;
  }
  .nav-toggle__box span:nth-child(1) { top: 0; }
  .nav-toggle__box span:nth-child(2) { top: 6px; }
  .nav-toggle__box span:nth-child(3) { top: 12px; }
  body.nav-open .nav-toggle__box span:nth-child(1) {
    top: 6px;
    transform: rotate(45deg);
  }
  body.nav-open .nav-toggle__box span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle__box span:nth-child(3) {
    top: 6px;
    transform: rotate(-45deg);
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 24;
    background: rgba(12, 13, 16, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
  }
  .nav-backdrop[hidden] { display: none; }
  body.nav-open .nav-backdrop {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }
  body.nav-open { overflow: hidden; }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    width: min(320px, 86vw);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    padding: 136px var(--gutter) 40px;
    background: rgba(12, 13, 16, 0.98);
    border-left: 2px solid var(--rule);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s ease, visibility 0s linear 0.28s;
  }
  body.nav-open .site-nav {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.28s ease, visibility 0s;
  }
  .site-nav a {
    display: block;
    width: 100%;
    padding: 16px 0;
    border-bottom: 2px solid var(--rule);
    font-size: 14px;
  }
  .site-nav .btn--navy {
    width: 100%;
    margin-top: 24px;
    padding: 13px 20px;
    text-align: center;
    border-bottom: 0;
  }
  .site-nav__email-full { display: none; }
  .site-nav__email-short { display: inline; }
}

@media (max-width: 720px) {
  :root { --gutter: 24px; }
  .hero__inner { padding: 72px var(--gutter) 64px; }
  .hero__scrim-h {
    background: linear-gradient(180deg, rgba(12,13,16,0.5) 0%, rgba(12,13,16,0.8) 100%);
  }
  .practice__grid { grid-template-columns: 1fr; }
  .practice__cell { border-right: 0; border-bottom: 2px solid var(--rule); padding-bottom: 40px; }
  .practice__cell:last-child { border-bottom: 0; }
  .form { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav,
  .nav-backdrop,
  .nav-toggle__box span { transition: none; }
}

@media (min-width: 901px) {
  .site-nav { visibility: visible; pointer-events: auto; }
}
