/* Tropical Smoothie Cafe design system
   First-pass client system derived from approved supplied assets and public brand signals.
   Logo colors are authoritative from the provided SVG. Secondary colors/type are inferred. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Roboto+Condensed:wght@500;700&display=swap');

:root {
  /* Logo-derived brand colors */
  --tsc-green: #8A9538;
  --tsc-orange: #F26423;
  --tsc-yellow: #FBB516;

  /* Inferred campaign and utility colors */
  --tsc-pink: #D0007E;
  --tsc-leaf: #3F6F2A;
  --tsc-sky: #5BC8D7;
  --tsc-lime: #C9D64A;
  --tsc-mango: #FF8A2A;

  /* Core surfaces */
  --warm-black: #252525;
  --warm-gray: #665F55;
  --cream: #FFF7E3;
  --sand: #F6E8C8;
  --pure-white: #FFFFFF;
  --surface-muted: #F8F5EA;
  --surface-green: #F0F3DA;
  --surface-orange: #FFF0E7;
  --surface-yellow: #FFF6D8;
  --surface-pink: #FCE5F2;
  --surface-sky: #E9F8FA;
  --border-hairline: #E6DEC6;

  /* Aliases for registry component parity */
  --primary: var(--tsc-orange);
  --primary-soft: var(--surface-orange);
  --secondary-1: var(--tsc-green);
  --secondary-2: var(--tsc-yellow);
  --secondary-3: var(--tsc-pink);
  --secondary-4: var(--tsc-sky);
  --neutral: var(--warm-gray);
  --cool-white: var(--pure-white);

  /* Gradients */
  --tropic-band: linear-gradient(90deg, var(--tsc-green) 0%, var(--tsc-yellow) 44%, var(--tsc-orange) 100%);
  --tropic-campaign: linear-gradient(90deg, var(--tsc-yellow) 0%, var(--tsc-orange) 46%, var(--tsc-pink) 100%);
  --tropic-soft: linear-gradient(90deg, rgba(138,149,56,0.16) 0%, rgba(251,181,22,0.22) 46%, rgba(242,100,35,0.16) 100%);

  /* Type families. Update when official TSC fonts are provided. */
  --font-display: Impact, "Arial Black", "Roboto Condensed", system-ui, sans-serif;
  --font-brand-serif: Georgia, "Times New Roman", serif;
  --font-body: Inter, Aptos, system-ui, sans-serif;
  --font-condensed: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;

  /* Radii */
  --r-none: 0;
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 6px;
  --r-pill: 9999px;

  /* Spacing */
  --s-xs: 4px;
  --s-sm: 8px;
  --s-md: 16px;
  --s-lg: 24px;
  --s-xl: 32px;
  --s-gutter: 40px;
  --s-margin: 48px;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  background: var(--cream);
  color: var(--warm-black);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.t-display {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.t-headline {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.t-brand-serif {
  font-family: var(--font-brand-serif);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--tsc-green);
}

.t-subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.t-body {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.t-label,
.t-eyebrow {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

.sheet {
  max-width: 1320px;
  margin: 0 auto;
  padding: 64px 48px 96px;
}

.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 20px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--border-hairline);
}

.sheet-head .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.sheet-head .mark {
  width: 12px;
  height: 12px;
  border-radius: var(--r-pill);
  background: var(--tropic-band);
}

.sheet-head .title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.sheet-head .sub,
.sheet-head .meta {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

.card-surface {
  background: var(--pure-white);
  border: 1px solid var(--border-hairline);
  border-radius: var(--r-md);
  padding: 28px;
  box-shadow: 0 10px 24px rgba(37,37,37,0.08);
}

.tropic-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--tsc-orange);
  color: var(--pure-white);
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.tropic-button--yellow {
  background: var(--tsc-yellow);
  color: var(--warm-black);
}

.tropic-button--green {
  background: var(--tsc-green);
  color: var(--pure-white);
}

.tropic-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  background: var(--surface-yellow);
  color: var(--warm-black);
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tropic-panel {
  border-radius: var(--r-md);
  padding: 32px;
  background: var(--pure-white);
  border: 1px solid var(--border-hairline);
}

.tropic-panel--green { background: var(--surface-green); }
.tropic-panel--orange { background: var(--surface-orange); }
.tropic-panel--yellow { background: var(--surface-yellow); }
.tropic-panel--pink { background: var(--tsc-pink); color: var(--pure-white); }
.tropic-panel--dark { background: var(--warm-black); color: var(--pure-white); }

.reward-card {
  display: grid;
  gap: 12px;
  background: var(--pure-white);
  border: 1px solid var(--border-hairline);
  border-radius: var(--r-md);
  padding: 20px;
}

.reward-card .reward-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  background: var(--tsc-yellow);
  color: var(--warm-black);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
}

.metric-tile {
  background: var(--pure-white);
  border-left: 5px solid var(--tsc-orange);
  border-radius: var(--r-sm);
  padding: 18px 20px;
}

.metric-tile .value {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
  color: var(--tsc-green);
}

.metric-tile .label {
  margin-top: 6px;
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

.menu-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.menu-band > * {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 16px;
  border-radius: var(--r-sm);
  background: var(--surface-muted);
  color: var(--warm-black);
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

.photo-plate {
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--border-hairline);
  background: var(--pure-white);
}

.tropic-time-lockup {
  display: inline-grid;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tropic-time-lockup .green { color: var(--tsc-green); }
.tropic-time-lockup .yellow { color: var(--tsc-yellow); }
.tropic-time-lockup .orange { color: var(--tsc-orange); }

@media (max-width: 760px) {
  .sheet { padding: 36px 20px 64px; }
  .sheet-head { align-items: flex-start; flex-direction: column; margin-bottom: 36px; }
  .t-display { font-size: 40px; }
  .t-headline { font-size: 30px; }
  .menu-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
