/* ============================================
   Southern Claw Labs — Australian Bento Design
   ============================================ */

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

/* ============================================
   Design Tokens
   ============================================ */
:root {
  /* Backgrounds */
  --bg-base:    #faf8f4;
  --bg-card:    #ffffff;
  --bg-surface: #f0ede6;
  --bg-ocean:   #0d2b45;

  /* Brand Colours — Australian Palette */
  --ocean:              #0d2b45;
  --ocean-mid:          #1a3a5c;
  --eucalyptus:         #2d6a4f;
  --eucalyptus-light:   #3d8a65;
  --burnt-orange:       #c45c1a;
  --burnt-orange-hover: #a84d16;
  --ochre:              #c9842a;
  --gold:               #e8b84b;

  /* Text */
  --text-primary:   #1a3a52;
  --text-secondary: #4a5568;
  --text-muted:     #6b7280;
  --text-light:     #f5f0e8;

  /* Borders & Shadows */
  --border:        rgba(13, 43, 69, 0.08);
  --border-hover:  rgba(13, 43, 69, 0.18);
  --shadow-sm:     0 2px 8px rgba(13, 43, 69, 0.06);
  --shadow-md:     0 4px 20px rgba(13, 43, 69, 0.10);
  --shadow-lg:     0 8px 40px rgba(13, 43, 69, 0.14);

  /* Shape */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* ============================================
   Reset
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; }
ul   { list-style: none; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  background: var(--ocean);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.nav-logo span { color: var(--ochre); }

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(245, 240, 232, 0.7);
  transition: color 0.15s ease;
}

.nav-links a:hover { color: #ffffff; }
.nav-links a.active {
  color: #ffffff;
  font-weight: 700;
  border-bottom: 2px solid var(--ochre);
  padding-bottom: 2px;
}

.nav-cta {
  background: var(--burnt-orange) !important;
  color: white !important;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--burnt-orange-hover) !important;
}

/* ============================================
   Page Wrapper
   ============================================ */
.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
}

/* ============================================
   Bento Grid
   ============================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }

/* ============================================
   Bento Cards
   ============================================ */
.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.bento-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.bento-card.ocean {
  background: var(--ocean);
  border-color: transparent;
}

.bento-card.eucalyptus {
  background: linear-gradient(135deg, #eef7f2 0%, #ffffff 100%);
  border-color: rgba(45, 106, 79, 0.15);
}

.bento-card.ochre {
  background: linear-gradient(135deg, #fdf5e8 0%, #ffffff 100%);
  border-color: rgba(201, 132, 42, 0.2);
}

.bento-card.surface {
  background: var(--bg-surface);
  border-color: transparent;
  box-shadow: none;
}

.bento-card.surface:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
}

/* ============================================
   Hero
   ============================================ */
.hero-card {
  background: var(--ocean);
  border-radius: var(--radius-xl);
  padding: 54px 64px;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-logo img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.3));
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,132,42,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-card::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(45,106,79,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,132,42,0.12);
  border: 1px solid rgba(201,132,42,0.28);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-card h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-light);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 700px;
}

.hero-card h1 em {
  font-style: normal;
  color: var(--ochre);
}

.hero-card p {
  font-size: 1.125rem;
  color: rgba(245,240,232,0.72);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--burnt-orange);
  color: white;
}

.btn-primary:hover {
  background: var(--burnt-orange-hover);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(196,92,26,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1.5px solid rgba(245,240,232,0.28);
}

.btn-outline:hover {
  border-color: rgba(245,240,232,0.65);
  background: rgba(255,255,255,0.05);
  color: var(--text-light);
}

.btn-green {
  background: var(--eucalyptus);
  color: white;
}

.btn-green:hover {
  background: var(--eucalyptus-light);
  color: white;
  transform: translateY(-1px);
}

.btn-arrow {
  background: transparent;
  color: var(--burnt-orange);
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 600;
}

.btn-arrow:hover {
  color: var(--burnt-orange-hover);
  gap: 12px;
}

/* ============================================
   Typography Utilities
   ============================================ */
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--eucalyptus);
  margin-bottom: 12px;
}

.about-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-header-text {
  flex: 2;
  min-width: 0;
}

.about-header-logo {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0;
  margin-top: -20px;
}

.about-header-logo img {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.page-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ocean);
  line-height: 1.15;
  margin-bottom: 16px;
}

.page-lead {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: none;
  margin-bottom: 36px;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ocean);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.card-title.light { color: var(--text-light); }

.card-body {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.card-body.light { color: rgba(245,240,232,0.68); }

/* ============================================
   Labels / Badges
   ============================================ */
.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.label-green  { background: rgba(45,106,79,0.1); color: var(--eucalyptus); }
.label-orange { background: rgba(196,92,26,0.1); color: var(--burnt-orange); }
.label-ocean  { background: rgba(13,43,69,0.08); color: var(--ocean); }
.label-ochre  { background: rgba(201,132,42,0.12); color: var(--ochre); }

/* ============================================
   Service Icon
   ============================================ */
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 20px;
}

.icon-ocean      { background: rgba(13,43,69,0.07); }
.icon-green      { background: rgba(45,106,79,0.10); }
.icon-orange     { background: rgba(196,92,26,0.10); }
.icon-ochre      { background: rgba(201,132,42,0.12); }

/* ============================================
   Checklist
   ============================================ */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.check-list li::before {
  content: '✓';
  color: var(--eucalyptus);
  font-weight: 700;
  font-size: 0.875rem;
  margin-top: 1px;
  flex-shrink: 0;
}

.check-list.light li { color: rgba(245,240,232,0.72); }
.check-list.light li::before { color: var(--gold); }

/* ============================================
   Contact Form
   ============================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input,
.form-textarea,
.form-select {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9375rem;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--eucalyptus);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.12);
}

.form-textarea { resize: vertical; min-height: 130px; }

/* ============================================
   Footer
   ============================================ */
.footer { background: var(--ocean); margin-top: 80px; }

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-img {
  height: 36px;
  width: 36px;
  object-fit: contain;
}

.footer-logo span { color: var(--ochre); }

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(245,240,232,0.5);
  line-height: 1.65;
  max-width: 260px;
  margin-bottom: 24px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(245,240,232,0.4);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 0.9375rem;
  color: rgba(245,240,232,0.6);
  transition: color 0.15s ease;
}

.footer-col a:hover { color: var(--text-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-bottom-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-acknowledgement {
  max-width: 480px;
  font-size: 0.75rem;
  color: rgba(245,240,232,0.38);
  line-height: 1.6;
}

.acknowledgement-title {
  font-weight: 600;
  color: rgba(245,240,232,0.55);
  margin-bottom: 4px;
}

.footer-bottom-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
}

.footer-bottom p,
.footer-bottom a,
.footer-bottom span {
  font-size: 0.8125rem;
  color: rgba(245,240,232,0.65);
}

.footer-bottom a:hover { color: var(--ochre); }

.footer-credits { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .col-span-3 { grid-column: span 2; }
  .hero-card { padding: 52px 40px; }
  .hero-card h1 { font-size: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > :first-child { grid-column: span 2; }
}

/* ============================================
   Bento Menu Button
   ============================================ */
.nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

.nav-hamburger:hover { background: rgba(255,255,255,0.08); }

.nav-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5px;
  width: 20px;
  height: 20px;
}

.nav-bento span {
  display: block;
  background: var(--text-light);
  border-radius: 2px;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.nav-hamburger.open .nav-bento span { background: var(--ochre); }

/* ============================================
   Mobile Nav Menu
   ============================================ */
.nav-mobile {
  display: none;
  background: var(--ocean-mid);
  border-top: 1px solid rgba(255,255,255,0.07);
}

.nav-mobile.open { display: block; }

.nav-mobile ul {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 24px 20px;
  display: flex;
  flex-direction: column;
}

.nav-mobile li a {
  display: block;
  padding: 13px 0;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(245,240,232,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.15s ease;
}

.nav-mobile li:last-child a { border-bottom: none; }

.nav-mobile li a:hover,
.nav-mobile li a.active { color: var(--text-light); }

.nav-mobile li a.nav-cta {
  display: inline-flex;
  margin-top: 16px;
  background: var(--burnt-orange);
  color: white !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  border-bottom: none;
}

.nav-mobile li a.nav-cta:hover { background: var(--burnt-orange-hover); }

@media (max-width: 640px) {
  .bento-grid,
  .bento-grid-2 { grid-template-columns: 1fr; }
  .col-span-2,
  .col-span-3  { grid-column: span 1; }
  .page { padding: 32px 16px 64px; }
  .hero-card { padding: 40px 28px; }
  .hero-card h1 { font-size: 1.875rem; }
  .hero-logo { display: none; }
  .page-title  { font-size: 1.75rem; }
  .nav-links   { display: none; }
  .nav-hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner > :first-child { grid-column: span 1; }
  .product-hero-grid,
  .featured-article-grid { grid-template-columns: 1fr; }
  .product-hero-grid > div:last-child { min-width: unset; width: 100%; }
  .philosophy-card { max-width: 100% !important; }
}

.product-hero-grid { grid-template-columns: 1fr auto; }
.featured-article-grid { grid-template-columns: 1fr auto; }
.philosophy-card { max-width: 75%; }
