/* ============================================================
   HYPERPACE MEDIA
   Light, committed single theme — a professional B2B brand site.
   Every colour painted explicitly from tokens.
   ============================================================ */

:root{
  /* paper — warm-biased whites, not clinical */
  --paper:    #FFFFFF;
  --paper-2:  #FAF7F7;
  --paper-3:  #F3EFEF;

  /* ink — warm near-black, never pure */
  --ink:      #15100F;
  --ink-2:    #3A3132;
  --ink-3:    #6B5D5E;
  --ink-4:    #9C8F90;

  --line:     #EAE3E3;
  --line-2:   #D9D0D0;

  /* accent */
  --red:      #D11F2D;
  --red-deep: #96121C;
  --red-lift: #F0434F;   /* red that holds up on a dark ground */
  --red-wash: #FCF0F1;
  --red-line: #F2CDD1;

  --f-display: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-body:    "Hanken Grotesk", "Segoe UI", Helvetica, Arial, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1200px;
  --gut: 24px;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
}

*{ box-sizing: border-box; }

body{
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main{ flex: 1 0 auto; }
.foot{ flex: none; }

/* ---------- layout ---------- */
.wrap{
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.band{ padding-block: clamp(56px, 6.4vw, 88px); }
.band-alt{ background: var(--paper-2); }
.band-line{ border-top: 1px solid var(--line); }

/* ---------- type ---------- */
h1,h2,h3,h4{
  font-family: var(--f-display);
  color: var(--ink);
  line-height: 1.06;
  letter-spacing: -0.028em;
  text-wrap: balance;
  margin: 0;
  font-weight: 800;
}
h1{ font-size: clamp(2.5rem, 5.4vw, 4.05rem); letter-spacing: -0.036em; }
h2{ font-size: clamp(1.95rem, 3.5vw, 2.85rem); letter-spacing: -0.032em; }
h3{ font-size: 1.22rem; font-weight: 700; letter-spacing: -0.018em; line-height: 1.25; }
h4{ font-size: 1rem; font-weight: 700; letter-spacing: -0.012em; line-height: 1.3; }
p{ margin: 0; }

.lede{
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 58ch;
}
.prose{ max-width: 66ch; color: var(--ink-3); }
.prose p + p{ margin-top: 1.05em; }
.prose strong{ color: var(--ink); font-weight: 600; }

.mono{
  font-family: var(--f-mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.mono-red{ color: var(--red); }

.tm{ font-size: .6em; vertical-align: .42em; font-weight: 600; letter-spacing: 0; }

/* section heading block */
.sechead{ display: flex; flex-direction: column; gap: 16px; max-width: 62ch; }

/* ---------- logo ---------- */
.brand{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex: none;
}
.brand-mark{ width: 33px; height: 20px; display: block; flex: none; }
.brand-mark .cv{ animation: pace 4.6s ease-in-out infinite; }
.brand-mark .cv2{ animation-delay: .16s; }
.brand-mark .cv3{ animation-delay: .32s; }
@keyframes pace{
  0%, 62%, 100%{ opacity: 1; }
  30%{ opacity: .55; }
}
.brand-word{
  font-family: var(--f-display);
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
}
.brand-word span{ font-weight: 500; color: var(--ink-2); }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-body);
  font-size: .94rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn svg{ width: 13px; height: 9px; flex: none; }
.btn-dark{ background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover{ background: #000; transform: translateY(-1px); }
.btn-red{ background: var(--red); color: #fff; border-color: var(--red); }
.btn-red:hover{ background: var(--red-deep); border-color: var(--red-deep); transform: translateY(-1px); }
.btn-line{ background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.btn-line:hover{ border-color: var(--ink); }
.btn-ghost-light{ background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost-light:hover{ border-color: #fff; background: rgba(255,255,255,.08); }
.btn-sm{ padding: 10px 16px; font-size: .86rem; }

.textlink{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-weight: 600;
  font-size: .94rem;
  text-decoration: none;
}
.textlink:hover{ color: var(--red-deep); }
.textlink svg{ width: 13px; height: 9px; transition: transform .18s ease; }
.textlink:hover svg{ transform: translateX(3px); }

/* ---------- header ---------- */
.topbar{
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.topbar > .wrap{ position: relative; z-index: 1; }
.topbar .brand-word{ color: var(--ink); }
.topbar .brand-word span{ color: var(--ink-2); font-weight: 500; }
.navrow{
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 70px;
  padding-block: 12px;
}
.nav{
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav a{
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  position: relative;
  white-space: nowrap;
  transition: color .16s ease, background .16s ease;
}
.nav a:hover{ color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"]{ color: var(--ink); font-weight: 600; }
.nav a[aria-current="page"]::after{
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 1px;
  height: 2px;
  background: var(--red-lift);
  border-radius: 2px;
}
.nav-cta{ flex: none; margin-left: 6px; }

@media (max-width: 1080px){
  .nav-long{ display: none; }
}
@media (max-width: 820px){
  .navrow{ flex-wrap: wrap; min-height: 0; padding-block: 12px 0; gap: 12px; }
  .nav{
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-block: 3px;
    gap: 0;
  }
  .nav a{ padding: 11px 6px; font-size: .86rem; }
  .nav a[aria-current="page"]::after{ left: 6px; right: 6px; }
  .nav-cta{ margin-left: auto; }
}

/* ---------- hero ---------- */
.hero{
  position: relative;
  padding-block: clamp(44px, 5.4vw, 72px) clamp(28px, 3.2vw, 44px);
  overflow: hidden;
}
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(209,31,45,.07), rgba(209,31,45,0) 62%),
    radial-gradient(760px 420px at 6% 104%, rgba(28,38,48,.05), rgba(28,38,48,0) 60%);
  pointer-events: none;
}
.hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--line-2) .9px, transparent .9px);
  background-size: 22px 22px;
  opacity: .5;
  -webkit-mask-image: radial-gradient(760px 420px at 20% 20%, #000, transparent 72%);
  mask-image: radial-gradient(760px 420px at 20% 20%, #000, transparent 72%);
  pointer-events: none;
}
.hero > .wrap{ position: relative; z-index: 1; }

.hero-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .86fr);
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; gap: 40px; }
}

.badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 7px 15px 7px 11px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--ink-2);
  align-self: flex-start;
  box-shadow: 0 1px 2px rgba(21,16,15,.04);
}
.badge b{ font-weight: 600; color: var(--ink); }
.badge .dot{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}
.badge .sep{ color: var(--line-2); }
@media (max-width: 600px){
  .badge .sep, .badge .badge-sub{ display: none; }
}

.hero-copy{ display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero-copy h1{ margin-top: 4px; }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-note{
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 8px;
}

/* ---------- hero ladder (the signature) ---------- */
.ladder{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 18px 44px -26px rgba(21,16,15,.22), 0 2px 6px -2px rgba(21,16,15,.05);
  overflow: hidden;
}
.ladder-head{
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--paper-2);
}
.ladder-list{ list-style: none; margin: 0; padding: 0; }
.ladder-item + .ladder-item{ border-top: 1px solid var(--line); }

.ladder-btn{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  border: 0;
  border-left: 3px solid transparent;
  padding: 15px 20px 15px 17px;
  text-align: left;
  cursor: pointer;
  font-family: var(--f-body);
  transition: background .16s ease, border-color .16s ease;
}
.ladder-btn:hover{ background: var(--paper-2); }
.ladder-n{
  font-family: var(--f-mono);
  font-size: .78rem;
  font-weight: 500;
  color: var(--ink-4);
  width: 18px;
  flex: none;
  font-variant-numeric: tabular-nums;
}
.ladder-name{
  font-family: var(--f-display);
  font-size: .99rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--ink-2);
  flex: 1 1 auto;
  min-width: 0;
}
.ladder-chev{ width: 13px; height: 9px; flex: none; color: var(--line-2); transition: color .16s ease, transform .16s ease; }
.ladder-btn:hover .ladder-chev{ color: var(--ink-4); transform: translateX(2px); }

.ladder-item.on .ladder-btn{ border-left-color: var(--red); background: var(--red-wash); }
.ladder-item.on .ladder-n{ color: var(--red); }
.ladder-item.on .ladder-name{ color: var(--ink); font-weight: 700; }
.ladder-item.on .ladder-chev{ color: var(--red); transform: rotate(90deg); }

.ladder-panel{
  padding: 2px 20px 20px 40px;
  background: var(--red-wash);
  border-left: 3px solid var(--red);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ladder-quote{
  font-family: var(--f-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.32;
}
.ladder-help{ font-size: .9rem; line-height: 1.55; color: var(--ink-3); }
.ladder-help b{ color: var(--red-deep); font-weight: 600; }

.ladder-foot{
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- framework table ---------- */
.fw-head{
  display: grid;
  grid-template-columns: 76px minmax(0,1.15fr) minmax(0,1.3fr) minmax(0,1fr) minmax(0,1.25fr);
  gap: 28px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--ink);
}
.fw-row{
  display: grid;
  grid-template-columns: 76px minmax(0,1.15fr) minmax(0,1.3fr) minmax(0,1fr) minmax(0,1.25fr);
  gap: 28px;
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
  transition: background .18s ease;
}
.fw-row:hover{ background: var(--paper-2); }

.fw-lv{ display: flex; flex-direction: column; gap: 8px; }
.fw-lv-n{
  font-family: var(--f-display);
  font-size: 2.3rem;
  font-weight: 800;
  line-height: .9;
  letter-spacing: -0.05em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.fw-row:hover .fw-lv-n{ color: var(--red); }
.fw-lv-bar{ width: 30px; height: 3px; background: var(--red); border-radius: 2px; opacity: .3; }
.fw-row:hover .fw-lv-bar{ opacity: 1; }

.fw-name{ display: flex; flex-direction: column; gap: 9px; }
.fw-quote{
  font-size: .9rem;
  font-style: italic;
  color: var(--ink-3);
  line-height: 1.45;
}
.fw-cell{ font-size: .91rem; line-height: 1.6; color: var(--ink-3); }
.fw-help{ font-size: .91rem; line-height: 1.6; color: var(--ink-2); }

.bullets{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bullets li{
  position: relative;
  padding-left: 19px;
  font-size: .89rem;
  line-height: 1.5;
  color: var(--ink-3);
}
.bullets li::before{
  content: "";
  position: absolute;
  left: 0; top: .46em;
  width: 7px; height: 7px;
  border-right: 1.6px solid var(--red);
  border-top: 1.6px solid var(--red);
  transform: rotate(45deg);
}

.fw-label{ display: none; }
@media (max-width: 1040px){
  .fw-head{ display: none; }
  .fw-row{
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 28px;
  }
  .fw-label{
    display: block;
    font-family: var(--f-mono);
    font-size: .625rem;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--ink-4);
    margin-bottom: 7px;
  }
  .fw-lv{ flex-direction: row; align-items: center; gap: 12px; }
  .fw-lv-bar{ width: 22px; }
}

/* ---------- offer block ---------- */
.offer{
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.82fr);
  gap: 56px;
  align-items: stretch;
}
.offer > .stack:first-child{ justify-content: space-between; }
@media (max-width: 900px){ .offer{ grid-template-columns: 1fr; gap: 36px; } }

.steps3{
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  overflow: hidden;
}
.step3{
  display: grid;
  grid-template-columns: 44px minmax(0,1fr);
  gap: 16px;
  padding: 22px 24px;
  align-items: start;
}
.step3 + .step3{ border-top: 1px solid var(--line); }
.step3-n{
  font-family: var(--f-mono);
  font-size: .72rem;
  font-weight: 500;
  color: var(--red);
  border: 1px solid var(--red-line);
  background: var(--red-wash);
  border-radius: var(--r-sm);
  width: 44px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: .06em;
}
.step3 p{ font-size: .9rem; color: var(--ink-3); line-height: 1.55; margin-top: 5px; }

.scarcity{
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 18px;
  border: 1px solid var(--red-line);
  background: var(--red-wash);
  border-radius: var(--r-md);
  font-size: .9rem;
  color: var(--red-deep);
  font-weight: 500;
}
.scarcity .dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }

/* ---------- principles ---------- */
.principles{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 900px){ .principles{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 580px){ .principles{ grid-template-columns: 1fr; } }
.principle{
  background: var(--paper);
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.principle-mark{
  width: 22px; height: 15px;
  color: var(--red);
  margin-bottom: 4px;
}
.principle p{ font-size: .89rem; color: var(--ink-3); line-height: 1.58; }

/* ---------- dark CTA band ---------- */
.cta-dark{
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-dark::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(760px 420px at 85% 10%, rgba(209,31,45,.28), rgba(209,31,45,0) 62%);
  pointer-events: none;
}
.cta-dark > .wrap{ position: relative; z-index: 1; }
.cta-dark h2{ color: #fff; }
.cta-grid{
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.05fr);
  gap: 56px;
  align-items: center;
}
@media (max-width: 920px){ .cta-grid{ grid-template-columns: 1fr; gap: 36px; } }
.cta-dark .lede{ color: rgba(255,255,255,.66); }
.cta-dark .mono{ color: rgba(255,255,255,.44); }
.cta-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 13px 26px;
}
@media (max-width: 620px){ .cta-list{ grid-template-columns: 1fr; } }
.cta-list li{
  position: relative;
  padding-left: 20px;
  font-size: .91rem;
  line-height: 1.5;
  color: rgba(255,255,255,.8);
}
.cta-list li::before{
  content: "";
  position: absolute;
  left: 0; top: .45em;
  width: 7px; height: 7px;
  border-right: 1.6px solid var(--red);
  border-top: 1.6px solid var(--red);
  transform: rotate(45deg);
}

/* ---------- generic cards ---------- */
.cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
@media (max-width: 940px){ .cards{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px){ .cards{ grid-template-columns: 1fr; } }
.card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card:hover{
  border-color: var(--line-2);
  box-shadow: 0 14px 34px -24px rgba(21,16,15,.26);
  transform: translateY(-2px);
}
.card-mark{ width: 26px; height: 26px; color: var(--red); }
.card p{ font-size: .91rem; color: var(--ink-3); line-height: 1.6; }

/* ---------- simple facts list ---------- */
.facts{ display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.fact{
  display: grid;
  grid-template-columns: 200px minmax(0,1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
@media (max-width: 620px){ .fact{ grid-template-columns: 1fr; gap: 5px; } }
.fact div:last-child{ font-size: .95rem; color: var(--ink-3); }

/* ---------- contact ---------- */
.contact-grid{
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,.78fr);
  gap: 52px;
  align-items: start;
}
@media (max-width: 900px){ .contact-grid{ grid-template-columns: 1fr; gap: 38px; } }

.form{ display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 16px; }
@media (max-width: 560px){ .form{ grid-template-columns: 1fr; } }
.field{ display: flex; flex-direction: column; gap: 7px; }
.field-wide{ grid-column: 1 / -1; }
.field label{ font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.field label .opt{ font-weight: 400; color: var(--ink-4); }
.field input,
.field select,
.field textarea{
  font-family: var(--f-body);
  font-size: .95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 12px 13px;
  width: 100%;
  transition: border-color .16s ease, box-shadow .16s ease;
  appearance: none;
}
.field textarea{ resize: vertical; min-height: 130px; line-height: 1.6; }
.field select{
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-4) 50%), linear-gradient(135deg, var(--ink-4) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
  cursor: pointer;
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(209,31,45,.12);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"]{ border-color: var(--red); }
.err{ font-size: .78rem; color: var(--red); font-weight: 500; }
.form-foot{
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-top: 2px;
}
.sent{
  border: 1px solid var(--red-line);
  background: var(--red-wash);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}
.aside-block{
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.aside-item{ display: flex; flex-direction: column; gap: 6px; }
.aside-item a{ color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--red-line); align-self: flex-start; font-weight: 500; }
.aside-item a:hover{ border-color: var(--red); color: var(--red-deep); }
.aside-item p{ font-size: .91rem; color: var(--ink-3); }


/* ---------- selected work (dark moment) ---------- */
.work{
  background: var(--ink);
  color: rgba(255,255,255,.7);
  position: relative;
  overflow: hidden;
}
.work::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 500px at 12% -10%, rgba(209,31,45,.20), rgba(209,31,45,0) 64%);
  pointer-events: none;
}
.work > .wrap{ position: relative; z-index: 1; }
.work h2, .work h3, .work h4{ color: #fff; }
.work .lede{ color: rgba(255,255,255,.66); }
.work .mono{ color: rgba(255,255,255,.44); }
.work .mono-red{ color: var(--red-lift); }

.work-head{
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
}

/* browser chrome */
.shots{ position: relative; }
.browser{
  margin: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  overflow: hidden;
  background: #0E0B0B;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 2px 0 rgba(255,255,255,.05) inset;
}
.browser-bar{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: #1C1717;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.browser-dot{ width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.22); flex: none; }
.browser-url{
  margin-left: 10px;
  flex: 1 1 auto;
  min-width: 0;
  background: rgba(255,255,255,.07);
  border-radius: 999px;
  padding: 4px 12px;
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,.5);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser img{ display: block; width: 100%; height: auto; }

.phone{
  position: absolute;
  right: -18px;
  bottom: -46px;
  width: 168px;
  border: 5px solid #241E1E;
  border-radius: 22px;
  overflow: hidden;
  background: #241E1E;
  box-shadow: 0 30px 60px -22px rgba(0,0,0,.95);
}
.phone img{ display: block; width: 100%; height: auto; border-radius: 17px; }
@media (max-width: 720px){ .phone{ display: none; } }

.work-specs{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-top: 56px;
}
@media (max-width: 760px){ .work-specs{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
.work-spec{
  background: var(--ink);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.work-spec b{
  font-family: var(--f-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

/* ---------- services: editorial rows ---------- */
.svc{
  display: grid;
  grid-template-columns: 64px minmax(0,1fr) minmax(0,1fr);
  gap: 20px 44px;
  align-items: center;
  padding-block: clamp(40px, 5vw, 62px);
  border-top: 1px solid var(--line);
}
.svc:first-child{ border-top: 0; padding-top: 0; }
.svc-n{
  font-family: var(--f-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--red);
  align-self: start;
  padding-top: 4px;
}
.svc-body{ display: flex; flex-direction: column; gap: 12px; }
.svc-body h3{ font-size: 1.6rem; font-weight: 800; letter-spacing: -0.028em; }
.svc-body > p{ font-size: .97rem; line-height: 1.6; color: var(--ink-3); max-width: 50ch; }
.svc-fig{
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.svc-fig img{ display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.svc-cap{
  display: block;
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  font-size: .78rem;
  line-height: 1.45;
  color: var(--ink-3);
}
.svc-flip .svc-fig{ grid-column: 2; grid-row: 1; }
.svc-flip .svc-body{ grid-column: 3; grid-row: 1; }
@media (max-width: 900px){
  .svc{ grid-template-columns: 44px minmax(0,1fr); gap: 16px 20px; }
  .svc-fig,
  .svc-flip .svc-fig{ grid-column: 1 / -1; grid-row: auto; }
  .svc-flip .svc-body{ grid-column: 2; grid-row: auto; }
}

.svc-minor{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 860px){ .svc-minor{ grid-template-columns: 1fr; } }
.svc-min{
  background: var(--paper);
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.svc-min p{ font-size: .89rem; color: var(--ink-3); line-height: 1.58; }
.svc-min .mono-red{ font-size: .625rem; }

/* ---------- footer ---------- */
/* solid, picking up the CTA band's colour exactly so the page ends as one ground */
.foot{
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.62);
  padding-block: 54px 34px;
}

.foot .brand-word{ color: #fff; }
.foot .brand-word span{ color: rgba(255,255,255,.58); font-weight: 500; }

.foot-top{
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.foot-tag{
  font-family: var(--f-mono);
  font-size: .625rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-top: 12px;
}
.foot-nav{ display: flex; flex-wrap: wrap; gap: 10px 28px; }
.foot-nav a{
  font-size: .9rem;
  color: rgba(255,255,255,.68);
  text-decoration: none;
  transition: color .16s ease;
}
.foot-nav a:hover{ color: var(--red-lift); }
.foot-bottom{ display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; padding-top: 24px; }
.foot-fine{
  font-size: .85rem;
  color: rgba(255,255,255,.42);
}
.foot-fine a{ color: rgba(255,255,255,.62); text-decoration: none; }
.foot-fine a:hover{ color: var(--red-lift); }

/* ---------- utils ---------- */
.stack{ display: flex; flex-direction: column; }
.g8{ gap:8px } .g12{ gap:12px } .g16{ gap:16px } .g20{ gap:20px }
.g24{ gap:24px } .g32{ gap:32px } .g40{ gap:40px } .g48{ gap:48px }
.rowgap{ display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mt8{ margin-top:8px } .mt16{ margin-top:16px } .mt24{ margin-top:24px }
.mt32{ margin-top:32px } .mt48{ margin-top:48px }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--red);
  outline-offset: 2px;
  border-radius: 3px;
}

.view.enter > *{ animation: rise .46s cubic-bezier(.22,.7,.3,1) backwards; }
.view.enter > *:nth-child(1){ animation-delay: 0s }
.view.enter > *:nth-child(2){ animation-delay: .05s }
.view.enter > *:nth-child(3){ animation-delay: .1s }
.view.enter > *:nth-child(n+4){ animation-delay: .14s }
@keyframes rise{ from{ opacity:0; transform: translateY(10px) } to{ opacity:1; transform:none } }

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ---------- multi-page additions ---------- */
.skip{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip:focus{
  width: auto; height: auto;
  padding: 12px 18px; margin: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  left: 0; top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
  text-decoration: none;
}
