/* Matt O'Driscoll multi-page portfolio */

:root{
  --night:#05070d;
  --ink:#f7f8ff;
  --muted:#9da8c7;
  --line:rgba(255,255,255,.15);
  --panel:rgba(255,255,255,.075);
  --panel2:rgba(255,255,255,.12);
  --cyan:#00f0ff;
  --pink:#ff3cb7;
  --amber:#ffb020;
  --green:#a8ff5f;
  --blue:#6c8cff;
  --deep:#101526;
  --max:1240px;
  --r:28px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  color:var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(0,240,255,.22), transparent 28rem),
    radial-gradient(circle at 80% 8%, rgba(255,60,183,.22), transparent 30rem),
    radial-gradient(circle at 50% 100%, rgba(168,255,95,.10), transparent 28rem),
    linear-gradient(180deg,#05070d 0%,#090c18 45%,#05070d 100%);
  overflow-x:hidden;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-4;
  pointer-events:none;
  background:
    linear-gradient(120deg, transparent 0 47%, rgba(255,255,255,.06) 48% 49%, transparent 50% 100%),
    linear-gradient(60deg, transparent 0 48%, rgba(255,255,255,.045) 49% 50%, transparent 51% 100%);
  background-size:130px 130px;
  mask-image:linear-gradient(#000, transparent 88%);
}

body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-3;
  pointer-events:none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.32) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(0,240,255,.35) 0 1px, transparent 1.6px);
  background-position:0 0, 44px 70px;
  background-size:130px 130px, 170px 170px;
  opacity:.3;
}

a{color:inherit;text-decoration:none}
.wrap{width:min(var(--max), calc(100% - 34px));margin:auto}

.topbar{
  position:fixed;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  z-index:40;
  width:min(860px, calc(100% - 26px));
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:8px;
  padding:8px;
  border:1px solid var(--line);
  background:rgba(5,7,13,.74);
  backdrop-filter:blur(22px);
  border-radius:26px;
  box-shadow:0 25px 80px rgba(0,0,0,.42);
}

.topbar a{
  min-height:50px;
  display:grid;
  place-items:center;
  border-radius:18px;
  color:#cbd4f5;
  font-size:13px;
  font-weight:900;
  letter-spacing:-.02em;
  text-align:center;
}

.topbar a:hover,
.topbar a.active{
  background:rgba(255,255,255,.11);
  color:#fff;
}

.page-shell{
  min-height:100vh;
  padding:46px 0 122px;
}

.masthead{
  min-height:100vh;
  display:grid;
  align-items:center;
  padding:46px 0 110px;
  position:relative;
  overflow:hidden;
}

.masthead::before,.page-shell::before{
  content:"";
  position:absolute;
  width:80vw;
  height:80vw;
  max-width:820px;
  max-height:820px;
  right:-18vw;
  top:4vh;
  border-radius:50%;
  background:
    repeating-conic-gradient(from 20deg, rgba(255,255,255,.12) 0 8deg, transparent 8deg 18deg),
    radial-gradient(circle, transparent 0 46%, rgba(0,240,255,.23) 47% 48%, transparent 49% 61%, rgba(255,60,183,.21) 62% 64%, transparent 65%);
  animation:rotateRing 38s linear infinite;
  opacity:.76;
  z-index:-1;
}

.page-shell{position:relative;overflow:hidden}
.page-shell::before{opacity:.32;top:-24vw}

@keyframes rotateRing{to{transform:rotate(360deg)}}

.hero-layout{
  display:grid;
  grid-template-columns:.86fr 1.14fr;
  gap:34px;
  align-items:stretch;
}

.passport{
  position:relative;
  min-height:680px;
  border-radius:42px;
  border:1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.055)),
    radial-gradient(circle at 22% 12%, rgba(0,240,255,.18), transparent 34%),
    radial-gradient(circle at 80% 88%, rgba(255,60,183,.2), transparent 32%);
  box-shadow:0 30px 110px rgba(0,0,0,.43);
  overflow:hidden;
  padding:26px;
}

.passport::before{
  content:"";
  position:absolute;
  inset:22px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:31px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size:35px 35px;
  mask-image:linear-gradient(#000 0 65%, transparent);
}

.passport-badge{
  position:relative;
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:10px 13px;
  border-radius:999px;
  background:rgba(0,0,0,.26);
  border:1px solid rgba(255,255,255,.14);
  color:#eafaff;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:12px;
  font-weight:950;
}

.signal-dot{
  width:10px;height:10px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 24px var(--green);
}

.initials{
  position:relative;
  margin-top:44px;
  width:245px;
  height:245px;
  border-radius:58px;
  display:grid;
  place-items:center;
  background:#05070d;
  border:1px solid rgba(255,255,255,.2);
  box-shadow:inset 0 0 0 14px rgba(255,255,255,.045),0 20px 80px rgba(0,0,0,.4);
  font-size:72px;
  font-weight:1000;
  letter-spacing:-.13em;
  transform:rotate(-5deg);
}

.stamp{
  position:absolute;
  right:18px;
  top:132px;
  width:150px;
  height:150px;
  border-radius:50%;
  border:4px double rgba(255,255,255,.28);
  display:grid;
  place-items:center;
  text-align:center;
  color:#dffcff;
  font-weight:1000;
  letter-spacing:.07em;
  text-transform:uppercase;
  font-size:17px;
  transform:rotate(13deg);
  background:rgba(0,240,255,.07);
}

.stamp span{
  display:block;
  font-size:11px;
  margin-top:5px;
  color:var(--muted);
}

.route-lines{
  position:absolute;
  left:0;
  right:0;
  bottom:34px;
  height:270px;
  opacity:.95;
}

.route-lines svg{width:100%;height:100%;overflow:visible}
.route-lines path{
  stroke-dasharray:9 13;
  animation:dash 22s linear infinite;
}
@keyframes dash{to{stroke-dashoffset:-260}}

.big-copy{
  position:relative;
  min-height:680px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:22px;
}

.site-label{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  color:#dce5ff;
  font-size:14px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.11em;
}

.site-label::after{
  content:"";
  height:1px;
  flex:1;
  background:linear-gradient(90deg, rgba(255,255,255,.28), transparent);
}

h1{
  margin:28px 0 0;
  font-size:clamp(62px, 11vw, 150px);
  line-height:.84;
  letter-spacing:-.055em;
  max-width:900px;
}

.glow-word{
  color:transparent;
  background:linear-gradient(90deg,#fff,#bffaff,#ffb7ea,#fff7bd);
  -webkit-background-clip:text;
  background-clip:text;
  filter:drop-shadow(0 0 32px rgba(0,240,255,.14));
}

.intro-card{
  width:min(720px,100%);
  display:grid;
  grid-template-columns:1fr auto;
  gap:22px;
  align-items:end;
  border:1px solid var(--line);
  border-radius:34px;
  padding:24px;
  background:rgba(255,255,255,.075);
  backdrop-filter:blur(20px);
  box-shadow:0 25px 90px rgba(0,0,0,.28);
}

.intro-card p{
  margin:0;
  color:#d9e1ff;
  font-size:clamp(18px,2vw,24px);
  line-height:1.45;
  font-weight:650;
}

.arrow,.button{
  display:inline-grid;
  place-items:center;
  min-height:54px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:20px;
  background:linear-gradient(135deg,var(--cyan),#fff,var(--pink));
  color:#05070d;
  box-shadow:0 15px 50px rgba(0,240,255,.18);
  font-weight:1000;
  padding:0 18px;
}

.arrow{
  width:74px;height:74px;padding:0;border-radius:24px;
}

.button.secondary{
  background:rgba(255,255,255,.08);
  color:#fff;
  backdrop-filter:blur(20px);
}

.quick-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:16px;
}

.quick-stat{
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  border-radius:24px;
  padding:18px;
}

.quick-stat b{
  display:block;
  font-size:32px;
  letter-spacing:-.08em;
}

.quick-stat small{
  display:block;
  color:var(--muted);
  font-weight:800;
  margin-top:5px;
}

section{padding:92px 0}
.section-title{
  display:grid;
  grid-template-columns:1fr minmax(240px,420px);
  gap:26px;
  align-items:end;
  margin-bottom:30px;
}

.kicker{
  color:var(--cyan);
  text-transform:uppercase;
  letter-spacing:.15em;
  font-weight:1000;
  font-size:12px;
  margin-bottom:11px;
}

h2{
  margin:0;
  font-size:clamp(44px,6vw,82px);
  line-height:.94;
  letter-spacing:-.045em;
}

.section-title p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
  font-weight:650;
}

.about-board{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:18px;
  align-items:stretch;
}

.about-main{
  min-height:470px;
  border:1px solid var(--line);
  border-radius:38px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.045)),
    radial-gradient(circle at 0 0, rgba(255,176,32,.22), transparent 42%);
  overflow:hidden;
  position:relative;
  padding:32px;
  box-shadow:0 30px 100px rgba(0,0,0,.28);
}

.about-main::after{
  content:"";
  position:absolute;
  width:380px;height:380px;
  right:-80px;bottom:-120px;
  border-radius:80px;
  background:linear-gradient(45deg, rgba(0,240,255,.22), rgba(255,60,183,.24));
  transform:rotate(22deg);
}

.about-main h3{
  position:relative;
  margin:0;
  max-width:640px;
  font-size:clamp(38px,5vw,74px);
  line-height:.96;
  letter-spacing:-.04em;
  z-index:2;
}

.about-main p{
  position:relative;
  z-index:2;
  max-width:690px;
  margin:20px 0 0;
  color:#d8e0ff;
  font-size:19px;
  line-height:1.58;
  font-weight:650;
}

.fact-stack{display:grid;gap:18px}

.fact{
  min-height:145px;
  border:1px solid var(--line);
  border-radius:30px;
  background:rgba(255,255,255,.075);
  padding:22px;
  position:relative;
  overflow:hidden;
}

.fact::before{
  content:"";
  position:absolute;
  width:110px;height:110px;
  right:-32px;top:-36px;
  border-radius:50%;
  background:var(--c);
  filter:blur(2px);
  opacity:.42;
}

.fact svg{width:38px;height:38px}
.fact b,.now-item b{
  display:block;
  margin-top:12px;
  font-size:24px;
  letter-spacing:-.05em;
}

.fact span,.now-item small{
  display:block;
  color:var(--muted);
  line-height:1.5;
  margin-top:6px;
  font-weight:650;
}

.travel-map{
  position:relative;
  min-height:700px;
  border-radius:44px;
  border:1px solid var(--line);
  background:
    radial-gradient(circle at 24% 20%, rgba(0,240,255,.18), transparent 28%),
    radial-gradient(circle at 70% 75%, rgba(255,60,183,.18), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.045));
  overflow:hidden;
  box-shadow:0 35px 110px rgba(0,0,0,.34);
  padding:28px;
}

.travel-map::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size:54px 54px;
  mask-image:radial-gradient(circle at 50% 45%, #000, transparent 78%);
}

.map-lines{
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.9;
}
.map-lines svg{width:100%;height:100%}

.pin-card{
  position:absolute;
  width:min(310px, calc(100% - 56px));
  border:1px solid rgba(255,255,255,.18);
  border-radius:26px;
  background:rgba(5,7,13,.74);
  backdrop-filter:blur(20px);
  padding:18px;
  box-shadow:0 22px 80px rgba(0,0,0,.34);
}

.pin-card::before{
  content:"";
  position:absolute;
  width:18px;height:18px;
  border-radius:50%;
  background:var(--pin);
  left:18px;
  top:-9px;
  box-shadow:0 0 0 8px color-mix(in srgb, var(--pin) 20%, transparent), 0 0 30px var(--pin);
}

.pin-card h3,.social h3{
  margin:0;
  font-size:28px;
  letter-spacing:-.06em;
}

.pin-card p,.social p{
  margin:10px 0 14px;
  color:#cbd5fb;
  line-height:1.5;
  font-weight:650;
}

.tagrow,.actions{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}

.tag{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.075);
  color:#edf2ff;
  font-size:12px;
  font-weight:900;
}

.pin1{left:6%;top:10%;--pin:var(--cyan)}
.pin2{right:7%;top:17%;--pin:var(--pink)}
.pin3{left:11%;bottom:16%;--pin:var(--amber)}
.pin4{right:12%;bottom:10%;--pin:var(--green)}

.photo-strip{
  margin-top:18px;
  display:grid;
  grid-template-columns:1.1fr .8fr 1fr .9fr;
  gap:14px;
}

.photo{
  min-height:210px;
  border-radius:30px;
  border:1px solid var(--line);
  overflow:hidden;
  position:relative;
  background:
    radial-gradient(circle at 22% 20%, var(--a), transparent 32%),
    radial-gradient(circle at 80% 80%, var(--b), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.055));
}

.photo::before{
  content:"";
  position:absolute;
  inset:18px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.15);
  background:
    linear-gradient(140deg, transparent 0 55%, rgba(255,255,255,.14) 56% 57%, transparent 58%),
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.18), transparent 16%);
}

.photo b{
  position:absolute;
  left:18px;
  bottom:16px;
  font-size:21px;
  letter-spacing:-.045em;
  z-index:2;
}

.social-wall,.project-grid,.contact-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:14px;
}

.social,.project-card,.contact-card{
  grid-column:span 4;
  min-height:190px;
  border-radius:32px;
  border:1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.05)),
    radial-gradient(circle at 80% 20%, var(--c), transparent 40%);
  padding:22px;
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transition:.25s ease;
}

.project-card{grid-column:span 6;min-height:260px}
.contact-card{grid-column:span 6;min-height:240px}

.social:hover,.project-card:hover,.contact-card:hover{
  transform:translateY(-6px);
  border-color:rgba(255,255,255,.28);
}

.social::after,.project-card::after,.contact-card::after{
  content:"";
  position:absolute;
  width:170px;height:170px;
  right:-80px;bottom:-80px;
  border-radius:50%;
  border:34px solid rgba(255,255,255,.07);
}

.social-icon,.project-icon,.contact-icon{
  width:58px;height:58px;
  border-radius:22px;
  display:grid;
  place-items:center;
  background:rgba(0,0,0,.24);
  border:1px solid rgba(255,255,255,.14);
  font-size:24px;
  font-weight:1000;
}

.project-card h3,.contact-card h3{
  margin:20px 0 8px;
  font-size:32px;
  letter-spacing:-.06em;
}

.project-card p,.contact-card p{
  margin:0 0 16px;
  color:#cbd5fb;
  line-height:1.55;
  font-weight:650;
}

.current-panel{
  border:1px solid var(--line);
  border-radius:46px;
  padding:34px;
  background:
    radial-gradient(circle at 0 0, rgba(0,240,255,.19), transparent 34%),
    radial-gradient(circle at 100% 20%, rgba(255,60,183,.18), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.055));
  box-shadow:0 35px 110px rgba(0,0,0,.32);
  overflow:hidden;
  position:relative;
}

.current-panel::before{
  content:"";
  position:absolute;
  width:520px;height:520px;
  right:-180px;bottom:-220px;
  border-radius:50%;
  background:repeating-conic-gradient(rgba(255,255,255,.12) 0 8deg, transparent 8deg 16deg);
  opacity:.42;
}

.current-grid{
  position:relative;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:18px;
  align-items:stretch;
}

.now-big{
  min-height:360px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:26px;
  border-radius:34px;
  background:rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.13);
}

.now-big h2{font-size:clamp(42px,5vw,76px)}
.now-big p{
  color:#d8e0ff;
  line-height:1.58;
  font-weight:650;
  font-size:18px;
  max-width:620px;
}

.now-list{display:grid;gap:14px}

.now-item{
  display:grid;
  grid-template-columns:64px 1fr;
  gap:14px;
  align-items:center;
  padding:16px;
  min-height:110px;
  border-radius:28px;
  background:rgba(255,255,255,.075);
  border:1px solid rgba(255,255,255,.13);
}

.now-item span{
  width:64px;height:64px;
  display:grid;
  place-items:center;
  border-radius:22px;
  background:rgba(0,0,0,.24);
  font-size:26px;
}

.page-hero{
  padding:76px 0 46px;
}

.page-hero-card{
  margin-top:18px;
  border:1px solid var(--line);
  border-radius:44px;
  min-height:420px;
  display:grid;
  grid-template-columns:1fr .72fr;
  gap:22px;
  align-items:end;
  padding:34px;
  background:
    radial-gradient(circle at 15% 10%, rgba(0,240,255,.19), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(255,60,183,.18), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.052));
  box-shadow:0 35px 110px rgba(0,0,0,.32);
  overflow:hidden;
  position:relative;
}

.page-hero-card::after{
  content:"";
  position:absolute;
  right:-110px;
  top:-130px;
  width:420px;
  height:420px;
  border-radius:50%;
  background:repeating-conic-gradient(rgba(255,255,255,.13) 0 8deg, transparent 8deg 18deg);
  opacity:.42;
  animation:rotateRing 38s linear infinite reverse;
}

.page-hero h1{
  font-size:clamp(60px,9vw,124px);
  line-height:.9;
  letter-spacing:-.045em;
  position:relative;
  z-index:2;
}

.page-hero p{
  position:relative;
  z-index:2;
  color:#d9e1ff;
  font-size:clamp(18px,2vw,24px);
  line-height:1.48;
  font-weight:650;
  max-width:720px;
  margin:22px 0 0;
}

.hero-symbol{
  position:relative;
  z-index:2;
  min-height:260px;
  border-radius:38px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(0,0,0,.18);
  display:grid;
  place-items:center;
  overflow:hidden;
}

.hero-symbol span{
  font-size:116px;
  filter:drop-shadow(0 20px 55px rgba(0,0,0,.35));
}

.hero-symbol::before{
  content:"";
  position:absolute;
  inset:30px;
  border-radius:50%;
  border:2px dashed rgba(255,255,255,.22);
  animation:rotateRing 24s linear infinite;
}

footer{
  padding:34px 0 116px;
  color:var(--muted);
  text-align:center;
  font-weight:750;
}

.reveal{
  opacity:0;
  transform:translateY(22px) scale(.99);
  transition:opacity .75s ease, transform .75s ease;
}

.reveal.show{
  opacity:1;
  transform:none;
}

@media(max-width:980px){
  .hero-layout,.section-title,.about-board,.current-grid,.page-hero-card{grid-template-columns:1fr}
  .passport,.big-copy{min-height:auto}
  .passport{min-height:520px}
  .social{grid-column:span 6}
  .project-card,.contact-card{grid-column:span 12}
  .travel-map{min-height:980px}
  .pin-card{position:relative;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;margin:0 0 14px;width:100%}
  .map-lines{opacity:.35}
  .photo-strip{grid-template-columns:1fr 1fr}
}

@media(max-width:700px){
  .topbar{
    grid-template-columns:repeat(3,1fr);
    border-radius:22px;
  }
  .topbar a{
    font-size:11px;
    min-height:42px;
    border-radius:15px;
  }
}

@media(max-width:640px){
  .wrap{width:min(100% - 22px,var(--max))}
  .masthead{padding-top:28px}
  .page-shell{padding-top:42px}
  h1{font-size:clamp(58px,20vw,90px)}
  .intro-card{grid-template-columns:1fr}
  .arrow{width:58px;height:58px;border-radius:19px}
  .quick-stats{grid-template-columns:1fr}
  section{padding:64px 0}
  .about-main,.travel-map,.current-panel{border-radius:30px;padding:20px}
  .page-hero-card{border-radius:30px;padding:28px 22px}
  .social{grid-column:span 12}
  .photo-strip{grid-template-columns:1fr}
  .passport{padding:18px}
  .stamp{width:118px;height:118px;font-size:13px;right:15px}
  .initials{width:158px;height:158px;font-size:60px}
  footer{padding-bottom:140px}
}


.page-hero h1{
  line-height:.92;
  letter-spacing:-.04em;
  word-spacing:.04em;
}

.page-hero h1 .glow-word{
  letter-spacing:-.035em;
}


.travel-summary-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin-bottom:18px;
}

.travel-summary-card{
  border:1px solid var(--line);
  border-radius:28px;
  padding:22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.05)),
    radial-gradient(circle at 80% 20%, var(--c), transparent 44%);
  box-shadow:0 24px 80px rgba(0,0,0,.24);
  overflow:hidden;
  position:relative;
}

.travel-summary-card::after{
  content:"";
  position:absolute;
  right:-48px;
  bottom:-56px;
  width:130px;
  height:130px;
  border-radius:50%;
  border:26px solid rgba(255,255,255,.06);
}

.travel-summary-card b{
  display:block;
  font-size:42px;
  line-height:1;
  letter-spacing:-.07em;
}

.travel-summary-card span{
  display:block;
  color:var(--muted);
  font-weight:850;
  margin-top:8px;
}

.upcoming-panel{
  border:1px solid var(--line);
  border-radius:34px;
  padding:26px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,176,32,.18), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.045));
  margin:18px 0;
}

.upcoming-panel h3{
  margin:0;
  font-size:34px;
  letter-spacing:-.055em;
}

.upcoming-panel p{
  margin:12px 0 0;
  color:#cbd5fb;
  line-height:1.55;
  font-weight:650;
}

.region-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin:18px 0 38px;
}

.region-card{
  min-height:150px;
  border:1px solid var(--line);
  border-radius:30px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.105), rgba(255,255,255,.045)),
    radial-gradient(circle at 90% 15%, var(--c), transparent 42%);
  padding:22px;
  position:relative;
  overflow:hidden;
}

.region-card small{
  display:inline-flex;
  min-height:28px;
  align-items:center;
  padding:0 10px;
  border-radius:999px;
  background:rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.13);
  color:#dfe7ff;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:11px;
}

.region-card h3{
  margin:20px 0 6px;
  font-size:28px;
  letter-spacing:-.055em;
}

.region-card p{
  margin:0;
  color:var(--muted);
  font-weight:800;
}

.category-block{
  margin-top:34px;
}

.category-heading{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:14px;
}

.category-heading h2{
  font-size:clamp(38px,5vw,66px);
}

.category-heading span{
  color:var(--muted);
  font-weight:900;
}

.destination-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.destination-card{
  min-height:235px;
  border:1px solid var(--line);
  border-radius:32px;
  padding:18px;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 20% 10%, var(--a), transparent 36%),
    radial-gradient(circle at 95% 80%, var(--b), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.052));
  box-shadow:0 24px 80px rgba(0,0,0,.25);
}

.destination-card::before{
  content:"";
  position:absolute;
  inset:14px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(135deg, transparent 0 58%, rgba(255,255,255,.11) 59% 60%, transparent 61%),
    radial-gradient(circle at 62% 24%, rgba(255,255,255,.16), transparent 14%);
  opacity:.72;
}

.destination-card .country,
.destination-card h3,
.destination-card .meta,
.destination-card .rating{
  position:relative;
  z-index:2;
}

.destination-card .country{
  display:inline-flex;
  min-height:28px;
  align-items:center;
  padding:0 10px;
  border-radius:999px;
  background:rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.13);
  color:#dfe7ff;
  font-size:11px;
  font-weight:1000;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.destination-card h3{
  margin:58px 0 12px;
  font-size:31px;
  letter-spacing:-.06em;
}

.destination-card .meta{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}

.destination-card .rating{
  margin-top:12px;
  color:#fff7bd;
  font-weight:1000;
  letter-spacing:.03em;
}

@media(max-width:980px){
  .travel-summary-grid,.region-grid{grid-template-columns:repeat(2,1fr)}
  .destination-grid{grid-template-columns:1fr 1fr}
}

@media(max-width:640px){
  .travel-summary-grid,.region-grid,.destination-grid{grid-template-columns:1fr}
  .category-heading{display:block}
  .category-heading span{display:block;margin-top:8px}
}


.destination-card{
  display:block;
  color:inherit;
}

.destination-thumb{
  position:absolute;
  inset:14px 14px auto 14px;
  height:170px;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  z-index:2;
  background:rgba(0,0,0,.22);
}

.destination-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .3s ease, opacity .3s ease;
}

.destination-card:hover .destination-thumb img{
  transform:scale(1.06);
}

.destination-card .country{
  margin-top:184px;
}

.destination-card h3{
  margin:16px 0 12px;
}

.destination-page-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:18px;
  align-items:start;
}

.gallery-panel,
.destination-info-panel{
  border:1px solid var(--line);
  border-radius:38px;
  padding:22px;
  background:
    radial-gradient(circle at 18% 10%, rgba(0,240,255,.16), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.105), rgba(255,255,255,.045));
  box-shadow:0 30px 100px rgba(0,0,0,.28);
  overflow:hidden;
  position:relative;
}

.gallery-main{
  position:relative;
  border-radius:30px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
  min-height:560px;
  background:
    radial-gradient(circle at 20% 20%, rgba(0,240,255,.20), transparent 32%),
    radial-gradient(circle at 80% 80%, rgba(255,60,183,.18), transparent 32%),
    rgba(0,0,0,.24);
}

.gallery-main img{
  width:100%;
  height:100%;
  min-height:560px;
  object-fit:cover;
  display:block;
}

.gallery-label{
  position:absolute;
  left:18px;
  bottom:18px;
  z-index:2;
  display:inline-flex;
  min-height:34px;
  align-items:center;
  padding:0 12px;
  border-radius:999px;
  background:rgba(5,7,13,.72);
  backdrop-filter:blur(18px);
  border:1px solid rgba(255,255,255,.16);
  font-size:13px;
  font-weight:950;
}

.gallery-thumbs{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:10px;
  margin-top:12px;
}

.gallery-thumb{
  border:1px solid rgba(255,255,255,.15);
  border-radius:18px;
  min-height:105px;
  padding:0;
  overflow:hidden;
  background:rgba(255,255,255,.06);
  cursor:pointer;
}

.gallery-thumb img{
  width:100%;
  height:105px;
  object-fit:cover;
  display:block;
}

.gallery-thumb.active{
  outline:2px solid var(--cyan);
  outline-offset:2px;
}

.destination-info-panel h2{
  font-size:clamp(42px,5vw,76px);
}

.destination-info-panel p{
  color:#d8e0ff;
  line-height:1.6;
  font-weight:650;
  font-size:18px;
}

.destination-meta-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:22px 0;
}

.destination-meta-card{
  border:1px solid rgba(255,255,255,.14);
  border-radius:24px;
  background:rgba(0,0,0,.20);
  padding:16px;
}

.destination-meta-card b{
  display:block;
  color:#fff;
  font-size:24px;
  letter-spacing:-.05em;
}

.destination-meta-card span{
  display:block;
  color:var(--muted);
  margin-top:5px;
  font-weight:800;
}

.back-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:48px;
  padding:0 15px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.075);
  color:#fff;
  font-weight:950;
  margin-top:16px;
}

.image-note{
  margin-top:12px;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
  font-weight:700;
}

@media(max-width:980px){
  .destination-page-grid{grid-template-columns:1fr}
  .gallery-thumbs{grid-template-columns:repeat(3,1fr)}
}

@media(max-width:640px){
  .destination-meta-grid{grid-template-columns:1fr}
  .gallery-main,.gallery-main img{min-height:360px}
  .gallery-thumbs{grid-template-columns:repeat(2,1fr)}
}


.year-strip{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
  position:relative;
  z-index:2;
}

.year-pill{
  display:inline-flex;
  min-height:30px;
  align-items:center;
  padding:0 10px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
  font-size:12px;
  font-weight:1000;
}

.merged-location-intro{
  margin-bottom:22px;
}

.trip-block{
  margin-top:18px;
  border:1px solid var(--line);
  border-radius:42px;
  padding:24px;
  background:
    radial-gradient(circle at 16% 8%, rgba(0,240,255,.13), transparent 30%),
    radial-gradient(circle at 94% 18%, rgba(255,60,183,.12), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  box-shadow:0 28px 90px rgba(0,0,0,.25);
}

.trip-head{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:end;
  margin-bottom:16px;
}

.trip-head h2{
  font-size:clamp(38px,5vw,70px);
}

.trip-head p{
  margin:8px 0 0;
  color:var(--muted);
  font-weight:700;
  line-height:1.5;
}

.trip-year-badge{
  display:inline-grid;
  place-items:center;
  min-width:92px;
  min-height:92px;
  border-radius:30px;
  background:linear-gradient(135deg,var(--cyan),#fff,var(--pink));
  color:#05070d;
  font-size:26px;
  font-weight:1000;
  box-shadow:0 20px 60px rgba(0,240,255,.16);
}

.trip-layout{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:18px;
  align-items:start;
}

.trip-info{
  border:1px solid rgba(255,255,255,.14);
  border-radius:32px;
  background:rgba(0,0,0,.20);
  padding:20px;
}

.trip-info h3{
  margin:0 0 14px;
  font-size:32px;
  letter-spacing:-.055em;
}

.trip-info .destination-meta-grid{
  margin:0 0 18px;
}

.destination-card.merged-destination{
  min-height:340px;
}

@media(max-width:980px){
  .trip-layout{grid-template-columns:1fr}
}

@media(max-width:640px){
  .trip-block{border-radius:30px;padding:18px}
  .trip-head{display:block}
  .trip-year-badge{margin-top:14px;min-width:76px;min-height:76px;font-size:22px}
}


.profile-photo{
  position:relative;
  margin-top:44px;
  width:260px;
  height:260px;
  border-radius:62px;
  overflow:hidden;
  background:#05070d;
  border:1px solid rgba(255,255,255,.22);
  box-shadow:inset 0 0 0 10px rgba(255,255,255,.045),0 20px 80px rgba(0,0,0,.4);
  transform:rotate(-5deg);
}

.profile-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.profile-photo::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  box-shadow:inset 0 0 0 10px rgba(255,255,255,.045), inset 0 -40px 70px rgba(0,0,0,.28);
  pointer-events:none;
}

.about-profile-photo{
  position:relative;
  z-index:2;
  width:min(360px,100%);
  aspect-ratio:1;
  border-radius:42px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.24);
  box-shadow:0 24px 80px rgba(0,0,0,.35);
  margin-top:28px;
}

.about-profile-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

@media(max-width:640px){
  .profile-photo{
    width:158px;
    height:158px;
  }
}


/* Larger profile photos and heading profile image */
.profile-photo{
  width:300px !important;
  height:300px !important;
  border-radius:68px !important;
}

.about-profile-photo{
  width:min(430px,100%) !important;
}

.page-heading-profile{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:220px 1fr;
  gap:28px;
  align-items:center;
}

.heading-profile-photo{
  width:220px;
  height:220px;
  border-radius:50px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(0,0,0,.24);
  box-shadow:0 26px 90px rgba(0,0,0,.38), inset 0 0 0 10px rgba(255,255,255,.045);
  transform:rotate(-3deg);
}

.heading-profile-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.heading-profile-text{
  min-width:0;
}

.page-hero-card{
  grid-template-columns:1.35fr .55fr;
}

@media(max-width:980px){
  .page-heading-profile{
    grid-template-columns:170px 1fr;
    gap:20px;
  }

  .heading-profile-photo{
    width:170px;
    height:170px;
    border-radius:40px;
  }

  .page-hero-card{
    grid-template-columns:1fr;
  }
}

@media(max-width:640px){
  .profile-photo{
    width:220px !important;
    height:220px !important;
    border-radius:52px !important;
  }

  .page-heading-profile{
    grid-template-columns:1fr;
  }

  .heading-profile-photo{
    width:190px;
    height:190px;
    border-radius:44px;
  }
}


/* Contact-only page layout */
.contact-grid:has(.contact-card:only-child){
  grid-template-columns:repeat(12,1fr);
}

.contact-grid .contact-card:only-child{
  grid-column:span 12;
  min-height:260px;
}


/* Tighter page spacing */
.page-shell{
  padding-top:18px !important;
  padding-bottom:98px !important;
}

.page-hero{
  padding:26px 0 28px !important;
}

.page-hero-card{
  margin-top:0 !important;
  min-height:340px !important;
  align-items:center !important;
}

.page-hero h1{
  margin-top:12px !important;
}

.page-hero p{
  margin-top:14px !important;
}

section{
  padding:52px 0 !important;
}

.section-title{
  margin-bottom:20px !important;
}

.travel-summary-grid,
.region-grid{
  margin-bottom:10px !important;
}

.upcoming-panel{
  margin:10px 0 18px !important;
}

.category-block{
  margin-top:26px !important;
}

.trip-block{
  margin-top:14px !important;
}

.masthead{
  padding-top:24px !important;
  padding-bottom:94px !important;
}

@media(max-width:640px){
  .page-shell{
    padding-top:10px !important;
  }

  .page-hero{
    padding:18px 0 20px !important;
  }

  .page-hero-card{
    min-height:auto !important;
  }

  section{
    padding:38px 0 !important;
  }

  .masthead{
    padding-top:18px !important;
  }
}


/* Simplified projects page */
.project-grid .project-card{
  min-height:230px;
}

@media(min-width:981px){
  .project-grid .project-card{
    grid-column:span 4;
  }
}


/* Legal footer and copyright page */
.legal-footer{
  width:min(var(--max), calc(100% - 34px));
  margin:28px auto 120px;
  padding:22px;
  border:1px solid var(--line);
  border-radius:28px;
  background:
    radial-gradient(circle at 12% 10%, rgba(0,240,255,.12), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.095), rgba(255,255,255,.04));
  color:#cbd5fb;
  text-align:left;
  box-shadow:0 24px 80px rgba(0,0,0,.22);
}

.legal-footer p{
  margin:0;
  line-height:1.6;
  font-weight:650;
}

.legal-footer p + p{
  margin-top:12px;
}

.legal-footer strong{
  color:#fff;
}

.legal-footer a{
  color:#fff;
  font-weight:1000;
  text-decoration:underline;
  text-decoration-color:rgba(0,240,255,.55);
  text-underline-offset:4px;
}

@media(max-width:640px){
  .legal-footer{
    width:min(100% - 22px, var(--max));
    margin-bottom:142px;
    border-radius:22px;
    padding:18px;
  }

  }


/* Personal Home key points */
.home-key-points .quick-stat{
  display:block;
  transition:transform .25s ease, border-color .25s ease, background .25s ease;
}

.home-key-points .quick-stat:hover{
  transform:translateY(-5px);
  border-color:rgba(255,255,255,.28);
  background:rgba(255,255,255,.09);
}

.home-key-points .quick-stat b{
  font-size:30px;
}

.home-key-points .quick-stat small{
  line-height:1.45;
}


/* 404 page */
.error-code{
  font-size:clamp(92px,18vw,220px);
  line-height:.75;
  letter-spacing:-.09em;
  font-weight:1000;
  margin:0 0 22px;
  color:transparent;
  background:linear-gradient(90deg,#fff,#bffaff,#ffb7ea,#fff7bd);
  -webkit-background-clip:text;
  background-clip:text;
  filter:drop-shadow(0 0 42px rgba(0,240,255,.15));
}

.error-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
  position:relative;
  z-index:2;
}

.error-note{
  margin-top:18px;
  color:var(--muted);
  line-height:1.55;
  font-weight:700;
  position:relative;
  z-index:2;
}

.error-symbol{
  font-size:118px;
}


/* Home page profile image size tweak */
.masthead .profile-photo{
  width:360px !important;
  height:360px !important;
  border-radius:82px !important;
}

@media(max-width:980px){
  .masthead .profile-photo{
    width:300px !important;
    height:300px !important;
    border-radius:70px !important;
  }
}

@media(max-width:640px){
  .masthead .profile-photo{
    width:240px !important;
    height:240px !important;
    border-radius:58px !important;
  }
}


.social-icon img{
  width:32px;
  height:32px;
  display:block;
  object-fit:contain;
}


/* Travel lightbox gallery */
.gallery-panel{
  padding:18px;
}

.gallery-main{
  min-height:0 !important;
  background:transparent;
  border:none;
}

.gallery-main img{
  display:none;
}

.gallery-label{
  display:none;
}

.gallery-thumbs{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:14px;
  margin-top:0;
}

.gallery-thumb{
  min-height:132px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.065);
  cursor:pointer;
  padding:0;
  overflow:hidden;
  position:relative;
  box-shadow:0 18px 55px rgba(0,0,0,.22);
}

.gallery-thumb::after{
  content:"View";
  position:absolute;
  left:10px;
  bottom:10px;
  min-height:28px;
  display:inline-flex;
  align-items:center;
  padding:0 10px;
  border-radius:999px;
  background:rgba(5,7,13,.72);
  border:1px solid rgba(255,255,255,.15);
  color:#fff;
  font-size:11px;
  font-weight:1000;
  opacity:0;
  transform:translateY(6px);
  transition:.22s ease;
}

.gallery-thumb:hover::after{
  opacity:1;
  transform:none;
}

.gallery-thumb img{
  width:100%;
  height:132px;
  object-fit:cover;
  display:block;
  transition:transform .25s ease, opacity .25s ease;
}

.gallery-thumb:hover img{
  transform:scale(1.06);
  opacity:.92;
}

.gallery-thumb.active{
  outline:none;
}

.lightbox{
  position:fixed;
  inset:0;
  z-index:999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:28px;
  background:rgba(0,0,0,.84);
  backdrop-filter:blur(16px);
}

.lightbox.show{
  display:flex;
}

.lightbox-inner{
  width:min(1100px,100%);
  max-height:90vh;
  border-radius:30px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(5,7,13,.86);
  box-shadow:0 35px 120px rgba(0,0,0,.55);
  overflow:hidden;
  position:relative;
}

.lightbox img{
  width:100%;
  max-height:82vh;
  object-fit:contain;
  display:block;
  background:#02030a;
}

.lightbox-close{
  position:absolute;
  top:14px;
  right:14px;
  width:48px;
  height:48px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(5,7,13,.78);
  color:#fff;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  display:grid;
  place-items:center;
}

.lightbox-caption{
  padding:13px 16px;
  color:#dfe7ff;
  font-weight:850;
  border-top:1px solid rgba(255,255,255,.12);
}

@media(max-width:980px){
  .gallery-thumbs{
    grid-template-columns:repeat(3,1fr);
  }
}

@media(max-width:640px){
  .gallery-thumbs{
    grid-template-columns:repeat(2,1fr);
    gap:10px;
  }

  .gallery-thumb{
    min-height:118px;
    border-radius:18px;
  }

  .gallery-thumb img{
    height:118px;
  }

  .lightbox{
    padding:14px;
  }

  .lightbox-inner{
    border-radius:22px;
  }
}


/* Larger, cleaner Travel page preview cards */
.travel-page-cleanup .unused{}

.destination-card.merged-destination{
  min-height:430px !important;
}

.destination-thumb{
  height:260px !important;
}

.destination-thumb img{
  height:100% !important;
  object-fit:cover;
}

.destination-card .country{
  margin-top:276px !important;
}

.destination-card h3{
  margin:14px 0 10px !important;
}

.destination-card .rating{
  margin-top:10px !important;
  font-size:20px;
  letter-spacing:.04em;
}

@media(max-width:980px){
  .destination-thumb{
    height:230px !important;
  }

  .destination-card .country{
    margin-top:246px !important;
  }

  .destination-card.merged-destination{
    min-height:395px !important;
  }
}

@media(max-width:640px){
  .destination-thumb{
    height:240px !important;
  }

  .destination-card .country{
    margin-top:256px !important;
  }

  .destination-card.merged-destination{
    min-height:410px !important;
  }
}


/* Bigger location page gallery previews */
.locations-preview-bigger{}

.trip-block .gallery-thumbs{
  grid-template-columns:repeat(3,1fr) !important;
  gap:18px !important;
}

.trip-block .gallery-thumb{
  min-height:240px !important;
  border-radius:28px !important;
}

.trip-block .gallery-thumb img{
  height:240px !important;
}

@media(max-width:980px){
  .trip-block .gallery-thumbs{
    grid-template-columns:repeat(2,1fr) !important;
  }

  .trip-block .gallery-thumb{
    min-height:220px !important;
  }

  .trip-block .gallery-thumb img{
    height:220px !important;
  }
}

@media(max-width:640px){
  .trip-block .gallery-thumbs{
    grid-template-columns:1fr !important;
    gap:14px !important;
  }

  .trip-block .gallery-thumb{
    min-height:260px !important;
    border-radius:24px !important;
  }

  .trip-block .gallery-thumb img{
    height:260px !important;
  }
}


/* Lightbox arrow navigation */
.lightbox-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:3;
  width:54px;
  height:74px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(5,7,13,.72);
  color:#fff;
  font-size:46px;
  line-height:1;
  cursor:pointer;
  display:grid;
  place-items:center;
  backdrop-filter:blur(16px);
}

.lightbox-prev{
  left:14px;
}

.lightbox-next{
  right:14px;
}

.lightbox-nav:hover{
  background:rgba(255,255,255,.16);
}

@media(max-width:640px){
  .lightbox-nav{
    width:46px;
    height:62px;
    font-size:38px;
    border-radius:16px;
  }
}


/* Travel video and all photos actions */
.travel-extra-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}

.travel-video-panel{
  margin-top:18px;
  border:1px solid var(--line);
  border-radius:34px;
  padding:22px;
  background:
    radial-gradient(circle at 14% 12%, rgba(0,240,255,.16), transparent 34%),
    radial-gradient(circle at 92% 14%, rgba(255,60,183,.12), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  box-shadow:0 24px 80px rgba(0,0,0,.24);
}

.travel-video-panel h3{
  margin:0;
  font-size:32px;
  letter-spacing:-.055em;
}

.travel-video-panel p{
  color:#cbd5fb;
  line-height:1.55;
  font-weight:650;
  margin:10px 0 0;
}

.video-placeholder{
  margin-top:14px;
  min-height:240px;
  border-radius:26px;
  border:1px dashed rgba(255,255,255,.22);
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03)),
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.12), transparent 18%);
  display:grid;
  place-items:center;
  color:#fff;
  font-weight:1000;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.video-placeholder span{
  display:grid;
  place-items:center;
  width:78px;
  height:78px;
  border-radius:28px;
  background:linear-gradient(135deg,var(--cyan),#fff,var(--pink));
  color:#05070d;
  font-size:34px;
  margin:0 auto 10px;
}

@media(max-width:640px){
  .video-placeholder{
    min-height:190px;
  }

  .travel-extra-actions .button{
    width:100%;
  }
}


/* Trip description and top photo action */
.trip-top-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  margin-left:auto;
}

.trip-description-panel{
  margin-top:18px;
  border:1px solid var(--line);
  border-radius:30px;
  padding:20px;
  background:
    radial-gradient(circle at 14% 12%, rgba(255,176,32,.14), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.04));
}

.trip-description-panel h3{
  margin:0;
  font-size:30px;
  letter-spacing:-.05em;
}

.trip-description-panel p{
  margin:10px 0 0;
  color:#cbd5fb;
  line-height:1.55;
  font-weight:650;
}

@media(max-width:640px){
  .trip-top-actions{
    justify-content:flex-start;
    margin:14px 0 0;
  }

  .trip-top-actions .button{
    width:100%;
  }
}


/* Full-width trip description and larger video area */
.trip-description-panel{
  width:100% !important;
  grid-column:1 / -1 !important;
  margin-top:24px !important;
  padding:28px !important;
  border-radius:34px !important;
}

.trip-description-panel h3{
  font-size:clamp(34px,4vw,54px) !important;
}

.trip-description-panel p{
  font-size:18px !important;
}

.trip-block .travel-video-panel{
  width:100% !important;
  grid-column:1 / -1 !important;
  margin-top:24px !important;
  padding:28px !important;
  border-radius:36px !important;
}

.trip-block .travel-video-panel h3{
  font-size:clamp(38px,5vw,62px) !important;
}

.trip-block .video-placeholder{
  min-height:430px !important;
  border-radius:30px !important;
  font-size:20px;
}

.trip-block .video-placeholder span{
  width:96px !important;
  height:96px !important;
  border-radius:32px !important;
  font-size:42px !important;
}

@media(max-width:980px){
  .trip-block .video-placeholder{
    min-height:340px !important;
  }
}

@media(max-width:640px){
  .trip-description-panel,
  .trip-block .travel-video-panel{
    padding:20px !important;
    border-radius:28px !important;
  }

  .trip-block .video-placeholder{
    min-height:260px !important;
  }
}


/* Trip description placed under details */
.trip-info .trip-description-panel{
  width:100% !important;
  grid-column:auto !important;
  margin-top:18px !important;
  padding:18px !important;
  border-radius:24px !important;
}

.trip-info .trip-description-panel h3{
  font-size:30px !important;
}

.trip-info .trip-description-panel p{
  font-size:16px !important;
}


/* Location pages without hero placeholder */
.locations-clean-hero{}
.locations-clean-hero .page-hero-card{
  grid-template-columns:1fr !important;
}

body:has(.trip-block) .page-hero-card{
  grid-template-columns:1fr !important;
}
