@font-face {
  font-family: "Caveat Brush Local";
  src: url("/assets/CaveatBrush-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --sky: #c7ecf1;
  --cloud: #e8f8f8;
  --paper: #fff7d6;
  --text: #3e2731;
  --muted: #733e39;
  --line: #8a4836;
  --panel: #ead4aa;
  --panel-dark: #8e5b3a;
  --accent: #f77622;
  --accent-dark: #be4a2f;
  --gold: #feae34;
  --green: #3e8948;
  --ink: #181425;
  --title-font: "Caveat Brush Local", "Caveat Brush", "Trebuchet MS", Arial, Helvetica, sans-serif;
  --body-font: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(232, 248, 248, 0.92), rgba(199, 236, 241, 0.88) 44%, rgba(234, 212, 170, 0.9)),
    var(--sky);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: #124e89;
  font-weight: 700;
}

.site-header,
.site-footer {
  border-color: var(--line);
  border-style: solid;
  background: rgba(255, 247, 214, 0.92);
  backdrop-filter: blur(8px);
}

.site-header {
  border-width: 0 0 1px;
}

.site-footer {
  border-width: 1px 0 0;
}

.nav,
.wrap {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 18px 0;
}

.brand {
  font-family: var(--title-font);
  font-size: 1.6rem;
  font-weight: 400;
  font-style: normal;
  color: var(--text);
  text-decoration: none;
}

.wrap {
  padding: 48px 0;
}

.hero {
  display: flex;
  min-height: clamp(300px, 42vw, 520px);
  align-items: flex-end;
  border-bottom: 5px solid var(--ink);
  background:
    linear-gradient(180deg, rgba(24, 20, 37, 0) 0%, rgba(24, 20, 37, 0.08) 52%, rgba(24, 20, 37, 0.78) 100%),
    url("/assets/hero-thumbnail.png") center / cover no-repeat,
    var(--sky);
}

h1,
h2,
h3 {
  font-family: var(--title-font);
  font-weight: 400;
  font-style: normal;
  line-height: 1.2;
}

h1 {
  margin: 0 0 8px;
  color: #fffaf0;
  font-size: clamp(2.7rem, 5vw, 3.75rem);
  line-height: 1.05;
  -webkit-text-stroke: 1px var(--ink);
  text-shadow:
    -1px -1px 0 var(--ink),
    0 -1px 0 var(--ink),
    1px -1px 0 var(--ink),
    -1px 0 0 var(--ink),
    1px 0 0 var(--ink),
    -1px 1px 0 var(--ink),
    0 1px 0 var(--ink),
    1px 1px 0 var(--ink),
    0 3px 0 rgba(247, 118, 34, 0.72),
    0 4px 0 var(--ink);
}

h2 {
  margin: 36px 0 12px;
  font-size: 2.35rem;
}

h3 {
  margin: 24px 0 8px;
  font-size: 1.1rem;
}

p,
ul {
  margin: 0 0 16px;
}

main {
  overflow-wrap: anywhere;
}

.lead {
  max-width: 620px;
  color: var(--paper);
  font-size: 1.05rem;
  font-weight: 700;
  text-shadow: 0 2px 0 var(--ink);
}

.panel {
  width: min(920px, calc(100% - 32px));
  margin: 34px auto 0;
  padding: 18px 22px 16px;
  border: 3px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 0 rgba(62, 39, 49, 0.16);
}

.panel h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

.panel p:last-child {
  margin-bottom: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--ink);
}

.button.secondary {
  background: var(--paper);
  color: var(--ink);
}

.meta {
  color: var(--muted);
}

.policy {
  max-width: 820px;
}

.policy h1 {
  color: var(--text);
  font-family: var(--body-font);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  -webkit-text-stroke: 0;
  text-shadow: none;
}

.policy h2 {
  font-family: var(--body-font);
  font-size: 1.45rem;
}

.policy h3 {
  font-family: var(--body-font);
  font-size: 1.1rem;
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--accent-dark);
  text-decoration: underline;
}

.hero-copy {
  max-width: 860px;
  margin: 0 auto;
  padding-top: 160px;
  padding-bottom: 30px;
}

.intro-actions {
  padding-top: 22px;
  padding-bottom: 6px;
}

.intro-actions .actions {
  margin-top: 0;
}

.showcase {
  padding-top: 36px;
}

.showcase h2 {
  margin-top: 0;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

figure {
  margin: 0;
}

.shot-grid figure {
  overflow: hidden;
  border: 4px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 0 6px 0 rgba(62, 39, 49, 0.18);
}

.shot-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

@media (max-width: 640px) {
  .wrap {
    padding: 34px 0;
  }

  .hero {
    min-height: 390px;
    background-position: center top;
  }

  h1 {
    font-size: clamp(2.45rem, 11vw, 3.3rem);
  }

  .hero-copy {
    padding-top: 150px;
    padding-bottom: 24px;
  }

  .panel {
    margin-top: 24px;
    padding: 16px;
  }

  .shot-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    margin-right: -16px;
    padding: 0 16px 12px 0;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .shot-grid figure {
    flex: 0 0 min(72vw, 260px);
    scroll-snap-align: start;
  }

  .site-footer .wrap {
    align-items: flex-start;
    flex-direction: column;
  }

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