/* Design Tokens */
:root {
  --primary: #ff4d00;               /* energetic accent */
  --primary-hover: #e04300;
  --bg: #111111;
  --surface: #1e1e1e;
  --text: #ffffff;
  --muted: #aaaaaa;
  --border: #333333;
  --radius: 8px;
  --shadow: 0 4px 12px rgba(0,0,0,0.3);
  --header-h: 64px;
}

/* Global Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
h1, h2, h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Layout */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(17,17,17,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav-bar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--text);
}
.desktop-nav {
  display: none;
}
.desktop-nav a {
  margin-left: 1.5rem;
  font-weight: 500;
}
.header-ctas .btn {
  margin-left: 1rem;
}

/* Mobile Nav Panel */
.mobile-nav {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--surface);
  flex-direction: column;
  padding: 1rem;
}
.mobile-nav a {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav .mobile-nav-cta {
  margin-top: 0.5rem;
  background: var(--primary);
  color: var(--text);
  text-align: center;
  border-radius: var(--radius);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: background .2s, transform .2s;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: var(--text);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.hero-overlay {
  text-align: center;
  background: rgba(0,0,0,0.45);
  padding: 2rem;
  border-radius: var(--radius);
}
.hero-overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.hero-overlay p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

/* Sections */
.site-section {
  padding: 3rem 1.25rem;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.card-grid,
.gallery-grid {
  display: grid;
  gap: 1.5rem;
}
.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.card,
.gallery-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.card:hover,
.gallery-card:hover {
  transform: translateY(-4px);
}
.card img,
.gallery-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.card h3,
.gallery-card figcaption {
  padding: 0.75rem;
  font-size: 1rem;
}

/* CTA Band */
.cta-band {
  background: var(--surface);
  text-align: center;
}
.cta-band h2 {
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  background: var(--surface);
  color: var(--muted);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}
.footer-brand .brand-text {
  font-size: 1.25rem;
  font-weight: 600;
}
.footer-links,
.footer-connect {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a,
.footer-connect p {
  color: var(--muted);
}
.footer-bottom {
  text-align: center;
  padding: 1rem;
  font-size: 0.875rem;
}

/* Mobile Tab Bar */
.footer-mobile-tabs {
  display: none;
}
@media (max-width: 767px) {
  .desktop-nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: flex; }
  .footer-inner { display: none; }
  .footer-mobile-tabs {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    justify-content: space-around;
    padding: 0.5rem 0;
    z-index: 90;
  }
  body { padding-bottom: 4.5rem; }
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible,
.reveal.active {
  opacity: 1;
  transform: none;
}

/* Scroll Header Shadow */
.site-header.is-scrolled {
  box-shadow: var(--shadow);
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
input,
textarea {
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
}
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* Media Queries */
@media (min-width: 768px) {
  .hero-overlay h1 { font-size: 3.5rem; }
  .hero-overlay p { font-size: 1.25rem; }
  .desktop-nav {
    display: flex;
    gap: 1.5rem;
  }
  .nav-toggle { display: none !important; }
}
@media (min-width: 1024px) {
  .site-section { padding: 5rem 1.25rem; }
}

/* Utility */
.text-center { text-align: center; }

/* goke-premium-baseline */
:root{--goke-primary:#3b82f6;--goke-text:#111;--goke-muted:#6b7280;--goke-bg:#fff;--goke-surface:#f8fafc;--goke-border:#e2e8f0}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--goke-text);background:var(--goke-bg);line-height:1.55}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
.site-header{position:sticky;top:0;z-index:100;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);background:rgba(255,255,255,.86);border-bottom:1px solid var(--goke-border)}
.site-header.is-scrolled{box-shadow:0 8px 30px rgba(0,0,0,.08)}
.nav-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;max-width:1200px;margin:0 auto;padding:.85rem 1.25rem}
.brand{display:inline-flex;align-items:center;gap:.65rem;text-decoration:none;font-weight:700}
.brand-logo,.site-logo{height:40px;width:auto;max-height:48px;max-width:160px;object-fit:contain;border-radius:8px}
.desktop-nav,.site-nav .nav-list{display:flex;align-items:center;gap:1.35rem;list-style:none;margin:0;padding:0}
.desktop-nav a,.nav-list a{text-decoration:none;font-size:.92rem;font-weight:500;opacity:.85}
.desktop-nav a:hover,.nav-list a:hover{opacity:1}
.nav-toggle,.menu-toggle{display:none;background:transparent;border:0;cursor:pointer;padding:6px;flex-direction:column;gap:5px}
.nav-toggle-bar,.menu-toggle span{display:block;width:22px;height:2px;background:#111;border-radius:1px}
.mobile-nav{display:none}
.header-ctas a,.btn,a[data-goke=button],button[data-goke=button]{transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.header-ctas a:hover,.btn:hover{transform:translateY(-1px)}
.site-section,.reveal{opacity:0;transform:translateY(28px);transition:opacity .7s ease,transform .7s ease}
.site-section.is-visible,.site-section.active,.reveal.is-visible,.reveal.active{opacity:1;transform:none}
.hero-grid{display:grid;gap:2rem;align-items:center;max-width:1200px;margin:0 auto;padding:3rem 1.25rem}
@media(min-width:900px){.hero-grid{grid-template-columns:1.1fr .9fr}}
.site-footer{border-top:1px solid var(--goke-border);background:var(--goke-surface);margin-top:3rem}
.footer-inner{display:grid;gap:2rem;max-width:1200px;margin:0 auto;padding:3rem 1.25rem}
@media(min-width:768px){.footer-inner{grid-template-columns:2fr 1fr 1fr}}
.footer-bottom{max-width:1200px;margin:0 auto;padding:1rem 1.25rem 1.5rem;font-size:.8rem;color:var(--goke-muted);border-top:1px solid var(--goke-border)}
@media(max-width:767px){
  .nav-toggle,.menu-toggle{display:inline-flex}
  .desktop-nav{display:none!important}
  .mobile-nav.is-open,.mobile-nav:not([hidden]){display:flex;flex-direction:column;gap:.5rem;padding:1rem 1.25rem;border-top:1px solid var(--goke-border);background:#fff}
  .site-footer{position:fixed;bottom:0;left:0;right:0;z-index:90;margin:0;padding:0;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-top:1px solid var(--goke-border);box-shadow:0 -8px 30px rgba(0,0,0,.06)}
  .footer-inner,.footer-bottom{display:none}
  .site-footer::after{content:"";display:flex;justify-content:space-around;padding:.55rem .5rem calc(.55rem + env(safe-area-inset-bottom));font-size:.65rem}
  body{padding-bottom:4.5rem}
}
