/* SessionBase Coming Soon — matches the theme's palette and type. */
:root {
  --paper: #F7F4EF; --paper-2: #F0EDE5; --ink: #282520; --body: #5E594C; --muted: #928975;
  --clay: #A44B31; --clay-deep: #833A25; --line: rgba(40,37,32,.14);
  --serif: "ivyjournal", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
  --gutter: clamp(22px, 5vw, 96px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.cs {
  margin: 0; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-weight: 300; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.cs::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .5; z-index: 10;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.04 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}
p { margin: 0; }
img { max-width: 100%; display: block; }

.cs__top { padding: 26px var(--gutter); }
.cs__logo { width: 168px; height: auto; }
.cs__wordmark { font-family: var(--serif); font-size: 26px; }

.cs__main {
  flex: 1; display: grid; grid-template-columns: 1fr; align-items: center;
  gap: clamp(40px, 6vw, 96px);
  padding: clamp(24px, 5vh, 80px) var(--gutter);
  max-width: 1560px; width: 100%; margin-inline: auto;
}
.cs--image .cs__main { grid-template-columns: 1.15fr .85fr; }
.cs__copy { max-width: 820px; }

.cs__eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--clay); margin-bottom: 26px; }
.cs__title {
  font-family: var(--serif); font-weight: 300; margin: 0;
  font-size: clamp(40px, min(6.4vw, 9vh), 92px); line-height: 1.02; letter-spacing: -0.02em;
}
.cs__sub {
  font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.3;
  color: var(--ink); margin-top: clamp(20px, 2.4vw, 30px);
}
.cs__intro { margin-top: clamp(22px, 2.6vw, 32px); max-width: 580px; }
.cs__intro p { font-size: clamp(16px, 1.15vw, 18px); line-height: 1.8; color: var(--body); }
.cs__intro p + p { margin-top: 16px; }

/* Form */
.cs__form { margin-top: clamp(32px, 4vw, 48px); max-width: 720px; position: relative; }
.cs__fields { display: grid; grid-template-columns: .8fr 1.2fr auto; gap: 14px; align-items: end; }
.cs__field { display: flex; flex-direction: column; gap: 9px; }
.cs__field label { font-size: 13px; letter-spacing: .04em; font-weight: 500; }
.cs__field label span { font-weight: 300; color: var(--muted); letter-spacing: 0; }
.cs__field input {
  font-family: inherit; font-size: 15px; color: var(--ink); width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: 15px 20px; transition: border-color .2s ease;
}
.cs__field input:focus { outline: none; border-color: var(--clay); }
.cs__btn {
  font-family: inherit; font-weight: 500; font-size: 16px; cursor: pointer;
  background: var(--clay); color: var(--paper); border: none; border-radius: 100px;
  padding: 16px 32px; white-space: nowrap; transition: all .2s ease;
}
.cs__btn:hover { background: var(--clay-deep); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(164,75,49,.22); }
.cs__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.cs__btn:disabled { opacity: .6; transform: none; }
.cs__fine { font-size: 13px; color: var(--muted); margin-top: 14px; }
.cs__msg { margin-top: 14px; font-size: 15px; }
.cs__msg:empty { display: none; }
.cs__form.is-error .cs__msg { color: var(--clay-deep); }
.cs__form.is-done .cs__fields, .cs__form.is-done .cs__fine { display: none; }
.cs__form.is-done .cs__msg {
  margin: 0; padding: 22px 26px; border-radius: 16px;
  background: var(--paper-2); border: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); line-height: 1.35; color: var(--ink);
}
.cs__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Optional image */
.cs__art img {
  width: 100%; max-height: 72vh; object-fit: cover; border-radius: 4px;
  box-shadow: 0 22px 55px rgba(46,43,36,.16);
}

/* Footer */
.cs__foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  padding: 28px var(--gutter) 32px; border-top: 1px solid var(--line);
  margin-inline: var(--gutter); padding-inline: 0;
}
.cs__tag { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--body); }
.cs__copy-r { font-size: 13px; color: var(--muted); }

/* Entrance */
.cs-in { opacity: 0; transform: translateY(24px); animation: cs-in .8s ease forwards; }
.cs__eyebrow.cs-in { animation-delay: .1s; }
.cs__title.cs-in   { animation-delay: .2s; }
.cs__sub.cs-in     { animation-delay: .35s; }
.cs__intro.cs-in   { animation-delay: .5s; }
.cs__form.cs-in    { animation-delay: .65s; }
.cs__art.cs-in     { animation-delay: .4s; }
@keyframes cs-in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .cs-in { opacity: 1; transform: none; animation: none; }
  .cs__btn:hover { transform: none; }
}

@media (max-height: 820px) and (min-width: 721px) {
  .cs__top { padding-block: 20px; }
  .cs__eyebrow { margin-bottom: 18px; }
  .cs__intro { margin-top: 18px; }
  .cs__intro p { line-height: 1.7; }
  .cs__form { margin-top: 26px; }
}
@media (max-width: 1024px) {
  .cs--image .cs__main { grid-template-columns: 1fr; }
  .cs__art { order: -1; max-width: 560px; }
  .cs__art img { max-height: 44vh; }
}
@media (max-width: 720px) {
  .cs__fields { grid-template-columns: 1fr; }
  .cs__btn { width: 100%; }
  .cs__foot { flex-direction: column; align-items: flex-start; }
}
