/* ==========================================================================
   Editorial override layer. Loaded after styles.css, social-icons.css and
   projects.css. The base files stay untouched.
   Brand system: porcelain white and cool mist fields, graphite type, obsidian
   identity, champagne detail, bronze action. Crisp, quiet, high contrast.
   Type: Bricolage Grotesque headings, Manrope body.
   Contrast: body 17.31:1, bronze text 5.70:1, ivory on obsidian 17.12:1.
   No gradients, no glow, no glass.
   ========================================================================== */

:root {
  --paper: #F7F7F4;
  --paper-2: #ECECE7;
  --ink: #111318;
  --main: #17191E;
  --accent: #8C6A35;

  --oxblood: var(--main);
  --oxblood-deep: #0D0F12;
  --oxblood-soft: #2A2D34;
  --cream: var(--paper);
  --cream-deep: var(--paper-2);
  --ivory: #FCFCFA;
  --sage: var(--accent);
  --sage-deep: #7A5D2E;
  --brass: #B79A63;
  --brass-light: #D8C79A;
  --brass-ink: #7A5D2E;

  --muted: rgba(17, 19, 24, 0.78);
  --muted-cream: rgba(252, 252, 250, 0.92);
  --accent-text: #7A5D2E;
  --hair: rgba(17, 19, 24, 0.22);
  --hair-strong: var(--ink);
  --hair-cream: rgba(252, 252, 250, 0.34);
  --hair-cream-strong: var(--paper);

  --serif: 'Bricolage Grotesque', 'Trebuchet MS', sans-serif;
  --sans: 'Manrope', 'Segoe UI', sans-serif;

  --shadow-offset: none;
  --shadow-offset-sm: none;
  --shadow-soft: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  box-shadow: none !important;
  text-shadow: none !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  animation: none !important;
  border-radius: 0 !important;
}

html {
  scroll-behavior: auto;
  background: var(--paper);
  color: var(--ink);
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  line-height: 1.55;
  overflow-x: hidden;
}

body,
button,
input,
select,
textarea {
  font-family: var(--sans);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

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

.container {
  width: min(1240px, 100%);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 44px);
}

/* ---------- Header ---------- */
.site-header {
  height: 72px;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.project-page .site-header {
  background: var(--paper);
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1240px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-family: var(--serif);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-style: normal !important;
}

.brand img {
  width: 34px;
  height: 34px;
  padding: 2px;
  border: 1px solid var(--ink);
  background: var(--paper-2);
  object-fit: contain;
}

.nav a {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
  font-style: normal !important;
}

.nav a::after {
  background: var(--accent);
  height: 2px;
}

.header-action {
  height: 38px;
  padding: 0 16px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--paper);
  background: var(--main);
  border: 1px solid var(--main);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}

.header-action:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.menu-toggle {
  border: 1px solid var(--ink);
}

.menu-toggle i {
  background: var(--ink);
}

@media (min-width: 940px) {
  .nav { gap: clamp(18px, 2.4vw, 34px); }
}

@media (max-width: 939px) {
  .nav {
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
  }

  .nav a {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 700;
    border-bottom: 1px solid var(--hair);
    color: var(--ink);
  }

  .nav a:last-child { border-bottom: 0; }
  .header-inner { flex-wrap: nowrap; }
  .header-action { display: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
  min-height: 46px;
  padding: 0 18px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  transition: background 120ms linear, color 120ms linear, border-color 120ms linear;
}

.btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn--solid {
  color: var(--paper);
  background: var(--main);
  border-color: var(--main);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn--solid:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}

.btn--light {
  color: var(--paper);
  background: transparent;
  border-color: var(--paper);
}

.btn--light:hover {
  background: var(--paper);
  color: var(--main);
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

/* ---------- Shared editorial type ---------- */
.eyebrow {
  margin: 0 0 18px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.hero h1,
.page-intro h1,
.project-hero h1,
.section-label h2,
.work-head h2,
.list-head h2,
.features-head h2,
.shots-head h2,
.download-head h2,
.contact-grid h2,
.section--visit h2,
.statement h2 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-style: normal !important;
}

.lede {
  font-size: clamp(1.04rem, 1.45vw, 1.18rem);
  line-height: 1.68;
  font-weight: 500;
  color: var(--ink);
}

.features-head,
.shots-head,
.download-head {
  display: block;
  max-width: none;
  margin: 0 0 30px;
}

.features-head h2,
.shots-head h2,
.download-head h2 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
}

.features-head .lede {
  max-width: 64ch;
  margin: 14px 0 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
}

.section-label {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-label > span {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}

.section-label h2 {
  margin: 0;
  font-size: clamp(2rem, 3.7vw, 3.1rem);
}

.source-note {
  margin-top: 26px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--ink);
}

.source-note a {
  color: var(--main);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Home hero ---------- */
.hero {
  display: block;
  min-height: auto;
  padding: clamp(62px, 8vw, 104px) 0 clamp(58px, 7vw, 88px);
  background: var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: end;
  max-width: none;
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.2rem, 7.2vw, 6.7rem);
  color: var(--ink);
}

.hero .lede {
  max-width: 47ch;
  margin: 24px 0 0;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-mark,
.marks { display: none; }

.hero-visual {
  position: relative;
  min-height: 410px;
}

.hero-shot {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--ink);
  background: var(--paper-2);
}

.hero-shot--wide {
  width: 92%;
  transform: translateY(22px);
  border-bottom: 8px solid var(--main);
}

.hero-shot--tall {
  position: absolute;
  right: 0;
  bottom: -26px;
  width: 40%;
  padding: 8px;
  background: var(--paper);
  border-left: 7px solid var(--accent);
}

.hero-shot img {
  display: block;
  width: 100%;
}

.hero-shot--wide img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
}

.hero-shot--tall img {
  max-height: 320px;
  object-fit: contain;
  margin-inline: auto;
}

.hero-shot figcaption {
  margin-top: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ---------- Static studio ribbon ---------- */
.studio-ribbon {
  background: var(--main);
  color: var(--paper);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.ribbon-grid {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: baseline;
  padding-block: 15px;
  font-size: 0.82rem;
  line-height: 1.4;
}

.ribbon-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ribbon-grid strong {
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 700;
}

.marquee { display: none !important; }

/* ---------- Sections ---------- */
.section {
  padding: clamp(64px, 8vw, 104px) 0;
  background: var(--paper);
  color: var(--ink);
  border-top: 0;
}

.section--studio,
.section--screenshots {
  background: var(--paper-2);
}

.section--contact {
  background: var(--main);
  color: var(--paper);
}

.section--contact .eyebrow,
.section--contact .lede,
.section--contact p {
  color: var(--paper);
}

.studio-grid,
.editorial-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(200px, 0.42fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.studio-copy p {
  max-width: 66ch;
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.76;
}

.studio-copy p:first-child {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.7vw, 2.2rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

/* ---------- Home work list ---------- */
.work-head {
  margin-bottom: 34px;
}

.work-head h2 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
}

.work-list {
  display: grid;
  border-top: 1px solid var(--ink);
}

.work-item {
  display: grid;
  grid-template-columns: 56px minmax(240px, 0.82fr) minmax(0, 1fr);
  grid-template-areas: 'num media body';
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--ink);
}

.work-item--web {
  grid-template-columns: minmax(0, 1fr) 56px minmax(240px, 0.82fr);
  grid-template-areas: 'body num media';
}

.work-item__index {
  grid-area: num;
  align-self: start;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.work-item__media {
  grid-area: media;
  display: block;
  padding: 8px;
  border: 1px solid var(--ink);
  background: var(--paper-2);
  transition: none;
}

.work-item--app .work-item__media {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  border-bottom-width: 8px;
}

.work-item--web .work-item__media {
  border-left-width: 8px;
  border-left-color: var(--accent);
}

.work-item__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  transition: none;
}

.work-item__copy { grid-area: body; }

.work-item__kind {
  margin: 0 0 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.work-item__copy h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  font-style: normal !important;
}

.work-item__copy p {
  max-width: 54ch;
  margin: 0 0 18px;
  font-size: 0.96rem;
  line-height: 1.72;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  font-size: 0.88rem;
  font-weight: 800;
  border-bottom: 2px solid var(--accent);
}

.text-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}

.contact-grid h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.contact-grid p {
  max-width: 50ch;
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.7;
}

.section--contact .contact-email {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--paper);
  border-bottom: 2px solid var(--paper);
  word-break: break-word;
}

.section--contact .contact-email:hover {
  color: var(--paper);
  border-bottom-color: transparent;
}

/* ---------- Footer ---------- */
.site-footer {
  min-height: 264px;
  padding: 24px 0 18px;
  background: var(--main);
  color: var(--paper);
  border-top: 1px solid var(--ink);
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.footer-brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 10px;
  align-items: center;
  margin-bottom: 0;
}

.footer-brand > img {
  width: 30px;
  height: 30px;
  padding: 2px;
  border: 1px solid var(--paper);
  background: transparent;
}

.footer-brand .brand-name {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--paper);
  font-style: normal !important;
}

.footer-brand > p {
  grid-column: 1 / -1;
  max-width: 38ch;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--paper);
}

.site-footer .footer-brand > .socials {
  grid-column: 1 / -1;
  margin-top: 2px;
}

.footer-col h2 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--paper);
  font-style: normal !important;
}

.footer-col li { margin-bottom: 0; }

.footer-col a,
.footer-col span {
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--paper);
  font-style: normal;
}

.footer-col a:hover {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer .socials {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
  margin-top: 0;
}

.site-footer .socials a {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--paper);
  background: transparent;
}

.site-footer .socials a:hover {
  background: var(--paper);
}

.site-footer .socials a svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.site-footer .socials a:hover svg { color: var(--main); }

.brand-mark {
  justify-content: flex-start;
  gap: 4px;
  margin: 16px 0 10px;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  opacity: 0.72;
  font-style: normal !important;
}

.brand-mark span { transition: none; }
.brand-mark:hover span { color: var(--paper); transform: none; }

.footer-bottom {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--hair-cream);
  font-size: 0.73rem;
  color: var(--paper);
}

/* ---------- Play button ---------- */
.play-fab {
  right: 20px;
  bottom: 20px;
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ivory);
  background: var(--accent);
  border: 1px solid var(--paper);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}

.play-fab:hover {
  background: var(--paper);
  color: var(--main);
}

.play-fab:active { transform: none; }
.fab-logo b { border-color: var(--paper); }
.fab-progress { background: var(--paper); }

/* ---------- Projects hub ---------- */
.projects-page .page-intro {
  padding: clamp(72px, 9vw, 116px) 0 48px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--ink);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}

.page-intro h1,
.linkface-hero-grid h1,
.project-page .project-hero h1 {
  margin: 0;
  color: var(--ink) !important;
  font-style: normal !important;
}

.page-intro h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 6rem);
}

.page-intro .lede {
  margin: 0;
  max-width: 52ch;
}

.projects-page .section--projects { padding-top: 56px; }

.list-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 14px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--ink);
}

.list-head h2 { margin: 0; font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.list-head span { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--accent); }

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0 0 64px;
}

.project-card {
  display: grid;
  grid-template-columns: 56px minmax(240px, 0.78fr) minmax(0, 1fr);
  grid-template-areas: 'num media body';
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  padding: 32px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  transform: none !important;
  transition: none;
}

.project-card--two {
  grid-template-columns: minmax(0, 1fr) 56px minmax(240px, 0.78fr);
  grid-template-areas: 'body num media';
}

.project-card__index {
  grid-area: num;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.project-card__preview {
  grid-area: media;
  display: block;
  padding: 8px;
  border: 1px solid var(--ink);
  background: var(--paper-2);
}

.project-card--one .project-card__preview { border-bottom-width: 8px; }
.project-card--two .project-card__preview { border-left-width: 8px; border-left-color: var(--accent); }

.project-card__preview img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  transition: none;
}

.project-card__preview span {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  padding: 0;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--ink);
  background: transparent;
}

.project-card__preview svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.project-card__body { grid-area: body; }

.project-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  font-style: normal !important;
}

.project-card__kind {
  margin: 6px 0 14px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.project-card__body p {
  max-width: 58ch;
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.72;
  color: var(--ink);
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}

.project-card__tags span {
  padding: 5px 9px;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
}

.project-card .btn { align-self: start; }

/* ---------- Linkface hero ---------- */
.linkface-page .project-hero {
  display: block;
  min-height: auto;
  padding: clamp(72px, 9vw, 116px) 0 56px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--ink);
}

.linkface-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.linkface-hero-grid h1 {
  max-width: 14ch;
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
}

.linkface-hero-grid .lede {
  margin: 0 0 22px;
  max-width: 52ch;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.hero-tags li {
  padding: 6px 10px;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  font-style: normal !important;
}

.hero-tags li:first-child { border-left-width: 5px; border-left-color: var(--accent); }
.hero-actions { margin-top: 0; }

.linkface-visual {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--ink);
  border-left-width: 8px;
  border-left-color: var(--main);
  background: var(--paper);
}

.linkface-visual img {
  width: min(100%, 320px);
  max-height: 520px;
  object-fit: contain;
  margin-inline: auto;
}

.linkface-visual figcaption {
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.linkface-visual p { display: none; }

/* ---------- Linkface step rows ---------- */
.step-list {
  border-top: 1px solid var(--ink);
}

.step-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--ink);
}

.step-row:nth-child(even) { padding-left: 70px; }

.step-row .step-num {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  font-style: normal !important;
}

.step-row h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  font-style: normal !important;
}

.step-row p {
  max-width: 64ch;
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.7;
}

/* ---------- App list ---------- */
.app-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--ink);
}

.app-chips span {
  padding: 10px 13px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
  font-size: 0.82rem;
  font-weight: 600;
}

/* ---------- Product screenshots ---------- */
.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.device-shot {
  margin: 0;
  border: 1px solid var(--ink);
  background: var(--paper);
  overflow: hidden;
}

.device-shot:nth-child(2) { border-top-width: 8px; border-top-color: var(--accent); }

.device-shot__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--ink);
}

.device-shot__bar span {
  width: 8px;
  height: 8px;
  background: var(--ink);
}

.device-shot__bar span:first-child { background: var(--accent); }
.device-shot__bar small { color: var(--ink); font-size: 0.7rem; font-weight: 700; }

.device-shot__screen {
  min-height: 420px;
  padding: 18px;
  background: var(--paper-2) !important;
}

.device-shot__screen a { transition: none; }
.device-shot__screen a:hover { transform: none; }

.device-shot__screen img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 420px;
  border: 1px solid var(--ink);
  margin-inline: auto;
}

.device-shot__screen--phone img { max-height: 360px; }
.device-shot__screen--profile img { max-height: 480px; }
.device-shot__screen--app img { max-height: 420px; }

.device-shot figcaption {
  padding: 14px 16px;
  border-top: 1px solid var(--ink);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--ink);
}

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.price-card {
  padding: 28px;
  border: 1px solid var(--ink);
  background: var(--paper-2);
}

.price-card.is-pro {
  color: var(--paper);
  background: var(--main);
  border-color: var(--main);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.price-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  font-style: normal !important;
}

.price-card > p {
  margin: 8px 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.price-card .price {
  margin: 16px 0 4px;
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.05;
}

.price-card .price small {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
}

.price-card ul {
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
  border-top: 1px solid currentColor;
}

.price-card li {
  position: relative;
  padding: 9px 0 9px 22px;
  border-bottom: 1px solid currentColor;
  font-size: 0.88rem;
  line-height: 1.5;
}

.price-card li::before {
  content: '';
  position: absolute;
  left: 1px;
  top: 15px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  transform: rotate(45deg);
}

.price-card .btn { width: 100%; }
.price-card.is-pro .btn--solid { background: var(--paper); color: var(--main); border-color: var(--paper); }
.price-card.is-pro .btn--solid:hover { background: var(--paper-2); border-color: var(--paper-2); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--ink); }

.faq-list details {
  padding: 18px 0;
  border-bottom: 1px solid var(--ink);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.35;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: '+';
  flex: 0 0 auto;
  font-family: var(--sans);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
}

.faq-list details[open] summary::after { content: '\2212'; }

.faq-list p {
  max-width: 64ch;
  margin: 14px 0 0;
  font-size: 0.94rem;
  line-height: 1.7;
}

/* ---------- Linkface closing panel ---------- */
.section--visit {
  background: var(--main);
  color: var(--paper);
}

.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px 40px;
  align-items: end;
}

.section--visit h2 {
  grid-column: 1 / -1;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--paper);
}

.section--visit .lede {
  margin: 0;
  max-width: 54ch;
  color: var(--paper);
}

.section--visit .btn--solid {
  background: var(--paper);
  color: var(--main);
  border-color: var(--paper);
}

.section--visit .btn--solid:hover { background: var(--paper-2); border-color: var(--paper-2); }

.section--visit .source-note {
  grid-column: 1 / -1;
  margin-top: 8px;
  color: var(--paper);
}

.section--visit .source-note a { color: var(--paper); }

/* ---------- Bulk Leads Caller project ---------- */
.project-page .project-hero {
  display: block;
  min-height: auto;
  padding: clamp(72px, 9vw, 116px) 0 64px;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.project-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.project-page .project-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
}

.project-page .project-hero .lede {
  max-width: 50ch;
  margin: 22px 0 0;
  color: var(--ink);
}

.project-page .hero-tags { margin-top: 22px; }

.blc-hero-shot { align-self: start; }

.blc-hero-shot .device-shot__screen {
  display: grid;
  place-items: center;
  min-height: 460px;
}

.device-rig { justify-content: flex-start; }

.device {
  width: min(320px, 100%);
  padding: 20px;
  background: var(--paper-2);
  border: 1px solid var(--ink);
  border-top-width: 8px;
  border-top-color: var(--accent);
}

.device-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  font-style: normal !important;
}

.device-name img { border: 1px solid var(--ink); }
.device > p { color: var(--ink); }
.progress-row { color: var(--ink); }
.progress-line { background: var(--paper); border: 1px solid var(--ink); }
.progress-line span { background: var(--main); }
.device-stats div { border-top: 1px solid var(--ink); color: var(--ink); }

.device-stats b {
  width: 18px;
  height: 18px;
  border: 1px solid var(--main);
  background: var(--main);
  transform: rotate(45deg);
}

.device-stats div:last-child b {
  background: transparent;
  border-color: var(--accent);
}

.device > a {
  color: var(--paper);
  background: var(--main);
  border-color: var(--main);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}

.device > a:hover { background: var(--accent); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--ink);
}

.step {
  padding: 24px 20px;
  border: 0;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: transparent;
  transition: none;
}

.step:last-child { border-right: 0; }

.step-num {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  font-style: normal !important;
}

.step h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  font-style: normal !important;
}

.step p { color: var(--ink); line-height: 1.7; }

.cta-panel {
  margin-top: 40px;
  padding: 24px;
  border: 1px solid var(--ink);
  background: var(--paper-2);
  transition: none;
}

.cta-panel h2 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  font-style: normal !important;
}

.cta-panel p { color: var(--ink); }
.cta-panel--cream { background: var(--paper-2); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
}

.feature {
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  transition: none;
}

.feature:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--ink); }

.feature h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 700;
  font-style: normal !important;
}

.feature p { color: var(--ink); font-size: 0.9rem; line-height: 1.7; }

.feature-ledger { border-top: 1px solid var(--ink); }

.feature-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--ink);
}

.feature-row:nth-child(even) { padding-left: 44px; }

.feature-row .step-num { font-size: 1.5rem; }

.feature-row h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 700;
  font-style: normal !important;
}

.feature-row p {
  max-width: 62ch;
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.7;
}

.section--screenshots .shots-head { max-width: none; }
.shots-stage { gap: 14px; }

.shot-view {
  width: min(300px, 80vw);
  border: 1px solid var(--ink);
  background: var(--paper);
  transition: none;
}

.shot-view:hover { border-color: var(--ink); }
.shot figcaption { background: var(--main); color: var(--paper); font-style: normal !important; }

.shot-dot::after {
  border-color: var(--ink);
  background: transparent;
  transform: rotate(45deg);
}

.shot-dot[aria-current='true']::after { background: var(--ink); }

.statement {
  background: var(--main);
  color: var(--paper);
}

.statement h2 {
  margin: 0;
  color: var(--paper);
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
}

.statement h2 em { color: var(--paper); font-style: normal; }
.statement p { max-width: 48ch; color: var(--paper); font-size: 1.02rem; }

.ios {
  border: 1px dashed var(--accent);
  background: var(--paper-2);
  color: var(--ink);
}

.ios b { font-family: var(--sans); font-weight: 800; font-style: normal !important; }

.qr {
  padding: 18px;
  border: 1px solid var(--ink);
  background: var(--paper);
  transition: none;
}

.qr:hover { border-color: var(--ink); }
.qr img { border: 1px solid var(--ink); }

.qr p {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 700;
  font-style: normal !important;
}

.qr span { color: var(--ink); }

.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--ink);
}

.benefits > div {
  padding: 20px;
  border: 0;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: transparent;
  transition: none;
}

.benefits > div:last-child { border-right: 0; }

.benefits h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  font-style: normal !important;
}

.benefits p { color: var(--ink); line-height: 1.7; }

.requirements {
  padding: 24px 20px;
  border: 1px solid var(--ink);
  background: var(--paper-2);
}

.requirements h2 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  font-style: normal !important;
}

.req-grid dd { color: var(--ink); }
.req-grid dt { color: var(--muted); }

/* ---------- Modals ---------- */
.lightbox,
.video-modal { background: rgba(17, 19, 24, 0.9); }
.lightbox-panel,
.video-panel { border: 1px solid var(--ink); background: var(--paper); }
.lightbox-image { border: 1px solid var(--ink); background: var(--paper-2); }
.lightbox-bar span { font-style: normal !important; }
.lightbox-close,
.video-close,
.lightbox-nav button { border: 1px solid var(--ink); background: var(--paper-2); }
.lightbox-close,
.video-close { top: 10px; right: 10px; }
.lightbox-thumb { border-color: transparent; }
.lightbox-thumb[aria-current='true'] { border-color: var(--ink); }
.video-caption { font-style: normal !important; }

/* ---------- Privacy page ---------- */
.legal { background: var(--paper); }

.legal-top {
  padding: clamp(62px, 8vw, 100px) 0 clamp(34px, 4.4vw, 54px);
  background: var(--main);
  color: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.legal-top .back,
.legal-meta { color: var(--paper); }

.legal-top h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--paper);
  font-style: normal !important;
}

.legal-section h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  font-style: normal !important;
}

.legal-section p,
.legal-section li {
  max-width: 78ch;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.75;
}

.legal-section ul {
  margin: 10px 0;
  padding-left: 0;
  list-style: none;
}

.legal-section li {
  position: relative;
  padding-left: 20px;
}

.legal-section li::before {
  content: '';
  position: absolute;
  left: 1px;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border: 2px solid var(--accent);
  transform: rotate(45deg);
}

.legal-section h3 {
  margin: 22px 0 6px;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  font-style: normal !important;
}

.legal-section a {
  color: var(--main);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-section strong { color: var(--ink); font-weight: 800; }

.legal-end {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}

.legal-end p { color: var(--muted); font-size: 0.88rem; }

/* ---------- Mascot surface follows the same palette ---------- */
#ri-mascot { font-family: var(--sans) !important; }

#ri-mascot .ri-mascot__bubble {
  border: 1px solid var(--paper) !important;
  border-radius: 0 !important;
  background: var(--main) !important;
  color: var(--paper) !important;
  box-shadow: none !important;
}

#ri-mascot .ri-mascot__bubble.is-context,
#ri-mascot.is-flipped .ri-mascot__bubble.is-context { border-radius: 0 !important; }

#ri-mascot .ri-mascot__avatar {
  border: 1px solid var(--main) !important;
  border-radius: 50% !important;
  background: var(--paper) !important;
  box-shadow: none !important;
}

#ri-mascot .ri-mascot__brand {
  border: 2px solid var(--paper) !important;
  border-radius: 0 !important;
  background: var(--accent) !important;
  color: var(--ivory) !important;
}

/* ---------- Hover repair ---------- */
.nav a:hover,
.nav a:focus-visible,
.trusted-links a:hover {
  color: var(--accent-text);
}

.legal-top .back:hover {
  color: var(--ivory);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lightbox-close:hover,
.lightbox-nav button:hover,
.video-close:hover {
  background: var(--ink);
  color: var(--paper);
}

.device > a,
.device > a:hover {
  color: var(--paper);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid,
  .intro-grid,
  .linkface-hero-grid,
  .project-hero-grid,
  .studio-grid,
  .editorial-grid,
  .faq-grid,
  .contact-grid,
  .ribbon-grid,
  .showcase-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual { min-height: 380px; margin-top: 26px; }
  .hero-shot--wide { width: 100%; transform: none; }
  .hero-shot--tall { position: static; width: 58%; margin: -44px 0 0 auto; }

  .work-item,
  .work-item--web {
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-areas: 'num body' 'media media';
    gap: 18px;
  }

  .project-card,
  .project-card--two {
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-areas: 'num body' 'media media';
    gap: 18px;
  }

  .steps,
  .benefits { grid-template-columns: 1fr; }
  .step,
  .benefits > div { border-right: 0; }
  .features-grid { grid-template-columns: 1fr; }
  .feature:nth-child(even) { padding-left: 0; border-left: 0; }
  .feature-row:nth-child(even),
  .step-row:nth-child(even) { padding-left: 0; }

  .site-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visit-grid { grid-template-columns: 1fr; }
  .list-head { align-items: center; }
}

@media (max-width: 600px) {
  .site-header { height: 64px; }
  .brand { font-size: 0.82rem; }
  .brand img { width: 30px; height: 30px; }

  .hero { padding-top: 52px; padding-bottom: 56px; }
  .hero h1 { font-size: clamp(2.7rem, 12vw, 3.8rem); }
  .hero-visual { min-height: 320px; }
  .hero-shot--tall { width: 66%; margin-top: -30px; }

  .ribbon-grid { gap: 8px 16px; }
  .ribbon-grid span:not(.ribbon-label) { font-size: 0.76rem; }

  .work-item,
  .project-card { padding: 26px 0; }

  .contact-grid h2 { font-size: clamp(2rem, 9vw, 2.7rem); }

  .site-footer .footer-grid { gap: 20px; }
  .footer-brand > p { display: none; }
  .brand-mark { display: none !important; }

  .device-shot__screen { min-height: 340px; padding: 10px; }
  .blc-hero-shot .device-shot__screen { min-height: 300px; }
  .price-card { padding: 22px; }
  .price-card .price { font-size: 2.3rem; }
  .faq-list summary { font-size: 1.02rem; }
  .play-fab { right: 12px; bottom: 12px; }
}

/* ---------- No decorative reveals or lift-on-hover ---------- */
.reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.project-card:hover,
.work-item:hover,
.device-shot:hover,
.feature:hover,
.step:hover,
.shot-view:hover,
.device-shot__screen a:hover,
.project-card__preview:hover img { transform: none !important; }
