/*
Theme Name: TwoWheelsDeeper
Theme URI: https://youtube.com/@twowheelsdeeper
Author: Marco Gosetti
Description: Dark cinematic portfolio theme for motorcycle journeys, diving films and photography.
Version: 3.9.4
Text Domain: twowheelsdeeper
*/

/* Individual values are only applied on ordinary page templates. */
.section.wrap.twd-standard-page {
  width: min(calc(100% - 48px), var(--twd-page-width, var(--max)));
  padding-top: var(--twd-page-spacing, 120px);
}
.twd-standard-page > .twd-page-title {
  font-size: var(--twd-page-desktop, clamp(48px, 8vw, 120px));
  line-height: 1.15;
  text-transform: var(--twd-page-case, uppercase);
  overflow-wrap: anywhere;
}
.twd-standard-page > .twd-title-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.twd-pipeline-page .twd-page-content { max-width: 900px; }
.twd-pipeline-page > .twd-page-title { max-width: 980px; font-size: clamp(36px, 5.5vw, 76px); line-height: .94; letter-spacing: -.045em; overflow-wrap: normal; }
.twd-pipeline-page .twd-page-content > p:first-child { margin-bottom: 34px; color: var(--deep); font-size: 18px; }
.twd-pipeline-page .twd-page-content h2 { margin: 58px 0 18px; padding-top: 4px; font-size: clamp(30px, 3.7vw, 46px); line-height: 1.06; letter-spacing: -.035em; text-transform: none; scroll-margin-top: 112px; }
.twd-pipeline-page .twd-page-content p { color: #c3c7c6; font-size: 17px; line-height: 1.8; }
.twd-pipeline-page .twd-page-content a { color: var(--deep); text-decoration: underline; text-underline-offset: 3px; }
.pipeline-toc { margin: 0 0 56px; padding: 24px; border: 1px solid var(--line); background: var(--panel); }
.pipeline-toc > strong { display: block; margin-bottom: 14px; color: var(--acid); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.pipeline-toc ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 28px; margin: 0; padding: 0; list-style: none; }
.pipeline-toc a { display: inline-flex; min-height: 44px; align-items: center; color: var(--paper) !important; text-decoration: none !important; }
.pipeline-toc a:hover, .pipeline-toc a:focus-visible { color: var(--acid) !important; }
.pipeline-back-to-top { display: inline-flex; min-height: 44px; align-items: center; margin-top: 32px; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 700px) {
  .twd-standard-page > .twd-page-title {
    font-size: var(--twd-page-mobile, var(--twd-page-desktop, clamp(42px, 10vw, 56px)));
  }
}
@media (max-width: 780px) {
  .section.wrap.twd-standard-page { padding-top: var(--twd-page-spacing, 82px); width: min(calc(100% - 28px), var(--twd-page-width, var(--max))); }
  .pipeline-toc ul { grid-template-columns: 1fr; }
  .twd-pipeline-page .twd-page-content h2 { margin-top: 46px; }
}
@media print {
  body.twd-design-page, .twd-design-page main, .twd-standard-page, .twd-standard-page * {
    background: white !important; color: black !important; text-shadow: none !important;
  }
  .twd-design-page .site-header, .twd-design-page .site-footer, .twd-design-page .skip-link, .twd-design-page #wpadminbar { display: none !important; }
  body.twd-design-page { margin: 0 !important; padding: 0 !important; }
  .section.wrap.twd-standard-page { width: 100% !important; max-width: none !important; padding: 0 !important; }
  .twd-standard-page > .twd-page-title {
    font-size: 26pt !important; line-height: 1.15 !important; letter-spacing: normal !important;
    text-transform: none !important; max-width: 100% !important;
  }
  .twd-page-content { font-size: 11pt; line-height: 1.5; }
  .twd-page-content h2, .twd-page-content h3 { font-size: 15pt !important; line-height: 1.3; break-after: avoid; }
  .twd-page-content p { orphans: 3; widows: 3; }
  .twd-page-content a { text-decoration: underline; }
}

:root {
  --ink: #080a0b;
  --panel: #101315;
  --panel-2: #171b1d;
  --paper: #f1efe8;
  --muted: #9ca1a3;
  --line: rgba(255,255,255,.13);
  --acid: #d8ff3e;
  --deep: #35d7e5;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: Inter, Arial, sans-serif; font-size: 16px; line-height: 1.6; }
body::selection { background: var(--acid); color: #090b0c; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 12px 16px; transform: translateY(-160%); background: var(--acid); color: #080a0b; font-weight: 900; }
.skip-link:focus { transform: translateY(0); }
:where(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--acid); outline-offset: 3px; }
main:focus { outline: none; }
.wrap { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.site-header { position: fixed; z-index: 100; top: 0; right: 0; left: 0; padding: 18px 0; border-bottom: 1px solid transparent; transition: padding .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled, .site-header.nav-open { padding: 10px 0; border-bottom-color: rgba(255,255,255,.11); background: rgba(8,10,11,.9); box-shadow: 0 12px 38px rgba(0,0,0,.3); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -.04em; text-transform: uppercase; }
.brand-logo-frame { width: 120px; height: 120px; flex: 0 0 120px; overflow: hidden; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; box-shadow: 0 8px 28px rgba(0,0,0,.32); transition: width .25s ease, height .25s ease, flex-basis .25s ease; }
.site-header.is-scrolled .brand-logo-frame, .site-header.nav-open .brand-logo-frame { width: 64px; height: 64px; flex-basis: 64px; }
.brand-logo-frame picture, .brand-logo { display: block; width: 100%; height: 100%; }
.brand-logo { object-fit: cover; }
.brand-logo-bundled { transform: scale(1.12); }
.brand-wordmark { color: var(--paper); }
.brand-wordmark em { color: var(--deep); font-style: normal; }
.menu { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.menu a { opacity: .78; transition: .2s ease; }
.menu a:hover, .menu a:focus-visible { opacity: 1; color: var(--acid); }
.menu a[aria-current="page"], .menu .current-menu-item > a, .menu .current_page_item > a { opacity: 1; color: var(--acid); }
.menu .pill, .menu .menu-contact > a { border: 1px solid var(--line); border-radius: 99px; padding: 10px 15px; opacity: 1; }
.menu-toggle { display: none; width: 48px; height: 48px; margin-left: auto; padding: 0 12px; border: 1px solid var(--line); border-radius: 50%; background: rgba(8,10,11,.82); color: var(--paper); cursor: pointer; }
.menu-toggle > span:not(.screen-reader-text) { display: block; width: 100%; height: 2px; margin: 4px 0; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.nav-open .menu-toggle > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle > span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.hero { min-height: 94svh; display: grid; align-items: end; position: relative; isolation: isolate; overflow: hidden; background: #141718; }
.hero-media { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: 1fr 1fr; }
.hero-media span { min-width: 0; background-position: center; background-size: cover; background-repeat: no-repeat; filter: saturate(.66) contrast(1.1); }
.hero-media-road { background-image: url('https://images.unsplash.com/photo-1558981403-c5f9899a28bc?auto=format&fit=crop&w=1400&q=88'); }
.hero-media-dive { background-image: url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?auto=format&fit=crop&w=1400&q=88'); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,7,8,.94) 0%, rgba(5,7,8,.52) 44%, rgba(5,7,8,.3) 51%, rgba(0,20,27,.17) 100%), linear-gradient(0deg, var(--ink), transparent 42%); }
.hero-content { padding: 180px 0 76px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--acid); font-size: 11px; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
h1 { max-width: 970px; margin: 20px 0 24px; font-size: clamp(52px, 8vw, 124px); line-height: .86; letter-spacing: -.065em; text-transform: uppercase; }
.hero h1 em { color: var(--deep); font-style: normal; }
.hero-copy { display: grid; grid-template-columns: minmax(280px, 520px) auto; align-items: end; justify-content: space-between; gap: 32px; }
.hero-copy p { margin: 0; color: #c1c4c3; font-size: clamp(17px, 1.4vw, 21px); }
.hero-minimal-action { position: absolute; z-index: 2; right: 0; bottom: 28px; left: 0; display: flex; justify-content: center; padding-inline: 24px; }
.hero-discover-link { display: inline-flex; min-height: 48px; align-items: center; gap: 14px; padding: 10px 18px; border: 1px solid rgba(255,255,255,.34); border-radius: 99px; background: rgba(7,10,11,.7); box-shadow: 0 12px 30px rgba(0,0,0,.28); color: var(--paper); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: border-color .2s ease, color .2s ease, transform .2s ease; }
.hero-discover-link:hover, .hero-discover-link:focus-visible { border-color: var(--acid); color: var(--acid); transform: translateY(-2px); }
.hero-discover-arrow { color: var(--acid); font-size: 18px; line-height: 1; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 50px; padding: 0 22px; border: 1px solid var(--acid); background: var(--acid); color: #0a0c0d; font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; transition: .2s ease; }
.button::after { content: "↗"; font-size: 17px; }
.button:hover, .button:focus-visible { background: transparent; color: var(--acid); }
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; color: #717779; font-size: 11px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.ticker span { color: var(--paper); margin: 0 30px; }
.worlds { padding: 90px 0 20px; }
.worlds-intro { max-width: 920px; margin: 0 0 48px; font-size: clamp(27px, 3.5vw, 46px); line-height: 1.12; letter-spacing: -.035em; text-transform: none; }
.world-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.world-card { min-height: 520px; position: relative; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding: 30px; background: var(--panel); }
.world-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--image) center/cover no-repeat; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s; filter: saturate(.72); }
.world-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(3,6,7,.92), rgba(3,6,7,.08) 70%); }
.world-card:hover::before { transform: scale(1.025); filter: saturate(1); }
.world-road { --image: url('https://images.unsplash.com/photo-1502744688674-c619d1586c9e?auto=format&fit=crop&w=1200&q=86'); }
.world-dive { --image: url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?auto=format&fit=crop&w=1200&q=86'); }
.world-label { display: block; color: var(--acid); font-size: 10px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.world-dive .world-label { color: var(--deep); }
.world-card h3 { margin: 7px 0 8px; font-size: clamp(30px, 4.3vw, 54px); line-height: .94; letter-spacing: -.045em; text-transform: uppercase; }
.world-card p { max-width: 430px; margin: 0; color: #b6babc; }
.expeditions-section { background: #0b0e0f; }
.expedition-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.expedition-feature { min-width: 0; background: var(--panel); }
.expedition-feature-image { aspect-ratio: 16/10; overflow: hidden; }
.expedition-feature-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7); transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .3s; }
.expedition-feature:hover .expedition-feature-image img { transform: scale(1.025); filter: saturate(1); }
.expedition-feature-copy { padding: 26px; }
.expedition-feature-copy > span { color: var(--deep); font-size: 9px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.expedition-feature:nth-child(odd) .expedition-feature-copy > span { color: var(--acid); }
.expedition-feature h3 { margin: 8px 0 10px; font-size: clamp(30px, 3.5vw, 50px); line-height: .95; letter-spacing: -.045em; text-transform: uppercase; }
.expedition-feature p { max-width: 540px; margin: 0; color: var(--muted); }
.expedition-feature i { display: block; margin-top: 22px; color: var(--paper); font-style: normal; font-size: 9px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.section { padding: 120px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: end; margin-bottom: 52px; }
.kicker { color: var(--acid); font-size: 11px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
h2 { margin: 10px 0 0; font-size: clamp(var(--twd-section-mobile, 38px), 5.8vw, var(--twd-section-desktop, 76px)); line-height: .94; letter-spacing: -.05em; text-transform: uppercase; }
.section-intro { max-width: 580px; justify-self: end; margin: 0; color: var(--muted); font-size: 18px; }
.photo-grid { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: repeat(6, 92px); gap: 14px; }
.photo { position: relative; overflow: hidden; background: var(--panel); }
.photo:first-child { grid-row: 1 / 7; }
.photo:not(:first-child) { grid-column: 2; grid-row: span 2; }
.photo:only-child { grid-column: 1 / -1; }
.photo:first-child:nth-last-child(2) ~ .photo { grid-row: 1 / 7; }
.photo:first-child:nth-last-child(3) ~ .photo { grid-row: span 3; }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72); transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .3s; }
.photo:hover img { transform: scale(1.025); filter: saturate(1); }
.photo figcaption { position: absolute; inset: auto 18px 16px; display: flex; justify-content: space-between; gap: 16px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; text-shadow: 0 1px 10px #000; }
.photo figcaption span { color: var(--acid); }
.photo-grid-empty { grid-column: 1 / -1; display: grid; align-content: center; gap: 4px; min-height: 260px; padding: 30px; border: 1px solid var(--line); background: var(--panel); }
.photo-grid-empty span { color: var(--muted); }
.section-action { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button-outline { background: transparent; color: var(--acid); }
.button-outline:hover { background: var(--acid); color: #0a0c0d; }
.social-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-button .social-icon-dot { fill: currentColor; stroke: none; }
.videos { background: var(--paper); color: #111415; }
.videos .kicker { color: #687719; }
.videos .section-intro { color: #555b5d; }
.videos .section-action .button { border-color: #111415; background: #111415; color: var(--paper); }
.videos .section-action .button:hover { background: transparent; color: #111415; }
.video-list { border-top: 1px solid #bdc0bb; }
.video-card { display: grid; grid-template-columns: 64px 1fr 240px 48px; gap: 22px; align-items: center; padding: 22px 0; border-bottom: 1px solid #bdc0bb; }
.video-card .num { color: #767d7d; font-size: 12px; font-weight: 800; }
.video-card h3 { margin: 0; font-size: clamp(22px, 3vw, 42px); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; }
.video-title { display: grid; gap: 7px; }
.video-title .category { color: #687719; font-size: 9px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.video-title .category.dive { color: #087b88; }
.thumb { height: 112px; overflow: hidden; background: #333; }
.thumb img { height: 100%; object-fit: cover; transition: transform .35s; }
.video-thumb-placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #31393b, #15191a); }
.video-card:hover .thumb img { transform: scale(1.05); }
.play { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #9b9f9b; border-radius: 50%; font-size: 12px; }
.video-list-empty { display: grid; gap: 4px; padding: 30px 0; border-bottom: 1px solid #bdc0bb; }
.video-list-empty span { color: #666d6e; }
.logbook-section { background: #0b0e0f; }
.logbook-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 14px; }
.log-card { min-width: 0; }
.log-image { aspect-ratio: 4/3; overflow: hidden; background: var(--panel); }
.log-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72); transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .3s; }
.log-card:hover .log-image img { transform: scale(1.025); filter: saturate(1); }
.log-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; color: #737a7c; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.log-meta span { color: var(--deep); }
.log-card h3 { margin: 12px 0 9px; font-size: clamp(24px, 2.8vw, 38px); line-height: 1; letter-spacing: -.035em; }
.log-card p { margin: 0; color: var(--muted); }
.read-more { display: block; margin-top: 19px; color: var(--acid); font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.newsletter-section { padding: 90px 0; background: linear-gradient(115deg, var(--acid) 0%, #a8dc31 48%, var(--deep) 100%); color: #081012; }
.newsletter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 9vw, 130px); align-items: center; }
.newsletter-section .kicker { color: #24410e; }
.newsletter-section h2 { max-width: 650px; }
.newsletter-section p { max-width: 560px; margin: 24px 0 0; font-size: 18px; }
.newsletter-form { display: grid; grid-template-columns: .7fr 1.3fr; gap: 14px; padding: 28px; background: rgba(8,10,11,.92); color: var(--paper); }
.newsletter-form label { display: grid; gap: 7px; }
.newsletter-form label > span { color: #aeb3b5; font-size: 9px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.newsletter-form input:not([type="checkbox"]) { width: 100%; min-width: 0; border: 1px solid var(--line); outline: 0; background: #080a0b; color: var(--paper); padding: 13px 14px; font: inherit; }
.newsletter-form input:focus { border-color: var(--deep); box-shadow: 0 0 0 3px rgba(53,215,229,.11); }
.newsletter-consent { grid-column: 1 / -1; }
.newsletter-form .button { grid-column: 1 / -1; width: 100%; cursor: pointer; }
.newsletter-notice { margin-bottom: 12px; padding: 13px 15px; background: #081012; color: var(--acid); font-size: 13px; }
.newsletter-notice.error { color: #ff9b9b; }
.about { display: grid; grid-template-columns: minmax(0, 760px); gap: 8vw; align-items: center; }
.about.has-photo { grid-template-columns: 1fr 1fr; }
.about-photo { aspect-ratio: 4/5; position: relative; background: var(--panel); overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.about-photo::after { content: "Marco Gosetti — Creator / Fotograf"; position: absolute; inset: auto 16px 14px; font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.about-copy h2 { font-size: clamp(38px, 5.2vw, 68px); }
.about-copy p { color: var(--muted); font-size: 18px; }
.about-copy .signature { margin-top: 34px; color: var(--paper); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.about-copy .button { margin-top: 18px; }
.about-page-hero { padding: 170px 0 100px; background: linear-gradient(135deg, #080a0b 45%, #101718); }
.about-page-hero-grid { display: grid; grid-template-columns: minmax(0, 850px); gap: clamp(50px, 8vw, 120px); align-items: end; }
.about-page-hero-grid.has-portrait { grid-template-columns: 1.05fr .95fr; }
.about-page-title h1 { margin: 16px 0 28px; font-size: clamp(54px, 8.5vw, 120px); line-height: .86; letter-spacing: -.06em; text-transform: uppercase; }
.about-page-title p { max-width: 650px; margin: 0; color: #b8bcbd; font-size: 21px; line-height: 1.6; }
.about-page-portrait { min-height: 680px; position: relative; overflow: hidden; background: var(--panel); }
.about-page-portrait img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.about-page-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,7,8,.75), transparent 40%); }
.about-page-portrait span { position: absolute; z-index: 1; inset: auto 20px 18px; color: #d3d5d5; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.about-origin { padding: 120px 0; }
.about-origin-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 10vw, 150px); }
.about-origin h2 { font-size: clamp(40px, 5.6vw, 78px); }
.about-long-copy { color: #c8cbca; font-family: Georgia, serif; font-size: 21px; line-height: 1.85; }
.about-long-copy p:first-child { margin-top: 0; }
.about-worlds-grid { display: grid; grid-template-columns: 1fr 1fr; }
.about-world { min-height: 620px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; isolation: isolate; overflow: hidden; padding: clamp(34px, 5vw, 72px); background-size: cover; background-position: center; }
.about-world::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5,7,8,.96), rgba(5,7,8,.15)); }
.about-world.ride { background-image: url('https://images.unsplash.com/photo-1502744688674-c619d1586c9e?auto=format&fit=crop&w=1400&q=88'); }
.about-world.dive { background-image: url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?auto=format&fit=crop&w=1400&q=88'); }
.about-world > span { color: var(--acid); font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.about-world.dive > span { color: var(--deep); }
.about-world h2 { margin: 12px 0 22px; font-size: clamp(42px, 5.7vw, 80px); }
.about-world p { max-width: 530px; margin: 0; color: #c2c6c7; font-size: 17px; line-height: 1.65; }
.about-approach { background: #0b0e0f; }
.about-values { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.about-values article { min-height: 240px; padding: 28px 24px; border-right: 1px solid var(--line); }
.about-values article:last-child { border-right: 0; }
.about-values span { color: var(--deep); font-size: 10px; font-weight: 900; }
.about-values h3 { margin: 60px 0 12px; font-size: 25px; text-transform: uppercase; }
.about-values p { margin: 0; color: var(--muted); line-height: 1.6; }
.about-cta { padding: 140px 0; text-align: center; }
.about-cta h2 { margin-block: 14px 28px; }
.about-cta p { max-width: 620px; margin: 0 auto 34px; color: var(--muted); font-size: 18px; }
.contact { border-top: 1px solid var(--line); padding: 120px 0; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(54px, 9vw, 130px); align-items: start; }
.contact h2 { max-width: 650px; }
.contact-copy p { max-width: 470px; margin: 28px 0 18px; color: var(--muted); font-size: 18px; }
.direct-mail { color: var(--deep); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.contact-form { display: grid; gap: 22px; padding: 30px; border: 1px solid var(--line); background: var(--panel); }
.contact-form label { display: grid; gap: 8px; }
.contact-form label > span { color: #aeb3b5; font-size: 10px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 0; outline: 0; background: #0b0e0f; color: var(--paper); padding: 14px 15px; font: inherit; transition: border-color .2s, box-shadow .2s; }
.contact-form select { min-height: 54px; color-scheme: dark; }
.contact-form textarea { resize: vertical; min-height: 155px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--deep); box-shadow: 0 0 0 3px rgba(53,215,229,.11); }
.consent { grid-template-columns: 20px 1fr; align-items: start; gap: 10px !important; }
.consent input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--deep); }
.consent span { font-size: 11px !important; font-weight: 500 !important; letter-spacing: 0 !important; line-height: 1.5; text-transform: none !important; }
.consent a { color: var(--deep); text-decoration: underline; text-underline-offset: 3px; }
.form-submit { width: 100%; margin-top: 4px; cursor: pointer; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-notice { margin-bottom: 16px; padding: 15px 17px; border: 1px solid; font-size: 14px; }
.form-notice.success { border-color: rgba(216,255,62,.5); background: rgba(216,255,62,.08); color: var(--acid); }
.form-notice.error { border-color: rgba(255,105,105,.55); background: rgba(255,105,105,.08); color: #ff9b9b; }
.site-footer { padding: 30px 0; border-top: 1px solid var(--line); color: #7d8385; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-link-groups { display: flex; align-items: center; gap: 30px; }
.footer-social { display: flex; gap: 18px; }
.footer-social a { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; padding-block: 10px; }
.footer-social svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.footer-social .social-icon-dot { fill: currentColor; stroke: none; }
.footer-social .social-icon-youtube { fill: currentColor; stroke: none; }
.footer-social .social-icon-facebook { fill: currentColor; stroke: none; }
.footer-social .social-icon-play { fill: #080a0b; stroke: none; }
.footer-legal { display: flex; gap: 12px; }
.footer-legal a { display: inline-flex; min-height: 44px; align-items: center; padding: 10px 6px; }
.footer-social a:hover, .footer-social a:focus-visible, .footer-legal a:hover, .footer-legal a:focus-visible { color: var(--acid); }
.legal-hero { min-height: 570px; display: flex; align-items: flex-end; padding: 180px 0 72px; background: linear-gradient(135deg, #080a0b 35%, #10191b); border-bottom: 1px solid var(--line); }
.legal-hero h1 { margin-bottom: 22px; font-size: clamp(52px, 8vw, 108px); }
.legal-hero p { max-width: 650px; margin: 0; color: #b9bdbd; font-size: 19px; }
.privacy-hero .kicker { color: var(--deep); }
.legal-layout { display: grid; grid-template-columns: 280px minmax(0, 760px); justify-content: space-between; gap: 80px; padding-top: 90px; padding-bottom: 120px; }
.legal-note { height: fit-content; position: sticky; top: 28px; padding: 20px; border: 1px solid rgba(216,255,62,.35); background: rgba(216,255,62,.06); }
.legal-note strong { display: block; color: var(--acid); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.legal-note p { margin: 10px 0 0; color: #b9bdba; font-size: 13px; }
.legal-content section { padding: 0 0 42px; margin: 0 0 42px; border-bottom: 1px solid var(--line); }
.legal-content h2 { margin: 0 0 18px; font-size: clamp(30px, 4vw, 48px); line-height: 1; letter-spacing: -.04em; text-transform: none; }
.legal-content p { color: #c3c7c6; font-size: 17px; line-height: 1.8; }
.legal-content a { color: var(--deep); text-decoration: underline; text-underline-offset: 3px; }
.legal-content mark { background: rgba(216,255,62,.16); color: var(--acid); padding: 2px 5px; }
.legal-content code { color: var(--deep); white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
.legal-content pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
.legal-content h2 { scroll-margin-top: 110px; }
.legal-toc { margin: 0 0 54px; padding: 24px; border: 1px solid var(--line); background: var(--panel); }
.legal-toc > strong { display: block; margin-bottom: 14px; color: var(--acid); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.legal-toc ol { display: grid; gap: 5px; margin: 0; padding-left: 0; list-style: none; }
.legal-toc a { display: inline-flex; min-height: 40px; align-items: center; color: var(--paper); text-decoration: none; }
.legal-toc a:hover, .legal-toc a:focus-visible { color: var(--acid); }
.legal-back-to-top { display: inline-flex; min-height: 44px; align-items: center; margin-top: 12px; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.legal-toc a, .pipeline-toc a, .footer-legal a { display: inline-flex; min-height: 44px; align-items: center; }
.legal-content p a, .single-log-content p a, .about-long-copy p a { text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .2em; }
.content-empty { grid-column: 1 / -1; display: grid; gap: 8px; min-height: 180px; place-content: center; padding: 30px; border: 1px solid var(--line); text-align: center; }
.content-empty strong { font-size: clamp(22px, 3vw, 34px); }
.content-empty span { color: var(--muted); }
.legal-updated { color: var(--muted) !important; font-size: 11px !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.share-section { padding: 0 0 80px; }
.share-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 25px; border-top: 1px solid var(--line); }
.share-label { margin-right: 12px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.share-action { min-height: 44px; padding: 0 15px; border: 1px solid var(--line); background: transparent; color: var(--paper); font: inherit; font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; cursor: pointer; }
.share-action:hover, .share-action:focus-visible { border-color: var(--deep); color: var(--deep); }
.share-status { min-height: 18px; margin-left: 8px; color: var(--acid); font-size: 11px; }
.mobile-toggle { display: none; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.archive-hero { min-height: 570px; display: flex; align-items: flex-end; padding: 180px 0 72px; position: relative; isolation: isolate; overflow: hidden; }
.archive-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--archive-image) center/cover no-repeat; filter: saturate(.7); }
.archive-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,7,8,.94), rgba(5,7,8,.35)), linear-gradient(0deg, var(--ink), transparent 70%); }
.photo-archive-hero { --archive-image: url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?auto=format&fit=crop&w=1800&q=88'); }
.video-archive-hero { --archive-image: url('https://images.unsplash.com/photo-1502744688674-c619d1586c9e?auto=format&fit=crop&w=1800&q=88'); }
.logbook-archive-hero { --archive-image: url('https://images.unsplash.com/photo-1558981359-219d6364c9c8?auto=format&fit=crop&w=1800&q=88'); }
.expedition-archive-hero { --archive-image: url('https://images.unsplash.com/photo-1502744688674-c619d1586c9e?auto=format&fit=crop&w=1800&q=88'); }
.archive-hero h1 { margin-bottom: 22px; font-size: clamp(50px, 7.5vw, 104px); }
.archive-hero p { max-width: 580px; margin: 0; color: #b6babc; font-size: 18px; }
.archive-content { padding: 72px 0 120px; }
.archive-tools { display: flex; margin-bottom: 18px; }
.archive-search { width: min(100%, 620px); display: grid; grid-template-columns: 1fr 58px; border-bottom: 1px solid var(--line); }
.archive-search input { min-width: 0; border: 0; outline: 0; background: transparent; color: var(--paper); padding: 15px 4px; font: inherit; font-size: 19px; }
.archive-search button { border: 0; background: transparent; color: var(--deep); font-size: 27px; cursor: pointer; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 42px; }
.filter-pill { border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; background: transparent; color: #aeb3b5; font-family: inherit; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; transition: .2s; cursor: pointer; }
.filter-pill:hover, .filter-pill.active { border-color: var(--acid); background: var(--acid); color: #090b0c; }
.archive-grid { display: grid; gap: 32px 14px; }
.gallery-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.video-archive-grid { grid-template-columns: repeat(2, 1fr); }
.archive-card { min-width: 0; }
.archive-image { aspect-ratio: 4/3; position: relative; overflow: hidden; background: var(--panel); }
.video-result .archive-image { aspect-ratio: 16/9; }
.archive-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .3s; }
.gallery-archive-grid .archive-image { aspect-ratio: auto; }
.gallery-archive-grid .archive-image img { display: block; width: 100%; height: auto; object-fit: contain; }
.gallery-archive-grid .archive-card:hover .archive-image img { transform: none; }
.archive-card:hover .archive-image img { transform: scale(1.025); filter: saturate(1); }
.archive-card-copy { padding: 14px 2px 0; }
.archive-card-copy span { color: var(--deep); font-size: 9px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.archive-card-copy h2 { margin: 5px 0 0; font-size: clamp(22px, 2.4vw, 34px); line-height: 1; }
.archive-play { width: 52px; height: 52px; display: grid; place-items: center; position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); border-radius: 50%; background: var(--acid); color: #090b0c; font-style: normal; font-size: 13px; }
.archive-pagination { margin-top: 60px; }
.archive-pagination .nav-links { display: flex; gap: 8px; }
.archive-pagination a, .archive-pagination .current { display: inline-grid; min-width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); padding: 0 12px; font-size: 11px; font-weight: 800; }
.archive-pagination .current { border-color: var(--acid); color: var(--acid); }
.empty-archive { padding: 80px 0; border-top: 1px solid var(--line); }
.empty-archive h2 { font-size: clamp(38px, 5vw, 66px); }
.empty-archive p { color: var(--muted); }
.result-count { margin-left: auto; align-self: end; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.filterable[hidden] { display: none; }
.photo-lightbox-open { overflow: hidden; }
.photo-lightbox { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; position: fixed; inset: 0; z-index: 10000; padding: 18px; background: rgba(3, 5, 6, .96); color: var(--paper); }
.photo-lightbox[hidden] { display: none; }
.photo-lightbox-toolbar { display: flex; justify-content: flex-end; }
.photo-lightbox-close, .photo-lightbox-nav { display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); background: rgba(8,10,11,.78); color: var(--paper); cursor: pointer; }
.photo-lightbox-close { width: 48px; height: 48px; font-size: 29px; line-height: 1; }
.photo-lightbox-stage { min-width: 0; min-height: 0; display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: center; gap: 16px; }
.photo-lightbox-figure { min-width: 0; min-height: 0; height: 100%; display: grid; place-items: center; margin: 0; }
.photo-lightbox-image { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.photo-lightbox-nav { width: 56px; height: 56px; border-radius: 50%; font-size: 24px; }
.photo-lightbox-caption { min-height: 54px; display: flex; justify-content: center; align-items: center; gap: 14px; padding-top: 12px; text-align: center; }
.photo-lightbox-title { font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.photo-lightbox-count { color: var(--acid); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.archive-logbook-grid .log-card h2 { margin: 12px 0 9px; font-size: clamp(24px, 2.8vw, 38px); line-height: 1; letter-spacing: -.035em; }
.expedition-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 14px; }
.expedition-archive-grid .expedition-feature h2 { margin: 8px 0 10px; font-size: clamp(28px, 3vw, 44px); line-height: .92; letter-spacing: -.045em; text-transform: uppercase; }
.expedition-hero { min-height: 88svh; display: flex; align-items: flex-end; position: relative; isolation: isolate; padding: 210px 0 80px; overflow: hidden; }
.expedition-hero-image { position: absolute; inset: 0; z-index: -2; }
.expedition-hero-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7); }
.expedition-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5,7,8,.98), rgba(5,7,8,.12) 75%), linear-gradient(90deg, rgba(5,7,8,.7), transparent); }
.expedition-hero-copy h1 { max-width: 1150px; margin-bottom: 24px; font-size: clamp(52px, 8vw, 116px); }
.expedition-hero-copy p { max-width: 720px; margin: 0; color: #c1c5c5; font-size: 20px; }
.expedition-stats { border-block: 1px solid var(--line); background: var(--panel); }
.expedition-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.expedition-stats-grid > div { padding: 26px 22px; border-right: 1px solid var(--line); }
.expedition-stats-grid > div:first-child { padding-left: 0; }
.expedition-stats-grid > div:last-child { border-right: 0; }
.expedition-stats span { display: block; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.expedition-stats strong { display: block; margin-top: 6px; font-size: 18px; }
.expedition-story { padding: 100px 0; }
.expedition-story-grid { display: grid; grid-template-columns: minmax(0, 760px) 280px; justify-content: space-between; gap: 80px; }
.expedition-story aside { height: fit-content; padding-top: 18px; border-top: 2px solid var(--deep); position: sticky; top: 30px; }
.expedition-story aside > span { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.expedition-story aside > strong { display: block; margin: 7px 0 18px; font-size: 21px; }
.expedition-story aside .button { width: 100%; padding-inline: 14px; }
.expedition-photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.expedition-photo-grid .archive-image:nth-child(1), .expedition-photo-grid .archive-image:nth-child(6) { grid-column: span 2; }
.expedition-related { background: #0b0e0f; }
.single-log-header { min-height: 720px; display: flex; align-items: flex-end; position: relative; isolation: isolate; padding: 210px 0 78px; overflow: hidden; }
.single-log-cover { position: absolute; inset: 0; z-index: -2; }
.single-log-cover img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.68); }
.single-log-header::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5,7,8,.98), rgba(5,7,8,.18) 78%), linear-gradient(90deg, rgba(5,7,8,.82), transparent); }
.single-log-title { max-width: 1160px; }
.single-log-title .log-meta { max-width: 570px; }
.single-log-title h1 { max-width: 1120px; margin-bottom: 22px; font-size: clamp(48px, 7vw, 96px); }
.single-log-title > p { max-width: 720px; margin: 0; color: #c0c4c5; font-size: 20px; }
.single-log-layout { display: grid; grid-template-columns: minmax(0, 760px) 280px; justify-content: space-between; gap: 70px; padding-top: 90px; padding-bottom: 90px; }
.single-log-content { color: #c8cbca; font-family: Georgia, serif; font-size: 20px; line-height: 1.85; }
.single-log-content > *:first-child { margin-top: 0; }
.single-log-content h2, .single-log-content h3 { color: var(--paper); font-family: Inter, Arial, sans-serif; text-transform: none; }
.single-log-content h2 { margin-top: 56px; font-size: clamp(34px, 4vw, 52px); }
.single-log-content img { margin: 45px 0; }
.single-log-content blockquote { margin: 45px 0; padding-left: 25px; border-left: 3px solid var(--deep); color: var(--paper); font-size: 26px; line-height: 1.45; }
.single-log-aside { height: fit-content; padding-top: 18px; border-top: 2px solid var(--acid); position: sticky; top: 30px; }
.single-log-aside span { display: block; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.single-log-aside strong { display: block; margin: 8px 0 10px; font-size: 20px; }
.single-log-aside p { margin: 0; color: var(--muted); font-size: 14px; }
.single-log-nav { padding-bottom: 80px; }
.single-log-nav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.single-log-nav a { display: block; min-height: 120px; padding: 22px; border: 1px solid var(--line); font-size: 18px; font-weight: 800; }
.single-log-nav a span { display: block; margin-bottom: 8px; color: var(--deep); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }

/* Internal video page with privacy-friendly click-to-load player. */
.single-video { padding: 180px 0 100px; }
.single-video-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 430px); gap: 56px; align-items: end; margin-bottom: 40px; }
.single-video-head h1 { margin: 10px 0 0; font-size: clamp(44px, 6vw, 82px); line-height: .95; }
.single-video-intro { margin: 0; color: #b9bdbe; font-size: 18px; }
.video-player { width: 100%; max-width: 1040px; margin-inline: auto; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #020303; border: 1px solid var(--line); }
.video-player > img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.68) saturate(.82); }
.video-player-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #121719, #050607); }
.video-player-overlay { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; background: linear-gradient(0deg, rgba(2,3,4,.7), transparent 70%); }
.video-player-button { min-width: 230px; padding: 17px 24px; border: 0; background: var(--acid); color: #080a0b; cursor: pointer; font: inherit; font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.video-player-button:hover { background: var(--deep); }
.video-player-note { max-width: 520px; margin: 0; color: #e1e3df; font-size: 12px; }
.video-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.single-video-details { display: grid; grid-template-columns: minmax(0, 760px) 280px; justify-content: space-between; gap: 70px; padding-top: 54px; }
.single-video-content { color: #c8cbca; font-size: 18px; }
.single-video-content > *:first-child { margin-top: 0; }
.single-video-aside { height: fit-content; padding-top: 18px; border-top: 2px solid var(--deep); }
.single-video-aside span { display: block; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.single-video-aside a { display: inline-block; margin-top: 12px; color: var(--deep); font-weight: 800; }
.single-video-back { margin-top: 70px; }
.single-video-back a { color: var(--acid); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }

@media (max-width: 760px) {
  .single-video { padding: 132px 0 72px; }
  .single-video-head, .single-video-details { grid-template-columns: 1fr; gap: 26px; }
  .single-video-head { margin-bottom: 26px; }
  .video-player-button { min-width: 0; width: 100%; max-width: 290px; }
}
.comments-area { padding: 90px 0 110px; border-top: 1px solid var(--line); background: var(--panel); }
.comments-inner { max-width: 850px; }
.comments-area h2 { margin-bottom: 40px; font-size: clamp(34px, 4vw, 52px); }
.comment-list { list-style: none; margin: 0 0 70px; padding: 0; }
.comment-list > li { margin: 0 0 22px; padding: 22px; border: 1px solid var(--line); }
.comment-list .children { list-style: none; margin: 20px 0 0 30px; padding: 0; }
.comment-author { display: flex; align-items: center; gap: 11px; }
.comment-author img { width: 42px; height: 42px; border-radius: 50%; }
.comment-metadata { margin: 6px 0 14px 53px; color: var(--muted); font-size: 10px; }
.comment-content { color: #c5c8c8; }
.reply { margin-top: 12px; color: var(--deep); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.comment-notes { color: var(--muted); font-size: 13px; }
.comment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.comment-form > p { margin: 0; }
.comment-form-comment, .comment-notes, .comment-form-cookies-consent, .form-submit, .logged-in-as { grid-column: 1 / -1; }
.comment-form label { display: block; margin-bottom: 7px; color: #aeb3b5; font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.comment-form input:not([type="checkbox"]):not([type="submit"]), .comment-form textarea { width: 100%; border: 1px solid var(--line); outline: 0; background: #080a0b; color: var(--paper); padding: 14px; font: inherit; }
.comment-form .form-submit .button { width: 100%; cursor: pointer; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--deep); box-shadow: 0 0 0 3px rgba(53,215,229,.11); }
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 9px; }
.comment-form-cookies-consent label { margin: 0; font-weight: 500; letter-spacing: 0; line-height: 1.5; text-transform: none; }
.error-page { min-height: 76svh; display: flex; align-items: center; padding: 180px 0 100px; background: radial-gradient(circle at 80% 30%, rgba(53,215,229,.12), transparent 34%); }
.error-page h1 { max-width: 900px; }
.error-page p { max-width: 620px; margin: 0 0 32px; color: var(--muted); font-size: clamp(18px, 2vw, 23px); }

@media (max-width: 1120px) {
  .site-header { padding: 14px 0; }
  .nav { position: relative; }
  .js .nav-ready .menu-toggle { display: block; }
  .js .nav > nav { display: none; }
  .js .nav-ready .nav > nav { display: block; width: min(360px, calc(100vw - 48px)); position: absolute; top: calc(100% + 12px); right: 0; visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease, visibility .2s; border: 1px solid var(--line); background: rgba(10,13,14,.98); box-shadow: 0 24px 70px rgba(0,0,0,.48); }
  .js .nav-ready.nav-open .nav > nav { visibility: visible; opacity: 1; transform: translateY(0); }
  .nav-ready .menu { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; }
  .nav-ready .menu li { display: block; }
  .nav-ready .menu a { display: block; padding: 13px 14px; }
  .nav-ready .menu .pill, .nav-ready .menu .menu-contact > a { margin-top: 6px; text-align: center; }
  .no-js .nav { align-items: flex-start; flex-wrap: wrap; }
  .no-js .nav > nav { width: 100%; }
  .no-js .menu { flex-wrap: wrap; gap: 8px 18px; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

@media (max-width: 780px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .hero { min-height: 860px; }
  .hero-content { padding-bottom: 48px; }
  .hero-copy { grid-template-columns: 1fr; }
  .hero-copy .button { width: fit-content; }
  .section { padding: 82px 0; }
  .section-head, .about { grid-template-columns: 1fr; }
  .about-page-hero-grid, .about-origin-grid, .about-worlds-grid { grid-template-columns: 1fr; }
  .about-page-hero-grid > *, .about-worlds-grid > * { min-width: 0; }
  .about-page-portrait { min-height: 520px; }
  .about-values { grid-template-columns: 1fr 1fr; }
  .about-values article:nth-child(2) { border-right: 0; }
  .about-values article { border-bottom: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; }
  .newsletter-grid { grid-template-columns: 1fr; }
  .world-grid { grid-template-columns: 1fr; }
  .expedition-feature-grid { grid-template-columns: 1fr; }
  .world-card { min-height: 430px; }
  .section-intro { justify-self: start; }
  .photo-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 280px; }
  .photo-grid > .photo { grid-column: auto !important; grid-row: auto !important; min-height: 0; }
  .photo-grid .photo:first-child { min-height: 0; }
  .photo-grid .photo img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
  .video-card { grid-template-columns: 34px 1fr 42px; }
  .thumb { display: none; }
  .about { gap: 48px; }
  .footer-inner { flex-direction: column; }
  .footer-link-groups { flex-direction: column; gap: 18px; }
  .footer-social { flex-wrap: wrap; justify-content: center; }
  .footer-legal { flex-wrap: wrap; }
  .legal-layout { grid-template-columns: 1fr; gap: 45px; padding-top: 60px; }
  .legal-layout > *, .legal-content { min-width: 0; }
  .legal-content { overflow-wrap: anywhere; }
  .legal-note { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 20px; }
  .gallery-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-archive-grid { grid-template-columns: 1fr; }
  .expedition-archive-grid { grid-template-columns: 1fr; }
  .logbook-grid { grid-template-columns: 1fr; }
  .newsletter-form { grid-template-columns: 1fr; padding: 20px; }
  .archive-hero { min-height: 520px; }
  .single-log-layout { grid-template-columns: 1fr; }
  .expedition-stats-grid { grid-template-columns: 1fr 1fr; }
  .expedition-stats-grid > div { border-bottom: 1px solid var(--line); }
  .expedition-story-grid { grid-template-columns: 1fr; }
  .expedition-story aside { position: static; }
  .expedition-photo-grid { grid-template-columns: 1fr 1fr; }
  .single-log-aside { position: static; }
  .single-log-nav .nav-links, .comment-form { grid-template-columns: 1fr; }
  .filter-pill { min-height: 44px; padding-block: 10px; }
}

@media (max-width: 520px) {
  .site-header { padding: 10px 0; }
  .hero { min-height: max(720px, 100svh); }
  .hero-minimal-action { bottom: 18px; padding-inline: 14px; }
  .section-action .button { width: 100%; }
  .brand-logo-frame { width: 88px; height: 88px; flex-basis: 88px; }
  .site-header.is-scrolled .brand-logo-frame, .site-header.nav-open .brand-logo-frame { width: 64px; height: 64px; flex-basis: 64px; }
  .brand-wordmark { display: none; }
  .gallery-archive-grid { grid-template-columns: 1fr; }
  .photo-lightbox { padding: 10px; }
  .photo-lightbox-stage { grid-template-columns: 1fr; }
  .photo-lightbox-nav { width: 46px; height: 46px; position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; }
  .photo-lightbox-prev { left: 12px; }
  .photo-lightbox-next { right: 12px; }
  .about-values { grid-template-columns: 1fr; }
  .about-values article, .about-values article:nth-child(2) { border-right: 0; }
  .about-values article:last-child { border-bottom: 0; }
  .legal-hero h1 { max-width: 100%; font-size: clamp(46px, 12.5vw, 60px); overflow-wrap: anywhere; }
}

@media (max-width: 340px) {
  .about-page-title h1 { font-size: 52px; }
  .about-world h2 { font-size: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header, .brand-logo-frame { transition: none; }
  .hero-discover-link:hover, .hero-discover-link:focus-visible { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@supports (content-visibility: auto) {
  .twd-home-layout main > :is(.worlds, .section, .contact, .newsletter-section) {
    content-visibility: auto;
    contain-intrinsic-size: auto 760px;
  }
}

@media (forced-colors: active) {
  .hero-discover-link, .button, .menu-toggle, .filter-pill, .share-action { border: 1px solid ButtonText; }
}
