/* =========================================================
   Base / Reset
========================================================= */
:root{
  /* Typography */
  --font-display: "Sora", "Montserrat", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;

  /* Brand palette */
  --brand-teal:#2fb7a6;
  --brand-teal-vivid:#1dd4bf;
  --brand-orange:#f28b2f;
  --brand-blue:#0f4ee7;
  --brand-blue-deep:#0a3ab8;

  /* Ink & surface */
  --ink:#0c2440;
  --ink-2:#1a3554;
  --muted:#4b5d70;
  --eyebrow:#3d5a78;
  --surface:#f5f9fd;
  --surface-muted:#eef5fb;
  --surface-accent:#e9f2fb;
  --bg:#f5f9fd;
  --bg-weak:#eef5fb;

  /* Gradients */
  --lp-page-gradient:linear-gradient(180deg, #f5f9fd 0%, #ecf3fb 40%, #f0f6ff 100%);
  --lp-section-gradient:linear-gradient(140deg, rgba(47,183,166,0.07) 0%, rgba(255,255,255,0.96) 45%, rgba(15,78,231,0.06) 100%);
  --lp-hover-gradient:linear-gradient(140deg, rgba(47,183,166,0.14), rgba(15,78,231,0.08));
  --gradient-soft:linear-gradient(140deg, rgba(47,183,166,0.12), rgba(15,78,231,0.06) 55%, rgba(242,139,47,0.12));
  --gradient-strong:linear-gradient(135deg, #2fb7a6 0%, #0f4ee7 100%);
  --gradient-em:linear-gradient(120deg, rgba(47,183,166,0.95) 0%, rgba(242,139,47,0.9) 100%);
  --gradient-card:linear-gradient(160deg, rgba(255,255,255,0.98), rgba(245,249,253,0.92));

  /* Shadows — refined with layered depth */
  --shadow-sm:0 2px 8px rgba(12,36,64,.06), 0 8px 20px rgba(12,36,64,.05);
  --shadow:0 4px 12px rgba(12,36,64,.07), 0 16px 40px rgba(12,36,64,.09);
  --shadow-lg:0 8px 20px rgba(12,36,64,.08), 0 24px 56px rgba(12,36,64,.14);
  --shadow-strong:0 12px 28px rgba(15,78,231,.16), 0 28px 64px rgba(12,36,64,.12);

  /* Radii */
  --radius-sm:10px;
  --radius:16px;
  --radius-lg:24px;
  --radius-xl:32px;

  /* Spacing */
  --section-gap: clamp(3.6rem, 7vw, 6.4rem);
  --container:1100px;

  /* Header */
  --header-pad: clamp(12px, 3vw, 24px);
  --header-max: 1180px;

  /* z-index tokens */
  --z-fixed-cv: 40;
  --z-header: 200;
  --z-modal: 1200;
  --z-overlay-top: 9999;

  /* Border */
  --border-subtle:1px solid rgba(15,78,231,0.10);
  --border-card:1px solid rgba(15,78,231,0.12);
}

*,
*::before,
*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }
body{
  margin:0;
  color:var(--ink);
  background:var(--lp-page-gradient);
  font-family: var(--font-body);
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  cursor:url("./images/cursor-drone.svg") 14 14, auto;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:var(--ink-2); text-decoration:none; touch-action:manipulation; }
a:hover{ text-decoration:underline; }
button, [role="button"]{ touch-action:manipulation; }
ul,ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0 0 .75rem; }

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

.skip-link{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  position:fixed; left:1rem; top:1rem; width:auto; height:auto;
  background:#000; color:#fff; padding:.5rem .75rem; z-index:var(--z-overlay-top); border-radius:.5rem;
}

/* =========================================================
   Header
========================================================= */
.l-header__topband{
  background:linear-gradient(90deg, #1a2332 0%, #0f2239 100%);
  color:#c8d8ea; font-size:.82rem;
  border-bottom:1px solid rgba(47,183,166,.15);
}
.l-header__topband .l-header__title{
  max-width:none;
  margin:0;
  padding:.3rem 0;
  padding-left:clamp(12px, 3vw, 24px);
  padding-right:var(--header-pad);
  letter-spacing:.06em;
  font-family:var(--font-display);
  font-weight:600;
}

.l-header{
  position:sticky; top:0; z-index:var(--z-header);
  isolation:isolate;
  box-shadow: 0 1px 0 rgba(12,36,64,.04), 0 4px 16px rgba(12,36,64,.04);
}
.l-header::before{
  content:'';
  position:absolute;
  inset:0;
  background:rgba(255,255,255,.96);
  z-index:0;
  pointer-events:none;
}
/* blur は fixed nav がいない PC のみ（含有ブロック問題を回避） */
@media(min-width:1200px){
  .l-header::before{
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(16px) saturate(1.2);
    -webkit-backdrop-filter:blur(16px) saturate(1.2);
  }
}
.l-header__topband,
.l-header__bar{
  position:relative;
  z-index:1;
}
.l-header__bar{
  width:100%;
  padding:.3rem 0;
  background:transparent;
  border-bottom:1px solid rgba(12,36,64,.04);
}
.l-header__inner{
  max-width:none;
  width:100%;
  margin:0;
  padding-left:clamp(12px, 3vw, 24px);
  padding-right:var(--header-pad);
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:clamp(.8rem, 2vw, 1.6rem);
  align-items:center;
}

/* ロゴ左寄せ */
.l-header__logo{
  display:flex;
  align-items:center;
  justify-self:start;
  margin:-.35rem 0;
}
.l-header__logo img{
  height:clamp(52px, 7vw, 96px);
  width:auto;
  display:block;
}

/* ナビ中央寄せ */
/* SP: スライドインドロワー */
.l-header__nav{
  display:flex; flex-direction:column;
  position:fixed; top:0; right:0; bottom:0;
  width:min(320px, 85vw);
  background:#fff;
  box-shadow:-8px 0 32px rgba(12,36,64,.18);
  padding:5rem 1.5rem 2rem;
  z-index:calc(var(--z-header) + 1);
  transform:translateX(100%);
  transition:transform .32s cubic-bezier(.22,1,.36,1), visibility 0s .32s;
  visibility:hidden;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  min-width:0;
}
.l-header__nav.is-open{
  transform:translateX(0);
  visibility:visible;
  transition:transform .32s cubic-bezier(.22,1,.36,1), visibility 0s 0s;
}
/* オーバーレイ */
.l-header__nav-overlay{
  position:fixed; inset:0;
  background:rgba(12,36,64,.45);
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
  z-index:calc(var(--z-header));
  opacity:0;
  visibility:hidden;
  transition:opacity .3s ease, visibility 0s .3s;
  cursor:pointer;
}
.l-header__nav-overlay.is-open{
  opacity:1;
  visibility:visible;
  transition:opacity .3s ease, visibility 0s 0s;
}
body.is-menu-open{ overflow:hidden; }
@media (min-width:1200px){
  .l-header__nav{
    position:static;
    width:auto;
    background:none;
    box-shadow:none;
    padding:0;
    transform:none;
    visibility:visible;
    transition:none;
    overflow:visible;
    flex-direction:row;
    align-items:center;
    justify-content:center;
    justify-self:center;
  }
  .l-header__nav-overlay{ display:none; }
  body.is-menu-open{ overflow:auto; }
}
.l-header__nav__list{
  display:flex; align-items:center; gap:clamp(.9rem, 1.6vw, 1.6rem);
  flex-wrap:nowrap; white-space:nowrap; font-weight:600;
  font-size:.92rem;
}
.l-header__nav__list a{
  padding:.55rem .55rem; border-radius:var(--radius-sm); letter-spacing:.03em;
  transition:background .2s ease, transform .2s ease, color .2s ease;
  color:var(--ink-2);
}
.l-header__nav__list a:hover,
.l-header__nav__list a:focus-visible{
  background:rgba(15, 78, 231, .06);
  color:var(--brand-blue);
  text-decoration:none;
  transform:translateY(-1px);
}
@media (max-width:1199px){
  .l-header__nav__list{
    flex-direction:column;
    align-items:flex-start;
    gap:.6rem;
  }
  .l-header__nav__list a{
    width:100%;
  }
}

/* 右側：TEL & CTA */
.u-device-sp{ display:block; }
.u-device-pc{ display:none; }
@media (min-width:1200px){
  .u-device-sp{ display:none; }
  .u-device-pc{
    display:flex; align-items:center; gap:.75rem;
    justify-content:flex-end; justify-self:end;
  }
}
.l-header__nav__cv__tel{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:.1rem;
}
.l-header__nav__cv__tel__icon{
  display:inline-grid;
  place-items:center;
  width:1.6em;
  height:1.6em;
  border-radius:999px;
  background:rgba(15,78,231,.10);
  box-shadow:0 10px 18px rgba(15,78,231,.12);
  transform:translateY(-.02em);
  color:var(--brand-blue);
}
.l-header__nav__cv__tel__icon svg{
  width:.85em;
  height:.85em;
}
.l-header__nav__cv__tel__num a{
  font-weight:800; font-size:1.16rem; color:var(--ink);
  display:inline-flex; align-items:center; gap:.45rem;
}
.l-header__nav__cv__tel__num{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:.55rem;
  white-space:nowrap;
}
.l-header__nav__cv__tel__note-inline{
  font-size:.72rem;
  color:rgba(12,36,64,.55);
  letter-spacing:.02em;
  line-height:1.2;
}
@media (min-width:1200px) and (max-width:1599px){
  .l-header__nav__cv__tel{ display:none; }
  .l-header__nav__cv__btns{ padding-left:0; border-left:none; }
}
.l-header__nav__cv__tel__num a:hover,
.l-header__nav__cv__tel__num a:focus-visible{
  text-decoration:none;
  color:#0b2b55;
}
.l-header__nav__cv__tel__time span{ font-size:.82rem; color:var(--muted); }
.l-header__nav__cv__btns{ display:flex; gap:.75rem; margin-top:0; }
@media (min-width:1200px){
  .u-device-pc{ gap:1rem; }
  .l-header__nav__cv__tel{
    flex-direction:row;
    align-items:center;
    gap:.75rem;
  }
  .l-header__nav__cv__tel__num,
  .l-header__nav__cv__tel__time{
    margin:0;
    white-space:nowrap;
  }
  .l-header__nav__cv__tel__time{
    display:inline-flex;
    align-items:center;
    padding-left:.75rem;
    border-left:1px solid rgba(12,36,64,.10);
  }
  .l-header__nav__cv__btns{
    padding-left:1rem;
    border-left:1px solid rgba(12,36,64,.10);
  }
}

.c-button{
  display:inline-flex; align-items:center; justify-content:center;
  padding:.65rem 1.1rem; border-radius:var(--radius-sm);
  background:var(--gradient-strong);
  color:#fff; font-weight:700; box-shadow: var(--shadow);
  transition:transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s ease, filter .22s ease;
}
.c-button:hover{
  transform:translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-strong);
  filter:brightness(1.06);
  text-decoration:none;
}
.c-button:focus-visible{
  outline:3px solid rgba(47,183,166,.45);
  outline-offset:2px;
}
.c-button--outline{
  background:#fff;
  color:var(--brand-blue);
  border:1px solid rgba(15,78,231,.35);
  box-shadow:none;
}
.c-button--outline:hover,
.c-button--outline:focus-visible{
  background:rgba(15,78,231,.08);
  transform:none;
}

/* ハンバーガー（SPのみ） */
.l-header__hum{
  justify-self:end; appearance:none; border:0; background:#fff; border-radius:var(--radius-sm);
  width:50px; height:46px; display:inline-grid; place-content:center; gap:4px; cursor:pointer;
  box-shadow:0 2px 8px rgba(12,36,64,.12);
}
.l-header__hum span{
  display:block; width:24px; height:2px; background:#0c2440; border-radius:2px;
}
@media (min-width:1200px){ .l-header__hum{ display:none; } }

.l-container{ overflow:hidden; }

/* =========================================================
   Menu
========================================================= */
.p-front-menu{ background:var(--lp-section-gradient); padding:3.2rem 0; }
.p-front-menu__inner{ max-width:var(--container); margin:0 auto; padding:0 1rem; }
.p-front-menu__title-en{ color:var(--brand-teal); font-family:var(--font-display); font-weight:800; letter-spacing:.06em; }
.p-front-menu__title{ font-size:1.6rem; font-weight:800; }
.p-front-menu__cards{ margin-top:1.2rem; display:grid; gap:1rem; }
@media (min-width:960px){
  .p-front-menu__cards{ grid-template-columns: repeat(3, 1fr); }
}
.p-front-menu__card{
  background:#fff; border:1px solid #e6eef6; border-radius:var(--radius); box-shadow: var(--shadow);
  padding:1.2rem; display:flex; flex-direction:column; align-items:flex-start; gap:.6rem;
}
.p-front-menu__card__image img{ width:96px; height:96px; }
.p-front-menu__card__title{ font-size:1.15rem; font-weight:800; }
.p-front-menu__card__text{ color:var(--muted); }
.p-front-menu__card__button a{
  display:inline-block; padding:.55rem .9rem; border-radius:var(--radius-sm); border:1px solid #e6eef6;
}

/* =========================================================
   About / Business
========================================================= */
.gradient-wrap{ background: var(--lp-section-gradient); }
.p-front-about{ max-width:var(--container); margin:0 auto; padding:3.2rem 1rem; }
.p-front-about__inner{ display:grid; gap:1.2rem; align-items:center; }
@media (min-width:960px){
  .p-front-about__inner{ grid-template-columns: 1fr 1.1fr; }
}
.p-front-about__title-en{ color:var(--brand-teal); font-family:var(--font-display); font-weight:800; }
.p-front-about__title{ font-size:1.6rem; font-weight:800; }
.p-front-about__catch{ font-weight:700; color:var(--ink-2); }

.p-front-business{ max-width:var(--container); margin:0 auto; padding:3.2rem 1rem; }
.p-front-business__title-en{ color:var(--brand-teal); font-family:var(--font-display); font-weight:800; }
.p-front-business__title{ font-size:1.6rem; font-weight:800; }
.p-front-business__catch{ text-align:center; font-weight:800; margin:.6rem 0 1.2rem; }
.p-front-business__content{ display:grid; gap:1.2rem; align-items:center; }
@media (min-width:960px){
  .p-front-business__content{ grid-template-columns: 1.1fr 1fr; }
}
.p-front-business__lead{ font-size:1.25rem; font-weight:800; }
.p-front-business__description{ color:var(--muted); }

/* =========================================================
   Facility Gallery
========================================================= */
.gallery{
  position:relative;
  padding:calc(var(--section-gap) * .8) 0;
  background:linear-gradient(180deg, rgba(15,78,231,0.04) 0%, rgba(255,255,255,0.98) 50%, rgba(15,78,231,0.06) 100%);
}
.gallery__inner{
  position:relative;
  max-width:calc(var(--container) + 160px);
  margin:0 auto;
  padding:0 clamp(1.25rem, 4vw, 3rem);
}
.gallery__head{
  max-width:680px;
  margin:0 auto clamp(1.5rem, 3vw, 2.6rem);
  text-align:center;
}
.gallery__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  padding:.35rem .9rem;
  border-radius:999px;
  background:rgba(15,78,231,.08);
  color:var(--brand-blue);
  font-family:var(--font-display);
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:.8rem;
}
.gallery__title{
  margin-top:1rem;
  font-size:clamp(2rem, 3vw, 2.75rem);
  font-weight:800;
  letter-spacing:-.01em;
}
.gallery__lead{
  margin-top:.8rem;
  color:var(--muted);
  line-height:1.7;
}
.gallery__controls{
  display:flex;
  justify-content:center;
  gap:.75rem;
  flex-wrap:wrap;
}
.gallery__filter{
  border:1px solid rgba(12,36,64,.08);
  background:#fff;
  color:var(--ink-2);
  font-weight:700;
  border-radius:999px;
  padding:.55rem 1.35rem;
  cursor:pointer;
  transition:background .24s ease, color .24s ease, box-shadow .24s ease, transform .24s ease;
  box-shadow:var(--shadow-sm);
}
.gallery__filter:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow);
}
.gallery__filter:focus-visible{
  outline:3px solid rgba(47,183,166,.45);
  outline-offset:2px;
}
.gallery__filter.is-active{
  background:var(--gradient-strong);
  color:#fff;
  box-shadow:0 14px 30px rgba(15,78,231,.22);
}
.gallery__grid{
  margin-top:clamp(1.8rem, 4vw, 2.8rem);
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  gap:clamp(1rem, 3vw, 2rem);
}
.gallery__item{
  position:relative;
  transition:opacity .38s ease, transform .38s ease;
}
.gallery__item.is-entering{
  opacity:0;
  transform:scale(.96);
}
.gallery__item.is-leaving{
  opacity:0;
  transform:scale(.96);
  pointer-events:none;
}
.gallery__item.is-hidden{
  display:none;
}
.gallery__trigger{
  display:block;
  width:100%;
  border:none;
  padding:0;
  background:none;
  cursor:pointer;
  text-align:left;
  border-radius:inherit;
}
.gallery__figure{
  position:relative;
  overflow:hidden;
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
  background:#fff;
  aspect-ratio:4 / 3;
  margin:0;
  width:100%;
}
.gallery__figure picture,
.gallery__figure img,
.gallery__figure video{
  display:block;
  width:100%;
  height:100%;
}
.gallery__figure img,
.gallery__figure video{
  object-fit:cover;
}
.gallery__figcaption{
  position:absolute;
  left:1.1rem;
  bottom:1.1rem;
  display:flex;
  flex-direction:column;
  gap:.35rem;
  color:#fff;
  text-shadow:0 10px 24px rgba(10,20,45,.32);
}
.gallery__tag{
  display:inline-flex;
  align-self:flex-start;
  padding:.25rem .6rem;
  border-radius:999px;
  background:rgba(12,36,64,.55);
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.08em;
}
.gallery__text{
  font-size:1.05rem;
  font-weight:700;
  letter-spacing:.04em;
}
.gallery__overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(120deg, rgba(12,36,64,0.15), rgba(15,78,231,0.32));
  opacity:0;
  transition:opacity .3s ease;
}
.gallery__icon{
  width:44px;
  height:44px;
  color:#fff;
  filter:drop-shadow(0 8px 12px rgba(12,36,64,.45));
}
.gallery__trigger:hover .gallery__overlay,
.gallery__trigger:focus-visible .gallery__overlay{
  opacity:1;
}
.gallery__trigger:focus-visible{
  outline:3px solid rgba(47,183,166,.55);
  outline-offset:4px;
}
.gallery__dialog{
  border:none;
  padding:0;
  background:transparent;
  max-width:none;
  width:100%;
}
.gallery__dialog::backdrop{
  background:rgba(12,36,64,.55);
  backdrop-filter:blur(6px);
}
.gallery__dialog-inner{
  position:relative;
  margin:4vh auto;
  width:min(90vw, 960px);
  background:#fff;
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow);
  overflow:hidden;
  transform:translateY(18px) scale(.94);
  opacity:0;
  transition:transform .32s ease, opacity .32s ease;
}
.gallery__dialog[data-state="open"] .gallery__dialog-inner{
  transform:translateY(0) scale(1);
  opacity:1;
}
.gallery__dialog-close{
  position:absolute;
  top:12px;
  right:12px;
  width:44px;
  height:44px;
  border:none;
  border-radius:999px;
  background:rgba(12,36,64,.72);
  color:#fff;
  font-size:1.8rem;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform .24s ease, background .24s ease;
}
.gallery__dialog-close:hover{ transform:scale(1.05); background:var(--brand-blue); }
.gallery__dialog-close:focus-visible{
  outline:3px solid rgba(47,183,166,.6);
  outline-offset:2px;
}
.gallery__dialog-figure{
  display:flex;
  flex-direction:column;
  gap:1.4rem;
  padding:clamp(1.4rem, 3vw, 2.4rem);
}
.gallery__dialog-picture{
  display:block;
}
.gallery__dialog-picture[hidden]{
  display:none;
}
.gallery__dialog-picture img{
  width:100%;
  height:auto;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.gallery__dialog-video{
  width:100%;
  max-height:min(80vh, 640px);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  background:#000;
  display:none;
  object-fit:cover;
}
.gallery__dialog-video.is-active{
  display:block;
}
.gallery__dialog-caption{
  display:flex;
  flex-direction:column;
  gap:.25rem;
  color:var(--ink-2);
}
.gallery__dialog-title{
  font-size:1.45rem;
  font-weight:800;
  letter-spacing:.04em;
}
.gallery__dialog-text{
  color:var(--muted);
  line-height:1.8;
}

@media (max-width:767px){
  .gallery{
    padding:calc(var(--section-gap) * .6) 0;
  }
  .gallery__dialog-inner{
    margin:8vh auto;
    border-radius:var(--radius-lg);
    width:min(94vw, 560px);
  }
  .gallery__dialog-figure{
    padding:1.3rem;
  }
  .gallery__dialog-close{
    top:10px;
    right:10px;
    width:40px;
    height:40px;
  }
}

/* =========================================================
   Fixed CV
========================================================= */
.c-fixed-cv{
  position:fixed; left:0; right:0; bottom:10px; z-index:var(--z-fixed-cv);
  display:flex; gap:.6rem; justify-content:center; pointer-events:none;
}
.c-fixed-cv__button{
  pointer-events:auto;
  background:#fff; box-shadow: var(--shadow-lg);
  border-radius:999px; overflow:hidden;
  transition:transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s ease;
}
.c-fixed-cv__button:active{
  transform:scale(.97);
}
.c-fixed-cv__button a{
  display:inline-flex; align-items:center; justify-content:center;
  padding:.7rem 1.2rem; color:#fff; font-weight:800; text-decoration:none;
  letter-spacing:.02em;
  font-size:.92rem;
}
.c-fixed-cv__button.--drone a{ background:linear-gradient(135deg, #f28b2f 0%, #e67520 100%); }
.c-fixed-cv__button.--contact a{ background:linear-gradient(135deg, #2fb7a6 0%, #1e9e8e 100%); }
@media (min-width:960px){ .c-fixed-cv{ bottom:14px; } }
@media (max-width:360px){
  .c-fixed-cv{
    gap:.5rem;
    padding:0 .5rem;
  }
  .c-fixed-cv__button{
    flex:1 1 0;
    max-width:46vw;
  }
  .c-fixed-cv__button a{
    min-height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:.5rem .7rem;
    font-size:.86rem;
    line-height:1.1;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
}

/* =========================================================
   Footer
========================================================= */
.l-footer{
  position:relative;
  background:linear-gradient(180deg, #0d1f36 0%, #091828 100%);
  color:#c0d0e4;
  margin-top:3.2rem;
  overflow:hidden;
}
.l-footer::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  background:linear-gradient(90deg, var(--brand-teal), var(--brand-blue) 50%, var(--brand-orange));
}
.l-footer a{
  color:#c0d0e4;
  transition:color .2s ease;
}
.l-footer a:hover{
  color:var(--brand-teal-vivid);
  text-decoration:none;
}
.l-footer__logo{
  max-width:var(--container);
  margin:0 auto;
  padding:2rem 1rem 0;
}
.l-footer__logo img{
  filter:brightness(1.3) contrast(1.05);
  height:44px;
  width:auto;
  display:block;
}
.l-footer__inner{
  max-width:var(--container);
  margin:0 auto;
  padding:1.4rem 1rem 1.8rem;
  display:grid;
  gap:1.8rem;
}
@media (min-width:960px){ .l-footer__inner{ grid-template-columns: 1.2fr 1fr; } }
.l-footer__company{
  display:flex;
  flex-direction:column;
  gap:.3rem;
  margin:0;
  font-style:normal;
  line-height:1.6;
  font-size:.92rem;
  color:rgba(192,208,228,.75);
}
.l-footer__company-line{ display:block; }
.l-footer__social{ display:flex; gap:.6rem; margin-top:.6rem; }
.l-footer__nav{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:.7rem 2rem;
}
.l-footer__nav a{
  font-size:.9rem;
  letter-spacing:.02em;
  padding:.15rem 0;
  display:inline-block;
  position:relative;
}
.l-footer__nav a::after{
  content:"";
  position:absolute;
  bottom:0;
  left:0;
  width:0;
  height:1px;
  background:var(--brand-teal);
  transition:width .25s ease;
}
.l-footer__nav a:hover::after{
  width:100%;
}
.l-footer__nav-item.--sub a{ opacity:.8; }
.l-footer__copyright{
  text-align:center;
  padding:1.2rem 1rem;
  border-top:1px solid rgba(255,255,255,.06);
  color:rgba(160,180,206,.55);
  font-size:.82rem;
  letter-spacing:.04em;
  font-family:var(--font-display);
}

/* =========================================================
   Animation / Utilities
========================================================= */
/* Drone flight path */
.drone-path{
  position:relative;
  max-width:calc(var(--container) + 160px);
  margin:-1rem auto;
  padding:0 clamp(1.25rem, 4vw, 3rem);
  height:120px;
  overflow:visible;
  pointer-events:none;
}
.drone-path__svg{
  width:100%;
  height:100%;
}
.drone-path__line{
  stroke-dasharray:var(--path-len, 2000);
  stroke-dashoffset:var(--path-len, 2000);
  transition:stroke-dashoffset 0s;
}
/* Drone icon on path */
.drone-path__icon{
  transition:opacity .3s ease;
}
.drone-path__svg{ overflow:visible; }
@media (prefers-reduced-motion: reduce){
  .drone-path__line{
    stroke-dashoffset:0 !important;
  }
  .drone-path__icon{
    opacity:1 !important;
  }
}
@media (max-width:599px){
  .drone-path{ height:80px; margin:-0.5rem auto; }
}

.fadein{ opacity:0; transform:translateY(32px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.fadein.is-in{ opacity:1; transform:none; }
.no-js .fadein{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){
  .fadein{ opacity:1; transform:none; transition:none; }
}
.cursor-drone-trail{
  position:fixed;
  top:0;
  left:0;
  width:38px;
  height:38px;
  margin:-19px 0 0 -19px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(94,139,255,0.5) 0%, rgba(53,198,191,0.15) 60%, rgba(53,198,191,0) 100%);
  box-shadow:0 8px 18px rgba(53,198,191,0.32);
  backdrop-filter:blur(2px);
  pointer-events:none;
  opacity:0;
  transform:scale(.6);
  transition:opacity .25s ease, transform .25s ease;
  z-index:var(--z-overlay-top);
}
.cursor-drone-trail::after{
  content:"";
  position:absolute;
  inset:10px;
  background:url("./images/cursor-drone.svg") center/contain no-repeat;
  opacity:.9;
}
.cursor-drone-trail.is-active{
  opacity:1;
  transform:scale(1);
}
.cursor-drone-trail.is-hover{
  transform:scale(1.6);
  background:radial-gradient(circle, rgba(47,183,166,0.45) 0%, rgba(15,78,231,0.15) 60%, rgba(15,78,231,0) 100%);
  box-shadow:0 12px 28px rgba(47,183,166,0.35);
}

@media (pointer:coarse){
  body{ cursor:auto; }
  .cursor-drone-trail{ display:none; }
}

@media (max-width: 599px){
  :root{ --section-gap: clamp(2rem, 5vw, 3.2rem); }
}

@media (max-width: 599px){
  .gallery__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
  }
  .gallery__figure{ aspect-ratio: 1 / 1; }
  .gallery__figcaption{ font-size: .78rem; }
}
