/* /contact. Borrowed format: the letter. A warm paper page; the form sits on a
   sheet of letter paper with a letterhead and a stamp. Distinct from /book/intro,
   which is a dark evening reservation. Prefix ct-. */
.ct-page {
  --ct-paper: #efe7d8;
  --ct-sheet: #fffdf8;
  --ct-ink: #1d1a16;
  --ct-muted: #5d5548;
  --ct-line: #d9ccb5;
  --ct-rule: rgba(29, 26, 22, 0.08);
  --ct-gold: #b98a35;
  --ct-gold-deep: #8a6320;
  --ct-oxblood: #7a2e22;
  --ct-night: #191612;
  --ct-night-text: #cfc6b7;
  background: var(--ct-paper);
  color: var(--ct-ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.66;
}
.ct-page * { box-sizing: border-box; }
.ct-page ::selection { background: #ecd29d; color: var(--ct-ink); }
.ct-page :focus-visible { outline: 2px solid var(--ct-gold-deep); outline-offset: 4px; border-radius: 3px; }
.ct-page a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
:where(.ct-page) :where(h1, h2, h3, p, ul, ol) { margin: 0; }
:where(.ct-page) :where(ul, ol) { padding: 0; list-style: none; }
.ct-page h1, .ct-page h2 { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.ct-wrap { width: min(100%, 1280px); margin-inline: auto; padding-inline: clamp(16px, 4vw, 56px); }

/* Hero: the writing desk. */
.ct-hero {
  position: relative;
  padding: calc(104px + clamp(28px, 4vw, 56px)) 0 clamp(64px, 7vw, 104px);
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(185, 138, 53, 0.14), transparent 65%),
    linear-gradient(180deg, #f3ecdf 0%, var(--ct-paper) 100%);
}
.ct-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-areas: "intro letter" "side letter";
  grid-template-rows: auto 1fr;
  gap: 40px clamp(40px, 6vw, 96px);
  align-items: start;
}
.ct-intro { grid-area: intro; }
.ct-letter { grid-area: letter; }
.ct-side { grid-area: side; }
.ct-label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ct-gold-deep); }
.ct-page h1 { margin-top: 18px; font-size: clamp(3rem, 5.4vw, 5.4rem); line-height: 0.98; color: var(--ct-ink); }
.ct-lead { margin-top: 22px; max-width: 46ch; font-size: 18px; line-height: 1.62; color: var(--ct-muted); }
.ct-intro .ns-trustline { margin-top: 22px !important; color: var(--ct-ink); }

/* The sheet of letter paper. */
.ct-letter {
  position: relative;
  padding: clamp(22px, 3vw, 40px) clamp(18px, 3vw, 40px) clamp(18px, 2.4vw, 28px);
  background: var(--ct-sheet);
  border-radius: 6px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 2px 4px rgba(60, 44, 20, 0.06),
    0 40px 80px -36px rgba(60, 44, 20, 0.35);
  transform: rotate(0.35deg);
}
.ct-letter::after {
  /* a second sheet peeking from under the first */
  content: ""; position: absolute; inset: 10px -8px -10px 8px; z-index: -1;
  background: #f8f3e8; border-radius: 6px; box-shadow: 0 20px 40px -24px rgba(60, 44, 20, 0.3);
  transform: rotate(-1.1deg);
}
.ct-letterhead {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding-bottom: 18px; border-bottom: 1px solid var(--ct-line);
}
.ct-letterhead-name { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
.ct-letterhead-place { margin-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ct-muted); }
.ct-stamp {
  flex: none; display: grid; place-items: center;
  width: 64px; height: 76px; padding: 5px;
  background: var(--ct-sheet);
  border: 2px dotted var(--ct-line);
  transform: rotate(4deg);
}
.ct-stamp span {
  display: grid; place-items: center; width: 100%; height: 100%;
  background: var(--ct-oxblood); color: #f3dcb0;
  font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; letter-spacing: 0.08em;
}
.ct-salutation { margin-top: 22px; font-family: var(--font-serif); font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-style: italic; line-height: 1.2; }
.ct-letter-note { margin-top: 6px; font-size: 15px; color: var(--ct-muted); }
.ct-form { margin-top: 18px; border-top: 1px dashed var(--ct-line); padding-top: 8px; }
.ct-form iframe { display: block; width: 100%; border: 0; }

/* Beside the letter. */
.ct-side { display: grid; gap: 28px; }
.ct-side h2 { font-size: 1.7rem; line-height: 1.1; }
.ct-next ol { counter-reset: ct-step; margin-top: 16px; display: grid; gap: 14px; }
.ct-next li { counter-increment: ct-step; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; font-size: 16px; line-height: 1.55; color: var(--ct-muted); }
.ct-next li::before {
  content: counter(ct-step); display: grid; place-items: center; width: 32px; height: 32px;
  border: 1px solid var(--ct-gold); border-radius: 50%;
  font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; color: var(--ct-gold-deep);
}
.ct-ways { padding-top: 26px; border-top: 1px solid var(--ct-line); }
.ct-ways ul { margin-top: 14px; }
.ct-ways li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 13px 0; border-bottom: 1px dotted var(--ct-line); }
.ct-ways li span { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ct-muted); }
.ct-ways li a { font-size: 17px; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.ct-ways li a:hover { color: var(--ct-gold-deep); text-decoration: underline; }

/* Sentences: an owner's own words, on a dark desk. */
.ct-sentences { padding: clamp(72px, 9vw, 128px) 0; background: var(--ct-night); color: #f6efe2; }
.ct-sentences-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 20px 64px; align-items: end; }
.ct-sentences h2 { font-size: clamp(2.3rem, 4vw, 3.8rem); line-height: 1.02; }
.ct-sentences-head p { font-size: 17px; color: var(--ct-night-text); max-width: 44ch; }
.ct-sentence-list { margin-top: clamp(36px, 5vw, 60px); border-top: 1px solid rgba(217, 176, 100, 0.28); }
.ct-sentence-list a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: 6px 32px;
  padding: clamp(20px, 2.6vw, 30px) 4px;
  border-bottom: 1px solid rgba(217, 176, 100, 0.28);
  text-decoration: none;
  transition: background-color 0.2s ease, padding 0.2s ease;
}
.ct-sentence { font-family: var(--font-serif); font-size: clamp(1.45rem, 2.6vw, 2.25rem); font-style: italic; line-height: 1.18; color: #f6efe2; }
.ct-sentence-offer { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #d9b064; }
.ct-sentence-price { min-width: 11ch; text-align: right; font-size: 15px; font-weight: 600; color: var(--ct-night-text); font-variant-numeric: tabular-nums; }
.ct-sentence-list a:hover { background: rgba(217, 176, 100, 0.07); padding-inline: 16px; }
.ct-sentence-list a:hover .ct-sentence { color: #fff; }
.ct-sentence-managed .ct-sentence { color: #d9b064; }

/* Close. */
.ct-close { padding: clamp(72px, 9vw, 120px) 0; text-align: center; }
.ct-close-inner { display: grid; justify-items: center; gap: 14px; }
.ct-close h2 { font-size: clamp(2.3rem, 4vw, 3.6rem); line-height: 1.04; }
.ct-close-inner > p:first-of-type { font-size: 18px; color: var(--ct-muted); }
.ct-page .ct-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin-top: 8px; padding: 0 30px;
  border-radius: 999px; background: var(--ct-ink); color: #f6efe2;
  font-size: 16px; font-weight: 700; text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.ct-page .ct-btn:hover { background: var(--ct-oxblood); transform: translateY(-1px); }
.ct-proof { margin-top: 18px; font-size: 15px; color: var(--ct-muted); }
.ct-proof a { font-weight: 700; color: var(--ct-ink); }

@media (max-width: 960px) {
  .ct-hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "letter" "side"; grid-template-rows: none; }
  .ct-letter { transform: none; }
  .ct-sentences-head { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .ct-letter { margin-inline: -4px; padding-inline: 14px; }
  .ct-letter::after { display: none; }
  .ct-stamp { width: 52px; height: 62px; }
  .ct-sentence-list a { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ct-sentence-price { min-width: 0; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-sentence-list a, .ct-page .ct-btn { transition: none; }
}
