/* ================================================================
   Content ROI Calculator — School of Hard Knocks
   Brand tokens lifted verbatim from the results site so this reads
   as the same product, not a bolt-on.
   ================================================================ */

:root {
  --paper:      #FFFFFF;
  --paper-deep: #F7F6F4;
  --card:       #FFFFFF;
  --ink:        #131211;
  --ink-soft:   #3E3B37;
  --ink-dim:    #716C65;
  --hairline:   #E4E1DC;
  --red:        #A5252F;
  --red-hot:    #C22A1C;
  --red-deep:   #7A1A22;
  --orange:     #F7931E;
  --display:    'Archivo Black', 'Arial Black', sans-serif;
  --body:       'Archivo', 'Helvetica Neue', sans-serif;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --shadow-soft: 0 1px 2px rgba(19,18,17,.05), 0 8px 24px -12px rgba(19,18,17,.14);
  --shadow-lift: 0 2px 4px rgba(19,18,17,.07), 0 18px 40px -16px rgba(19,18,17,.22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper-deep);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ---------- top bar ---------- */
.topbar { background: var(--paper); border-bottom: 1px solid var(--hairline); }
.topbar__inner {
  max-width: 1200px; margin: 0 auto; padding: .9rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .55rem; line-height: 1; }
.brand__mark { width: 34px; height: 34px; display: block; }
.brand__words { display: flex; flex-direction: column; line-height: 1; }
.brand__the { font-size: .58rem; letter-spacing: .22em; color: var(--ink-dim); }
.brand__name { font-family: var(--display); font-size: .95rem; letter-spacing: .01em; }
.topbar__tag {
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); font-weight: 700; text-align: right; min-width: 0;
}
@media (max-width: 430px) {
  .topbar__inner { gap: .6rem; }
  .brand__name { font-size: .8rem; }
  .topbar__tag { font-size: .58rem; letter-spacing: .12em; }
}

/* ---------- intro ---------- */
.hero {
  max-width: 1200px; margin: 0 auto; text-align: center;
  padding: clamp(2.4rem,6vw,4rem) var(--gutter) clamp(1.4rem,3vw,2rem);
}
.hero__title {
  font-family: var(--display); margin: 0 0 .7rem;
  font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1.02; letter-spacing: -.015em;
}
.hero__title .hl { color: var(--red); }
/* ---------- layout ---------- */
.panel {
  max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter) 2.5rem;
  display: grid; grid-template-columns: minmax(0,360px) minmax(0,1fr);
  gap: clamp(1rem, 2.4vw, 2rem); align-items: stretch;
}
@media (max-width: 900px) { .panel { grid-template-columns: minmax(0,1fr); } }

/* ---------- controls ---------- */
.card {
  min-width: 0; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--hairline); border-radius: 14px;
  padding: 1.4rem clamp(1rem,2vw,1.5rem) 1.5rem; box-shadow: var(--shadow-soft);
}
.card__head {
  font-family: var(--display); font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-dim); margin: 0 0 1rem;
}
.card__head--gap { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--hairline); }
.controls .reset { margin-top: auto; }
.field { display: block; margin-bottom: .95rem; }
.field__label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .35rem; }
.field__wrap { position: relative; display: block; }
.field__input {
  width: 100%; font-family: var(--body); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--hairline); border-radius: 9px;
  padding: .62rem .7rem; transition: border-color .15s, box-shadow .15s;
}
.field__input:focus {
  outline: none; border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(165,37,47,.13);
}
.field__input--pref { padding-left: 1.7rem; }
.field__input--suff { padding-right: 2.1rem; }
.field__prefix, .field__suffix {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: var(--ink-dim); font-size: .95rem; pointer-events: none;
}
.field__prefix { left: .7rem; }
.field__suffix { right: .75rem; }
.field__hint { display: block; margin-top: .35rem; font-size: .76rem; color: var(--ink-dim); line-height: 1.45; }

select.field__input {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23716C65' stroke-width='1.8' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: right .75rem center; padding-right: 2rem;
}

.reset {
  width: 100%; margin-top: .4rem; padding: .6rem .8rem; cursor: pointer;
  font-family: var(--body); font-size: .82rem; font-weight: 600; color: var(--ink-soft);
  background: var(--paper-deep); border: 1px solid var(--hairline); border-radius: 9px;
  transition: background .15s, color .15s;
}
.reset:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.check {
  display: flex; align-items: center; gap: .55rem; cursor: pointer;
  margin: .2rem 0 .9rem; padding: .6rem .7rem;
  background: var(--paper-deep); border: 1px solid var(--hairline); border-radius: 9px;
}
.check input { width: 16px; height: 16px; accent-color: var(--red); cursor: pointer; margin: 0; }
.check__label { font-size: .86rem; font-weight: 600; }

/* ---------- results ---------- */
.ads {
  margin-top: 1rem; padding: 1rem 1.1rem; text-align: center;
  background: var(--paper); border: 1px solid var(--hairline);
  border-left: 4px solid var(--orange); border-radius: 12px;
}
.ads__head {
  display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-dim); font-weight: 700;
}
.ads__row {
  display: flex; align-items: baseline; justify-content: center;
  gap: .7rem; margin: .5rem 0 .1rem; flex-wrap: wrap;
}
.ads__was {
  font-family: var(--display); font-size: clamp(1.2rem,3vw,1.7rem);
  color: var(--ink-dim); text-decoration: line-through;
}
.ads__arrow { color: var(--ink-dim); }
.ads__now { font-family: var(--display); font-size: clamp(1.7rem,4.5vw,2.5rem); color: var(--red); }
.ads__l { display: block; font-size: .78rem; color: var(--ink-dim); font-weight: 600; }
.ads__note { margin: .6rem 0 0; font-size: .82rem; color: var(--ink-soft); line-height: 1.5; }

.headline {
  background: var(--paper-deep); border: 1px solid var(--hairline);
  border-radius: 12px; padding: 1.2rem 1.1rem 1.1rem; text-align: center;
}
.headline__n {
  display: block; font-family: var(--display); color: var(--red);
  font-size: clamp(2.2rem, 7vw, 3.6rem); line-height: 1.02;
  letter-spacing: -.02em; overflow-wrap: anywhere;
}
.headline__l { display: block; margin-top: .35rem; font-size: .88rem; color: var(--ink-soft); font-weight: 600; }
.headline__yr { display: block; margin-top: .5rem; font-size: .78rem; color: var(--ink-dim); font-weight: 600; }

.flow {
  display: flex; align-items: center; justify-content: space-between;
  gap: .4rem; margin-top: .9rem;
}
.flow__step {
  flex: 1 1 0; min-width: 0; text-align: center;
  background: var(--paper); border: 1px solid var(--hairline);
  border-radius: 12px; padding: .8rem .5rem;
}
.flow__n {
  display: block; font-family: var(--display); line-height: 1.05;
  font-size: clamp(1.05rem, 2.5vw, 1.6rem); overflow-wrap: anywhere;
}
.flow__n--red { color: var(--red); }
.flow__l { display: block; margin-top: .25rem; font-size: .72rem; color: var(--ink-dim); font-weight: 600; }
.flow__arrow { color: var(--ink-dim); font-size: 1rem; flex: 0 0 auto; }
@media (max-width: 430px) {
  .flow { flex-wrap: wrap; }
  .flow__arrow { display: none; }
  .flow__step { flex: 1 1 45%; }
}

@media (max-width: 620px) { }
.ramp__head { font-family: var(--display); font-size: 1rem; margin: 1.7rem 0 .7rem; }
.ramp__note { margin: .8rem 0 0; font-size: .8rem; color: var(--ink-dim); line-height: 1.5; }
.madefrom {
  max-width: 1200px; margin: 0 auto; text-align: center;
  padding: 0 var(--gutter) clamp(2.4rem,5vw,3.4rem);
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-dim); font-weight: 700;
}
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ramp { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 430px; }
.ramp th {
  text-align: left; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-dim); font-weight: 700; padding: .5rem .55rem; border-bottom: 2px solid var(--hairline);
  white-space: nowrap;
}
.ramp td { padding: .6rem .55rem; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.ramp tr:last-child td { border-bottom: none; }
.ramp tr:last-child td { font-weight: 700; }
.ramp__whatcol { min-width: 200px; }
.ramp td.ramp__what { color: var(--ink-dim); font-size: .8rem; }
/* ---------- proof ---------- */
/* ---------- footer ---------- */
@media print {
  .controls, .topbar__tag, .reset, body { background: #fff; }
  .panel { grid-template-columns: 1fr; }
}

/* ---------- proof page ---------- */
.backbtn {
  display: inline-block; padding: .6rem 1.1rem; border-radius: 999px;
  background: var(--red); color: #fff; font-size: .85rem; font-weight: 700;
  text-decoration: none; white-space: nowrap; border: 2px solid var(--red);
  transition: background .15s, color .15s;
}
.backbtn:hover { background: #fff; color: var(--red); }
.backbtn--big { padding: .9rem 1.8rem; font-size: 1rem; }
.backwrap { text-align: center; padding: 0 var(--gutter) 1rem; margin: 0; }
.shots__head { max-width: 1200px; margin: .5rem auto 0; padding: 0 var(--gutter);
  font-family: var(--display); font-size: 1.1rem; }
.shots { max-width: 1200px; margin: .8rem auto 0; padding: 0 var(--gutter) 2rem;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 1rem; }
.shot { margin: 0; background: var(--card); border: 1px solid var(--hairline);
  border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-soft); }
.shot img { width: 100%; height: auto; display: block; }
.shot__cap { display: block; padding: .7rem .85rem .9rem; font-size: .8rem; line-height: 1.45; }
.shot__cap b { display: block; font-family: var(--display); font-size: .88rem; }
.shot__cap span { display: block; margin-top: .25rem; color: var(--ink-dim); }
.proof__eyebrow { margin: 0 0 .5rem; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-dim); font-weight: 700; }
.proof__biz { margin: .5rem 0 0; font-size: 1rem; color: var(--red); font-weight: 700; }
.panel--proof { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); }
@media (max-width: 900px) { .panel--proof { grid-template-columns: minmax(0,1fr); } }
.proofvid { border-radius: 12px; overflow: hidden; background: #111; }
.proofvid video { width: 100%; height: auto; display: block; aspect-ratio: 16/10; object-fit: cover; background: #111; }
.proof__result { margin: 0 0 1rem; font-family: var(--display); font-size: clamp(1.1rem,2.4vw,1.5rem); line-height: 1.25; }
.proof__points { margin: 0 0 1.2rem; padding-left: 1.1rem; }
.proof__points li { font-size: .88rem; color: var(--ink-soft); line-height: 1.55; margin-bottom: .5rem; }
.proof__cta { display: inline-block; margin-top: auto; padding: .65rem 1.1rem; background: var(--red); color: #fff;
  font-size: .85rem; font-weight: 700; border-radius: 9px; text-decoration: none; }
.proof__cta:hover { background: var(--red-deep); }
.proof__link { display: block; margin-top: .6rem; font-size: .82rem; font-weight: 700; color: var(--red); text-decoration: none; }
.proof__link:hover { text-decoration: underline; }

/* ---------- proof grid (multiple clients per industry) ---------- */
.pgrid {
  max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter) 2.5rem;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1rem;
}
.pcard { display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--hairline); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-soft); }
.pcard__vid { background: #111; }
.pcard__vid video { width: 100%; display: block; aspect-ratio: 16/10; object-fit: cover; background: #111; }
.pcard__body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; }
.pcard__kind { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); font-weight: 700; }
.pcard__name { font-family: var(--display); font-size: 1.05rem; margin-top: .3rem; }
.pcard__biz { font-size: .78rem; color: var(--red); font-weight: 700; margin-top: .1rem; }
.pcard__result { margin: .5rem 0 0; font-size: .86rem; color: var(--ink-soft); line-height: 1.5; }
