/*////////////////////////////////////////////////////////////////////////////////////////////
  The new CSS reset (version 1.11.2)
  Source: https://github.com/elad2412/the-new-css-reset
////////////////////////////////////////////////////////////////////////////////////////////*/
*:where(
    :not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)
  ) {
  all: unset;
  display: revert;
}

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

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  scroll-behavior: smooth;
}

a,
button {
  cursor: revert;
}

ol,
ul,
menu,
summary {
  list-style: none;
}

img {
  max-inline-size: 100%;
  max-block-size: 100%;
  display: block;
}

table {
  border-collapse: collapse;
}

input,
textarea {
  -webkit-user-select: auto;
}

textarea {
  white-space: revert;
}

meter {
  -webkit-appearance: revert;
  appearance: revert;
}

:where(pre) {
  all: revert;
  box-sizing: border-box;
}

::placeholder {
  color: unset;
}

:where([hidden]) {
  display: none;
}

:where([contenteditable]:not([contenteditable="false"])) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
  -webkit-user-select: auto;
}

:where([draggable="true"]) {
  -webkit-user-drag: element;
}

:where(dialog:modal) {
  all: revert;
  box-sizing: border-box;
}

::-webkit-details-marker {
  display: none;
}

/*////////////////////////////////////////////////////////////////////////////////////////////
  Brand foundations
////////////////////////////////////////////////////////////////////////////////////////////*/
:root {
  --colour-black: #000000;
  --colour-white: #ffffff;
  --colour-slate: #1a1a1a;
  --colour-charcoal: #2a2a2a;
  --colour-silver: #b3b3b3;
  --colour-heather: #a082b3;
  --colour-pine: #0c3b2e;
  --colour-surface: #111111;
  --colour-background: #ffffff;
  --colour-muted: #2a2a2a;
  --colour-border: #b3b3b3;
  --colour-focus: rgba(160, 130, 179, 0.45);
  --font-heading: "Strong", "Playfair Display", serif;
  --font-script: "Redemption", "Hamilton Script", "Cormorant Garamond", serif;
  --font-body: "Work Sans", sans-serif;
  --max-width: 1200px;
  --container-padding: clamp(1.5rem, 5vw, 3rem);
  --transition-base: 160ms ease-out;
}

@font-face {
  font-family: "Hamilton Script";
  src: url("/assets/fonts/Hamilton Script.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Strong";
  src: url("/assets/fonts/Strong.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Folkra";
  src: url("/assets/fonts/Folkra.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Dublin Heavy";
  src: url("/assets/fonts/Dublin-Heavy.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Redemption";
  src: url("/assets/fonts/Redemption.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html,
body {
  min-height: 100%;
  background-color: var(--colour-background);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--colour-slate);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  overflow-x: hidden;
}

main {
  display: block;
}

p {
  margin-bottom: 1.25rem;
}

ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0 0 1.25rem;
}

ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin: 0 0 1.25rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--colour-charcoal);
  line-height: 1.15;
  font-weight: 500;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.625rem, 3.4vw + 1.5rem, 3.5rem);
}

h2 {
  font-size: clamp(2rem, 2.2vw + 1.25rem, 2.75rem);
}

h3 {
  font-size: clamp(1.5rem, 1.8vw + 1rem, 2.1rem);
}

h4 {
  font-size: 1.375rem;
}

small {
  font-size: 0.875rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover,
a:focus-visible {
  color: var(--colour-heather);
}

button,
input,
select,
textarea {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.section-heading {
  margin: 0 auto clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.section-heading p {
  margin: 0;
  color: var(--colour-muted);
}

.eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--colour-silver);
  margin-bottom: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--colour-black);
  background-color: var(--colour-black);
  color: var(--colour-white);
  padding: 0.9rem 1.75rem;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color var(--transition-base),
    color var(--transition-base), box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.button:hover,
.button:focus-visible {
  background-color: var(--colour-charcoal);
  border-color: var(--colour-charcoal);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.button:focus-visible {
  outline: 2px solid var(--colour-focus);
  outline-offset: 4px;
}

.button--ghost {
  background-color: transparent;
  color: var(--colour-black);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background-color: rgba(0, 0, 0, 0.08);
  color: var(--colour-black);
  border-color: var(--colour-black);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
  color: var(--colour-black);
  position: relative;
}

.text-link::after {
  content: "";
  width: 18px;
  height: 1px;
  background-color: currentColor;
  transform: translateY(0.5em);
  transition: transform var(--transition-base);
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translate(0.35rem, 0.5em);
}

.meta {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--colour-silver);
}

.grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 768px) {
  .grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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