:root {

  /* =========================
     OFFICIAL 248TH COLOURS
     ========================= */

  --unit-tan: #AD9E87;
  --unit-black: #2D2D2D;
  --unit-grey: #9B9B9B;

  /* =========================
     SITE PALETTE
     ========================= */

  --bg: #161616;
  --bg-soft: #202020;

  --panel: #262626;
  --panel-light: #303030;

  --text: #E3E3E3;
  --muted: #9B9B9B;

  --accent-primary: #AD9E87;
  --accent-primary-bright: #C5B79F;

  --accent-secondary: #9B9B9B;
  --accent-secondary-bright: #BDBDBD;

  --clone-white: #D9D9D9;

  --line: rgba(155, 155, 155, 0.14);
  --line-bright: rgba(173, 158, 135, 0.48);

  --shadow-primary: 0 0 18px rgba(173, 158, 135, 0.16);
  --shadow-secondary: 0 0 18px rgba(155, 155, 155, 0.12);
}


/* =========================
   GLOBAL
   ========================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;

  color: var(--text);

  font-family:
    "Segoe UI",
    Arial,
    Helvetica,
    sans-serif;

  background:
    radial-gradient(
      circle at top,
      rgba(173, 158, 135, 0.055),
      transparent 38%
    ),
    linear-gradient(
      180deg,
      #1A1A1A 0%,
      #111111 100%
    );
}

body::before {
  content: "";

  position: fixed;
  inset: 0;

  pointer-events: none;

  opacity: 0.24;

  background-image:
    linear-gradient(
      rgba(155, 155, 155, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(155, 155, 155, 0.025) 1px,
      transparent 1px
    );

  background-size: 40px 40px;

  mask-image:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.75),
      transparent 90%
    );
}

a {
  color: inherit;
  text-decoration: none;
}


/* =========================
   HEADER
   ========================= */

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  background:
    rgba(28, 28, 28, 0.96);

  backdrop-filter:
    blur(12px);

  border-bottom:
    1px solid var(--line);

  box-shadow:
    0 8px 25px
    rgba(0, 0, 0, 0.38);
}

.topbar::after {
  content: "";

  display: block;

  height: 2px;

  opacity: 0.9;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--unit-grey),
      var(--unit-tan),
      var(--unit-grey),
      transparent
    );
}

.nav-wrap {
  max-width: 1450px;

  margin: auto;

  padding: 16px 28px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 30px;
}


/* =========================
   BRANDING
   ========================= */

.brand {
  display: flex;
  align-items: center;

  gap: 14px;

  min-width: max-content;
}

.brand-logo {
  width: 48px;
  height: 48px;

  object-fit: contain;

  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  color: #E5E5E5;

  font-size: 17px;
  font-weight: 800;

  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.brand-sub {
  margin-top: 3px;

  color: var(--unit-grey);

  font-size: 10px;

  letter-spacing: 3px;
  text-transform: uppercase;
}


/* =========================
   NAVIGATION
   ========================= */

nav ul {
  list-style: none;

  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 4px;
}

nav a {
  position: relative;

  display: block;

  padding: 10px 13px;

  color: #B9B9B9;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 1.2px;
  text-transform: uppercase;

  transition:
    0.2s ease;
}

nav a::before {
  content: "";

  position: absolute;

  left: 12px;
  right: 12px;
  bottom: 3px;

  height: 2px;

  background:
    var(--unit-tan);

  transform:
    scaleX(0);

  transform-origin:
    center;

  transition:
    transform 0.2s ease;
}

nav a:hover {
  color: white;

  background:
    rgba(173, 158, 135, 0.04);
}

nav a:hover::before {
  transform:
    scaleX(1);
}


/* =========================
   HERO
   ========================= */

.hero {
  position: relative;

  min-height: 74vh;

  display: flex;
  align-items: center;

  overflow: hidden;

  border-bottom:
    1px solid var(--line);
}

/* =========================
   HERO SLIDESHOW
   ========================= */

.hero-slideshow {
  position: absolute;
  inset: 0;

  z-index: 0;

  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;

  opacity: 0;

  background-size: cover;
  background-position: center;

  transform: scale(1.02);

  transition:
    opacity 1s ease,
    transform 6s ease;
}

.hero-slide.active {
  opacity: 1;

  transform: scale(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;

  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(18, 18, 18, 0.96) 0%,
      rgba(18, 18, 18, 0.83) 38%,
      rgba(18, 18, 18, 0.45) 70%,
      rgba(18, 18, 18, 0.28) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.10) 0%,
      rgba(0, 0, 0, 0.22) 100%
    );
}

.hero-grid {
  position: absolute;

  z-index: 2;

  inset: 0;

  opacity: 0.14;

  background-image:
    linear-gradient(
      rgba(173, 158, 135, 0.10) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(173, 158, 135, 0.10) 1px,
      transparent 1px
    );

  background-size:
    85px 85px;

  transform:
    perspective(900px)
    rotateX(70deg)
    translateY(200px)
    scale(1.5);

  transform-origin:
    bottom;
}

.hero-content {
  position: relative;

  z-index: 3;

  max-width: 1450px;

  width: 100%;

  margin: auto;

  padding:
    90px 28px;
}

.eyebrow {
  margin-bottom: 18px;

  color:
    var(--unit-tan);

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 4px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;

  color:
    var(--clone-white);

  font-size:
    clamp(
      48px,
      7vw,
      104px
    );

  line-height: 0.9;

  letter-spacing: -3px;

  text-transform: uppercase;
  font-weight: 900;

  text-shadow:
    0 0 28px
    rgba(255, 255, 255, 0.04),

    0 0 60px
    rgba(173, 158, 135, 0.08);
}

.hero h1 span {
  color:
    var(--unit-tan);
}

.hero-copy {
  max-width: 720px;

  margin-top: 26px;

  color:
    #B0B0B0;

  font-size: 17px;

  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 34px;
}

/* =========================
   HERO SLIDESHOW ARROWS
   ========================= */

.slide-arrow {
  position: absolute;

  top: 50%;

  z-index: 5;

  transform: translateY(-50%);

  border: none;
  background: transparent;

  color: rgba(217, 217, 217, 0.55);

  font-family: Arial, Helvetica, sans-serif;
  font-size: 64px;
  font-weight: 200;

  line-height: 1;

  padding: 18px;

  cursor: pointer;

  transition:
    color 0.2s ease,
    transform 0.2s ease,
    text-shadow 0.2s ease;
}

.slide-arrow-left {
  left: 18px;
}

.slide-arrow-right {
  right: 18px;
}

.slide-arrow:hover {
  color: var(--unit-tan);

  text-shadow:
    0 0 14px
    rgba(173, 158, 135, 0.45);
}

.slide-arrow-left:hover {
  transform:
    translateY(-50%)
    translateX(-3px);
}

.slide-arrow-right:hover {
  transform:
    translateY(-50%)
    translateX(3px);
}

/* =========================
   BUTTONS
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  padding:
    13px 18px;

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 1.5px;
  text-transform: uppercase;

  border:
    1px solid var(--line-bright);

  transition:
    0.2s ease;
}

.btn-primary {
  color: #1A1A1A;

  background:
    var(--unit-tan);

  border-color:
    var(--accent-primary-bright);

  box-shadow:
    var(--shadow-primary);
}

.btn-primary:hover {
  background:
    var(--accent-primary-bright);

  transform:
    translateY(-1px);
}

.btn-secondary {
  color:
    var(--clone-white);

  background:
    rgba(255, 255, 255, 0.015);

  border-color:
    rgba(155, 155, 155, 0.28);
}

.btn-secondary:hover {
  background:
    rgba(173, 158, 135, 0.06);

  border-color:
    var(--unit-tan);
}


/* =========================
   FEATURE STRIP
   ========================= */

.feature-strip {
  border-top:
    1px solid var(--line);

  border-bottom:
    1px solid var(--line);

  background:
    linear-gradient(
      90deg,
      rgba(45, 45, 45, 0.7),
      rgba(173, 158, 135, 0.055),
      rgba(45, 45, 45, 0.7)
    );
}

.feature-inner {
  max-width: 1450px;

  margin: auto;

  padding: 28px;

  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 1px;

  background:
    var(--line);
}

.feature {
  padding: 24px;

  background:
    var(--bg-soft);
}

.feature small {
  display: block;

  margin-bottom: 7px;

  color:
    var(--unit-tan);

  text-transform: uppercase;

  letter-spacing: 2px;
}

.feature strong {
  font-size: 18px;
}

.status-online {
  color: #A8C4A7;

  font-weight: 800;
}

.status-open {
  color: var(--unit-tan);

  font-weight: 800;
}


/* =========================
   MAIN SECTIONS
   ========================= */

.section {
  max-width: 1450px;

  margin: auto;

  padding:
    72px 28px;
}

.section-heading {
  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 30px;

  margin-bottom: 28px;
}

.section-heading h2 {
  color: #D7D7D7;

  font-size: 28px;

  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.section-heading p {
  max-width: 580px;

  color:
    var(--muted);

  font-size: 13px;

  text-align: right;
}


/* =========================
   DASHBOARD PANELS
   ========================= */

.panel-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 16px;
}

.panel {
  position: relative;

  overflow: hidden;

  min-height: 170px;

  padding: 22px;

  background:
    linear-gradient(
      145deg,
      rgba(155, 155, 155, 0.035),
      transparent
    ),
    var(--panel);

  border:
    1px solid var(--line);

  clip-path:
    polygon(
      0 0,
      calc(100% - 18px) 0,
      100% 18px,
      100% 100%,
      18px 100%,
      0 calc(100% - 18px)
    );

  transition:
    0.25s ease;
}

.panel::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 60px;

  height: 3px;

  background:
    var(--unit-tan);
}

.panel:hover {
  transform:
    translateY(-4px);

  border-color:
    rgba(173, 158, 135, 0.38);

  box-shadow:
    0 14px 40px
    rgba(0, 0, 0, 0.32);
}

.panel-label {
  margin-bottom: 16px;

  color:
    var(--unit-tan);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 2px;
  text-transform: uppercase;
}

.panel h3 {
  margin-bottom: 10px;

  color: #D9D9D9;

  font-size: 20px;

  text-transform: uppercase;
}

.panel p {
  color:
    var(--muted);

  font-size: 13px;

  line-height: 1.6;
}


/* =========================
   FOOTER
   ========================= */

footer {
  padding:
    34px 28px 48px;

  color:
    var(--muted);

  font-size: 12px;

  border-top:
    1px solid var(--line);

  background:
    #181818;
}

.footer-inner {
  max-width: 1450px;

  margin: auto;

  display: flex;

  justify-content: space-between;

  gap: 20px;

  flex-wrap: wrap;
}

.footer-title {
  color:
    var(--unit-tan);

  font-weight: 800;

  letter-spacing: 1px;
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1100px) {

  .nav-wrap {
    flex-direction:
      column;

    align-items:
      flex-start;
  }

  nav ul {
    gap: 0;
  }

  .panel-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .feature-inner {
    grid-template-columns:
      1fr;
  }
}


@media (max-width: 700px) {

  .nav-wrap {
    padding:
      14px 18px;
  }

  nav a {
    padding:
      8px 9px;

    font-size:
      10px;
  }

  .hero-content {
    padding:
      70px 20px;
  }

  .hero h1 {
    letter-spacing:
      -1.5px;
  }

  .hero-copy {
    font-size:
      15px;
  }

  .section {
    padding:
      54px 20px;
  }

  .section-heading {
    display:
      block;
  }

  .section-heading p {
    margin-top:
      10px;

    text-align:
      left;
  }

  .panel-grid {
    grid-template-columns:
      1fr;
  }
}
