/* =============================================================
   REVENUE RED — EDITING GUIDE
   Change the colours and overall width here. Page sections below
   follow the same order as index.html. No framework or build step.
   ============================================================= */
:root {
  --ink: #171717;
  --red: #e74e35;
  --red-light: #fa765d;
  --paper: #ffffff;
  --soft: #f5f5f4;
  --muted: #626260;
  --line: #dededb;
  --page-width: 1280px;
}

/* Base styles */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Arial", "Helvetica Neue", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--red-light); outline-offset: 6px; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, figure { margin: 0; }
p { font-size: 1.0625rem; line-height: 1.7; }
h1, h2, h3 { font-weight: 400; }
h2 { font-size: clamp(2.2rem, 3.7vw, 3.5rem); line-height: 1.12; letter-spacing: -.045em; }
h3 { font-size: 1.8rem; line-height: 1.2; letter-spacing: -.035em; }
.wrap { width: min(var(--page-width), calc(100% - 112px)); margin-inline: auto; }
.section-space { padding-block: 112px; }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 26px; }
.skip-link { position: fixed; left: 20px; top: -100px; background: white; color: black; padding: 16px; z-index: 10; }
.skip-link:focus { top: 12px; }

/* Header and hero */
.hero-shell { overflow: hidden; color: #fff; background: var(--ink); border-radius: 0 0 48px 48px; }
.site-header { display: flex; justify-content: space-between; align-items: center; padding-block: 32px; border-bottom: 1px solid #ffffff1f; }
.brand { display: block; flex-shrink: 0; }
.brand img { width: 208px; height: 32px; }
nav { display: flex; align-items: center; gap: 38px; }
nav a { font-size: .875rem; color: #e4e4e1; }
nav a:hover { color: var(--red-light); }
nav .nav-contact { border: 1px solid #686866; border-radius: 6px; padding: 12px 23px; }
.hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: 20px; align-items: center; padding-top: 58px; padding-bottom: 58px; }
.hero-copy { position: relative; z-index: 1; }
.hero .eyebrow { color: #c2c2bd; }
h1 { font-size: clamp(3.25rem, 5.5vw, 5.15rem); letter-spacing: -.055em; line-height: 1.035; }
h1 span { color: var(--red-light); }
.hero-description { margin-top: 30px; max-width: 450px; font-size: 1.1875rem; line-height: 1.55; color: #efefed; }
.hero-detail { margin-top: 18px; max-width: 440px; color: #adadaa; font-size: 1rem; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 16px 25px; border-radius: 7px; font-size: .875rem; font-weight: 600; transition: background .2s, transform .2s; }
.button-red { background: var(--red); color: white; }
.button-red:hover { background: #cf3d27; transform: translateY(-2px); }
.text-link { font-size: .875rem; border-bottom: 1px solid #747470; padding-block: 8px; }
.text-link:hover { border-color: var(--red-light); }
.hero-visual { position: relative; margin-right: -220px; padding-top: 0; }
.hero-visual::before { content: ""; position: absolute; inset: 0 10% 0 0; background: radial-gradient(ellipse, #b63c2130, transparent 65%); pointer-events: none; }
.product-label { display: flex; align-items: center; gap: 14px; margin: 0 0 28px 70px; color: #c3c3be; font-size: .875rem; line-height: 1.4; }
.product-monogram { color: var(--red-light); border: 1px solid #67483e; border-radius: 8px; padding: 13px 10px; font-weight: 600; letter-spacing: -.03em; font-size: 1rem; }
.dashboard { position: relative; width: 720px; max-width: none; filter: drop-shadow(0 24px 24px #0004); }
.hero-visual figcaption { margin: 26px 0 0 70px; color: #a1a19b; font-size: .8125rem; }
.hero-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 23px 30px; border-top: 1px solid #ffffff1f; color: #a9a9a4; font-size: .8125rem; }

/* Experience strip */
.experience { display: grid; grid-template-columns: .85fr 1.7fr; align-items: center; gap: 60px; padding-block: 55px; border-bottom: 1px solid var(--line); }
.years strong { font-size: 5rem; font-weight: 400; letter-spacing: -.065em; line-height: 1; }
.years strong span { font-size: 1.625rem; letter-spacing: -.035em; }
.years p { font-size: .875rem; color: var(--muted); margin-top: 12px; }
.experience-statement { font-size: clamp(1.3rem, 2.05vw, 1.9rem); line-height: 1.45; letter-spacing: -.035em; border-left: 1px solid var(--line); padding-left: 60px; }
.experience-statement span { color: var(--muted); }

/* Market context: the local challenge and Revenue Red's positioning. */
.market-context { padding-bottom: 0; }
.market-context .eyebrow, .differentiators .eyebrow, .roi .eyebrow { color: #ae3825; }
.context-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.context-columns article { border-top: 1px solid var(--line); padding-top: 26px; }
.context-columns h3 { font-size: 1.6rem; margin-bottom: 16px; }
.context-columns p { color: var(--muted); font-size: 1rem; }
.market-position { border-left: 3px solid var(--red); margin-top: 38px; padding: 5px 0 5px 25px; max-width: 1050px; color: #484845; }

/* Platform and readable HTML distribution diagram */
.section-intro { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 90px; margin-bottom: 60px; }
.section-intro > p { color: var(--muted); max-width: 470px; }
.platform .eyebrow, .about .eyebrow { color: #ae3825; }
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: stretch; }
.distribution-diagram { background: var(--soft); border-radius: 24px; padding: 34px 40px 38px; display: flex; align-items: center; flex-direction: column; justify-content: center; }
.diagram-caption { font-size: .8125rem; color: var(--muted); align-self: flex-start; margin-bottom: 36px; }
.portfolio-node { display: flex; gap: 12px; align-items: center; font-size: 1rem; background: white; border: 1px solid #dededb; padding: 18px 24px; border-radius: 9px; }
.portfolio-icon { width: 19px; height: 16px; border: 1.5px solid #666; border-radius: 2px; position: relative; }
.portfolio-icon::before { content: ""; width: 8px; height: 4px; border: 1.5px solid #666; position: absolute; left: 3px; top: -6px; border-radius: 2px 2px 0 0; }
.connector { height: 29px; width: 1px; background: #bcbcb8; }
.cas-node { width: 100%; max-width: 310px; background: var(--ink); border-radius: 12px; padding: 27px; color: white; display: flex; align-items: center; gap: 24px; box-shadow: 0 10px 20px #0000000d; }
.cas-node strong { font-size: 2rem; font-weight: 400; letter-spacing: -.04em; color: var(--red-light); }
.cas-node span { font-size: .875rem; line-height: 1.5; color: #e1e1dd; }
.branch { height: 50px; width: 52%; border: 1px solid #bcbcb8; border-bottom: none; margin-top: 26px; position: relative; }
.branch::before { content: ""; position: absolute; width: 1px; height: 27px; background: #bcbcb8; left: 50%; top: -27px; }
.collector-nodes { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 16px; }
.collector-nodes div { border: 1px solid #d5d5d1; background: white; border-radius: 8px; text-align: center; padding: 20px 8px; font-size: .875rem; line-height: 1.5; }
.diagram-report { color: var(--muted); font-size: .8125rem; margin-top: 24px; }
.capabilities article { padding-block: 25px 28px; border-top: 1px solid var(--line); }
.capabilities article:first-child { padding-top: 7px; border-top: 0; }
.capabilities article:last-child { padding-bottom: 0; }
.small-label { text-transform: uppercase; font-size: .6875rem; letter-spacing: .12em; color: #ae3825; margin-bottom: 12px; font-weight: 600; }
.capabilities h3 { margin-bottom: 12px; }
.capabilities article > p:last-child { color: var(--muted); font-size: 1rem; max-width: 440px; }

/* Differentiators: edit the four articles directly in the HTML. */
.differentiators { background: var(--soft); }
.difference-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 38px 90px; margin-top: 48px; }
.difference-grid article { border-top: 1px solid #d3d3ce; padding-top: 25px; }
.difference-grid h3 { font-size: 1.55rem; margin-bottom: 14px; }
.difference-grid p { color: var(--muted); font-size: 1rem; max-width: 460px; }

/* A contrasting dark business-outcomes section */
.approach { background: var(--ink); color: white; }
.approach-inner { padding-block: 82px 88px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px 90px; }
.approach .eyebrow { grid-column: 1 / -1; margin: 0; color: #b7b7b0; }
.approach h2 { font-size: clamp(2.2rem, 4vw, 3.65rem); }
.approach h2 span { color: var(--red-light); }
.approach-details { padding-top: 4px; }
.approach-details p { color: #c0c0b9; font-size: 1rem; }
.approach-details p + p { margin-top: 18px; }
.outcome-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 22px; }
.outcome-grid article { border-top: 1px solid #ffffff40; padding-top: 25px; }
.outcome-grid h3 { font-size: 1.4rem; line-height: 1.3; margin-bottom: 14px; }
.outcome-grid p { font-size: 1rem; color: #c0c0b9; }

/* ROI and its qualification stay together at every screen size. */
.roi { display: grid; grid-template-columns: 1.25fr 1fr; gap: 90px; border-bottom: 1px solid var(--line); }
.roi-copy p { color: var(--muted); }
.roi-copy p + p { margin-top: 20px; }
.roi-copy .roi-qualification { font-size: 1rem; color: var(--ink); border-left: 2px solid var(--red); padding-left: 20px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
.about-photo { overflow: hidden; border-radius: 24px; }
.about-photo img { width: 100%; aspect-ratio: 1.03; object-fit: cover; }
.about-copy h2 { font-size: clamp(2rem, 3.2vw, 3rem); margin-bottom: 25px; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1rem; margin-bottom: 18px; }
.about-note { border-left: 2px solid var(--red); padding-left: 20px; margin-top: 30px; font-size: .875rem; line-height: 1.6; }
.about-note span, .about-note strong { display: block; }
.about-note strong { font-weight: 400; color: var(--muted); }

/* Direct contact details. There is deliberately no form. */
.contact { background: #f0f0ee; border-radius: 36px 36px 0 0; }
.contact-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 90px; padding-block: 80px; }
.contact .eyebrow { color: #ae3825; }
.contact h2 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
.contact-copy > p:last-child { margin-top: 25px; color: var(--muted); font-size: 1rem; }
.contact-details { font-style: normal; padding-left: 48px; border-left: 1px solid #d1d1cb; }
.contact-details > div + div { margin-top: 23px; }
.contact-details span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.contact-details a { font-size: clamp(1.25rem, 2.1vw, 1.9rem); letter-spacing: -.035em; }
.contact-details a:hover { color: #b83b26; text-decoration: underline; text-underline-offset: 5px; }
.contact-details p { font-size: 1rem; line-height: 1.6; }

/* Footer */
.site-footer { color: #e8e8e4; background: var(--ink); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-block: 44px; }
.footer-top p { color: #adada7; font-size: .875rem; line-height: 1.6; margin-left: auto; margin-right: 60px; }
.footer-top > a:last-child { font-size: .875rem; }
.footer-bottom { border-top: 1px solid #ffffff1f; padding-block: 22px 26px; display: flex; justify-content: space-between; gap: 20px; align-items: center; color: #aaa9a3; }
.footer-bottom p, .footer-bottom div { font-size: .75rem; }
.footer-bottom div { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a { color: #dddcd7; }
.site-footer a:hover { color: var(--red-light); }

/* Tablet: stack the larger compositions before they become cramped. */
@media (min-width: 1600px) {
  .hero-visual { margin-right: -110px; }
  .dashboard { width: 760px; }
}
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .hero { grid-template-columns: 1.1fr 1fr; padding-block: 70px; }
  .dashboard { width: 650px; }
  .hero-visual { margin-right: -250px; }
  .product-label, .hero-visual figcaption { margin-left: 40px; }
  .section-intro, .platform-grid, .about, .approach-inner, .contact-inner { gap: 45px; }
  .contact-details { padding-left: 30px; }
  .distribution-diagram { padding-inline: 24px; }
  .context-columns, .difference-grid, .roi { gap: 40px; }
  .outcome-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding-block: 58px 38px; }
  h1 { font-size: clamp(3.4rem, 8.5vw, 4.7rem); }
  .hero-description, .hero-detail { max-width: 520px; }
  .hero-visual { margin: 20px -5% 0; padding-top: 0; }
  .dashboard { width: 100%; max-width: 100%; }
  .product-label { display: none; }
  .hero-visual figcaption { margin: 20px 0 0; text-align: center; }
  .hero-bottom { font-size: .75rem; }
  .section-space { padding-block: 75px; }
  .experience { gap: 30px; }
  .experience-statement { padding-left: 30px; }
  .section-intro { grid-template-columns: 1fr; gap: 26px; margin-bottom: 40px; }
  .section-intro > p { max-width: 600px; }
  .platform-grid { gap: 35px; }
  .distribution-diagram { padding-inline: 18px; }
  .cas-node { flex-direction: column; gap: 10px; text-align: center; padding: 20px 14px; }
  .about { gap: 35px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; padding-block: 65px; }
  .contact-details { border-left: 0; padding-left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .contact-details > div + div { margin-top: 0; }
  .contact-details a { font-size: 1.45rem; }
  .footer-top p { margin-right: 0; }
  .roi { grid-template-columns: 1fr; gap: 30px; }
}

/* Mobile: all content remains readable without a JavaScript menu. */
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .hero-shell { border-radius: 0 0 26px 26px; }
  .site-header { flex-wrap: wrap; gap: 25px; padding-block: 25px 20px; }
  .brand img { width: 182px; height: 28px; }
  nav { width: 100%; justify-content: space-between; gap: 20px; }
  nav a { font-size: .8125rem; }
  nav .nav-contact { padding: 8px 15px; }
  .hero { padding-top: 45px; }
  .eyebrow { font-size: .6875rem; margin-bottom: 22px; }
  h1 { font-size: clamp(2.75rem, 10.7vw, 4rem); }
  .hero-description { font-size: 1.125rem; margin-top: 25px; }
  .hero-actions { gap: 24px; flex-wrap: wrap; }
  .hero-visual { margin-top: 30px; }
  .hero-bottom { flex-direction: column; gap: 10px; padding-bottom: 25px; }
  .experience { grid-template-columns: 1fr; gap: 25px; padding-block: 40px; }
  .years strong { font-size: 4.5rem; }
  .experience-statement { border-left: 0; padding-left: 0; font-size: 1.25rem; }
  .section-space { padding-block: 65px; }
  h2 { font-size: 2.25rem; }
  .platform-grid, .about { grid-template-columns: 1fr; }
  .distribution-diagram { padding: 27px 25px 32px; }
  .cas-node { flex-direction: row; text-align: left; padding: 24px; gap: 24px; }
  .diagram-caption { margin-bottom: 28px; }
  .capabilities article:first-child { padding-top: 10px; }
  .approach-inner { grid-template-columns: 1fr; padding-block: 60px; gap: 25px; }
  .approach h2 { font-size: 2.35rem; }
  .about-photo img { aspect-ratio: 1.2; }
  .about-copy h2 { font-size: 2.2rem; }
  .contact { border-radius: 26px 26px 0 0; }
  .contact h2 { font-size: 2.3rem; }
  .contact-details { grid-template-columns: 1fr; }
  .contact-details a { font-size: 1.6rem; }
  .footer-top { flex-wrap: wrap; padding-block: 35px; }
  .footer-top p { width: 100%; margin: 0; order: 3; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .market-context { padding-bottom: 0; }
  .context-columns, .difference-grid, .outcome-grid { grid-template-columns: 1fr; gap: 30px; }
  .market-position { padding-left: 20px; font-size: 1rem; }
  .outcome-grid { margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
