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

:root {
  color-scheme: light;
  --paper: #f2efe7;
  --ink: #192737;
  --muted: #6d736f;
  --rule: #cfcec4;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); }
body { margin: 0; color: var(--ink); font-family: var(--serif); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { color: inherit; font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
::selection { background: #d8ddcf; color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 7px; }

.page {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: 0 clamp(24px, 5vw, 80px);
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 112px;
  border-bottom: 1px solid var(--rule);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  font-size: 32px;
  letter-spacing: .065em;
}
.brand__text { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.brand__descriptor { font: 11px/1.4 var(--serif); letter-spacing: .04em; }
.brand__symbol { width: 25px; height: 33px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }
.contact-trigger {
  display: inline-flex;
  align-items: center;
  padding: 14px 0 14px 14px;
  border: 0;
  background: transparent;
  font: 10px var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
}

main { display: flex; flex: 1; align-items: center; justify-content: center; }
.hero {
  width: 100%;
  padding: 70px 0 95px;
  text-align: center;
  animation: arrive 700ms ease both;
}
.hero__description { margin: 0; font-size: clamp(21px, 2.1vw, 28px); line-height: 1.45; letter-spacing: -.015em; font-weight: 400; }

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 85px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font: 10px/1.6 var(--sans);
  letter-spacing: .035em;
}
.footer p { margin: 0; }
.footer > a { justify-self: end; padding: 10px 0; text-decoration: none; transition: color 160ms ease; }
.footer > a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.signature { display: flex; align-items: center; justify-content: center; }
.signature svg { width: 40px; height: 19px; stroke: currentColor; stroke-width: .8; }

.contact-dialog {
  position: fixed;
  inset: 24px 24px auto auto;
  width: min(440px, calc(100% - 48px));
  max-height: calc(100svh - 48px);
  margin: 0;
  padding: 30px 34px 42px;
  overflow: auto;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 16px 70px #1927370d;
}
.contact-dialog[open] { animation: panel-arrive 200ms ease both; }
.contact-dialog::backdrop { background: #19273718; backdrop-filter: blur(3px); }
.contact-dialog__top { display: flex; justify-content: flex-end; margin-bottom: 22px; }
.close-button { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; margin: -12px -13px -12px 0; border: 0; background: transparent; font: 27px/1 var(--serif); }
.close-button:hover { color: var(--muted); }
.contact-dialog__description { margin: 0 0 9px; font-size: 20px; }
.contact-dialog__email { display: inline-block; font-size: 25px; text-decoration-thickness: 1px; text-underline-offset: 6px; }

@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes panel-arrive { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1600px) { .hero { padding-bottom: 110px; } }
@media (max-width: 760px) {
  .header { min-height: 90px; }
  .brand { gap: 10px; font-size: 29px; }
  .brand__symbol { width: 22px; height: 30px; }
  .hero { padding: 76px 0 90px; }
  .hero__description { font-size: 23px; line-height: 1.4; }
  .footer { min-height: 80px; gap: 12px; }
}
@media (max-width: 480px) {
  .page { padding: 0 24px; }
  .header { min-height: 84px; }
  .brand { font-size: 27px; }
  .contact-trigger { letter-spacing: .11em; }
  .hero { padding: 64px 0 76px; }
  .hero__description { max-width: 300px; margin: 0 auto; font-size: 21px; line-height: 1.4; }
  .footer { min-height: 76px; font-size: 9px; }
  .contact-dialog { inset: 16px 16px auto auto; width: calc(100% - 32px); max-height: calc(100svh - 32px); padding: 26px 26px 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
