/*
 * Art of Redirection: new client intake page.
 * Palette and type follow the 2026 logo: ink, forest green, warm paper.
 */

:root {
  --ink: #15150f;
  --ink-soft: #3b3a33;
  --muted: #6b6a61;
  --paper: #f7f5ef;
  --card: #ffffff;
  --line: #e3dfd2;
  --forest: #2f5440;
  --forest-deep: #223d2f;
  --sage: #e9efe7;
  --sand: #fbf4ec;
  --sand-line: #e9d8c5;
  --sand-ink: #6d4327;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(21, 21, 15, .04), 0 12px 32px rgba(21, 21, 15, .05);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--forest-deep); }

:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 2px;
  border-radius: 6px;
}

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  z-index: 10;
}
.skip:focus { left: 0; }

/* Masthead */

.masthead {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand { display: inline-flex; }
.brand img { mix-blend-mode: multiply; }
.brand__full { width: 132px; }
.brand__mark { display: none; width: 56px; height: 56px; border-radius: 50%; }

.masthead__contact {
  display: grid;
  justify-items: end;
  gap: 2px;
  text-align: right;
}

.kicker,
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--forest);
}

.masthead__contact .phone {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.15;
}
.masthead__contact .phone:hover { color: var(--forest); }

.hours { font-size: 13px; color: var(--muted); }

/* Hero */

.hero { padding: 56px 0 8px; }

.hero__inner { max-width: 780px; }

.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.03;
  letter-spacing: -.01em;
  margin: 10px 0 18px;
}

.lede {
  font-size: clamp(18px, 2.1vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 0 12px;
}

.lede--quiet { color: var(--muted); font-size: 16px; }

.facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
}

.facts li {
  background: var(--sage);
  border: 1px solid #dbe4d8;
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 14px;
  color: #35503f;
}

/* Layout */

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 40px 0 56px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-card { padding: 34px; }

.form-card h2,
.sidebar h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -.005em;
}

.form-card h2 { font-size: 28px; margin: 0 0 6px; }

.form-intro { color: var(--muted); font-size: 15px; margin: 0 0 24px; }

.req { color: #9b3b1f; }

/* Form */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}

.field { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }

.field > label,
.field > legend {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
  padding: 0;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfcaba;
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 50px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

textarea { min-height: 120px; resize: vertical; }

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%232f5440' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 42px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(47, 84, 64, .16);
  outline: none;
}

.field--error input,
.field--error select,
.field--error textarea { border-color: #a9432a; }

.err {
  margin: 7px 0 0;
  font-size: 14px;
  color: #8f2f18;
}

.help { margin: 8px 0 0; font-size: 14px; color: var(--muted); }

.choices { display: flex; flex-wrap: wrap; gap: 10px; }

.choice {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  background: #fbfaf6;
  border: 1px solid #d9d4c5;
  border-radius: 999px;
  padding: 9px 15px;
  cursor: pointer;
}

.choice input { accent-color: var(--forest); width: 18px; height: 18px; margin: 0; }

.consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.45;
  cursor: pointer;
  padding: 4px 0;
}

.consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--forest);
}

.choice:has(input:checked) { background: var(--sage); border-color: #b9cbb4; }

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 30px;
  border: 1px solid var(--forest);
  border-radius: 10px;
  background: var(--forest);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--forest-deep); border-color: var(--forest-deep); color: #fff; }
.button--ghost { background: transparent; color: var(--forest); }
.button--ghost:hover { background: var(--sage); color: var(--forest-deep); }

.privacy { margin: 14px 0 0; font-size: 13px; color: var(--muted); max-width: 60ch; }

.alert {
  background: #fdf1ec;
  border: 1px solid #eccdc1;
  color: #7d2c15;
  border-radius: 10px;
  padding: 12px 15px;
  margin: 0 0 22px;
  font-size: 15px;
}

/* Sidebar */

.sidebar { display: grid; gap: 20px; }

.sidebar .card { padding: 24px; }

.sidebar h2 { font-size: 21px; margin: 0 0 12px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }

.steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }

.steps span {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--forest-deep);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.card--urgent {
  background: var(--sand);
  border-color: var(--sand-line);
}
.card--urgent h2 { color: var(--sand-ink); }
.card--urgent p { margin: 0; font-size: 15px; color: #6a4a33; }
.card--urgent a { color: #8a3d16; font-weight: 700; }

.card--quiet p { margin: 0 0 12px; font-size: 15px; }
.card--quiet p:last-child { margin-bottom: 0; }
.address { line-height: 1.5; }

.badge { margin-top: 18px !important; padding-top: 16px; border-top: 1px solid var(--line); }
.badge img { width: 210px; opacity: .9; }

/* Footer */

.footer {
  background: #14140f;
  color: #d9d6ca;
  padding: 34px 0 44px;
  font-size: 14px;
}

.footer__inner p { margin: 0 0 6px; }
.footer strong { color: #fff; font-family: var(--serif); font-size: 17px; font-weight: 600; }
.footer .copyright { margin-top: 18px; color: #928f83; font-size: 13px; }

/* Responsive */

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: min(1120px, 100% - 28px); }
  .masthead__inner { align-items: flex-start; }
  .masthead__contact { justify-items: start; text-align: left; }
  .masthead__contact .phone { font-size: 22px; }
  .brand__full { display: none; }
  .brand__mark { display: block; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .card { padding: 22px 20px; }
  .hero h1 { font-size: clamp(34px, 9vw, 44px); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
