@font-face {
  font-family: "DM Serif Display";
  src: url("/assets/dm-serif-display-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Serif Display";
  src: url("/assets/dm-serif-display-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f4eb;
  --ink: #281910;
  --terracotta: #bd4b2d;
  --olive: #615b30;
  --gold: #dea833;
  --serif: "DM Serif Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 8px; border-radius: 2px; }
::selection { color: var(--paper); background: var(--terracotta); }
.page { max-width: 1660px; min-height: 100svh; margin: 0 auto; padding: 50px clamp(28px, 6.95vw, 108px) 34px; display: flex; flex-direction: column; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 17px; }
.brand-mark { position: relative; display: block; flex: 0 0 56px; width: 56px; height: 68px; overflow: hidden; }
.brand-mark img { position: absolute; display: block; width: 76px; height: 76px; max-width: none; left: -9.4px; top: -4.2px; }
.brand > span:last-child { font: 400 39px/1 var(--serif); letter-spacing: -1.6px; }
.status { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 18px; }
.status span { width: 12px; height: 12px; border-radius: 50%; background: var(--terracotta); flex-shrink: 0; }
.hero { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 46px; padding-top: 36px; flex: 1; }
.hero-copy { padding-top: 76px; padding-bottom: 42px; min-width: 0; }
h1 { font: 400 clamp(67px, 7.6vw, 119px)/.99 var(--serif); letter-spacing: -.059em; margin: 0 0 44px; }
h1 span, h1 em { display: block; white-space: nowrap; }
h1 em { color: var(--terracotta); font-weight: 400; }
.introduction { max-width: 510px; margin: 0; font-size: clamp(22px, 1.97vw, 30px); line-height: 1.25; letter-spacing: -.65px; }
.promise { font-size: 20px; line-height: 1.5; margin: 42px 0 0; }
.promise::before { content: ""; display: block; width: 80px; height: 2px; background: var(--terracotta); margin-bottom: 24px; }
.hero-figure { margin: 0; min-width: 0; }
.portrait { position: relative; isolation: isolate; }
.family-photo { display: block; width: 100%; height: auto; aspect-ratio: .87; object-fit: cover; object-position: center 48%; border-radius: 50% 50% 0 0 / 43.5% 43.5% 0 0; }
.sun { position: absolute; z-index: -1; top: 2.2%; right: 0; width: 24%; aspect-ratio: 1; border-radius: 50%; background: var(--gold); }
.leaves { position: absolute; width: 62px; height: 165px; bottom: 3px; right: -63px; color: var(--olive); }
figcaption { text-align: center; font-size: 18px; margin-top: 21px; line-height: 1.4; }
.site-footer { border-top: 1px solid #b7ada1; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 28px; color: #65594e; font-size: 15px; line-height: 1.5; }
.site-footer p { margin: 0; }
.site-footer a { text-underline-offset: 4px; }
.site-footer a:hover { text-decoration: underline; }

@media (min-width: 1000px) and (max-height: 950px) {
  .page { padding-top: 32px; padding-bottom: 24px; }
  .hero { padding-top: 28px; }
  .family-photo { max-height: calc(100svh - 260px); min-height: 500px; }
  .hero-copy { padding-top: 28px; padding-bottom: 20px; }
  h1 { font-size: clamp(72px, 7.1vw, 111px); margin-bottom: 32px; }
  .introduction { font-size: clamp(22px, 1.8vw, 28px); }
  .promise { margin-top: 30px; }
  .site-footer { margin-top: 28px; padding-top: 22px; }
}

@media (max-width: 1050px) {
  .page { padding-right: 46px; padding-left: 46px; }
  .hero { gap: 30px; }
  .brand > span:last-child { font-size: 33px; }
  .status { font-size: 15px; }
  h1 { font-size: 7.5vw; }
  .hero-copy { padding-top: 25px; }
  .promise { font-size: 17px; }
  .introduction { font-size: 23px; }
  .leaves { width: 35px; right: -36px; }
  .site-footer { font-size: 13px; }
}

@media (max-width: 760px) {
  .page { padding: 27px 25px 25px; }
  .site-header { gap: 16px; align-items: flex-start; }
  .brand { gap: 10px; }
  .brand-mark { flex-basis: 34px; width: 34px; height: 42px; }
  .brand-mark img { width: 46px; height: 46px; left: -5.7px; top: -2.6px; }
  .brand > span:last-child { font-size: 28px; letter-spacing: -1px; line-height: 39px; }
  .status { max-width: 120px; font-size: 12px; line-height: 1.4; gap: 7px; padding-top: 3px; }
  .status span { width: 7px; height: 7px; }
  .hero { grid-template-columns: 1fr; gap: 39px; padding-top: 54px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(57px, 13.65vw, 99px); letter-spacing: -.055em; line-height: 1.02; margin-bottom: 26px; }
  .introduction { max-width: 500px; font-size: 21px; line-height: 1.4; letter-spacing: -.3px; }
  .promise { margin-top: 28px; font-size: 15px; }
  .promise::before { width: 55px; margin-bottom: 18px; }
  .hero-figure { width: calc(100% - 14px); margin: 0 auto; }
  .family-photo { aspect-ratio: .92; }
  .leaves { width: 30px; height: 90px; right: -25px; }
  figcaption { font-size: 15px; margin-top: 16px; }
  .site-footer { flex-wrap: wrap; justify-content: space-between; margin-top: 34px; padding-top: 22px; gap: 13px; font-size: 12px; }
  .site-footer p:nth-child(2) { order: 3; width: 100%; }
}

@media (max-width: 360px) {
  .page { padding-right: 20px; padding-left: 20px; }
  .status { max-width: 95px; font-size: 11px; }
  .brand > span:last-child { font-size: 24px; }
  h1 { font-size: 13.3vw; }
}
