/* RT Online Drive — UAE roads editorial */
:root {
  --navy: #141e30;
  --navy-mid: #1c2a42;
  --navy-light: #2a3d5c;
  --copper: #d4843a;
  --copper-light: #e5a05e;
  --copper-dark: #b86d28;
  --off-white: #f4f1ec;
  --off-white-dark: #e8e3db;
  --surface: #ffffff;
  --text: #1a2233;
  --muted: #5a6275;
  --border: #ddd8cf;
  --shadow: 0 12px 48px rgba(20, 30, 48, 0.1);
  --shadow-lg: 0 24px 72px rgba(20, 30, 48, 0.16);
  --font: 'Manrope', system-ui, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  --radius: 6px;
  --radius-lg: 12px;
  --max: 1160px;
  --article: 680px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body { font-family: var(--font); color: var(--text); background: var(--off-white); line-height: 1.74; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--copper); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

.skip-link { position: absolute; top: -100px; left: 1rem; background: var(--copper); color: #fff; padding: .5rem 1rem; z-index: 999; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; }

/* Header — dark bar */
.site-header { background: var(--navy); border-bottom: 3px solid var(--copper); position: sticky; top: 0; z-index: 200; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .95rem 0; }
.logo { display: flex; align-items: center; gap: .75rem; color: #fff; font-weight: 600; }
.logo__icon { color: var(--copper); flex-shrink: 0; }
.logo__text { font-family: var(--serif); font-size: 1.22rem; font-weight: 500; letter-spacing: .01em; }
.logo__domain { font-family: var(--font); font-size: .62rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-light); display: block; margin-top: .1rem; }
.nav { display: flex; gap: 2.25rem; }
.nav a { color: rgba(255,255,255,.65); font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.nav a.active, .nav a:hover { color: var(--copper-light); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; transition: .3s; }

/* Buttons */
.btn { display: inline-flex; align-items: center; padding: .88rem 1.75rem; font-size: .8rem; font-weight: 700; border-radius: var(--radius); transition: all .25s; letter-spacing: .06em; text-transform: uppercase; }
.btn--primary { background: var(--copper); color: #fff; box-shadow: 0 4px 22px rgba(212, 132, 58, .4); }
.btn--primary:hover { background: var(--copper-dark); color: #fff; transform: translateY(-2px); }
.btn--outline { border: 1.5px solid rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn--outline:hover { background: rgba(255,255,255,.08); color: #fff; border-color: var(--copper-light); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-mid); color: #fff; }

/* Hero — split layout */
.hero { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 88vh; }
.hero__content { background: var(--navy); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 4rem 3.5rem 4rem calc((100vw - var(--max)) / 2 + 1.5rem); position: relative; overflow: hidden; }
.hero__content::before { content: ''; position: absolute; top: 0; right: 0; width: 4px; height: 100%; background: linear-gradient(to bottom, var(--copper), var(--copper-dark)); }
.hero__content::after { content: ''; position: absolute; bottom: -40%; left: -20%; width: 60%; height: 80%; background: radial-gradient(ellipse, rgba(212,132,58,.12) 0%, transparent 70%); pointer-events: none; }
.hero__media { position: relative; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; min-height: 400px; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, transparent 18%); }
.eyebrow { font-size: .7rem; text-transform: uppercase; letter-spacing: .24em; color: var(--copper-light); font-weight: 700; margin-bottom: 1.25rem; position: relative; z-index: 1; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 500; line-height: 1.12; margin-bottom: 1.35rem; position: relative; z-index: 1; }
.hero__lead { font-size: 1.05rem; opacity: .88; margin-bottom: 2.25rem; line-height: 1.85; font-weight: 400; max-width: 480px; position: relative; z-index: 1; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; position: relative; z-index: 1; }

/* Metrics ribbon */
.metrics { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 0; }
.metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { padding: 2.5rem 1.5rem; text-align: center; border-right: 1px solid var(--border); position: relative; }
.metric:last-child { border-right: none; }
.metric::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 32px; height: 3px; background: var(--copper); }
.metric__num { display: block; font-family: var(--serif); font-size: 2.5rem; color: var(--navy); line-height: 1; font-weight: 500; }
.metric__label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: .45rem; display: block; font-weight: 600; }

/* Sections */
.section { padding: 5.5rem 0; }
.section--alt { background: var(--off-white-dark); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3.25rem; flex-wrap: wrap; }
.section-head__text { max-width: 560px; }
.section-head h2 { font-family: var(--serif); font-size: 2.35rem; color: var(--navy); margin-bottom: .7rem; font-weight: 500; }
.section-head p { color: var(--muted); font-size: 1.02rem; }
.section-head__link { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--copper); white-space: nowrap; }
.section-head__link:hover { color: var(--copper-dark); }

/* Cards — editorial grid */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.card { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; }
.card__image-link { display: block; overflow: hidden; aspect-ratio: 16/10; position: relative; }
.card--featured .card__image-link { aspect-ratio: auto; min-height: 320px; }
.card__image-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.card:hover .card__image-link img { transform: scale(1.04); }
.card__route { position: absolute; top: 1rem; left: 1rem; background: var(--navy); color: var(--copper-light); font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .75rem; border-radius: var(--radius); border-left: 3px solid var(--copper); }
.card__body { padding: 1.65rem 1.75rem; flex: 1; display: flex; flex-direction: column; }
.card__cat { font-size: .66rem; text-transform: uppercase; letter-spacing: .16em; color: var(--copper); font-weight: 700; }
.card h3 { font-family: var(--serif); font-size: 1.32rem; margin: .5rem 0 .65rem; line-height: 1.3; font-weight: 500; }
.card h3 a { color: var(--navy); }
.card h3 a:hover { color: var(--copper-dark); }
.card p { font-size: .9rem; color: var(--muted); margin-bottom: auto; line-height: 1.65; }
.card__meta { font-size: .76rem; color: var(--muted); opacity: .75; margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--border); }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split__text h2 { font-family: var(--serif); font-size: 2.1rem; color: var(--navy); margin-bottom: 1rem; font-weight: 500; }
.split__text p { color: var(--muted); margin-bottom: 1rem; }
.split__image { position: relative; }
.split__image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split__image::before { content: ''; position: absolute; top: -12px; left: -12px; right: 12px; bottom: 12px; border: 2px solid var(--copper); border-radius: var(--radius-lg); z-index: -1; }

/* Topics band */
.topics { padding: 4.5rem 0; background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.topics::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(212,132,58,.04) 80px, rgba(212,132,58,.04) 81px); pointer-events: none; }
.topics h2 { font-family: var(--serif); font-size: 1.9rem; margin-bottom: 1.75rem; text-align: center; font-weight: 500; }
.topics__grid { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: center; position: relative; z-index: 1; }
.topic-pill { padding: .55rem 1.35rem; background: rgba(255,255,255,.04); border: 1px solid rgba(212, 132, 58, .45); border-radius: 100px; color: var(--copper-light); font-size: .82rem; font-weight: 600; transition: all .22s; }
.topic-pill:hover { background: var(--copper); color: #fff; border-color: var(--copper); }

/* Newsletter strip */
.strip { background: linear-gradient(135deg, var(--navy-mid), var(--navy)); padding: 3.5rem 0; color: #fff; text-align: center; }
.strip h2 { font-family: var(--serif); font-size: 1.75rem; margin-bottom: .65rem; font-weight: 500; }
.strip p { opacity: .8; margin-bottom: 1.5rem; font-size: .95rem; }

/* Article pages */
.article-page { padding-bottom: 4.5rem; }
.article-hero { position: relative; height: 48vh; min-height: 320px; max-height: 520px; overflow: hidden; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--off-white) 0%, rgba(20,30,48,.55) 50%, rgba(20,30,48,.35) 100%); }
.article-wrap { margin-top: -3.75rem; position: relative; z-index: 2; }
.breadcrumb { font-size: .78rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--copper); }
.breadcrumb span { margin: 0 .35rem; opacity: .45; }
.article-header { max-width: var(--article); margin-bottom: 2.5rem; }
.article-header__cat { font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--copper); font-weight: 700; }
.article-header h1 { font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 2.9rem); color: var(--navy); line-height: 1.14; margin: .55rem 0 1rem; font-weight: 500; }
.article-header__meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .82rem; color: var(--muted); font-weight: 500; }
.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: 3.25rem; align-items: start; }
.article__body { max-width: var(--article); }
.article__body .lead { font-size: 1.16rem; color: var(--text); line-height: 1.88; margin-bottom: 2rem; font-family: var(--serif); font-style: italic; font-weight: 400; }
.article__body h2 { font-family: var(--serif); font-size: 1.52rem; color: var(--navy); margin: 2.5rem 0 1rem; padding-top: .5rem; font-weight: 500; scroll-margin-top: 5rem; border-top: 1px solid var(--border); padding-top: 1.75rem; }
.article__body h2:first-of-type { border-top: none; padding-top: .5rem; }
.article__body p { margin-bottom: 1.1rem; color: #3a4255; }
.article__body ul, .article__body ol { margin: 0 0 1.25rem 1.5rem; color: #3a4255; }
.article__body li { margin-bottom: .45rem; }
.article-figure { margin: 2.25rem 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.article-figure figcaption { padding: .9rem 1.25rem; background: var(--surface); font-size: .8rem; color: var(--muted); border-top: 1px solid var(--border); font-style: italic; }

.callout { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--copper); padding: 1.5rem 1.75rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 2rem 0; box-shadow: var(--shadow); }
.callout strong { display: block; color: var(--navy); margin-bottom: .5rem; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.callout p { margin: 0; font-size: .94rem; color: #3a4255; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; }
.stat-box { background: var(--surface); border: 1px solid var(--border); border-bottom: 3px solid var(--copper); border-radius: var(--radius); padding: 1.4rem; text-align: center; }
.stat-box__num { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--navy); font-weight: 500; }
.stat-box__label { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: .35rem; font-weight: 600; }

.related { position: sticky; top: 6rem; background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--copper); border-radius: var(--radius-lg); padding: 1.65rem; box-shadow: var(--shadow); }
.related h3 { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--copper-dark); margin-bottom: 1rem; font-weight: 700; }
.related__item { display: block; padding: .75rem 0; border-bottom: 1px solid var(--border); font-size: .86rem; font-weight: 600; color: var(--navy); line-height: 1.4; }
.related__item:last-child { border-bottom: none; padding-bottom: 0; }
.related__item:hover { color: var(--copper); }

/* Static pages */
.page { padding: 4.5rem 0 5rem; }
.page h1 { font-family: var(--serif); font-size: 2.6rem; color: var(--navy); margin-bottom: 1rem; font-weight: 500; }
.page h2 { font-family: var(--serif); font-size: 1.45rem; color: var(--navy); margin: 2rem 0 .75rem; font-weight: 500; }
.page-lead { font-size: 1.14rem; color: var(--muted); margin-bottom: 2rem; max-width: 640px; line-height: 1.82; }
.page p { margin-bottom: 1rem; color: #3a4255; max-width: 680px; }
.page ul { margin: 0 0 1rem 1.5rem; color: #3a4255; max-width: 680px; }
.page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.contact-email { font-size: 1.22rem; font-weight: 700; margin-bottom: 2rem; }
.contact-email a { color: var(--copper-dark); }
.contact-form { max-width: 520px; display: grid; gap: 1.25rem; }
.contact-form label { display: grid; gap: .4rem; font-size: .84rem; font-weight: 700; color: var(--navy); }
.contact-form input, .contact-form textarea { padding: .88rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); font: inherit; background: var(--surface); transition: border-color .2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--copper); }
.form-ok { color: var(--copper-dark); font-weight: 600; margin-top: .5rem; }

.values-list { list-style: none; margin: 0; padding: 0; max-width: none; }
.values-list li { padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.values-list strong { display: block; color: var(--navy); font-family: var(--serif); margin-bottom: .35rem; font-weight: 500; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 4.5rem 0 2rem; margin-top: 1rem; border-top: 3px solid var(--copper); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand strong { font-family: var(--serif); font-size: 1.4rem; color: #fff; display: block; margin-bottom: .55rem; font-weight: 500; }
.footer-brand p { font-size: .86rem; opacity: .78; line-height: 1.68; }
.footer-note { font-size: .74rem !important; opacity: .45 !important; margin-top: 1rem !important; }
.footer-col h4 { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--copper-light); margin-bottom: 1rem; font-weight: 700; }
.footer-col a { display: block; color: rgba(255,255,255,.68); font-size: .84rem; margin-bottom: .5rem; }
.footer-col a:hover { color: var(--copper-light); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 1.5rem; font-size: .74rem; opacity: .42; flex-wrap: wrap; gap: .5rem; }

/* Responsive */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero__content { padding: 4rem 1.5rem; }
  .hero__media { min-height: 45vh; order: -1; }
  .hero__media::after { background: linear-gradient(to bottom, transparent 60%, var(--navy) 100%); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: 1fr; }
  .card--featured { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .related { position: static; }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(3), .metric:nth-child(4) { border-top: 1px solid var(--border); }
  .footer-top, .page-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav { position: fixed; top: 0; right: -100%; width: 85%; max-width: 300px; height: 100vh; background: var(--navy); flex-direction: column; padding: 5rem 1.5rem 2rem; box-shadow: var(--shadow-lg); transition: right .3s; z-index: 300; }
  .nav.open { right: 0; }
  .article-hero { height: 36vh; min-height: 220px; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
