* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 1rem; color: var(--speedlog-text); background: #fff; font-family: Inter, system-ui, sans-serif; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: "Barlow Condensed", Inter, sans-serif; line-height: .98; letter-spacing: -.02em; }
.container { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }
.container--narrow { width: min(760px, calc(100% - 48px)); }
.screen-reader-text { position: absolute; height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.section { padding: 112px 0; }
.section--muted { background: var(--speedlog-surface); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 44px; height: 1px; background: currentColor; }
.eyebrow--orange { color: var(--speedlog-orange); }
.text-highlight { color: var(--speedlog-orange); }
.section-heading { max-width: 750px; margin-bottom: 58px; }
.section-heading h2 { margin: 14px 0 16px; font-size: clamp(2.5rem, 4vw, 4rem); }
.section-heading p { margin-bottom: 0; color: #62718a; font-size: 1.125rem; line-height: 1.65; }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading--center .eyebrow::before { display: none; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background .25s, box-shadow .25s; }
.site-header.is-scrolled { background: rgba(7, 27, 56, .96); box-shadow: 0 8px 26px rgba(0,0,0,.18); backdrop-filter: blur(12px); }
.site-header__inner { display: flex; height: 72px; align-items: center; justify-content: space-between; gap: 22px; }
.brand { flex: none; width: 220px; }
.brand > picture, .footer-brand > picture { display: block; }
.brand-logo { width: 100%; height: auto; object-fit: contain; }
.brand-logo--header { max-height: 52px; }
.brand-wordmark { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-family: var(--font-display); font-size: 1.2rem; font-weight: 900; letter-spacing: -.07em; line-height: 1; white-space: nowrap; }
.brand-wordmark > span:last-child > span { color: var(--speedlog-orange); }
.brand-wordmark__mark { position: relative; width: 27px; height: 27px; border: 4px solid var(--speedlog-orange); border-radius: 50%; flex: none; }
.brand-wordmark__mark::after { content: ''; position: absolute; width: 17px; height: 4px; background: #fff; border-radius: 99px; transform: rotate(-32deg); top: 8px; left: 6px; box-shadow: 8px -5px 0 -1px var(--speedlog-orange); }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 31px); font-size: .82rem; font-weight: 600; letter-spacing: .02em; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--speedlog-orange); }
.site-header__actions { display: flex; align-items: center; gap: 16px; }
.language-switcher { display: flex; overflow: hidden; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.language-switcher > * { padding: 6px 11px; color: rgba(255,255,255,.8); }
.language-switcher .is-active { background: var(--speedlog-orange); color: #fff; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--speedlog-orange); border-radius: 999px; background: var(--speedlog-orange); color: #fff; padding: 14px 26px; font-size: .92rem; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); background: #d97713; }
.button--small { padding: 9px 17px; font-size: .78rem; }
.button--ghost { border-color: rgba(255,255,255,.38); background: transparent; }
.button--ghost:hover { background: rgba(255,255,255,.12); }
.menu-toggle, .mobile-nav { display: none; }

/* Hero */
.hero { position: relative; min-height: 640px; height: 100svh; overflow: hidden; background: var(--speedlog-navy-deep); }
.hero__slide { position: absolute; inset: 0; display: grid; place-items: center; background-image: linear-gradient(180deg,rgba(7,27,56,.52),rgba(7,27,56,.24),rgba(7,27,56,.10)), var(--hero-image); background-position: center; background-size: cover; opacity: 0; transform: scale(1.035); transition: opacity .7s ease, transform 5s ease; }
.hero__slide--webp { background-image: linear-gradient(180deg,rgba(7,27,56,.52),rgba(7,27,56,.24),rgba(7,27,56,.10)), image-set(var(--hero-image-webp) type('image/webp'), var(--hero-image) type('image/jpeg')); }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__content { padding-top: 88px; color: #fff; }
.hero h1 { max-width: 850px; margin: 18px 0 22px; font-size: clamp(3.25rem, 5.8vw, 6.5rem); font-weight: 800; text-shadow: 0 2px 16px rgba(7,27,56,.55); text-transform: uppercase; }
.hero__subtitle { max-width: 570px; margin: 0; color: rgba(255,255,255,.9); font-size: clamp(1.125rem, 1.7vw, 1.3rem); line-height: 1.6; text-shadow: 0 2px 14px rgba(7,27,56,.45); }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__dots { position: absolute; right: 5%; bottom: 42px; z-index: 2; display: flex; gap: 9px; }
.hero__dots button { width: 17px; height: 6px; border: 0; border-radius: 999px; background: rgba(255,255,255,.38); cursor: pointer; transition: width .2s, background .2s; }
.hero__dots button.is-active { width: 42px; background: var(--speedlog-orange); }

/* Home */
.about__grid, .contact__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); align-items: center; gap: clamp(48px, 8vw, 116px); }
.about h2, .contact h2 { margin: 16px 0 25px; font-size: clamp(2.7rem, 4.4vw, 4.5rem); }
.about p, .contact p { color: #63718a; line-height: 1.7; }
.about-card { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 60px); border-radius: 28px; background: var(--speedlog-navy-deep); color: #fff; box-shadow: 0 24px 60px rgba(7,27,56,.17); }
.about-card::after { position: absolute; width: 280px; height: 280px; top: -90px; right: -90px; border-radius: 50%; background: rgba(236,139,36,.17); content: ""; filter: blur(15px); }
.about-card > * { position: relative; z-index: 1; }
.about-card > span { color: var(--speedlog-orange); font-size: .8rem; font-weight: 800; letter-spacing: .26em; }
.about-card h3 { margin: 12px 0 22px; font-size: clamp(3rem, 4vw, 4.6rem); }
.about-card p { color: rgba(255,255,255,.72); }
.about-card ul, .service-card ul, .key-card ul { margin: 26px 0 0; padding: 0; list-style: none; }
.about-card li, .service-card li, .key-card li { position: relative; margin: 10px 0; padding-left: 18px; }
.about-card li::before, .service-card li::before, .key-card li::before { position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--speedlog-orange); content: ""; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 42px; }
.stats div { border-left: 2px solid var(--speedlog-orange); padding-left: 14px; }
.stats strong { display: block; font: 700 2.2rem/1 "Barlow Condensed", sans-serif; }
.stats span { display: block; margin-top: 6px; color: #67748a; font-size: .7rem; line-height: 1.25; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card, .post-card { overflow: hidden; border: 1px solid #e5e9f0; border-radius: 20px; background: #fff; box-shadow: 0 5px 16px rgba(19,40,73,.05); transition: box-shadow .25s, transform .25s; }
.service-card:hover, .post-card:hover, .featured-post:hover { transform: translateY(-4px); box-shadow: 0 18px 35px rgba(19,40,73,.13); }
.service-card__image, .key-card__image { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--speedlog-navy); }
.service-card__image::after, .key-card__image::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,27,56,.94), transparent 65%); content: ""; }
.service-card__image picture, .key-card__image picture, .gallery-card picture { display: block; height: 100%; }
.service-card__image img, .key-card__image img, .gallery-card img, .gallery-card video, .post-card__image img, .featured-post__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-card:hover img, .key-card:hover img, .gallery-card:hover img, .post-card:hover img, .featured-post:hover img { transform: scale(1.08); }
.service-card__image h3, .key-card__image h3 { position: absolute; z-index: 1; bottom: 24px; left: 27px; right: 20px; margin: 0; color: #fff; font-size: 2rem; text-transform: uppercase; }
.service-card ul { margin: 0; padding: 20px 26px; color: #66738a; font-size: .95rem; }
.destinations { padding: 86px 0; background: linear-gradient(135deg, var(--speedlog-navy-deep), var(--speedlog-navy) 64%, var(--speedlog-orange)); color: #fff; }
.destinations__heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.destinations h2 { margin: 12px 0 0; font-size: clamp(2.5rem, 4vw, 4rem); }
.destinations p { max-width: 440px; margin: 0; color: rgba(255,255,255,.74); }
.destination-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.destination-grid span, .partner-grid span { display: grid; min-height: 70px; place-items: center; border: 1px solid rgba(255,255,255,.17); border-radius: 13px; background: rgba(255,255,255,.06); font-size: .8rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; transition: transform .2s, border-color .2s, background .2s; }
.destination-grid span:hover, .partner-grid span:hover { border-color: var(--speedlog-orange); transform: translateY(-3px); }
.destination-grid span:hover { background: rgba(255,255,255,.12); }
.keys-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.key-card__image { aspect-ratio: 4 / 5; border-radius: 20px; }
.key-card__image span { position: absolute; z-index: 2; top: 17px; left: 17px; display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: var(--speedlog-orange); color: #fff; font-weight: 700; }
.key-card__image h3 { bottom: 22px; left: 22px; font-size: 1.45rem; }
.key-card ul { color: #66738a; font-size: .92rem; }
.partner-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.partner-grid span { min-height: 108px; border-color: #e2e7ef; background: #fff; color: var(--speedlog-navy-deep); font-size: .84rem; letter-spacing: 0; text-transform: none; box-shadow: 0 4px 12px rgba(19,40,73,.04); }
.partner-grid span:hover { background: #fffaf4; }

/* Gallery and contact */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-card { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 16px; background: #e5eaf1; }
.gallery-card::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,27,56,.9), transparent 65%); content: ""; opacity: 0; transition: opacity .25s; }
.gallery-card span { position: absolute; z-index: 1; right: 16px; bottom: 14px; left: 16px; color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .08em; opacity: 0; text-transform: uppercase; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.gallery-card:hover::after, .gallery-card:hover span { opacity: 1; transform: none; }
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 28px; background: rgba(4, 16, 35, .88); }
.gallery-lightbox figure { display: grid; max-width: min(1100px, 100%); max-height: 100%; margin: 0; gap: 12px; }
.gallery-lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 112px); border-radius: 10px; object-fit: contain; }
.gallery-lightbox figcaption { color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.gallery-lightbox__close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--speedlog-navy); cursor: pointer; font-size: 2rem; line-height: 1; }
.gallery-lightbox-open { overflow: hidden; }
.contact { background: var(--speedlog-navy-deep); color: #fff; }
.contact p { color: rgba(255,255,255,.68); }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; align-items: flex-start; gap: 16px; padding: 22px; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: rgba(255,255,255,.05); color: #fff; }
.contact-card--action { transition: border-color .2s, background .2s, transform .2s; }
.contact-card--action:hover, .contact-card--action:focus-visible { border-color: rgba(236,139,36,.7); background: rgba(255,255,255,.09); color: #fff; outline: none; transform: translateY(-2px); }
.contact-card__icon { display: grid; width: 24px; min-width: 24px; height: 24px; place-items: center; color: var(--speedlog-orange); }
.contact-card__icon svg { width: 20px; height: 20px; }
.contact-card h3 { margin: 1px 0 7px; color: #fff; font: 700 .92rem/1.1 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.contact-card p { margin: 0; font-size: .95rem; line-height: 1.6; }

/* Footer */
.site-footer { background: #06172f; color: rgba(255,255,255,.74); }
.site-footer__grid { display: grid; grid-template-columns: 1.1fr 1.35fr .85fr .85fr; gap: 48px; padding: 68px 0; }
.footer-brand .brand-logo--footer { width: min(250px, 100%); }
.footer-about p { max-width: 400px; margin: 0; font-size: .95rem; }
.footer-about p + p { margin-top: 18px; }
.site-footer h3 { margin-bottom: 18px; color: #fff; font: 700 .78rem/1 Inter, sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; font-size: .92rem; }
.site-footer li { margin: 10px 0; }
.site-footer a:hover { color: var(--speedlog-orange); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: .73rem; color: rgba(255,255,255,.45); }
.site-footer__bottom .container { display: flex; justify-content: space-between; gap: 16px; padding: 21px 0; }

/* News */
.news-hero { padding: 150px 0 62px; background: linear-gradient(135deg, var(--speedlog-navy-deep), var(--speedlog-navy) 64%, var(--speedlog-orange)); color: #fff; }
.news-hero h1 { margin: 14px 0 15px; font-size: clamp(3.6rem, 6vw, 5.5rem); }
.news-hero p { max-width: 600px; margin: 0; color: rgba(255,255,255,.72); }
.featured-post { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid #e2e7ef; border-radius: 25px; background: #fff; box-shadow: 0 5px 16px rgba(19,40,73,.06); transition: box-shadow .25s, transform .25s; }
.featured-post__image { position: relative; min-height: 360px; overflow: hidden; }
.featured-post__image span { position: absolute; top: 18px; left: 18px; border-radius: 999px; background: var(--speedlog-orange); color: #fff; padding: 7px 11px; font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.featured-post > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 64px); }
.featured-post h2, .post-card h2, .post-card h3 { margin: 15px 0; font-size: clamp(1.55rem, 2.5vw, 2.6rem); }
.featured-post p, .post-card p { color: #66738a; font-size: .9rem; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: #778399; font-size: .68rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.post-meta strong { color: var(--speedlog-orange); }
.post-meta i { font-style: normal; }
.text-link { display: inline-flex; margin-top: 12px; color: var(--speedlog-orange); font-size: .9rem; font-weight: 700; }
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 48px; }
.post-card__image { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #e5eaf1; }
.post-card > div { padding: 24px; }
.post-card h2 { font-size: 1.55rem; }
.pagination { margin-top: 45px; }
.pagination .page-numbers { display: flex; gap: 7px; padding: 0; list-style: none; }
.pagination a, .pagination span { display: grid; min-width: 37px; height: 37px; place-items: center; border: 1px solid #e1e7ef; border-radius: 50%; font-size: .8rem; }
.pagination .current { border-color: var(--speedlog-orange); background: var(--speedlog-orange); color: #fff; }
.single-post__hero { display: flex; min-height: min(70vh, 700px); align-items: end; background-position: center; background-size: cover; color: #fff; }
.single-post__hero .container { padding: 150px 0 68px; }
.back-link { display: inline-block; margin-bottom: 28px; color: var(--speedlog-orange); font-size: .85rem; font-weight: 700; }
.single-post__hero h1 { max-width: 1000px; margin: 16px 0 0; font-size: clamp(3rem, 6vw, 5.7rem); }
.single-post__content { padding: 76px 0; }
.single-post__excerpt { margin-bottom: 42px; border-left: 4px solid var(--speedlog-orange); padding-left: 22px; color: #66738a; font-size: 1.24rem; font-style: italic; }
.entry-content { font-size: 1.06rem; line-height: 1.85; }
.entry-content > * + * { margin-top: 1.4em; }
.single-post__footer { display: flex; justify-content: space-between; gap: 22px; margin-top: 70px; border-top: 1px solid #e2e7ef; padding-top: 32px; color: #708098; font-size: .85rem; }
.related h2 { font-size: 2.3rem; }
.page-content { padding-top: 150px; }
.page-content h1 { font-size: 4rem; }

@media (max-width: 960px) {
  .site-nav, .site-header__actions .button { display: none; }
  .menu-toggle { display: grid; gap: 5px; width: 36px; border: 0; background: transparent; padding: 6px; cursor: pointer; }
  .menu-toggle span:not(.screen-reader-text) { display: block; width: 24px; height: 2px; background: #fff; }
  .mobile-nav { position: absolute; top: 72px; right: 0; left: 0; padding: 13px 24px 20px; background: var(--speedlog-navy-deep); border-top: 1px solid rgba(255,255,255,.1); }
  .mobile-nav:not([hidden]) { display: grid; }
  .mobile-nav a { padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .keys-grid { grid-template-columns: repeat(2, 1fr); }
  .destination-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; gap: 35px; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 36px, 1280px); }
  .section { padding: 78px 0; }
  .brand { width: 180px; }
  .brand-wordmark { font-size: 1rem; gap: 6px; }
  .brand-wordmark__mark { width: 22px; height: 22px; border-width: 3px; }
  .brand-wordmark__mark::after { width: 14px; height: 3px; top: 7px; left: 5px; box-shadow: 7px -4px 0 -1px var(--speedlog-orange); }
  .language-switcher > * { padding: 5px 8px; }
  .hero { min-height: 620px; }
  .hero h1 { font-size: clamp(2.7rem, 12vw, 4.25rem); }
  .hero__subtitle { font-size: 1rem; }
  .section-heading p { font-size: 1rem; }
  .hero__dots { right: 18px; bottom: 25px; }
  .stats { gap: 13px; }
  .stats strong { font-size: 1.8rem; }
  .service-grid, .post-grid { grid-template-columns: 1fr; }
  .destinations { padding: 68px 0; }
  .destinations__heading { display: block; }
  .destinations__heading p { margin-top: 18px; }
  .destination-grid { grid-template-columns: repeat(3, 1fr); }
  .keys-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 13px; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post__image { min-height: auto; aspect-ratio: 4 / 3; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 35px; }
  .site-footer__bottom .container { display: grid; }
  .single-post__hero .container { padding: 135px 0 48px; }
  .single-post__footer { display: grid; }
}
