/* MikeTechWeb design system. Black + white + red.
   Update --mtw-red to match the real logo (sample it with a colour picker). */
:root {
  --mtw-bg: #0b0b0c;
  --mtw-surface: #141416;
  --mtw-surface-2: #1b1b1e;
  --mtw-border: #2a2a2e;
  --mtw-text: #ffffff;
  --mtw-muted: #a3a3aa;
  --mtw-red: #e11d2a;
  --mtw-red-hover: #f23a46;
  --mtw-font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --nav-h: 76px;
  --mtw-line-strong: #3a3a40;
  --mtw-prose: #d4d4d8;
  --mtw-nav-bg: rgba(11,11,12,.92);
  --mtw-footer-bg: #070708;
  --mtw-outline: rgba(255,255,255,.55);
  --mtw-shadow: rgba(0,0,0,.45);
  --mtw-invert: invert(1);
}
/* Light theme: same brand, inverted surfaces. Toggled with data-bs-theme on <html>. */
[data-bs-theme="light"] {
  --mtw-bg: #ffffff;
  --mtw-surface: #f6f6f7;
  --mtw-surface-2: #ececee;
  --mtw-border: #dcdce0;
  --mtw-text: #0b0b0c;
  --mtw-muted: #5c5c66;
  --mtw-red: #d11a27;
  --mtw-red-hover: #b8141f;                                                                  
  --mtw-line-strong: #c9c9d0;
  --mtw-prose: #2c2c32;
  --mtw-nav-bg: rgba(255,255,255,.92);
  --mtw-footer-bg: #f0f0f2;
  --mtw-outline: rgba(11,11,12,.45);
  --mtw-shadow: rgba(0,0,0,.12);
  --mtw-invert: none;
}
[data-bs-theme="light"] .carousel-control-prev-icon,
[data-bs-theme="light"] .carousel-control-next-icon { filter: invert(1); }
[data-bs-theme="light"] .hero::before { background: radial-gradient(60% 50% at 80% 20%, rgba(209,26,39,.08), transparent 70%); }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  background: var(--mtw-bg); color: var(--mtw-text); font-family: var(--mtw-font);
  line-height: 1.65; padding-top: var(--nav-h); overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--mtw-red); outline-offset: 3px; }
.skip-link { position: absolute; z-index: 2000; left: 1rem; top: .5rem; background: var(--mtw-red); color: #fff; padding: .5rem 1rem; border-radius: 6px; }

.lead-muted { color: var(--mtw-muted); font-size: 1.1rem; max-width: 62ch; }
.text-muted-mtw { color: var(--mtw-muted); }
.placeholder-text { color: var(--mtw-muted); font-style: italic; }
.placeholder-card { border: 1px dashed var(--mtw-border); border-radius: 12px; padding: 1.25rem 1.5rem; color: var(--mtw-muted); background: var(--mtw-surface); }
.narrow { max-width: 780px; }
.narrow-lg { max-width: 920px; }

/* Buttons */
.btn { font-weight: 600; border-radius: 10px; padding: .65rem 1.4rem; transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
.btn-lg { padding: .85rem 1.8rem; }
.btn-mtw { background: var(--mtw-red); border: 1px solid var(--mtw-red); color: #fff; }
.btn-mtw:hover, .btn-mtw:focus { background: var(--mtw-red-hover); border-color: var(--mtw-red-hover); color: #fff; transform: translateY(-2px); }
.btn-outline-mtw { background: transparent; border: 1px solid var(--mtw-outline); color: var(--mtw-text); }
.btn-outline-mtw:hover, .btn-outline-mtw:focus { border-color: var(--mtw-red); color: var(--mtw-text); background: rgba(225,29,42,.08); transform: translateY(-2px); }
.link-mtw { color: var(--mtw-text); font-weight: 600; border-bottom: 1px solid var(--mtw-red); padding-bottom: 2px; transition: color .2s; }
.link-mtw:hover { color: var(--mtw-red-hover); }
.link-mtw .bi { transition: transform .2s; display: inline-block; }
.link-mtw:hover .bi { transform: translateX(3px); }

/* Navbar */
.mtw-nav { background: transparent; border-bottom: 1px solid transparent; padding: .6rem 0; transition: background-color .3s, border-color .3s, padding .3s, backdrop-filter .3s; }
.mtw-nav.scrolled { background: var(--mtw-nav-bg); backdrop-filter: blur(10px); border-bottom-color: var(--mtw-border); padding: .3rem 0; }
.brand-logo { height: 44px; width: auto; border-radius: 6px; }
.mtw-nav .nav-link { color: var(--mtw-muted); font-weight: 600; padding: .5rem .8rem; position: relative; }
.mtw-nav .nav-link:hover, .mtw-nav .nav-link.active { color: var(--mtw-text); }
.mtw-nav .nav-link.active::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .15rem; height: 2px; background: var(--mtw-red); }
.navbar-toggler { border: 1px solid var(--mtw-border); border-radius: 10px; color: var(--mtw-text); box-shadow: none;}
/* [data-bs-theme="dark"] .navbar-toggler-icon { filter: invert(1); } */
[data-bs-theme="dark"] .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important; filter: none !important;}
[data-bs-theme="light"] .navbar-toggler-icon { filter: none;}
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 1199.98px) {
  .mtw-nav .navbar-collapse { background: var(--mtw-surface); border: 1px solid var(--mtw-border); border-radius: 12px; padding: 1rem; margin-top: .75rem; }
}

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--mtw-surface); border-top: 1px solid var(--mtw-border); border-bottom: 1px solid var(--mtw-border); }
.section-head { margin-bottom: 2.5rem; }
.section-head .lead-muted { margin-top: .75rem; }
.page-hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero .lead-muted { margin-bottom: 1.5rem; }
.hero-icon { font-size: 2.25rem; color: var(--mtw-red); display: block; margin-bottom: 1rem; }


/* HERO */
.hero { position: relative; overflow: hidden; padding: clamp(4rem, 7vw, 6.5rem) 0 clamp(4rem, 7vw, 5.5rem); background: var(--mtw-bg); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 60% at 78% 42%,rgba(225, 29, 42, .08), transparent 70%); }
[data-bs-theme="dark"] .hero::before { background: radial-gradient(55% 60% at 78% 42%,rgba(225, 29, 42, .12),transparent 70%); }
.hero > .container { position: relative; z-index: 1; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { max-width: 700px; margin: 0 0 1.4rem; color: var(--mtw-text); font-size: clamp(3rem, 5.2vw, 5rem); font-weight: 800; line-height: .98; letter-spacing: -.055em; }
.hero-copy h1 span { color: var(--mtw-red); }
.hero-copy .lead-muted { max-width: 620px; margin-bottom: 2rem; color: var(--mtw-muted); font-size: 1.08rem; line-height: 1.75; }
.hero-actions .btn { min-height: 58px; padding: .85rem 1.45rem; border-radius: 11px; font-weight: 600; }
.hero-actions .btn-mtw { background: var(--mtw-red); border-color: var(--mtw-red); color: #fff; }
.hero-actions .btn-mtw:hover,
.hero-actions .btn-mtw:focus { background: var(--mtw-red-hover); border-color: var(--mtw-red-hover); color: #fff; transform: translateY(-2px); }
.hero-actions .btn-outline-mtw { background: transparent; border-color: var(--mtw-outline); color: var(--mtw-text); }
.hero-actions .btn-outline-mtw:hover,
.hero-actions .btn-outline-mtw:focus { background: rgba(225, 29, 42, .06); border-color: var(--mtw-red); color: var(--mtw-text); transform: translateY(-2px); }
.hero-btn-arrow { display: inline-block; margin-left: .35rem; transition: transform .2s ease; }
.hero-actions .btn:hover .hero-btn-arrow { transform: translateX(4px); }
.hero-capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 3rem; padding-top: 1.65rem; border-top: 1px solid var(--mtw-border); }
.hero-capability { display: flex; align-items: flex-start; gap: .7rem; min-width: 0; }
.capability-icon { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(225, 29, 42, .08); color: var(--mtw-red); font-size: 1rem; }
.hero-capability strong { display: block; margin-bottom: .15rem; color: var(--mtw-text); font-size: .84rem; line-height: 1.3; }
.hero-capability span { display: block; color: var(--mtw-muted); font-size: .7rem; line-height: 1.4; }
.hero-visual { position: relative; width: 100%; display: flex; align-items: center; justify-content: center; }
.hero-visual-image { display: block; width: 100%; max-width: 900px; height: auto; object-fit: contain; }
@media (max-width: 1199.98px) { .hero-visual-image { max-width: 820px; } }
@media (max-width: 991.98px) { .hero { padding-top: 4.5rem; } .hero-copy { text-align: center; } .hero-copy .lead-muted { margin-left: auto; margin-right: auto; } .hero-actions { justify-content: center; } .hero-capabilities { text-align: left; } .hero-visual { margin-top: 1rem; max-width: 720px; margin-left: auto; margin-right: auto; } .hero-visual-image { max-width: 720px; } }
@media (max-width: 767.98px) { .hero { padding-top: 4rem; } .hero-copy h1 { font-size: clamp(2.7rem, 12vw, 4rem); } .hero-capabilities { grid-template-columns: 1fr; max-width: 330px; margin-left: auto; margin-right: auto; gap: .9rem; } .hero-visual { margin-top: 1.5rem; width: 100%; } .hero-visual-image { width: 100%; max-width: 100%; } }
@media (max-width: 575.98px) { .hero-actions { flex-direction: column; } .hero-actions .btn { width: 100%; } .hero-visual-image { width: 110%; max-width: none; margin-left: -5%; } }
@media (prefers-reduced-motion: reduce) { .hero-actions .btn, .hero-btn-arrow { transition: none; } }



/* SERVICE HERO IMAGE — BLENDED EDGES */
.service-hero-image { position: relative; overflow: visible; background: transparent; }
.service-hero-image img { display: block; width: 100%; height: auto; -webkit-mask-image: radial-gradient(ellipse 75% 84% at 54% 50%,#000 48%,rgba(0, 0, 0, .92) 64%,rgba(0, 0, 0, .55) 82%,transparent 100%); mask-image: radial-gradient(ellipse 75% 84% at 54% 50%,#000 48%,rgba(0, 0, 0, .92) 64%,rgba(0, 0, 0, .55) 82%,transparent 100%); }

/* TECHNOLOGIES -Displays real technology logos alongside their names. */
.technology-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.technology-item { display: inline-flex; align-items: center; gap: 0.65rem; padding: 0.7rem 0.9rem; background: var(--mtw-surface); border: 1px solid var(--mtw-border); border-radius: 12px; color: var(--mtw-muted); transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.technology-item:hover { color: var(--mtw-red); border-color: var(--mtw-red); transform: translateY(-2px); }
.technology-icon { display: inline-block; width: 28px; height: 28px; flex: 0 0 28px; background-color: currentColor; -webkit-mask-image: var(--technology-icon); mask-image: var(--technology-icon); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
.technology-icon-fallback { width: 28px; flex: 0 0 28px; font-size: 1.35rem; }
.technology-name { font-size: 0.9rem; font-weight: 500; line-height: 1.2; }
.tech-h { margin-bottom: 1rem; font-size: 1rem; font-weight: 600; color: var(--mtw-text); }


/* WHY MIKE TECH WEB - "Built Around Your Business" section */
.why-section { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 4rem; align-items: center; }
.why-intro { min-width: 0; }
.why-eyebrow { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; color: var(--mtw-red); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; }
.why-eyebrow-line { width: 80px; height: 1px; background: var(--mtw-red); }
.why-title { max-width: 650px; margin: 0 0 1.25rem; font-size: clamp(2.8rem, 5vw, 4.5rem); line-height: 0.98; font-weight: 700; letter-spacing: -0.04em; }
.why-title span { display: block; color: var(--mtw-red); }
.why-lead { max-width: 620px; margin-bottom: 1rem; color: var(--mtw-muted); font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.45; }
.why-description { max-width: 600px; margin-bottom: 2rem; color: var(--mtw-muted); line-height: 1.7; }
.why-visual { position: relative; width: 100%; margin-top: 1.5rem; overflow: hidden; border-radius: 18px; }
.why-visual img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: inherit; }
.why-points { display: flex; flex-direction: column; gap: 1rem; }
.why-point { display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem; background: var(--mtw-surface); border: 1px solid var(--mtw-border); border-radius: 16px; transition: border-color 0.25s ease, transform 0.25s ease; }
.why-point:hover { border-color: var(--mtw-red); transform: translateX(3px); }
.why-point-icon { display: grid; place-items: center; width: 70px; height: 70px; flex: 0 0 70px; border-radius: 50%; background: rgba(214, 25, 37, 0.08); color: var(--mtw-red); font-size: 1.7rem; }
.why-point-content { min-width: 0; }
.why-point-number { display: block; margin-bottom: 0.2rem; color: var(--mtw-red); font-size: 0.9rem; font-weight: 700; }
.why-point h3 { margin: 0 0 0.4rem; font-size: 1.25rem; }
.why-point p { margin: 0; color: var(--mtw-muted); line-height: 1.55; }
@media (max-width: 991.98px) { .why-section { grid-template-columns: 1fr; gap: 3rem; } .why-title { max-width: 700px; } .why-visual { max-width: 700px; } }
@media (max-width: 575.98px) { .why-title { font-size: 2.8rem; } .why-point { align-items: flex-start; gap: 1rem; padding: 1.2rem; } .why-point-icon { width: 55px; height: 55px; flex-basis: 55px; font-size: 1.35rem; } .why-point h3 { font-size: 1.1rem; } }

/* =========================================================
   ABOUT PAGE
   Technology With Purpose + Values + Founder
   ========================================================= */
.about-purpose { position: relative; overflow: hidden; padding-top: clamp(5rem, 8vw, 7rem); padding-bottom: clamp(5rem, 8vw, 7rem); background: var(--mtw-bg); }
.about-purpose-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.about-purpose-intro { position: relative; z-index: 3; }
.about-eyebrow { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; color: var(--mtw-red); font-size: .8rem; font-weight: 700; letter-spacing: .16em; }
.about-eyebrow-line { width: 90px; height: 2px; background: var(--mtw-red); }
.about-purpose-title { max-width: 680px; margin: 0 0 1.5rem; color: var(--mtw-text); font-size: clamp(3rem, 5vw, 5rem); font-weight: 800; line-height: .98; letter-spacing: -.055em; }
.about-purpose-title span { display: block; color: var(--mtw-red); }
.about-purpose-lead { max-width: 700px; margin-bottom: 2.5rem; color: var(--mtw-muted); font-size: 1.15rem; line-height: 1.65; }
.about-purpose-heading { margin-bottom: .8rem; color: var(--mtw-text); font-size: clamp(1.7rem, 2.4vw, 2.25rem); font-weight: 750; letter-spacing: -.035em; }
.about-purpose-description { max-width: 720px; margin-bottom: 2rem; color: var(--mtw-muted); font-size: 1.02rem; line-height: 1.65; }
.about-purpose-mission { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.about-purpose-card { display: flex; align-items: flex-start; gap: .9rem; padding: 1.15rem; background: var(--mtw-surface); border: 1px solid var(--mtw-border); border-radius: 14px; }
.about-purpose-card-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(225, 29, 42, .08); color: var(--mtw-red); font-size: 1.1rem; }
.about-purpose-card h3 { margin: .1rem 0 .3rem; color: var(--mtw-text); font-size: 1.05rem; font-weight: 700; }
.about-purpose-card p { margin: 0; color: var(--mtw-muted); font-size: .88rem; line-height: 1.55; }
.about-purpose-visual { position: relative; min-height: 650px; display: flex; align-items: center; justify-content: flex-end; }
.about-purpose-orbit { position: absolute; width: 470px; height: 470px; top: 50%; right: 5%; transform: translateY(-50%); border: 1px solid rgba(225, 29, 42, .25); border-radius: 50%; }
.about-purpose-orbit::before { content: ""; position: absolute; width: 14px; height: 14px; top: -7px; left: 50%; border-radius: 50%; background: var(--mtw-red); }
.about-purpose-orbit::after { content: ""; position: absolute; width: 14px; height: 14px; bottom: 18%; left: 0; border-radius: 50%; background: var(--mtw-red); }
.about-purpose-photo { position: absolute; top: 50%; right: 0; width: 47%; max-width: 340px; transform: translateY(-50%); overflow: hidden; border-radius: 14px; box-shadow: 0 25px 60px var(--mtw-shadow), 0 5px 20px rgba(0, 0, 0, .06); }
.about-purpose-photo img { display: block; width: 100%; height: 610px; object-fit: cover; }
.about-values-panel { position: relative; z-index: 2; width: 72%; max-width: 540px; margin-right: 24%; padding: 2rem 2.1rem; background: rgba(255, 255, 255, .92); border: 1px solid var(--mtw-border); border-radius: 16px; box-shadow: 0 25px 65px var(--mtw-shadow), 0 5px 20px rgba(0, 0, 0, .04); backdrop-filter: blur(12px); }
[data-bs-theme="dark"] .about-values-panel { background: rgba(20, 20, 22, .94); }
.about-values-heading { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.about-values-heading > span { width: 60px; height: 2px; flex: 0 0 60px; margin-top: .7rem; background: var(--mtw-red); }
.about-values-heading h2 { margin: 0 0 .35rem; color: var(--mtw-text); font-size: 2rem; font-weight: 750; letter-spacing: -.04em; }
.about-values-heading p { margin: 0; color: var(--mtw-muted); font-size: .9rem; line-height: 1.5; }
.about-value { display: grid; grid-template-columns: 52px 58px minmax(0, 1fr); gap: .8rem; align-items: start; padding: 1.35rem 0; border-top: 1px solid var(--mtw-border); }
.about-value:first-of-type { border-top: 0; }
.about-value-number { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: rgba(225, 29, 42, .08); color: var(--mtw-red); font-size: .9rem; font-weight: 700; }
.about-value-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 12px; background: rgba(225, 29, 42, .06); color: var(--mtw-red); font-size: 1.45rem; }
.about-value-content h3 { margin: .15rem 0 .35rem; color: var(--mtw-text); font-size: 1.05rem; font-weight: 700; line-height: 1.25; }
.about-value-content p { margin: 0; color: var(--mtw-muted); font-size: .88rem; line-height: 1.55; }
.about-founder { position: relative; overflow: hidden; border-top: 1px solid var(--mtw-border); }
.about-founder-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.about-founder-visual { position: relative; min-height: 620px; display: flex; align-items: flex-end; justify-content: center; }
.about-founder-photo { position: relative; width: 100%; min-height: 600px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; border-radius: 28px; background: linear-gradient(145deg, rgba(225, 29, 42, .08), rgba(225, 29, 42, .02)); }
.about-founder-photo::before { content: ""; position: absolute; width: 430px; height: 430px; top: 70px; left: 50%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(225, 29, 42, .14), rgba(225, 29, 42, .03) 65%, transparent 70%); }
.about-founder-photo::after { content: ""; position: absolute; width: 80%; height: 1px; top: 50%; left: 10%; background: rgba(225, 29, 42, .18); transform: rotate(-12deg); }
.about-founder-photo-glow { position: absolute; width: 300px; height: 300px; top: 100px; left: 50%; transform: translateX(-50%); border: 1px solid rgba(225, 29, 42, .22); border-radius: 50%; }
.about-founder-photo img { position: relative; z-index: 2; display: block; width: auto; max-width: 100%; height: 600px; object-fit: contain; object-position: bottom center; }
.about-founder-content { max-width: 700px; }
.about-founder-eyebrow { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; color: var(--mtw-red); font-size: .78rem; font-weight: 700; letter-spacing: .15em; }
.about-founder-eyebrow::after { content: ""; width: 70px; height: 2px; background: var(--mtw-red); }
.about-founder-content h2 { margin: 0 0 1.5rem; color: var(--mtw-text); font-size: clamp(2.5rem, 4.5vw, 4.5rem); font-weight: 800; line-height: 1; letter-spacing: -.055em; }
.about-founder-content h2 span { display: block; color: var(--mtw-red); }
.about-founder-lead { margin-bottom: 1rem; color: var(--mtw-text); font-size: 1.2rem; font-weight: 500; line-height: 1.6; }
.about-founder-content > p:not(.about-founder-lead) { margin-bottom: 2rem; color: var(--mtw-muted); font-size: 1rem; line-height: 1.7; }
.about-founder-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.about-founder-point { display: flex; flex-direction: column; gap: .7rem; }
.about-founder-point-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; background: rgba(225, 29, 42, .08); color: var(--mtw-red); font-size: 1.1rem; }
.about-founder-point strong { display: block; margin-bottom: .2rem; color: var(--mtw-text); font-size: .9rem; }
.about-founder-point span { display: block; color: var(--mtw-muted); font-size: .78rem; line-height: 1.45; }
.about-founder-quote { position: relative; display: flex; gap: 1rem; padding: 1.4rem 1.5rem; background: rgba(225, 29, 42, .035); border: 1px solid var(--mtw-border); border-radius: 15px; }
.about-founder-quote-mark { flex: 0 0 auto; color: var(--mtw-red); font-family: Georgia, serif; font-size: 3.5rem; font-weight: 700; line-height: .7; }
.about-founder-quote p { margin: 0; color: var(--mtw-text); font-size: .95rem; line-height: 1.6; }
@media (max-width: 1199.98px) { .about-purpose-grid { gap: 3rem; } .about-purpose-visual { min-height: 600px; } .about-values-panel { width: 76%; margin-right: 20%; } .about-purpose-photo { width: 45%; } .about-founder-grid { gap: 3rem; } }
@media (max-width: 991.98px) { .about-purpose-grid { grid-template-columns: 1fr; } .about-purpose-intro { max-width: 800px; margin-inline: auto; } .about-purpose-visual { min-height: 650px; max-width: 850px; width: 100%; margin-inline: auto; } .about-founder-grid { grid-template-columns: 1fr; gap: 3rem; } .about-founder-content { max-width: 800px; margin-inline: auto; } .about-founder-visual { min-height: 540px; max-width: 600px; margin-inline: auto; width: 100%; } .about-founder-photo { min-height: 540px; } .about-founder-photo img { height: 520px; } }
@media (max-width: 767.98px) { .about-purpose { padding-top: 4rem; padding-bottom: 4rem; } .about-purpose-title { font-size: clamp(2.8rem, 11vw, 4rem); } .about-purpose-lead { font-size: 1rem; } .about-purpose-description { font-size: .95rem; } .about-purpose-mission { grid-template-columns: 1fr; } .about-purpose-visual { min-height: auto; display: block; padding-top: 2rem; } .about-purpose-orbit { display: none; } .about-purpose-photo { position: relative; top: auto; right: auto; width: 72%; max-width: none; margin-left: auto; transform: none; } .about-purpose-photo img { height: 430px; } .about-values-panel { width: 88%; max-width: none; margin-top: -100px; margin-right: auto; padding: 1.5rem; } .about-values-heading h2 { font-size: 1.7rem; } .about-founder-visual { min-height: 460px; } .about-founder-photo { min-height: 460px; } .about-founder-photo img { height: 450px; } .about-founder-content h2 { font-size: clamp(2.5rem, 10vw, 3.5rem); } .about-founder-points { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .about-eyebrow { font-size: .7rem; } .about-eyebrow-line { width: 55px; } .about-purpose-card { padding: 1rem; } .about-purpose-photo { width: 82%; } .about-purpose-photo img { height: 360px; } .about-values-panel { width: 94%; margin-top: -70px; padding: 1.25rem; } .about-value { grid-template-columns: 44px 48px minmax(0, 1fr); gap: .6rem; } .about-value-number { width: 44px; height: 44px; } .about-value-icon { width: 48px; height: 48px; font-size: 1.15rem; } .about-value-content h3 { font-size: .95rem; } .about-value-content p { font-size: .82rem; } .about-founder-photo { min-height: 400px; } .about-founder-photo img { height: 400px; } .about-founder-quote { padding: 1.1rem; } .about-founder-quote-mark { font-size: 2.8rem; } .about-founder-quote p { font-size: .88rem; } }


/* Cards */
.pillar, .service-card, .why-item, .panel, .value-item { background: var(--mtw-surface); border: 1px solid var(--mtw-border); border-radius: 16px; }
.section-alt .service-card, .section-alt .why-item, .section-alt .panel, .section-alt .value-item { background: var(--mtw-surface-2); }
.pillar { padding: 2rem; height: 100%; }
.pillar i, .service-card > i, .why-item i { font-size: 1.6rem; color: var(--mtw-red); display: block; margin-bottom: 1rem; }
.pillar h3 { font-size: 1.6rem; margin-bottom: .5rem; }
.pillar p, .why-item p, .service-card p { color: var(--mtw-muted); margin-bottom: 0; }
.service-card { padding: 2rem; display: flex; flex-direction: column; transition: border-color .25s, transform .25s; }
.service-card:hover { border-color: var(--mtw-red); transform: translateY(-4px); }
.service-card p { margin-bottom: 1rem; }
.service-list { color: var(--mtw-muted); font-size: .92rem; margin-bottom: 1.5rem; flex-grow: 1; }
.service-list li { padding: .2rem 0; }
.service-list li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--mtw-red); border-radius: 50%; margin-right: .6rem; vertical-align: middle; }
.why-item { padding: 1.75rem; height: 100%; }
.panel { padding: 1.75rem; }
.value-item { padding: 1.1rem 1.4rem; font-weight: 600; border-left: 3px solid var(--mtw-red); }
.check-list li { padding: .3rem 0 .3rem 1.6rem; position: relative; color: var(--mtw-muted); }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--mtw-red); }

/* Projects */
.project-card { background: var(--mtw-surface); border: 1px solid var(--mtw-border); border-radius: 16px; overflow: hidden; transition: border-color .25s, transform .25s; display: flex; flex-direction: column; }
.project-card:hover { border-color: var(--mtw-red); transform: translateY(-4px); }
.project-media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--mtw-surface-2); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .project-media img { transform: scale(1.05); }
.media-placeholder { height: 100%; display: grid; place-items: center; font-size: 3rem; color: var(--mtw-line-strong); }
.badge-sample { position: absolute; top: 12px; left: 12px; background: var(--mtw-surface); border: 1px solid var(--mtw-border); color: var(--mtw-muted); font-size: .72rem; padding: .15rem .6rem; border-radius: 999px; }
.project-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex-grow: 1; }
.project-body p { color: var(--mtw-muted); margin-bottom: .5rem; flex-grow: 1; }
.project-body h3 a:hover { color: var(--mtw-red-hover); }
.project-cat { color: var(--mtw-red); font-size: .85rem; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 .5rem; }
.chips li { border: 1px solid var(--mtw-border); border-radius: 999px; padding: .15rem .75rem; font-size: .8rem; color: var(--mtw-muted); }
.tech-h { font-size: 1rem; color: var(--mtw-muted); font-weight: 600; margin-bottom: .75rem; }
.btn-filter { background: transparent; border: 1px solid var(--mtw-border); color: var(--mtw-muted); padding: .4rem 1.1rem; }
.btn-filter:hover { color: var(--mtw-text); border-color: var(--mtw-text); }
.btn-filter.active { background: var(--mtw-red); border-color: var(--mtw-red); color: var(--mtw-text); }
.project-item.is-hidden { display: none; }
.detail-image { border-radius: 16px; border: 1px solid var(--mtw-border); }

/* Timeline */
.timeline { position: relative; margin: 0; padding: 0; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.timeline-item { position: relative; padding-top: 2.25rem; border-top: 1px solid var(--mtw-border); }
.timeline-item::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--mtw-red); }
.timeline-num { color: var(--mtw-red); font-weight: 700; display: block; margin-bottom: .5rem; }
.timeline-item p { color: var(--mtw-muted); margin: 0; }
@media (max-width: 767.98px) {
  .timeline { grid-template-columns: 1fr; gap: 0; border-left: 1px solid var(--mtw-border); padding-left: 1.5rem; }
  .timeline-item { border-top: 0; padding: 0 0 1.75rem; }
  .timeline-item::before { top: .45rem; left: calc(-1.5rem - 5px); }
}

/* Testimonials */
.testimonial { max-width: 760px; margin: 0; padding: 2rem; background: var(--mtw-surface-2); border: 1px solid var(--mtw-border); border-radius: 16px; }
.testimonial blockquote { font-size: 1.2rem; margin-bottom: 1.25rem; }
.testimonial figcaption span { color: var(--mtw-muted); margin-left: .5rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; margin-right: .75rem; }

/* Accordion */
.mtw-accordion .accordion-item { background: var(--mtw-surface); border: 1px solid var(--mtw-border); border-radius: 12px !important; margin-bottom: .75rem; overflow: hidden; }
.mtw-accordion .accordion-button { background: transparent; color: var(--mtw-text); font-weight: 600; box-shadow: none; }
.mtw-accordion .accordion-button:not(.collapsed) { color: var(--mtw-text); background: var(--mtw-surface-2); }
.mtw-accordion .accordion-button:focus { border-color: var(--mtw-red); }
.mtw-accordion .accordion-body { color: var(--mtw-muted); }
.mtw-accordion .accordion-button::after { filter: var(--mtw-invert); }

/* CTA */
.cta-card { background: var(--mtw-surface); border: 1px solid var(--mtw-border); border-radius: 20px; padding: clamp(2rem, 6vw, 4rem) 1.5rem; position: relative; overflow: hidden; }
.cta-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--mtw-red), transparent); }
.cta-card h2 { margin: 1rem 0; }
.cta-card .lead-muted { margin-bottom: 1.75rem; }
.cta-logo { border-radius: 6px; }

/* Forms */
.form-panel { padding: clamp(1.25rem, 4vw, 2.25rem); }
.form-label { font-weight: 600; font-size: .9rem; }
.req { color: var(--mtw-red); }
.form-control, .form-select { background-color: var(--mtw-bg); border: 1px solid var(--mtw-border); color: var(--mtw-text); padding: .7rem .9rem; border-radius: 10px; }
.form-control:focus, .form-select:focus { background-color: var(--mtw-bg); color: var(--mtw-text); border-color: var(--mtw-red); box-shadow: 0 0 0 .2rem rgba(225,29,42,.2); }
.field-error { color: #ff8087; font-size: .85rem; margin-top: .3rem; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.message-wrap { margin-top: 1rem; }

/* Prose */
.prose { color: var(--mtw-prose); font-size: 1.08rem; }
.prose p { margin-bottom: 1.25rem; }

/* Footer */
.mtw-footer { background: var(--mtw-footer-bg); border-top: 1px solid var(--mtw-border); padding: 4rem 0 1.5rem; }
.footer-logo { border-radius: 6px; }
.footer-h { font-size: .95rem; font-weight: 700; margin-bottom: 1rem; }
.footer-links li { margin-bottom: .55rem; color: var(--mtw-muted); font-size: .93rem; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--mtw-red-hover); }
.footer-links .bi { color: var(--mtw-red); margin-right: .35rem; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--mtw-border); border-radius: 10px; color: var(--mtw-muted); transition: color .2s, border-color .2s; }
.social a:hover { color: var(--mtw-text); border-color: var(--mtw-red); }
.footer-bottom { border-top: 1px solid var(--mtw-border); margin-top: 3rem; padding-top: 1.5rem; color: var(--mtw-muted); font-size: .88rem; }

/* Errors */
.error-code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; color: var(--mtw-red); line-height: 1; margin-bottom: 1rem; }

/* Motion: reveal only when JS runs and the user allows motion */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.hero-copy { animation: fadeUp .8s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Theme toggle */
.theme-toggle { width: 40px; height: 40px; display: inline-grid; place-items: center; background: transparent; border: 1px solid var(--mtw-border); border-radius: 10px; color: var(--mtw-text); transition: border-color .2s, color .2s; }
.theme-toggle:hover { border-color: var(--mtw-red); color: var(--mtw-red); }
[data-bs-theme="dark"] .theme-toggle .icon-moon, [data-bs-theme="light"] .theme-toggle .icon-sun { display: none; }

.testimonial-card { background: var(--mtw-surface); border: 1px solid var(--mtw-border); border-radius: 16px; padding: 1.75rem; height: 100%; margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; }
.testimonial-card blockquote { margin: 0; }
.testimonial-card figcaption span { display: block; color: var(--mtw-muted); font-size: .9rem; }

/* Client portal */
.portal-wrap { padding-top: 2rem; padding-bottom: 4rem; min-height: 70vh; }
.portal-link { font-size: 1.35rem; padding: .3rem .6rem !important; }
@media (max-width: 1199.98px) { .portal-link { font-size: 1rem; } }
.portal-side { background: var(--mtw-surface); border: 1px solid var(--mtw-border); border-radius: 16px; padding: 1rem; display: flex; flex-direction: column; gap: .15rem; position: sticky; top: calc(var(--nav-h) + 1rem); }
.portal-user { font-weight: 700; padding: .25rem .75rem .75rem; margin: 0; border-bottom: 1px solid var(--mtw-border); overflow-wrap: anywhere; }
.portal-side a, .side-logout { color: var(--mtw-muted); padding: .55rem .75rem; border-radius: 10px; font-weight: 600; display: flex; gap: .6rem; align-items: center; background: none; border: 0; width: 100%; text-align: left; }
.portal-side a:hover, .side-logout:hover { color: var(--mtw-text); background: var(--mtw-surface-2); }
.portal-side a.active { color: var(--mtw-text); background: var(--mtw-surface-2); box-shadow: inset 3px 0 0 var(--mtw-red); }
.stat { display: block; background: var(--mtw-surface); border: 1px solid var(--mtw-border); border-radius: 14px; padding: 1rem; transition: border-color .2s; }
.stat:hover { border-color: var(--mtw-red); }
.stat strong { display: block; font-size: 1.8rem; line-height: 1.1; }
.stat span { color: var(--mtw-muted); font-size: .85rem; }
.row-link { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .9rem 1rem; margin-bottom: .6rem; background: var(--mtw-surface); border: 1px solid var(--mtw-border); border-radius: 12px; color: var(--mtw-text); }
a.row-link:hover { border-color: var(--mtw-red); }
.project-row:hover { border-color: var(--mtw-red); }
.progress { background: var(--mtw-surface-2); height: .6rem; border-radius: 999px; }
.progress-bar { background: var(--mtw-red); }
.badge-status { display: inline-block; font-size: .75rem; font-weight: 600; padding: .15rem .65rem; border-radius: 999px; border: 1px solid var(--mtw-border); color: var(--mtw-muted); }
.status-paid, .status-done, .status-approved, .status-succeeded, .status-resolved { color: var(--mtw-text); border-color: var(--mtw-text); }
.status-overdue, .status-failed, .status-changes { color: var(--mtw-red); border-color: var(--mtw-red); }
.thread { display: flex; flex-direction: column; gap: .75rem; }
.bubble { max-width: 85%; padding: .8rem 1rem; border-radius: 14px; border: 1px solid var(--mtw-border); background: var(--mtw-surface); }
.bubble.mine { align-self: flex-end; background: var(--mtw-surface-2); }
.bubble.staff { align-self: flex-start; border-left: 3px solid var(--mtw-red); }
@media print { .mtw-nav, .mtw-footer, .portal-side, .btn { display: none !important; } body { padding-top: 0; } }

/* Unread notification badges */
.portal-link { position: relative; }
.notif-badge { position: absolute; top: -4px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--mtw-red); color: #fff; font-size: .7rem; font-weight: 700; line-height: 18px; text-align: center; }
@media (max-width: 1199.98px) { .notif-badge { position: static; display: inline-block; margin-left: .4rem; vertical-align: middle; } }
.side-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--mtw-red); color: #fff; font-size: .72rem; font-weight: 700; line-height: 20px; text-align: center; }
