:root {
  color-scheme: dark;
  --night: #0B132B;
  --teal: #5BC0BE;
  --slate: #3A506B;
  --sun: #FFD166;
  --paper: #E8F1F0;
  --soft: #A8B9C7;
  --rule: rgba(156, 186, 197, .2);
  --font-wide: "Arial", "Helvetica Neue", sans-serif;
  --font-serif: "Georgia", "Times New Roman", serif;
  --header-height: 82px;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; }
html { overflow: hidden; background: var(--night); }
body {
  min-width: 320px;
  overflow: hidden;
  color: var(--paper);
  background: var(--night);
  font-family: var(--font-wide);
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a:focus-visible, button:focus-visible, .gallery:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 4px;
}

.site { min-height: 100dvh; width: 100%; background: var(--night); }
.site::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: .14;
  background-image:
    radial-gradient(rgba(232, 241, 240, .32) .45px, transparent .7px);
  background-size: 5px 5px;
  mix-blend-mode: soft-light;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--night);
  background: var(--sun);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  min-height: var(--header-height);
  padding: 16px clamp(20px, 5.2vw, 82px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(156, 186, 197, .15);
  background: rgba(11, 19, 43, .93);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
}
.brand-mark {
  position: relative;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--teal);
  border-radius: 50%;
  color: var(--sun);
  font: 17px var(--font-serif);
}
.brand-mark::before, .brand-mark::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 1px;
  background: rgba(91, 192, 190, .42);
}
.brand-mark::after { transform: rotate(90deg); }
.brand-mark span { z-index: 1; padding: 0 3px; background: var(--night); }
.main-nav { display: flex; align-items: center; gap: clamp(15px, 2.7vw, 42px); }
.main-nav a {
  position: relative;
  padding: 10px 0;
  color: var(--soft);
  text-decoration: none;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: .09em;
  transition: color .25s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--teal);
  transition: right .3s ease;
}
.main-nav a:hover, .main-nav a[aria-current="location"] { color: var(--paper); }
.main-nav a:hover::after, .main-nav a[aria-current="location"]::after { right: 0; }

.main { padding-top: var(--header-height); }
.gallery {
  display: flex;
  width: 100%;
  height: calc(100dvh - var(--header-height));
  min-height: 620px;
  gap: clamp(12px, 1.7vw, 24px);
  padding: 0 clamp(20px, 5vw, 72px) 54px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: clamp(20px, 5vw, 72px);
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.gallery::-webkit-scrollbar { display: none; }
.panel {
  position: relative;
  isolation: isolate;
  flex: 0 0 min(88vw, 1440px);
  width: min(88vw, 1440px);
  min-width: 0;
  height: 100%;
  min-height: 560px;
  padding: clamp(42px, 6vw, 90px) clamp(28px, 8vw, 128px);
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(58, 80, 107, .15), rgba(11, 19, 43, .24));
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overscroll-behavior-y: contain;
}
.panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .55;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(91, 192, 190, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 192, 190, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 90%);
  mask-image: linear-gradient(90deg, #000, transparent 90%);
}
.panel-inner { position: relative; z-index: 1; width: min(1250px, 100%); margin: auto; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--teal);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--teal); }
.display-title {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-wide);
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 900;
  letter-spacing: .035em;
  line-height: .91;
  text-transform: uppercase;
}
.display-title em {
  color: var(--teal);
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -.045em;
  text-transform: none;
}
.body-copy {
  max-width: 490px;
  color: #B7C5CE;
  font-size: 14px;
  line-height: 1.8;
}
.body-copy p { margin: 0 0 15px; }
.section-note {
  margin: 28px 0 0;
  color: var(--sun);
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1.35;
}

/* Home */
.home-panel { padding-left: clamp(28px, 11vw, 174px); }
.home-inner { max-width: 1200px; }
.home-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 49%;
  right: -7%;
  width: min(46vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(91, 192, 190, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(91, 192, 190, .025), 0 0 0 110px rgba(91, 192, 190, .018);
  transform: translateY(-50%);
}
.home-panel .display-title {
  font-size: clamp(76px, 13.8vw, 202px);
  letter-spacing: .025em;
  line-height: .78;
}
.home-panel .display-title span { display: block; }
.home-panel .eyebrow { margin-bottom: 30px; }
.home-tagline {
  margin: 24px 0 0;
  color: var(--paper);
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.home-copy {
  max-width: 450px;
  margin: 16px 0 18px;
  color: #B7C5CE;
  font-size: 14px;
  line-height: 1.8;
}
.established {
  margin: 18px 0 0;
  color: var(--sun);
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.home-orbit {
  position: absolute;
  top: 3%;
  right: 12%;
  width: clamp(120px, 20vw, 285px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 209, 102, .45);
  border-radius: 50%;
  animation: orbit 32s linear infinite;
}
.home-orbit::before, .home-orbit::after {
  content: "";
  position: absolute;
  inset: 17%;
  border: 1px solid rgba(91, 192, 190, .36);
  border-radius: 50%;
  transform: rotate(50deg) scaleX(.62);
}
.home-orbit::after {
  inset: 31%;
  border-color: rgba(255, 209, 102, .25);
  transform: rotate(-35deg) scaleX(.64);
}
.home-dot {
  position: absolute;
  top: 19%;
  right: 24%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 10px rgba(255, 209, 102, .08);
}
@keyframes orbit { to { transform: rotate(360deg); } }

/* About */
.about-layout, .services-layout, .contact-layout {
  display: grid;
  align-items: center;
  gap: clamp(35px, 8vw, 130px);
}
.about-layout { grid-template-columns: 1fr .78fr; }
.about-copy { max-width: 610px; }
.about-copy .section-title { font-size: clamp(55px, 7.8vw, 104px); }
.orbit-art { position: relative; min-height: 410px; display: grid; place-items: center; }
.orbit-ring {
  position: absolute;
  width: min(28vw, 360px);
  aspect-ratio: 1;
  border: 1px solid rgba(91, 192, 190, .28);
  border-radius: 50%;
}
.orbit-ring:nth-child(2) {
  width: min(22vw, 280px);
  border-color: rgba(255, 209, 102, .35);
  transform: rotate(40deg) scaleX(.58);
}
.orbit-ring:nth-child(3) {
  width: min(15vw, 190px);
  border-style: dashed;
  border-color: rgba(91, 192, 190, .3);
}
.orbit-core {
  display: grid;
  width: 78px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: var(--night);
  background: var(--teal);
  font: 38px var(--font-serif);
  box-shadow: 0 0 0 12px rgba(91, 192, 190, .08);
}
.orbit-caption {
  position: absolute;
  right: 7%;
  bottom: 22px;
  color: var(--sun);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* Services */
.services-layout { grid-template-columns: .72fr 1.28fr; align-items: start; }
.services-intro .section-title { font-size: clamp(48px, 6.5vw, 88px); }
.service-list { border-top: 1px solid var(--rule); }
.service-item {
  display: grid;
  grid-template-columns: 45px 1fr;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.item-number {
  color: var(--sun);
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
}
.service-item h3, .approach-step h3 {
  margin: 0;
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 500;
  letter-spacing: .03em;
}
.service-item p {
  grid-column: 2;
  max-width: 470px;
  margin: 7px 0 0;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.65;
}
.service-note {
  margin: 21px 0 0;
  color: var(--teal);
  font-size: 11px;
  letter-spacing: .1em;
}

/* Approach */
.approach-panel { background-color: rgba(255, 209, 102, .025); }
.approach-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 55px;
}
.approach-heading .section-title { font-size: clamp(53px, 7.7vw, 108px); }
.approach-intro { max-width: 400px; margin-bottom: 4px; }
.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.approach-step { min-height: 185px; padding: 22px 22px 22px 0; }
.approach-step + .approach-step { padding-left: 22px; border-left: 1px solid var(--rule); }
.approach-step h3 { margin: 21px 0 9px; }
.approach-step p {
  max-width: 230px;
  margin: 0;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.7;
}
.approach-note {
  margin: 24px 0 0;
  color: var(--teal);
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
}

/* Contact */
.contact-layout { grid-template-columns: 1fr .8fr; }
.contact-copy .section-title { font-size: clamp(63px, 9vw, 124px); }
.contact-copy .body-copy { max-width: 490px; }
.email-link {
  display: inline-block;
  margin-top: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 209, 102, .45);
  color: var(--sun);
  font-size: clamp(17px, 2.4vw, 25px);
  font-weight: 600;
  text-decoration: none;
  transition: color .25s ease, border-color .25s ease;
}
.email-link:hover { color: var(--teal); border-color: var(--teal); }
.address-block { padding: 8px 0 8px 24px; border-left: 1px solid var(--teal); }
.address-label {
  margin: 0 0 17px;
  color: var(--teal);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.address-block address { color: var(--paper); font-size: 14px; font-style: normal; line-height: 1.9; }
.contact-city {
  margin: 25px 0 0 25px;
  color: var(--sun);
  font-family: var(--font-serif);
  font-size: 21px;
  font-style: italic;
}
.site-footer {
  position: absolute;
  right: 0;
  bottom: 26px;
  left: 0;
  z-index: 2;
  width: 100%;
  color: #8FA2B0;
  text-align: center;
  font-size: 9px;
  letter-spacing: .08em;
}

/* Panel controls */
.panel-link {
  position: absolute;
  right: clamp(28px, 5vw, 78px);
  bottom: 34px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border: 0;
  color: var(--soft);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.circle-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(91, 192, 190, .46);
  border-radius: 50%;
  color: var(--teal);
  font-size: 16px;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}
.panel-link:hover .circle-arrow { color: var(--night); background: var(--teal); }
.previous-link { right: auto; left: clamp(28px, 5vw, 78px); }
.previous-link:hover .circle-arrow { transform: translateX(-3px); }
.next-link:hover .circle-arrow, .home-link:hover .circle-arrow { transform: translateX(3px); }
.home-link { right: auto; left: 50%; transform: translateX(-50%); }
.gallery-controls {
  position: fixed;
  right: clamp(20px, 5vw, 78px);
  bottom: 25px;
  z-index: 35;
  display: flex;
  gap: 8px;
}
.gallery-button {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid rgba(91, 192, 190, .45);
  border-radius: 50%;
  color: var(--teal);
  background: rgba(11, 19, 43, .85);
  cursor: pointer;
  font-size: 18px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.gallery-button:hover:not(:disabled) { color: var(--night); background: var(--teal); transform: translateY(-2px); }
.gallery-button:disabled { opacity: .35; cursor: not-allowed; }
.gallery-position {
  position: fixed;
  bottom: 37px;
  left: clamp(20px, 5vw, 78px);
  z-index: 35;
  color: var(--soft);
  font-size: 10px;
  letter-spacing: .17em;
}
.gallery-position strong { color: var(--sun); font-weight: 500; }

@media (max-width: 760px) {
  :root { --header-height: 100px; }
  .site-header {
    display: block;
    padding: 13px 20px 10px;
  }
  .brand { font-size: 9px; }
  .brand-mark { width: 25px; height: 25px; font-size: 14px; }
  .main-nav {
    width: 100%;
    margin-top: 8px;
    gap: clamp(13px, 4vw, 25px);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { padding: 5px 0; font-size: 10px; }
  .gallery {
    height: calc(100dvh - var(--header-height));
    min-height: 640px;
    gap: 12px;
    padding: 0 18px 54px;
    scroll-padding-inline: 18px;
  }
  .panel {
    flex-basis: 86vw;
    width: 86vw;
    min-height: 586px;
    padding: 42px 22px 78px;
  }
  .home-panel { padding-left: 22px; }
  .home-panel .display-title { font-size: clamp(61px, 16vw, 120px); }
  .home-panel::after { right: -45%; width: 85vw; opacity: .7; }
  .home-orbit { top: 7%; right: 4%; width: 35vw; }
  .home-copy { max-width: 380px; font-size: 13px; }
  .home-tagline { font-size: 20px; }
  .about-layout, .services-layout, .contact-layout { grid-template-columns: 1fr; gap: 22px; }
  .display-title { font-size: clamp(48px, 12vw, 78px); }
  .body-copy { font-size: 13px; }
  .about-copy .section-title { font-size: clamp(45px, 11vw, 72px); }
  .orbit-art { min-height: 190px; }
  .orbit-ring { width: 175px; }
  .orbit-ring:nth-child(2) { width: 138px; }
  .orbit-ring:nth-child(3) { width: 98px; }
  .orbit-core { width: 58px; font-size: 27px; }
  .orbit-caption { right: 4%; bottom: 0; }
  .services-intro .section-title { font-size: clamp(47px, 11vw, 72px); }
  .service-item { padding: 12px 0; }
  .service-item p { font-size: 11px; }
  .approach-heading { display: block; margin-bottom: 28px; }
  .approach-heading .section-title { font-size: clamp(47px, 11vw, 76px); }
  .approach-intro { margin-top: 20px; }
  .approach-steps { grid-template-columns: 1fr 1fr; }
  .approach-step { min-height: 142px; padding: 16px 12px 16px 0; }
  .approach-step + .approach-step { padding-left: 12px; }
  .approach-step:nth-child(even) { padding-left: 17px; border-left: 1px solid var(--rule); }
  .approach-step:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .approach-step h3 { margin: 13px 0 7px; font-size: 15px; }
  .approach-step p { font-size: 11px; }
  .contact-copy .section-title { font-size: clamp(60px, 15vw, 90px); }
  .address-block { padding-left: 17px; }
  .address-block address { font-size: 12px; }
  .panel-link { right: 20px; bottom: 20px; }
  .previous-link { right: auto; left: 20px; }
  .home-link { right: auto; left: 50%; }
  .panel:not(.home-panel) > .next-link { display: flex; }
  .gallery-controls, .gallery-position { display: none; }
  .site-footer {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: 38px;
    font-size: 8px;
    letter-spacing: .04em;
    line-height: 1.6;
  }
}
@media (max-width: 400px) {
  .main-nav { gap: 12px; }
  .main-nav a { font-size: 9px; }
  .panel { padding-right: 18px; padding-left: 18px; }
  .home-panel { padding-left: 18px; }
  .home-panel .display-title { font-size: clamp(58px, 16vw, 82px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
