/* ============================================================
   Tug's Performance — interim "under construction" page.
   Design tokens lifted from the production storefront's brand.css
   so this page and the real store read as the same brand.
   ============================================================ */

:root {
  --bg:         #0b0b0d;
  --surface:    #141418;
  --surface-2:  #1b1b21;
  --border:     #27272e;
  --border-2:   #34343d;
  --text:       #ededf0;
  --text-dim:   #9a9aa4;
  --text-faint: #6c6c76;
  --red:        #d11722;
  --red-bright: #ef2330;
  --purple:     #9b3fd6;

  --font-display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;

  --r-sm: 6px; --r: 10px; --r-lg: 16px;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
  --shadow-red: 0 8px 24px -10px rgba(209, 23, 34, .55);
}

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

html {
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0d0d10, var(--bg));
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Ambient red/purple wash behind the content — same two-lamp treatment
   as the production hero. Fixed so it doesn't shift on short screens. */
.glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(820px 500px at 28% 2%, rgba(209, 23, 34, .30), transparent 68%),
    radial-gradient(700px 440px at 78% 22%, rgba(155, 63, 214, .20), transparent 70%),
    radial-gradient(900px 500px at 50% 100%, rgba(209, 23, 34, .09), transparent 72%);
}

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

.wrap {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  padding: var(--s8) var(--s5) var(--s7);
  text-align: center;
}

/* ---------- brandmark ---------- */
.brand-mark {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: clamp(1.15rem, 4vw, 1.5rem);
  color: #fff;
}
.brand-mark span { color: var(--red-bright); }

/* ---------- status pill ---------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  margin: var(--s6) 0 var(--s5);
  padding: 7px 16px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: rgba(20, 20, 24, .8);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-dim);
}
.status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 0 rgba(239, 35, 48, .7);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 8px rgba(239, 35, 48, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 35, 48, 0); }
}

/* ---------- headline ---------- */
h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.05;
  font-size: clamp(2.35rem, 9vw, 4.1rem);
  color: #fff;
}

.lede {
  margin: var(--s5) auto 0;
  max-width: 46ch;
  font-size: clamp(1rem, 2.6vw, 1.13rem);
  color: var(--text-dim);
}

.sub {
  margin: var(--s4) auto 0;
  max-width: 44ch;
  font-size: .92rem;
  color: var(--text-faint);
}

.rule {
  width: 64px;
  height: 3px;
  margin: var(--s7) auto var(--s6);
  border: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
}

.eyebrow {
  margin: 0 0 var(--s5);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--red-bright);
}

/* ---------- contact cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  text-align: left;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--s5) var(--s4);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r);
  position: relative;
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
/* Red edge wipes in on hover — the tile treatment from the storefront. */
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-2);
  box-shadow: var(--shadow);
}
.card:hover::before { transform: scaleY(1); }
.card:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

.card__icon {
  width: 22px;
  height: 22px;
  margin-bottom: var(--s3);
  color: var(--text-faint);
  transition: color .18s ease;
}
.card:hover .card__icon { color: var(--red-bright); }

.card__label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-faint);
}

.card__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: .01em;
  color: #fff;
  overflow-wrap: anywhere;
}

.card__hint {
  margin-top: var(--s1);
  font-size: .8rem;
  line-height: 1.45;
  color: var(--text-faint);
}

/* Emphasised card. Which card gets this depends on the device — see below. */
.card--text {
  background: linear-gradient(180deg, var(--red-bright), var(--red));
  border-color: rgba(255, 255, 255, .1);
  box-shadow: var(--shadow-red);
}
.card--text::before { display: none; }
.card--text .card__icon,
.card--text .card__label { color: rgba(255, 255, 255, .82); }
.card--text .card__hint { color: rgba(255, 255, 255, .78); }
.card--text:hover {
  filter: brightness(1.06);
  box-shadow: 0 14px 34px -12px rgba(209, 23, 34, .7);
}
.card--text:hover .card__icon { color: #fff; }

/* On a mouse-driven desktop an sms: link usually goes nowhere, so email
   leads instead and the Text card drops to the end as a phone-only note. */
@media (hover: hover) and (pointer: fine) {
  .card--email { order: 1; }
  .card--call  { order: 2; }
  .card--text  { order: 3; }

  .card--email {
    background: linear-gradient(180deg, var(--red-bright), var(--red));
    border-color: rgba(255, 255, 255, .1);
    box-shadow: var(--shadow-red);
  }
  .card--email::before { display: none; }
  .card--email .card__icon,
  .card--email .card__label { color: rgba(255, 255, 255, .82); }
  .card--email .card__hint { color: rgba(255, 255, 255, .78); }
  .card--email:hover {
    filter: brightness(1.06);
    box-shadow: 0 14px 34px -12px rgba(209, 23, 34, .7);
  }
  .card--email:hover .card__icon { color: #fff; }

  .card--text {
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border-color: var(--border);
    box-shadow: none;
  }
  .card--text::before { display: block; }
  .card--text .card__icon,
  .card--text .card__label { color: var(--text-faint); }
  .card--text .card__hint { color: var(--text-faint); }
  .card--text:hover {
    filter: none;
    box-shadow: var(--shadow);
  }
}

/* ---------- instagram ---------- */
.ig {
  display: flex;
  align-items: center;
  gap: var(--s4);
  margin-top: var(--s5);
  padding: var(--s4) var(--s5);
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.ig:hover {
  transform: translateY(-2px);
  border-color: var(--purple);
  background: var(--surface-2);
}
.ig:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}
.ig__glyph { flex: none; color: var(--text-dim); transition: color .18s ease; }
.ig:hover .ig__glyph { color: var(--purple); }
.ig__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ig__text strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: .02em;
  color: #fff;
}
.ig__text small { font-size: .82rem; color: var(--text-faint); }
.ig__arrow {
  flex: none;
  color: var(--text-faint);
  font-size: 1.2rem;
  transition: transform .18s ease, color .18s ease;
}
.ig:hover .ig__arrow { transform: translateX(4px); color: var(--purple); }

/* ---------- footer ---------- */
.foot {
  padding: var(--s6) var(--s5) var(--s7);
  text-align: center;
  font-size: .8rem;
  color: var(--text-faint);
}
.foot p { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .wrap { padding-top: var(--s7); }
  .cards { grid-template-columns: 1fr; gap: var(--s3); }
  .ig { padding: var(--s4); }

  /* Stacked cards get the icon in a left gutter instead of on its own line —
     three full-height cards plus the Instagram row is otherwise a long scroll
     on a phone, which is exactly the device most of this traffic is on. */
  .card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon label"
      "icon value"
      "icon hint";
    column-gap: var(--s4);
    align-items: center;
    padding: var(--s4) var(--s5);
  }
  .card__icon  { grid-area: icon; align-self: center; margin-bottom: 0; width: 24px; height: 24px; }
  .card__label { grid-area: label; }
  .card__value { grid-area: value; font-size: 1.15rem; }
  .card__hint  { grid-area: hint; margin-top: 0; }
}

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