/*
Theme Name: Proto Previewer
Theme URI: https://bowdenworks.com
Author: Bowden Works
Author URI: https://bowdenworks.com
Description: A modern, high-performance WordPress starter theme built on _s (Underscores) tailored for Proto Preview — featuring InVision-style prototype presentations, client review hubs, and Bowden Works editorial design system.
Version: 1.0.0
Tested up to: 6.7
Requires at least: 6.0
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: proto-previewer
Tags: portfolio, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready

--------------------------------------------------------------
>>> TABLE OF CONTENTS:
--------------------------------------------------------------
1.0 Normalize & CSS Reset
2.0 Typography & Brand Variables
3.0 Elements (Links, Buttons, Forms)
4.0 Layout & Grid System
5.0 Header & Navigation
6.0 Prototype Showcase & Cards
7.0 Single & Archive Pages
8.0 Footer
9.0 Media Queries
-------------------------------------------------------------- */

/* --------------------------------------------------------------
1.0 Normalize & CSS Reset
-------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Radio Canada', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  color: #2D3748;
  background-color: #edf2f6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------
2.0 Typography & Brand Variables
-------------------------------------------------------------- */
:root {
  --color-primary: #b02b2b;
  --color-primary-hover: #872e21;
  --color-primary-light: #fbeeed;
  --color-dark: #1A202C;
  --color-slate: #2D3748;
  --color-slate-light: #64748b;
  --color-neutral-warm: #edf2f6;
  --color-white: #ffffff;
  --color-border: #e2e8f0;
  --font-heading: 'EB Garamond', Georgia, serif;
  --font-body: 'Radio Canada', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.15rem; }
h3 { font-size: 1.65rem; }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover, a:focus {
  color: var(--color-primary-hover);
}

/* --------------------------------------------------------------
3.0 Elements & Buttons
-------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 0.65rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(176, 43, 43, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(176, 43, 43, 0.35);
}

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

.btn-dark:hover {
  background-color: #0f172a;
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-slate);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

/* --------------------------------------------------------------
4.0 Layout & Grid System
-------------------------------------------------------------- */
.site-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.site-main {
  min-height: 70vh;
  padding: 3rem 0;
}

/* --------------------------------------------------------------
5.0 Header & Navigation
-------------------------------------------------------------- */
.site-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo-img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  object-fit: cover;
  border: 1px solid rgba(176, 43, 43, 0.2);
}

.site-title-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.1;
}

.site-title-text span {
  color: var(--color-primary);
}

.site-tagline {
  font-size: 0.65rem;
  color: var(--color-slate-light);
  font-weight: 500;
  letter-spacing: 0.025em;
  display: block;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.main-navigation a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-slate);
}

.main-navigation a:hover {
  color: var(--color-primary);
}

/* --------------------------------------------------------------
6.0 Prototype Showcase Grid
-------------------------------------------------------------- */
.proto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.proto-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.proto-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
  border-color: rgba(176, 43, 43, 0.3);
}

.proto-card-media {
  height: 180px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.proto-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.proto-card-client {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.proto-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.proto-card-desc {
  font-size: 0.85rem;
  color: var(--color-slate-light);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}

.proto-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

/* --------------------------------------------------------------
7.0 Footer
-------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-dark);
  color: #94a3b8;
  padding: 3.5rem 0 2rem 0;
  border-top: 1px solid #334155;
  font-size: 0.875rem;
}

.site-footer a {
  color: #cbd5e1;
}

.site-footer a:hover {
  color: var(--color-white);
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid #334155;
}
