/* House Blend Studios — site styles */

:root {
  --orange: #F15A29;
  --ink: #231F20;
  --cream: #FBF3E4;
  --ember: #B8401A;
  --paper: #FFFFFF;
  --text-2: #3D3632;
  --text-3: #5B524C;
  --line: #D9CDB8;
  --ink-2: #2E2927;
  --ink-3: #3A3432;
  --ink-line: #4A4340;
  --cream-2: #E8DDCB;
  --cream-3: #CFC4B2;
  --tint: #FFF4E6;
  --tint-2: #FFF9F1;
  --included: #E2A27F;
  --ring: #B5A88F;
  --light-roast: #E0A96D;
  --medium-roast: #A0622D;
  --dark-roast: #5A3420;
  --crema: #EBC9A0;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 5vw, 48px);
  --max: 1200px;
  --radius: 4px;
  --section-y: clamp(64px, 9vw, 112px);
  --header-h: 86px;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ember); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: var(--radius);
}
.skip:focus { left: 8px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- type ---------- */

.eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
}
.on-dark .eyebrow { color: var(--orange); }

.display {
  margin: 0;
  font-weight: 800;
  font-stretch: 125%;
  text-transform: uppercase;
  line-height: 1;
  overflow-wrap: break-word;
}
.display--xl { font-size: clamp(44px, 6.4vw, 92px); line-height: 0.95; }
.display--lg { font-size: clamp(36px, 5vw, 72px); line-height: 0.95; }
.display--md { font-size: clamp(30px, 4vw, 52px); }
.display--cs { font-size: clamp(34px, 4.4vw, 62px); line-height: 0.98; font-stretch: 112%; }

.lede {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--text-2);
  max-width: 34em;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
}
.section-head p:not(.eyebrow) { margin: 0; font-size: 19px; color: var(--text-2); }
.on-dark .section-head p:not(.eyebrow) { color: var(--cream-2); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: var(--ink); color: var(--cream); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: var(--cream); color: var(--ink); }
.btn--outline-light { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn--outline-light:hover { background: var(--cream); color: var(--ink); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { background: var(--ink-3); color: #A39886; border-color: transparent; cursor: not-allowed; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.icon-btn {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn--round { border: none; border-radius: 50%; background: var(--ink-3); color: var(--cream); }

/* ---------- header + nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--cream);
  border-bottom: 2px solid var(--ink);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 14px;
}
.site-header__logo { display: flex; align-items: center; min-height: 44px; }
.site-header__logo img { height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 0;
}
.site-nav a:not(.btn):hover { color: var(--ember); }
.nav-toggle { display: none; }

dialog { padding: 0; border: none; color: inherit; }

.drawer {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  background: var(--cream);
}
.drawer[open] { display: flex; flex-direction: column; }
.drawer::backdrop { background: rgba(35, 31, 32, 0.4); }
.drawer__top { display: flex; justify-content: flex-end; padding: 10px 16px; }
.drawer__nav {
  margin: auto 16px 0;
  border-top: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
}
.drawer__nav a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
  padding: 18px 0;
  font-size: 34px;
  font-weight: 800;
  font-stretch: 125%;
  text-transform: uppercase;
  line-height: 1.1;
}
.drawer__foot { padding: 16px 16px 28px; display: flex; flex-direction: column; gap: 14px; }
.drawer__foot .checker { margin-inline: -16px; }

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header__inner { padding-block: 10px; }
  .site-header__logo img { height: 34px; }
}

/* ---------- checker strip ---------- */

.checker {
  height: 48px;
  background: url("/assets/checker-cream.svg") repeat-x left center / auto 48px;
}
@media (max-width: 860px) {
  .checker { height: 36px; background-size: auto 36px; }
}

/* ---------- homepage section order (mobile puts work first) ---------- */

.home-main { display: flex; flex-direction: column; }
@media (max-width: 860px) {
  .s-hero { order: 1; }
  .s-checker { order: 2; }
  .s-work { order: 3; }
  .s-how { order: 4; }
  .s-menu { order: 5; }
  .s-contact { order: 6; }
}

/* ---------- hero ---------- */

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding-block: clamp(40px, 8vw, 104px);
}
.hero__copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__art {
  flex: 1 1 320px;
  min-width: 0;
  height: 460px;
  background: var(--orange);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__art img { height: 220px; width: auto; }
@media (max-width: 860px) {
  .hero { gap: 20px; }
  .hero__copy { gap: 20px; }
  .hero__art { display: none; }
  .hero .btn-row { flex-direction: column; }
  .hero .btn { width: 100%; }
}

/* ---------- how it works ---------- */

.how { padding-top: var(--section-y); }
.how > .container { display: flex; flex-direction: column; gap: 48px; }
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 32px 24px;
}
.step { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--ink); padding-top: 20px; }
.step__num { font-size: 44px; line-height: 1; font-weight: 800; font-stretch: 125%; color: var(--orange); }
.step h3 { margin: 0; font-size: 22px; font-weight: 800; }
.step p { margin: 4px 0 0; font-size: 17px; color: var(--text-2); }
@media (max-width: 860px) {
  .how { padding-top: 48px; }
  .how > .container { gap: 24px; }
  .steps { grid-template-columns: 1fr; gap: 0; border-bottom: 2px solid var(--ink); }
  .step { flex-direction: row; gap: 16px; padding: 14px 0; }
  .step__num { font-size: 28px; width: 44px; flex-shrink: 0; }
  .step h3 { font-size: 18px; }
  .step p { font-size: 15px; margin: 0; }
}

/* ---------- menu ---------- */

.menu { padding-block: var(--section-y); }
.menu > .container { display: flex; flex-direction: column; gap: 32px; }

.goals { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.goals__label { font-size: 15px; font-weight: 700; color: var(--text-3); margin-right: 4px; }
.chip {
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}
.chip:hover { box-shadow: 0 3px 0 var(--orange); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); }

.menu__layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }
.menu__columns {
  flex: 999 1 600px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: 56px 32px;
}
.menu-col { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.menu-col__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  height: 60px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 4px solid var(--ink);
}
.menu-col__head--blend { border-color: var(--orange); }
.menu-col__head h3 { margin: 0; font-size: 26px; line-height: 1; font-weight: 800; text-transform: uppercase; }
.menu-col__head h3 img { height: 36px; width: auto; }
.roast {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ember);
  white-space: nowrap;
}

.item {
  font: inherit;
  text-align: left;
  cursor: pointer;
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  background: transparent;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.item:hover { box-shadow: inset 0 0 0 2px var(--line); }
.item.is-on { border-color: var(--orange); background: var(--tint); }
.item.is-included { border-color: var(--included); border-style: dashed; background: var(--tint-2); }
.item__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; width: 100%; }
.item__name { font-size: 21px; line-height: 1.15; font-weight: 700; font-stretch: 75%; text-transform: uppercase; }
.item__oz {
  font-size: 15px;
  font-weight: 800;
  font-style: italic;
  font-stretch: 100%;
  text-transform: none;
  color: var(--ember);
  white-space: nowrap;
}
.item__check {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--ring);
  display: flex;
  align-items: center;
  justify-content: center;
}
.item__check svg { width: 15px; height: 15px; opacity: 0; fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.item.is-on .item__check { border-color: var(--orange); background: var(--orange); }
.item.is-on .item__check svg { opacity: 1; }
.item.is-included .item__check { border-color: var(--included); }
.item.is-included .item__check svg { opacity: 1; stroke: var(--ember); }
.item__desc { font-size: 16px; line-height: 1.5; color: var(--text-2); }
.item__hint {
  display: block;
  width: 100%;
  height: 18px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ember);
}
.item.is-on .item__hint { color: var(--ink); }

@media (max-width: 860px) {
  .menu { padding-block: 48px; }
  .menu__columns { gap: 32px; }
  .menu-col__head { height: 52px; margin-bottom: 8px; padding-bottom: 8px; }
  .menu-col__head h3 { font-size: 24px; }
  .menu-col__head h3 img { height: 32px; }
  .item { padding: 12px 14px; }
  .item__name { font-size: 19px; }
  .item__desc { font-size: 15px; }
}

/* ---------- cup panel ---------- */

.cup-panel {
  flex: 1 1 320px;
  min-width: 0;
  position: sticky;
  top: calc(var(--header-h) + 16px);
  max-height: calc(100vh - var(--header-h) - 32px);
  overflow-y: auto;
  scrollbar-width: thin;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 860px) {
  .menu__layout > .cup-panel { display: none; }
}
.sheet .cup-panel { position: static; max-height: none; overflow: visible; padding: 0; flex: none; }
.cup-panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; }
.cup-panel__head h3 { margin: 0; font-size: 20px; font-weight: 800; font-stretch: 112%; text-transform: uppercase; }
.link-btn {
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--cream-2);
  background: none;
  border: none;
  text-decoration: underline;
  cursor: pointer;
  padding: 12px 0;
}

/* cup illustration */
.cup { position: relative; width: 160px; height: 274px; margin: 0 auto; flex-shrink: 0; }
.cup__steam {
  position: absolute;
  left: 30px;
  top: 0;
  width: 100px;
  height: 58px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.cup.is-steaming .cup__steam { opacity: 1; }
.cup__steam path {
  fill: none;
  stroke: var(--cream);
  stroke-width: 5;
  stroke-linecap: round;
  animation: hb-steam 2.4s ease-in-out infinite;
}
.cup__steam path:nth-child(2) { animation-delay: 0.7s; }
.cup__steam path:nth-child(3) { animation-delay: 1.4s; }
@keyframes hb-steam {
  0% { opacity: 0; transform: translateY(12px); }
  40% { opacity: 0.75; }
  100% { opacity: 0; transform: translateY(-16px); }
}
.cup__body {
  position: absolute;
  left: 0;
  top: 64px;
  width: 160px;
  height: 190px;
  border: 7px solid var(--cream);
  border-top: none;
  border-radius: 0 0 48px 48px;
  overflow: hidden;
  background: var(--ink-2);
  display: flex;
  flex-direction: column-reverse;
}
.cup__layer {
  flex-shrink: 0;
  width: 100%;
  height: 0;
  transition: height 0.6s var(--ease-out);
  box-shadow: inset 0 3px 0 rgba(251, 243, 228, 0.22);
}
[data-layer="web"] { background: var(--dark-roast); }
[data-layer="brand"] { background: var(--medium-roast); }
[data-layer="content"] { background: var(--light-roast); }
[data-layer="crema"] { background: var(--crema); }
.cup__handle {
  position: absolute;
  left: 152px;
  top: 92px;
  width: 46px;
  height: 82px;
  border: 7px solid var(--cream);
  border-left: none;
  border-radius: 0 40px 40px 0;
}
.cup__saucer {
  position: absolute;
  left: -16px;
  top: 260px;
  width: 192px;
  height: 9px;
  border-radius: 999px;
  background: var(--cream);
}
.cup__badge {
  position: absolute;
  left: 100px;
  top: 190px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  box-shadow: 0 0 0 4px var(--ink);
  transform: rotate(-12deg) scale(0);
  transition: transform 0.25s var(--ease-out);
}
.cup.has-refills .cup__badge { transform: rotate(-12deg) scale(1); }

/* mini cup (mobile bar) */
.mini-cup { position: relative; width: 44px; height: 50px; flex-shrink: 0; }
.mini-cup__body {
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 46px;
  border: 4px solid var(--cream);
  border-top: none;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  background: var(--ink-2);
  display: flex;
  flex-direction: column-reverse;
}
.mini-cup .cup__layer { box-shadow: none; }
.mini-cup__handle {
  position: absolute;
  left: 32px;
  top: 10px;
  width: 12px;
  height: 20px;
  border: 4px solid var(--cream);
  border-left: none;
  border-radius: 0 10px 10px 0;
}

.cup-readout { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.cup-readout p { margin: 0; }
.cup-readout__total { display: flex; align-items: baseline; gap: 8px; line-height: 1; }
.cup-readout__num { font-size: 52px; font-weight: 800; font-stretch: 125%; }
.cup-readout__unit { font-size: 18px; font-weight: 800; }
.cup-readout__name { font-size: 17px; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: 0.02em; color: var(--orange); }
.cup-readout__status { font-size: 14px; color: var(--cream-2); }
.cup-panel.is-full .cup-readout__status { font-size: 15px; font-weight: 700; color: var(--cream); }

.cup-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink-line); }
.cup-list:empty { display: none; }
.cup-list li { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--ink-line); }
.cup-list__dot { width: 12px; height: 12px; flex-shrink: 0; border-radius: 50%; box-shadow: 0 0 0 1px var(--cream); }
.cup-list__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.cup-list__name { font-size: 14px; font-weight: 700; }
.cup-list__meta { font-size: 12px; color: var(--cream-3); }
.cup-list__remove {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: none;
  background: none;
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}
.cup-list__remove:hover { background: var(--ink-3); }
.cup-list__remove svg { width: 16px; height: 16px; }

.refills {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--ink-2);
}
.refills__label { font-size: 16px; font-weight: 800; }
.refills__label em { color: var(--orange); }
.refills__sub { display: block; font-size: 13px; line-height: 1.4; font-weight: 400; color: var(--cream-3); }
.switch {
  position: relative;
  width: 68px;
  height: 40px;
  flex-shrink: 0;
  padding: 0;
  border-radius: 999px;
  border: 2px solid var(--cream);
  background: var(--ink-3);
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  transition: left 0.2s ease;
}
.switch[aria-checked="true"] { background: var(--orange); }
.switch[aria-checked="true"]::after { left: 32px; }

/* ---------- mobile cup bar + sheet ---------- */

.cup-bar { display: none; }
@media (max-width: 860px) {
  body.has-cup { padding-bottom: 84px; }
  body.has-cup .cup-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
    background: var(--ink);
    color: var(--cream);
    box-shadow: 0 -6px 20px rgba(35, 31, 32, 0.25);
    animation: hb-bar-in 0.35s var(--ease-out);
  }
}
@keyframes hb-bar-in { from { transform: translateY(110%); } to { transform: none; } }
.cup-bar__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.cup-bar__total { font-size: 20px; font-weight: 800; font-stretch: 112%; }
.cup-bar__name {
  font-size: 13px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  color: var(--orange);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sheet {
  inset: 0;
  width: 100%;
  max-width: 100%;
  margin: auto 0 0;
  max-height: 92vh;
  max-height: 92dvh;
  overflow-y: auto;
  background: var(--ink);
  color: var(--cream);
  border-radius: 18px 18px 0 0;
  padding: 0 20px calc(28px + env(safe-area-inset-bottom));
}
.sheet[open] { animation: hb-sheet-in 0.35s var(--ease-out); }
.sheet::backdrop { background: rgba(35, 31, 32, 0.55); }
@keyframes hb-sheet-in { from { transform: translateY(100%); } to { transform: none; } }
.sheet__bar { position: relative; display: flex; justify-content: flex-end; padding-top: 12px; }
.sheet__grab {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 44px;
  height: 5px;
  margin-left: -22px;
  border-radius: 999px;
  background: var(--text-3);
}

/* ---------- forms ---------- */

.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.field__opt { font-weight: 400; opacity: 0.8; }
.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  font-weight: 400;
}
.field textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
.form--dark .field input,
.form--dark .field textarea { border-color: var(--cream); background: var(--cream); }
.form--dark .btn[type="submit"]:hover { background: var(--cream); color: var(--ink); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; font-size: 14px; font-weight: 700; min-height: 1.4em; }
.form--dark .form__status.is-error { color: #FFB49E; }
.form__status a { color: inherit; }
.form__note { margin: 0; font-size: 13px; line-height: 1.5; opacity: 0.85; }
.form__note a { color: inherit; }

.form-success {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 2px solid currentColor;
  border-radius: var(--radius);
}
.form-success:focus { outline: none; }
.form-success h4 { margin: 0; font-size: 20px; font-weight: 800; text-transform: uppercase; font-stretch: 112%; }
.form-success p { margin: 0; font-size: 16px; }

/* ---------- work ---------- */

.work { background: var(--ink); color: var(--cream); padding-block: var(--section-y); }
.work > .container { display: flex; flex-direction: column; gap: 48px; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 40px 24px; }
.work-card { color: var(--cream); text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.work-card:hover { color: var(--cream); }
.work-card:hover h3 { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.work-card h3 { margin: 4px 0 0; font-size: 24px; font-weight: 800; }
.work-card p { margin: 0; font-size: 16px; color: var(--cream-3); }
@media (max-width: 860px) {
  .work { padding-block: 48px; }
  .work > .container { gap: 28px; }
}

.preview {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  padding: 9%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
}
.preview--jp { background: #16262d; font-family: 'Titillium Web', Helvetica, Arial, sans-serif; }
.preview--jp .p-firm { font-size: 12px; letter-spacing: 0.1em; color: #d6e1e5; }
.preview--jp .p-title { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.15; font-weight: 700; color: #FFFFFF; }
.preview--jp .p-steps { display: flex; flex-wrap: wrap; gap: 6px; }
.preview--jp .p-step { background: #33464e; color: #d6e1e5; border-radius: 4px; padding: 4px 10px; font-size: 13px; }
.preview--jp .p-step--now { background: #FFFFFF; color: #16262d; font-weight: 700; }
.preview--jp .p-step--next { background: none; border: 1px dashed #4f6168; padding: 3px 9px; }
.preview--jp .p-note { align-self: flex-start; background: #c9e3b8; color: #1d3b2f; border-radius: 4px; padding: 6px 12px; font-size: 14px; font-weight: 700; }
.preview--os { background: #f7f6f2; font-family: 'DM Sans', Helvetica, Arial, sans-serif; gap: 14px; }
.preview--os .p-eyebrow {
  align-self: flex-start;
  background: #f0eff9;
  color: #5b3fae;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.preview--os .p-title { font-size: clamp(24px, 3vw, 34px); line-height: 1.08; font-weight: 700; color: #1a1830; }
.preview--os .p-btn { align-self: flex-start; background: #6d4fc2; color: #FFFFFF; border-radius: 8px; padding: 8px 16px; font-size: 14px; font-weight: 700; }

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

.contact { background: var(--orange); color: var(--ink); padding-block: var(--section-y); }
.contact__inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 64px; }
.contact__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact__copy p { margin: 0; font-size: 20px; max-width: 32em; }
.contact__copy a { color: var(--ink); font-weight: 700; }
.contact__form { flex: 1 1 380px; min-width: 0; }
.contact .form__status.is-error { color: var(--ink); }
@media (max-width: 860px) {
  .contact { padding-block: 48px; }
  .contact__copy p { font-size: 17px; }
}

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

.site-footer { background: var(--ink); color: var(--cream); }
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px 32px;
  padding-block: 48px 40px;
}
.site-footer__logo { width: 150px; height: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 32px; font-size: 15px; }
.site-footer a { color: var(--cream); text-decoration: none; padding: 10px 0; display: inline-block; }
.site-footer a:hover { color: var(--orange); }
.site-footer__copy { margin: 0; font-size: 14px; color: var(--cream-3); }
@media (max-width: 860px) {
  .site-footer__inner { flex-direction: column; text-align: center; padding-block: 40px 32px; }
  .site-footer__logo { width: 140px; }
  .site-footer nav { flex-direction: column; align-items: center; }
}

/* ---------- case studies ---------- */

.cs-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-block: clamp(40px, 7vw, 88px); }
.cs-hero__copy { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.cs-meta {
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 20px;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}
.cs-meta div { display: flex; flex-direction: column; gap: 4px; }
.cs-meta dt { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.cs-meta dd { margin: 0; font-size: 17px; font-weight: 700; }
.cs-live { align-self: flex-start; color: var(--ink); font-size: 17px; font-weight: 800; }

.browser {
  flex: 1 1 460px;
  min-width: 0;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 10px 10px 0 var(--ink);
}
.browser__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 2px solid var(--ink); background: var(--cream); }
.browser__dot { width: 10px; height: 10px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--ink); }
.browser__url {
  margin-left: 8px;
  flex: 1 1 auto;
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 12px;
  color: #4f6168;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 600px) { .browser { box-shadow: 6px 6px 0 var(--ink); } }

.cs-split { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-block: var(--section-y); }
.cs-split__copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.cs-split__copy p:not(.eyebrow) { margin: 0; font-size: 19px; color: var(--text-2); }

.order {
  flex: 1 1 340px;
  min-width: 0;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 8px 8px 0 var(--orange);
}
.order__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.order__head h2 { margin: 0; font-size: 22px; font-weight: 800; font-stretch: 112%; text-transform: uppercase; }
.order__no { font-size: 13px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--ember); }
.order__for { margin: 0; font-size: 14px; color: var(--text-3); border-bottom: 2px dashed var(--line); padding-bottom: 14px; }
.order ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.order li { display: flex; justify-content: space-between; gap: 16px; }
.order li strong { display: block; font-size: 17px; }
.order__desc { font-size: 14px; color: var(--text-3); }
.order__size { font-size: 14px; font-weight: 800; font-style: italic; color: var(--ember); white-space: nowrap; }

.dark-band { background: var(--ink); color: var(--cream); padding-block: var(--section-y); }
.dark-band > .container { display: flex; flex-direction: column; gap: 48px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px 24px; }
.feature { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--orange); padding-top: 18px; }
.feature__kicker { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; color: var(--orange); }
.feature h3 { margin: 0; font-size: 21px; font-weight: 800; }
.feature p { margin: 0; font-size: 16px; color: var(--cream-2); }

.forecast { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.forecast__copy { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.forecast__copy h3 { margin: 0; font-size: clamp(24px, 3vw, 36px); line-height: 1.05; font-weight: 800; font-stretch: 112%; text-transform: uppercase; }
.forecast__copy p { margin: 0; font-size: 17px; color: var(--cream-2); }

.section { padding-block: var(--section-y); }
.section > .container { display: flex; flex-direction: column; gap: 40px; }
.rule-top { border-top: 2px solid var(--ink); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px; }
.stat { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.stat__num { font-size: 44px; line-height: 1; font-weight: 800; font-stretch: 125%; color: var(--ember); }
.stat__label { font-size: 16px; color: var(--text-2); }

.cta-band { background: var(--orange); color: var(--ink); padding-block: var(--section-y); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band__copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.cta-band__copy p { margin: 0; font-size: 20px; max-width: 32em; }
.cta-band__actions { flex: 1 1 280px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-band__actions a:not(.btn) { color: var(--ink); font-size: 17px; font-weight: 700; }

.brand-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.panel-card { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.panel-card h3 { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.panel-card p { margin: 0; font-size: 14px; color: var(--text-3); }

/* JobPlanner product mocks */
.jp { font-family: 'Titillium Web', Helvetica, Arial, sans-serif; color: #16262d; }
.jp-mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; }
.jp-screen { padding: 22px; background: #F4F7F8; display: flex; flex-direction: column; gap: 14px; }
.jp-label { margin: 0; font-size: 11px; letter-spacing: 0.08em; color: #4f6168; }
.jp-card { background: #FFFFFF; border: 1px solid #d6e1e5; border-radius: 6px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.jp-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.jp-card__title { display: block; font-size: 20px; font-weight: 700; line-height: 1.2; }
.jp-card__sub { display: block; font-size: 14px; color: #4f6168; }
.jp-due { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; font-size: 15px; font-weight: 700; }
.jp-due span { font-size: 11px; font-weight: 400; color: #4f6168; }
.jp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.jp-step { border: 1px solid #d6e1e5; border-radius: 4px; padding: 8px 10px; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.jp-step b { font-size: 14px; font-weight: 600; }
.jp-step span { font-size: 12px; color: #4f6168; }
.jp-step--now { background: #16262d; border-color: #16262d; color: #FFFFFF; }
.jp-step--now b { font-weight: 700; }
.jp-step--now span { color: #d6e1e5; }
.jp-step--next { border-style: dashed; border-color: #c4c9cc; color: #4f6168; }
.jp-handoff { background: #c9e3b8; color: #1d3b2f; border-radius: 6px; padding: 12px 14px; font-size: 15px; line-height: 1.4; }
.jp-quote { flex: 999 1 520px; min-width: 0; background: #F4F7F8; border-radius: 6px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.jp-dates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.jp-date { background: #FFFFFF; border: 1px solid #d6e1e5; border-radius: 6px; padding: 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.jp-date__kind { font-size: 14px; color: #4f6168; }
.jp-date__day { font-size: 28px; font-weight: 700; line-height: 1.1; }
.jp-date__odds { font-size: 12px; color: #4f6168; }
.jp-date--pick { background: #16262d; border-color: #16262d; color: #FFFFFF; }
.jp-date--pick .jp-date__kind,
.jp-date--pick .jp-date__odds { color: #d6e1e5; }
.jp-footnote { margin: 0; font-size: 13px; color: #4f6168; }
.jp-firm { border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; }
.jp-firm__url { padding: 8px 14px; background: var(--cream); border-bottom: 2px solid var(--ink); font-size: 12px; color: #4f6168; }
.jp-firm__bar { padding: 14px 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; color: #FFFFFF; }
.jp-firm__name { font-size: 16px; font-weight: 700; letter-spacing: 0.06em; }
.jp-firm__nav { font-size: 13px; }
.jp-firm__body { background: #F4F7F8; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.jp-firm__body span { display: block; height: 12px; border-radius: 3px; background: #d6e1e5; }
@media (max-width: 600px) {
  .jp-steps, .jp-dates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jp-date__day { font-size: 22px; }
}

/* Open Sermon product mocks */
.os { font-family: 'DM Sans', Helvetica, Arial, sans-serif; color: #1a1830; }
.os-serif { font-family: 'Merriweather', Georgia, serif; }
.os-screen { padding: 22px; background: #f7f6f2; display: flex; flex-direction: column; gap: 14px; }
.os-label { margin: 0; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #6b698e; }
.os-card { background: #FFFFFF; border-radius: 12px; padding: 8px 16px; box-shadow: 0 2px 10px rgba(26, 24, 48, 0.06); display: flex; flex-direction: column; }
.os-line { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid #e2e1ee; font-size: 14px; color: #6b698e; }
.os-line:last-child { border-bottom: none; }
.os-line b { font-size: 13px; color: #6d4fc2; flex-shrink: 0; }
.os-line--hi { background: #f0eff9; color: #1a1830; margin: 0 -12px; padding-inline: 12px; border-radius: 8px; border-bottom: none; }
.os-chip { align-self: flex-start; background: #f0eff9; color: #5b3fae; border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 700; }
.os-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.os-insight { flex: 1 1 200px; background: #FFFFFF; border-radius: 12px; padding: 12px 14px; box-shadow: 0 2px 10px rgba(26, 24, 48, 0.06); }
.os-insight p { margin: 0; }
.os-insight p:first-child { font-size: 14px; font-weight: 700; }
.os-insight p:last-child { margin-top: 4px; font-size: 12px; color: #6b698e; }
.os-shelf-wrap { width: 100%; max-width: 560px; background: #f7f6f2; border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.os-shelf { background: #2B1A10; border-radius: 6px; padding: 16px 16px 0; display: flex; align-items: flex-end; gap: 6px; height: 150px; border-bottom: 10px solid #6B4423; }
.os-book { width: 40px; border-radius: 3px 3px 0 0; position: relative; }
.os-book span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.os-swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.os-swatches span { height: 64px; border-radius: 8px; }
.os-dark { background: #121022; color: #FBF3E4; }
.os-dark .panel-card__title { color: #FBF3E4; }
.os-dark-card { background: #1c1930; border: 1px solid #35304f; border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }

/* ---------- simple pages ---------- */

.plain { padding-block: var(--section-y); }
.plain .container { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .cup.is-steaming .cup__steam { opacity: 0.5; }
}
