/* author: codex. Brand tokens: canonical Elsie Parish Design System, §8. */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-semibold.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/inter.woff2") format("woff2");
}

:root {
  --ep-harbor: #1A4B7D;
  --ep-pemaquid: #2D6A53;
  --ep-brass: #CBB67A;
  --ep-cream: #F4E8D1;
  --ep-surface: #FFFFFF;
  --ep-ink: #1F2526;
  --ep-font-display: "Cormorant Garamond", Georgia, serif;
  --ep-font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --ep-tracking-atelier: 0.16em;
}

* { box-sizing: border-box; }
html { background: var(--ep-cream); }
body {
  margin: 0;
  color: var(--ep-ink);
  font-family: var(--ep-font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.cover {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 64px 40px;
}

.cover::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(203, 182, 122, 0.6);
  pointer-events: none;
}

.composition {
  width: 100%;
  max-width: 760px;
  text-align: center;
}

.monogram {
  display: block;
  width: 96px;
  height: auto;
  margin: 0 auto 24px;
}

.wordmark {
  margin: 0;
  color: var(--ep-harbor);
  font-family: var(--ep-font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: var(--ep-tracking-atelier);
}

.wordmark span {
  display: block;
  padding-left: var(--ep-tracking-atelier);
  overflow-wrap: anywhere;
}

.tagline {
  margin: 26px auto 0;
  color: var(--ep-harbor);
  font-family: var(--ep-font-display);
  font-size: clamp(1.5rem, 2.7vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
  text-wrap: balance;
}

.tagline strong { font-weight: 600; }

.ornament {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(220px, 50%);
  margin: 28px auto;
}

.ornament::before, .ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(203, 182, 122, 0.7);
}

.ornament span {
  width: 6px;
  height: 6px;
  border: 1px solid var(--ep-brass);
  transform: rotate(45deg);
}

.positioning {
  margin: 0;
  color: var(--ep-pemaquid);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5;
  text-wrap: balance;
}

.belief {
  margin: 28px auto 0;
  color: var(--ep-harbor);
  font-family: var(--ep-font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.25;
  text-wrap: balance;
}

.description {
  max-width: 530px;
  margin: 12px auto 0;
  font-size: 1rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 30px;
  border: 1px solid var(--ep-harbor);
  border-radius: 2px;
  background: var(--ep-harbor);
  color: var(--ep-surface);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}

.contact-button:hover {
  background: var(--ep-pemaquid);
  border-color: var(--ep-pemaquid);
}

.email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ep-harbor);
  font-size: 1rem;
  line-height: 1.5;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  user-select: text;
}

.email:hover { color: var(--ep-pemaquid); }

a:focus-visible {
  outline: 3px solid var(--ep-pemaquid);
  outline-offset: 5px;
}

::selection {
  background: var(--ep-harbor);
  color: var(--ep-surface);
}

@media (max-width: 600px) {
  .cover { padding: 54px 32px; }
  .cover::before { inset: 12px; }
  .monogram { width: 80px; margin-bottom: 24px; }
  .wordmark { font-size: clamp(2.5rem, 13.5vw, 3.5rem); }
  .tagline { max-width: 340px; margin-top: 24px; }
  .ornament { margin: 26px auto; }
  .positioning { font-size: 1rem; }
  .description { margin-top: 16px; }
  .contact { margin-top: 26px; }
}

@media (forced-colors: active) {
  .contact-button { border: 1px solid ButtonText; }
}
