:root {
  --ink: #171710;
  --ink-soft: #38372f;
  --night: #0f110e;
  --night-soft: #171a15;
  --paper: #fffdf8;
  --cream: #f3efe5;
  --cream-deep: #e8e1d2;
  --line: rgba(23, 23, 16, 0.14);
  --line-dark: rgba(255, 255, 255, 0.14);
  --gold: #c99a39;
  --gold-light: #e6c875;
  --gold-deep: #8d651b;
  --sage: #6e7664;
  --muted: #747166;
  --white: #ffffff;
  --display: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --container: 1220px;
  --shadow: 0 30px 80px rgba(27, 23, 12, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

::selection {
  background: var(--gold-light);
  color: var(--night);
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.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;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 12px 18px;
  transform: translateY(-150%);
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 128px 0;
}

.section--paper {
  background: var(--paper);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 34px;
  height: 1px;
  background: currentColor;
}

.eyebrow--light {
  color: var(--gold-light);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.045em;
}

h1 em,
h2 em {
  color: var(--gold-light);
  font-weight: 400;
}

h2 {
  margin-bottom: 0;
  font-size: 62px;
  line-height: 0.98;
}

h2 em {
  color: var(--gold-deep);
}

h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

p {
  color: var(--muted);
}

.lead {
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.65;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 1px solid transparent;
  padding: 0 24px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--gold {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--night);
}

.button--gold:hover {
  border-color: var(--gold-light);
  background: var(--gold-light);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(15, 17, 14, 0.16);
  color: var(--white);
}

.button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.button--ink {
  background: var(--ink);
  color: var(--white);
}

.button--ink:hover {
  background: var(--gold-deep);
}

.button--wide {
  width: 100%;
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  color: var(--white);
}

.site-header.is-scrolled {
  position: fixed;
  background: rgba(10, 12, 9, 0.94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled .preview-bar {
  display: none;
}

.site-header.is-scrolled .nav-shell {
  min-height: 70px;
  border-bottom-color: transparent;
}

.preview-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(9, 10, 8, 0.72);
  backdrop-filter: blur(12px);
}

.preview-bar__inner {
  display: flex;
  min-height: 35px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.preview-tag {
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-tag > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #89a66e;
  box-shadow: 0 0 0 4px rgba(137, 166, 110, 0.14);
}

.nav-shell {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 13px;
  color: var(--gold-light);
}

.brand__mark {
  width: 43px;
  height: 43px;
}

.brand__word {
  display: grid;
  line-height: 1;
}

.brand__word strong {
  color: var(--white);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand__word small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 35px;
}

.primary-navigation > a:not(.nav-cta) {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-navigation > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--gold-light);
  content: "";
  transition: transform 180ms ease;
}

.primary-navigation > a:not(.nav-cta):hover {
  color: var(--white);
}

.primary-navigation > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0 17px;
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease;
}

.nav-cta:hover {
  border-color: var(--gold);
  background: rgba(201, 154, 57, 0.12);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  width: 20px;
  height: 1px;
  background: var(--white);
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 880px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--night);
  color: var(--white);
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 11, 9, 0.98) 0%, rgba(9, 11, 9, 0.92) 32%, rgba(9, 11, 9, 0.42) 58%, rgba(9, 11, 9, 0.06) 100%),
    linear-gradient(0deg, rgba(7, 8, 7, 0.82) 0%, transparent 31%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 116px;
  padding-bottom: 120px;
}

.hero__copy {
  max-width: 680px;
}

.hero h1 {
  margin: 0 0 30px;
  font-size: 82px;
  line-height: 0.93;
}

.hero__lead {
  max-width: 610px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
  line-height: 1.7;
}

.hero__note {
  display: flex;
  max-width: 580px;
  align-items: flex-start;
  gap: 12px;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, 0.47);
  font-size: 12px;
  line-height: 1.55;
}

.hero__note svg {
  width: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1.3;
}

.hero__assurances {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero__assurances > div {
  display: flex;
  min-height: 104px;
  align-items: center;
  gap: 18px;
  padding: 20px 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(13, 15, 12, 0.52);
  backdrop-filter: blur(12px);
}

.hero__assurances > div:last-child {
  border-right: 0;
}

.assurance-number {
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 16px;
}

.hero__assurances p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  line-height: 1.55;
}

.hero__assurances strong {
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Opening */
.opening {
  position: relative;
  background: var(--cream);
}

.opening::after {
  position: absolute;
  top: 0;
  right: max(24px, calc((100vw - var(--container)) / 2));
  width: 1px;
  height: 80px;
  background: var(--gold);
  content: "";
}

.opening__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 110px;
  align-items: start;
}

.opening__copy {
  max-width: 650px;
  padding-top: 35px;
}

.opening__copy p:last-child {
  max-width: 580px;
  margin-bottom: 0;
}

.principles {
  display: grid;
  margin-top: 90px;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle-card {
  position: relative;
  min-height: 345px;
  padding: 50px 40px 42px;
  border-right: 1px solid var(--line);
}

.principle-card:last-child {
  border-right: 0;
}

.principle-card__number {
  position: absolute;
  top: 26px;
  right: 28px;
  color: rgba(23, 23, 16, 0.33);
  font-family: var(--display);
  font-size: 13px;
}

.principle-card svg {
  width: 46px;
  margin-bottom: 56px;
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 1.35;
}

.principle-card h3 {
  margin-bottom: 14px;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
}

.principle-card p {
  max-width: 300px;
  margin: 0;
  font-size: 14px;
}

/* Mandates */
.section-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 66px;
}

.section-intro > p {
  max-width: 510px;
  margin: 0 0 7px;
  font-size: 15px;
}

.mandate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.mandate-card {
  position: relative;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  padding: 32px 36px 35px;
  border-right: 1px solid var(--line);
  background: var(--paper);
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.mandate-card:last-child {
  border-right: 0;
}

.mandate-card:hover {
  z-index: 1;
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.mandate-card--featured {
  background: #f4eddd;
}

.mandate-card__topline {
  display: flex;
  min-height: 28px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.mandate-card__tag {
  padding: 6px 8px;
  background: var(--gold-deep);
  color: var(--white);
  font-size: 8px;
}

.mandate-card__icon {
  width: 100%;
  min-height: 158px;
  display: grid;
  margin: 30px 0 34px;
  place-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--gold-deep);
}

.mandate-card__icon svg {
  width: 70px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
}

.mandate-card h3 {
  margin-bottom: 13px;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 400;
}

.mandate-card > p {
  margin-bottom: 24px;
  font-size: 14px;
}

.mandate-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.mandate-card li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 12px;
}

.mandate-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 1px;
  background: var(--gold-deep);
  content: "";
}

.text-link {
  min-height: 44px;
  align-self: flex-start;
  margin-top: auto;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--gold-deep);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.text-link span {
  display: inline-block;
  margin-left: 17px;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.mandates__note {
  max-width: 790px;
  margin: 27px auto 0;
  text-align: center;
  font-size: 11px;
}

/* Standard */
.standard {
  background: var(--cream);
}

.standard__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 100px;
  align-items: center;
}

.standard__visual {
  position: relative;
  margin: 0;
}

.standard__visual::before {
  position: absolute;
  top: -18px;
  right: -18px;
  bottom: 64px;
  left: 18px;
  border: 1px solid rgba(141, 101, 27, 0.28);
  content: "";
}

.standard__visual img {
  position: relative;
  width: 100%;
  min-height: 550px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) contrast(1.03);
}

.standard__visual figcaption {
  position: relative;
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.standard__content {
  padding-left: 20px;
}

.standard__content > .lead {
  max-width: 540px;
  margin: 35px 0 38px;
}

.standard-list {
  border-top: 1px solid var(--line);
}

.standard-list > div {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 15px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.standard-list > div > span {
  color: var(--gold-deep);
  font-family: var(--display);
  font-size: 13px;
}

.standard-list h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.standard-list p {
  max-width: 460px;
  margin: 0;
  font-size: 12px;
}

/* Process */
.process {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--white);
}

.process__texture {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.process .container {
  position: relative;
}

.section-intro--dark h2,
.process h3 {
  color: var(--white);
}

.section-intro--dark h2 em {
  color: var(--gold-light);
}

.section-intro--dark > p {
  color: rgba(255, 255, 255, 0.56);
}

.process-grid {
  display: grid;
  margin: 20px 0 0;
  padding: 0;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

.process-step {
  min-height: 370px;
  padding: 30px 30px 34px;
  border-top: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.process-step:first-child {
  border-left: 1px solid var(--line-dark);
}

.process-step__number {
  display: block;
  margin-bottom: 50px;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 36px;
}

.process-step__line {
  width: 28px;
  height: 1px;
  margin-bottom: 25px;
  background: var(--gold);
}

.process-step h3 {
  min-height: 50px;
  margin-bottom: 16px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
}

.process-step p {
  min-height: 86px;
  margin-bottom: 27px;
  color: rgba(255, 255, 255, 0.49);
  font-size: 12px;
}

.process-step__status {
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Guidance */
.guidance__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 110px;
  align-items: start;
}

.guidance__heading {
  position: sticky;
  top: 130px;
}

.guidance__heading > p:not(.eyebrow) {
  max-width: 440px;
  margin: 35px 0 30px;
}

.guidance-list {
  border-top: 1px solid var(--line);
}

.guidance-card {
  display: grid;
  min-height: 190px;
  grid-template-columns: 70px 1fr;
  gap: 28px;
  padding: 37px 0;
  border-bottom: 1px solid var(--line);
}

.guidance-card > span {
  color: var(--gold-deep);
  font-family: var(--display);
  font-size: 16px;
}

.guidance-card h3 {
  margin-bottom: 14px;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 400;
}

.guidance-card p {
  max-width: 540px;
  margin: 0;
  font-size: 14px;
}

/* FAQ */
.faq {
  background: var(--cream);
}

.faq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  cursor: pointer;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary > span {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.faq-list summary > span::before,
.faq-list summary > span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1px;
  transform: translate(-50%, -50%);
  background: var(--ink);
  content: "";
}

.faq-list summary > span::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 180ms ease;
}

.faq-list details[open] summary > span::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-list details > p {
  max-width: 680px;
  margin: -2px 50px 28px 0;
  font-size: 13px;
}

/* Enquiry */
.enquiry {
  position: relative;
  overflow: hidden;
  background: #161914;
  color: var(--white);
}

.enquiry::before {
  position: absolute;
  top: -180px;
  left: -160px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(201, 154, 57, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(201, 154, 57, 0.025),
    0 0 0 160px rgba(201, 154, 57, 0.018);
  content: "";
}

.enquiry__grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 100px;
  align-items: start;
}

.enquiry__intro {
  padding-top: 25px;
}

.enquiry__intro h2 {
  color: var(--white);
}

.enquiry__intro h2 em {
  color: var(--gold-light);
}

.enquiry__intro > p:not(.eyebrow) {
  max-width: 480px;
  margin: 34px 0;
  color: rgba(255, 255, 255, 0.58);
}

.privacy-note {
  display: flex;
  max-width: 470px;
  gap: 15px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.privacy-note svg {
  width: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1.4;
}

.privacy-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
}

.privacy-note strong {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.enquiry-card {
  min-height: 690px;
  padding: 43px;
  background: var(--paper);
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.24);
  color: var(--ink);
}

.form-heading,
.brief-output__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 33px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.form-heading span,
.brief-output__heading span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-deep);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.form-heading h3,
.brief-output__heading h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 400;
}

.form-heading .form-step {
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-grid__full {
  grid-column: 1 / -1;
}

.form-grid label > span,
fieldset legend {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

select,
input[type="text"] {
  width: 100%;
  min-height: 51px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 14px;
  background: #faf8f1;
  color: var(--ink);
  font-size: 13px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

select {
  appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 22px,
    calc(100% - 13px) 22px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

select:focus,
input[type="text"]:focus {
  border-color: var(--gold-deep);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(201, 154, 57, 0.15);
}

input::placeholder {
  color: #99958a;
}

fieldset {
  margin: 26px 0 30px;
  padding: 0;
  border: 0;
}

fieldset legend {
  margin-bottom: 13px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.check-grid label {
  position: relative;
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  font-size: 11px;
}

.check-grid input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  opacity: 0;
}

.check-grid label > span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-grid label > span::before {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  border: 1px solid rgba(23, 23, 16, 0.35);
  background: var(--paper);
  content: "";
}

.check-grid label > span::after {
  position: absolute;
  top: 7px;
  left: 5px;
  width: 8px;
  height: 4px;
  transform: rotate(-45deg);
  border-bottom: 2px solid var(--paper);
  border-left: 2px solid var(--paper);
  content: "";
  opacity: 0;
}

.check-grid input:checked + span::before {
  border-color: var(--gold-deep);
  background: var(--gold-deep);
}

.check-grid input:checked + span::after {
  opacity: 1;
}

.check-grid input:focus-visible + span {
  outline: 3px solid var(--gold-light);
  outline-offset: 5px;
}

.brief-output {
  min-height: 600px;
}

.brief-output:focus {
  outline: 0;
}

.brief-output__heading svg {
  width: 43px;
  height: 43px;
  padding: 10px;
  border-radius: 50%;
  background: #e6eddf;
  fill: none;
  stroke: #4d7041;
  stroke-width: 2;
}

.brief-output > p#brief-text {
  min-height: 330px;
  margin: 0 0 28px;
  padding: 26px;
  background: #f5f1e7;
  color: var(--ink-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.9;
  white-space: pre-line;
}

.brief-output__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brief-output .button--ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.brief-output .button--ghost:hover {
  border-color: var(--ink);
  background: transparent;
}

.copy-status {
  min-height: 24px;
  margin: 15px 0 0;
  color: #4d7041;
  font-size: 11px;
  font-weight: 700;
}

/* Footer */
.site-footer {
  background: #090b09;
  color: var(--white);
}

.site-footer__top {
  display: grid;
  min-height: 190px;
  align-items: center;
  grid-template-columns: 0.8fr 1.2fr 0.8fr;
  gap: 70px;
  border-bottom: 1px solid var(--line-dark);
}

.site-footer__top > p {
  max-width: 500px;
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 13px;
}

.footer-enquiry {
  justify-self: end;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--gold);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer__middle {
  display: grid;
  padding: 62px 0;
  grid-template-columns: 0.6fr 0.6fr 1.8fr;
  gap: 70px;
}

.site-footer__middle > div {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}

.site-footer__middle > div > span {
  margin-bottom: 8px;
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-footer__middle a {
  min-height: 32px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.site-footer__middle a:hover {
  color: var(--white);
}

.site-footer__middle .footer-disclosure {
  padding-left: 55px;
  border-left: 1px solid var(--line-dark);
}

.footer-disclosure p {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 11px;
}

.site-footer__bottom {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.3);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Motion */
.js .reveal {
  opacity: 1;
  transform: none;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .section {
    padding: 104px 0;
  }

  h2 {
    font-size: 54px;
  }

  .primary-navigation {
    gap: 22px;
  }

  .hero {
    min-height: 830px;
  }

  .hero h1 {
    font-size: 72px;
  }

  .opening__grid,
  .standard__grid,
  .guidance__grid,
  .enquiry__grid {
    gap: 65px;
  }

  .principle-card,
  .mandate-card {
    padding-right: 28px;
    padding-left: 28px;
  }

  .process-step {
    padding-right: 22px;
    padding-left: 22px;
  }

  .standard__visual img {
    min-height: 500px;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .section {
    padding: 88px 0;
  }

  h2 {
    font-size: 48px;
  }

  .menu-toggle {
    display: flex;
  }

  .primary-navigation {
    position: fixed;
    top: 0;
    right: 0;
    width: min(88vw, 420px);
    height: 100dvh;
    display: flex;
    visibility: hidden;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    gap: 0;
    padding: 110px 32px 40px;
    transform: translateX(100%);
    background: #11130f;
    box-shadow: -30px 0 80px rgba(0, 0, 0, 0.28);
    opacity: 0;
    transition: transform 220ms ease, opacity 220ms ease, visibility 220ms;
  }

  .primary-navigation.is-open {
    visibility: visible;
    transform: translateX(0);
    opacity: 1;
  }

  .primary-navigation > a:not(.nav-cta) {
    min-height: 62px;
    border-bottom: 1px solid var(--line-dark);
    color: var(--white);
    font-family: var(--display);
    font-size: 25px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
  }

  .primary-navigation > a:not(.nav-cta)::after {
    display: none;
  }

  .primary-navigation .nav-cta {
    min-height: 56px;
    justify-content: space-between;
    margin-top: 28px;
    border-color: var(--gold);
    background: var(--gold);
    color: var(--night);
  }

  .menu-toggle {
    position: relative;
    z-index: 5;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(9, 11, 9, 0.98) 0%, rgba(9, 11, 9, 0.88) 45%, rgba(9, 11, 9, 0.38) 100%),
      linear-gradient(0deg, rgba(7, 8, 7, 0.88) 0%, transparent 36%);
  }

  .hero__image {
    object-position: 57% center;
  }

  .hero__assurances > div {
    padding: 18px;
  }

  .opening__grid,
  .section-intro,
  .standard__grid,
  .guidance__grid,
  .faq__grid,
  .enquiry__grid {
    grid-template-columns: 1fr;
  }

  .opening__grid,
  .standard__grid,
  .guidance__grid,
  .faq__grid,
  .enquiry__grid {
    gap: 55px;
  }

  .opening__copy {
    max-width: 720px;
    padding-top: 0;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principle-card {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle-card:last-child {
    border-bottom: 0;
  }

  .principle-card svg {
    margin-bottom: 36px;
  }

  .section-intro {
    gap: 30px;
  }

  .mandate-grid {
    grid-template-columns: 1fr;
  }

  .mandate-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .mandate-card:last-child {
    border-bottom: 0;
  }

  .mandate-card__icon {
    min-height: 130px;
  }

  .standard__grid {
    gap: 80px;
  }

  .standard__content {
    padding-left: 0;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step:nth-child(3) {
    border-left: 1px solid var(--line-dark);
  }

  .guidance__heading {
    position: static;
  }

  .enquiry__intro {
    padding-top: 0;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    padding: 45px 0;
  }

  .site-footer__top > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .site-footer__middle {
    grid-template-columns: 0.6fr 0.6fr 1.5fr;
    gap: 35px;
  }

  .site-footer__middle .footer-disclosure {
    padding-left: 35px;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 82px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 72px 0;
  }

  h2 {
    font-size: 42px;
    line-height: 1;
  }

  .lead {
    font-size: 17px;
  }

  .preview-bar__inner {
    min-height: 31px;
    justify-content: center;
  }

  .preview-bar__inner > span:first-child {
    display: none;
  }

  .nav-shell {
    min-height: 73px;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__word strong {
    font-size: 19px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .hero {
    min-height: 880px;
    align-items: flex-start;
  }

  .hero__image {
    object-position: 64% center;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(9, 11, 9, 0.96) 0%, rgba(9, 11, 9, 0.78) 65%, rgba(9, 11, 9, 0.36) 100%),
      linear-gradient(0deg, rgba(7, 8, 7, 0.96) 0%, rgba(7, 8, 7, 0.18) 50%),
      linear-gradient(180deg, rgba(7, 8, 7, 0.46) 0%, transparent 22%);
  }

  .hero__inner {
    padding-top: 170px;
    padding-bottom: 286px;
  }

  .hero h1 {
    margin-bottom: 23px;
    font-size: 54px;
    line-height: 0.96;
  }

  .hero__lead {
    margin-bottom: 27px;
    font-size: 16px;
    line-height: 1.65;
  }

  .button-row {
    flex-direction: column;
  }

  .button-row .button {
    width: 100%;
  }

  .hero__note {
    font-size: 11px;
  }

  .hero__assurances {
    grid-template-columns: 1fr;
  }

  .hero__assurances > div {
    min-height: 66px;
    padding: 10px 15px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero__assurances > div:last-child {
    border-bottom: 0;
  }

  .opening::after {
    right: 24px;
    height: 45px;
  }

  .opening__grid {
    gap: 35px;
  }

  .principles {
    margin-top: 58px;
  }

  .principle-card {
    min-height: 248px;
    padding: 42px 25px 35px;
  }

  .section-intro {
    margin-bottom: 42px;
  }

  .mandate-card {
    padding: 26px 23px 31px;
  }

  .mandate-card__icon {
    min-height: 116px;
    margin: 24px 0 28px;
  }

  .mandate-card h3 {
    font-size: 27px;
  }

  .standard__visual::before {
    top: -10px;
    right: -8px;
    bottom: 55px;
    left: 10px;
  }

  .standard__visual img {
    min-height: 360px;
  }

  .standard__visual figcaption {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
  }

  .standard__grid {
    gap: 62px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    min-height: auto;
    padding: 27px 25px 31px;
    border-left: 1px solid var(--line-dark);
  }

  .process-step__number {
    margin-bottom: 28px;
  }

  .process-step h3,
  .process-step p {
    min-height: 0;
  }

  .guidance__grid,
  .faq__grid,
  .enquiry__grid {
    gap: 45px;
  }

  .guidance-card {
    min-height: 0;
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

  .guidance-card h3 {
    font-size: 23px;
  }

  .faq-list summary {
    min-height: 78px;
    font-size: 13px;
  }

  .faq-list details > p {
    margin-right: 0;
  }

  .enquiry-card {
    min-height: 0;
    padding: 28px 20px;
  }

  .form-heading h3,
  .brief-output__heading h3 {
    font-size: 25px;
  }

  .form-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .brief-output {
    min-height: 0;
  }

  .brief-output > p#brief-text {
    min-height: 280px;
    padding: 20px;
    font-size: 11px;
  }

  .brief-output__actions {
    flex-direction: column;
  }

  .brief-output__actions .button {
    width: 100%;
  }

  .site-footer__top,
  .site-footer__middle {
    grid-template-columns: 1fr;
  }

  .site-footer__top {
    gap: 28px;
  }

  .site-footer__top > p {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-enquiry {
    justify-self: start;
  }

  .site-footer__middle {
    gap: 34px;
    padding: 50px 0;
  }

  .site-footer__middle .footer-disclosure {
    padding: 30px 0 0;
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .site-footer__bottom {
    min-height: 90px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
  }
}
