@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/eb-garamond-regular.woff2") format("woff2");
}

@font-face {
  font-family: "EB Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/eb-garamond-italic.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  background: #000000;
  color: #e8e0d0;
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-weight: 400;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  padding: 24px;
  padding-top: max(24px, env(safe-area-inset-top));
  padding-right: max(24px, env(safe-area-inset-right));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  padding-left: max(24px, env(safe-area-inset-left));
  background: #000000;
}

.identity {
  grid-row: 2;
  width: 100%;
  min-width: 0;
  text-align: center;
}

h1 {
  margin: 0;
  font-family: inherit;
  font-size: clamp(30px, 5.5vw, 46px);
  font-weight: 400;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: 0.015em;
}

.quotation {
  max-width: 480px;
  margin: 22px auto 0;
}

blockquote, blockquote p { margin: 0; }

blockquote {
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
}

em { font-style: italic; }

figcaption {
  margin-top: 11px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.025em;
}

.contact {
  grid-row: 3;
  align-self: end;
  min-width: 0;
  padding-top: 36px;
  text-align: center;
}

.contact-line {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  column-gap: clamp(10px, 2vw, 16px);
}

.contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  color: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-underline-offset: 5px;
  white-space: nowrap;
}

.divider {
  font-size: 14px;
  line-height: 1;
}

.contact a:hover, .contact a:focus-visible { text-decoration: underline; }

.contact a:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 5px;
}

.location {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.055em;
}
