/* Satis Advisors. Poster field and narrow column: one magenta field on the
   home page, everything else on blush in a centred column. Sora + Karla. */

:root {
  --magenta: #A3105C;
  --magenta-deep: #7E0A46;
  --lilac: #CDBDEB;
  --blush: #FBF4F7;
  --mist: #F2E9F4;
  --ink: #1A181D;
  --muted: #5B5360;
  --rule: #E3D3DE;
  --white: #FFFFFF;
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --text: "Karla", "Segoe UI", system-ui, sans-serif;
  --col: 44rem;
  --wide: 68rem;
  --gut: clamp(1rem, 4vw, 2.5rem);
}

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

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

body {
  margin: 0;
  background: var(--blush);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--magenta); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--magenta-deep); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; margin-bottom: 0.4em; }
p { margin: 0 0 1.1em; }

.skip {
  position: absolute; left: -999px; top: 0.5rem;
  background: var(--ink); color: var(--white); padding: 0.7rem 1rem; z-index: 20;
}
.skip:focus { left: 0.5rem; }

main:focus { outline: none; }

/* ---------- top bar ---------- */

.bar { background: var(--blush); position: relative; z-index: 10; }
.bar-in {
  max-width: var(--wide); margin: 0 auto; padding: 0.9rem var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px;
  font-family: var(--display); font-weight: 700; font-size: 1.12rem;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.brand:hover { color: var(--ink); }
.brand .mark { width: 34px; height: 34px; flex: none; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.4rem; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.8rem;
  color: var(--ink); text-decoration: none; font-weight: 500;
}
.nav a:hover { color: var(--magenta); }
.nav a[aria-current="page"] { color: var(--magenta); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.4em; }
.nav-cta a {
  background: var(--magenta); color: var(--white); border-radius: 3px; padding: 0 1.2rem; margin-left: 0.4rem;
}
.nav-cta a:hover, .nav-cta a[aria-current="page"] { background: var(--magenta-deep); color: var(--white); text-decoration: none; }

.menu {
  display: none; min-height: 44px; min-width: 44px; padding: 0 1rem;
  background: transparent; color: var(--ink); border: 2px solid var(--ink); border-radius: 3px;
  font: 700 0.95rem var(--text); cursor: pointer;
}

@media (max-width: 760px) {
  .menu { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--blush); border-bottom: 3px solid var(--magenta); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 0.4rem var(--gut) 1rem; gap: 0; }
  .nav a { padding: 0 0.2rem; }
  .nav-cta a { margin: 0.5rem 0 0; justify-content: center; }
}

/* ---------- shared layout ---------- */

.col { max-width: var(--col); margin: 0 auto; padding: 0 var(--gut); }
.wide { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section.mist { background: var(--mist); }

.kicker {
  font-family: var(--text); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 0.9rem;
}
.lead { font-size: clamp(1.2rem, 2.2vw, 1.4rem); line-height: 1.55; color: var(--ink); }

.tear {
  width: 120px; height: 0; margin: 0 auto; border: 0;
  border-top: 3px dashed var(--magenta);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 1.5rem; border-radius: 3px; border: 2px solid var(--magenta);
  background: var(--magenta); color: var(--white); font: 700 1rem var(--text);
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--magenta-deep); border-color: var(--magenta-deep); color: var(--white); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--magenta); }
.btn.ghost:hover { background: var(--magenta); color: var(--white); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

/* ---------- home: the magenta field ---------- */

.field { background: var(--magenta); color: var(--white); }
.field-in { max-width: var(--wide); margin: 0 auto; padding: clamp(3rem, 9vw, 6.5rem) var(--gut) clamp(3rem, 8vw, 5.5rem); }
.field .kicker { color: var(--lilac); }
.field h1 { font-size: clamp(2.2rem, 5.6vw, 4.4rem); max-width: 15ch; margin-bottom: 0.4em; }
.field .field-name, .field-name {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.04em; line-height: 1;
  font-size: clamp(2.6rem, 10.5vw, 8.4rem); margin: 0.1em 0 0.35em; white-space: nowrap;
}
.field-name span { color: var(--lilac); }
.field p:not(.field-name) { max-width: 38rem; font-size: clamp(1.1rem, 2vw, 1.3rem); }
.field a:not(.btn) { color: var(--white); }
.field :focus-visible { outline-color: var(--white); }
.field .btn { background: var(--white); color: var(--magenta); border-color: var(--white); }
.field .btn:hover { background: var(--blush); border-color: var(--blush); color: var(--magenta-deep); }
.field .btn.ghost { background: transparent; color: var(--white); }
.field .btn.ghost:hover { background: var(--white); color: var(--magenta); }

/* ---------- the uses strip ---------- */

.uses { background: var(--mist); padding: clamp(2.5rem, 6vw, 4rem) 0; }
.uses-head { max-width: var(--col); margin: 0 auto 2rem; text-align: center; }
.uses-head p { color: var(--muted); margin: 0; }
.uses ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.4vw, 2rem); }
.uses li { text-align: center; }
.uses svg { width: 100%; max-width: 240px; margin: 0 auto 0.8rem; }
.uses .cap { font-weight: 700; margin: 0; }
.uses .sub { font-size: 0.95rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .uses ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .uses ul { grid-template-columns: 1fr; } .uses svg { max-width: 260px; } }

/* ---------- text blocks ---------- */

.pairs { display: grid; gap: 2rem; margin-top: 2rem; }
.pairs > div { border-left: 3px solid var(--lilac); padding-left: 1.1rem; }
.pairs p { margin: 0; color: var(--muted); }
@media (min-width: 720px) { .pairs.two { grid-template-columns: 1fr 1fr; } }

.plain { padding-left: 1.2rem; }
.plain li { margin-bottom: 0.5rem; }
.plain li::marker { color: var(--magenta); }

/* steps on /buying: word labels instead of numerals */
.steps { list-style: none; margin: 2rem 0 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1.2rem; padding: 1.5rem 0; border-top: 1px solid var(--rule); }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps .when { font-family: var(--display); font-weight: 700; color: var(--magenta); font-size: 1rem; padding-top: 0.2rem; }
.steps h3 { margin-top: 0; }
.steps p { margin: 0 0 0.6em; }
.steps p:last-child { margin-bottom: 0; }
@media (max-width: 560px) { .steps li { grid-template-columns: 1fr; gap: 0.3rem; } }

/* categories */
.kinds { display: grid; gap: 1.8rem 2.4rem; margin-top: 2.2rem; }
@media (min-width: 760px) { .kinds { grid-template-columns: 1fr 1fr; } }
.kinds h3 { display: flex; align-items: baseline; gap: 0.6rem; }
.kinds .eg { font-family: var(--display); font-weight: 600; font-size: 0.95rem; color: var(--magenta); letter-spacing: -0.01em; }
.kinds p { margin: 0; color: var(--muted); }

/* questions */
.qs { margin-top: 1.6rem; border-top: 1px solid var(--rule); }
.qs details { border-bottom: 1px solid var(--rule); }
.qs summary {
  cursor: pointer; list-style: none; min-height: 44px; padding: 1rem 2.2rem 1rem 0; position: relative;
  font-family: var(--display); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em;
}
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after {
  content: "+"; position: absolute; right: 0.2rem; top: 0.85rem; color: var(--magenta); font-size: 1.4rem; line-height: 1;
}
.qs details[open] summary::after { content: "\2013"; }
.qs details p { margin: 0 0 1.2rem; color: var(--muted); }

/* interior page head */
.head { padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.head h1 { max-width: 18ch; }

/* ---------- about ---------- */

.person { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (min-width: 820px) { .person { grid-template-columns: 22rem 1fr; } }
.person figure { margin: 0; background: var(--mist); padding: 0.9rem; }
.person figcaption { font-size: 0.95rem; color: var(--muted); padding-top: 0.7rem; }
.person figcaption b { color: var(--ink); display: block; font-family: var(--display); font-size: 1.05rem; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1.4rem; margin: 1.6rem 0 0; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--muted); }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; gap: 0.1rem; } .facts dd { margin-bottom: 0.6rem; } }

/* ---------- contact ---------- */

.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.5fr 1fr; } }
.form-panel { background: var(--mist); padding: clamp(1.2rem, 4vw, 2.2rem); }
.fields { display: grid; gap: 1.1rem; }
@media (min-width: 600px) { .fields .half { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; } }
label { display: block; font-weight: 700; font-size: 0.98rem; margin-bottom: 0.35rem; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.85rem; border: 1px solid #BFA9B8; border-radius: 6px;
  background: var(--white); color: var(--ink); font: 400 1.05rem var(--text);
}
textarea { min-height: 9rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--magenta); outline-offset: 1px; border-color: var(--magenta); }
.hint { font-size: 0.9rem; color: var(--muted); margin: 0.35rem 0 0; }
.cf-turnstile { min-height: 65px; }
.status { margin: 0; padding: 0.8rem 1rem; background: var(--white); border-left: 4px solid var(--magenta); }
.status.bad { border-left-color: var(--ink); font-weight: 700; }
.side h2 { font-size: 1.3rem; }
.side address { font-style: normal; margin-bottom: 1.6rem; }
.side p { color: var(--muted); }

/* ---------- legal ---------- */

.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal p, .legal li { color: var(--ink); }
.legal .updated { color: var(--muted); font-size: 0.95rem; }

/* ---------- 404 ---------- */

.lost { text-align: center; padding: clamp(4rem, 12vw, 8rem) 0; }
.lost .field-name { color: var(--magenta); white-space: normal; font-size: clamp(2.4rem, 9vw, 5.5rem); }
.lost .actions { justify-content: center; }

/* ---------- footer ---------- */

.foot { background: var(--ink); color: var(--blush); font-size: 1rem; }
.foot a { color: var(--lilac); }
.foot a:hover { color: var(--white); }
.foot :focus-visible { outline-color: var(--lilac); }
.foot-in {
  max-width: var(--wide); margin: 0 auto; padding: 3.5rem var(--gut) 2rem;
  display: grid; gap: 2rem;
}
@media (min-width: 760px) { .foot-in { grid-template-columns: 1.6fr 1fr 0.8fr; } }
.foot-name { display: flex; align-items: center; gap: 0.6rem; font-family: var(--display); font-weight: 700; font-size: 1.15rem; margin-bottom: 0.7rem; }
.foot-name .mark { width: 30px; height: 30px; }
.foot-firm p:not(.foot-name) { color: #D9CCD5; max-width: 26rem; }
.foot-h { font-family: var(--text); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: #D9CCD5; margin-bottom: 0.8rem; }
.foot address { font-style: normal; line-height: 1.8; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links a { display: inline-flex; min-height: 36px; align-items: center; }
.foot-base {
  max-width: var(--wide); margin: 0 auto; padding: 1.2rem var(--gut) 2rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem;
  color: #D9CCD5; font-size: 0.92rem; border-top: 1px dashed #4A4250;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* additions */
@media (min-width: 900px) { .pairs.three { grid-template-columns: repeat(3, 1fr); } }
.lost .field-name span { color: var(--muted); }
.person figure img { width: 100%; height: auto; }
