/* Sun Design 1 — Elegant serif + minimal, rising sun & digital shine */
:root {
  --bg: #faf9f6;
  --bg-elevated: #ffffff;
  --surface: rgba(255, 255, 255, 0.85);
  --border: rgba(0, 0, 0, 0.08);
  --text: #1c1917;
  --text-muted: #57534e;
  --accent: #b45309;
  --accent-soft: rgba(180, 83, 9, 0.12);
  --sun: #f59e0b;
  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --radius: 12px;
  --header-h: 72px;
  --container: min(1100px, 100% - 2rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; position: relative; }

.bg-wrap {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.sun-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% 100%, rgba(251, 191, 36, 0.2) 0%, rgba(254, 243, 199, 0.08) 35%, transparent 60%),
    linear-gradient(180deg, #fffbeb 0%, #fef9c3 25%, #faf9f6 55%, #f5f5f4 100%);
}
.ai-context-bg {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(circle, rgba(180, 83, 9, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.shine-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.4) 25%, transparent 50%, rgba(255, 255, 255, 0.25) 75%, transparent 100%);
  background-size: 200% 100%;
  animation: shine 12s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -100% 0; }
}

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(250, 249, 246, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.35rem;
}
.logo-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--sun), var(--accent));
  color: #fff;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 700;
}
.logo-rise {
  background: linear-gradient(145deg, var(--sun), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo-accent { color: var(--accent); }
.nav { display: flex; gap: 2rem; }
.nav a { color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav a:hover { color: var(--accent); }
.nav-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 1px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  border: none;
}
.btn-primary { background: linear-gradient(145deg, var(--sun), var(--accent)); color: #fff; }
.btn-primary:hover { box-shadow: 0 4px 20px rgba(180, 83, 9, 0.3); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.btn-full { width: 100%; }

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2rem) 1.5rem 4rem;
}
.hero-content { max-width: 640px; }
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.label-dot {
  width: 8px;
  height: 8px;
  background: var(--sun);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.hero-title .line { display: block; }
.hero-title .accent { color: var(--accent); }
.hero-desc { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.section { padding: 5rem 1.5rem; }
.container { max-width: var(--container); margin: 0 auto; }
.section-label {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  color: var(--text);
}
.section-title .accent { color: var(--accent); }

.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.bento-item {
  background: var(--surface);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.bento-item:hover {
  border-color: rgba(180, 83, 9, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}
.bento-large { grid-row: span 2; display: flex; align-items: center; }
.bento-wide { grid-column: span 2; }
.bento-num { font-size: 0.75rem; color: var(--accent); font-weight: 600; margin-bottom: 0.75rem; }
.bento-inner h3 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.bento-inner p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; }
.bento-link { color: var(--accent); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.bento-link:hover { text-decoration: underline; }

.services { background: var(--bg-elevated); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  border-color: rgba(180, 83, 9, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.service-icon { font-size: 0.75rem; color: var(--accent); font-weight: 600; margin-bottom: 1rem; }
.service-card h3 { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2rem; }
.about-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 2rem; }
.about-stats li { color: var(--text-muted); font-size: 0.95rem; }
.stat-num { display: block; color: var(--accent); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.25rem; }
.about-card {
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.about-quote { font-size: 1.1rem; font-style: italic; color: var(--text-muted); line-height: 1.7; }

.contact-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
.contact-form .form-row { margin-bottom: 1.5rem; }
.contact-form label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-muted); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form button { margin-top: 0.5rem; }
.contact-info p { margin-bottom: 1.5rem; color: var(--text-muted); font-size: 0.95rem; }
.contact-info strong { color: var(--text); font-size: 0.85rem; }
.contact-info a { color: var(--accent); text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

.footer {
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
}
.footer-tagline { margin-top: 0.35rem; font-size: 0.85rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 0.85rem; color: var(--text-muted); }

@media (max-width: 1024px) {
  .about-inner { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: rgba(250, 249, 246, 0.98); flex-direction: column; justify-content: center; gap: 1.5rem; padding: 2rem;
    opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a { font-size: 1.25rem; }
  .nav-toggle { display: flex; z-index: 101; }
  .nav-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-toggle span { transition: transform 0.25s, opacity 0.25s; }
  body.nav-open { overflow: hidden; }
  .bento { grid-template-columns: 1fr; }
  .bento-large { grid-row: span 1; }
  .bento-wide { grid-column: span 1; }
  .hero-title { font-size: 2.25rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}
