/* Visionaters unified design system
   Approved brand colors ONLY: #FEB204, #FEFEFE, #000000.
   Translucent tints below are made only from these approved colors. */
:root {
  --paper: #FEFEFE;
  --paper-deep: rgba(0, 0, 0, .035);
  --white: #FEFEFE;
  --ink: #000000;
  --ink-soft: rgba(0, 0, 0, .82);
  --muted: rgba(0, 0, 0, .68);
  --line: rgba(0, 0, 0, .14);
  --accent: #FEB204;
  --accent-soft: rgba(254, 178, 4, .16);
  --dark: #000000;
  --container: 1240px;
  --radius: 10px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .10);
  --font-body: "DM Sans", Arial, sans-serif;
  --font-display: "Manrope", Arial, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { background: var(--paper); color: var(--ink); font-family: var(--font-body); }
::selection { background: var(--accent); color: var(--ink); }
.container { width: min(var(--container), calc(100% - 64px)); }
.skip-link { background: var(--ink); color: var(--white); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Shared header and navigation */
.site-header { background: rgba(254, 254, 254, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 94px; gap: 28px; }
.brand { min-width: 0; }
.brand img { width: 190px; max-width: 100%; max-height: 64px; object-fit: contain; object-position: left center; }
.primary-nav { gap: clamp(16px, 2.1vw, 30px); }
.primary-nav.legal-nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 22px; padding: 0; background: transparent; border: 0; transform: none; overflow: visible; }
.primary-nav.legal-nav > a:not(.button) { padding: 8px 0; border: 0; font-size: 13px; }
.primary-nav > a:not(.button) { color: var(--ink-soft); font-size: 14px; font-weight: 650; }
.primary-nav > a:not(.button):hover, .primary-nav > a.active { color: var(--ink); }
.primary-nav > a.active::after { height: 3px; bottom: -12px; background: var(--accent); }
.menu-toggle { border-color: var(--line); border-radius: 8px; background: var(--white); }
.menu-toggle span { background: var(--ink); }
.button { min-height: 54px; padding: 15px 23px; border-radius: 9px; font-size: 13px; font-weight: 750; gap: 14px; }
.button-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.button-dark:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.button-light { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.button-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.nav-cta { min-height: 52px; padding: 14px 20px; border-radius: 9px; font-size: 12px; }
.button span, .text-link span { color: var(--accent); }
.text-link { color: var(--ink); border-color: var(--line); }
.text-link:hover { border-color: var(--accent); }
.eyebrow { color: var(--muted); font-size: 10px; letter-spacing: .17em; font-weight: 800; line-height: 1.5; gap: 12px; margin-bottom: 22px; }
.eyebrow-line { width: 28px; height: 2px; background: var(--accent); }
h1, h2, h3 { color: var(--ink); font-family: var(--font-display); letter-spacing: -.055em; }
h1 { font-size: clamp(46px, 6.2vw, 82px); line-height: 1.02; font-weight: 650; }
h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.08; font-weight: 650; }
h3 { font-size: 21px; line-height: 1.25; font-weight: 750; }
h1 em, h2 em, .brand-tile em, .creative-tile em, .window-hero em { color: var(--accent) !important; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: normal; }
.lead { max-width: 660px; color: var(--muted); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.8; }
.section-pad { padding-block: clamp(72px, 8.5vw, 120px); }

/* Home hero: balanced headline and a service-relevant systems visual */
.hero { padding-top: clamp(54px, 6.5vw, 88px); padding-bottom: 30px; }
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(36px, 5vw, 76px); align-items: center; }
.hero-copy { padding-block: 12px 24px; }
.hero-copy .eyebrow { display: flex; align-items: center; width: fit-content; padding: 0; border: 0; background: transparent; margin-bottom: 26px; color: var(--muted); }
.hero-copy .eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--accent); }
.hero h1 { max-width: 720px; margin-bottom: 24px; font-size: clamp(48px, 5.55vw, 76px); line-height: .99; letter-spacing: -.075em; }
.hero h1 em { color: var(--accent) !important; }
.hero-copy .lead { max-width: 600px; margin-bottom: 28px; font-size: clamp(16px, 1.35vw, 19px); }
.hero-actions { gap: 18px; }
.hero-note { margin-top: 36px; color: var(--muted); font-size: 12px; }
.note-dot { background: var(--accent); box-shadow: 0 0 0 5px rgba(254, 178, 4, .18); }
.hero-art { min-height: 520px; border: 1px solid var(--line); border-radius: 16px; background-color: var(--white); background-image: linear-gradient(rgba(0,0,0,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.045) 1px, transparent 1px); background-size: 28px 28px; }
.hero-art::before { inset: 0; border: 0; border-radius: 0; background: radial-gradient(circle at 50% 48%, rgba(254,178,4,.13), transparent 52%); }
.hero-art::after, .art-orbit, .art-disc, .art-star { display: none; }
.art-label { top: 23px; left: 24px; color: var(--muted); font-size: 9px; letter-spacing: .15em; }
.art-caption { left: 24px; right: 24px; bottom: 20px; padding-top: 13px; border-color: var(--line); color: var(--muted); font-size: 8px; }
.software-scene { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 56px 28px 58px; }
.software-dashboard { width: 100%; max-width: 490px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 26px 65px rgba(0,0,0,.12); transform: rotate(-1.3deg); }
.dashboard-top { height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 13px; background: var(--white); border-bottom: 1px solid var(--line); border-bottom-color: var(--line); }
.dashboard-dots { display: flex; gap: 4px; }
.dashboard-title { font-size: 8px; font-weight: 800; letter-spacing: .11em; }
.dashboard-body { display: grid; grid-template-columns: 96px minmax(0,1fr); min-height: 280px; }
.dashboard-dots i { display: block; width: 6px; height: 6px; border-radius: 50%; background: rgba(0,0,0,.22); }
.dashboard-title { color: var(--ink); }
.dashboard-side { padding: 17px 10px; background: rgba(0,0,0,.025); border-right: 1px solid var(--line); border-right-color: var(--line); }
.dashboard-side span { display: block; height: 6px; margin: 0 0 15px; border-radius: 2px; background: rgba(0,0,0,.12); }
.dashboard-side span:first-child { background: var(--accent); }
.dashboard-main { min-width: 0; padding: 18px 17px; }
.dash-heading { margin-bottom: 5px; color: var(--ink); font: 750 clamp(14px, 1.2vw, 17px)/1.2 var(--font-display); letter-spacing: -.04em; }
.dash-sub { margin-bottom: 17px; color: var(--muted); font-size: 8px; }
.dash-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.dash-metric { min-width: 0; padding: 9px 7px; border: 1px solid var(--line); border-color: var(--line); border-radius: 7px; }
.dash-metric small { display: block; color: var(--muted); font-size: 7px; }
.dash-metric strong { display: block; margin-top: 5px; font: 750 16px/1.2 var(--font-display); }
.dash-metric em { display: block; margin-top: 3px; color: var(--ink); font-size: 7px; font-style: normal; }
.dash-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dash-chart { position: relative; height: 105px; margin-top: 12px; overflow: hidden; border: 1px solid var(--line); border-color: var(--line); background: repeating-linear-gradient(to bottom, transparent 0 24px, rgba(0,0,0,.07) 25px 26px); }
.floating-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 12px 14px; font-size: 9px; background: var(--ink); color: var(--white); border-color: var(--ink); border-radius: 8px; box-shadow: 0 14px 32px rgba(0,0,0,.15); }
.floating-chip.one { right: 12px; top: 105px; }
.floating-chip.two { left: 12px; bottom: 92px; background: var(--white); color: var(--ink); border-color: var(--line); }
.floating-chip strong { color: var(--accent); }
.floating-chip.two strong { color: var(--ink); }
.hero-bottom { align-items: center; gap: 20px; margin-top: 26px; padding-top: 20px; color: var(--muted); border-top-color: var(--line); font-size: 12px; }
.hero-scroll-link { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 700; transition: border-color .2s, gap .2s; }
.hero-scroll-link span { color: var(--accent); font-size: 18px; }
.hero-scroll-link:hover { gap: 15px; border-color: var(--accent); }

/* Approach strip and section headings */
.intro-strip { padding-block: clamp(44px, 5vw, 68px); background: var(--ink); color: var(--white); }
.intro-grid { grid-template-columns: .7fr 1.3fr; gap: 40px; }
.intro-grid .eyebrow { color: var(--accent); margin-top: 10px; }
.intro-statement { color: var(--white); font-size: clamp(26px, 3.25vw, 42px); line-height: 1.28; }
.intro-statement span { color: var(--accent); }
.section-heading { gap: 30px; margin-bottom: 44px; }
.section-heading h2 em { color: var(--accent) !important; }
.section-heading > .text-link { margin-bottom: 5px; }

/* Service cards and detail list */
.service-grid { border-color: var(--line); }
.service-card { min-height: 310px; padding: 25px 23px 24px; background: var(--white); border-color: var(--line); }
.service-card:hover { background: rgba(254,178,4,.055); box-shadow: inset 0 -4px 0 var(--accent); }
.card-index { color: var(--muted); }
.card-icon { color: var(--ink); background: var(--accent); border-radius: 8px; padding: 7px 11px; }
.service-card h3 { font-size: clamp(18px, 1.55vw, 21px); }
.service-card p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.card-link { color: var(--ink); }
.page-hero { padding-top: clamp(70px, 8vw, 112px); padding-bottom: clamp(52px, 6vw, 78px); }
.page-hero-inner { max-width: 960px; }
.page-hero h1 { max-width: 950px; margin-bottom: 22px; font-size: clamp(44px, 6.1vw, 78px); line-height: 1.02; letter-spacing: -.07em; }
.page-hero h1 em { color: var(--accent) !important; }
.page-hero .lead { max-width: 720px; }
.service-detail-list { border-top-color: var(--line); }
.service-detail { grid-template-columns: 58px minmax(0,1fr) 176px; gap: clamp(22px, 3.5vw, 42px); padding-block: clamp(38px, 4.5vw, 56px); border-bottom-color: var(--line); }
.detail-number { color: var(--accent); font-weight: 800; }
.service-detail h2 { font-size: clamp(29px, 3.3vw, 42px); margin-bottom: 14px; }
.service-detail > div:nth-child(2) > p:not(.eyebrow) { color: var(--muted); line-height: 1.8; }
.service-detail ul { color: var(--ink-soft); line-height: 1.7; }
.service-detail li::marker { color: var(--accent); }
.detail-aside { background: rgba(254,178,4,.09); border-left: 3px solid var(--accent); padding: 22px; }
.detail-aside span { color: var(--ink); font-size: 34px; }
.detail-aside p { color: var(--ink-soft); }

/* Portfolio: project explorer, real project cards, accessible filters */
.work-section { background: rgba(0,0,0,.035); }
.work-art-one, .work-art-two, .portfolio-art-a, .portfolio-art-b, .portfolio-art-c { background: rgba(0,0,0,.045); }
.brand-tile, .creative-tile { background: var(--ink); color: var(--white); }
.brand-tile em, .creative-tile em { color: var(--accent) !important; }
.portfolio-toolbar { align-items: center; margin-bottom: 28px; }
.portfolio-toolbar .eyebrow { margin: 0; }
.filter-list { gap: 8px; }
.filter-button { min-height: 43px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--muted); font-size: 12px; font-weight: 650; transition: background .2s, color .2s, border-color .2s; }
.filter-button.active, .filter-button:hover, .filter-button:focus-visible { background: var(--ink); color: var(--white); border-color: var(--ink); }
.filter-button.active::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.portfolio-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 25px; }
.portfolio-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--white); transition: transform .25s, box-shadow .25s; }
.portfolio-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(0,0,0,.08); }
.portfolio-art { min-height: 0; aspect-ratio: 1.28; background: rgba(0,0,0,.045); }
.portfolio-dynamic-art { background: rgba(0,0,0,.045); }
.portfolio-initial { color: var(--accent); }
.portfolio-card-link { display: block; color: inherit; text-decoration: none; }
.portfolio-dynamic-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portfolio-info { display: flex; gap: 14px; padding: 22px; align-items: flex-start; }
.portfolio-info .eyebrow { font-size: 9px; margin-bottom: 10px; }
.portfolio-info h2 { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.2; margin: 0 0 10px; }
.portfolio-info > div > p:last-child { color: var(--muted); font-size: 13px; line-height: 1.7; margin-bottom: 0; }
.portfolio-card-link:hover .portfolio-info h2, .home-project-card:hover h3 { text-decoration-color: var(--accent); }
.portfolio-empty, .home-project-empty { position: relative; overflow: hidden; padding: clamp(30px, 5vw, 62px); background: rgba(0,0,0,.025); border: 1px solid var(--line); border-radius: 14px; }
.portfolio-empty h2 { max-width: 760px; font-size: clamp(27px, 3.5vw, 42px); line-height: 1.12; }
.portfolio-empty p:last-child, .home-project-empty p:last-child { max-width: 660px; color: var(--muted); line-height: 1.8; }
.empty-state-mark { position: absolute; right: clamp(20px, 5vw, 65px); top: 50%; transform: translateY(-50%); color: rgba(254,178,4,.20); font: 800 clamp(100px, 18vw, 220px)/1 var(--font-display); pointer-events: none; }
.portfolio-empty > *:not(.empty-state-mark) { position: relative; z-index: 1; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.small-note { color: var(--muted); font-size: 12px; }
.home-project-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 25px; }
.home-project-card { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.home-project-card .home-project-image { position: relative; overflow: hidden; aspect-ratio: 1.28; background: rgba(0,0,0,.04); }
.home-project-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-project-card .work-meta { padding: 20px; }
.home-project-card .work-meta h3 { margin-bottom: 5px; font-size: 19px; }
.home-project-card .work-meta p { color: var(--muted); }

/* About page and founder portrait */
.about-intro-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 84px); align-items: center; }
.about-visual { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 390px; padding: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 24px 55px rgba(0,0,0,.07); isolation: isolate; }
.about-visual::before { content: ""; position: absolute; z-index: -1; width: 250px; height: 250px; top: 64px; left: 50%; transform: translateX(-50%); border: 1px solid rgba(254,178,4,.45); border-radius: 50%; box-shadow: 0 0 0 28px rgba(254,178,4,.055), 0 0 0 58px rgba(0,0,0,.025); }
.about-visual-top, .about-visual-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.about-visual-mark { display: grid; place-items: center; width: 36px; height: 36px; background: var(--accent); color: var(--ink); border-radius: 9px; font: 800 22px/1 var(--font-display); }
.about-visual-core { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding-block: 20px; }
.about-visual-core img { width: 48px; height: 48px; object-fit: contain; }
.about-visual-core strong { font: 750 clamp(22px, 2.4vw, 30px)/1.12 var(--font-display); letter-spacing: -.05em; }
.about-visual-core > span { color: var(--muted); font-size: 11px; }
.about-visual-nodes { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
.about-visual-nodes > span { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.about-visual-nodes b { color: var(--accent); font-size: 10px; }
.about-visual-bottom { padding-top: 14px; border-top: 1px solid var(--line); }
.about-visual-bottom span:last-child { color: var(--accent); font-size: 16px; }
.about-intro-grid h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; }
.about-intro-grid p:not(.eyebrow) { color: var(--muted); line-height: 1.85; }
.founder-section, .site-footer { background: rgba(0,0,0,.035); }
.founder-grid { grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr); gap: clamp(42px, 8vw, 110px); align-items: center; }
.founder-portrait { position: relative; max-width: 410px; padding: 0 0 18px 18px; }
.founder-portrait::before { content: ""; position: absolute; left: 0; bottom: 0; width: 68%; height: 68%; background: rgba(254,178,4,.22); border-radius: 16px; z-index: 0; }
.founder-photo { position: relative; z-index: 1; width: 100%; max-width: 390px; aspect-ratio: 4/4.6; object-fit: contain; object-position: center bottom; background: var(--accent); border: 8px solid var(--white); border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.13); }
.portrait-caption { position: relative; z-index: 1; padding: 10px 8px 0; color: var(--muted); font-size: 11px; }
.founder-copy h2 em { color: var(--accent) !important; }
.founder-role { color: var(--ink) !important; }
.principle-grid { border-color: var(--line); }
.principle-grid article { padding: clamp(22px, 2.8vw, 32px); border-color: var(--line); transition: background .2s, box-shadow .2s; }
.principle-grid article:hover { background: rgba(254,178,4,.055); box-shadow: inset 0 -3px 0 var(--accent); }
.principle-grid article > span { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 28px; padding-inline: 7px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); font-weight: 800; }
.principle-grid h3 { margin: 25px 0 12px; }
.principle-grid p { color: var(--muted); line-height: 1.8; }

/* CTA and footer */
.cta-box { position: relative; overflow: hidden; padding: clamp(32px, 5vw, 62px); background: var(--ink); color: var(--white); border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.12); }
.cta-box h2 { max-width: 780px; color: var(--white); }
.cta-box .eyebrow, .cta-box h2 em { color: var(--accent) !important; }
.cta-box p:not(.eyebrow) { color: rgba(254,254,254,.78); }
.cta-box .button-light { background: var(--accent); color: var(--ink); }
.cta-decoration { color: rgba(254,254,254,.055); }
.site-footer { background: rgba(0,0,0,.035); }
.footer-top { padding-block: 56px 42px; }
.footer-brand img { width: 175px; max-height: 62px; }
.footer-brand p { color: var(--muted); line-height: 1.8; }
.footer-links { gap: clamp(36px, 7vw, 100px); }
.footer-links strong { color: var(--ink); }
.footer-links a, .footer-bottom { color: var(--muted); }
.footer-links a:hover, .footer-bottom a:hover { color: var(--ink); }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; padding-block: 21px; border-top-color: var(--line); font-size: 11px; }
.footer-copyright { grid-column: 2; justify-self: center; text-align: center; white-space: nowrap; }
.footer-legal { grid-column: 3; justify-self: end; display: flex; gap: 20px; }

/* Contact page and forms */
.contact-grid { grid-template-columns: minmax(250px, .78fr) minmax(0, 1.22fr); gap: clamp(35px, 6vw, 86px); }
.contact-sidebar { top: 120px; }
.contact-sidebar h2 { font-size: clamp(32px, 3.7vw, 47px); }
.contact-sidebar h2 em { color: var(--accent) !important; }
.contact-sidebar > p:not(.eyebrow) { color: var(--muted); line-height: 1.8; }
.contact-method { border-bottom-color: var(--line); }
.method-icon { color: var(--ink); background: var(--white); border-color: var(--line); }
.contact-method small { color: var(--muted); }
.contact-aside-note { background: rgba(254,178,4,.10); color: var(--ink-soft); border-radius: 8px; line-height: 1.7; }
.contact-form { padding: clamp(24px, 3.5vw, 42px); background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 22px 55px rgba(0,0,0,.07); }
.form-heading h2 { font-size: clamp(25px, 2.5vw, 32px); line-height: 1.15; margin-bottom: 27px; }
.contact-form label { color: var(--ink); font-size: 12px; line-height: 1.5; }
.contact-form input, .contact-form select, .contact-form textarea { border: 1px solid var(--line); border-radius: 8px; background: rgba(0,0,0,.025); color: var(--ink); min-height: 48px; padding: 13px 14px; font-size: 13px; }
.contact-form textarea { min-height: 128px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(0,0,0,.48); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(254,178,4,.18); }
.optional { color: var(--muted); }
.form-note, .form-status { color: var(--muted); font-size: 11px; line-height: 1.7; }
.form-status { color: var(--ink); }
.form-status:empty { display: none; }
.contact-form button:disabled { opacity: .65; cursor: wait; transform: none; }

/* Project case-study pages and legal pages */
.project-hero h1 { font-size: clamp(42px, 6.4vw, 78px); line-height: 1.02; }
.project-hero h1 em { color: var(--accent) !important; }
.project-meta { color: var(--muted); }
.project-meta strong { color: var(--ink); }
.project-cover { background: rgba(0,0,0,.04); border: 1px solid var(--line); border-radius: 12px; }
.project-content { gap: clamp(32px, 6vw, 80px); }
.project-story p, .project-aside ul, .project-gallery figcaption { color: var(--muted); }
.project-aside { background: rgba(254,178,4,.09); border: 1px solid var(--line); border-radius: 10px; }
.project-gallery figure { background: rgba(0,0,0,.025); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.project-message p { color: var(--muted); }
.legal-content h1 em { color: var(--accent) !important; }
.legal-content p { color: var(--muted); }

/* Admin dashboard: same approved palette */
.admin-body { background: var(--paper); color: var(--ink); }
.admin-top, .admin-login, .admin-list-panel, .editor-panel { background: var(--white); border-color: var(--line); }
.admin-top { box-shadow: 0 5px 24px rgba(0,0,0,.04); }
.admin-brand img { width: 170px; max-height: 60px; }
.admin-brand span, .admin-footer { color: var(--muted); }
.admin-login, .admin-list-panel, .editor-panel { border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.06); }
.admin-login h1 em, .admin-heading h1 em { color: var(--accent) !important; }
.admin-muted, .admin-form small, .admin-status { color: var(--muted); }
.admin-form input:not([type=checkbox]):not([type=file]), .admin-form select, .admin-form textarea { background: rgba(0,0,0,.025); color: var(--ink); border-color: var(--line); border-radius: 8px; }
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { outline-color: var(--accent); }
.admin-notice { background: rgba(254,178,4,.12); border-color: rgba(254,178,4,.55); border-radius: 10px; color: var(--ink); }
.admin-project-item { background: rgba(0,0,0,.025); border-color: transparent; color: var(--ink); }
.admin-project-item.active { border-color: var(--accent); background: rgba(254,178,4,.12); }
.status-pill { background: rgba(0,0,0,.07); color: var(--ink); }
.status-pill.published { background: rgba(254,178,4,.2); color: var(--ink); }
.button-outline { background: var(--white); border-color: var(--line); color: var(--ink); }
.button-outline:hover { background: rgba(254,178,4,.12); border-color: var(--accent); }
.button-danger { background: var(--white); border-color: var(--ink); color: var(--ink); }
.button-danger:hover { background: var(--ink); color: var(--white); }
.project-form fieldset, .admin-list-head, .editor-head, .form-footer { border-color: var(--line); }
.check-label input { accent-color: var(--accent); }
.gallery-thumb, .gallery-thumb button, .gallery-controls button { border-color: var(--line); background: var(--white); color: var(--ink); }
.gallery-thumb button:hover, .gallery-controls button:hover { background: rgba(254,178,4,.12); }
.admin-footer { border-top-color: var(--line); }

@media (max-width: 1100px) {
  .brand img { width: 180px; }
  .primary-nav { gap: 17px; }
  .primary-nav > a:not(.button) { font-size: 13px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 30px; }
  .hero-art { min-height: 460px; }
  .dashboard-body { display: grid; grid-template-columns: 70px minmax(0,1fr); min-height: 280px; }
  .service-detail { grid-template-columns: 48px minmax(0,1fr) 150px; gap: 24px; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 1000px) {
  .nav-wrap { min-height: 80px; }
  .brand img { width: 176px; }
  .menu-toggle { display: block; margin-left: auto; }
  .primary-nav { position: fixed; inset: 80px 0 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 24px 28px 40px; background: var(--white); transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; border-top: 1px solid var(--line); }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav > a:not(.button) { padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .primary-nav > a.active::after { display: none; }
  .primary-nav .nav-cta { margin-top: 22px; }
  .hero-grid { grid-template-columns: minmax(0,1fr) minmax(0,.95fr); }
  .hero-art { min-height: 430px; }
  .software-scene { padding-inline: 16px; }
  .dashboard-body { grid-template-columns: 58px minmax(0,1fr); }
  .service-detail { grid-template-columns: 42px minmax(0,1fr); }
  .detail-aside { display: none; }
  .contact-sidebar { position: static; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 36px); }
  .section-pad { padding-block: 68px; }
  .nav-wrap { min-height: 74px; gap: 12px; }
  .brand img { width: 162px; max-height: 52px; }
  .primary-nav { inset: 74px 0 0; padding-inline: 22px; }
  .primary-nav.legal-nav { position: static; inset: auto; display: flex; flex-direction: row; gap: 18px; padding: 0; transform: none; overflow: visible; border: 0; }
  .primary-nav.legal-nav > a:not(.button) { padding: 6px 0; font-size: 12px; }
  .nav-cta { width: 100%; }
  .hero { padding-top: 42px; }
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .hero h1 { font-size: clamp(43px, 12.2vw, 64px); line-height: 1; }
  .hero-copy .eyebrow { font-size: 9px; letter-spacing: .11em; }
  .hero-actions { align-items: stretch; gap: 12px; }
  .hero-actions .button, .hero-actions .text-link { justify-content: center; }
  .hero-art { width: 100%; min-height: 365px; max-width: 520px; margin-inline: auto; border-radius: 12px; }
  .software-scene { padding: 44px 12px 48px; }
  .dashboard-body { grid-template-columns: 45px minmax(0,1fr); min-height: 240px; }
  .dashboard-main { padding: 12px 9px; }
  .dashboard-side { padding: 15px 7px; }
  .dashboard-side span { margin-bottom: 13px; }
  .dash-heading { font-size: 12px; }
  .dash-sub { font-size: 7px; margin-bottom: 11px; }
  .dash-metrics { gap: 4px; }
  .dash-metric { padding: 7px 5px; }
  .dash-metric small, .dash-metric em { font-size: 6px; }
  .dash-metric strong { font-size: 12px; }
  .dash-chart { height: 72px; }
  .dashboard-title { font-size: 6px; }
  .floating-chip { font-size: 8px; padding: 8px 9px; }
  .floating-chip.one { right: 5px; top: 61px; }
  .floating-chip.two { left: 5px; bottom: 62px; }
  .art-label { top: 15px; left: 14px; font-size: 7px; }
  .art-caption { left: 14px; right: 14px; bottom: 12px; font-size: 7px; }
  .hero-bottom { align-items: flex-start; flex-direction: column; gap: 10px; font-size: 11px; }
  .intro-grid, .about-intro-grid, .founder-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .intro-grid .eyebrow { margin: 0; }
  .intro-statement { font-size: clamp(25px, 7vw, 34px); }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 30px; }
  .section-heading h2 { font-size: clamp(31px, 8vw, 43px); }
  .service-grid { grid-template-columns: minmax(0,1fr); }
  .service-card { min-height: 0; padding: 22px; }
  .service-card h3 { margin-top: 25px; }
  .service-card p { max-width: 480px; }
  .work-grid, .portfolio-grid, .home-project-grid { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .work-art, .work-large .work-art { min-height: 300px; }
  .founder-portrait { width: 100%; max-width: 360px; margin-inline: auto; }
  .founder-photo { aspect-ratio: 4/4.5; }
  .founder-copy .lead { font-size: 16px; }
  .about-visual { min-height: 365px; padding: 18px; }
  .about-visual::before { width: 190px; height: 190px; top: 74px; }
  .about-visual-nodes { gap: 7px; }
  .about-visual-nodes > span { padding: 9px 8px; font-size: 10px; }
  .about-visual-top, .about-visual-bottom { font-size: 7px; letter-spacing: .09em; }
  .principle-grid { grid-template-columns: minmax(0,1fr); }
  .principle-grid article { padding: 22px; }
  .principle-grid h3 { margin-top: 17px; }
  .cta-box { align-items: flex-start; flex-direction: column; padding: 30px 23px; }
  .cta-box .button { align-self: flex-start; }
  .cta-box h2 { font-size: clamp(30px, 8vw, 43px); }
  .cta-decoration { right: 2%; bottom: -70px; font-size: 210px; }
  .footer-top { flex-direction: column; gap: 34px; padding-block: 42px 32px; }
  .footer-links { gap: clamp(28px, 8vw, 55px); }
  .footer-bottom { grid-template-columns: 1fr auto; gap: 12px; padding-block: 18px; }
  .footer-copyright { grid-column: 1; justify-self: start; white-space: normal; text-align: left; }
  .footer-legal { grid-column: 2; justify-self: end; gap: 13px; }
  .page-hero { padding-top: 64px; padding-bottom: 42px; }
  .page-hero h1 { font-size: clamp(42px, 11vw, 62px); line-height: 1.02; }
  .page-hero .lead { font-size: 16px; }
  .service-detail { grid-template-columns: 30px minmax(0,1fr); gap: 15px; padding-block: 34px; }
  .service-detail h2 { font-size: clamp(27px, 7.5vw, 36px); }
  .service-detail ul { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .portfolio-toolbar { align-items: flex-start; flex-direction: column; gap: 16px; }
  .filter-list { gap: 7px; }
  .filter-button { min-height: 40px; padding: 9px 12px; font-size: 11px; }
  .portfolio-info { padding: 18px; }
  .portfolio-empty, .home-project-empty { padding: 27px 22px; }
  .empty-state-mark { right: 12px; top: 24px; transform: none; font-size: 100px; }
  .contact-grid { grid-template-columns: minmax(0,1fr); gap: 35px; }
  .contact-sidebar { position: static; }
  .contact-form { padding: 24px 18px; }
  .form-row { grid-template-columns: minmax(0,1fr); gap: 0; }
  .form-heading h2 { font-size: 27px; }
  .project-content { grid-template-columns: minmax(0,1fr); }
  .project-gallery { grid-template-columns: minmax(0,1fr); }
  .project-hero h1 { font-size: clamp(39px, 10vw, 58px); }
  .admin-top { gap: 12px; padding: 12px 16px; }
  .admin-brand { gap: 7px; flex-direction: column; align-items: flex-start; }
  .admin-brand img { width: 145px; }
  .admin-brand span { font-size: 8px; }
  .admin-top-actions { flex-direction: column; align-items: flex-end; gap: 7px; }
  .admin-top-actions .text-link { font-size: 10px; }
  .admin-shell { padding: 18px 14px; }
  .admin-heading { align-items: flex-start; flex-direction: column; }
  .admin-layout { grid-template-columns: minmax(0,1fr); }
  .admin-list-panel { position: static; }
  .admin-project-list, .admin-grid { grid-template-columns: minmax(0,1fr); }
  .full-field { grid-column: auto; }
  .editor-head { flex-direction: column; }
  .form-footer { justify-content: stretch; }
  .form-footer .button { flex: 1; }
  .form-footer .admin-status { flex-basis: 100%; }
  .admin-footer { flex-direction: column; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 28px); }
  .brand img { width: 148px; }
  .hero h1 { font-size: 40px; }
  .hero-art { min-height: 330px; }
  .dashboard-title { font-size: 5px; }
  .dash-heading { font-size: 11px; }
  .dash-sub { font-size: 6px; }
  .floating-chip { font-size: 7px; }
  .about-visual-nodes > span { font-size: 9px; }
  .footer-bottom { grid-template-columns: 1fr; }
  .footer-legal { grid-column: 1; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Editorial hero panels: purposeful visual balance on inner pages */
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); align-items: center; gap: clamp(38px, 6vw, 88px); }
.page-hero-copy { min-width: 0; max-width: 760px; }
.page-hero-copy h1 { max-width: 760px; }
.page-hero-visual { position: relative; min-width: 0; overflow: hidden; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 22px 55px rgba(0,0,0,.06); }
.page-hero-visual::before { content: ""; position: absolute; width: 230px; height: 230px; right: -95px; top: -105px; border: 1px solid rgba(254,178,4,.5); border-radius: 50%; box-shadow: 0 0 0 26px rgba(254,178,4,.07), 0 0 0 54px rgba(0,0,0,.025); pointer-events: none; }
.visual-kicker { position: relative; z-index: 1; margin: 0 0 22px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.visual-footer { position: relative; z-index: 1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 15px; padding-top: 15px; margin-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.service-hero-flow { position: relative; z-index: 1; display: grid; gap: 8px; }
.service-hero-flow > div { display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: center; column-gap: 12px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.service-hero-flow > div > span { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 7px; background: var(--accent); color: var(--ink); font-size: 10px; font-weight: 800; }
.service-hero-flow strong { font: 750 16px/1.2 var(--font-display); letter-spacing: -.03em; }
.service-hero-flow small { color: var(--muted); font-size: 11px; }
.service-hero-flow > b { display: block; margin: -5px 0 -5px 26px; color: var(--accent); font-size: 17px; line-height: 1; }
.portfolio-visual-head { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.visual-mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 8px; background: var(--accent); color: var(--ink); font: 800 20px/1 var(--font-display); letter-spacing: -.06em; }
.portfolio-hero-visual h2, .contact-hero-visual h2 { position: relative; z-index: 1; max-width: 430px; margin: 24px 0 22px; font-size: clamp(23px, 2.5vw, 32px); line-height: 1.13; }
.portfolio-visual-steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.portfolio-visual-steps > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; padding: 13px 11px; border: 1px solid var(--line); border-radius: 8px; }
.portfolio-visual-steps > div > span { display: grid; place-items: center; width: 28px; height: 25px; border-radius: 6px; background: var(--accent); color: var(--ink); font-size: 9px; font-weight: 800; }
.portfolio-visual-steps strong { font: 750 13px/1.2 var(--font-display); }
.portfolio-visual-steps small { color: var(--muted); font-size: 10px; line-height: 1.5; }
.about-hero-core { position: relative; z-index: 1; display: flex; align-items: center; gap: 17px; padding: 26px 0; }
.about-hero-core img { width: 58px; height: 58px; object-fit: contain; }
.about-hero-core strong { font: 750 clamp(25px, 2.8vw, 35px)/1.08 var(--font-display); letter-spacing: -.05em; }
.about-hero-pillars { position: relative; z-index: 1; display: grid; gap: 8px; }
.about-hero-pillars span { padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.about-hero-pillars span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 2px; background: var(--accent); }
.contact-hero-visual h2 { margin-top: 10px; }
.contact-hero-list { position: relative; z-index: 1; display: grid; gap: 0; }
.contact-hero-list p { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 13px 0; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.contact-hero-list span { flex: 0 0 28px; display: grid; place-items: center; width: 28px; height: 25px; border-radius: 6px; background: var(--accent); color: var(--ink); font-size: 9px; font-weight: 800; }
@media (max-width: 1000px) {
  .page-hero-grid { grid-template-columns: minmax(0,1fr) minmax(280px,.9fr); gap: 28px; }
  .page-hero h1 { font-size: clamp(42px, 5.4vw, 62px); }
  .portfolio-visual-steps { grid-template-columns: minmax(0,1fr); }
  .portfolio-visual-steps > div { display: grid; grid-template-columns: 28px minmax(0,1fr); column-gap: 10px; align-items: center; }
  .portfolio-visual-steps small { grid-column: 2; }
}
@media (max-width: 700px) {
  .page-hero-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .page-hero-copy { max-width: none; }
  .page-hero h1 { font-size: clamp(42px, 10.8vw, 60px); }
  .page-hero-visual { padding: 22px; }
  .portfolio-visual-steps { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .portfolio-visual-steps > div { display: flex; align-items: flex-start; padding: 10px 8px; }
  .portfolio-visual-steps small { font-size: 9px; }
  .portfolio-hero-visual h2, .contact-hero-visual h2 { font-size: 25px; }
}
@media (max-width: 380px) {
  .portfolio-visual-steps { grid-template-columns: minmax(0,1fr); }
  .portfolio-visual-steps > div { display: grid; grid-template-columns: 28px minmax(0,1fr); align-items: center; }
  .portfolio-visual-steps small { grid-column: 2; }
}

/* Accent typography stays readable on light backgrounds: black type with a yellow underline. */
h1 em, h2 em, .section-heading h2 em, .page-hero h1 em, .founder-copy h2 em,
.contact-sidebar h2 em, .legal-content h1 em, .project-hero h1 em,
.admin-login h1 em, .admin-heading h1 em, .window-hero em {
  color: var(--ink) !important;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: .065em;
  text-underline-offset: .12em;
  text-decoration-skip-ink: auto;
}
.cta-box h2 em, .brand-tile em, .creative-tile em {
  color: var(--accent) !important;
  text-decoration: none;
}
/* Visionaters portfolio process interaction */

.portfolio-hero-visual .visual-mark-image {
  position: relative;
  z-index: 1;
  display: block;
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  padding: 4px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

.portfolio-hero-visual .portfolio-visual-head {
  gap: 12px;
}

.portfolio-hero-visual .portfolio-visual-steps {
  align-items: stretch;
}

.portfolio-hero-visual .portfolio-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  padding: 15px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease,
              background .2s ease,
              transform .2s ease,
              box-shadow .2s ease;
}

.portfolio-hero-visual .portfolio-step:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.portfolio-hero-visual .portfolio-step.is-active {
  border-color: var(--accent);
  background: rgba(254, 178, 4, .10);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.portfolio-hero-visual .portfolio-step:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.portfolio-hero-visual .portfolio-step .step-number {
  display: grid;
  place-items: center;
  width: 29px;
  height: 27px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
}

.portfolio-hero-visual .portfolio-step strong {
  font: 750 14px/1.3 var(--font-display);
  letter-spacing: -.025em;
}

.portfolio-hero-visual .portfolio-step small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.portfolio-hero-visual .portfolio-step-detail {
  margin-top: 17px;
  padding: 18px 19px;
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: rgba(0, 0, 0, .035);
}

.portfolio-hero-visual .step-detail-label {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
}

.portfolio-hero-visual .portfolio-step-detail h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -.035em;
}

.portfolio-hero-visual .portfolio-step-detail > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

@media (max-width: 700px) {
  .portfolio-hero-visual .portfolio-visual-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .portfolio-hero-visual .portfolio-step {
    padding: 12px 9px;
    gap: 8px;
  }

  .portfolio-hero-visual .portfolio-step strong {
    font-size: 12px;
  }

  .portfolio-hero-visual .portfolio-step small {
    font-size: 10px;
  }

  .portfolio-hero-visual .portfolio-step-detail {
    padding: 15px;
  }
}

@media (max-width: 380px) {
  .portfolio-hero-visual .portfolio-visual-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .portfolio-hero-visual .portfolio-step {
    display: grid;
    grid-template-columns: 29px minmax(0, 1fr);
    column-gap: 10px;
    align-items: center;
  }

  .portfolio-hero-visual .portfolio-step .step-number {
    grid-row: span 2;
  }

  .portfolio-hero-visual .portfolio-step small {
    grid-column: 2;
  }
}

/* Visionaters logo in portfolio method card */
.portfolio-hero-visual .visual-mark-image {
  display: block;
  width: 115px;
  height: 42px;
  flex: 0 0 115px;
  object-fit: contain;
  object-position: left center;
  padding: 0;
  background: transparent;
}

/* Fix Visionaters mark visibility */
.portfolio-hero-visual .visual-mark-image {
  background: transparent !important;
  filter: contrast(1.2);
  width: 48px;
  height: 48px;
  object-fit: contain;
  padding: 0;
}
/* Portfolio method card — final alignment fix */

.portfolio-hero-visual .portfolio-visual-head {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  margin-bottom: 24px;
}

.portfolio-hero-visual .visual-mark-image {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
  object-position: center;
  padding: 0;
  margin: 0;
  background: transparent;
}

.portfolio-hero-visual .portfolio-visual-head > span {
  min-width: 0;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.12em;
  overflow-wrap: anywhere;
}

.portfolio-hero-visual > h2 {
  max-width: 540px;
  margin: 0 0 24px;
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1.24;
  letter-spacing: -0.045em;
  overflow-wrap: normal;
  word-break: normal;
}

.portfolio-hero-visual {
  box-sizing: border-box;
  min-width: 0;
  padding: clamp(24px, 3vw, 38px);
}

.portfolio-hero-visual * {
  box-sizing: border-box;
}

@media (max-width: 700px) {
  .portfolio-hero-visual {
    padding: 22px 18px;
  }

  .portfolio-hero-visual .portfolio-visual-head {
    gap: 11px;
    margin-bottom: 22px;
  }

  .portfolio-hero-visual .visual-mark-image {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .portfolio-hero-visual .portfolio-visual-head > span {
    font-size: 9px;
  }

  .portfolio-hero-visual > h2 {
    font-size: clamp(24px, 6vw, 30px);
    line-height: 1.3;
  }
}

/* Final logo size adjustment */
.portfolio-hero-visual .visual-mark-image {
  width: 64px !important;
  height: 64px !important;
  flex: 0 0 64px !important;
  object-fit: contain;
  object-position: center;
  padding: 0;
}

.portfolio-hero-visual .portfolio-visual-head {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
}

@media (max-width: 700px) {
  .portfolio-hero-visual .visual-mark-image {
    width: 54px !important;
    height: 54px !important;
    flex-basis: 54px !important;
  }

  .portfolio-hero-visual .portfolio-visual-head {
    gap: 13px;
  }
}

/* Homepage hero logo alignment fix */
.page-hero-visual:not(.portfolio-hero-visual) .visual-mark {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  margin: 0;
  padding: 0;
  border-radius: 12px;
  background: #fff8e8;
  color: #000;
  font-size: 0;
}

.page-hero-visual:not(.portfolio-hero-visual) .visual-mark img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}
.about-hero-core .about-mark-image {
    width: 110px !important;
    height: 110px !important;
    min-width: 110px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

/* FINAL FIX — Mobile Navigation */
@media (max-width: 1000px) {
  nav#primary-nav.primary-nav {
    position: fixed !important;
    top: 76px !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 20px 26px 40px !important;
    background: #F7F7F5 !important;
    overflow-y: auto !important;
    transform: translateX(100%) !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  nav#primary-nav.primary-nav.is-open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  nav#primary-nav.primary-nav > a {
    display: flex !important;
    flex-shrink: 0 !important;
    visibility: visible !important;
    color: #090909 !important;
    padding: 17px 0 !important;
  }

  nav#primary-nav.primary-nav > a.nav-cta {
    justify-content: center !important;
    margin-top: 20px !important;
  }

  button.menu-toggle {
    position: relative !important;
    z-index: 10000 !important;
  }
}

/* Fix mobile menu overlay */
@media (max-width: 1000px) {
  .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

@media (max-width: 1000px) {
  .primary-nav .nav-cta {
    color: #FFFFFF !important;
  }

  .primary-nav .nav-cta span {
    color: #FEB204 !important;
  }
}

/* Visionaters — Premium Floating Mobile Menu */
@media (max-width: 1000px) {
  nav#primary-nav.primary-nav {
    position: fixed !important;
    top: 88px !important;
    right: 12px !important;
    bottom: auto !important;
    left: auto !important;

    width: min(350px, calc(100vw - 24px)) !important;
    max-height: calc(100dvh - 108px) !important;
    overflow-y: auto !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 14px 20px 20px !important;

    background: #FFFFFF !important;
    border: 1px solid #EAE7DF !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 55px rgba(9, 9, 9, 0.16) !important;

    transform: translateY(-8px) scale(0.98) !important;
    transform-origin: top right !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;

    transition: transform .22s ease, opacity .22s ease,
                visibility .22s ease !important;
  }

  nav#primary-nav.primary-nav.is-open {
    transform: translateY(0) scale(1) !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  nav#primary-nav.primary-nav > a:not(.button) {
    display: flex !important;
    align-items: center !important;
    padding: 13px 4px !important;
    color: #202020 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-bottom: 1px solid #EEECE6 !important;
  }

  nav#primary-nav.primary-nav > a.active {
    color: #9A6A00 !important;
  }

  nav#primary-nav.primary-nav > a.active::after {
    display: none !important;
  }

  nav#primary-nav.primary-nav > a.nav-cta {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 46px !important;
    margin-top: 16px !important;
    padding: 12px 16px !important;

    background: #090909 !important;
    color: #FFFFFF !important;
    border: 1px solid #090909 !important;
    border-radius: 9px !important;
    font-size: 13px !important;
  }

  nav#primary-nav.primary-nav > a.nav-cta span {
    color: #FEB204 !important;
  }

  button.menu-toggle {
    position: relative !important;
    z-index: 10000 !important;
  }
}

/* Visionaters — Compact Premium Mobile Menu */
@media (max-width: 1000px) {
  nav#primary-nav.primary-nav {
    top: 84px !important;
    right: 12px !important;
    width: min(290px, calc(100vw - 24px)) !important;
    max-height: calc(100dvh - 100px) !important;
    padding: 10px 16px 16px !important;
    border: 1px solid #F0E4C6 !important;
    border-radius: 16px !important;
    background: linear-gradient(145deg, #FFFFFF 72%, #FFFAEC 100%) !important;
    box-shadow: 0 12px 38px rgba(9, 9, 9, 0.13),
                0 0 22px rgba(254, 178, 4, 0.09) !important;
  }

  nav#primary-nav.primary-nav > a:not(.button) {
    padding: 11px 5px !important;
    margin: 0 2px !important;
    border-bottom: 1px solid #F0EDE5 !important;
    border-radius: 5px !important;
    font-size: 14px !important;
    transition: background .2s ease, color .2s ease !important;
  }

  nav#primary-nav.primary-nav > a:not(.button):hover,
  nav#primary-nav.primary-nav > a.active {
    color: #986900 !important;
    background: #FFF8E5 !important;
  }

  nav#primary-nav.primary-nav > a.nav-cta {
    min-height: 42px !important;
    margin-top: 12px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(254, 178, 4, 0.12) !important;
  }
}

/* =========================================
   VISIONATERS — PREMIUM ABOUT PAGE REFINEMENT
   ========================================= */

.about-intro-grid,
.page-hero-grid,
.founder-grid {
  min-width: 0;
}

.about-hero-visual,
.about-visual {
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 20px;
  background:
    radial-gradient(
      circle at 50% 38%,
      rgba(254, 178, 4, 0.13),
      transparent 48%
    ),
    linear-gradient(145deg, #ffffff 0%, #f8f7f2 100%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.065),
    0 3px 10px rgba(0, 0, 0, 0.025);
  transition: border-color .25s ease, box-shadow .25s ease;
}

.about-hero-visual:hover,
.about-visual:hover {
  border-color: rgba(254, 178, 4, 0.55);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.085),
    0 0 0 1px rgba(254, 178, 4, 0.08);
}

.about-hero-visual::before {
  width: 260px;
  height: 260px;
  border-color: rgba(254, 178, 4, 0.35);
  box-shadow:
    0 0 0 22px rgba(254, 178, 4, 0.045),
    0 0 0 48px rgba(0, 0, 0, 0.018);
}

.about-hero-core {
  gap: 20px;
  padding-block: 30px;
}

.about-hero-core .about-mark-image {
  width: 86px !important;
  height: 86px !important;
  min-width: 86px !important;
  object-fit: contain !important;
  filter: none;
}

.about-hero-core strong {
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.15;
  letter-spacing: -.045em;
}

.about-hero-pillars {
  gap: 10px;
}

.about-hero-pillars span {
  padding: 13px 15px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .78);
  transition: transform .2s ease, border-color .2s ease;
}

.about-hero-pillars span:hover {
  transform: translateX(3px);
  border-color: var(--accent);
}

.about-visual {
  min-height: 410px;
  padding: 26px;
}

.about-visual::before {
  width: 235px;
  height: 235px;
  top: 76px;
  border-color: rgba(254, 178, 4, .42);
  box-shadow:
    0 0 0 25px rgba(254, 178, 4, .055),
    0 0 0 52px rgba(0, 0, 0, .018);
}

.about-visual-core img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.about-visual-nodes {
  gap: 10px;
}

.about-visual-nodes > span {
  min-height: 48px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .9);
  transition: transform .2s ease, border-color .2s ease,
    box-shadow .2s ease;
}

.about-visual-nodes > span:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .045);
}

.about-intro-grid h2 {
  max-width: 620px;
  letter-spacing: -.055em;
}

.about-intro-grid p:not(.eyebrow) {
  max-width: 650px;
  font-size: 15px;
  line-height: 1.9;
}

/* Principles: consistent premium cards */
.principle-grid {
  gap: 14px;
  border: 0;
}

.principle-grid article {
  min-width: 0;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .09);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .035);
  transition: transform .25s ease, border-color .25s ease,
    box-shadow .25s ease;
}

.principle-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(254, 178, 4, .65);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .065);
}

.principle-grid article > span {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  min-height: 34px;
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(254, 178, 4, .16);
  color: #000;
  font-weight: 800;
}

.principle-grid h3 {
  margin-top: 22px;
  line-height: 1.3;
}

.principle-grid p {
  font-size: 13px;
  line-height: 1.85;
}

/* Expand/collapse button added by main.js */
.about-card-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.about-card-toggle span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 50%;
  color: #000;
  transition: background .2s ease, transform .2s ease;
}

.about-card-toggle:hover span {
  background: var(--accent);
  border-color: var(--accent);
}

.principle-grid article > p.about-card-collapsed {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.principle-grid article.is-expanded > p.about-card-collapsed {
  display: block;
  overflow: visible;
}

.principle-grid article.is-expanded .about-card-toggle span {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
}

/* Responsive refinements */
@media (max-width: 700px) {
  .about-hero-visual,
  .about-visual {
    border-radius: 16px;
  }

  .about-hero-core {
    gap: 13px;
    padding-block: 22px;
  }

  .about-hero-core .about-mark-image {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
  }

  .about-hero-core strong {
    font-size: clamp(21px, 5.8vw, 29px);
  }

  .about-visual {
    min-height: 365px;
    padding: 18px;
  }

  .about-visual-core img {
    width: 54px;
    height: 54px;
  }

  .about-visual-nodes > span {
    overflow-wrap: anywhere;
  }

  .principle-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .principle-grid article {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero-visual,
  .about-visual,
  .about-hero-pillars span,
  .about-visual-nodes > span,
  .principle-grid article,
  .about-card-toggle span {
    transition: none !important;
  }
}

/* Replace yellow V badge with the fixed Visionaters logo */
.about-visual-mark-image {
  display: block;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 0;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* About visual — larger Visionaters logo */
.about-visual-mark-image {
  display: block;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  padding: 0;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 700px) {
  .about-visual-mark-image {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
  }
}

/* ABOUT — premium connected digital visual */
.about-visual-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.about-visual-top > span:not(.about-visual-mark) {
  margin-left: auto;
  max-width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(254, 178, 4, .48);
  border-radius: 999px;
  background: linear-gradient(135deg, #fff, #fff8e7);
  color: #29251b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.6;
  text-align: center;
  box-shadow: 0 5px 16px rgba(0, 0, 0, .035);
}

/* Four interactive points */
.about-visual-nodes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.about-visual-nodes > button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 58px;
  padding: 13px 14px;
  border: 1px solid #deded8;
  border-radius: 12px;
  background: rgba(255, 255, 255, .94);
  color: #111;
  font: 700 12px/1.5 var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease,
    background .2s ease, box-shadow .2s ease;
}

.about-visual-nodes > button b {
  flex: 0 0 auto;
  color: #c88900;
  font-size: 11px;
}

.about-visual-nodes > button::after {
  content: "+";
  margin-left: auto;
  color: #a87300;
  font-size: 19px;
  font-weight: 500;
}

.about-visual-nodes > button:hover,
.about-visual-nodes > button.is-active {
  transform: translateY(-2px);
  border-color: #e5ad21;
  background: #fff9e9;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .055);
}

.about-visual-nodes > button.is-active::after {
  content: "−";
}

.about-point-detail {
  margin-top: 12px;
  padding: 18px 19px;
  border: 1px solid rgba(254, 178, 4, .42);
  border-left: 3px solid #e6a600;
  border-radius: 12px;
  background: linear-gradient(135deg, #fffdf7, #fff8e8);
  animation: aboutDetailIn .22s ease both;
}

.about-point-detail[hidden] {
  display: none !important;
}

.about-point-detail .about-point-label {
  margin: 0 0 6px;
  color: #997000;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
}

.about-point-detail h3 {
  margin: 0 0 7px;
  font-size: 17px;
  letter-spacing: -.03em;
}

.about-point-detail p:last-child {
  margin: 0;
  color: #55534c;
  font-size: 12px;
  line-height: 1.8;
}

@keyframes aboutDetailIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Right-side heading and description */
.about-intro-grid > div:last-child > .eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  margin-bottom: 23px;
  padding: 9px 13px;
  border: 1px solid rgba(254, 178, 4, .45);
  border-radius: 999px;
  background: linear-gradient(135deg, #fff, #fff8e8);
  color: #66501a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
}

.about-intro-grid > div:last-child > .eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #e4a500;
  box-shadow: 0 0 0 4px rgba(254, 178, 4, .15);
}

.about-intro-grid h2 {
  max-width: 680px;
  margin-bottom: 25px;
  font-size: clamp(32px, 3.6vw, 49px);
  line-height: 1.12;
  letter-spacing: -.055em;
}

.about-intro-grid > div:last-child > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 0 12px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 0, 0, .075);
  border-radius: 11px;
  background: linear-gradient(135deg, #fff, #faf9f5);
  color: #4c4b46;
  font-size: 14px;
  line-height: 1.85;
}

@media (max-width: 700px) {
  .about-visual-top > span:not(.about-visual-mark) {
    margin-left: 0;
    font-size: 8px;
    letter-spacing: .08em;
  }

  .about-visual-nodes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .about-visual-nodes > button {
    gap: 7px;
    min-height: 56px;
    padding: 10px 9px;
    font-size: 11px;
  }

  .about-point-detail {
    padding: 15px;
  }

  .about-intro-grid h2 {
    font-size: clamp(30px, 8vw, 40px);
  }

  .about-intro-grid > div:last-child > p:not(.eyebrow) {
    padding: 14px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-point-detail {
    animation: none;
  }
}

/* ABOUT HERO — Interactive capability cards */
.about-hero-visual .about-hero-pillars {
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.about-hero-visual .about-hero-pillar {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 58px;
  padding: 13px 16px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 12px;
  background: rgba(255, 255, 255, .88);
  color: #000;
  text-align: left;
  font: 700 13px/1.5 var(--font-body);
  cursor: pointer;
  transition: border-color .22s ease, background .22s ease,
    transform .22s ease, box-shadow .22s ease;
}

.about-hero-visual .about-hero-pillar > span {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.about-hero-visual .about-hero-pillar .pillar-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--accent);
}

.about-hero-visual .about-hero-pillar .pillar-title {
  flex: 1;
  min-width: 0;
}

.about-hero-visual .about-hero-pillar .pillar-icon {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 50%;
  font-size: 17px;
  font-weight: 500;
  transition: background .2s ease, border-color .2s ease;
}

.about-hero-visual .about-hero-pillar:hover,
.about-hero-visual .about-hero-pillar.is-active {
  border-color: rgba(254, 178, 4, .8);
  background: #fffaf0;
  box-shadow: 0 7px 18px rgba(0, 0, 0, .045);
}

.about-hero-visual .about-hero-pillar:hover {
  transform: translateY(-1px);
}

.about-hero-visual .about-hero-pillar.is-active .pillar-icon {
  background: var(--accent);
  border-color: var(--accent);
}

.about-hero-visual .about-hero-pillar:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Expandable description panel */
.about-hero-detail {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding: 20px;
  border: 1px solid rgba(254, 178, 4, .38);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  background: linear-gradient(140deg, #fffefa, #fff7e5);
  animation: aboutHeroDetailIn .24s ease both;
}

.about-hero-detail .about-hero-detail-label {
  margin: 0 0 9px;
  color: #8a650b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
}

.about-hero-detail h3 {
  margin: 0 0 9px;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.3;
  letter-spacing: -.035em;
}

.about-hero-detail > p:not(.about-hero-detail-label) {
  margin: 0;
  color: rgba(0, 0, 0, .72);
  font-size: 12px;
  line-height: 1.85;
}

.about-hero-detail .about-hero-detail-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid rgba(0, 0, 0, .09);
}

.about-hero-detail-footer > span {
  padding: 6px 9px;
  border: 1px solid rgba(0, 0, 0, .10);
  border-radius: 6px;
  background: #fff;
  color: #333;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
}

@keyframes aboutHeroDetailIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .about-hero-visual .about-hero-pillar {
    min-height: 54px;
    padding: 11px 12px;
    font-size: 12px;
  }

  .about-hero-detail {
    padding: 16px;
  }

  .about-hero-detail > p:not(.about-hero-detail-label) {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero-detail {
    animation: none;
  }

  .about-hero-visual .about-hero-pillar {
    transition: none;
  }
}

/* Visionaters About Hero — fix duplicate capability dots */
.about-hero-visual .about-hero-pillar::before,
.about-hero-visual .about-hero-pillar::after {
  display: none !important;
  content: none !important;
}

.about-hero-visual .about-hero-pillar .pillar-dot {
  display: none !important;
}

.about-hero-visual .about-hero-pillar {
  position: relative;
}

.about-hero-visual .about-hero-pillar > .pillar-title {
  margin-left: 0 !important;
}

/* Visionaters — Home featured portfolio image sizing */
#home-featured-projects .home-project-card {
  display: block;
  min-width: 0;
  overflow: hidden;
}

#home-featured-projects .home-project-image {
  width: 100%;
  height: clamp(280px, 32vw, 430px);
  overflow: hidden;
  background: #f5f4f1;
  border-radius: 12px 12px 0 0;
}

#home-featured-projects .home-project-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Tablet */
@media (max-width: 768px) {
  #home-featured-projects .home-project-image {
    height: clamp(240px, 55vw, 340px);
  }
}

/* Mobile */
@media (max-width: 480px) {
  #home-featured-projects .home-project-image {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

/* Home featured projects — premium side-by-side layout */
#home-featured-projects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

#home-featured-projects .home-project-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #E5E2DC;
  border-radius: 14px;
  background: #FFFFFF;
}

#home-featured-projects .home-project-image {
  height: 100%;
  min-height: 300px;
  max-height: 400px;
  overflow: hidden;
  background: #F5F4F1;
  border-radius: 0;
}

#home-featured-projects .home-project-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

#home-featured-projects .home-project-card .work-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  padding: 28px;
  min-width: 0;
}

#home-featured-projects .work-meta h3 {
  margin-bottom: 10px;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.25;
}

#home-featured-projects .work-meta p {
  line-height: 1.8;
  overflow-wrap: anywhere;
}

#home-featured-projects .round-arrow {
  margin-top: 8px;
}

/* Tablet and mobile */
@media (max-width: 760px) {
  #home-featured-projects .home-project-card {
    grid-template-columns: 1fr;
  }

  #home-featured-projects .home-project-image {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 3;
  }

  #home-featured-projects .home-project-card .work-meta {
    padding: 20px;
  }
}

/* Visionaters — balanced featured project card */
#home-featured-projects .home-project-card {
  display: grid;
  grid-template-columns: 56% 44%;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  min-height: 360px;
  max-height: 420px;
  overflow: hidden;
  border: 1px solid #E5E2DC;
  border-radius: 14px;
  background: #FFFFFF;
}

/* Image area: fixed, consistent frame */
#home-featured-projects .home-project-image {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 360px;
  max-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F4F3F0;
  border-radius: 0;
}

/* Fill the image area without leaving blank strips */
#home-featured-projects .home-project-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
  object-position: center;
}

/* Details area */
#home-featured-projects .home-project-card .work-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
  min-height: 360px;
  padding: clamp(20px, 3vw, 42px);
  box-sizing: border-box;
  background: #FFFFFF;
}

#home-featured-projects .work-meta h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

#home-featured-projects .work-meta p {
  margin: 0;
  max-width: 38ch;
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

#home-featured-projects .round-arrow {
  margin-top: 8px;
  flex-shrink: 0;
}

/* Tablet */
@media (max-width: 900px) {
  #home-featured-projects .home-project-card {
    grid-template-columns: 52% 48%;
    min-height: 320px;
    max-height: 380px;
  }

  #home-featured-projects .home-project-image,
  #home-featured-projects .home-project-card .work-meta {
    min-height: 320px;
    max-height: 380px;
  }

  #home-featured-projects .home-project-card .work-meta {
    padding: 22px;
  }
}

/* Mobile: image first, details below */
@media (max-width: 640px) {
  #home-featured-projects .home-project-card {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    max-height: none;
  }

  #home-featured-projects .home-project-image {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 3;
  }

  #home-featured-projects .home-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #home-featured-projects .home-project-card .work-meta {
    min-height: 0;
    max-height: none;
    padding: 22px;
  }
}

/* Footer copyright — clickable Visionaters brand link */
.site-footer .footer-copyright a {
  color: #FEB204;
  text-decoration: none;
  font-weight: 600;
  transition: color 180ms ease;
}

.site-footer .footer-copyright a:hover {
  color: #D99500;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer .footer-copyright a:focus-visible {
  outline: 2px solid #FEB204;
  outline-offset: 3px;
  border-radius: 2px;
}

/* ABOUT PAGE — FIX ACCORDION ICON ALIGNMENT */
.about-hero-pillar {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  position: relative !important;
  min-height: 66px;
  padding: 14px 58px 14px 38px !important;
  box-sizing: border-box;
}

.about-hero-pillar::before {
  content: none !important;
  display: none !important;
}

.about-hero-pillar .pillar-dot {
  position: absolute !important;
  left: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 7px !important;
  height: 7px !important;
  margin: 0 !important;
  flex: 0 0 7px !important;
}

.about-hero-pillar .pillar-icon {
  position: absolute !important;
  right: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: grid !important;
  place-items: center !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid #deded8 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #222 !important;
  font-size: 21px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}

.about-hero-pillar .pillar-icon::before,
.about-hero-pillar .pillar-icon::after {
  content: none !important;
  display: none !important;
}

.about-hero-pillar.is-active .pillar-icon {
  border-color: #FEB204 !important;
  background: #fff9e9 !important;
}

@media (max-width: 600px) {
  .about-hero-pillar {
    min-height: 62px;
    padding-right: 54px !important;
    padding-left: 34px !important;
  }

  .about-hero-pillar .pillar-dot {
    left: 14px !important;
  }

  .about-hero-pillar .pillar-icon {
    right: 12px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }
}

/* Make HOW WE WORK label smaller */
.about-point-detail .about-point-label {
  font-size: 7px !important;
  letter-spacing: 0.12em !important;
  line-height: 1.4 !important;
  margin-bottom: 5px !important;
}
