@font-face {
  font-family: "Inkyscape Serif";
  src: url("../assets/fonts/Lora-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Inkyscape Sans";
  src: url("../assets/fonts/Manrope-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --ink: #151515;
  --ink-soft: #3f4442;
  --muted: #6e7772;
  --line: #dfe8e5;
  --paper: #fbfbfa;
  --white: #ffffff;
  --mist: #eef6f4;
  --blue: #8bb1bd;
  --green: #6f8b7f;
  --red: #8f3d36;
  --gold: #b89444;
  --shadow: 0 24px 80px rgba(20, 24, 22, 0.14);
  --header: rgba(251, 251, 250, 0.92);
  --serif: "Inkyscape Serif", Georgia, serif;
  --sans: "Inkyscape Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

body.modal-open {
  overflow: hidden;
}

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

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.06;
}

h1 {
  max-width: 780px;
  font-size: 4.25rem;
}

.hero-title__line {
  display: block;
}

.hero-title__accent {
  display: inline-block;
  font-style: italic;
}

.hero-title__accent--time {
  color: #2f5f67;
}

.hero-title__accent--weather {
  color: #66786e;
  font-weight: 620;
}

.hero-title__accent--art {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-180%);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
}

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

.section {
  padding: 86px 6vw;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  margin: 18px auto 0;
  max-width: 680px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.section-heading--compact {
  margin-bottom: 36px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 0 24px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #000;
}

.button--small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.9rem;
}

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

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

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

.soft-note {
  color: var(--muted);
  font-size: 0.94rem;
}

.load-error {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  max-width: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}

[data-reveal] {
  transform: translateY(18px);
  opacity: 0;
  transition: opacity 620ms ease, transform 620ms ease;
}

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

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