/* ============================================================
   Qi — Devon Honfield portfolio
   Faithful recreation (monospace + heavy display, grey ground)
   ============================================================ */

:root {
    --bg: #d6d6d4;
    --ink: #111111;
    --ink-soft: #5a5a58;
    --line: #b9b9b6;
    --accent: #e4334a;
    --white: #ffffff;
    --dark: #0d0d0d;

    --maxw: 1600px;
    --pad: clamp(20px, 4.5vw, 80px);
    --ease: cubic-bezier(.16, 1, .3, 1);

    --font-display: 'Archivo Black', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
::selection { background: var(--ink); color: var(--bg); }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    padding: 28px var(--pad);
    transition: transform .5s var(--ease);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: var(--maxw); margin: 0 auto;
}
.logo { font-family: var(--font-display); font-size: 30px; line-height: 1; letter-spacing: -.02em; }
.main-nav ul { display: flex; gap: 30px; list-style: none; }
.main-nav a { font-family: var(--font-mono); font-size: 15px; position: relative; padding: 2px 0; }
.main-nav a::after {
    content: ''; position: absolute; left: 0; bottom: -1px;
    width: 100%; height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle { display: none; flex-direction: column; gap: 7px; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span { width: 34px; height: 3px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Overlay menu ---------- */
.overlay-menu {
    position: fixed; inset: 0; z-index: 90; background: var(--dark); color: var(--bg);
    display: flex; flex-direction: column; justify-content: center; padding: var(--pad);
    clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); pointer-events: none;
}
body.menu-open .overlay-menu { clip-path: inset(0 0 0 0); pointer-events: auto; }
.overlay-menu ul { list-style: none; }
.overlay-menu li { overflow: hidden; }
.overlay-menu a {
    font-family: var(--font-display); font-size: clamp(46px, 12vw, 120px);
    line-height: 1.05; text-transform: uppercase; display: inline-block;
    transform: translateY(110%); transition: transform .7s var(--ease); transition-delay: calc(var(--i) * .06s);
}
body.menu-open .overlay-menu a { transform: translateY(0); }
.overlay-menu a:hover { color: var(--accent); }
.overlay-footer { margin-top: 44px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; opacity: 0; transition: opacity .5s ease .4s; }
body.menu-open .overlay-footer { opacity: 1; }
.overlay-social { display: flex; gap: 16px; }

/* ---------- Reveal animations ---------- */
.reveal { display: block; overflow: hidden; }
.reveal > span { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease); }
.reveal.in > span { transform: translateY(0); }
.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-up.in { opacity: 1; transform: translateY(0); }

/* ---------- Hero ---------- */
.hero { position: relative; max-width: var(--maxw); margin: 0 auto; padding: clamp(150px, 22vh, 240px) var(--pad) 0; }
.hero-title {
    position: relative; z-index: 3; font-family: var(--font-display);
    font-size: clamp(24px, 9.8vw, 190px); line-height: .86; text-transform: uppercase;
    text-align: center; letter-spacing: -.02em; color: var(--ink);
    text-shadow: 6px 7px 0 var(--white); pointer-events: none;
    white-space: nowrap;
}
.hero-img { position: relative; z-index: 1; margin: -2vw auto 0; width: min(92%, 1550px); aspect-ratio: 1550/870; overflow: hidden; background: var(--line); }
.hero-img img { filter: grayscale(.05); transition: transform 1.4s var(--ease); }

/* ---------- Intro ---------- */
.intro { padding: clamp(80px, 12vh, 160px) 0; border-bottom: 1px solid var(--line); }
.intro-inner {
    max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
    display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start;
}

/* ---------- Marquee ---------- */
.marquee { background: var(--dark); color: var(--white); overflow: hidden; padding: 16px 0; white-space: nowrap; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.marquee-track { display: inline-block; animation: scroll-x 30s linear infinite; }
.marquee-track span { font-family: var(--font-mono); font-size: clamp(18px, 2.4vw, 30px); letter-spacing: .02em; }
.marquee--footer { border-bottom: none; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Works masonry ---------- */
.works-grid { padding: clamp(50px, 9vh, 120px) 0; }
.masonry { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); column-count: 2; column-gap: clamp(24px, 4vw, 60px); }
.work { display: block; break-inside: avoid; margin-bottom: clamp(30px, 5vw, 70px); }
.work:nth-child(even) { margin-top: clamp(0px, 6vw, 90px); }
.work-media { overflow: hidden; aspect-ratio: var(--ar, 3 / 4); background: var(--line); }
.work-media img { filter: grayscale(.12); transition: transform 1.1s var(--ease), filter .6s ease; }
.work:hover .work-media img { transform: scale(1.04); filter: grayscale(0); }
.work-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--ink); }
.work-meta h3 { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 32px); text-transform: uppercase; letter-spacing: -.01em; transition: color .3s ease; }
.work:hover .work-meta h3 { color: var(--accent); }
.work-cat { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); text-transform: uppercase; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { max-width: var(--maxw); margin: 0 auto; padding: clamp(160px, 24vh, 280px) var(--pad) clamp(30px, 5vh, 70px); }
.page-index { display: block; color: var(--accent); font-size: 14px; margin-bottom: 10px; }
.page-title { font-family: var(--font-display); font-size: clamp(52px, 13vw, 200px); line-height: .9; text-transform: uppercase; text-shadow: 5px 6px 0 var(--white); overflow: hidden; }
.page-title > span { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease); }
.page-title.in > span { transform: translateY(0); }
.page-lead { max-width: 540px; margin-top: 26px; font-size: 17px; color: var(--ink-soft); }

/* ---------- About ---------- */
.about { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad) clamp(60px,10vh,130px); }
.about-lead p { font-family: var(--font-display); font-size: clamp(22px,3.4vw,40px); line-height: 1.18; max-width: 20ch; margin-bottom: clamp(40px,7vh,90px); }
.about-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(24px,3vw,50px); margin-bottom: clamp(40px,7vh,90px); }
.about-col h3 { font-family: var(--font-display); font-size: 18px; text-transform: uppercase; margin-bottom: 12px; }
.about-col p { color: var(--ink-soft); font-size: 15px; }
.about-img { aspect-ratio: 16/9; overflow: hidden; }
.about-img img { filter: grayscale(.1); transition: transform 1.2s var(--ease); }
.about-img:hover img { transform: scale(1.03); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--dark); color: var(--bg); overflow: hidden; }
.footer-bg { position: absolute; inset: 0; z-index: 0; }
.footer-bg img { filter: grayscale(1) brightness(.4) contrast(1.1); }
.footer-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 40%, rgba(13,13,13,.5), rgba(13,13,13,.93)); }
.footer-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: clamp(60px,11vh,140px) var(--pad) 40px; }
.footer-hello { font-family: var(--font-display); font-size: clamp(64px, 15vw, 230px); line-height: .9; text-transform: uppercase; margin-bottom: clamp(40px,7vh,90px); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px,6vw,100px); align-items: start; }

.footer-form .field { margin-bottom: 26px; }
.footer-form input, .footer-form textarea {
    width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,.4);
    padding: 10px 0; color: var(--white); font-family: var(--font-mono); font-size: 17px; transition: border-color .3s ease;
}
.footer-form input::placeholder, .footer-form textarea::placeholder { color: rgba(255,255,255,.65); }
.footer-form input:focus, .footer-form textarea:focus { outline: none; border-color: var(--white); }
.footer-form textarea { resize: vertical; }
.field-error { display: block; color: var(--accent); font-size: 13px; margin-top: 6px; }
.form-error-banner { color: var(--accent); margin-bottom: 20px; }
.hp { position: absolute; left: -9999px; }
.btn-submit {
    display: inline-block; position: relative; z-index: 0; overflow: hidden; margin-top: 6px;
    background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.6);
    padding: 16px 44px; font-family: var(--font-display); font-size: 14px; text-transform: uppercase;
    letter-spacing: .12em; cursor: pointer; transition: color .4s var(--ease);
}
.btn-submit::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--white); transform: translateY(101%); transition: transform .45s var(--ease); }
.btn-submit:hover { color: var(--dark); }
.btn-submit:hover::before { transform: translateY(0); }
.form-success h3 { font-family: var(--font-display); font-size: clamp(24px,4vw,40px); text-transform: uppercase; margin-bottom: 10px; }

.footer-offices { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.office h3 { font-family: var(--font-display); font-size: clamp(22px,2.4vw,30px); text-transform: uppercase; margin-bottom: 16px; }
.office h4 { font-family: var(--font-display); font-size: 15px; text-transform: uppercase; margin: 22px 0 8px; }
.office-addr, .office p { font-family: var(--font-mono); font-size: 15px; color: #c9c9c6; }
.office a:hover { color: var(--accent); }
.office-social { display: flex; gap: 18px; margin-top: 16px; }

.footer-bottom { position: relative; z-index: 2; max-width: var(--maxw); margin: clamp(50px,8vh,90px) auto 0; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.18); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 13px; color: #9a9a97; }
.footer-name { font-family: var(--font-display); letter-spacing: .02em; color: var(--white); }
.footer-social { display: flex; gap: 16px; }
.footer-social a:hover, .footer-bottom a:hover { color: var(--accent); }

/* ---------- Back to top ---------- */
.back-to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; background: var(--white); color: var(--ink); border: 1px solid var(--ink); cursor: pointer; font-size: 18px; opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .4s; z-index: 80; }
.back-to-top.show { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .main-nav { display: none; }
    .menu-toggle { display: flex; }
    .hero-img { width: 88%; }
    .masonry { column-count: 1; }
    .work:nth-child(even) { margin-top: 0; }
    .intro-inner { grid-template-columns: 1fr; }
    .intro-right { padding-top: 0; }
    .intro-stats { grid-template-columns: repeat(3, 1fr); }
    .about-cols { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
    .hero-title { text-shadow: 4px 4px 0 var(--white); }
    .footer-offices { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .reveal > span, .page-title > span { transform: none; }
    .reveal-up { transform: none; opacity: 1; }
    .marquee-track { animation: none; }
}

/* ============================================================
   Veloz additions
   ============================================================ */

/* ---------- Intro / About lead ---------- */
.intro-index {
    display: block; font-family: var(--font-mono); font-size: 13px;
    color: var(--accent); letter-spacing: .1em; margin-bottom: 22px;
}
.intro-lead {
    font-family: var(--font-display);
    font-size: clamp(30px, 4.5vw, 66px);
    line-height: 1.0; text-transform: uppercase;
    letter-spacing: -.02em;
}
.intro-label {
    display: block; font-family: var(--font-mono); font-size: 11px;
    text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft);
    margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.intro-right { padding-top: clamp(28px, 4vw, 52px); }
.intro-right p {
    font-size: clamp(14px, 1.3vw, 16px); color: var(--ink-soft);
    margin-bottom: 18px; line-height: 1.75;
}
.intro-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line);
}
.intro-stat strong {
    display: block; font-family: var(--font-display);
    font-size: clamp(30px, 3.5vw, 52px); line-height: 1;
    letter-spacing: -.02em; margin-bottom: 8px;
}
.intro-stat span {
    font-family: var(--font-mono); font-size: 11px;
    text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft);
}

/* ---------- Products (title overlay on hover) ---------- */
.products { padding: clamp(50px, 9vh, 120px) 0; }
.product-grid {
    max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 60px);
}
.product { display: block; }
.product:nth-child(even) { margin-top: clamp(0px, 6vw, 90px); }
.product-media {
    position: relative; overflow: hidden;
    aspect-ratio: 4 / 3; background: var(--line);
}
.product-media img { transition: transform 1.1s var(--ease), filter .6s ease; }
.product:hover .product-media img { transform: scale(1.05); }
.product-overlay {
    position: absolute; inset: 0; z-index: 2;
    display: flex; align-items: center; justify-content: center;
    padding: 24px; text-align: center;
    background: rgba(13,13,13,0);
    opacity: 0; transition: background .5s var(--ease), opacity .5s var(--ease);
}
.product:hover .product-overlay { background: rgba(13,13,13,.62); opacity: 1; }
.product-overlay h3 {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.6vw, 38px);
    text-transform: uppercase; color: var(--white); letter-spacing: -.01em;
    transform: translateY(14px); transition: transform .5s var(--ease) .05s;
}
.product:hover .product-overlay h3 { transform: translateY(0); }

/* ---------- Carousel ---------- */
.carousel-section {
    position: relative;
    padding: clamp(60px, 10vh, 120px) 0;
    display: flex;
    align-items: flex-start;
    background: var(--bg);
}
.car-arrow {
    flex: 0 0 auto;
    align-self: center;
    position: relative; top: -60px; /* visually center on the image */
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    background: none; border: none;
    font-size: 22px; color: var(--ink); cursor: pointer;
    letter-spacing: -.04em;
    transition: transform .3s var(--ease), opacity .3s;
}
.car-prev { padding-left: clamp(12px, 2.5vw, 40px); }
.car-next { padding-right: clamp(12px, 2.5vw, 40px); }
.car-prev:hover { transform: translateX(-6px); }
.car-next:hover { transform: translateX(6px); }

.carousel {
    flex: 1 1 auto;
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* show 3 cards + partial peek on the edges */
    padding: 0 clamp(20px, 3vw, 50px);
}
.carousel::-webkit-scrollbar { display: none; }

.car-card {
    flex: 0 0 420px;
    scroll-snap-align: start;
}
.car-media {
    width: 420px;
    height: 600px;
    overflow: hidden;
    background: var(--line);
}
.car-media img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(.08);
    transition: transform 1.2s var(--ease), filter .6s ease;
}
.car-card:hover .car-media img { transform: scale(1.04); filter: grayscale(0); }

.car-meta { padding-top: 20px; }
.car-cat {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: 15px;
    color: var(--ink-soft);
    letter-spacing: .01em;
    margin-bottom: 10px;
}
.car-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.18;
    letter-spacing: -.01em;
    color: var(--ink);
}

/* ---------- Footer (Veloz layout) ---------- */
.footer-cols {
    display: grid; grid-template-columns: 1.25fr 1fr 1fr;
    gap: clamp(40px, 5vw, 90px);
}
.footer-statement h2 {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 56px); line-height: 1.04;
    text-transform: uppercase; letter-spacing: -.01em; color: var(--white);
}
.footer-rights { font-family: var(--font-mono); font-size: 15px; color: #b8b8b5; margin-top: 28px; }
.footer-statement .footer-social { margin-top: 30px; }
.footer-statement .footer-social a { font-family: var(--font-display); font-size: 18px; color: var(--white); }
.footer-statement .footer-social a:hover { color: var(--accent); }

.footer-col h3 {
    font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 26px);
    text-transform: uppercase; color: var(--white); margin-bottom: 26px;
}
.footer-col p { font-family: var(--font-mono); font-size: 15px; line-height: 1.7; color: #c2c2bf; margin-bottom: 20px; }
.footer-col a { color: #c2c2bf; }
.footer-col a:hover { color: var(--accent); }
.footer-col--stack { display: flex; flex-direction: column; gap: clamp(34px, 4vh, 56px); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 16px; }
.footer-links a { font-family: var(--font-mono); font-size: 16px; color: #c2c2bf; }

@media (max-width: 1000px) {
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .footer-statement { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .product-grid { grid-template-columns: 1fr; }
    .product:nth-child(even) { margin-top: 0; }
    /* keep overlay visible on touch (no hover) */
    .product:active .product-overlay,
    .product:focus .product-overlay { background: rgba(13,13,13,.62); opacity: 1; }
    .car-card { flex-basis: calc((100% - clamp(20px, 3vw, 44px)) / 1.25); }
    .carousel { padding: 0 var(--pad); }
    .car-arrow { display: none; }
}
@media (max-width: 700px) {
    .footer-cols { grid-template-columns: 1fr; }
}

/* ---------- Footer: HI THERE layout with 3 Veloz offices ---------- */
.footer-grid--veloz { grid-template-columns: 1fr 1.45fr; }
.footer-offices--veloz { grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 2.5vw, 44px); }
.footer-offices--veloz .office-addr { font-size: 14px; line-height: 1.6; }
.footer-offices--veloz .office h3 { font-size: clamp(20px, 2vw, 28px); }
.footer-offices--veloz .office h4 { font-size: 14px; }
.footer-offices--veloz .office p { font-size: 14px; word-break: break-word; }

@media (max-width: 1100px) {
    .footer-grid--veloz { grid-template-columns: 1fr; }
    .footer-offices--veloz { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
    .footer-offices--veloz { grid-template-columns: 1fr; gap: 30px; }
}

/* ============================================================
   New sections: Process · Standards · CTA
   ============================================================ */

/* ---------- Process Section ---------- */
.process-section {
    background: var(--dark);
    color: var(--white);
    padding: clamp(80px, 12vh, 160px) 0;
}
.process-inner {
    max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
    display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(50px, 7vw, 120px); align-items: start;
}
.process-index {
    display: block; font-family: var(--font-mono); font-size: 13px;
    color: var(--accent); letter-spacing: .1em; margin-bottom: 22px;
}
.process-heading {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 66px);
    line-height: 1.0; text-transform: uppercase; letter-spacing: -.02em;
    color: var(--white); margin-bottom: 28px;
}
.process-sub {
    font-family: var(--font-mono); font-size: clamp(13px, 1.2vw, 15px);
    color: rgba(255,255,255,.5); line-height: 1.75; max-width: 340px;
}
.process-right {
    display: flex; flex-direction: column;
    border-top: 1px solid rgba(255,255,255,.12);
}
.process-step {
    display: grid; grid-template-columns: 52px 1fr; gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    align-items: start;
}
.process-num {
    font-family: var(--font-mono); font-size: 12px;
    color: var(--accent); letter-spacing: .1em; padding-top: 4px;
}
.process-title {
    font-family: var(--font-display);
    font-size: clamp(16px, 1.5vw, 20px);
    text-transform: uppercase; letter-spacing: -.01em;
    color: var(--white); margin-bottom: 8px;
}
.process-desc {
    font-family: var(--font-mono); font-size: clamp(12px, 1vw, 14px);
    color: rgba(255,255,255,.5); line-height: 1.7;
}

/* ---------- Standards Section ---------- */
.standards-section {
    background: var(--bg);
    padding: clamp(80px, 12vh, 160px) 0;
    border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
}
.standards-inner {
    max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
}
.standards-header {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 40px; margin-bottom: clamp(50px, 8vh, 90px);
    padding-bottom: 28px; border-bottom: 1px solid var(--line);
}
.standards-label {
    font-family: var(--font-mono); font-size: 11px;
    text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft);
    white-space: nowrap; padding-top: 6px;
}
.standards-heading {
    font-family: var(--font-display);
    font-size: clamp(38px, 6vw, 90px);
    line-height: .95; text-transform: uppercase; letter-spacing: -.02em;
    text-align: right;
}
.standards-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.standard-card {
    padding: clamp(28px, 3.5vw, 48px) clamp(24px, 3vw, 44px);
    border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
    transition: background .35s ease;
}
.standard-card:nth-child(3n) { border-right: none; }
.standard-card:nth-child(4), .standard-card:nth-child(5), .standard-card:nth-child(6) { border-bottom: none; }
.standard-card:hover { background: var(--ink); }
.standard-num {
    display: block; font-family: var(--font-mono); font-size: 11px;
    color: var(--accent); letter-spacing: .1em; margin-bottom: 18px;
    transition: color .3s;
}
.standard-card:hover .standard-num { color: var(--accent); }
.standard-title {
    font-family: var(--font-display);
    font-size: clamp(16px, 1.6vw, 21px);
    text-transform: uppercase; letter-spacing: -.01em;
    margin-bottom: 14px; line-height: 1.1;
    transition: color .3s;
}
.standard-card:hover .standard-title { color: var(--white); }
.standard-desc {
    font-family: var(--font-mono); font-size: clamp(12px, 1vw, 13px);
    color: var(--ink-soft); line-height: 1.7;
    transition: color .3s;
}
.standard-card:hover .standard-desc { color: rgba(255,255,255,.55); }

/* ---------- CTA Section ---------- */
.cta-section {
    background: var(--dark);
    padding: clamp(80px, 14vh, 180px) 0;
}
.cta-inner {
    max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
    display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; flex-wrap: wrap;
}
.cta-label {
    display: block; font-family: var(--font-mono); font-size: 11px;
    text-transform: uppercase; letter-spacing: .14em;
    color: var(--accent); margin-bottom: 22px;
}
.cta-heading {
    font-family: var(--font-display);
    font-size: clamp(48px, 9vw, 140px);
    line-height: .9; text-transform: uppercase; letter-spacing: -.02em;
    color: var(--white);
}
.cta-sub {
    font-family: var(--font-mono); font-size: clamp(13px, 1.2vw, 15px);
    color: rgba(255,255,255,.45); line-height: 1.75; margin-top: 28px;
}
.cta-btn {
    display: inline-block; flex-shrink: 0;
    position: relative; z-index: 0; overflow: hidden;
    background: transparent; color: var(--white);
    border: 1px solid rgba(255,255,255,.5);
    padding: 20px 52px;
    font-family: var(--font-display); font-size: 14px;
    text-transform: uppercase; letter-spacing: .12em;
    cursor: pointer; transition: color .4s var(--ease);
    align-self: flex-end;
}
.cta-btn::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: var(--white); transform: translateY(101%);
    transition: transform .45s var(--ease);
}
.cta-btn:hover { color: var(--dark); }
.cta-btn:hover::before { transform: translateY(0); }

/* ---------- Responsive: new sections ---------- */
@media (max-width: 900px) {
    .process-inner { grid-template-columns: 1fr; }
    .process-sub { max-width: 100%; }
    .standards-header { flex-direction: column; gap: 12px; }
    .standards-heading { text-align: left; }
    .standards-grid { grid-template-columns: 1fr 1fr; }
    .standard-card:nth-child(3n) { border-right: 1px solid var(--line); }
    .standard-card:nth-child(2n) { border-right: none; }
    .standard-card:nth-child(5), .standard-card:nth-child(6) { border-bottom: none; }
    .standard-card:nth-child(4) { border-bottom: 1px solid var(--line); }
    .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 540px) {
    .standards-grid { grid-template-columns: 1fr; }
    .standard-card { border-right: none !important; }
    .standard-card:not(:last-child) { border-bottom: 1px solid var(--line) !important; }
    .standard-card:last-child { border-bottom: none !important; }
}
