/* NOIR AUTO — fictional concept website for BRUMI. Global foundation */
:root {
  color-scheme: dark;
  --bg: #0b0d0e;
  --panel: #151819;
  --panel-alt: #1c2020;
  --text: #f5f6f2;
  --muted: #a1a8a5;
  --lime: #d7ff45;
  --line: #343a39;
  --page-gutter: clamp(22px, 5.2vw, 100px);
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { width: 100%; height: auto; display: block; }
::selection { background: var(--lime); color: var(--bg); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
[hidden] { display: none !important; }
.lime { color: var(--lime); }
.eyebrow { font-size: 11px; font-weight: 700; line-height: 1.6; letter-spacing: .18em; text-transform: uppercase; }
.disclaimer { color: #888f8b; font-size: 12px; line-height: 1.7; }
.skip-link { position: absolute; z-index: 99; top: -100px; left: 15px; padding: 12px; background: var(--lime); color: black; }
.skip-link:focus { top: 10px; }

/* Navigation */
.site-header { position: relative; z-index: 20; min-height: 92px; display: flex; justify-content: space-between; align-items: center; padding: 18px var(--page-gutter); border-bottom: 1px solid var(--line); background: var(--bg); }
.brand { display: inline-flex; flex-direction: column; width: fit-content; font-family: var(--display); font-size: clamp(27px, 3vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: .9; white-space: nowrap; }
.brand .lime { display: inline; }
.brand small { margin-top: 8px; font-family: var(--body); font-size: 8px; font-weight: 700; letter-spacing: .2em; color: var(--muted); }
.desktop-nav { display: flex; gap: clamp(20px, 3vw, 47px); align-items: center; }
.desktop-nav a { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: color .2s; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--lime); }
.menu-button { display: none; background: transparent; border: 0; width: 44px; height: 44px; padding: 12px 4px; }
.menu-button span { display: block; margin: 7px 0; width: 32px; border-top: 2px solid var(--text); transition: transform .2s; }
.mobile-nav { display: none; }

/* Buttons and links */
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 54px; padding: 16px 20px; border: 1px solid var(--lime); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: background .22s, color .22s, transform .22s; }
.button:hover { transform: translateY(-3px); }
.button-lime { background: var(--lime); color: #0b0d0e; }
.button-lime:hover { background: #f0ffab; }
.button-outline { background: transparent; color: var(--lime); }
.button-outline:hover { background: var(--lime); color: #0b0d0e; }
.text-link, .back-link { width: fit-content; display: inline-flex; gap: 24px; justify-content: space-between; border-bottom: 1px solid currentColor; padding-bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.text-link:hover, .back-link:hover { color: var(--lime); }

/* Hero */
.hero-photo { height: clamp(320px, 48vw, 720px); position: relative; overflow: hidden; }
.hero-image, .image-break-photo { height: 100%; object-fit: cover; object-position: center 52%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.4), transparent 55%); pointer-events: none; }
.hero-photo-tag { position: absolute; bottom: 24px; left: var(--page-gutter); font-size: 10px; font-weight: 700; letter-spacing: .17em; }
.hero-main { padding: clamp(54px, 6.5vw, 110px) var(--page-gutter) 50px; }
.hero-kicker { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.signal-dot { background: var(--lime); width: 7px; height: 7px; border-radius: 50%; }
h1, h2, h3, p { margin-top: 0; }
.hero h1, .inner-hero h1, .cta-section h2 { margin: 22px 0; font-family: var(--display); font-weight: 800; line-height: .88; letter-spacing: -.027em; text-transform: uppercase; }
.hero h1 { font-size: clamp(72px, 10.8vw, 190px); }
.hero h1 em { color: var(--lime); font-style: normal; }
.outline-type { -webkit-text-stroke: 1.5px var(--text); color: transparent; }
.hero-bottom { display: flex; justify-content: space-between; align-items: end; gap: 28px; }
.hero-bottom p { max-width: 420px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.hero-strip { display: flex; gap: 28px; justify-content: space-between; flex-wrap: wrap; padding: 19px var(--page-gutter); background: var(--lime); color: #101312; font-family: var(--display); font-size: clamp(17px, 1.9vw, 30px); font-weight: 800; letter-spacing: .03em; }

/* Sections */
.section { padding: clamp(84px, 10vw, 165px) var(--page-gutter); }
.compact-section { padding-top: 65px; }
.section-label { color: var(--lime); }
.intro-section { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.display-heading { font-family: var(--display); font-size: clamp(62px, 8.2vw, 146px); line-height: .88; letter-spacing: -.018em; font-weight: 800; text-transform: uppercase; margin: 0; }
.intro-description { margin: 38px 0 0; max-width: 600px; font-size: clamp(16px, 1.6vw, 23px); line-height: 1.65; color: var(--muted); }
.oversize-number { position: absolute; bottom: -84px; right: -10px; font-family: var(--display); font-weight: 800; font-size: 290px; line-height: 1; color: rgba(255,255,255,.025); pointer-events: none; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 26px; margin-bottom: 48px; }
.section-heading .eyebrow { color: var(--lime); display: block; margin-bottom: 25px; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.service-card { display: flex; flex-direction: column; min-height: 510px; background: var(--panel); border: 1px solid var(--line); padding: clamp(23px, 3vw, 42px); transition: border-color .2s, background .2s; }
.service-card:hover { border-color: var(--lime); background: #1b201c; }
.service-top { display: flex; justify-content: space-between; color: var(--lime); }
.service-arrow { font-size: 23px; }
.service-card h3 { margin: 56px 0 12px; max-width: 270px; font-family: var(--display); font-size: clamp(42px, 4vw, 70px); line-height: .94; font-weight: 700; }
.service-card p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.service-card strong { display: block; margin: 20px 0 16px; font-family: var(--display); font-size: 35px; font-weight: 600; color: var(--lime); }
.service-card ul { flex: 1; list-style: none; margin: 0 0 30px; padding: 0; }
.service-card li { padding: 10px 0; color: #b1b6b2; font-size: 12px; border-bottom: 1px solid var(--line); }
.service-card li::before { content: '＋'; color: var(--lime); margin-right: 10px; }
.service-card .text-link { font-size: 10px; }
.image-break { height: clamp(430px, 57vw, 790px); position: relative; overflow: hidden; }
.image-break::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.6), transparent 85%); }
.image-break-content { position: absolute; z-index: 1; left: var(--page-gutter); bottom: 14%; }
.image-break-content h2 { margin: 20px 0 0; font-family: var(--display); font-size: clamp(60px, 8vw, 130px); line-height: .89; }
.compare-section { background: #111414; }
.compare-editorial { display: grid; grid-template-columns: .6fr 1fr; gap: 45px; padding: clamp(24px,4vw,70px); border: 1px solid var(--line); background: #1b1f1f; }
.compare-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--lime);
  padding: 28px;
}
.compare-car {
  display: block;
  width: min(100%, 340px);
  height: auto;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.compare-car-caption {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-align: center;
}
.compare-editorial h3 { margin: 0 0 24px; font-family: var(--display); font-size: clamp(42px, 5vw, 84px); line-height: .96; }
.compare-editorial p { max-width: 650px; line-height: 1.8; color: var(--muted); }
.work-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
.work-tile { position: relative; display: block; min-height: 420px; overflow: hidden; background: var(--panel); }
.work-tile-large { min-height: 560px; }
.work-tile img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .7s; }
.work-tile:hover img, .gallery-card:hover img { transform: scale(1.04); }
.work-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85), transparent 60%); }
.work-tile-overlay { position: absolute; left: 30px; right: 30px; bottom: 29px; z-index: 1; }
.work-tile-overlay span { color: var(--lime); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.work-tile-overlay h3 { display: flex; align-items: end; justify-content: space-between; font-family: var(--display); font-size: clamp(40px, 4vw, 66px); margin: 12px 0 0; line-height: .98; }
.work-tile-overlay b { font: 30px var(--body); }
.process-section { background: var(--panel); }
.process-list { border-top: 1px solid var(--line); }
.process-row { display: grid; grid-template-columns: .5fr 1.3fr 1fr 25px; align-items: center; gap: 24px; padding: 31px 0; border-bottom: 1px solid var(--line); }
.process-row > .eyebrow { color: var(--lime); }
.process-row h3 { margin: 0; font-family: var(--display); font-size: clamp(37px, 4vw, 65px); line-height: 1; }
.process-row p { margin: 0; max-width: 360px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.process-row > span:last-child { color: var(--lime); }
.cta-section { padding: clamp(90px, 11vw, 190px) var(--page-gutter); background: var(--lime); color: #0b0d0e; }
.cta-section .lime { color: #526013; }
.cta-section h2 { font-size: clamp(70px, 11vw, 180px); }
.cta-bottom { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.cta-bottom p { max-width: 400px; line-height: 1.7; }
.cta-section .button-lime { color: var(--lime); border-color: #0b0d0e; background: #0b0d0e; }
.cta-section .button-lime:hover { background: #303733; }

/* Inner pages */
.inner-hero { padding: clamp(85px, 10vw, 170px) var(--page-gutter) clamp(65px, 8vw, 120px); }
.inner-hero > .eyebrow { color: var(--lime); }
.inner-hero h1 { font-size: clamp(80px, 12.5vw, 190px); margin: 35px 0; }
.inner-hero-bottom { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.inner-hero-bottom p { max-width: 490px; font-size: clamp(16px, 1.5vw, 22px); line-height: 1.7; color: var(--muted); }
.inner-hero-bottom .eyebrow { color: var(--lime); }
.split-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(35px, 7vw, 120px); }
.feature-img { aspect-ratio: 4/4.5; object-fit: cover; }
.split-copy h2, .case-study h2 { margin: 30px 0; font-family: var(--display); font-size: clamp(55px, 6vw, 105px); line-height: .9; }
.split-copy p { color: var(--muted); line-height: 1.8; max-width: 400px; }
.split-copy .button { margin-top: 24px; }
.work-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 45px 20px; }
.gallery-card { display: block; overflow: hidden; }
.gallery-card img { aspect-ratio: 1.2; object-fit: cover; transition: transform .6s; }
.gallery-meta { display: flex; align-items: end; justify-content: space-between; padding-top: 18px; }
.gallery-meta .eyebrow { color: var(--lime); }
.gallery-meta h2 { margin: 8px 0 0; font-family: var(--display); font-size: clamp(35px, 4vw, 60px); }
.gallery-arrow { font-size: 30px; color: var(--lime); }
.back-link { display: block; margin-bottom: 40px; }
.detail-hero img { width: 100%; max-height: 790px; object-fit: cover; }
.case-study { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.case-study .eyebrow { color: var(--lime); }
.case-study p { color: var(--muted); line-height: 1.9; }
.detail-images { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 0 var(--page-gutter); }
.detail-images img { height: 530px; object-fit: cover; }
.next-project { padding: 90px var(--page-gutter); border-top: 1px solid var(--line); margin-top: 100px; }
.next-project .eyebrow { color: var(--lime); }
.next-project a { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 18px; font-family: var(--display); font-size: clamp(45px, 6vw, 100px); line-height: 1; }
.next-project a:hover { color: var(--lime); }

/* Demo form */
.booking-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 8vw, 130px); border-top: 1px solid var(--line); }
.booking-side .eyebrow { color: var(--lime); }
.booking-side h2 { margin: 30px 0; font-family: var(--display); font-size: clamp(48px, 5vw, 85px); line-height: .95; }
.booking-side p { max-width: 430px; color: var(--muted); line-height: 1.8; }
.booking-steps { display: flex; flex-direction: column; gap: 15px; border-top: 1px solid var(--line); margin-top: 55px; padding-top: 30px; color: var(--lime); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.booking-form { display: flex; flex-direction: column; gap: 30px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.booking-form label { display: flex; flex-direction: column; gap: 12px; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.booking-form input, .booking-form select, .booking-form textarea { width: 100%; padding: 16px 0; border: 0; border-bottom: 1px solid #5b6260; border-radius: 0; background: transparent; color: var(--text); font-size: 15px; font-weight: 400; letter-spacing: normal; }
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus { border-color: var(--lime); outline: none; }
.booking-form input::placeholder, .booking-form textarea::placeholder { color: #818985; }
.booking-form select option { background: var(--panel); }
.booking-form .button { width: 100%; }
.form-disclosure, .form-error { font-size: 12px; line-height: 1.7; color: var(--muted); }
.form-error { color: #ffb5aa; }
.form-preview { padding: 24px; border: 1px solid var(--lime); background: #1a2219; font-size: 14px; line-height: 1.8; }
.form-preview h3 { font-family: var(--display); font-size: 35px; margin-bottom: 10px; }
.form-preview dl { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; overflow-wrap: anywhere; }
.form-preview dt { color: var(--lime); }
.form-preview dd { margin: 0; }

/* Footer & reveal */
.footer { padding: 70px var(--page-gutter) 25px; background: #090a0b; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; margin-bottom: 85px; }
.footer-top .brand { font-size: 55px; }
.footer-top p { font-family: var(--display); font-size: 33px; line-height: 1; text-transform: uppercase; text-align: right; }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.7; letter-spacing: .08em; text-transform: uppercase; }
.footer-bottom a:hover { color: var(--lime); }
.reveal { opacity: 1; transform: none; }
.has-js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.has-js .reveal.is-visible { opacity: 1; transform: none; }

/* Tablet and mobile */
@media (max-width: 1050px) {
  .desktop-nav { gap: 19px; }
  .service-card { padding: 25px; }
  .service-card h3 { font-size: 47px; }
  .work-tile-large { min-height: 450px; }
}
@media (max-width: 760px) {
  .site-header { min-height: 75px; }
  .desktop-nav { display: none; }
  .menu-button { display: block; z-index: 31; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .mobile-nav { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; display: flex; flex-direction: column; gap: 0; padding: 15px var(--page-gutter) 35px; border-bottom: 1px solid var(--line); background: #101313; visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .2s, transform .2s, visibility .2s; }
  .mobile-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .mobile-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 35px; font-weight: 700; text-transform: uppercase; }
  .mobile-nav a[aria-current="page"] { color: var(--lime); }
  .hero-photo { height: 430px; }
  .hero-image { object-position: 56% center; }
  .hero-main { padding-top: 55px; }
  .hero h1 { font-size: clamp(62px, 13vw, 100px); }
  .hero-bottom, .cta-bottom, .inner-hero-bottom { align-items: start; flex-direction: column; }
  .hero-strip { justify-content: flex-start; gap: 10px 22px; font-size: 20px; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .intro-section, .case-study, .booking-layout, .split-feature { grid-template-columns: 1fr; }
  .intro-section { gap: 30px; }
  .display-heading { font-size: clamp(58px, 11vw, 94px); }
  .section-heading { align-items: start; flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-card h3 { margin-top: 30px; }
  .service-card ul { margin-bottom: 25px; }
  .work-grid, .work-gallery, .detail-images { grid-template-columns: 1fr; }
  .work-tile, .work-tile-large { min-height: 470px; }
  .image-break { height: 570px; }
  .image-break-content h2 { font-size: 75px; }
  .compare-editorial { grid-template-columns: 1fr; gap: 0; }
  .compare-icon { padding: 20px; }
  .process-row { grid-template-columns: 45px 1fr 18px; gap: 12px; }
  .process-row p { grid-column: 2 / 3; }
  .process-row > span:last-child { grid-row: 1; grid-column: 3; }
  .cta-section h2 { font-size: clamp(62px, 12vw, 100px); }
  .inner-hero { padding-top: 80px; }
  .inner-hero h1 { font-size: clamp(72px, 12vw, 120px); }
  .detail-images img { height: 460px; }
  .next-project { padding: 65px var(--page-gutter); }
  .next-project a { font-size: 50px; }
  .footer-top, .footer-bottom { flex-direction: column; }
  .footer-top { margin-bottom: 55px; }
  .footer-top p { text-align: left; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 60px; }
  .hero-photo { height: 355px; }
  .field-row { grid-template-columns: 1fr; }
  .work-tile, .work-tile-large { min-height: 360px; }
  .inner-hero h1 { font-size: 67px; }
  .next-project a { font-size: 38px; }
  .detail-images img { height: 360px; }
  .image-break-content h2 { font-size: 59px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .has-js .reveal { opacity: 1; transform: none; }
}
.brand-name { display: block; }

/* Individual work-study navigation */
.next-project .all-work-link {
  display: inline-block;
  margin-top: 30px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.4;
}
