/* AXVION 홈페이지 공통 스타일 */
:root {
  /* 따뜻한 다크: 숯색 바탕 + 크림 글자 + 종이 노이즈 */
  --main: #FF7A27;      /* 메인 색 (버튼·포인트) */
  --main-ink: #C24E00;  /* 작은 링크·배지 글자 (밝은 바탕에서 읽히는 진한 주황) */
  --ink: #1F1D1A;       /* 본문 글자 (숯색) */
  --sub: #5C564E;
  --muted: #8A8278;
  --line: #E4DFD6;
  --line-strong: #CFC8BC;
  --bg: #FAF8F4;        /* 바탕 (따뜻한 미색, 종이 톤) */
  --bg-soft: #F1EDE6;   /* 한 단계 어두운 면 */
  --display: "STIX Two Text", "Noto Serif KR", Georgia, serif; /* 영문은 STIX 세리프, 한글은 Noto Serif KR 명조 */
  --sans: Pretendard, -apple-system, "Apple SD Gothic Neo", sans-serif;
  --wrap: 1440px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  word-break: keep-all;
  /* pyler와 같은 글자 렌더링: 얇고 선명하게 + Pretendard 대체 글리프 */
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv03", "cv04", "cv09", "cv11";
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* 종이 질감 노이즈 (화면 전체, 클릭 통과) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--main); color: #1A1A1A; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 58px; }

/* ===== 헤더 ===== */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { height: 56px; display: flex; align-items: center; justify-content: space-between; max-width: none; }
.logo { display: flex; align-items: center; }
.logo img { height: 24px; width: 29px; display: block; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--muted); }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav .nav-cta { border: 1px solid var(--ink); color: var(--ink); padding: 5px 14px; border-radius: 4px; }
.nav .nav-cta:hover, .nav .nav-cta.is-active { background: var(--ink); color: var(--bg); }
.nav-toggle { display: none; background: none; border: 0; width: 36px; height: 36px; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 8px; width: 20px; height: 2px; background: var(--ink); content: "";
}
.nav-toggle span { top: 17px; }
.nav-toggle span::before { left: 0; top: -6px; }
.nav-toggle span::after { left: 0; top: 6px; }

/* ===== 홈 ===== */
.hero { padding: 96px 0 0; overflow-x: clip; }
.hero-head { display: block; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: 72px; line-height: 1.05; letter-spacing: -1.2px; }
.hero-lead { color: var(--sub); font-size: 19px; line-height: 1.6; letter-spacing: -0.02em; margin-top: 24px; }
.hero-visual {
  margin-top: 56px; aspect-ratio: 7 / 3; border-radius: 4px; overflow: hidden;
  background: var(--bg-soft); border: 1px dashed var(--line-strong);
  display: grid; place-items: center; color: var(--muted); font-size: 14px;
}
.hero-visual:has(img) { border: 0; position: relative; }
.hero-visual:has(img) img { position: absolute; inset: 0; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
/* 메인 이미지: 화면 가로 끝까지 꽉 차게 (좌우 여백 없음) */
.hero-visual:has(img) { width: 100vw; margin-left: calc(50% - 50vw); aspect-ratio: 5 / 2; border-radius: 0; }
.hero-visual img { object-position: 50% 50%; }

/* 미확정 표시 */
.tbd { font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 4px; padding: 1px 6px; vertical-align: middle; white-space: nowrap; }

/* ===== 공통 페이지 머리 ===== */
.page { padding: 80px 0 96px; }
/* 작은 라벨: pyler처럼 보통 굵기·대소문자 그대로 (Company 14px, 섹션 라벨 19px) */
.eyebrow { font-size: 14px; font-weight: 400; letter-spacing: -0.02em; color: var(--muted); }
.about-grid > .eyebrow { font-size: 19px; line-height: 1.4; }
.page-title { font-weight: 700; font-size: 44px; letter-spacing: -0.02em; margin-top: 8px; }
.page-lead { color: var(--sub); margin-top: 12px; font-size: 15px; }

/* ===== 블로그 (pyler 블로그 구성: 큰 제목, 카테고리 선택, 굵은 선 목록, 세리프 글 제목) ===== */
.blog-lead { font-size: 18px; margin-top: 20px; }
.blog-filter { margin-top: 56px; }
.blog-filter label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.blog-filter select {
  width: 280px; max-width: 100%; font-size: 15px;
  border: 1px solid var(--ink); border-radius: 0; padding: 12px 44px 12px 14px; background-color: transparent;
}
/* 선택 칸 공통: 브라우저 기본 화살표 대신 직접 그린 꺾쇠 (오른쪽 여백 16px) */
.blog-filter select, .field select {
  font-family: inherit; color: var(--ink); cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231F1D1A' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center;
}
.blog-filter select option, .field select option { background: var(--bg-soft); color: var(--ink); }
.post-list { list-style: none; margin-top: 40px; border-top: 1px solid var(--ink); }
.post-list li { border-bottom: 1px solid var(--line-strong); }
.post-list a { display: block; padding: 30px 20px; transition: background .15s; }
.post-list a:hover { background: var(--bg-soft); }
.post-list h2 { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.3; letter-spacing: -0.01em; }
.post-list a:hover h2 { color: var(--main); }
.post-list p { color: var(--sub); font-size: 14px; margin-top: 14px; }
.post-list time { display: block; font-size: 13px; color: var(--muted); margin-top: 12px; }
.blog-msg { white-space: pre-line; margin-top: 48px; color: var(--muted); }
.pager { display: flex; justify-content: space-between; margin-top: 32px; font-size: 14px; }
.pager a:hover { color: var(--main-ink); }
.post-wrap { max-width: 760px; }
.back { display: inline-block; font-size: 14px; color: var(--muted); }
.back:hover { color: var(--ink); }
.post { margin-top: 40px; }
.post h1 { font-family: var(--display); font-weight: 400; font-size: 48px; line-height: 1.2; letter-spacing: -0.015em; }
.post-meta { margin-top: 16px; font-size: 13px; color: var(--muted); }
.post-body { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.85; overflow-wrap: anywhere; }
.post-body p, .post-body ul, .post-body ol, .post-body blockquote, .post-body pre, .post-body table { margin: 0 0 1.2em; }
.post-body h2, .post-body h3 { margin: 1.8em 0 0.6em; line-height: 1.4; }
.post-body img { height: auto; margin: 1.2em auto; }
.post-body a { color: var(--main-ink); text-decoration: underline; }
.post-body ul, .post-body ol { padding-left: 1.4em; }
.post-body blockquote { border-left: 3px solid var(--line-strong); padding-left: 16px; color: var(--sub); }
.post-body pre { overflow-x: auto; background: var(--bg-soft); padding: 16px; border-radius: 4px; font-size: 14px; }
.post-body iframe { max-width: 100%; }

/* ===== 문의 ===== */
.contact-wrap { max-width: 560px; }
.contact-form { margin-top: 40px; display: grid; gap: 28px; }
.field label { display: block; font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.field label small { font-size: 12px; font-weight: 600; color: var(--muted); }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line-strong); padding: 8px 0 12px;
  font: inherit; font-size: 15px; color: var(--ink); background: transparent; outline: none; border-radius: 0;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select {
  width: 100%; font-size: 15px; font-weight: 700;
  padding: 10px 44px 10px 12px; border: 1px solid var(--line); border-radius: 4px; background-color: var(--bg-soft);
}
.field input:focus, .field textarea:focus { border-bottom-color: var(--ink); }
.field select:focus { border-color: var(--ink); outline: none; }
.field ::placeholder { color: var(--muted); }
.btn {
  justify-self: start; border: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 700;
  background: var(--main); color: #1A1A1A; padding: 13px 26px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(255, 122, 39, 0.18); transition: filter .15s;
}
.btn:hover { filter: brightness(1.05); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn:disabled { opacity: .5; cursor: wait; }
/* 개인정보 동의 */
.consent { display: grid; gap: 12px; }
.consent-box { font-size: 13px; line-height: 1.7; color: var(--sub); background: var(--bg-soft); padding: 14px 16px; border-radius: 4px; }
.consent-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink); cursor: pointer; }
.consent-check input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--main); flex: none; }
.consent-check small { color: var(--muted); }
.consent-check a { color: var(--main-ink); text-decoration: underline; text-underline-offset: 3px; }
.contact-status { white-space: pre-line; font-size: 14px; color: var(--sub); min-height: 1.5em; }

/* ===== 소개 ===== */
.about-intro { padding-bottom: 72px; }
.about-lead { margin-top: 28px; max-width: 720px; font-size: 19px; color: var(--sub); line-height: 1.6; letter-spacing: -0.02em; }
.about-sec { border-top: 1px solid var(--line); padding: 64px 0; }
.about-grid { display: grid; grid-template-columns: 220px 1fr; gap: 32px; }
.about-grid > * { min-width: 0; }
.about-h2 { font-weight: 700; font-size: 34px; line-height: 1.4; letter-spacing: -0.02em; }
.about-text { margin-top: 20px; max-width: 720px; color: var(--sub); font-size: 19px; line-height: 1.6; letter-spacing: -0.02em; }
.about-list { list-style: none; display: grid; gap: 32px; }
.about-list-2 { grid-template-columns: 1fr 1fr; gap: 32px 48px; }
.about-list h3 { font-size: 19px; font-weight: 600; line-height: 1.6; letter-spacing: -0.02em; color: var(--ink); display: inline-block; position: relative; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.about-list li:hover h3 { transform: translateX(6px); }
/* 커서를 항목에 올리면 제목이 살짝 밀리고 설명이 밝아진다 */
.about-list li p { transition: color .3s; }
.about-list li:hover p { color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .about-list h3 { transition: none; }
  .about-list li:hover h3 { transform: none; }
}
.about-list p { margin-top: 8px; color: var(--sub); font-size: 19px; line-height: 1.6; letter-spacing: -0.02em; max-width: 640px; }
/* 영문 페이지: pyler처럼 큰 제목만 영문 세리프 */
.lang-en .page-title, .lang-en .about-h2 { font-family: var(--display); font-weight: 400; letter-spacing: -0.015em; }
/* pyler Careers 기준: 페이지 제목 80px, 섹션 제목 40px, 마무리 제목 60px, 본문 19px, 푸터 14px */
.lang-en .page-title { font-size: 80px; line-height: 1.05; letter-spacing: -1.2px; }
/* About 제목: "About" 옆에 회사 로고 */
.title-logo img { display: inline-block; height: .72em; width: auto; margin-left: .18em; vertical-align: baseline; }
.lang-en .about-h2 { font-size: 40px; line-height: 1.12; }
.lang-en .about-join .about-h2 { font-size: 60px; line-height: 1.1; }
.about-join { background: var(--bg-soft); padding: 80px 0; text-align: center; }
.about-join .about-text { margin: 16px auto 0; }
.about-join .about-text a { color: var(--main); text-decoration: underline; text-underline-offset: 4px; }

/* ===== 개인정보처리방침 ===== */
.policy { max-width: 760px; }
.policy-date { margin-top: 12px; font-size: 14px; color: var(--muted); }
.policy-body { margin-top: 40px; font-size: 16px; line-height: 1.8; color: var(--sub); }
.policy-body h2 { margin: 40px 0 12px; font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.policy-body p, .policy-body ul, .policy-body table { margin: 0 0 12px; }
.policy-body ul { padding-left: 1.2em; }
.policy-body table { width: 100%; border-collapse: collapse; font-size: 14px; }
.policy-body th, .policy-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.policy-body th { background: var(--bg-soft); color: var(--ink); font-weight: 600; width: 32%; }
.privacy-link { font-weight: 700; color: var(--ink); }

/* ===== 푸터 ===== */
.site-footer { border-top: 1px solid var(--line); padding: 24px 0 28px; font-size: 14px; letter-spacing: -0.02em; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; max-width: none; }
.site-footer .logo { margin-bottom: 10px; }
.site-footer .logo img { height: 20px; width: 24px; }
.site-footer .info { line-height: 1.8; }
.site-footer .links { display: flex; gap: 20px; }
.site-footer .links a:hover { color: var(--ink); }

/* ===== 모바일 ===== */
@media (max-width: 760px) {
  .wrap { padding: 0 24px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 56px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
  }
  .site-header.is-open .nav { display: flex; }
  .nav a { padding: 10px 0; font-size: 16px; }
  .nav .nav-cta { margin-top: 8px; padding: 8px 16px; }
  .hero { padding: 56px 0 0; }
  .hero-head { grid-template-columns: 1fr; gap: 20px; }
  .hero h1 { font-size: 29px; letter-spacing: -0.63px; }
  .hero-lead { justify-self: start; font-size: 17px; }
  .hero-visual { margin-top: 36px; aspect-ratio: 4 / 3; }
  .hero-visual:has(img) { aspect-ratio: 3 / 2; }
  .page { padding: 56px 0 72px; }
  .page-title { font-size: 34px; }
  .post h1 { font-size: 34px; }
  .post-list a { padding: 24px 4px; }
  .post-list h2 { font-size: 23px; }
  .about-sec { padding: 48px 0; }
  .about-grid, .about-list-2 { grid-template-columns: 1fr; gap: 16px; }
  .about-list-2 { gap: 24px; }
  .about-h2 { font-size: 26px; }
  .lang-en .page-title { font-size: 48px; }
  .lang-en .about-h2 { font-size: 30px; }
  .lang-en .about-join .about-h2 { font-size: 36px; }
  .about-lead, .about-text, .about-list p { font-size: 17px; }
  .about-join { padding: 56px 0; }
}
