@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=Inter:wght@300;400;500&display=swap');

:root {
  --radius: 0.125rem;
  --radius-none: 0px;
  --transition: 200ms ease-in-out;
  --transition-slow: 700ms ease-out;
  --header-height: 4rem;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;
}

@media (min-width: 1024px) {
  :root {
    --header-height: 4.5rem;
  }
}

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.875rem, 1vw + 0.5rem, 1rem);
  font-weight: 400;
  line-height: 1.65;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  color: hsl(var(--link));
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: hsl(var(--headline));
}

:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: hsl(var(--foreground));
}

h1 {
  font-size: clamp(2rem, 4vw, 2.625rem);
}

h2 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  line-height: 1.25;
}

h3 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 500;
  line-height: 1.3;
}

.display,
.display-1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.eyebrow,
.badge {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.55;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: hsl(var(--link));
}

small,
.small,
.meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.55;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 3rem;
  }
}

@media (min-width: 1440px) {
  .container {
    padding-inline: 4rem;
  }
}

.text-band {
  max-width: 640px;
  margin-inline: auto;
  padding-block: 5rem;
}

.caption-block {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
}

@media (min-width: 1024px) {
  .text-band {
    padding-block: 7.5rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.btn-primary {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.btn-primary:hover {
  background-color: hsl(var(--accent) / 0.9);
  color: hsl(var(--accent-foreground));
}

.btn-secondary {
  background-color: transparent;
  color: hsl(var(--primary));
  border-color: hsl(var(--primary));
}

.btn-secondary:hover {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}

.card {
  background-color: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border-radius: var(--radius-none);
  overflow: hidden;
}

.card-caption {
  padding: 1.25rem;
}

.input {
  width: 100%;
  padding: 0.75rem 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  color: hsl(var(--foreground));
  background-color: transparent;
  border: none;
  border-bottom: 1px solid hsl(var(--border));
  border-radius: var(--radius-none);
  outline: none;
  transition: border-color var(--transition);
}

.input::placeholder {
  color: hsl(var(--muted-foreground));
}

.input:focus {
  border-bottom-color: hsl(var(--primary));
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background-color: transparent;
  color: hsl(var(--primary-foreground));
  transition: background-color var(--transition), color var(--transition);
}

.site-header.scrolled {
  background-color: hsl(var(--header));
  color: hsl(var(--header-foreground));
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: inherit;
  transition: opacity var(--transition);
}

.nav-link:hover {
  opacity: 0.75;
}

.mobile-panel {
  background-color: hsl(var(--header));
  color: hsl(var(--header-foreground));
}

.site-footer {
  background-color: hsl(var(--footer));
  color: hsl(var(--footer-foreground));
  padding-block: 4rem;
}

.site-footer a {
  color: hsl(var(--footer-foreground));
  transition: color var(--transition);
}

.site-footer a:hover {
  color: hsl(var(--footer-muted));
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ken-burns 12s ease-in-out infinite alternate;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: 8rem 3rem;
}

.gallery {
  display: grid;
  gap: 4px;
}

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

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

@keyframes ken-burns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}

.text-foreground {
  color: hsl(var(--foreground));
}

.text-muted {
  color: hsl(var(--muted-foreground));
}

.text-primary {
  color: hsl(var(--primary));
}

.text-primary-foreground {
  color: hsl(var(--primary-foreground));
}

.text-secondary {
  color: hsl(var(--secondary-foreground));
}

.text-accent {
  color: hsl(var(--accent-foreground));
}

.text-link {
  color: hsl(var(--link));
}

.text-headline {
  color: hsl(var(--headline));
}

.text-background {
  color: hsl(var(--background));
}

.bg-background {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}

.bg-foreground {
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
}

.bg-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.bg-primary-foreground {
  background-color: hsl(var(--primary-foreground));
  color: hsl(var(--primary));
}

.bg-secondary {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

.bg-accent {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.bg-muted {
  background-color: hsl(var(--muted));
  color: hsl(var(--card-foreground));
}

.bg-card {
  background-color: hsl(var(--card));
  color: hsl(var(--card-foreground));
}

.bg-header {
  background-color: hsl(var(--header));
  color: hsl(var(--header-foreground));
}

.bg-footer {
  background-color: hsl(var(--footer));
  color: hsl(var(--footer-foreground));
}

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

  .hero-media {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.prose {
  --tw-prose-body: hsl(var(--text));
  --tw-prose-headings: hsl(var(--text));
  --tw-prose-lead: #4b5563;
  --tw-prose-links: #111827;
  --tw-prose-bold: #111827;
  --tw-prose-counters: #6b7280;
  --tw-prose-bullets: #d1d5db;
  --tw-prose-hr: #e5e7eb;
  --tw-prose-quotes: #111827;
  --tw-prose-quote-borders: #e5e7eb;
  --tw-prose-captions: #6b7280;
  --tw-prose-kbd: #111827;
  --tw-prose-kbd-shadows: rgb(17 24 39/10%);
  --tw-prose-code: #111827;
  --tw-prose-pre-code: #e5e7eb;
  --tw-prose-pre-bg: #1f2937;
  --tw-prose-th-borders: #d1d5db;
  --tw-prose-td-borders: #e5e7eb;
  --tw-prose-invert-body: #d1d5db;
  --tw-prose-invert-headings: #fff;
  --tw-prose-invert-lead: #9ca3af;
  --tw-prose-invert-links: #fff;
  --tw-prose-invert-bold: #fff;
  --tw-prose-invert-counters: #9ca3af;
  --tw-prose-invert-bullets: #4b5563;
  --tw-prose-invert-hr: #374151;
  --tw-prose-invert-quotes: #f3f4f6;
  --tw-prose-invert-quote-borders: #374151;
  --tw-prose-invert-captions: #9ca3af;
  --tw-prose-invert-kbd: #fff;
  --tw-prose-invert-kbd-shadows: rgb(255 255 255/10%);
  --tw-prose-invert-code: #fff;
  --tw-prose-invert-pre-code: #d1d5db;
  --tw-prose-invert-pre-bg: rgb(0 0 0/50%);
  --tw-prose-invert-th-borders: #4b5563;
  --tw-prose-invert-td-borders: #374151;
  font-size: 1rem;
  line-height: 1.75;
}
.posts-archive-grid img {
  aspect-ratio: 16/9;
}

/* hm-color-system:start — computed from the site's color scheme (every text/surface pair is WCAG AA). Change the color scheme instead of editing these. */
:root {
  --background: 0 0% 100%;
  --foreground: 193.3 9.1% 19.4%;
  --text: 193.3 9.1% 19.4%;
  --card: 0 0% 97.3%;
  --card-foreground: 193.3 9.1% 19.4%;
  --popover: 0 0% 97.3%;
  --popover-foreground: 193.3 9.1% 19.4%;
  --primary: 154.5 42.6% 18.4%;
  --primary-foreground: 0 0% 100%;
  --primary-muted: 153.3 9.9% 82.2%;
  --primary-highlight: 154.6 42.6% 42.4%;
  --secondary: 31 26.5% 77.1%;
  --secondary-foreground: 193.3 9.1% 19.4%;
  --muted: 180 4% 95.1%;
  --muted-foreground: 196 7% 41.8%;
  --accent: 41.4 48.8% 58.6%;
  --accent-foreground: 193.3 9.1% 19.4%;
  --destructive: 0 72.2% 50.6%;
  --destructive-foreground: 0 0% 100%;
  --border: 180 1.8% 88.8%;
  --input: 210 2.7% 85.5%;
  --ring: 41.4 48.8% 58.6%;
  --success: 141 78.9% 85.1%;
  --success-foreground: 193.3 9.1% 19.4%;
  --warning: 48 96.6% 76.7%;
  --warning-foreground: 193.3 9.1% 19.4%;
  --error: 0 96.3% 89.4%;
  --error-foreground: 193.3 9.1% 19.4%;
  --header: 154.5 42.6% 18.4%;
  --header-foreground: 0 0% 100%;
  --header-muted: 153.3 9.9% 82.2%;
  --footer: 154.5 42.6% 18.4%;
  --footer-foreground: 0 0% 100%;
  --footer-muted: 153.3 9.9% 82.2%;
  --link: 41.6 48% 34.7%;
  --headline: 154.5 42.6% 18.4%;
}
/* hm-color-system:end */
