:root{
  --bg: #0B3D2E;
  --g2: #1F5C45;
  --g3: #6E8F7A;
  --char: #1C1F1D;
  --sand: #D9CBB3;
  --gold: #C6A75E;
  --text: var(--sand);
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--gold);
  overflow: hidden;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* SPLASH */
.splash {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: transparent;
  z-index: 50;
}

.wrap {
  width: min(900px, 92vw);
  text-align: center;
  padding: 12vh 0;
  margin-bottom: 30%;
}

.logo {
  width: min(520px, 72vw);
  height: auto;
  display: block;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(10px);
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.25));
  transition: opacity 3300ms ease, transform 3300ms ease;
}

.tagline {
  margin-top: 18px;
  font-size: clamp(14px, 2.0vw, 18px);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 3000ms ease, transform 3000ms ease;
}

.is-ready .logo { opacity: 1; transform: translateY(0); }
.is-ready .tagline { opacity: 1; transform: translateY(0); transition-delay: 700ms; }

.is-exiting .logo,
.is-exiting .tagline {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 900ms ease, transform 900ms ease;
}

/* APP */
.app {
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms ease;
  overflow-x: hidden;
}

.app-ready .app {
  opacity: 1;
  pointer-events: auto;
}

/* MENU (Desktop/base) */
.menu {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 64px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 16px;
  z-index: 10;

  background: linear-gradient(
    to bottom,
    rgba(11, 61, 46, 0.92),
    rgba(11, 61, 46, 0.55),
    rgba(11, 61, 46, 0)
  );

  backdrop-filter: blur(6px);

  /* IMPORTANT: remove "scrollwable menu" on desktop/base */
  overflow: hidden;
  white-space: normal;
}

/* golden line down the menu */
.menu::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(1100px, calc(100vw - 32px));
  height: 1px;
  background-color: var(--gold);
  opacity: 0.85;
}

.menu a {
  color: rgba(217, 203, 179, 0.92);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 10px;
  border-radius: 999px;
  transition: color 220ms ease, background 220ms ease;
}

.menu a:hover {
  color: var(--gold);
  background: rgba(31, 92, 69, 0.55);
}

.menu a[aria-current="page"] {
  color: var(--gold);
  background: rgba(31, 92, 69, 0.75);
}

/* home icon */
.menu-logo {
  padding: 6px 10px;
  display: flex;
  align-items: center;
}

.menu-logo img {
  height: 26px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}

.menu-logo[aria-current="page"] {
  background: rgba(31, 92, 69, 0.75);
  border-radius: 999px;
}

/* STAGE / PANELS */
.stage {
  position: absolute;
  inset: 0;
  padding-top: 64px;
  display: grid;
  place-items: start center;
  overflow-x: hidden;
}

.panel {
  min-height: auto;
  display: none;
  align-content: start;
  padding-top: 7vh;
  padding-inline: clamp(18px, 5vw, 28px);
}

.panel > div {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.panel.is-active {
  display: grid;
  animation: panelIn 520ms ease both;
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.kicker {
  color: rgba(110, 143, 122, 0.95);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 14px;
}

h1, h2, h3 {
  margin: 0 0 14px 0;
  color: var(--sand);
  letter-spacing: 0.02em;
  line-height: 1.06;
}

h1 { font-size: clamp(28px, 5vw, 46px); }
h2 { font-size: clamp(22px, 3.6vw, 34px); }

p {
  margin: 0 0 12px 0;
  max-width: 68ch;
  color: var(--sand);
  font-size: 16px;
  line-height: 1.7;
}

.accent { color: var(--gold); }

.cta {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(31, 92, 69, 0.75);
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 12px;
  transition: transform 220ms ease, background 220ms ease;
}

.cta:hover {
  transform: translateY(-1px);
  background: rgba(31, 92, 69, 0.92);
}

/* FOOTER */
.footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  padding: 24px 0 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;

  /* adjustment in footer to prevent touch borders */
  padding-inline: clamp(16px, 5vw, 28px);
}

.footer-line {
  width: min(1100px, calc(100vw - 32px));
  height: 1px;
  background-color: var(--gold);
  opacity: 0.85;
  margin-bottom: 14px;
}

.footer-content {
  width: 100%;
  max-width: 1100px;
  display: flex;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  row-gap: 6px;

  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(217, 203, 179, 0.85);
}

/* Fonts */
h1, h2, h3, .kicker, .menu a, .tagline, .footer-content, .font-cinzel {
  font-family: 'Cinzel', serif;
}

p {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.title-gold { color: var(--gold); }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .logo, .tagline { transition: none; transform: none; opacity: 1; }
  .is-exiting .logo, .is-exiting .tagline { transition: none; }
  .app { transition: none; opacity: 1; pointer-events: auto; }
  .panel.is-active { animation: none; }
}

/* mobile first */
@media (max-width: 640px) {

  /* break menu in lines to prevent swipe */
  .menu {
    height: auto;
    padding: 10px 12px;

    justify-content: center;
    flex-wrap: wrap;

    column-gap: 10px;
    row-gap: 10px;

    overflow: hidden;
    white-space: normal;

    -webkit-mask-image: none;
            mask-image: none;
  }

  .menu a {
    font-size: 11px;
    letter-spacing: 0.10em;
    padding: 9px 12px;
    max-width: 100%;
  }

  .menu-logo img {
    height: 22px;
  }

  .stage {
    padding-top: 112px;

    /* for swipe effect */
    touch-action: pan-y;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .footer-content {
    flex-direction: column;
    gap: 6px;
    letter-spacing: 0.10em;
  }
}

.text-title-space {
  margin-top: 30px;
}

.text-space {
  margin-top: 20px;
}

.contact-icon {
  width: 33px;
  height: 33px;
}

.our-work {
  width: 30%;
  height: 30%;
}

ul {
  color: var(--sand)
}
