:root {
  --tik-black: #080705;
  --tik-black-soft: #11100d;
  --tik-gold: #b9903d;
  --tik-gold-light: #d4ae5b;
  --tik-cream: #f4ead1;
  --tik-white: #fffdf8;
  --tik-border: rgba(185, 144, 61, 0.24);
  --tik-shadow: 0 16px 45px rgba(0, 0, 0, 0.26);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--tik-white);
  background: #17130e;
}
body.tik-menu-open { overflow: hidden; }

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

.tik-shell {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
}

.tik-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(8, 7, 5, 0.97);
  border-bottom: 1px solid rgba(185, 144, 61, 0.2);
  transition: box-shadow 260ms ease, background 260ms ease, transform 260ms ease;
}

.tik-header.is-scrolled {
  background: rgba(8, 7, 5, 0.985);
  box-shadow: var(--tik-shadow);
}

.tik-nav-wrap { position: relative; }

.tik-nav {
  min-height: 90px;
  display: grid;
  grid-template-columns: 255px 1fr auto;
  align-items: center;
  gap: 34px;
}

.tik-brand {
  display: inline-flex;
  align-items: center;
  width: 245px;
  min-width: 0;
}
.tik-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.tik-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.3vw, 34px);
}

.tik-menu__link {
  position: relative;
  padding: 34px 0 31px;
  color: rgba(255, 253, 248, 0.82);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.015em;
  transition: color 180ms ease;
}
.tik-menu__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 21px;
  width: 0;
  height: 1px;
  background: var(--tik-gold-light);
  transform: translateX(-50%);
  transition: width 220ms ease;
}
.tik-menu__link:hover,
.tik-menu__link.is-active { color: var(--tik-gold-light); }
.tik-menu__link:hover::after,
.tik-menu__link.is-active::after { width: 100%; }

.tik-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.tik-order-btn {
  position: relative;
  isolation: isolate;
  min-height: 46px;
  padding: 0 18px 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  border: 1px solid var(--tik-gold);
  background: var(--tik-gold);
  color: #0a0906;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  transition: color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.tik-order-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #0b0a07;
  transform: translateY(103%);
  transition: transform 260ms ease;
}
.tik-order-btn:hover {
  color: var(--tik-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(185, 144, 61, 0.2);
}
.tik-order-btn:hover::before { transform: translateY(0); }
.tik-order-btn i { font-size: 17px; }
.tik-order-btn--mobile { display: none; }

.tik-toggle {
  display: none;
  width: 48px;
  height: 46px;
  border: 1px solid var(--tik-border);
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
}
.tik-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--tik-gold-light);
  transition: transform 220ms ease, opacity 220ms ease;
}
.tik-toggle.is-open span:first-child { transform: translateY(4.25px) rotate(45deg); }
.tik-toggle.is-open span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* Demo only */
.tik-demo {
  min-height: 760px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 24px;
  background:
    linear-gradient(rgba(8,7,5,.78), rgba(8,7,5,.72)),
    url("../img/titirangi-logo.png") center/520px auto no-repeat,
    #1a140d;
}
.tik-demo span {
  color: var(--tik-gold-light);
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: 12px;
  font-weight: 700;
}
.tik-demo h1 {
  margin: 14px 0 10px;
  font-family: "Marcellus", serif;
  font-size: clamp(42px, 7vw, 84px);
  font-weight: 400;
}
.tik-demo p { color: rgba(255,255,255,.62); }

@media (max-width: 1100px) {
  .tik-shell { width: min(100% - 36px, 1220px); }
  .tik-nav { grid-template-columns: 220px 1fr auto; gap: 22px; }
  .tik-brand { width: 215px; }
  .tik-menu { gap: 20px; }
  .tik-menu__link { font-size: 13px; }
  .tik-order-btn { padding-inline: 15px; }
}

@media (max-width: 900px) {
  .tik-nav { min-height: 78px; grid-template-columns: 1fr auto; }
  .tik-brand { width: 205px; }
  .tik-actions > .tik-order-btn { display: none; }
  .tik-toggle { display: inline-flex; }

  .tik-menu {
    position: fixed;
    inset: 78px 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 30px 24px 42px;
    background:
      radial-gradient(circle at 80% 15%, rgba(185,144,61,.10), transparent 30%),
      #090806;
    transform: translateX(105%);
    visibility: hidden;
    opacity: 0;
    transition: transform 300ms ease, opacity 300ms ease, visibility 300ms ease;
    overflow-y: auto;
  }
  .tik-menu.is-open {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
  }
  .tik-menu__link {
    padding: 17px 0;
    border-bottom: 1px solid rgba(185,144,61,.14);
    font-family: "Marcellus", serif;
    font-size: 25px;
    font-weight: 400;
  }
  .tik-menu__link::after { display: none; }
  .tik-order-btn--mobile {
    display: inline-flex;
    width: 100%;
    margin-top: 26px;
    min-height: 54px;
  }
}

@media (max-width: 520px) {
  .tik-shell { width: calc(100% - 28px); }
  .tik-nav { min-height: 72px; }
  .tik-brand { width: min(192px, 66vw); }
  .tik-menu { inset-top: 72px; }
  .tik-toggle { width: 44px; height: 42px; }
  .tik-menu { inset: 72px 0 0; padding-inline: 20px; }
  .tik-menu__link { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
