:root {
  --color-canvas-white: #ffffff;
  --color-graphite-ink: #2a394e;
  --color-muted-midnight: #14243c;
  --color-vivid-violet: #4700d8;
  --content-width: 900px;
  --page-pad: clamp(24px, 6vw, 70px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-canvas-white);
  color: var(--color-graphite-ink);
  font-family: "Roboto", Arial, sans-serif;
}

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

button {
  color: inherit;
  font: inherit;
}

.content-wrap {
  width: min(var(--content-width), calc(100% - (var(--page-pad) * 2)));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding: 0 var(--page-pad);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.brand {
  font-family: "Poetsen One", cursive;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  color: var(--color-graphite-ink);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 23px;
  color: var(--color-muted-midnight);
  font-size: 15px;
  line-height: 1;
}

.desktop-nav a,
.menu-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.menu-button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-nav {
  position: absolute;
  top: 80px;
  right: var(--page-pad);
  display: none;
  min-width: 210px;
  padding: 18px;
  border: 2px solid var(--color-vivid-violet);
  border-radius: 20px;
  background: var(--color-canvas-white);
}

.mobile-nav.is-open {
  display: grid;
  gap: 16px;
}

.mobile-nav a {
  color: var(--color-muted-midnight);
  font-size: 16px;
  line-height: 1.2;
}

.hero {
  padding: 100px 0 89px;
}

h1,
h2 {
  margin: 0;
  font-family: "Poetsen One", cursive;
  font-weight: 400;
  color: var(--color-graphite-ink);
}

h1 {
  max-width: 883px;
  font-size: clamp(42px, 6vw, 52px);
  line-height: 1.15;
}

h2 {
  font-size: clamp(38px, 5.4vw, 52px);
  line-height: 1.15;
}

p {
  margin: 0;
  max-width: 70ch;
  color: var(--color-graphite-ink);
  font-size: 16px;
  line-height: 1.87;
}

.hero p {
  max-width: 692px;
  margin-top: 30px;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  margin-top: 29px;
  padding: 15px 25px;
  border: 2px solid var(--color-vivid-violet);
  border-radius: 30px;
  background: var(--color-canvas-white);
  color: var(--color-graphite-ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}

.gallery {
  display: grid;
  grid-template-columns: 506fr 374fr;
  grid-template-rows: 281px 281px 481px;
  gap: 20px;
}

.gallery-image {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 20px;
  object-fit: cover;
}

.image-tall {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.image-small-top {
  grid-column: 2;
  grid-row: 1;
}

.image-small-bottom {
  grid-column: 2;
  grid-row: 2;
}

.image-portrait {
  grid-column: 1;
  grid-row: 3;
  width: calc((361 / 506) * 100%);
}

.image-wide {
  grid-column: 2;
  grid-row: 3;
}

.story {
  padding-top: 100px;
}

.violet-rule {
  width: 100%;
  height: 2px;
  background: var(--color-vivid-violet);
}

.story-grid {
  display: grid;
  grid-template-columns: 418fr 438fr;
  gap: 47px;
  padding-top: 50px;
}

.story p {
  padding-top: 5px;
}

.callout {
  margin-top: 99px;
  padding: 46px 50px 50px;
  border: 2px solid var(--color-graphite-ink);
  border-radius: 20px;
}

.callout h2 {
  max-width: 763px;
}

.callout p {
  max-width: 652px;
  margin-top: 25px;
}

.callout .outline-button {
  margin-top: 29px;
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  min-height: 181px;
  padding: 40px 0 50px;
}

.footer-brand {
  flex: 0 0 auto;
}

.site-footer p {
  max-width: 360px;
  color: var(--color-muted-midnight);
  font-size: 14px;
  line-height: 1.71;
  text-align: right;
}

@media (max-width: 980px) {
  :root {
    --content-width: 760px;
  }

  .hero {
    padding: 82px 0 70px;
  }

  .gallery {
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: 49vw 22vw 34vw;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .story p {
    padding-top: 0;
  }
}

@media (max-width: 700px) {
  :root {
    --page-pad: 24px;
  }

  .site-header {
    min-height: 72px;
  }

  .brand {
    font-size: 28px;
  }

  .desktop-nav a {
    display: none;
  }

  .mobile-nav {
    top: 72px;
  }

  .hero {
    padding: 62px 0 56px;
  }

  h1,
  h2 {
    font-size: clamp(36px, 11vw, 46px);
  }

  .hero p {
    margin-top: 24px;
  }

  .gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .gallery-image {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .image-tall {
    aspect-ratio: 4 / 5;
  }

  .image-portrait {
    width: 100%;
    aspect-ratio: 3 / 4;
  }

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

  .story {
    padding-top: 80px;
  }

  .story-grid {
    padding-top: 36px;
  }

  .callout {
    width: min(var(--content-width), calc(100% - 32px));
    margin-top: 80px;
    padding: 34px 32px 38px;
  }

  .site-footer {
    min-height: 150px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 18px;
    padding-bottom: 36px;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 420px) {
  :root {
    --page-pad: 18px;
  }

  .site-header {
    padding: 0 18px;
  }

  .mobile-nav {
    right: 18px;
    left: 18px;
  }

  h1,
  h2 {
    font-size: 34px;
  }

  p {
    font-size: 15px;
    line-height: 1.75;
  }

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