/* ------------------------------------------------------------------
   PETA — modern overlay (OpenCode-inspired)

   Loaded AFTER styles.css. Overrides only. No markup changes.

   What it borrows from opencode.ai:
   - shadows removed entirely; structure carried by 1px hairlines
   - flat fills instead of gradients
   - one continuous canvas (no bright/dark section alternation)
   - monospace for Latin technical labels only

   What it deliberately does NOT borrow:
   - 100% monospace body type. Berkeley Mono has no Korean glyphs, and a
     mono Korean face reads as broken, not technical. Korean stays Pretendard.
   - terminal/ASCII ornament. Peta's buyer is a 품질팀 manager, not a CLI user.
   - opencode's 4px corners. Rounder boxes are Peta's own decision and are
     kept at the original radii; flatness alone carries the modern read.
   ------------------------------------------------------------------ */

:root {
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --hair: rgba(20, 21, 22, 0.13);
  --hair-strong: rgba(20, 21, 22, 0.26);
}

/* ---------------------------------------------- 1. flatten every surface */

.pain-card,
.solution-card,
.project-card,
.industry-card,
.process-card,
.why-card,
.contact-form,
.contact-note,
.trust-layout,
.diagnostic-box,
.material-fieldset,
.checkbox-item {
  border-color: var(--hair);
  background: transparent;
  box-shadow: none;
}

.pain-card:hover,
.solution-card:hover,
.project-card:hover,
.industry-card:hover,
.process-card:hover,
.why-card:hover {
  transform: none;
  border-color: var(--hair-strong);
  box-shadow: none;
}

.contact-layout {
  border: 1px solid var(--hair);
  background: transparent;
  box-shadow: none;
}

/* one continuous canvas — no alternating section tints */
.section-bright {
  background: transparent;
}

/* hairline rules carry the section rhythm instead */
.section-shell + .section-shell {
  border-top: 1px solid var(--hair);
}

/* ---------------------------------------------- 2. flat fills, no gradients */

.button-primary {
  background: var(--navy);
  box-shadow: none;
}

.button-primary:hover {
  transform: none;
  background: #000;
}

.button-secondary,
.header-cta {
  background: transparent;
  border-color: var(--hair-strong);
}

.button-secondary:hover,
.header-cta:hover {
  transform: none;
  border-color: var(--ink);
  box-shadow: none;
}

.icon-box {
  border-color: var(--hair);
  background: transparent;
}

.site-header {
  border-bottom: 1px solid var(--hair);
  background: rgba(247, 247, 244, 0.92);
}

.scroll-progress {
  height: 2px;
  background: var(--ink);
}

/* ---------------------------------------------- 3. outlined, not filled

   Corner radii stay at the original values. Only the fills come off, so the
   pill tags and 24px cards keep their softer shape.                        */

.tag-row span,
.hero-badges span {
  background: transparent;
  border-color: var(--hair);
}

.project-status {
  background: transparent;
  border: 1px solid rgba(47, 124, 99, 0.42);
}

.dashboard-card {
  box-shadow: none;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border-color: var(--hair-strong);
  background: transparent;
}

/* ---------------------------------------------- 4. mono for Latin labels only

   Korean labels stay in Pretendard — a monospace fallback would render
   Hangul in a mismatched face and break the line. Applied only where the
   copy is guaranteed Latin.                                              */

.eyebrow,
.solution-topline span,
.status-pill,
.dashboard-header span,
.module-head span,
.process-card > span {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.eyebrow {
  font-size: 12px;
}

/* ---------------------------------------------- 5. quieter dark surface */

.dashboard-card {
  background: #16191d;
  border-color: rgba(255, 255, 255, 0.1);
}

.dashboard-card::before {
  opacity: 0.3;
}

.mock-module {
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

.module-flow b {
  background: rgba(113, 138, 160, 0.2);
}

.carousel-controls button.is-active {
  background: rgba(148, 163, 184, 0.1);
}
