@import url("theme.css");

:root {
  --paper: var(--rf-background);
  --paper-strong: var(--rf-surface);
  --ink: var(--rf-text);
  --muted: var(--rf-text-muted);
  --line: var(--rf-border);
  --acid: var(--rf-action);
  --blue: var(--rf-link);
  --violet: var(--rf-accent);
  --green: var(--rf-positive);
  --radius: var(--rf-card-radius);
  --shadow: var(--rf-shadow);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--rf-font);
  line-height: 1.55;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 82px; border-bottom: 1px solid var(--line);
}
.site-header :is(.wordmark, .nav-cta) {
  display: inline-flex; align-items: center; justify-content: center; block-size: var(--rf-header-control-height);
}
.wordmark {
  flex: none; padding-inline: 12px;
  border: 1px solid var(--line); border-top: var(--rf-accent-border) solid var(--acid);
  border-radius: var(--rf-header-radius); background: var(--paper-strong);
}
.wordmark img { display: block; block-size: var(--rf-logo-height); inline-size: auto; }
.nav { display: flex; align-items: center; gap: 24px; font-size: .92rem; font-weight: 700; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav .nav-cta { padding-inline: 16px; border: 1px solid var(--line); border-radius: var(--rf-header-radius); background: white; }
.nav .nav-cta:hover { border-color: var(--violet); color: var(--violet); text-decoration: none; }
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 68px); align-items: center; padding: clamp(46px, 7vw, 90px) 0; }
.eyebrow { margin: 0 0 18px; text-transform: uppercase; letter-spacing: .16em; font-weight: 850; font-size: .72rem; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 820px; margin-bottom: 24px; font-size: clamp(3rem, 6.8vw, 6.4rem); line-height: .96; letter-spacing: -.068em; }
h1 .mark { color: var(--violet); }
.hero-copy { max-width: 670px; margin-bottom: 30px; color: #3f423c; font-size: clamp(1.08rem, 2vw, 1.35rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 20px; border: 1px solid var(--line); border-radius: var(--rf-control-radius); text-align: center; text-decoration: none; font-weight: 750; transition: border-color .18s ease, box-shadow .18s ease; }
.button:hover { border-color: var(--violet); box-shadow: var(--shadow); }
.button-primary { background: var(--acid); border-color: #d0a500; color: var(--ink); }
.button-secondary { background: var(--paper-strong); }
.button-acid { background: var(--acid); color: var(--ink); }
.hero-note { margin: 18px 0 0; color: var(--muted); font-size: .86rem; }
.workflow-frame {
  padding: clamp(16px, 3vw, 34px);
  border: 1px solid #dcd1f2;
  border-radius: 14px;
  background:
    linear-gradient(135deg, #f9f6ff 12%, #f0e9fc 82%) padding-box,
    #f9f6ff;
  box-shadow: inset 0 3px 0 #af91ec;
}
.workflow-title { margin-bottom: 16px; color: #49258c; font-size: .88rem; font-weight: 750; }
.workflow-stages { display: grid; gap: 9px; margin: 0; padding: 0; }
.workflow-stages li {
  display: grid; grid-template-columns: minmax(90px, .65fr) minmax(0, 1.35fr);
  align-items: center; gap: 8px 16px; padding: var(--rf-workflow-pad-block) 16px var(--rf-workflow-pad-block) 20px;
  border: 1px solid var(--line); border-left: 4px solid #e2ab0c;
  border-radius: var(--radius); background: #fff;
}
.workflow-stages li:nth-child(2) { border-left-color: #43b778; }
.workflow-stages li:nth-child(3) { border-left-color: #8855dc; }
.workflow-stages strong { font-size: clamp(1.04rem, 1.8vw, 1.4rem); letter-spacing: -.025em; }
.workflow-stages span { color: var(--muted); font-size: .94rem; }
.section { padding: 86px 0; border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 36px; align-items: end; }
.section h2 { margin-bottom: 0; font-size: clamp(2.3rem, 5vw, 4.8rem); line-height: .95; letter-spacing: -.055em; }
.section-intro { max-width: 600px; margin-bottom: 2px; color: var(--muted); font-size: 1.05rem; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.project-card { display: flex; flex-direction: column; padding: var(--rf-project-pad-block) var(--rf-project-pad-inline); border: 1px solid var(--line); border-top: var(--rf-accent-border) solid #dad7e0; border-radius: var(--radius); background: var(--paper-strong); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.project-card:hover { border-color: var(--violet); box-shadow: var(--shadow); }
.project-card:hover h3 { color: var(--violet); }
.project-card.acid { border-top-color: #e2ab0c; }
.project-card.blue { border-top-color: #8855dc; }
.project-card.coral:has(.status-open) { border-top-color: #43b778; }
.card-top { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: .875rem; line-height: 1.2; font-weight: 700; }
.status-open { color: var(--green); background: #f1faf4; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.arrow { font-size: 1.5rem; line-height: 1; }
.project-card h3 { margin-bottom: 10px; font-size: clamp(1.75rem, 3.6vw, 2.8rem); line-height: .98; letter-spacing: -.045em; }
.project-card p { max-width: 520px; margin-bottom: 0; color: #484b45; }
.project-card .card-meta { margin-top: auto; padding-top: 26px; color: var(--muted); font-size: .78rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.step { padding: 24px; background: var(--paper-strong); }
.step b { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 16px; border: 1px solid #dcd1f2; border-radius: 5px; background: #f4efff; color: var(--violet); }
.step h3 { margin-bottom: 10px; font-size: 1.2rem; letter-spacing: -.02em; }
.step p { margin-bottom: 0; color: var(--muted); font-size: .92rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { padding: 30px; border: 1px solid var(--line); border-top: 3px solid #e2ab0c; border-radius: var(--radius); background: var(--paper-strong); }
.panel-dark { border-top-color: #8855dc; background: #f4efff; color: var(--ink); }
.panel h3 { margin-bottom: 26px; font-size: 1.7rem; line-height: 1.05; letter-spacing: -.035em; }
.list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid rgba(102,104,95,.3); }
.list li::before { content: "↳"; font-weight: 900; }
.panel-dark .list li { border-color: #dcd1f2; }
.footer { padding: 44px 0; border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.footer-line { max-width: 640px; margin: 0 0 18px; font-size: clamp(2rem, 4vw, 4rem); line-height: .96; letter-spacing: -.055em; font-weight: 850; }
.footer-meta { color: var(--muted); font-size: .82rem; }
.breadcrumb { display: inline-flex; margin-top: 28px; color: var(--muted); font-size: .88rem; text-decoration: none; font-weight: 750; }
.breadcrumb:hover { color: var(--ink); }
.project-hero { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.55fr); gap: 46px; padding: 64px 0 72px; align-items: end; }
.project-hero h1 { margin: 14px 0 24px; font-size: clamp(2.7rem, 7vw, 6.4rem); overflow-wrap: anywhere; }
.project-lead { max-width: 720px; margin-bottom: 0; color: #454841; font-size: clamp(1.08rem, 2vw, 1.32rem); }
.fact-box { padding: 24px; border: 1px solid var(--line); border-top: 3px solid #8855dc; border-radius: var(--radius); background: var(--paper-strong); }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: .8fr 1.2fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; padding-top: 0; }
.facts dt { color: var(--muted); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.facts dd { margin: 0; font-weight: 750; }
.project-body { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(280px,.55fr); gap: 46px; padding: 72px 0; border-top: 1px solid var(--line); }
.prose h2 { margin: 52px 0 18px; font-size: clamp(2rem,4vw,3.8rem); line-height: 1; }
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: 720px; color: #454841; font-size: 1.02rem; }
.prose .list { max-width: 720px; }
.aside-stack { display: grid; align-content: start; gap: 14px; }
.notice { padding: 22px; border: 1px solid #e3c45e; border-radius: var(--radius); background: #fff9df; }
.notice.coral { border-color: #dcd1f2; background: #f4efff; }
.notice h3 { margin-bottom: 9px; font-size: 1.08rem; }
.notice p { margin: 0; font-size: .9rem; }
.project-actions { display: grid; gap: 10px; margin-top: 8px; }
.project-actions .button { width: 100%; }
.disclosure { padding: 24px; border: 1px dashed var(--muted); border-radius: 18px; color: var(--muted); font-size: .86rem; }
.customer-request { border-top-color: #8855dc; border-radius: var(--radius); }
.customer-request input:not([type=checkbox]), .customer-request select, .customer-request textarea { border-color: #a8a5b4; border-radius: 6px; }
.customer-request :focus-visible { outline-color: var(--violet); }
.customer-request .button { background: var(--acid); border: 1px solid #d0a500; font-weight: 750; }
.customer-request .button:hover { border-color: var(--violet); }
@media (max-width: 900px) {
  .hero, .project-hero, .project-body { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .shell { width: min(100% - 26px, 1180px); }
  .site-header { min-height: 70px; gap: 10px; }
  .wordmark { padding-inline: 8px; }
  .nav a:not(.nav-cta) { display: none; }
  .nav .nav-cta { padding-inline: 13px; font-size: .8rem; }
  .hero { min-height: auto; padding: 50px 0 58px; gap: 34px; }
  h1 { font-size: clamp(2.85rem, 12vw, 5.2rem); }
  .project-grid, .split, .steps { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .project-hero { padding: 44px 0 54px; gap: 28px; }
  .project-body { padding: 52px 0; gap: 32px; }
}
@media (max-width: 400px) {
  .workflow-stages li { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .project-card { transition: none; }
}
/* RealityFeed audience entry points */
#clients,#projects,#how{scroll-margin-top:24px}.client-actions{margin-top:30px}.wordmark{white-space:nowrap}@media(max-width:380px){.wordmark{font-size:1.25rem}.nav .nav-cta{font-size:.72rem;padding-inline:8px}}
