/* ============================================================
   LADLY MEDIA — Main Stylesheet
   Design: Light/White, Professional, Inter font
   ============================================================ */

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

/* ---------- CSS Variables ---------- */
:root {
  --bg:          #FFFFFF;
  --surface:     #F7F7F7;
  --surface-2:   #EFEFEF;
  --border:      #E0E0E0;
  --text-primary:   #0D0D0D;
  --text-secondary: #555555;
  --text-muted:     #999999;
  --accent:      #0D0D0D;
  --accent-hover:#333333;
  --white:       #FFFFFF;
  --radius:      12px;
  --radius-sm:   6px;
  --shadow:      0 2px 16px rgba(0,0,0,0.07);
  --shadow-md:   0 6px 32px rgba(0,0,0,0.10);
  --nav-height:  72px;
  --max-width:   1200px;
  --transition:  0.22s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ---------- Layout Utilities ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section--gray { background: var(--surface); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 { line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { color: var(--text-secondary); line-height: 1.75; }

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: block;
}
.section-title { margin-bottom: 16px; }
.section-desc { max-width: 560px; font-size: 1.05rem; margin-bottom: 48px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}
.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}
.nav__logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.nav__logo-text { display: none; }
.nav__logo img[data-error] + .nav__logo-text,
.nav__logo:not(:has(img)) .nav__logo-text { display: block; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}
.nav__links a:hover,
.nav__links a.active { color: var(--text-primary); }
.nav__links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
}
.nav__cta { margin-left: 8px; }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile Nav ---------- */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
  box-shadow: var(--shadow-md);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 12px 8px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover,
.nav__mobile a.active { color: var(--text-primary); }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--border);
}
.page-hero .section-label { margin-bottom: 16px; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero p { font-size: 1.1rem; max-width: 600px; }

/* ---------- Home Hero ---------- */
.hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 50%, #F0F0F0 0%, transparent 70%);
  pointer-events: none;
}
.hero__content { position: relative; max-width: 720px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.hero__eyebrow span { width: 6px; height: 6px; background: #0D0D0D; border-radius: 50%; }
.hero h1 { margin-bottom: 24px; }
.hero h1 em {
  font-style: normal;
  position: relative;
  display: inline-block;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 4px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
}
.hero__desc { font-size: 1.15rem; margin-bottom: 40px; max-width: 560px; }

/* ---------- Services Cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--text-primary);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--text-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.service-card__icon svg { width: 26px; height: 26px; stroke: white; fill: none; stroke-width: 1.8; }
.service-card h3 { margin-bottom: 12px; font-size: 1.15rem; }
.service-card p { font-size: 0.9rem; line-height: 1.65; }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 20px;
  transition: gap var(--transition);
}
.service-card__link:hover { gap: 10px; }

/* ---------- About Teaser (Home) ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-split__image {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.about-split__image img { width: 100%; height: 100%; object-fit: cover; }
.about-split__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
}
.about-split__placeholder svg { width: 48px; height: 48px; stroke: var(--border); fill: none; stroke-width: 1.2; }

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--text-primary);
  color: var(--white);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat__number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Podcast Section ---------- */
.podcast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.podcast-badges { display: flex; flex-direction: column; gap: 16px; }
.podcast-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--text-primary);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  max-width: 240px;
}
.podcast-badge:hover { background: #333; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.podcast-badge svg { width: 22px; height: 22px; fill: white; flex-shrink: 0; }
.podcast-badge--spotify { background: #1DB954; }
.podcast-badge--spotify:hover { background: #1aa34a; }
.podcast-badge--apple { background: #000000; }
.podcast-badge--apple:hover { background: #222; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 64px 56px;
  text-align: center;
}
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { margin-bottom: 36px; font-size: 1.05rem; }
.cta-banner .btn-group { justify-content: center; }

/* ---------- Footer ---------- */
.footer {
  background: var(--text-primary);
  color: var(--white);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand p { color: rgba(255,255,255,0.55); font-size: 0.9rem; margin-top: 16px; max-width: 280px; }
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.footer__logo img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.footer__col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer__col ul a:hover { color: var(--white); }
.footer__social { display: flex; gap: 12px; margin-top: 20px; }
.footer__social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.footer__social a:hover { background: rgba(255,255,255,0.2); }
.footer__social svg { width: 16px; height: 16px; fill: white; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Fade-in Animation ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ---------- About Page ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
}
.value-card__num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}
.value-card h3 { margin-bottom: 10px; }
.value-card p { font-size: 0.9rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); }
.team-card__photo {
  aspect-ratio: 1/1;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-card__photo svg { width: 64px; height: 64px; stroke: var(--border); fill: none; stroke-width: 1; }
.team-card__info { padding: 20px 24px; }
.team-card__info h3 { font-size: 1rem; margin-bottom: 4px; }
.team-card__info span { font-size: 0.82rem; color: var(--text-muted); }

/* ---------- Services Page ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-of-type { border-bottom: none; }
.service-detail--reverse { direction: rtl; }
.service-detail--reverse > * { direction: ltr; }
.service-detail__icon {
  width: 64px;
  height: 64px;
  background: var(--text-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.service-detail__icon svg { width: 32px; height: 32px; stroke: white; fill: none; stroke-width: 1.6; }
.service-detail h2 { margin-bottom: 16px; }
.service-detail p { margin-bottom: 24px; }
.service-detail ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.service-detail ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.service-detail ul li::before {
  content: '';
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: var(--text-primary);
  border-radius: 50%;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4 9l3.5 3.5L14 6' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: contain;
}
.service-detail__visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-detail__visual svg { width: 80px; height: 80px; stroke: var(--border); fill: none; stroke-width: 0.8; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--border);
}
.process-step { text-align: center; padding: 0 16px; }
.process-step__num {
  width: 56px;
  height: 56px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.process-step:hover .process-step__num {
  background: var(--text-primary);
  color: white;
  border-color: var(--text-primary);
}
.process-step h4 { font-size: 0.95rem; margin-bottom: 8px; }
.process-step p { font-size: 0.82rem; }

/* ---------- Work Page ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.work-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}
.work-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.work-card__thumb {
  aspect-ratio: 16/10;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.work-card__thumb svg { width: 48px; height: 48px; stroke: var(--border); fill: none; stroke-width: 1; }
.work-card__tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--text-primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.work-card__info { padding: 20px 24px; }
.work-card__info h3 { font-size: 1rem; margin-bottom: 6px; }
.work-card__info p { font-size: 0.85rem; }

/* ---------- Contact Page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 32px; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.contact-detail__icon {
  width: 40px; height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail__icon svg { width: 18px; height: 18px; stroke: var(--text-primary); fill: none; stroke-width: 2; }
.contact-detail__text { font-size: 0.9rem; }
.contact-detail__text strong { display: block; font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }

.social-links-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: all var(--transition);
}
.social-link:hover { background: var(--text-primary); color: white; border-color: var(--text-primary); }
.social-link svg { width: 16px; height: 16px; fill: currentColor; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
}
.contact-form h3 { margin-bottom: 32px; font-size: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  color: #16a34a;
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .service-detail { grid-template-columns: 1fr; gap: 40px; }
  .service-detail--reverse { direction: ltr; }
  .podcast-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-steps::before { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .section { padding: 64px 0; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .cta-banner { padding: 40px 28px; }
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero { padding: 56px 0 48px; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 48px 0; }
}
