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

:root {
  --background: #fff8f5;
  --text: #3a2426;
  --muted: #6f5557;
  --accent: #6f2b34;
  --line: rgba(58, 36, 38, 0.16);
  --contact-background: #f9f2ef;
  --max-text: 960px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

.site {
  width: 100%;
}

.hero {
  padding-top: clamp(64px, 9vw, 118px);
}

.logo-wrap {
  display: flex;
  justify-content: center;
  padding-inline: 24px;
  margin-bottom: clamp(44px, 6vw, 82px);
}

.logo {
  width: min(470px, 62vw);
}

.hero-image {
  width: min(1280px, calc(100% - 96px));
  margin: 0 auto;
}

.hero-image img {
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
  object-position: center;
}


.intro {
  max-width: var(--max-text);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 116px) 32px clamp(42px, 6vw, 76px);
  text-align: center;
}

h1,
h2 {
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(30px, 2.65vw, 40px);
  line-height: 1.18;
  color: var(--accent);
  margin-bottom: clamp(30px, 3.5vw, 44px);
  white-space: nowrap;
}

.mobile-break {
  display: inline;
}

.ornament {
  display: block;
  width: 36px;
  height: auto;
  margin-inline: auto;
}

.ornament-before-heading {
  margin-bottom: clamp(28px, 3vw, 38px);
}

.ornament-after-text {
  margin-top: clamp(34px, 4vw, 50px);
}

.text-block {
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}

p {
  margin: 0;
}

p + p {
  margin-top: 1.28em;
}

.contact {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(50px, 7vw, 90px) 32px clamp(64px, 8vw, 106px);
  text-align: center;
  background: var(--contact-background);
  box-shadow: 0 0 0 100vmax var(--contact-background);
  clip-path: inset(0 -100vmax);
}

.contact h2 {
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.18;
  color: var(--accent);
  margin-bottom: 24px;
}

.contact-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 34px;
  margin: 34px 0;
  font-size: 17px;
}

.contact-options a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  text-decoration: none;
}

.contact-options img {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.notice {
  max-width: 540px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.footer {
  padding: 34px 24px 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.footer nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 10px;
}

.footer p {
  margin: 0;
}

.legal-page {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 84px;
}

.legal-page h1 {
  margin-bottom: 36px;
}

.legal-page h2 {
  color: var(--accent);
  font-size: 25px;
  line-height: 1.25;
  margin: 42px 0 14px;
}

.legal-page p {
  margin-bottom: 20px;
}

.back-link {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 15px;
}

.footer-legal {
  margin-top: 0;
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
    line-height: 1.58;
  }

  .hero {
    padding-top: 72px;
  }

  .logo-wrap {
    margin-bottom: 56px;
  }

  .logo {
    width: min(210px, 62vw);
  }

  .hero-image {
    width: 100%;
    margin: 0;
  }

  .hero-image img {
    height: 430px;
    max-height: none;
    object-fit: cover;
    object-position: center;
  }

  .intro {
    width: min(100%, 393px);
    padding: 72px 35px 54px;
  }

  h1 {
    font-size: 24px;
    line-height: 1.22;
    margin-bottom: 30px;
    white-space: normal;
  }

  .mobile-break {
    display: block;
  }

  .ornament {
    width: 26px;
  }

  .ornament-before-heading {
    margin-bottom: 28px;
  }

  .ornament-after-text {
    margin-top: 38px;
  }

  .text-block {
    max-width: 322px;
  }

  p + p {
    margin-top: 1.2em;
  }

  .contact {
    width: min(100%, 393px);
    padding: 46px 35px 68px;
  }

  .contact h2 {
    font-size: 31px;
  }

  .contact-options {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin: 28px 0;
    font-size: 16px;
  }

  .contact-options img {
    width: 20px;
    height: 20px;
  }

  .notice {
    font-size: 15px;
  }

  .footer nav {
    gap: 18px;
  }

  .legal-page {
    width: min(100% - 48px, 640px);
    padding: 44px 0 68px;
  }

  .legal-page h1 {
    font-size: 34px;
  }

  .legal-page h2 {
    font-size: 22px;
  }
}
