@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/cormorant-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/cormorant-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color: #3c3c39;
  background: #e5e3db;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  caret-color: #496368;
  accent-color: #496368;
  --ink: #202c2e;
  --body: #3c3c39;
  --slate: #496368;
  --line: #cfcbc2;
  --linen: #e5e3db;
}

* { box-sizing: border-box; }
html { background: var(--linen); scrollbar-color: #496368 #e5e3db; }
body {
  margin: 0;
  color: var(--body);
  background: var(--linen);
}
::selection {
  background: #c8dadf;
  color: var(--ink);
}

a { color: inherit; text-underline-offset: 0.22em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #678a93;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 5;
  padding: 12px;
  background: var(--ink);
  color: var(--linen);
}
.skip:focus { top: 12px; }

.top, main {
  width: min(1120px, calc(100% - 64px));
  margin-left: auto;
  margin-right: auto;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 26px 0 18px;
}

.wordmark {
  color: var(--slate);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.write {
  color: var(--ink);
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid var(--slate);
}
.write:hover { color: var(--slate); }

main { padding: 20px 0 64px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 56px;
  align-items: start;
}

h1 {
  margin: 0 0 0.85rem;
  max-width: 12ch;
  color: var(--ink);
  font-size: clamp(2.15rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
}
h1 em {
  white-space: nowrap;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--slate);
}

.copy .q {
  margin: 0 0 0.35rem;
  max-width: 22ch;
  color: var(--ink);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.copy .q + blockquote { margin-top: 0; }
.copy .q:not(:first-of-type) { margin-top: 1.6rem; }

blockquote {
  margin: 0 0 0;
  max-width: 28ch;
  color: var(--slate);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.28;
}

.panel {
  position: relative;
  padding: 28px 26px 26px;
  background: var(--ink);
  color: var(--linen);
  border-radius: 4px;
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: #c89243;
  transform-origin: left;
  animation: rule 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.panel h2 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.panel-lead {
  margin: 0 0 1.2rem;
  color: #a4c0c7;
  font-size: 0.92rem;
  line-height: 1.4;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.panel label {
  display: block;
  margin-bottom: 0.9rem;
  color: #c8dadf;
  font-size: 0.8rem;
  font-weight: 700;
}
.panel label span {
  font-weight: 400;
  color: #a4c0c7;
}

input, textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid #314549;
  border-radius: 2px;
  background: #314549;
  color: var(--linen);
  font: inherit;
  font-weight: 400;
  font-size: 1rem;
}
textarea { resize: vertical; min-height: 6.5rem; }
input::placeholder, textarea::placeholder { color: #a4c0c7; }

button {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 2px;
  background: var(--linen);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
button:hover { background: #c8dadf; }
button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.status {
  min-height: 1.3em;
  margin: 0.85rem 0 0;
  color: #c8dadf;
  font-size: 0.92rem;
  line-height: 1.4;
  font-weight: 400;
}
.status.err { color: #e2c28c; }
.status.ok { color: #a3b8ad; }

@keyframes rule {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  h1 { max-width: none; }
}

@media (max-width: 700px) {
  .top, main { width: calc(100% - 36px); }
  .panel { padding: 22px 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .panel::before { animation: none; }
}
