/* =======================================================================
   okada.css — Okada LLC
   ======================================================================= */

/* Reset
----------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-hover);
}

ul {
  list-style: none;
}

/* Custom Properties
----------------------------------------------------------------------- */
:root {
  --bg:           #ffffff;
  --bg-alt:       #f8fafc;
  --text:         #0f172a;
  --text-muted:   #475569;
  --accent:       #1e3a5f;
  --accent-hover: #152c4a;
  --border:       #e2e8f0;

  --nav-height:   64px;
  --max-width:    1100px;
  --section-pad:  96px;
  --radius:       8px;
  --transition:   0.2s ease;

  --shadow:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.10), 0 4px 6px rgba(0,0,0,.05);
}

/* Typography
----------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
h3 { font-size: 1.125rem; }

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

p:last-child { margin-bottom: 0; }

strong { color: var(--text); font-weight: 600; }

/* Buttons
----------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.65);
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}

/* Layout helpers
----------------------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* Navigation
----------------------------------------------------------------------- */
#nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--border);
  transition: box-shadow var(--transition);
}

#nav-wrap.scrolled {
  box-shadow: 0 1px 0 var(--border), var(--shadow);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 34px;
  width: auto;
  display: block;
}

#nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

#nav li a {
  display: block;
  padding: 0.375rem 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}

#nav li a:hover,
#nav li.current a {
  color: var(--accent);
  background: rgba(30,58,95,0.07);
}

/* Hamburger
----------------------------------------------------------------------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero
----------------------------------------------------------------------- */
.hero {
  background: var(--text);
  padding: calc(var(--nav-height) + 96px) 0 96px;
  text-align: center;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
}

/* Section padding
----------------------------------------------------------------------- */
.section-pad {
  padding: var(--section-pad) 0;
}

.section-head {
  margin-bottom: 3rem;
}

.section-head h2 {
  margin-bottom: 0.5rem;
}

.section-head > p {
  font-size: 1.0625rem;
  color: var(--text-muted);
}

/* Cards grid (divisions)
----------------------------------------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: #c8d8ea;
}

.card i {
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.card-link:hover {
  color: var(--accent-hover);
}

/* Focus areas / services
----------------------------------------------------------------------- */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.focus-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
}

.focus-item i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.focus-item h3 {
  margin-bottom: 0.5rem;
}

.focus-item p {
  font-size: 0.9375rem;
  margin: 0;
}

/* Featured product (publishing)
----------------------------------------------------------------------- */
.product-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 520px;
  box-shadow: var(--shadow-md);
}

.product-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.375rem;
}

.product-card p {
  margin-bottom: 1.5rem;
}

/* CTA strip (dark)
----------------------------------------------------------------------- */
.cta-strip {
  background: var(--text);
  padding: 5rem 0;
  text-align: center;
}

.cta-strip h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-strip p {
  color: rgba(255,255,255,0.65);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
}

/* Contact block
----------------------------------------------------------------------- */
.contact-block {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.contact-email {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  display: block;
  margin: 1.5rem 0;
}

.contact-email:hover {
  color: var(--accent-hover);
}

/* Footer
----------------------------------------------------------------------- */
footer {
  background: var(--text);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-info a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9375rem;
  display: block;
  margin-bottom: 0.25rem;
  transition: color var(--transition);
}

.footer-info a:hover {
  color: #fff;
}

.footer-copy {
  color: rgba(255,255,255,0.35);
  font-size: 0.875rem;
}

.footer-logo {
  height: 30px;
  width: auto;
  display: block;
  margin-bottom: 0.75rem;
  opacity: 0.75;
}

/* =======================================================================
   Responsive
   ======================================================================= */

/* Tablet: ≤ 960px */
@media (max-width: 960px) {
  :root { --section-pad: 72px; }

  .cards-grid { grid-template-columns: 1fr 1fr; }
  .focus-grid  { grid-template-columns: 1fr 1fr; }
}

/* Mobile: ≤ 768px */
@media (max-width: 768px) {
  :root { --section-pad: 56px; }

  .nav-toggle { display: flex; }

  #nav {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(15,23,42,0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.5rem 0;
    gap: 0;
    display: none;
  }

  body.nav-open #nav { display: flex; }

  #nav li a {
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    color: rgba(255,255,255,0.82);
    font-size: 0.9375rem;
  }

  #nav li a:hover,
  #nav li.current a {
    color: #fff;
    background: rgba(255,255,255,0.1);
  }

  .cards-grid { grid-template-columns: 1fr; }
  .focus-grid  { grid-template-columns: 1fr; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Small mobile: ≤ 480px */
@media (max-width: 480px) {
  :root { --section-pad: 48px; }
}
