/*
Theme Name: Tasty Group
Theme URI: https://tastygroup.sg
Author: Bluehive Consulting
Author URI: https://bluehiveconsulting.com
Description: Custom WordPress theme for Tasty Group — Singapore's homegrown Western food group. Features ACF-powered editable sections, responsive design, and modern animations.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tasty-group
Tags: food, restaurant, custom-menu, featured-images, theme-options
*/

/* ==========================================================================
   CSS Custom Properties (Design Tokens)
   ========================================================================== */

:root {
  /* Core palette */
  --background: 40 30% 97%;
  --foreground: 0 0% 15%;
  --card: 0 0% 100%;
  --card-foreground: 0 0% 15%;
  --primary: 5 80% 48%;
  --primary-foreground: 0 0% 100%;
  --secondary: 42 92% 56%;
  --secondary-foreground: 0 0% 12%;
  --muted: 40 25% 93%;
  --muted-foreground: 0 0% 40%;
  --accent: 5 80% 48%;
  --accent-foreground: 0 0% 100%;
  --border: 40 15% 88%;
  --ring: 42 92% 56%;
  --radius: 0.5rem;

  /* Brand tokens */
  --brand-gold: 42 92% 56%;
  --brand-red: 5 80% 48%;
  --brand-cream: 40 30% 97%;
  --brand-warm-white: 40 35% 95%;
  --brand-dark: 0 0% 15%;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.15;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 8rem 0;
  }
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */

.font-display {
  font-family: 'DM Serif Display', Georgia, serif;
}

.text-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.text-body-lg {
  font-size: 1.125rem;
  line-height: 1.75;
}

/* ==========================================================================
   Color Utility Classes
   ========================================================================== */

.bg-background { background-color: hsl(var(--background)); }
.bg-primary { background-color: hsl(var(--primary)); }
.bg-secondary { background-color: hsl(var(--secondary)); }
.bg-muted { background-color: hsl(var(--muted)); }
.bg-card { background-color: hsl(var(--card)); }
.bg-dark { background-color: hsl(var(--brand-dark)); }
.bg-emerald { background-color: #059669; }

.text-foreground { color: hsl(var(--foreground)); }
.text-primary { color: hsl(var(--primary)); }
.text-primary-fg { color: hsl(var(--primary-foreground)); }
.text-secondary-color { color: hsl(var(--secondary)); }
.text-secondary-fg { color: hsl(var(--secondary-foreground)); }
.text-muted-fg { color: hsl(var(--muted-foreground)); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  line-height: 1;
}

.btn-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 4px 14px hsl(var(--primary) / 0.3);
}
.btn-primary:hover {
  background-color: hsl(var(--primary) / 0.9);
  box-shadow: 0 6px 20px hsl(var(--primary) / 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid hsl(var(--secondary-foreground) / 0.3);
  color: hsl(var(--secondary-foreground));
}
.btn-outline:hover {
  background: hsl(var(--secondary-foreground) / 0.1);
}

.btn-secondary {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  box-shadow: 0 2px 8px hsl(var(--secondary) / 0.3);
}
.btn-secondary:hover {
  background-color: hsl(var(--secondary) / 0.9);
}

/* ==========================================================================
   Sticky Navigation
   ========================================================================== */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: hsl(var(--primary));
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.site-nav.scrolled {
  background-color: hsl(var(--primary) / 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
  padding: 0.75rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 2.75rem;
  width: 2.75rem;
  object-fit: contain;
  border-radius: var(--radius);
}

.nav-logo-text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.125rem;
  color: hsl(var(--primary-foreground));
  letter-spacing: 0.025em;
}

@media (max-width: 639px) {
  .nav-logo-text { display: none; }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.nav-links a,
.nav-links button {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--primary-foreground) / 0.85);
  transition: color 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a:hover,
.nav-links button:hover,
.nav-links a.active {
  color: hsl(var(--secondary));
}

.nav-cta {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}
.nav-cta:hover {
  background-color: hsl(var(--secondary) / 0.9);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 0.5rem;
  min-width: 200px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-inner {
  background: hsl(var(--primary));
  border: 1px solid hsl(var(--primary-foreground) / 0.15);
  border-radius: 0.5rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
  overflow: hidden;
}

.nav-dropdown-inner a {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--primary-foreground) / 0.85);
  transition: all 0.2s ease;
}
.nav-dropdown-inner a:hover,
.nav-dropdown-inner a.active {
  color: hsl(var(--secondary));
  background: hsl(var(--primary-foreground) / 0.05);
}

.nav-dropdown-inner .dropdown-header {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--secondary));
  border-bottom: 1px solid hsl(var(--primary-foreground) / 0.1);
  padding: 0.75rem 1.25rem;
}

/* Mobile Menu */
.mobile-toggle {
  display: block;
  background: none;
  border: none;
  color: hsl(var(--primary-foreground));
  padding: 0.5rem;
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-toggle { display: none; }
}

.mobile-menu {
  display: none;
  background: hsl(var(--primary) / 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid hsl(var(--primary-foreground) / 0.1);
  padding: 1.5rem 0;
}

.mobile-menu.open {
  display: block;
  animation: fadeIn 0.3s ease;
}

.mobile-menu a,
.mobile-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--primary-foreground) / 0.8);
  transition: color 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-menu a:hover {
  color: hsl(var(--secondary));
}

.mobile-submenu {
  padding-left: 1rem;
  margin-top: 0.25rem;
  border-left: 2px solid hsl(var(--secondary) / 0.3);
  margin-left: 0.25rem;
  display: none;
}
.mobile-submenu.open { display: block; }

.mobile-submenu a {
  font-size: 0.875rem;
  padding: 0.375rem 0;
  color: hsl(var(--primary-foreground) / 0.7);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: hsl(var(--secondary));
}

.hero-bg-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .hero-bg-desktop {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
  }
  .hero-bg-desktop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero-bg-desktop::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, hsl(var(--secondary)), hsl(var(--secondary) / 0.4), transparent);
  }
}

.hero-bg-mobile {
  position: absolute;
  inset: 0;
}

@media (min-width: 1024px) {
  .hero-bg-mobile { display: none; }
}

.hero-bg-mobile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.hero-bg-mobile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: hsl(var(--secondary) / 0.8);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 7rem;
  padding-bottom: 4rem;
  max-width: 42rem;
}

@media (min-width: 768px) {
  .hero-content {
    padding-top: 9rem;
    padding-bottom: 6rem;
  }
}

.hero-badge {
  display: inline-block;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.25rem;
  color: hsl(var(--secondary-foreground));
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 768px) { .hero h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4.5rem; } }

.hero h1 span {
  color: hsl(var(--primary));
}

.hero-subtitle {
  color: hsl(var(--secondary-foreground) / 0.7);
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 36rem;
}

@media (min-width: 768px) {
  .hero-subtitle { font-size: 1.25rem; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Trust badges */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .trust-badges {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 6rem;
  }
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: hsl(var(--card) / 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.trust-badge-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: hsl(var(--primary));
}

.trust-badge span {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--secondary-foreground));
}

/* ==========================================================================
   Group Intro Section
   ========================================================================== */

.group-intro {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.group-intro .text-label {
  color: hsl(var(--accent));
  margin-bottom: 1rem;
  display: block;
}

.group-intro h2 {
  font-size: 1.875rem;
  color: hsl(var(--foreground));
  margin-bottom: 2rem;
}

@media (min-width: 640px) { .group-intro h2 { font-size: 2.25rem; } }
@media (min-width: 768px) { .group-intro h2 { font-size: 3rem; } }

.group-intro h2 span {
  color: hsl(var(--secondary));
}

.group-intro p {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
  line-height: 1.75;
}

/* ==========================================================================
   Brand Showcase
   ========================================================================== */

.brands-header {
  text-align: center;
  margin-bottom: 4rem;
}

.brands-header .text-label {
  color: hsl(var(--primary));
  margin-bottom: 1rem;
  display: block;
}

.brands-header h2 {
  font-size: 1.875rem;
  color: hsl(var(--foreground));
}

@media (min-width: 640px) { .brands-header h2 { font-size: 2.25rem; } }
@media (min-width: 768px) { .brands-header h2 { font-size: 3rem; } }

.brands-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.brand-card {
  display: block;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}
.brand-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.brand-card-inner {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .brand-card-inner { flex-direction: row; }
}

.brand-card-image {
  height: 12rem;
  overflow: hidden;
  position: relative;
}

@media (min-width: 768px) {
  .brand-card-image {
    width: 40%;
    height: auto;
  }
}

.brand-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.brand-card:hover .brand-card-image img {
  transform: scale(1.05);
}

.brand-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .brand-card-content {
    width: 60%;
    padding: 2rem;
  }
}

.brand-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.brand-card-top img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  border-radius: 0.5rem;
}

.brand-card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
}

.brand-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.brand-card-tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  opacity: 0.7;
}

.brand-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: gap 0.3s ease;
}
.brand-card:hover .brand-card-cta {
  gap: 0.75rem;
}

/* ==========================================================================
   Signature Dishes
   ========================================================================== */

.dishes-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .dishes-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.dishes-header .text-label {
  color: hsl(var(--primary));
  margin-bottom: 0.75rem;
  display: block;
}

.dishes-header h2 {
  font-size: 1.875rem;
  color: hsl(var(--foreground));
}

@media (min-width: 640px) { .dishes-header h2 { font-size: 2.25rem; } }
@media (min-width: 768px) { .dishes-header h2 { font-size: 3rem; } }

.dishes-header p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  max-width: 20rem;
}

.dishes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .dishes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.dish-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}
.dish-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.dish-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.dish-card:hover img {
  transform: scale(1.1);
}

.dish-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--brand-dark) / 0.8), hsl(var(--brand-dark) / 0.1), transparent);
}

.dish-card-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
}

@media (min-width: 768px) {
  .dish-card-text { padding: 1.5rem; }
}

.dish-card-text .category {
  color: hsl(var(--secondary));
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
  display: block;
}

.dish-card-text h3 {
  font-size: 1.125rem;
  color: hsl(var(--primary-foreground));
}

@media (min-width: 768px) {
  .dish-card-text h3 { font-size: 1.25rem; }
}

/* ==========================================================================
   Proof Points / What Makes Us Special
   ========================================================================== */

.proof-header {
  text-align: center;
  margin-bottom: 4rem;
}

.proof-header .text-label {
  color: hsl(var(--secondary-foreground) / 0.6);
  margin-bottom: 1rem;
  display: block;
}

.proof-header h2 {
  font-size: 1.875rem;
  color: hsl(var(--secondary-foreground));
  max-width: 42rem;
  margin: 0 auto;
}

@media (min-width: 640px) { .proof-header h2 { font-size: 2.25rem; } }
@media (min-width: 768px) { .proof-header h2 { font-size: 3rem; } }

.proof-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .proof-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.proof-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}
.proof-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.proof-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.proof-card:hover img {
  transform: scale(1.1);
}

.proof-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.3), transparent);
}

.proof-card-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
}

@media (min-width: 768px) {
  .proof-card-text { padding: 1.75rem; }
}

.proof-card-text h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.375rem;
}

@media (min-width: 768px) {
  .proof-card-text h3 { font-size: 1.5rem; }
}

.proof-card-text p {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ==========================================================================
   Outlet Locator
   ========================================================================== */

.outlet-section {
  position: relative;
  overflow: hidden;
}

.outlet-section .pattern-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle at 1px 1px, hsl(var(--secondary-foreground)) 1px, transparent 0);
  background-size: 24px 24px;
}

.outlet-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.outlet-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: hsl(var(--primary-foreground));
}

.outlet-content h2 {
  font-size: 1.875rem;
  color: hsl(var(--secondary-foreground));
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) { .outlet-content h2 { font-size: 2.25rem; } }
@media (min-width: 768px) { .outlet-content h2 { font-size: 3rem; } }

.outlet-content > p {
  color: hsl(var(--secondary-foreground) / 0.7);
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.brand-shortcuts {
  border-top: 1px solid hsl(var(--secondary-foreground) / 0.1);
  padding-top: 2rem;
  margin-top: 2.5rem;
}

.brand-shortcuts p {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--secondary-foreground) / 0.5);
  margin-bottom: 1.25rem;
}

.brand-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.brand-pill:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ==========================================================================
   Partner Section
   ========================================================================== */

.partner-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .partner-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.partner-info .text-label {
  color: hsl(var(--primary));
  margin-bottom: 1rem;
  display: block;
}

.partner-info h2 {
  font-size: 1.875rem;
  color: hsl(var(--secondary-foreground));
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) { .partner-info h2 { font-size: 2.25rem; } }
@media (min-width: 768px) { .partner-info h2 { font-size: 3rem; } }

.partner-info > p {
  color: hsl(var(--secondary-foreground) / 0.7);
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.partner-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 639px) {
  .partner-features { grid-template-columns: 1fr; }
}

.partner-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: hsl(var(--secondary-foreground) / 0.05);
  border: 1px solid hsl(var(--secondary-foreground) / 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
}

.partner-feature svg {
  color: hsl(var(--primary));
  flex-shrink: 0;
}

.partner-feature span {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--secondary-foreground));
}

.partner-why {
  background: hsl(var(--card));
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

@media (min-width: 768px) {
  .partner-why { padding: 3rem; }
}

.partner-why h3 {
  font-size: 1.5rem;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

.partner-why-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.partner-why-item:last-child { margin-bottom: 0; }

.partner-why-item .num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem;
  color: hsl(var(--primary));
}

.partner-why-item p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.6;
  padding-top: 0.5rem;
}

/* ==========================================================================
   Careers Section
   ========================================================================== */

.careers-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .careers-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.careers-image {
  order: 2;
  border-radius: 1rem;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .careers-image { order: 1; }
}

.careers-image img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
}

@media (min-width: 768px) {
  .careers-image img { height: 24rem; }
}

.careers-content {
  order: 1;
}

@media (min-width: 1024px) {
  .careers-content { order: 2; }
}

.careers-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: hsl(var(--primary-foreground));
}

.careers-content h2 {
  font-size: 1.875rem;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

@media (min-width: 640px) { .careers-content h2 { font-size: 2.25rem; } }

.careers-content > p {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.careers-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: hsl(var(--primary));
  padding: 3rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  border-radius: var(--radius);
}

.footer-brand span {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.125rem;
  color: hsl(var(--primary-foreground));
}

.footer-desc {
  color: hsl(var(--primary-foreground) / 0.6);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 260px;
}

.footer-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 0.75rem;
  color: hsl(var(--primary-foreground));
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  color: hsl(var(--primary-foreground) / 0.6);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: hsl(var(--secondary));
}

/* Newsletter */
.footer-newsletter {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
}

.footer-newsletter input {
  flex: 1;
  min-width: 0;
  background: hsl(var(--primary-foreground) / 0.1);
  border: 1px solid hsl(var(--primary-foreground) / 0.2);
  color: hsl(var(--primary-foreground));
  font-size: 0.875rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius) 0 0 var(--radius);
  outline: none;
  transition: border-color 0.2s ease;
}
.footer-newsletter input::placeholder {
  color: hsl(var(--primary-foreground) / 0.4);
}
.footer-newsletter input:focus {
  border-color: hsl(var(--secondary));
}

.footer-newsletter button {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  padding: 0.625rem 1rem;
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  transition: background 0.2s ease;
}
.footer-newsletter button:hover {
  background: hsl(var(--secondary) / 0.9);
}

/* Social icons */
.social-icons {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: hsl(var(--primary-foreground) / 0.1);
  border: 1px solid hsl(var(--primary-foreground) / 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary-foreground) / 0.7);
  transition: all 0.3s ease;
}
.social-icon:hover {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border-color: hsl(var(--secondary));
}

.social-icon svg {
  width: 1rem;
  height: 1rem;
}

/* Copyright strip */
.copyright {
  background: hsl(0 0% 10%);
  padding: 1rem 0;
}

.copyright-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .copyright-inner { flex-direction: row; }
}

.copyright p {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
}

/* ==========================================================================
   Page Hero (Inner Pages)
   ========================================================================== */

.page-hero {
  position: relative;
  padding: 10rem 0 5rem;
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.7));
}

.page-hero-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
}

.page-hero-badge {
  display: inline-block;
  background: hsl(var(--primary) / 0.2);
  border: 1px solid hsl(var(--primary) / 0.3);
  color: hsl(var(--secondary));
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.page-hero h1 {
  font-size: 2.25rem;
  color: #fff;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) { .page-hero h1 { font-size: 3rem; } }
@media (min-width: 768px) { .page-hero h1 { font-size: 3.75rem; } }

.page-hero h1 span {
  color: hsl(var(--secondary));
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.125rem;
  line-height: 1.75;
  max-width: 36rem;
  margin: 0 auto;
}

/* ==========================================================================
   Blog / Archive
   ========================================================================== */

.posts-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .posts-grid { grid-template-columns: repeat(3, 1fr); }
}

.post-card {
  background: hsl(var(--card));
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.post-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.post-card-thumbnail {
  height: 12rem;
  overflow: hidden;
}

.post-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card:hover .post-card-thumbnail img {
  transform: scale(1.05);
}

.post-card-body {
  padding: 1.5rem;
}

.post-card-meta {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
}

.post-card h3 {
  font-size: 1.25rem;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.post-card-excerpt {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Single post */
.single-content {
  max-width: 48rem;
  margin: 0 auto;
}

.single-content h2,
.single-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}

.single-content p {
  margin-bottom: 1.5rem;
  color: hsl(var(--muted-foreground));
  font-size: 1.0625rem;
  line-height: 1.8;
}

.single-content img {
  border-radius: 0.75rem;
  margin: 2rem 0;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   Utility
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* SVG icons inline sizing */
.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
