:root {
  --color-bg-pastel: #FDF2E9;
  --color-surface-white: #FFFFFF;
  --color-ink-black: #111111;
  --color-candy-pink: #F7A8C4;
  --color-sky-blue: #A8D8F0;
  --color-deep-night: #1A1A2E;
  --color-muted-ink: #4A4A5A;
  --color-focus-ring: #F7A8C4;

  --font-heading: "Archivo Black", "Arial Black", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --text-display: clamp(3.5rem, 8vw, 7rem);
  --text-h1: clamp(2.5rem, 5vw, 4rem);
  --text-h2: clamp(1.75rem, 3.5vw, 2.5rem);
  --text-h3: clamp(1.25rem, 2vw, 1.5rem);
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-caption: 0.75rem;

  --leading-display: 0.95;
  --leading-h1: 1.05;
  --leading-h2: 1.15;
  --leading-h3: 1.25;
  --leading-body: 1.6;
  --leading-small: 1.5;
  --leading-caption: 1.4;

  --tracking-display: -0.02em;
  --tracking-caption: 0.08em;

  --space-hairline: 4px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;
  --space-3xl: 128px;

  --container-max: 1200px;
  --container-pad-mobile: 24px;
  --container-pad-desktop: 40px;

  --radius-none: 0px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 999px;

  --border-width: 2px;
  --border-solid: var(--border-width) solid var(--color-ink-black);

  --shadow-offset-sm: 4px 4px 0 var(--color-ink-black);
  --shadow-offset-lg: 6px 6px 0 var(--color-ink-black);
  --shadow-offset-hover: 2px 2px 0 var(--color-ink-black);
  --shadow-offset-mobile: 2px 2px 0 var(--color-ink-black);

  --focus-ring-width: 2px;
  --focus-ring-offset: 2px;

  --transition-fast: 120ms ease-out;
  --transition-link: 150ms ease-out;
}

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

* {
  margin: 0;
}

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

body {
  min-height: 100vh;
  background-color: var(--color-bg-pastel);
  color: var(--color-ink-black);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

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

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

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-ink-black);
  font-weight: 400;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h1 {
  font-size: var(--text-h1);
  line-height: var(--leading-h1);
  margin-block-end: var(--space-md);
}

h2 {
  font-size: var(--text-h2);
  line-height: var(--leading-h2);
  margin-block-end: var(--space-md);
}

h3 {
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  margin-block-end: var(--space-sm);
}

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

h5 {
  font-size: var(--text-small);
  line-height: var(--leading-h3);
  margin-block-end: var(--space-xs);
}

h6 {
  font-size: var(--text-caption);
  line-height: var(--leading-h3);
  letter-spacing: var(--tracking-caption);
  text-transform: uppercase;
  margin-block-end: var(--space-xs);
}

p {
  margin-block-end: var(--space-md);
  overflow-wrap: break-word;
}

small {
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

caption {
  font-size: var(--text-caption);
  line-height: var(--leading-caption);
  letter-spacing: var(--tracking-caption);
  text-transform: uppercase;
  color: var(--color-muted-ink);
  margin-block-end: var(--space-xs);
}

blockquote {
  margin-block-end: var(--space-md);
  padding-inline-start: var(--space-md);
  border-inline-start: var(--border-solid);
  color: var(--color-muted-ink);
}

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

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

address {
  font-style: normal;
}

hr {
  border: none;
  border-block-start: var(--border-solid);
  margin-block: var(--space-lg);
}

code,
kbd,
samp,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9em;
}

pre {
  background-color: var(--color-surface-white);
  border: var(--border-solid);
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
  overflow-x: auto;
  margin-block-end: var(--space-md);
}

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

mark {
  background-color: var(--color-candy-pink);
  color: var(--color-ink-black);
  padding-inline: 2px;
}

abbr[title] {
  text-decoration: underline dotted;
  cursor: help;
}

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

@media (min-width: 768px) {
  .container {
    padding-inline: var(--container-pad-desktop);
  }
}

.section {
  padding-block: var(--space-xl);
}

@media (min-width: 768px) {
  .section {
    padding-block: var(--space-2xl);
  }
}

@media (min-width: 1024px) {
  .section {
    padding-block: var(--space-3xl);
  }
}

.surface-card {
  background-color: var(--color-surface-white);
  border: var(--border-solid);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-offset-sm);
}

.surface-card-large {
  background-color: var(--color-surface-white);
  border: var(--border-solid);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-offset-lg);
}

.surface-dark {
  background-color: var(--color-deep-night);
  color: var(--color-surface-white);
}

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

.surface-dark a {
  color: var(--color-sky-blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-heading);
  font-size: var(--text-small);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  padding: var(--space-sm) var(--space-md);
  border: var(--border-solid);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-offset-sm);
  background-color: var(--color-surface-white);
  color: var(--color-ink-black);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  min-width: 0;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-offset-hover);
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-offset-sm);
}

.btn-primary {
  background-color: var(--color-candy-pink);
  color: var(--color-ink-black);
}

.btn-secondary {
  background-color: var(--color-surface-white);
  color: var(--color-ink-black);
}

.btn-dark {
  background-color: var(--color-deep-night);
  color: var(--color-surface-white);
  border-color: var(--color-surface-white);
  box-shadow: var(--shadow-offset-sm);
}

.btn-dark:hover {
  box-shadow: var(--shadow-offset-hover);
}

.link-underline {
  position: relative;
  display: inline-block;
  color: var(--color-ink-black);
  text-decoration: none;
  transition: color var(--transition-link);
}

.link-underline::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-sky-blue);
  transition: width var(--transition-link);
}

.link-underline:hover::after,
.link-underline:focus-visible::after {
  width: 100%;
}

.link-underline.active {
  color: var(--color-ink-black);
}

.link-underline.active::after {
  width: 100%;
  background-color: var(--color-candy-pink);
}

.nav-link {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-ink-black);
  text-decoration: none;
  padding-block: var(--space-xs);
  position: relative;
  display: inline-block;
  transition: color var(--transition-link);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-sky-blue);
  transition: width var(--transition-link);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  width: 100%;
}

.nav-link.active::after {
  width: 100%;
  background-color: var(--color-candy-pink);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="password"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
select,
textarea {
  display: block;
  width: 100%;
  min-width: 0;
  background-color: var(--color-surface-white);
  border: var(--border-solid);
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-ink-black);
  transition: box-shadow var(--transition-fast);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
select:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 var(--focus-ring-width) var(--color-focus-ring);
  outline-offset: var(--focus-ring-offset);
}

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

label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 600;
  line-height: var(--leading-small);
  color: var(--color-ink-black);
  margin-block-end: var(--space-xs);
}

fieldset {
  border: var(--border-solid);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  margin-block-end: var(--space-md);
}

legend {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  padding-inline: var(--space-xs);
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
  display: inline-block;
  margin-inline-end: var(--space-xs);
  accent-color: var(--color-candy-pink);
}

input[type="checkbox"] + label,
input[type="radio"] + label {
  display: inline-block;
  margin-block-end: 0;
}

:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-focus-ring);
  outline-offset: var(--focus-ring-offset);
}

::selection {
  background-color: var(--color-candy-pink);
  color: var(--color-ink-black);
}

img {
  object-fit: cover;
}

.img-frame {
  border: var(--border-solid);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ratio-4-3 {
  aspect-ratio: 4 / 3;
}

.ratio-1-1 {
  aspect-ratio: 1 / 1;
}

.ratio-16-9 {
  aspect-ratio: 16 / 9;
}

.flex {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  min-width: 0;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.grid-auto {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  min-width: 0;
}

.grid-auto > * {
  min-width: 0;
}

.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: 9999;
  background-color: var(--color-candy-pink);
  color: var(--color-ink-black);
  font-family: var(--font-heading);
  font-size: var(--text-small);
  text-transform: uppercase;
  padding: var(--space-sm) var(--space-md);
  border: var(--border-solid);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-offset-sm);
  transition: top var(--transition-fast);
}

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

ul:not([class]),
ol:not([class]) {
  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;
}

.content-list {
  list-style: disc;
  padding-inline-start: var(--space-lg);
  margin-block-end: var(--space-md);
}

.content-list li {
  margin-block-end: var(--space-xs);
}

.content-list li:last-child {
  margin-block-end: 0;
}

.content-list ol {
  list-style: decimal;
  padding-inline-start: var(--space-lg);
  margin-block-start: var(--space-xs);
  margin-block-end: 0;
}

.content-list ol li {
  margin-block-end: var(--space-xs);
}

.content-list ol li:last-child {
  margin-block-end: 0;
}

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

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

  .btn:hover {
    transform: none;
    box-shadow: var(--shadow-offset-sm);
  }

  .link-underline::after,
  .nav-link::after {
    transition: none;
  }
}