  /* ===========================================================
     ByteMechanix — Apple-inspired refresh
     =========================================================== */

  :root {
    /* Apple-style neutrals */
    --bg:           #fbfbfd;
    --bg-soft:      #f5f5f7;
    --bg-dark:      #1d1d1f;
    --ink:          #1d1d1f;
    --ink-muted:    #6e6e73;
    --ink-soft:     #86868b;
    --line:         #d2d2d7;
    --line-soft:    #e8e8ed;

    /* ByteMechanix brand, restrained */
    --accent:       #2589e8;     /* BMX blue */
    --accent-hover: #0070c9;
    --accent-soft:  #e8f1fc;
    --warm:         #e87525;     /* used very sparingly */

    /* Type — SF system stack for that Apple feel */
    --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display",
                    "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-text:    -apple-system, BlinkMacSystemFont, "SF Pro Text",
                    "Helvetica Neue", Helvetica, Arial, sans-serif;

    /* Rhythm */
    --radius-sm: 12px;
    --radius:    18px;
    --radius-lg: 28px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--font-text);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.011em;
  }

  /* ============================== NAV ============================== */
  .nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    background: rgba(251, 251, 253, 0.8);
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-inner {
    max-width: 1024px;
    margin: 0 auto;
    height: 110px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
  }
  .nav-brand:hover { opacity: 0.85; }
  .nav-brand img {
    height: 84px;
    width: auto;
    display: block;
  }
  .nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
  }
  .nav-links a {
    font-size: 13px;
    color: var(--ink);
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.2s ease;
    font-weight: 500;
  }
  .nav-links a:hover { opacity: 1; }
  .nav-links a.active {
    color: var(--accent);
    opacity: 1;
  }

  /* ============================== HERO ============================== */
  .hero {
    text-align: center;
    padding: 88px 22px 60px;
    background: var(--bg);
    overflow: hidden;
    position: relative;
    isolation: isolate;
  }
  /* Drifting animated glow — sits behind everything via z-index */
  .hero::before {
    content: "";
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 90%;
    z-index: -1;
    background:
      radial-gradient(ellipse 60% 70% at 30% 20%, rgba(90, 200, 250, 0.28) 0%, transparent 60%),
      radial-gradient(ellipse 55% 65% at 75% 30%, rgba(37, 137, 232, 0.22) 0%, transparent 60%),
      radial-gradient(ellipse 50% 60% at 50% 80%, rgba(232, 117, 37, 0.10) 0%, transparent 70%);
    filter: blur(20px);
    animation: heroDrift 22s ease-in-out infinite alternate;
    transform: translate3d(var(--mx, 0), var(--my, 0), 0);
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
    will-change: transform;
  }
  @keyframes heroDrift {
    0%   { background-position: 0% 0%, 100% 0%, 50% 100%; }
    50%  { background-position: 10% 5%, 90% 10%, 55% 95%; }
    100% { background-position: -5% 8%, 105% 3%, 45% 105%; }
  }
  @media (prefers-reduced-motion: reduce) {
    .hero::before { animation: none; transition: none; }
  }
  .hero-eyebrow {
    font-size: 19px;
    color: var(--ink-muted);
    margin-bottom: 6px;
    font-weight: 400;
  }
  .hero h1 {
    font-family: var(--font-display);
    font-size: clamp(44px, 7vw, 80px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    font-weight: 600;
    color: var(--ink);
    margin: 0 auto 14px;
    max-width: 900px;
  }
  .hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 400;
    color: var(--ink-muted);
    margin-bottom: 18px;
    letter-spacing: -0.015em;
  }
  .hero-tagline span {
    background: linear-gradient(90deg, var(--accent), #5ac8fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 500;
  }
  .hero-sub {
    font-size: 19px;
    color: var(--ink-muted);
    max-width: 640px;
    margin: 0 auto 28px;
    line-height: 1.45;
  }
  .hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-text);
    font-size: 17px;
    font-weight: 400;
    padding: 12px 22px;
    border-radius: 980px;       /* Apple's signature pill */
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
  }
  .btn-primary {
    background: var(--accent);
    color: white;
  }
  .btn-primary:hover { background: var(--accent-hover); }
  .btn-ghost {
    color: var(--accent);
    border-color: transparent;
  }
  .btn-ghost:hover { color: var(--accent-hover); }
  .btn-ghost::after {
    content: "›";
    margin-left: 2px;
    font-size: 19px;
    line-height: 1;
    transform: translateY(-1px);
    transition: transform 0.2s ease;
  }
  .btn-ghost:hover::after { transform: translate(3px, -1px); }

  .scroll-cue {
    margin-top: 56px;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--ink-soft);
    text-transform: uppercase;
  }
  .scroll-cue::after {
    content: "";
    display: block;
    width: 1px;
    height: 36px;
    margin: 10px auto 0;
    background: linear-gradient(to bottom, var(--ink-soft), transparent);
  }

  /* ============================== TRUSTED BY (ticker) ============================== */
  .trusted {
    padding: 56px 0;
    background:
      linear-gradient(135deg, #f5f9ff 0%, #fef4ec 50%, #f3f7ff 100%);
    overflow: hidden;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    position: relative;
  }
  .trusted::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 15% 50%, rgba(37, 137, 232, 0.08) 0%, transparent 40%),
      radial-gradient(circle at 85% 50%, rgba(232, 117, 37, 0.08) 0%, transparent 40%);
    pointer-events: none;
  }
  .trusted-label {
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--ink-soft);
    text-transform: uppercase;
    margin-bottom: 28px;
    font-weight: 600;
    position: relative;
  }
  .marquee {
    display: flex;
    gap: 56px;
    animation: scroll 32s linear infinite;
    white-space: nowrap;
    width: max-content;
    position: relative;
  }
  .marquee span {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.025em;
  }
  .marquee .m-1 { background: linear-gradient(135deg, #2589e8, #5ac8fa);    -webkit-background-clip: text; background-clip: text; color: transparent; }
  .marquee .m-2 { background: linear-gradient(135deg, #e87525, #ffb05a);    -webkit-background-clip: text; background-clip: text; color: transparent; }
  .marquee .m-3 { background: linear-gradient(135deg, #5856d6, #af8eff);    -webkit-background-clip: text; background-clip: text; color: transparent; }
  .marquee .m-4 { background: linear-gradient(135deg, #34c759, #6fdc8c);    -webkit-background-clip: text; background-clip: text; color: transparent; }
  .marquee .m-5 { background: linear-gradient(135deg, #ff3b30, #ff7a6e);    -webkit-background-clip: text; background-clip: text; color: transparent; }
  .marquee .m-6 { background: linear-gradient(135deg, #ff9500, #ffbd5a);    -webkit-background-clip: text; background-clip: text; color: transparent; }
  .marquee .m-7 { background: linear-gradient(135deg, #00c7be, #5edfd6);    -webkit-background-clip: text; background-clip: text; color: transparent; }
  .marquee .dot {
    color: var(--ink-soft);
    font-weight: 400;
    opacity: 0.5;
  }
  @keyframes scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  /* ============================== SECTION DEFAULTS ============================== */
  section { padding: 100px 22px; }
  .container { max-width: 1024px; margin: 0 auto; }
  .section-eyebrow {
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 14px;
    font-weight: 500;
  }
  .section-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.5vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.025em;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
  }
  .section-sub {
    text-align: center;
    font-size: 19px;
    color: var(--ink-muted);
    max-width: 640px;
    margin: 0 auto 56px;
    line-height: 1.45;
  }

  /* ============================== PRODUCTS — Apple bento ============================== */
  .products {
    background: var(--bg);
  }
  .product-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
  }
  .product {
    border-radius: var(--radius-lg);
    padding: 36px;
    background: var(--bg-soft);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    min-height: 320px;
  }
  .product:hover { transform: translateY(-4px); }

  /* Hover-revealed feature list */
  .product-features {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease 0.05s,
                margin-bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .product:hover .product-features,
  .product:focus-within .product-features {
    max-height: 200px;
    opacity: 1;
  }
  .product-features li {
    font-size: 13px;
    color: var(--ink-muted);
    padding: 6px 0;
    border-top: 1px solid var(--line-soft);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .product-features li::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
  }
  /* Featured tile gets a darker separator since its background is tinted */
  .product-1 .product-features li {
    border-top-color: rgba(13, 27, 42, 0.08);
  }
  @media (prefers-reduced-motion: reduce) {
    .product-features { transition: none; }
  }

  /* Bento layout — featured spans full width, rest as a balanced 2x2 */
  .product-1 { grid-column: span 6; min-height: 360px; background: linear-gradient(135deg, #f0f7ff 0%, #e3eefb 100%); }
  .product-2 { grid-column: span 3; }
  .product-3 { grid-column: span 3; }
  .product-4 { grid-column: span 3; }
  .product-5 { grid-column: span 3; }

  .product-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04);
  }
  .product-name {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
  }
  .product-1 .product-name { font-size: 36px; }
  .product-kicker {
    font-size: 14px;
    color: var(--ink-muted);
    margin-bottom: 14px;
    font-weight: 500;
  }
  .product-desc {
    font-size: 15px;
    color: var(--ink-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
  }
  .product-link {
    font-size: 14px;
    color: var(--accent);
    font-weight: 500;
    margin-top: auto;
  }
  .product-link::after {
    content: " ›";
    transition: margin 0.2s ease;
  }
  .product:hover .product-link::after { margin-left: 4px; }

  /* ============================== WHY — feature trio ============================== */
  .why {
    background: var(--bg-dark);
    color: white;
  }
  .why .section-title { color: white; }
  .why .section-sub { color: var(--ink-soft); }
  .why .section-eyebrow { color: #5ac8fa; }

  .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .feature {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    backdrop-filter: blur(10px);
    transition: background 0.3s ease;
  }
  .feature:hover { background: rgba(255,255,255,0.06); }
  .feature-icon {
    font-size: 28px;
    margin-bottom: 18px;
    display: block;
  }
  .feature h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: white;
  }
  .feature p {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.55;
  }

  /* Stats strip */
  .stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 56px;
    padding-top: 56px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .stat-num {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 600;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #5ac8fa, #007aff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
  }
  .stat-label {
    font-size: 13px;
    color: var(--ink-soft);
    margin-top: 8px;
  }

  /* ============================== COMPLIANCE PILLS ============================== */
  .compliance { background: var(--bg-soft); }
  .pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    max-width: 880px;
    margin: 0 auto;
  }
  .pill {
    background: white;
    border: 1px solid var(--line-soft);
    border-radius: 980px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    transition: all 0.2s ease;
    cursor: default;
  }
  .pill:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
  }

  /* ============================== TECH STACK ============================== */
  .stack { background: var(--bg); }
  .stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  .stack-item {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-soft);
    border-radius: var(--radius);
    transition: transform 0.3s ease;
  }
  .stack-item:hover { transform: translateY(-2px); }
  .stack-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    margin-bottom: 14px;
    color: var(--ink);
    transition: color 0.3s ease, transform 0.3s ease;
  }
  .stack-icon svg {
    height: 36px;
    width: auto;
    max-width: 60px;
  }
  .stack-item:hover .stack-icon { transform: scale(1.06); }
  .stack-item[data-brand="python"]:hover  .stack-icon { color: #3776ab; }
  .stack-item[data-brand="django"]:hover  .stack-icon { color: #092e20; }
  .stack-item[data-brand="mariadb"]:hover .stack-icon { color: #003545; }
  .stack-item[data-brand="nginx"]:hover   .stack-icon { color: #009639; }
  .stack-item[data-brand="vultr"]:hover   .stack-icon { color: #007bfc; }
  .stack-item[data-brand="aws"]:hover     .stack-icon { color: #ff9900; }
  .stack-item[data-brand="do"]:hover      .stack-icon { color: #0080ff; }
  .stack-item[data-brand="cf"]:hover      .stack-icon { color: #f6821f; }
  .stack-item[data-brand="github"]:hover  .stack-icon { color: #1d1d1f; }
  .stack-item[data-brand="docker"]:hover  .stack-icon { color: #2496ed; }
  .stack-item[data-brand="redis"]:hover   .stack-icon { color: #dc382d; }
  .stack-item[data-brand="jwt"]:hover     .stack-icon { color: #d63aff; }
  .stack-name {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-bottom: 4px;
  }
  .stack-desc {
    font-size: 13px;
    color: var(--ink-muted);
  }

  /* ============================== FINAL CTA ============================== */
  .cta {
    text-align: center;
    background:
      radial-gradient(ellipse at 50% 100%, #d6e8fa 0%, transparent 60%),
      var(--bg);
  }
  .cta-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.025em;
    font-weight: 600;
    margin-bottom: 24px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  /* ============================== FOOTER ============================== */
  footer {
    background: var(--bg-soft);
    padding: 48px 22px 24px;
    font-size: 12px;
    color: var(--ink-muted);
    border-top: 1px solid var(--line-soft);
  }
  .footer-top {
    max-width: 1024px;
    margin: 0 auto 32px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
  }
  .footer-brand h4 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
  }
  .footer-brand img.footer-logo {
    height: 64px;
    width: auto;
    display: block;
    margin-bottom: 14px;
  }
  .footer-col h5 {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
  }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 8px; }
  .footer-col a {
    color: var(--ink-muted);
    text-decoration: none;
    transition: color 0.2s ease;
  }
  .footer-col a:hover { color: var(--accent); }
  .footer-bottom {
    max-width: 1024px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid var(--line-soft);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
  }

  /* ============================== REVEAL ANIMATION ============================== */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .reveal.in {
    opacity: 1;
    transform: translateY(0);
  }

  /* ============================== RESPONSIVE ============================== */
  @media (max-width: 900px) {
    .product-grid { grid-template-columns: 1fr 1fr; }
    .product-1, .product-2, .product-3, .product-4, .product-5 { grid-column: span 2; }
    .feature-grid { grid-template-columns: 1fr; }
    .stack-grid { grid-template-columns: 1fr 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    section { padding: 72px 22px; }
  }
  @media (max-width: 540px) {
    .product-grid { grid-template-columns: 1fr; }
    .product-1, .product-2, .product-3, .product-4, .product-5 { grid-column: span 1; }
    .nav-links { display: none; }
    .nav-brand img { height: 44px; }
    .nav-inner { height: 64px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .marquee { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  }

  /* ============================== HERO CHECKLIST ============================== */
  .hero-points {
    list-style: none;
    display: inline-flex;
    flex-direction: column;
    gap: 11px;
    text-align: left;
    margin: 4px auto 30px;
    max-width: 560px;
  }
  .hero-points li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 16px;
    color: var(--ink-muted);
    line-height: 1.45;
  }
  .hero-points li::before {
    content: "✓";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* ============================== PROCESS ============================== */
  .process { background: var(--bg); }
  .process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    counter-reset: step;
  }
  .process-step {
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    position: relative;
    transition: transform 0.3s ease;
  }
  .process-step:hover { transform: translateY(-3px); }
  .process-step .step-num {
    display: block;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--accent);
    margin-bottom: 18px;
  }
  .process-step h3 {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 9px;
  }
  .process-step p {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.55;
  }

  /* Java tile hover tint */
  .stack-item[data-brand="java"]:hover .stack-icon { color: #f89820; }

  /* Service-card CTA reads as a link even though the tile isn't a product */
  .product .product-link { color: var(--accent); }

  @media (max-width: 900px) {
    .process-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 540px) {
    .hero-points { font-size: 15px; }
  }

  /* ============================================================
     INTERIOR PAGES (about, contact) — shared additions
     ============================================================ */

  /* Page header — clears the 110px sticky nav */
  .page-header {
    padding: 160px 22px 30px;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
  }
  .page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.04;
    margin: 0 0 18px;
  }
  .page-header .page-lead {
    font-size: clamp(17px, 2.2vw, 20px);
    line-height: 1.5;
    color: var(--ink-muted);
    max-width: 640px;
    margin: 0 auto;
  }

  /* Readable prose column (about page) */
  .prose { max-width: 720px; margin: 0 auto; }
  .prose p { font-size: 17px; line-height: 1.72; color: var(--ink-muted); margin: 0 0 20px; }
  .prose p strong { color: var(--ink); font-weight: 600; }
  .prose h3 {
    font-family: var(--font-display);
    font-size: 24px; font-weight: 600; letter-spacing: -0.02em;
    color: var(--ink); margin: 40px 0 12px;
  }

  /* ---- Contact layout ---- */
  .contact-wrap {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: start;
    max-width: 980px;
    margin: 0 auto;
  }
  .contact-aside h2 {
    font-family: var(--font-display);
    font-size: 26px; font-weight: 600; letter-spacing: -0.02em;
    margin: 0 0 14px;
  }
  .contact-aside p { color: var(--ink-muted); line-height: 1.6; margin: 0 0 28px; }
  .contact-method { margin-bottom: 22px; }
  .contact-method .label {
    font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--accent); font-weight: 600; margin-bottom: 5px;
  }
  .contact-method a, .contact-method span { font-size: 16px; color: var(--ink); text-decoration: none; }
  .contact-method a:hover { color: var(--accent); }

  /* ---- Form ---- */
  .contact-form { display: flex; flex-direction: column; gap: 18px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .field { display: flex; flex-direction: column; gap: 7px; }
  .field label { font-size: 13px; font-weight: 600; color: var(--ink); }
  .field input, .field select, .field textarea {
    font: inherit; font-size: 16px;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--ink);
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .field textarea { resize: vertical; min-height: 150px; }
  .field input::placeholder, .field textarea::placeholder { color: var(--ink-soft); }
  .field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
  }
  button.btn { font: inherit; cursor: pointer; border: none; }
  .contact-form .btn { align-self: flex-start; }
  .form-note { font-size: 13px; color: var(--ink-soft); }
  .form-status {
    display: none;
    font-size: 14px; font-weight: 500;
    padding: 12px 15px; border-radius: var(--radius-sm);
  }
  .form-status.show { display: block; }
  .form-status.ok  { background: #e7f6ec; color: #1a7f37; }
  .form-status.err { background: #fdecea; color: #b3261e; }

  @media (max-width: 820px) {
    .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  }
  @media (max-width: 540px) {
    .form-row { grid-template-columns: 1fr; }
    .page-header { padding-top: 120px; }
  }

  /* ---- Contact: supporting info blocks ---- */
  .contact-info { background: var(--bg-soft); }
  .info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    max-width: 980px;
    margin: 0 auto;
  }
  .info-block .label {
    font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--accent); font-weight: 600; margin-bottom: 9px;
  }
  .info-block p { color: var(--ink-muted); line-height: 1.62; font-size: 15px; margin: 0; }
  @media (max-width: 820px) {
    .info-grid { grid-template-columns: 1fr; gap: 26px; }
  }
