@import url("fonts-local.css");

:root {
  --bg: #08090a;
  --surface: #111315;
  --surface-2: #191b1d;
  --ink: #f5f4f0;
  --muted: #aeb0ae;
  --rule: #343639;
  --accent: #d26b50;
  --accent-bright: #f18a6d;
  --cream: #dfd7c8;
  --content: 1190px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg) url("../images/grain.svg") repeat; color: var(--ink); font-family: "Roboto", Arial, sans-serif; line-height: 1.65; }
body.modal-open { overflow: hidden; }
img { max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--accent-bright); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 4px; }
::selection { color: #090909; background: #f0dfd2; }

.container { width: min(calc(100% - 64px), var(--content)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 12px; z-index: 9999; background: white; color: black; padding: 10px 16px; }
.skip-link:focus { top: 10px; }

/* The R.I.O. header geometry is deliberately retained across both editions. */
.site-header { position: absolute; inset: 0 0 auto; z-index: 50; }
.site-header.is-solid { position: relative; background: #111214; border-bottom: 1px solid var(--rule); }
.nav-shell { width: min(calc(100% - 32px), 1280px); min-height: 108px; margin-inline: auto; display: flex; align-items: center; gap: 14px; }
.brand { width: 145px; flex: 0 0 145px; text-decoration: none; color: #fff; line-height: 1; display: flex; align-items: center; gap: 5px; }
.brand-mark { width: 40px; height: 40px; object-fit: contain; filter: grayscale(1) brightness(1.3); }
.brand-copy { display: flex; flex-direction: column; align-items: flex-start; }
.brand-overline { font-family: "Montserrat", Arial, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .22em; }
.brand-name { margin-top: 2px; font-family: "Roboto Slab", Georgia, serif; font-weight: 700; font-size: 16px; letter-spacing: -.04em; }
.brand-edition { margin-top: 2px; color: #c9cac8; font-family: "Source Sans Pro", "Roboto", Arial, sans-serif; font-size: 14px; font-style: italic; font-weight: 400; letter-spacing: .09em; line-height: 1.15; white-space: nowrap; }
.primary-nav { display: flex; flex: 1; align-items: center; justify-content: flex-end; gap: clamp(5px, 1.15vw, 18px); min-width: 0; }
.primary-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 6px 8px; font-family: "Roboto Slab", Georgia, serif; font-size: 14px; font-weight: 700; line-height: 1.1; white-space: nowrap; text-decoration: none; color: #f8f8f7; border-radius: 2px; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: white; background: rgba(210,107,80,.83); }
.primary-nav .nav-cta { background: var(--accent); color: #fff; padding-inline: 12px; }
.primary-nav .nav-cta:hover { background: #ad4e39; }
.primary-nav .edition-switch { margin-left: 4px; padding-inline: 13px; color: #f6f6f4; background: #08090a; border: 1px solid #b9bbb9; letter-spacing: .04em; }
.primary-nav .edition-switch:hover { background: #f4f4f1; color: #111; }
.menu-toggle { display: none; margin-left: auto; align-items: center; justify-content: center; flex-direction: column; gap: 5px; width: 48px; height: 48px; border: 1px solid #fff7; border-radius: 2px; background: #101010bb; color: white; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: currentColor; }

.hero { position: relative; height: min(850px, 100svh); min-height: 640px; overflow: hidden; background: #08090a; isolation: isolate; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.02); transition: opacity .9s ease, transform 7s ease; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-slide:first-child { object-position: center 44%; }
.hero-slide:nth-child(2) { object-position: center 37%; }
.hero-slide:nth-child(3) { object-position: center 39%; }
.hero-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.40) 30%, rgba(0,0,0,.67) 73%, rgba(0,0,0,.72) 100%), linear-gradient(90deg, rgba(0,0,0,.23), transparent 33%, transparent 67%, rgba(0,0,0,.25)); }
.hero-content { position: relative; z-index: 2; width: min(calc(100% - 36px), 1190px); margin: 0 auto; padding-top: clamp(185px, 24vh, 245px); text-align: center; }
.hero-overline, .eyebrow { font-family: "Roboto Slab", Georgia, serif; font-size: 13px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--cream); }
.hero-overline { display: flex; align-items: center; justify-content: center; gap: 20px; font-size: clamp(15px, 2.3vw, 27px); }
.hero-overline::before, .hero-overline::after { content: ""; display: block; width: clamp(28px, 8vw, 100px); height: 1px; background: #eee9df; }
.hero h1 { margin: 14px 0 22px; font-family: "Roboto Slab", Georgia, serif; font-size: clamp(38px, 5.65vw, 75px); font-weight: 700; letter-spacing: .085em; line-height: 1.2; text-transform: uppercase; text-shadow: 0 3px 25px #000c; }
.hero h1.speedmaster-heading { font-family: "Source Sans Pro", "Roboto", Arial, sans-serif; font-size: clamp(38px, 5vw, 66px); font-weight: 400; letter-spacing: .065em; text-transform: none; }
.speedmaster-word { display: inline-block; color: #c9cac8; font-family: "Source Sans Pro", "Roboto", Arial, sans-serif; font-style: italic; font-weight: 400; letter-spacing: .075em; line-height: 1.1; text-transform: none; white-space: nowrap; }
.hero h1 .speedmaster-word { margin-inline: .07em; }
.section-title .speedmaster-word { margin-right: .1em; font-size: 1.07em; }
.hero p { max-width: 810px; margin: 0 auto; font-size: clamp(17px, 1.65vw, 22px); line-height: 1.4; text-shadow: 0 2px 10px #000; }
.hero-actions, .actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 30px; margin-top: 42px; }
.btn { display: inline-flex; min-height: 58px; align-items: center; justify-content: center; padding: 14px 29px; border: 1px solid transparent; border-radius: 2px; font-family: "Roboto Slab", Georgia, serif; font-size: 16px; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-align: center; text-transform: uppercase; transition: background .2s, border-color .2s, color .2s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #a94d37; color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: #111; }
.btn-quiet { min-height: 48px; background: #f4f1eb; color: #121212; }
.btn-quiet:hover { background: var(--accent); color: white; }
.hero-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 25px; display: flex; gap: 13px; align-items: center; justify-content: center; }
.hero-dots button { width: 14px; height: 14px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: transparent; box-shadow: 0 0 0 2px #0008; }
.hero-dots button[aria-current="true"] { background: white; }
.hero-corner { position: absolute; z-index: 2; bottom: 37px; left: 32px; color: #e1ddda; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }

.page-hero { min-height: 330px; position: relative; display: grid; align-items: end; overflow: hidden; background: #141517; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#070707d9 3%,#08080877 53%,#08080855),linear-gradient(0deg,#090909bf,transparent 58%); }
.page-hero .container { position: relative; z-index: 1; padding-top: 46px; padding-bottom: 52px; }
.page-hero h1 { max-width: 840px; margin: 10px 0 12px; font-family: "Roboto Slab",Georgia,serif; font-size: clamp(37px,5vw,65px); line-height: 1.16; letter-spacing: .025em; }
.page-hero p { max-width: 700px; margin: 0; font-size: 19px; color: #efeee9; }

.section { position: relative; padding: 100px 0; background-image: url("../images/grain.svg"); background-repeat: repeat; }
.section.tight { padding: 70px 0; }
.section.muted { background: #111315; }
.section.soft { background: #0d0f10; }
.section.border-top { border-top: 1px solid var(--rule); }
.section-title { margin: 10px 0 20px; font-family: "Roboto Slab",Georgia,serif; font-size: clamp(31px,3.8vw,52px); line-height: 1.18; font-weight: 600; letter-spacing: .005em; }
.section-intro { max-width: 760px; margin: 0 auto 45px; color: #c3c4c2; font-size: 18px; }
.section-head { text-align: center; }
.section-head .eyebrow::after { content: ""; display: block; width: 78px; height: 2px; margin: 22px auto 0; background: var(--accent); }
.section-head .section-title { margin-top: 24px; }
.lede { font-size: clamp(19px,2vw,24px); line-height: 1.55; color: #e4e2db; }
.muted-text { color: var(--muted); }
.accent { color: var(--accent-bright); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,6vw,85px); align-items: center; }
.split.wide-photo { grid-template-columns: .92fr 1.08fr; }
.split.reverse > :first-child { order: 2; }
.photo-frame { position: relative; margin: 0; background: #171819; overflow: hidden; border: 1px solid #ffffff20; }
.photo-frame img { display: block; width: 100%; height: 100%; max-height: 610px; object-fit: cover; }
.photo-frame figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 28px 17px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: linear-gradient(transparent,#000b); }
.tick-rule { height: 21px; margin: 25px 0 30px; background: repeating-linear-gradient(90deg,#9b9a93 0 1px,transparent 1px 15px); mask-image: linear-gradient(90deg,#000 0%,transparent 87%); }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 5px; }
.text-link::after { content: "→"; color: var(--accent-bright); }
.text-link:hover { border-color: white; }

.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.feature { min-height: 250px; padding: 34px 30px; background: #17191b; border: 1px solid #ffffff16; text-align: left; }
.feature-num, .model-no { display: block; color: var(--accent-bright); font-family: "Montserrat",Arial,sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .24em; }
.feature h3 { margin: 22px 0 10px; font-family: "Roboto Slab",Georgia,serif; font-size: 24px; line-height: 1.26; }
.feature p { color: #bfc0bd; margin: 0; }
.image-band { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.image-band a, .image-band span { display: block; overflow: hidden; min-height: 220px; background: #16181a; }
.image-band img { display: block; width: 100%; height: 270px; object-fit: cover; transition: transform .4s; }
.image-band a:hover img { transform: scale(1.04); }

.model-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.model-card { position: relative; min-height: 340px; background: #151719; border: 1px solid #ffffff18; overflow: hidden; }
.model-card > img { display: block; width: 100%; height: 235px; object-fit: cover; }
.model-card-content { padding: 23px 26px 28px; }
.model-card h3 { margin: 10px 0 8px; font-family: "Roboto Slab",Georgia,serif; font-size: 23px; }
.model-card p { margin: 0; color: #c5c5c1; font-size: 15px; }
.model-card .text-link { margin-top: 20px; font-size: 14px; }
.reference-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.reference-card { padding: 29px; border: 1px solid #ffffff20; background: #121416; min-height: 220px; }
.reference-card h3 { margin: 12px 0 7px; font-family: "Roboto Slab",Georgia,serif; font-size: 24px; }
.reference-card .reference { display: inline-block; color: #ddd2c8; font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.reference-card p { margin: 13px 0 0; color: #bec0bd; font-size: 15px; }
.reference-card.featured { border-color: #a65e4c; background: linear-gradient(135deg,#271915,#111315 60%); }
.reference-note { margin-top: 28px; color: #b8b9b6; font-size: 14px; }

.service-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.service-panel { padding: clamp(30px,4vw,52px); background: #17191b; border: 1px solid #ffffff22; text-align: left; }
.service-panel.exclusive { grid-column: 1/-1; border-color: #ad715e; background: linear-gradient(145deg,#2a1b18,#17191b 65%); }
.service-panel.exclusive p { max-width: 820px; }
.service-panel.exclusive .check-list { columns: 2; column-gap: 36px; }
.service-panel.exclusive .check-list li { break-inside: avoid; }
.service-panel h3 { margin: 12px 0 12px; font-family: "Roboto Slab",Georgia,serif; font-size: clamp(27px,3vw,37px); }
.service-panel p { color: #dadbd7; }
.check-list { list-style: none; padding: 0; margin: 24px 0 28px; }
.check-list li { position: relative; padding: 10px 0 10px 27px; border-top: 1px solid #ffffff18; }
.check-list li::before { content: "+"; position: absolute; left: 0; top: 9px; color: var(--accent-bright); font-weight: 700; }
.fine-print { color: #aeb0ad; font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 25px; counter-reset: step; }
.step { border-top: 1px solid #99948b; padding-top: 25px; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; color: var(--accent-bright); font-family: "Montserrat",Arial,sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .18em; }
.step h3 { margin: 22px 0 8px; font-family: "Roboto Slab",Georgia,serif; font-size: 21px; }
.step p { color: #bdbfbd; margin: 0; }
.quote { margin: 0; padding: clamp(28px,5vw,55px); border-left: 3px solid var(--accent); background: #17191b; font-family: "Roboto Slab",Georgia,serif; font-size: clamp(21px,2.4vw,30px); line-height: 1.55; }

.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.gallery-item { position: relative; display: block; padding: 0; border: 1px solid #ffffff20; background: #151719; color: #fff; text-align: left; overflow: hidden; }
.gallery-item img { display: block; width: 100%; height: clamp(225px,25vw,320px); object-fit: cover; transition: transform .35s; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item span { display: block; padding: 18px 20px 20px; font-size: 15px; font-weight: 700; }
.gallery-item small { display: block; color: var(--accent-bright); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.lightbox { border: 0; padding: 10px; max-width: min(95vw,1300px); max-height: 95vh; background: #101112; color: white; }
.lightbox::backdrop { background: #000e; }
.lightbox img { display: block; max-width: 100%; max-height: calc(90vh - 65px); object-fit: contain; }
.lightbox figcaption { padding: 12px 5px 2px; color: #dededa; }
.lightbox-close { position: absolute; top: 20px; right: 20px; z-index: 2; width: 43px; height: 43px; border: 1px solid white; background: #080808de; color: #fff; font-size: 27px; line-height: 1; }

.contact-card { padding: clamp(28px,5vw,55px); background: #17191b; border: 1px solid #ffffff24; }
.contact-card h2 { margin-top: 0; }
.contact-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin: 35px 0; }
.contact-list div { padding: 18px 0; border-top: 1px solid #ffffff28; }
.contact-list dt { color: var(--accent-bright); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.contact-list dd { margin: 9px 0 0; font-size: 18px; overflow-wrap: anywhere; }
.contact-list a { text-decoration-color: var(--accent); text-underline-offset: 5px; }
.notice { border: 1px solid #745a4e; padding: 20px 24px; background: #211a17; color: #e6dfd8; }
.notice p { margin: 0; }
.pickup-list { list-style: none; counter-reset: pickup; padding: 0; margin: 26px 0 30px; }
.pickup-list li { counter-increment: pickup; display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 15px 0; border-top: 1px solid #ffffff28; }
.pickup-list li::before { content: "0" counter(pickup); color: var(--accent-bright); font-family: "Montserrat", Arial, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .06em; }

.cta-banner { background: #1e1715; border-top: 1px solid #67473d; border-bottom: 1px solid #67473d; }
.cta-banner .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-banner h2 { margin: 0 0 10px; font-family: "Roboto Slab",Georgia,serif; font-size: clamp(27px,3vw,38px); }
.cta-banner p { margin: 0; color: #d9d0c9; }
.cta-banner .btn { flex: 0 0 auto; }

.site-footer { background: #17191b; color: #d6d7d3; border-top: 1px solid #ffffff20; }
.footer-main { display: grid; grid-template-columns: 1.2fr .8fr 1fr 1fr; gap: 35px; padding: 72px 0 55px; }
.footer-main h3 { margin: 0 0 23px; color: #fff; font-family: "Roboto Slab",Georgia,serif; font-size: 21px; }
.footer-main p { margin: 10px 0; }
.footer-main a { text-decoration: none; }
.footer-main a:hover { text-decoration: underline; }
.footer-brand { margin-bottom: 25px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin: 0 0 11px; }
.footer-bottom { background: #090a0b; border-top: 1px solid #ffffff18; color: #aeb0ad; font-size: 13px; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1100px) {
  .nav-shell { width: min(calc(100% - 28px), 1280px); gap: 5px; }
  .brand { flex-basis: 132px; width: 132px; }
  .brand-edition { font-size: 13px; }
  .primary-nav { gap: 2px; }
  .primary-nav a { font-size: 12px; padding-inline: 6px; }
  .primary-nav .nav-cta,.primary-nav .edition-switch { padding-inline: 9px; }
}
@media (max-width: 840px) {
  .nav-shell { min-height: 82px; }
  .menu-toggle { display: flex; }
  .primary-nav { display: none; position: absolute; top: 81px; left: 0; right: 0; padding: 12px 20px 20px; background: #0c0d0ff7; border-bottom: 1px solid #ffffff30; box-shadow: 0 15px 30px #0008; flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { justify-content: flex-start; font-size: 16px; padding: 12px 15px; }
  .primary-nav .edition-switch { margin: 8px 0 0; }
  .hero-content { padding-top: 180px; }
  .hero h1 { letter-spacing: .055em; }
  .hero-corner { display: none; }
  .feature-grid,.model-grid,.reference-grid,.gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .steps { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 670px) {
  .container { width: min(calc(100% - 36px), var(--content)); }
  .hero { min-height: 625px; height: 100svh; max-height: 760px; }
  .hero-slide:first-child { object-position: 45% center; }
  .hero-slide:nth-child(2) { object-position: 43% center; }
  .hero-slide:nth-child(3) { object-position: 68% center; }
  .hero-content { padding-top: clamp(160px,24svh,220px); }
  .hero h1 { margin-top: 15px; font-size: clamp(35px,10vw,51px); line-height: 1.15; overflow-wrap: anywhere; }
  .hero h1.speedmaster-heading { font-size: clamp(35px,10vw,51px); }
  .hero-overline { font-size: 13px; letter-spacing: .12em; gap: 9px; }
  .hero-overline::before,.hero-overline::after { width: 24px; }
  .hero p { font-size: 17px; }
  .hero-actions { gap: 12px; margin-top: 27px; }
  .hero-actions .btn { min-height: 48px; padding: 11px 14px; font-size: 12px; }
  .hero-dots { bottom: 20px; }
  .page-hero { min-height: 270px; }
  .page-hero .container { padding-bottom: 36px; }
  .page-hero p { font-size: 17px; }
  .section { padding: 65px 0; }
  .section.tight { padding: 50px 0; }
  .split,.split.wide-photo,.service-grid { grid-template-columns: 1fr; }
  .service-panel.exclusive .check-list { columns: 1; }
  .split.reverse > :first-child { order: 0; }
  .split .photo-frame { max-height: 480px; }
  .feature-grid,.model-grid,.reference-grid,.gallery-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .image-band { grid-template-columns: 1fr 1fr; }
  .image-band > :last-child { grid-column: 1/-1; }
  .image-band img { height: 220px; }
  .cta-banner .container { flex-direction: column; align-items: flex-start; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px 18px; padding: 52px 0 35px; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 20px; }
  .contact-list { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 470px) {
  .footer-main,.steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .hero h1.speedmaster-heading { font-size: 34px; }
  .hero p { font-size: 15px; }
  .hero-actions .btn { flex: 1 1 140px; }
  .hero-overline { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
