/* =========================================================
   Mohammad Asim Rather — portfolio
   Apple-inspired: quiet, large type, lots of air.
   ========================================================= */

:root {
    --ink: #1d1d1f;
    --ink-2: #424245;
    --muted: #6e6e73;
    --hairline: #d2d2d7;
    --gray: #f5f5f7;
    --white: #ffffff;
    --black: #000000;
    --blue: #0071e3;
    --blue-hover: #0077ed;
    --link-dark: #2997ff;

    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

    --radius-lg: 28px;
    --radius-md: 20px;
    --nav-h: 52px;
    --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--white);
    font-size: 17px;
    line-height: 1.47;
    letter-spacing: -0.011em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
strong { font-weight: 600; color: var(--ink); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 820px; }
.center { text-align: center; }

/* ---------- Navigation (frosted glass) ---------- */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    height: var(--nav-h);
    background: rgba(0, 0, 0, 0.72);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    transition: background 0.4s var(--ease);
}
.nav.light {
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
.nav-inner {
    max-width: 1080px; height: 100%; margin: 0 auto; padding: 0 22px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    font-size: 17px; font-weight: 600; letter-spacing: -0.02em;
    color: #f5f5f7; transition: color 0.4s var(--ease);
}
.nav-logo:hover { text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
    font-size: 13px; color: rgba(245, 245, 247, 0.82);
    transition: color 0.2s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: #fff; text-decoration: none; }
.nav.light .nav-logo { color: var(--ink); }
.nav.light .nav-links a { color: rgba(29, 29, 31, 0.78); }
.nav.light .nav-links a:hover, .nav.light .nav-links a.active { color: var(--ink); }

.nav-links a.nav-cta,
.nav.light .nav-links a.nav-cta {
    background: var(--blue); color: #fff;
    padding: 5px 13px; border-radius: 980px; font-weight: 500;
}
.nav-links a.nav-cta:hover { background: var(--blue-hover); color: #fff; }

.nav-toggle {
    display: none; width: 36px; height: 36px;
    background: none; border: 0; cursor: pointer; position: relative;
}
.nav-toggle span {
    position: absolute; left: 9px; width: 18px; height: 1.5px; border-radius: 2px;
    background: #f5f5f7; transition: transform 0.3s var(--ease), top 0.3s var(--ease), background 0.4s;
}
.nav-toggle span:first-child { top: 14px; }
.nav-toggle span:last-child { top: 21px; }
.nav.light .nav-toggle span { background: var(--ink); }
.nav-toggle.active span:first-child { top: 17.5px; transform: rotate(45deg); }
.nav-toggle.active span:last-child { top: 17.5px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 11px 22px; border-radius: 980px;
    font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-ghost { color: var(--link-dark); box-shadow: inset 0 0 0 1px var(--link-dark); }
.btn-ghost:hover { background: var(--link-dark); color: #fff; }
.btn-link { font-size: 17px; color: var(--link-dark); }
.btn-link span { display: inline-block; transition: transform 0.2s var(--ease); }
.btn-link:hover span { transform: translateX(3px); }

/* ---------- Eyebrows & titles ---------- */
.eyebrow {
    font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
    color: #86868b; margin-bottom: 10px;
}
.section-eyebrow {
    font-size: 17px; font-weight: 600; color: var(--muted);
    margin-bottom: 8px;
}
.section-title {
    font-size: clamp(36px, 5.4vw, 56px); font-weight: 700;
    line-height: 1.07; letter-spacing: -0.035em;
    margin-bottom: 56px; max-width: 16ch;
}

/* ---------- Hero ---------- */
.hero {
    background: var(--black); color: #f5f5f7;
    padding: calc(var(--nav-h) + 72px) 0 0;
    overflow: hidden;
}
.hero-inner {
    max-width: 1080px; margin: 0 auto; padding: 0 22px;
    display: grid; grid-template-columns: 1.05fr 1fr; align-items: end; gap: 40px;
}
.hero-copy { padding-bottom: 96px; }
.hero-title {
    font-size: clamp(48px, 8vw, 88px); font-weight: 700;
    line-height: 1.02; letter-spacing: -0.045em;
    background: linear-gradient(180deg, #ffffff 0%, #c7c7cc 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lede {
    margin-top: 22px; max-width: 30ch;
    font-size: clamp(19px, 2.2vw, 24px); line-height: 1.33; letter-spacing: -0.02em;
    color: #a1a1a6; font-weight: 500;
}
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }

.hero-media { position: relative; align-self: end; }
.hero-photo {
    width: 100%; max-width: 520px; margin-left: auto;
    aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 20%;
    /* fade the studio backdrop into the black page */
    -webkit-mask-image:
        linear-gradient(to right, transparent 0%, #000 24%, #000 76%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, #000 18%, #000 78%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(to right, transparent 0%, #000 24%, #000 76%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, #000 18%, #000 78%, transparent 100%);
    mask-composite: intersect;
    filter: contrast(1.04);
}

/* ---------- Stats ---------- */
.stats { background: var(--black); color: #f5f5f7; padding: 0 0 96px; }
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #333336;
}
.stat { padding: 36px 24px 0 0; display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid #333336; }
.stat-value {
    font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05;
    background: linear-gradient(90deg, #2997ff, #a78bfa);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { font-size: 14px; color: #86868b; line-height: 1.4; max-width: 22ch; }

/* ---------- Sections ---------- */
.section { padding: 128px 0; }
.section-gray { background: var(--gray); }

/* About */
.statement {
    font-size: clamp(28px, 3.6vw, 40px); font-weight: 600;
    line-height: 1.18; letter-spacing: -0.03em; color: var(--muted);
}
.statement strong { color: var(--ink); font-weight: 600; }
.body-lg { margin-top: 28px; font-size: 21px; line-height: 1.48; color: var(--ink-2); letter-spacing: -0.015em; }
.facts {
    margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--hairline);
}
.fact { padding-top: 20px; display: flex; flex-direction: column; gap: 4px; }
.fact-label { font-size: 13px; color: var(--muted); }
.fact-value { font-size: 17px; font-weight: 600; }

/* Bento highlights */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 36px 32px 40px; min-height: 260px;
    display: flex; flex-direction: column;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), opacity 0.9s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.18); }
.tile-wide { grid-column: span 2; }
.tile-full { grid-column: 1 / -1; }
.tile-kicker { font-size: 13px; font-weight: 600; color: var(--blue); margin-bottom: 12px; letter-spacing: 0; }
.tile h3 { font-size: 28px; font-weight: 700; line-height: 1.14; letter-spacing: -0.03em; margin-bottom: 12px; }
.tile p { font-size: 17px; color: var(--muted); line-height: 1.47; margin-top: auto; }
.tile-dark { background: var(--ink); color: #f5f5f7; }
.tile-dark .tile-kicker { color: var(--link-dark); }
.tile-dark p { color: #a1a1a6; }
.tile-wide h3 { font-size: 34px; max-width: 18ch; }

/* Experience */
.roles { display: flex; flex-direction: column; }
.role {
    display: grid; grid-template-columns: 220px 1fr; gap: 40px;
    padding: 48px 0; border-top: 1px solid var(--hairline);
}
.role:last-child { border-bottom: 1px solid var(--hairline); }
.role-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 6px; }
.role-date { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.badge {
    font-size: 12px; font-weight: 600; color: var(--blue);
    background: rgba(0, 113, 227, 0.09); padding: 4px 10px; border-radius: 980px;
}
.role h3 { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.role-company { font-size: 17px; color: var(--muted); margin: 6px 0 24px; }
.role-list { display: flex; flex-direction: column; gap: 14px; }
.role-list li {
    position: relative; padding-left: 20px;
    font-size: 17px; color: var(--ink-2); line-height: 1.5;
}
.role-list li::before {
    content: ""; position: absolute; left: 2px; top: 0.66em;
    width: 6px; height: 6px; border-radius: 50%; background: var(--hairline);
}

/* Skills */
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.skill-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; }
.skill-card h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
    font-size: 14px; color: var(--ink-2);
    background: var(--gray); padding: 7px 14px; border-radius: 980px;
}

/* Education */
.edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.edu-card {
    border-radius: var(--radius-lg); padding: 32px;
    background: var(--gray);
    display: flex; flex-direction: column; gap: 8px; min-height: 200px;
}
.edu-year { font-size: 13px; font-weight: 600; color: var(--blue); }
.edu-card h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.edu-card p { margin-top: auto; color: var(--muted); font-size: 15px; }

/* Contact */
.contact { background: var(--black); color: #f5f5f7; padding: 140px 0 120px; }
.contact-title {
    font-size: clamp(56px, 9vw, 96px); font-weight: 700; letter-spacing: -0.05em; line-height: 1.05;
    padding-bottom: 0.06em;
    background: linear-gradient(90deg, #2997ff, #a78bfa 60%, #f472b6);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.contact-lede { margin: 22px auto 0; max-width: 34ch; font-size: 21px; color: #a1a1a6; letter-spacing: -0.015em; }
.contact-actions { margin-top: 36px; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.contact-grid {
    margin-top: 72px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; text-align: left;
}
.contact-item {
    display: flex; flex-direction: column; gap: 4px;
    background: #1d1d1f; border-radius: var(--radius-md); padding: 22px 24px;
    color: #f5f5f7; transition: background 0.25s var(--ease), opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
a.contact-item:hover { background: #2a2a2d; text-decoration: none; }
.contact-label { font-size: 13px; color: #86868b; }
.contact-value { font-size: 17px; font-weight: 500; word-break: break-word; }

/* Footer */
.footer { background: var(--gray); padding: 22px 0; font-size: 12px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--ink); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.tile.reveal.visible:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .tile:hover, .tile.reveal.visible:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .tile-wide { grid-column: span 2; }
    .skills-grid, .edu-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: 0; padding-left: 0; }
    .role { grid-template-columns: 160px 1fr; gap: 28px; }
}

@media (max-width: 834px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: fixed; top: var(--nav-h); left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 8px 22px 24px;
        background: #000;
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        backdrop-filter: saturate(180%) blur(20px);
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
    }
    .nav.light .nav-links { background: #fff; }
    .nav-links.open { opacity: 1; visibility: visible; transform: none; }
    .nav-links li { border-bottom: 1px solid rgba(134, 134, 139, 0.25); }
    .nav-links a { display: block; padding: 14px 0; font-size: 17px; }
    .nav-links .nav-cta-item { border: 0; padding-top: 16px; }
    .nav-links a.nav-cta { text-align: center; padding: 12px; font-size: 17px; }

    .hero { padding-top: calc(var(--nav-h) + 48px); }
    .hero-inner { grid-template-columns: 1fr; gap: 0; }
    .hero-copy { padding-bottom: 8px; text-align: center; }
    .hero-lede { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-photo { margin: 0 auto; max-width: 420px; }

    .section { padding: 88px 0; }
    .section-title { margin-bottom: 40px; }
    .role { grid-template-columns: 1fr; gap: 12px; padding: 36px 0; }
    .role-meta { flex-direction: row; align-items: center; padding-top: 0; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .container, .nav-inner, .hero-inner { padding: 0 16px; }
    .stats { padding-bottom: 72px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat { padding: 24px 12px 0 0; }
    .stat + .stat { padding-left: 12px; }
    .stat:nth-child(3) { padding-left: 0; }
    .bento, .skills-grid, .edu-grid, .contact-grid { grid-template-columns: 1fr; }
    .tile-wide, .tile-full { grid-column: auto; }
    .tile { min-height: 0; padding: 28px 24px 32px; }
    .tile h3, .tile-wide h3, .role h3 { font-size: 24px; }
    .body-lg { font-size: 19px; }
    .facts { grid-template-columns: 1fr; }
    .fact { padding: 14px 0; border-bottom: 1px solid var(--hairline); }
    .edu-card { min-height: 0; }
    .contact { padding: 100px 0 88px; }
    .contact-grid { margin-top: 48px; }
    .footer-inner { flex-direction: column; }
}

/* =========================================================
   Motion & cursor
   ========================================================= */

/* Lenis smooth scrolling */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Reading progress */
.progress {
    position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120;
    background: linear-gradient(90deg, #2997ff, #a78bfa, #f472b6);
    transform-origin: 0 50%; transform: scaleX(0);
    pointer-events: none;
}

/* Hero parallax */
.hero-copy, .hero-photo { will-change: transform, opacity; }

/* Statement lights up word by word */
.statement.is-split { color: var(--ink); }
.statement .word {
    opacity: calc(0.16 + var(--lit, 0) * 0.84);
    transition: opacity 0.15s linear;
}

/* Custom cursor (mouse only — added by script) */
html.has-cursor, html.has-cursor * { cursor: none !important; }
.cursor-dot, .cursor-ring {
    position: fixed; top: 0; left: 0; z-index: 1000;
    pointer-events: none; border-radius: 50%;
    mix-blend-mode: difference;
}
.cursor-dot {
    width: 6px; height: 6px; margin: -3px 0 0 -3px;
    background: #fff;
}
.cursor-ring {
    width: 36px; height: 36px; margin: -18px 0 0 -18px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease),
                background 0.35s var(--ease), border-color 0.35s var(--ease), opacity 0.3s;
}
.cursor-ring.is-hover {
    width: 64px; height: 64px; margin: -32px 0 0 -32px;
    background: rgba(255, 255, 255, 1); border-color: transparent;
}
.cursor-ring.is-tile {
    width: 88px; height: 88px; margin: -44px 0 0 -44px;
    background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.6);
}
.cursor-ring.is-down { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
html.cursor-hidden .cursor-dot, html.cursor-hidden .cursor-ring { opacity: 0; }

/* Magnetic buttons ease back smoothly */
.btn, .nav-cta { transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.4s var(--ease); }

/* Cursor spotlight on cards */
.has-spot { position: relative; overflow: hidden; isolation: isolate; }
.has-spot::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 113, 227, 0.08), transparent 60%);
    opacity: 0; transition: opacity 0.4s var(--ease);
    pointer-events: none;
}
.has-spot:hover::after { opacity: 1; }
.tile-dark.has-spot::after, .contact-item.has-spot::after {
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(41, 151, 255, 0.18), transparent 60%);
}
.tile.has-spot, .skill-card.has-spot, .edu-card.has-spot { z-index: 0; }

@media (prefers-reduced-motion: reduce) {
    .statement .word { opacity: 1; }
    .progress { display: none; }
}

/* ---------- Key project: OCTA FLOW ---------- */
.project { background: var(--black); color: #f5f5f7; }
.project .section-eyebrow { color: #86868b; }
.project .section-title {
    margin-bottom: 20px;
    background: linear-gradient(90deg, #2997ff, #a78bfa);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.project-lede { max-width: 38ch; font-size: clamp(21px, 2.4vw, 28px); line-height: 1.3; letter-spacing: -0.02em; color: #a1a1a6; font-weight: 500; margin-bottom: 56px; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-item {
    background: #1d1d1f; border-radius: var(--radius-lg); padding: 32px;
    display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
.project-item-wide { grid-column: span 3; }
.project-kicker { font-size: 13px; font-weight: 600; color: var(--link-dark); }
.project-item p { font-size: 19px; line-height: 1.42; color: #d2d2d7; letter-spacing: -0.015em; }
.project-item-wide p { font-size: clamp(21px, 2.2vw, 26px); color: #f5f5f7; max-width: 46ch; }
.project-stat {
    font-size: 48px; font-weight: 700; letter-spacing: -0.04em; line-height: 1;
    background: linear-gradient(90deg, #2997ff, #a78bfa);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 834px) {
    .project-grid { grid-template-columns: 1fr; }
    .project-item-wide { grid-column: auto; }
    .project-lede { margin-bottom: 40px; }
}
.project-item.has-spot::after {
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(41, 151, 255, 0.18), transparent 60%);
}

/* ---------- Name appears in the top bar after the big name scrolls away ---------- */
.nav-logo { transition: color 0.4s var(--ease), opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.logo-fade .nav:not(.show-logo) .nav-logo { opacity: 0; transform: translateY(6px); pointer-events: none; }

/* ---------- Contact form ---------- */
.contact-form {
    margin: 48px auto 0; max-width: 640px; text-align: left;
    background: #1d1d1f; border-radius: var(--radius-lg); padding: 32px;
    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: 8px; min-width: 0; }
.field label { font-size: 13px; color: #a1a1a6; font-weight: 500; }
.field input, .field textarea {
    width: 100%; font: inherit; font-size: 17px; color: #f5f5f7;
    background: #000; border: 1px solid #424245; border-radius: 12px;
    padding: 12px 14px; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--link-dark); box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.25); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #ff6961; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot .btn { border: 0; cursor: pointer; font-family: inherit; }
.form-foot .btn[disabled] { opacity: 0.6; cursor: default; }
.form-status { font-size: 15px; color: #a1a1a6; }
.form-status.ok { color: #30d158; }
.form-status.err { color: #ff6961; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-or { margin-top: 56px; font-size: 15px; color: #86868b; }
.contact-or + .contact-grid { margin-top: 20px; }
@media (max-width: 640px) {
    .contact-form { padding: 24px 20px; margin-top: 36px; }
    .form-row { grid-template-columns: 1fr; }
}
