/* =========================================================
   STRAON — styles.css
   Design tokens sampled from logo + business card SVG.
   ========================================================= */

:root {
  /* Brand colors */
  --c-hero-blue:   #1214EC;
  --c-brand-blue:  #0E55E1;
  --c-soft-blue:   #7590C6;
  --c-brush-red:   #D52826;
  --c-ink:         #1A1818;
  --c-text:        #4E4444;
  --c-text-soft:   #595454;
  --c-line:        #E6E7EE;
  --c-bg:          #FFFFFF;
  --c-bg-alt:      #F6F7FB;
  --c-bg-tint:     #EEF1FA;

  /* Type */
  --f-display: 'Montserrat', 'Noto Sans KR', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body:    'Noto Sans KR', 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --max-w: 1200px;
  --pad-x: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 128px);

  /* Radius / shadow */
  --r: 14px;
  --r-sm: 8px;
  --sh-card: 0 1px 2px rgba(20,20,40,.04), 0 8px 28px rgba(20,20,80,.06);
  --sh-card-hover: 0 4px 8px rgba(20,20,40,.06), 0 14px 36px rgba(20,20,80,.10);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: keep-all;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--c-brand-blue); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--c-hero-blue); }
ul { padding-left: 1.1em; margin: 0; }
li { margin-bottom: .4em; }
h1, h2, h3, h4 { color: var(--c-ink); font-family: var(--f-display); font-weight: 800; letter-spacing: -.01em; margin: 0; }
b, strong { font-weight: 700; color: var(--c-ink); }
sup { font-size: .6em; vertical-align: super; }

.container { max-width: var(--max-w); margin: 0 auto; padding-inline: var(--pad-x); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-hero-blue);
  color: #fff;
  box-shadow: 0 6px 20px rgba(18,20,236,.28);
}
.btn-primary:hover {
  background: #0a0cd0;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(18,20,236,.36);
}
.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-line);
}
.btn-ghost:hover {
  border-color: var(--c-hero-blue);
  color: var(--c-hero-blue);
}
.btn-large { padding: 18px 36px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand img { height: 28px; width: auto; }
.primary-nav { display: flex; gap: 28px; align-items: center; }
.primary-nav a {
  color: var(--c-ink);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .02em;
}
.primary-nav a:hover { color: var(--c-hero-blue); }
.primary-nav .nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--c-hero-blue);
  color: #fff;
}
.primary-nav .nav-cta:hover { background: #0a0cd0; color: #fff; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--c-ink);
  border-radius: 1px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 8vw, 100px);
  background:
    radial-gradient(900px 480px at 85% -20%, rgba(18,20,236,.06), transparent 60%),
    radial-gradient(700px 420px at 5% 110%, rgba(213,40,38,.05), transparent 60%),
    #fff;
  overflow: hidden;
}
.hero-inner { text-align: left; max-width: 920px; }
.eyebrow {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-soft-blue);
  margin: 0 0 24px;
}
.eyebrow .raon {
  color: var(--c-brush-red);
  font-weight: 800;
  letter-spacing: .05em;
}
.hero-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(48px, 9vw, 104px);
  line-height: .98;
  letter-spacing: -.025em;
  color: var(--c-hero-blue);
  margin: 0 0 28px;
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.7;
  color: var(--c-text);
  margin: 0 0 40px;
  max-width: 640px;
}
.hero-sub strong { color: var(--c-ink); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-divider {
  display: flex;
  justify-content: center;
  margin-top: clamp(56px, 7vw, 96px);
}
.brush-enso {
  width: clamp(180px, 22vw, 260px);
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 20px rgba(213,40,38,.22));
  animation: ensoFloat 7s ease-in-out infinite;
  transform-origin: center;
}
@keyframes ensoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-8px) rotate(3deg); }
}
@media (prefers-reduced-motion: reduce) {
  .brush-enso { animation: none; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section + .section { border-top: 1px solid var(--c-line); }
.section-about { background: var(--c-bg); }
.section-services  { background: var(--c-bg-alt); border-top: 1px solid var(--c-line); }
.section-expertise { background: var(--c-bg); }
.section-cases     { background: var(--c-bg-alt); }
.section-why { background: var(--c-ink); color: #DCDCE6; border-top: none; }
.section-why h2, .section-why h3 { color: #fff; }
.section-why b { color: #fff; }
.section-profile { background: var(--c-bg); }
.section-contact { background: var(--c-bg-alt); border-top: 1px solid var(--c-line); }

.section-eyebrow {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--c-soft-blue);
  margin: 0 0 18px;
}
.section-why .section-eyebrow { color: var(--c-soft-blue); }

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.22;
  letter-spacing: -.02em;
  font-weight: 800;
  margin: 0 0 24px;
}
.section-title .accent { color: var(--c-hero-blue); }
.section-lead {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--c-text-soft);
  margin: 0 0 56px;
  max-width: 720px;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  margin-top: 24px;
  align-items: start;
}
.about-copy p { font-size: 17px; line-height: 1.85; margin: 0 0 18px; }
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px;
  background: var(--c-bg-tint);
  border-radius: var(--r);
  border-left: 3px solid var(--c-hero-blue);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  color: var(--c-hero-blue);
  letter-spacing: -.02em;
}
.stat-num small { font-size: .55em; vertical-align: top; margin-left: 2px; }
.stat-label {
  font-size: 13.5px;
  color: var(--c-text-soft);
  font-weight: 500;
}

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  box-shadow: var(--sh-card);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-card-hover);
  border-color: rgba(18,20,236,.18);
}
.service-card-featured {
  background:
    linear-gradient(180deg, #fff 0%, #fff 100%) padding-box,
    linear-gradient(135deg, var(--c-hero-blue), var(--c-brush-red)) border-box;
  border: 2px solid transparent;
}
.service-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .15em;
  color: var(--c-soft-blue);
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--c-ink);
}
.service-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-hero-blue);
  margin: 0 0 18px;
  letter-spacing: .01em;
}
.service-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text);
  margin: 0 0 20px;
}
.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  border-top: 1px solid var(--c-line);
  padding-top: 18px;
}
.service-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-text);
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .7em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-hero-blue);
}
.method-list li {
  padding-left: 0;
  border-bottom: 1px dashed var(--c-line);
  padding-bottom: 10px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}
.method-list li:last-child { border-bottom: 0; margin-bottom: 0; }
.method-list li::before { display: none; }
.method-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--c-ink);
}
.method-desc { font-size: 13px; color: var(--c-text-soft); }
.service-case {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--c-text-soft);
  background: var(--c-bg-tint);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  margin: auto 0 0;
}
.service-card-featured .service-case { background: rgba(18,20,236,.05); }

/* ---------- Expertise ---------- */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.exp-card {
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(20,20,40,.03);
}
.exp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--c-hero-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.exp-card:hover {
  transform: translateY(-2px);
  border-color: rgba(18,20,236,.22);
  box-shadow: 0 4px 8px rgba(20,20,40,.05), 0 14px 30px rgba(18,20,236,.07);
}
.exp-card:hover::before { transform: scaleX(1); }
.exp-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .15em;
  color: var(--c-soft-blue);
}
.exp-card h3 {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--c-ink);
  margin: 4px 0 2px;
  letter-spacing: -.005em;
}
.exp-card p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--c-text-soft);
  margin: 0;
}

/* ---------- Cases ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.case-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  box-shadow: 0 1px 2px rgba(20,20,40,.03);
  position: relative;
  overflow: hidden;
}
.case-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--c-brush-red);
  opacity: 0;
  transition: opacity .15s ease;
}
.case-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(20,20,40,.06), 0 14px 30px rgba(20,20,80,.08);
  border-color: rgba(213,40,38,.25);
}
.case-card:hover::before { opacity: 1; }
.case-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.case-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--c-soft-blue);
}
.case-tag {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c-brush-red);
  background: rgba(213,40,38,.07);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.case-card h3 {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--c-ink);
  margin: 0;
  letter-spacing: -.005em;
}
.case-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--c-text);
  margin: 0;
}
.case-card p b { color: var(--c-ink); }

/* ---------- Why ---------- */
.section-why .section-title { color: #fff; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.why-item {
  padding: 32px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r);
}
.why-icon {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 28px;
  color: var(--c-brush-red);
  margin-bottom: 12px;
}
.why-item h3 {
  font-size: 20px;
  margin: 0 0 12px;
}
.why-item p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #B8B8C8;
  margin: 0;
}
.why-quote {
  margin: 72px 0 0;
  padding: 40px;
  text-align: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.5;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.why-quote b { color: var(--c-soft-blue); }

/* ---------- Profile ---------- */
.name-en {
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--c-soft-blue);
  font-size: .58em;
  letter-spacing: .02em;
  margin-left: 12px;
  vertical-align: middle;
}
.profile-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  margin-top: 24px;
  align-items: start;
}
.profile-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--c-text);
  margin: 0 0 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--c-line);
}
.profile-block { margin-bottom: 32px; }
.profile-block h4 {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-hero-blue);
  margin: 0 0 14px;
}
.profile-block ul { list-style: none; padding: 0; }
.profile-block li {
  font-size: 15px;
  line-height: 1.7;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-line);
}
.profile-block li:last-child { border-bottom: 0; }
.profile-aside {
  position: sticky;
  top: 100px;
  align-self: start;
}
.founder-photo {
  margin: 0 0 18px;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--c-bg-tint);
  box-shadow: 0 1px 2px rgba(20,20,40,.04), 0 8px 28px rgba(20,20,80,.06);
}
.founder-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 20%;
}
.quote-card {
  padding: 32px 28px;
  background: var(--c-ink);
  color: #fff;
  border-radius: var(--r);
}
.quote-text {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -.01em;
  margin: 0 0 20px;
  color: #fff;
}
.quote-attr {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-soft-blue);
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.15);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 20px;
  margin: 16px 0 48px;
}
.contact-grid-2 {
  grid-template-columns: 1fr 2fr;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  padding: 28px;
  box-shadow: var(--sh-card);
}
.contact-card h3 {
  font-family: var(--f-display);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-soft-blue);
  margin: 0 0 12px;
}
.contact-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  margin: 0;
  font-weight: 500;
}
.contact-card a { color: var(--c-ink); }
.contact-card a:hover { color: var(--c-hero-blue); }
.contact-cta { text-align: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-ink);
  color: #9E9EAB;
  padding: 56px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 32px;
  align-items: start;
}
.footer-brand img { height: 24px; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 10px; }
.footer-tagline {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 13px;
  color: var(--c-soft-blue);
  margin: 0;
}
.footer-meta p {
  margin: 0 0 4px;
  font-size: 13.5px;
  line-height: 1.6;
}
.footer-meta b { color: #fff; }
.footer-disclaimer {
  grid-column: 1 / -1;
  margin: 32px 0 0;
  padding: 18px 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  border-radius: 8px;
  font-size: 11.5px;
  line-height: 1.65;
  color: #8B8B98;
  letter-spacing: .005em;
  text-align: left;
}
.footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 12.5px;
  margin: 16px 0 0;
  padding-top: 16px;
  color: #6E6E7D;
}

/* ---------- Responsive ---------- */
.m-only { display: none; }

@media (max-width: 960px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .exp-grid { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .about-grid, .profile-grid { grid-template-columns: 1fr; }
  .profile-aside { position: static; }
  .founder-photo { max-width: 320px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid-2 { grid-template-columns: 1fr; }
  .contact-card-wide { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .m-only { display: inline; }
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--c-line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--pad-x) 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .18s ease, opacity .18s ease;
  }
  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .primary-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--c-line);
    font-size: 16px;
  }
  .primary-nav a:last-child { border-bottom: 0; }
  .primary-nav .nav-cta {
    border-radius: 8px;
    margin-top: 10px;
    text-align: center;
    background: var(--c-hero-blue);
    color: #fff;
    padding: 14px 18px;
  }
  .service-grid { grid-template-columns: 1fr; }
  .exp-grid { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card-wide { grid-column: auto; }
  .hero-title { font-size: clamp(40px, 13vw, 64px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .about-stats { flex-direction: row; flex-wrap: wrap; gap: 20px; }
  .stat { flex: 1 1 30%; }
}
