:root {
  --paper: #fef9f5;
  --paper-warm: #fbf2e9;
  --ink: #252c35;
  --copper: #9d301b;
  --copper-dark: #7e2818;
  --gold: #c98a37;
  --footer: #983b1e;
  --line: #d88b72;
  --max-width: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

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

.shell {
  width: min(calc(100% - 96px), var(--max-width));
  margin-inline: auto;
}

.shell-narrow {
  width: min(calc(100% - 96px), 800px);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  background: var(--paper);
}

.header-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  flex: 0 0 auto;
  color: var(--copper-dark);
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1;
  letter-spacing: 0.01em;
}

.brand-subline {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 2.5vw, 42px);
  font-size: 15px;
  white-space: nowrap;
}

.main-nav a {
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--copper);
}

.nav-contact {
  padding: 10px 21px;
  color: var(--copper);
  border: 1px solid var(--copper);
  border-radius: 8px;
}

h1,
h2 {
  margin: 0;
  color: var(--copper);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
}

h1 {
  max-width: 690px;
  font-size: clamp(58px, 5.1vw, 82px);
}

h2 {
  font-size: clamp(44px, 4.1vw, 64px);
}

p {
  margin: 0;
}

.hero {
  min-height: 630px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: 56px;
  padding-block: 40px 68px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy > p:first-of-type {
  max-width: 590px;
  margin-top: 32px;
  font-size: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 34px;
  padding: 12px 25px;
  color: #fffaf6;
  background: var(--gold);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  transition: background 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: #b9782f;
  transform: translateY(-1px);
}

.quiet-line {
  width: fit-content;
  margin-top: 34px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.picture-veil {
  margin: 0;
  overflow: visible;
  background: transparent;
}

.picture-veil img {
  height: 100%;
  object-fit: cover;
}

.hero-visual img,
.split-image-right .picture-veil img {
  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.14) 4%,
      rgba(0, 0, 0, 0.58) 12%,
      #000 28%,
      #000 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.48) 3%,
      #000 8%,
      #000 92%,
      rgba(0, 0, 0, 0.48) 97%,
      transparent 100%
    );
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.14) 4%,
      rgba(0, 0, 0, 0.58) 12%,
      #000 28%,
      #000 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.48) 3%,
      #000 8%,
      #000 92%,
      rgba(0, 0, 0, 0.48) 97%,
      transparent 100%
    );
  mask-composite: intersect;
}

.split-image-left .picture-veil img {
  -webkit-mask-image:
    linear-gradient(
      to left,
      transparent 0%,
      rgba(0, 0, 0, 0.14) 4%,
      rgba(0, 0, 0, 0.58) 12%,
      #000 28%,
      #000 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.48) 3%,
      #000 8%,
      #000 92%,
      rgba(0, 0, 0, 0.48) 97%,
      transparent 100%
    );
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(
      to left,
      transparent 0%,
      rgba(0, 0, 0, 0.14) 4%,
      rgba(0, 0, 0, 0.58) 12%,
      #000 28%,
      #000 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.48) 3%,
      #000 8%,
      #000 92%,
      rgba(0, 0, 0, 0.48) 97%,
      transparent 100%
    );
  mask-composite: intersect;
}

.hero-visual {
  height: 520px;
}

.hero-visual img {
  object-position: center;
}

.section {
  min-height: 500px;
  padding-block: 60px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(64px, 7vw, 112px);
}

.section-copy {
  max-width: 580px;
}

.section-copy p {
  margin-top: 28px;
  font-size: 18px;
}

.text-link {
  display: inline-block;
  margin-top: 30px;
  padding-bottom: 6px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--copper);
}

.heart-visual,
.art-visual,
.portrait-visual,
.workshop-visual {
  height: 410px;
}

.heart-visual img {
  object-position: center;
}

.art-visual img {
  object-position: center;
}

.portrait-visual img {
  object-position: 54% 40%;
}

.circle-section {
  margin-block: 30px;
  padding-block: 92px;
  text-align: center;
  background: var(--paper-warm);
}

.circle-copy p {
  max-width: 680px;
  margin: 30px auto 0;
}

.workshop-section {
  padding-block: 76px;
}

.contact-section {
  padding-block: 90px 104px;
  text-align: center;
}

.contact-section p {
  margin-top: 28px;
}

.site-footer {
  color: #fffaf6;
  background: var(--footer);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 80px;
  padding-block: 76px 54px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand .brand-name {
  color: #fffaf6;
}

.footer-brand p {
  max-width: 360px;
  margin-top: 28px;
  font-size: 15px;
  line-height: 1.55;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-left: 54px;
  border-left: 1px solid rgba(255, 250, 246, 0.72);
  font-size: 15px;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  padding-block: 24px 34px;
  border-top: 1px solid rgba(255, 250, 246, 0.72);
  font-size: 14px;
}

@media (max-width: 1080px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 28px;
  }

  .main-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-visual {
    height: 460px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 17px;
  }

  .shell,
  .shell-narrow {
    width: min(calc(100% - 40px), var(--max-width));
  }

  .brand-name {
    font-size: 36px;
  }

  .main-nav {
    gap: 16px 22px;
  }

  .hero {
    min-height: auto;
    padding-block: 46px 54px;
  }

  .hero-visual {
    height: 390px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split-image-left .section-copy,
  .split-image-right .section-copy {
    order: 1;
  }

  .split-image-left .picture-veil,
  .split-image-right .picture-veil {
    order: 2;
  }

  .section {
    min-height: auto;
    padding-block: 48px;
  }

  .heart-visual,
  .art-visual,
  .portrait-visual,
  .workshop-visual {
    height: 360px;
  }

  .circle-section {
    margin-block: 16px;
    padding-block: 66px;
  }

  .contact-section {
    padding-block: 72px 84px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .footer-nav {
    padding-left: 0;
    border-left: 0;
  }
}
