/* Jennings Legal Solutions — 2026 v2 */
:root {
  --ink: #0b1220;
  --ink-2: #121a2b;
  --ink-3: #1a2438;
  --stone: #e8e2d6;
  --stone-2: #f5f1e8;
  --stone-3: #d8d0c2;
  --brass: #b08a4f;
  --brass-deep: #8c6a35;
  --brass-soft: #c9a66a;
  --text: #f4f0e8;
  --text-2: #c9c2b4;
  --text-3: #9b9385;
  --ink-text: #141822;
  --ink-text-2: #4a453c;
  --danger: #d08080;
  --ok: #8fbf9a;
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "IBM Plex Sans", "Segoe UI", sans-serif;
  --max: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --header: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 150ms;
  --t-mid: 400ms;
  --t-slow: 700ms;
  --tracking-caps: 0.14em;
  --rule: 1px solid rgba(176, 138, 79, 0.35);
}

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

html, body { margin: 0; padding: 0; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--stone);
  color: var(--ink);
  padding: 8px 14px;
  z-index: 40;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: rgba(11, 18, 32, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232, 226, 214, 0.08);
  transition: background-color var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(11, 18, 32, 0.94);
  border-bottom-color: rgba(176, 138, 79, 0.28);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header);
}
.wordmark {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}
.wordmark .family {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}
.wordmark .practice {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--brass-soft);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out);
}
.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--text);
  border-bottom-color: var(--brass);
  outline: none;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--brass);
  color: var(--text) !important;
  letter-spacing: 0.12em;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  transition: background-color var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out);
}
.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--brass);
  color: var(--ink) !important;
  border-color: var(--brass);
  outline: none;
}


.header-tools { display: none; }
.nav-toggle {
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-toggle-bars {
  position: relative;
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: transform var(--t-fast) var(--ease-out), top var(--t-fast) var(--ease-out);
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.site-header.is-nav-open .nav-toggle-bars { background: transparent; }
.site-header.is-nav-open .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.site-header.is-nav-open .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }
.nav-toggle:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }


/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  background: var(--stone);
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--stone);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out);
}
.btn:hover,
.btn:focus-visible {
  background: transparent;
  color: var(--stone);
  outline: none;
}
.btn--on-stone {
  background: var(--ink);
  color: var(--stone);
  border-color: var(--ink);
}
.btn--on-stone:hover,
.btn--on-stone:focus-visible {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn:disabled { opacity: 0.55; cursor: wait; }

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--t-slow) var(--ease),
              transform var(--t-slow) var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-slow) var(--ease),
              transform var(--t-slow) var(--ease);
}
[data-reveal-stagger].is-in > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger].is-in > *:nth-child(2) { transition-delay: 70ms; }
[data-reveal-stagger].is-in > *:nth-child(3) { transition-delay: 140ms; }
[data-reveal-stagger].is-in > *:nth-child(4) { transition-delay: 210ms; }
[data-reveal-stagger].is-in > *:nth-child(5) { transition-delay: 280ms; }
[data-reveal-stagger].is-in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal-stagger] > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  min-height: calc(100svh - var(--header));
  background: var(--ink);
  border-bottom: var(--rule);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 88px);
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  padding-right: clamp(28px, 4vw, 64px);
  max-width: 760px;
  margin-left: auto;
  width: 100%;
}
.eyebrow {
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--brass-soft);
}
.hero h1 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(44px, 6.4vw, 86px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  color: var(--text);
  text-wrap: balance;
}
.lede {
  margin: 0 0 36px;
  max-width: 32em;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
}
.hero-media {
  margin: 0;
  position: relative;
  background: #d9d0c0;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  min-height: 100%;
}
.hero-media figcaption {
  position: absolute;
  right: 20px;
  bottom: 16px;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-text-2);
  background: rgba(245, 241, 232, 0.78);
  padding: 4px 8px;
}

/* Credibility */
.credibility {
  background: var(--ink-2);
  border-bottom: var(--rule);
}
.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 28px 0;
}
.cred-item {
  padding: 18px 28px 18px 0;
  border-right: 1px solid rgba(176, 138, 79, 0.22);
}
.cred-item:last-child { border-right: 0; padding-right: 0; }
.cred-item:first-child { padding-left: 0; }
.cred-k {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--brass-soft);
}
.cred-item p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--text);
  text-wrap: balance;
}

/* Shared section chrome */
.kicker {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--brass-deep);
}
.kicker--light { color: var(--brass-soft); }
.section-title {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}

/* About */
.about {
  background: var(--stone-2);
  color: var(--ink-text);
  padding: clamp(80px, 12vw, 140px) 0;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.about .section-title { margin-bottom: 28px; color: var(--ink); }
.about-copy p {
  margin: 0 0 1.15em;
  color: var(--ink-text-2);
  max-width: 40em;
  font-size: 18.5px;
  line-height: 1.65;
  text-wrap: pretty;
}
.about-copy p:last-of-type { margin-bottom: 0; }
.about-media {
  margin: 0;
  position: sticky;
  top: calc(var(--header) + 28px);
}
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
}
.about-media figcaption {
  margin: 12px 0 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-text-2);
}

/* How we work */
.work {
  background: var(--ink);
  color: var(--text);
  padding: clamp(80px, 12vw, 140px) 0;
  border-top: var(--rule);
}
.work-intro {
  max-width: 18em;
  margin-bottom: clamp(48px, 7vw, 80px);
}
.work .section-title { color: var(--text); }
.work-list { list-style: none; margin: 0; padding: 0; }
.work-item {
  display: grid;
  grid-template-columns: 7rem minmax(0, 0.55fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: baseline;
  padding: 32px 0;
  border-top: 1px solid rgba(232, 226, 214, 0.12);
}
.work-item:last-child { border-bottom: 1px solid rgba(232, 226, 214, 0.12); }
.work-num {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--brass-soft);
}
.work-item h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  color: var(--text);
}
.work-item p {
  margin: 0;
  color: var(--text-2);
  max-width: 36em;
  font-size: 17.5px;
}

/* Process */
.process {
  background: var(--ink-2);
  padding: clamp(80px, 12vw, 140px) 0;
  border-top: var(--rule);
}
.process-intro { margin-bottom: clamp(40px, 6vw, 72px); max-width: 20em; }
.process .section-title { color: var(--text); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  position: relative;
}
.process-grid::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 5px;
  height: 1px;
  background: rgba(176, 138, 79, 0.45);
}
.process-step {
  padding: 0 28px 0 0;
  position: relative;
}
.process-step:last-child { padding-right: 0; }
.process-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--brass);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--ink-2);
}
.process-step h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.process-step .n {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--brass-soft);
}
.process-step p {
  margin: 0;
  color: var(--text-2);
  font-size: 16px;
  max-width: 28em;
}

/* FAQ */
.faq {
  background: var(--stone-2);
  color: var(--ink-text);
  padding: clamp(80px, 12vw, 140px) 0;
}
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq .section-title { color: var(--ink); margin-bottom: 12px; }
.faq-intro {
  margin: 0;
  color: var(--ink-text-2);
  max-width: 26em;
}
.faq-list { border-top: 1px solid var(--stone-3); }
.faq-item { border-bottom: 1px solid var(--stone-3); }
.faq-item button {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  background: none;
  border: 0;
  padding: 22px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.faq-item button:hover,
.faq-item button:focus-visible { color: var(--brass-deep); outline: none; }
.faq-icon {
  flex: 0 0 22px;
  position: relative;
  width: 22px;
  height: 22px;
  margin-top: 4px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--brass-deep);
  transition: transform var(--t-fast) var(--ease-out), opacity var(--t-fast) var(--ease-out);
}
.faq-icon::before { left: 0; right: 0; top: 10px; height: 1px; }
.faq-icon::after { top: 0; bottom: 0; left: 10px; width: 1px; }
.faq-item.is-open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-panel {
  display: none;
  padding: 0 48px 22px 0;
  color: var(--ink-text-2);
  max-width: 42em;
  font-size: 17px;
  line-height: 1.6;
}
.faq-item.is-open .faq-panel { display: block; }
.faq-panel p { margin: 0; }

/* Enquire */
.enquire-section {
  background: var(--ink);
  color: var(--text);
  padding: clamp(80px, 12vw, 140px) 0;
  border-top: var(--rule);
}
.enquire-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.enquire-intro p {
  margin: 16px 0 0;
  color: var(--text-2);
  max-width: 28em;
  font-size: 18px;
}
.enquire-section .section-title { color: var(--text); }
form.enquire { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-2);
}
.optional {
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--text-3);
}
.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(232, 226, 214, 0.28);
  border-radius: 0;
  padding: 12px 0;
  outline: none;
  color: var(--text);
  transition: border-color var(--t-fast) var(--ease-out);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field textarea:focus { border-bottom-color: var(--brass); }
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-note {
  margin: 0;
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.01em;
}
.form-status { margin: 0; font-size: 16px; }
.form-status.is-error { color: var(--danger); }
.form-status.is-success { color: var(--ok); }
.form-status.is-pending { color: var(--text-2); }

/* Footer */
.site-footer {
  background: var(--ink);
  border-top: var(--rule);
  padding: 56px 0 64px;
  color: var(--text-2);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px 48px;
  align-items: start;
}
.footer-brand strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--text);
  margin-bottom: 10px;
}
.footer-abn { color: var(--text-2); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav a {
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out);
}
.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--text);
  border-bottom-color: var(--brass);
  outline: none;
}
.footer-credits {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(176, 138, 79, 0.22);
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-3);
  max-width: none;
}
.footer-credits a { color: var(--text-2); white-space: nowrap; }

@media (max-width: 980px) {
  :root { --header: 72px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy {
    padding: 56px var(--gutter) 48px;
    max-width: none;
    margin: 0;
  }
  .hero-media { min-height: 48vw; max-height: 420px; }
  .hero-media img { min-height: 48vw; }
  .about-grid,
  .faq-layout,
  .enquire-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .about-media { position: static; }
  .about-media img { aspect-ratio: 16 / 11; }
  .work-item { grid-template-columns: 4rem 1fr; }
  .work-item p { grid-column: 2; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .process-grid::before { display: none; }
  .process-dot { display: none; }
  .header-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }
  .header-inner { gap: 16px; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    background: rgba(11, 18, 32, 0.97);
    border-bottom: 1px solid rgba(176, 138, 79, 0.28);
    padding: 8px var(--gutter) 28px;
    z-index: 29;
  }
  .site-header.is-nav-open .site-nav { display: block; }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .nav-list a {
    display: block;
    font-size: 13px;
    letter-spacing: 0.14em;
    padding: 14px 0;
    border-bottom: 0;
  }
  .nav-cta-item { display: none; }
  .header-tools .nav-cta { min-height: 34px; padding: 0 14px; }
}
@media (max-width: 720px) {
  .cred-grid { grid-template-columns: 1fr; padding: 8px 0 16px; }
  .cred-item {
    border-right: 0;
    border-bottom: 1px solid rgba(176, 138, 79, 0.22);
    padding: 20px 0;
  }
  .cred-item:last-child { border-bottom: 0; }
  .process-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(40px, 11vw, 56px); }
  .faq-item button { font-size: 20px; }
}

/* Focus for inputs already handled; visible focus for skip and buttons */
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.field input:focus-visible,
.field textarea:focus-visible { outline: none; }
