@charset "UTF-8";

:root {
  --color-oat-beige: #F2EBDD;
  --color-warm-cream: #FFF8EC;
  --color-muted-turquoise: #7FB3B0;
  --color-cherry-red: #C43A3A;
  --color-cherry-red-deep: #A62F2F;
  --color-dark-chocolate: #2E211B;
  --color-brushed-aluminium: #B9B7B2;
  --color-soft-ink: #6B5E57;
  --color-deep-turquoise: #1F4E4C;
  --color-dark-chocolate-12: rgba(46, 33, 27, 0.12);
  --color-dark-chocolate-10: rgba(46, 33, 27, 0.10);

  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --text-display: 48px;
  --text-h2: 36px;
  --text-h3: 28px;
  --text-h4: 20px;
  --text-body-large: 18px;
  --text-body: 16px;
  --text-small: 14px;
  --text-navigation: 15px;
  --text-button: 16px;
  --text-footer: 14px;

  --leading-display: 1.08;
  --leading-h2: 1.15;
  --leading-h3: 1.2;
  --leading-h4: 1.3;
  --leading-body-large: 1.6;
  --leading-body: 1.6;
  --leading-small: 1.5;
  --leading-navigation: 1.2;
  --leading-button: 1.2;
  --leading-footer: 1.6;

  --weight-heading: 600;
  --weight-body: 400;
  --weight-navigation: 500;
  --weight-button: 600;

  --tracking-display: -0.01em;
  --tracking-h2: -0.005em;
  --tracking-navigation: 0.01em;

  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  --container-standard: 1200px;
  --container-wide: 1320px;

  --page-padding-mobile: 24px;
  --page-padding-tablet: 40px;
  --page-padding-desktop: 64px;

  --section-padding-major-mobile: 64px;
  --section-padding-major-tablet: 96px;
  --section-padding-major-desktop: 128px;
  --section-padding-secondary-mobile: 48px;
  --section-padding-secondary-tablet: 64px;
  --section-padding-secondary-desktop: 96px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --shadow-float: 0 8px 24px rgba(46, 33, 27, 0.10);

  --transition-fast: 160ms ease-out;
  --focus-ring-width: 2px;
  --focus-ring-offset: 2px;
  --touch-target-min: 44px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--color-oat-beige);
  color: var(--color-dark-chocolate);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--weight-body);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

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

ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  color: var(--color-dark-chocolate);
  text-wrap: balance;
}

h1 {
  font-size: clamp(32px, 5vw, var(--text-display));
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  margin-block-end: var(--space-lg);
}

h2 {
  font-size: clamp(26px, 3.5vw, var(--text-h2));
  line-height: var(--leading-h2);
  letter-spacing: var(--tracking-h2);
  margin-block-end: var(--space-lg);
}

h3 {
  font-size: clamp(22px, 2.5vw, var(--text-h3));
  line-height: var(--leading-h3);
  margin-block-end: var(--space-md);
}

h4 {
  font-family: var(--font-body);
  font-size: var(--text-h4);
  font-weight: var(--weight-heading);
  line-height: var(--leading-h4);
  margin-block-end: var(--space-sm);
}

h5,
h6 {
  font-family: var(--font-body);
  font-weight: var(--weight-heading);
  line-height: var(--leading-h4);
  margin-block-end: var(--space-sm);
}

p {
  margin: 0;
  margin-block-end: var(--space-md);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  text-wrap: pretty;
}

p:last-child {
  margin-block-end: 0;
}

blockquote {
  margin: var(--space-lg) 0;
  padding-inline-start: var(--space-lg);
  border-inline-start: 3px solid var(--color-brushed-aluminium);
  color: var(--color-soft-ink);
  font-style: italic;
}

blockquote p {
  margin-block-end: var(--space-sm);
}

blockquote p:last-child {
  margin-block-end: 0;
}

ul:where([class]) {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul:not([class]),
ol:not([class]) {
  margin: 0;
  margin-block-end: var(--space-md);
  padding-inline-start: var(--space-lg);
}

ul:not([class]) {
  list-style: disc;
}

ol:not([class]) {
  list-style: decimal;
}

ul:not([class]) li,
ol:not([class]) li {
  margin-block-end: var(--space-xs);
}

ul:not([class]) li:last-child,
ol:not([class]) li:last-child {
  margin-block-end: 0;
}

figure {
  margin: 0;
}

figcaption {
  font-size: var(--text-small);
  line-height: var(--leading-small);
  color: var(--color-soft-ink);
  margin-block-start: var(--space-xs);
}

hr {
  border: none;
  border-block-start: 1px solid var(--color-dark-chocolate-12);
  margin: var(--space-2xl) 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

th,
td {
  text-align: start;
  padding: var(--space-sm) var(--space-md);
  border-block-end: 1px solid var(--color-dark-chocolate-12);
}

th {
  font-weight: var(--weight-heading);
  color: var(--color-dark-chocolate);
}

label {
  display: block;
  font-size: var(--text-small);
  font-weight: var(--weight-navigation);
  line-height: var(--leading-small);
  color: var(--color-dark-chocolate);
  margin-block-end: var(--space-xs);
}

input,
select,
textarea {
  width: 100%;
  min-height: var(--touch-target-min);
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-oat-beige);
  border: 1px solid var(--color-dark-chocolate-12);
  border-radius: var(--radius-sm);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-dark-chocolate);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-soft-ink);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-cherry-red);
  outline-offset: var(--focus-ring-offset);
  border-color: var(--color-cherry-red);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232E211B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-md) center;
  padding-inline-end: var(--space-2xl);
}

a:focus-visible,
button:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-cherry-red);
  outline-offset: var(--focus-ring-offset);
}

a {
  transition: color var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
}

.container {
  width: 100%;
  max-width: var(--container-standard);
  margin-inline: auto;
  padding-inline: var(--page-padding-mobile);
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--page-padding-mobile);
}

.section {
  padding-block: var(--section-padding-major-mobile);
}

.section-secondary {
  padding-block: var(--section-padding-secondary-mobile);
}

.surface-card {
  background-color: var(--color-warm-cream);
  border: 1px solid var(--color-dark-chocolate-12);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.surface-card > :last-child {
  margin-block-end: 0;
}

.surface-turquoise {
  background-color: var(--color-muted-turquoise);
  color: var(--color-deep-turquoise);
}

.surface-turquoise h1,
.surface-turquoise h2,
.surface-turquoise h3,
.surface-turquoise h4,
.surface-turquoise h5,
.surface-turquoise h6 {
  color: var(--color-deep-turquoise);
}

.surface-dark {
  background-color: var(--color-dark-chocolate);
  color: var(--color-warm-cream);
}

.surface-dark h1,
.surface-dark h2,
.surface-dark h3,
.surface-dark h4,
.surface-dark h5,
.surface-dark h6 {
  color: var(--color-warm-cream);
}

.surface-dark a {
  color: var(--color-warm-cream);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: var(--touch-target-min);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-sm);
  font-size: var(--text-button);
  font-weight: var(--weight-button);
  line-height: var(--leading-button);
  text-align: center;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.btn-primary {
  background-color: var(--color-cherry-red);
  color: var(--color-warm-cream);
  border: 1px solid var(--color-cherry-red);
}

.btn-primary:hover {
  background-color: var(--color-cherry-red-deep);
  border-color: var(--color-cherry-red-deep);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-dark-chocolate);
  border: 1px solid var(--color-dark-chocolate);
}

.btn-secondary:hover {
  background-color: var(--color-warm-cream);
}

.flex {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.flex > * {
  min-width: 0;
}

.flex-nowrap {
  flex-wrap: nowrap;
}

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

.flex-align-center {
  align-items: center;
}

.flex-align-start {
  align-items: flex-start;
}

.flex-align-end {
  align-items: flex-end;
}

.flex-justify-center {
  justify-content: center;
}

.flex-justify-between {
  justify-content: space-between;
}

.flex-justify-start {
  justify-content: flex-start;
}

.flex-justify-end {
  justify-content: flex-end;
}

.flex-gap-xs {
  gap: var(--space-xs);
}

.flex-gap-sm {
  gap: var(--space-sm);
}

.flex-gap-lg {
  gap: var(--space-lg);
}

.flex-gap-xl {
  gap: var(--space-xl);
}

.flex-gap-2xl {
  gap: var(--space-2xl);
}

.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;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 1000;
  background-color: var(--color-dark-chocolate);
  color: var(--color-warm-cream);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-sm);
  font-weight: var(--weight-button);
  transition: top var(--transition-fast);
}

.skip-link:focus-visible {
  top: var(--space-md);
}

@media (min-width: 768px) {
  .container,
  .container-wide {
    padding-inline: var(--page-padding-tablet);
  }

  .section {
    padding-block: var(--section-padding-major-tablet);
  }

  .section-secondary {
    padding-block: var(--section-padding-secondary-tablet);
  }
}

@media (min-width: 1024px) {
  .container,
  .container-wide {
    padding-inline: var(--page-padding-desktop);
  }

  .section {
    padding-block: var(--section-padding-major-desktop);
  }

  .section-secondary {
    padding-block: var(--section-padding-secondary-desktop);
  }
}

@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;
  }
}