/* Sovereign Motive. Black, gold and white. Arial, as in the brand guidelines.
   Gold #A68B5B is for headings and labels on black, and for large headings on white.
   Body text stays dark grey on white so it can be read on a phone. */

:root {
  --black: #080808;
  --gold: #A68B5B;
  --white: #ffffff;
  --ivory: #f7f5f0;
  --ink: #1a1a1a;
  --body: #4a4a4a;
  --rule: #e5e0d5;
  --footer-soft: #c8c8c8;
  --space: 1.25rem;
  --wrap: 68rem;
  /* Same proportion as the pattern band, so the fade lines up with it. */
  --band-h: calc(100vw * 145.9 / 1309);
  --pattern-fade: 0.38;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: inherit;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: var(--white);
  color: var(--ink);
  z-index: 2;
  transform: translateY(-150%);
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.band {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 1309 / 145.9;
  background: var(--black) url("../assets/pattern.svg") center / 100% auto no-repeat;
}

/* The same lattice continues through the black hero and footer.
   It is full strength where it meets the band, then fades to a light texture. */
.site-header::before,
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--black);
  background-repeat: no-repeat;
  background-size: 100% auto;
}

/* Header */

.site-header {
  position: relative;
  isolation: isolate;
  background: var(--black);
  color: var(--white);
}

.site-header::before {
  background-image: url("../assets/pattern-down.png");
  background-position: top center;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0,
    #000 calc(var(--band-h) + 2px),
    rgba(0, 0, 0, var(--pattern-fade)) calc(var(--band-h) + 14rem),
    rgba(0, 0, 0, var(--pattern-fade)) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0,
    #000 calc(var(--band-h) + 2px),
    rgba(0, 0, 0, var(--pattern-fade)) calc(var(--band-h) + 14rem),
    rgba(0, 0, 0, var(--pattern-fade)) 100%
  );
}

.header-inner {
  position: relative;
  z-index: 1;
  width: min(48rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.75rem 0 2.75rem;
  text-align: center;
}

.logo-link {
  display: block;
  width: min(22.5rem, 86%);
  margin: 0 auto 1.25rem;
}

.logo-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
}

.logo {
  display: block;
  width: 100%;
  height: auto;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.35rem;
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.nav-list a {
  display: inline-block;
  padding: 0.7rem 0.55rem;
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-header h1 {
  margin: 0 auto 0.85rem;
  max-width: 20em;
  color: var(--white);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

.where {
  margin: 0;
  color: var(--footer-soft);
  font-size: 0.9375rem;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  text-align: center;
  text-decoration: none;
  line-height: 1.3;
}

.btn-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.btn-detail {
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
}

.btn-line {
  background: var(--black);
  color: var(--gold);
  box-shadow: inset 0 0 0 2px var(--gold);
}

.btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.btn-gold:active {
  background: #977347;
}

.btn-line:active {
  background: #161616;
}

/* Sections */

main section {
  padding: 3.25rem 0;
  border-top: 1px solid var(--rule);
}

main section:first-child {
  border-top: 0;
}

h2 {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 1.625rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h2::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 1px;
  margin-top: 0.75rem;
  background: var(--gold);
}

.lead {
  max-width: 38rem;
  margin-bottom: 1.75rem;
  color: var(--ink);
  font-size: 1.125rem;
}

.steps,
.reasons,
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps {
  counter-reset: step;
}

.steps li,
.reasons li {
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
}

.steps li::before {
  content: counter(step);
  counter-increment: step;
  display: block;
  margin-bottom: 0.35rem;
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

h3 {
  margin: 0 0 0.4rem;
  color: var(--ink);
  font-size: 1.125rem;
}

.steps p,
.reasons p {
  margin: 0;
}

.prices {
  display: grid;
  gap: 1.25rem;
}

.price {
  border: 1px solid var(--rule);
  background: var(--white);
}

.price h3 {
  margin: 0;
  padding: 0.8rem 1rem;
  background: var(--black);
  color: var(--gold);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.fee {
  margin: 0;
  padding: 1.1rem 1rem 0.2rem;
  color: var(--ink);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.price p:last-child {
  margin: 0;
  padding: 0.85rem 1.15rem 1.25rem;
  text-align: center;
}

.contact-list li {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
}

.contact-list li:last-child {
  border-bottom: 1px solid var(--rule);
}

.contact-label {
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-list a,
.contact-place {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.25rem;
  overflow-wrap: anywhere;
}

.note {
  margin: 1.25rem 0 0;
  max-width: 38rem;
}

/* Footer */

.site-footer {
  position: relative;
  isolation: isolate;
  background: var(--black);
  color: var(--footer-soft);
  padding-top: 2.5rem;
}

.site-footer::before {
  background-image: url("../assets/pattern-up.png");
  background-position: bottom center;
  -webkit-mask-image: linear-gradient(
    to top,
    #000 0,
    #000 calc(var(--band-h) + 2px),
    rgba(0, 0, 0, var(--pattern-fade)) calc(var(--band-h) + 14rem),
    rgba(0, 0, 0, var(--pattern-fade)) 100%
  );
  mask-image: linear-gradient(
    to top,
    #000 0,
    #000 calc(var(--band-h) + 2px),
    rgba(0, 0, 0, var(--pattern-fade)) calc(var(--band-h) + 14rem),
    rgba(0, 0, 0, var(--pattern-fade)) 100%
  );
}

.site-footer .wrap {
  position: relative;
  z-index: 1;
}

.footer-logo {
  display: block;
  width: min(16rem, 70%);
  height: auto;
  margin: 0 0 1.25rem;
}

.site-footer p {
  max-width: 36rem;
}

.site-footer .legal {
  color: var(--white);
}

.site-footer a {
  color: var(--gold);
  font-weight: 700;
}

.social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.35rem;
  margin: 1.25rem 0;
}

.social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.social svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.site-footer a:focus-visible,
.contact-list a:focus-visible,
.nav-list a:focus-visible,
.social a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.privacy {
  padding-bottom: 1rem;
}

.privacy h1 {
  color: var(--ink);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.privacy h1::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 1px;
  margin-top: 0.75rem;
  background: var(--gold);
}

.privacy h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.privacy a {
  color: var(--ink);
  font-weight: 700;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.2rem;
}


/* Enquiry form */

.form-req {
  max-width: 38rem;
  margin: -0.75rem 0 1.5rem;
}

.request-form {
  max-width: 44rem;
  position: relative;
}

.form-grid {
  display: grid;
  gap: 1.15rem 1.25rem;
}

.form-field label,
.form-field legend {
  display: block;
  margin: 0 0 0.4rem;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 1.0625rem;
  line-height: 1.4;
}

.form-field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-color: var(--gold);
}

.form-choices {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.form-choices .choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.form-choices .choice-list label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  min-height: 3rem;
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.form-choices input[type="radio"],
.form-consent input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  min-height: 0;
  min-width: 1.25rem;
  margin: 0;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.form-consent label {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.form-actions {
  margin-top: 0.35rem;
}

button.btn {
  width: 100%;
  max-width: 18rem;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (min-width: 700px) {
  .actions {
    flex-direction: row;
    justify-content: center;
  }

  .btn {
    flex: 1 1 0;
    max-width: 18rem;
  }

  .prices {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .reasons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2.5rem;
  }

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

  .form-span,
  .form-actions {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .header-inner {
    padding-top: 2.25rem;
    padding-bottom: 3.25rem;
  }

  main section {
    padding: 4.25rem 0;
  }

  .steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    border-top: 1px solid var(--rule);
    padding-top: 1.5rem;
  }

  .steps li {
    padding: 0;
    border-top: 0;
  }
}

@media (max-width: 520px) {
  .header-inner {
    padding-top: 1.25rem;
    padding-bottom: 2rem;
  }

  .logo-link {
    width: min(17.5rem, 74%);
    margin-bottom: 0.75rem;
  }

  .nav-list {
    gap: 0;
    margin-bottom: 1.35rem;
  }

  .nav-list a {
    padding: 0.7rem 0.4rem;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
  }

  h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 380px) {
  .wrap,
  .header-inner {
    width: calc(100% - 2rem);
  }

  .nav-list a {
    padding-inline: 0.28rem;
    letter-spacing: 0.01em;
  }
}
