/* =========================================================
   合同会社GUTS  — new site
   Design reference: onecareer.co.jp (calm off-white, big latin
   headings + small Japanese sub, soft UI, fine line-art)
   ========================================================= */

:root {
  --bg: #f7f7f5;
  --mat: #efefec;
  --ink: #101418;
  --ink-2: #3b4147;
  --sub: #9ca3a8;
  --line: #dadad7;
  --white: #fff;
  --shadow-d: #dfe0e2;
  --grad: linear-gradient(90deg, #b25de2 0%, #e4468f 55%, #ff2f3d 100%);
  --grad-c1: #b25de2;
  --grad-c2: #e4468f;
  --grad-c3: #ff2f3d;

  --f-en: "Source Sans 3", "Noto Sans JP", sans-serif;
  --f-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --gutter: clamp(20px, 6vw, 88px);
  --max: 1360px;
  --ease: cubic-bezier(.24, .13, .26, 1.01);
  --ease-out: cubic-bezier(.215, .61, .355, 1);
  --soft: 3px 3px 6px var(--shadow-d), -3px -3px 6px var(--white);
  --soft-in: inset 2px 2px 4px var(--shadow-d), inset -2px -2px 4px var(--white);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-ja);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
strong { font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sect { padding-block: clamp(96px, 13vw, 192px); position: relative; overflow-x: clip; }
.sect--mat { background: var(--mat); }
.sect--tight { padding-block: clamp(72px, 9vw, 128px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split__side { position: sticky; top: 140px; }
.muted { color: var(--sub); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--gutter);
  pointer-events: none;
}
.header > * { pointer-events: auto; }
.header__logo img { height: 34px; width: auto; }
.header__logo { transition: opacity .4s; }

.gnav {
  position: relative; display: flex; align-items: center; height: 64px;
  border-radius: 40px; background: var(--bg); box-shadow: var(--soft);
}
.gnav__items {
  display: flex; align-items: center; height: 100%; padding: 0 12px 0 22px;
  max-width: 1000px; overflow: hidden;
  transition: max-width .6s cubic-bezier(.99, .03, .38, .96), padding .6s cubic-bezier(.99, .03, .38, .96), opacity .3s;
}
.gnav__items a { font-family: var(--f-en); font-size: 13px; font-weight: 600; letter-spacing: .04em; padding: 6px 14px; position: relative; white-space: nowrap; }
.gnav__items a::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--grad); opacity: 0; transform: translateY(4px); transition: .3s var(--ease-out); }
.gnav__items a:hover::after, .gnav__items a[aria-current="page"]::after { opacity: 1; transform: none; }
.gnav__items .gnav__ig { display: grid; place-items: center; padding: 6px 10px; }
.gnav__items .gnav__ig svg { width: 16px; height: 16px; }
.gnav__items .gnav__cta { margin-left: 8px; padding: 8px 18px; border-radius: 30px; background: var(--ink); color: var(--bg); }
.gnav__items .gnav__cta::after { display: none; }

.gnav__toggle {
  flex: none; width: 0; height: 64px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; opacity: 0; pointer-events: none;
  transition: width .6s cubic-bezier(.99, .03, .38, .96), opacity .3s;
}
.gnav__toggle span, .gnav__toggle::before { content: ""; display: block; width: 22px; height: 1.5px; background: var(--ink); grid-area: 1 / 1; transition: transform .4s var(--ease-out); }
.gnav__toggle span { transform: translateY(-4px); }
.gnav__toggle::before { transform: translateY(4px); }

.header.is-min .gnav__items { max-width: 0; padding: 0; opacity: 0; pointer-events: none; }
.header.is-min .gnav__toggle { width: 64px; opacity: 1; pointer-events: auto; transition-delay: 0s, .3s; }
.menu-open .gnav__toggle span { transform: rotate(20deg); }
.menu-open .gnav__toggle::before { transform: rotate(-20deg); }

/* Full-screen menu */
.menu {
  position: fixed; inset: 0; z-index: 40; background: var(--bg);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px;
  padding: 120px var(--gutter) 60px;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.menu-open .menu { opacity: 1; visibility: visible; }
.menu__list li { overflow: hidden; }
.menu__list a { display: flex; align-items: baseline; gap: 18px; padding: 6px 0; transform: translateY(100%); transition: transform .7s var(--ease); }
.menu-open .menu__list a { transform: none; }
.menu__list li:nth-child(2) a { transition-delay: .04s; } .menu__list li:nth-child(3) a { transition-delay: .08s; }
.menu__list li:nth-child(4) a { transition-delay: .12s; } .menu__list li:nth-child(5) a { transition-delay: .16s; }
.menu__list li:nth-child(6) a { transition-delay: .2s; } .menu__list li:nth-child(7) a { transition-delay: .24s; }
.menu__en { font-family: var(--f-en); font-size: clamp(34px, 5vw, 64px); line-height: 1.15; }
.menu__ja { font-size: 12px; font-weight: 700; color: var(--sub); letter-spacing: .15em; }
.menu__list a:hover .menu__en { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.menu__side { justify-self: end; max-width: 360px; font-size: 13px; line-height: 2; color: var(--ink-2); }
.menu__side img { width: 120px; margin-bottom: 24px; }
.menu__side .btn-soft { margin-top: 24px; }

/* ---------- Section title (mask reveal) ---------- */
.mtitle { display: inline-flex; flex-direction: column; }
.mtitle__en {
  position: relative; display: inline-block;
  font-family: var(--f-en); font-weight: 400;
  font-size: clamp(46px, 6.2vw, 88px); line-height: 1.08; letter-spacing: -.005em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translate3d(0, 15px, 0);
  transition: opacity .65s var(--ease), transform .9s var(--ease);
}
.mtitle__en::after {
  content: attr(data-text); position: absolute; inset: 0; color: var(--ink); -webkit-text-fill-color: var(--ink);
  white-space: pre-line;
  clip-path: polygon(0 0, 0 0, 0 0);
  transition: clip-path .75s var(--ease) .45s;
}
.mtitle__ja {
  margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--sub);
  opacity: 0; transform: translate3d(0, 5px, 0); transition: opacity .65s ease .7s, transform .65s ease .7s;
}
.mtitle.is-in .mtitle__en { opacity: 1; transform: none; }
.mtitle.is-in .mtitle__en::after { clip-path: polygon(0 0, 200% 0, 0 200%); }
.mtitle.is-in .mtitle__ja { opacity: 1; transform: none; }
.mtitle--sm .mtitle__en { font-size: clamp(38px, 4.6vw, 64px); }

.lead { margin-top: 28px; font-size: 14px; font-weight: 500; line-height: 2.1; color: var(--ink); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .8s var(--ease), transform 1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="d1"] { transition-delay: .1s; } [data-reveal="d2"] { transition-delay: .2s; } [data-reveal="d3"] { transition-delay: .3s; }

/* ---------- Soft button ---------- */
.btn-soft {
  --h: 56px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 22px;
  min-width: 180px; height: var(--h); padding: 0 34px 0 28px;
  border-radius: 42px; background: var(--bg); box-shadow: var(--soft);
  font-family: var(--f-en); font-size: 13px; font-weight: 600; letter-spacing: .03em; white-space: nowrap;
  transition: color .45s var(--ease-out), box-shadow .3s;
}
.btn-soft__dot { position: relative; width: 6px; height: 6px; flex: none; }
.btn-soft__dot::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px;
  border-radius: 50%; background: var(--grad); z-index: -1;
  transition: transform .6s var(--ease-out);
}
.btn-soft:hover { color: var(--white); }
.btn-soft:hover .btn-soft__dot::before { transform: scale(90); }
.btn-soft:active { box-shadow: var(--soft-in); }
.btn-soft--ink { background: var(--ink); color: var(--bg); box-shadow: 4px 4px 10px rgba(16, 20, 24, .18); }
.btn-soft--mat { background: var(--mat); }
.btn-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 44px; }

.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 14px; border-radius: 20px; background: var(--ink); color: var(--bg); font-size: 11px; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.pill--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.pill--grad { background: var(--grad); color: #fff; }
.pill--sub { background: var(--line); color: var(--ink-2); }

.circle-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); box-shadow: var(--soft); transition: transform .4s var(--ease-out); }
.circle-btn svg { width: 16px; height: 16px; }
.circle-btn:hover { transform: translateY(-2px); }

/* ---------- Hero (top) ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 120px var(--gutter) 80px; gap: 40px; overflow-x: clip; }
/* large line-art, layered behind the copy when they overlap */
.hero__art { position: absolute; z-index: 0; left: calc(var(--gutter) * -0.6); top: 50%; width: min(66vw, 120vh); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
.hero__art canvas { width: 100%; height: 100%; display: block; }
.hero__copy { position: relative; z-index: 1; grid-column: 2; }
.hero__label { font-family: var(--f-en); font-size: 15px; font-weight: 600; letter-spacing: .04em; margin-bottom: 22px; }
.hero__title { font-size: clamp(38px, 5vw, 72px); font-weight: 700; line-height: 1.38; letter-spacing: -.01em; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-loaded .hero__title .line > span { transform: none; }
.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.hero__sub { margin-top: 30px; font-size: 14px; line-height: 2.2; color: var(--ink-2); }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 36px; display: flex; align-items: center; gap: 12px; font-family: var(--f-en); font-size: 11px; letter-spacing: .2em; writing-mode: vertical-rl; }
.hero__scroll::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--ink), transparent); animation: scrollLine 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { font-family: var(--f-en); font-size: 15px; letter-spacing: .18em; padding-right: 48px; white-space: nowrap; color: var(--ink-2); }
.marquee__track span::after { content: "\25B8"; margin-left: 48px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Poem ---------- */
.poem p { font-size: clamp(15px, 1.3vw, 18px); line-height: 2.2; font-weight: 500; }
.poem p + p { margin-top: 1.7em; }
.poem .poem__fade { color: #8e969b; }
.poem .poem__em { font-weight: 700; }
.poem-list { margin: 1em 0; display: grid; gap: 4px; }
.poem-list li { display: flex; align-items: center; gap: 14px; font-weight: 700; }
.poem-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }

/* ---------- Accordion list (PMV / values) ---------- */
.vlist { border-top: 1px solid transparent; }
.vitem { position: relative; }
.vitem::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; background: var(--line); width: var(--w, 100%); transition: width 1.2s var(--ease); }
.vitem:nth-child(1) { --w: 96%; } .vitem:nth-child(2) { --w: 88%; } .vitem:nth-child(3) { --w: 78%; } .vitem:nth-child(4) { --w: 70%; } .vitem:nth-child(5) { --w: 62%; }
.vitem__head { width: 100%; display: grid; grid-template-columns: 1fr auto 44px; gap: 24px; align-items: center; text-align: left; padding: 30px 0; }
.vitem__title { font-size: clamp(17px, 1.7vw, 23px); font-weight: 700; line-height: 1.6; }
.vitem__en { font-family: var(--f-en); font-size: clamp(14px, 1.3vw, 19px); color: #b9c0c4; text-align: right; }
.vitem__icon { width: 44px; height: 44px; border-radius: 50%; background: inherit; box-shadow: var(--soft); position: relative; }
.sect--mat .vitem__icon { background: var(--mat); }
.vitem__icon::before, .vitem__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--ink); transition: transform .4s var(--ease-out); }
.vitem__icon::after { transform: rotate(90deg); }
.vitem.is-open .vitem__icon::after { transform: rotate(0); }
.vitem__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.vitem.is-open .vitem__body { grid-template-rows: 1fr; }
.vitem__inner { overflow: hidden; }
.vitem__content { padding: 0 64px 44px 0; max-width: 760px; }
.vitem__content p { font-size: 14.5px; line-height: 2.1; color: var(--ink-2); }
.vitem__content p + p { margin-top: 1em; }
.quote-line { margin-top: 26px; padding-left: 20px; position: relative; font-weight: 700; font-size: 16px; line-height: 1.9; color: var(--ink); }
.quote-line::before { content: ""; position: absolute; left: 0; top: .35em; bottom: .35em; width: 2px; background: var(--grad); border-radius: 2px; }

/* ---------- Service list (top) ---------- */
.slist__item { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: end; padding: 44px 0; border-bottom: 1px solid var(--line); }
.slist__item:first-child { padding-top: 8px; }
.slist__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.slist__name { font-size: clamp(22px, 2.3vw, 30px); font-weight: 700; line-height: 1.5; }
.slist__en { font-family: var(--f-en); font-size: 13px; color: var(--sub); letter-spacing: .06em; }
.slist__text { margin-top: 12px; font-size: 14px; color: var(--ink-2); max-width: 640px; }
.slist__item--soon .slist__name, .slist__item--soon .slist__text { color: #a9b0b4; }
.slist__thumb { grid-column: 1 / -1; margin-top: 8px; border-radius: 4px; overflow: hidden; aspect-ratio: 16 / 7; }
.slist__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.slist__item:hover .slist__thumb img { transform: scale(1.03); }

/* ---------- Bleed photo blocks ---------- */
.bleed { position: relative; }
.bleed__img { width: calc(100% + var(--gutter)); margin-left: calc(var(--gutter) * -1); overflow: hidden; }
.bleed__img img { width: 100%; height: 100%; object-fit: cover; }
.bleed--right .bleed__img { margin-left: 0; margin-right: calc(var(--gutter) * -1); }
/* clip lives on the <img>: IntersectionObserver ignores fully clipped targets */
.img-reveal img { clip-path: inset(0 100% 0 0); transform: scale(1.08); transition: clip-path 1.4s var(--ease), transform 2s var(--ease); }
.img-reveal.is-in img { clip-path: inset(0 0 0 0); transform: none; }

/* ---------- Message ---------- */
.message { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.message__photo { aspect-ratio: 4 / 5; max-height: 780px; }
.message__photo.bleed__img { width: calc(100% + var(--gutter)); }
.message__quote { margin-top: 44px; font-size: clamp(20px, 2.1vw, 28px); font-weight: 700; line-height: 1.75; }
.message__body { margin-top: 30px; font-size: 14.5px; line-height: 2.2; color: var(--ink-2); }
.message__body p + p { margin-top: 1.2em; }
.message__sign { margin-top: 40px; display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.message__name { font-size: 22px; font-weight: 700; letter-spacing: .12em; }
.message__name-en { font-family: var(--f-en); font-size: 13px; color: var(--sub); letter-spacing: .12em; }
.message__role { width: 100%; font-size: 12px; color: var(--sub); line-height: 1.8; }

/* ---------- News ---------- */
.news__item { display: grid; grid-template-columns: 96px 118px 1fr 44px; gap: 20px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); }
.news__item:first-child { padding-top: 6px; }
.news__date { font-family: var(--f-en); font-size: 13px; color: var(--sub); line-height: 24px; letter-spacing: .04em; }
.news__cat { justify-self: start; }
.news__title { font-size: 15px; font-weight: 700; line-height: 1.8; transition: color .3s; }
.news__arrow { width: 36px; height: 36px; margin-top: -6px; }
.news__item:hover .news__title { color: var(--ink-2); }
.news__item:hover .circle-btn { transform: translateX(4px); }

/* ---------- Join (big photo + circle text) ---------- */
.join { position: relative; padding-bottom: clamp(96px, 12vw, 180px); }
.join__visual { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 1fr); align-items: center; }
.join__img { aspect-ratio: 21 / 10; width: 100%; overflow: hidden; }
.join__img img { width: 100%; height: 100%; object-fit: cover; }
.join__circle { position: relative; width: clamp(150px, 17vw, 250px); aspect-ratio: 1; justify-self: center; margin-left: -40px; }
.join__circle svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.join__circle text { font-family: var(--f-en); font-size: 15.5px; letter-spacing: .32em; fill: var(--ink); }
.join__circle .circle-btn { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; }
.join__circle .circle-btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--grad); transform: scale(0); transition: transform .5s var(--ease-out); }
.join__circle .circle-btn svg { position: relative; animation: none; width: 20px; height: 20px; transition: color .3s; }
.join__circle .circle-btn:hover::before { transform: scale(1); }
.join__circle .circle-btn:hover svg { color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.join__body { margin-top: clamp(56px, 7vw, 96px); }
.join__catch { font-size: clamp(20px, 2.1vw, 28px); font-weight: 700; line-height: 1.8; }
.join__text { margin-top: 26px; font-size: 15px; line-height: 2.2; }

/* ---------- Page hero (sub pages) ---------- */
.phero { position: relative; padding: 180px 0 0; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.phero__label { font-family: var(--f-en); font-size: 14px; font-weight: 600; letter-spacing: .06em; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.phero__label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
.phero__title { font-size: clamp(30px, 3.8vw, 54px); font-weight: 700; line-height: 1.5; }
.phero__lead { font-size: 14.5px; line-height: 2.2; color: var(--ink-2); }
.phero__img { margin-top: clamp(56px, 7vw, 100px); aspect-ratio: 21 / 8; }
.crumb { display: flex; gap: 12px; font-size: 12px; color: var(--sub); margin-top: 22px; padding-inline: 0; }
.crumb a:hover { color: var(--ink); }
.crumb span[aria-hidden] { opacity: .6; }

/* ---------- Agenda ---------- */
.agenda { display: flex; flex-wrap: wrap; gap: 12px; }
.agenda a { display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 22px 0 18px; border-radius: 30px; background: var(--bg); box-shadow: var(--soft); font-size: 13px; font-weight: 700; transition: transform .3s var(--ease-out); }
.agenda a:hover { transform: translateY(-2px); }
.agenda b { font-family: var(--f-en); font-weight: 600; font-size: 12px; color: var(--sub); }

/* ---------- Generic blocks ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 30px; background: var(--bg); box-shadow: var(--soft); font-size: 13px; font-weight: 700; }
.sect--mat .chip { background: var(--mat); }
.chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--grad); }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { position: relative; padding: clamp(28px, 3vw, 44px); border-radius: 24px; background: var(--bg); box-shadow: 6px 6px 14px var(--shadow-d), -6px -6px 14px var(--white); }
.sect--mat .card { background: var(--mat); box-shadow: 6px 6px 14px #dcdcd8, -6px -6px 14px #fbfbf9; }
.card__num { font-family: var(--f-en); font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--sub); }
.card__num .grad-text { font-size: 15px; }
.card__title { margin-top: 14px; font-size: clamp(18px, 1.6vw, 21px); font-weight: 700; line-height: 1.6; }
.card__text { margin-top: 16px; font-size: 14px; line-height: 2; color: var(--ink-2); }
.card__foot { margin-top: 22px; font-size: 13px; font-weight: 700; display: flex; gap: 10px; align-items: flex-start; line-height: 1.8; }
.card__foot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); flex: none; margin-top: .75em; }
.card__art { width: 100%; aspect-ratio: 1.6; margin: -6px 0 10px; }
.card__art canvas { width: 100%; height: 100%; display: block; }

.row-list__item { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.row-list__item:first-child { padding-top: 0; }
.row-list__num { font-family: var(--f-en); font-size: 40px; line-height: 1; font-weight: 400; }
.row-list__title { font-size: 18px; font-weight: 700; line-height: 1.6; }
.row-list__text { margin-top: 10px; font-size: 14px; color: var(--ink-2); line-height: 2; }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stat { padding: 26px 20px; border-radius: 20px; background: var(--bg); box-shadow: var(--soft); text-align: center; }
.sect--mat .stat { background: var(--mat); }
.stat__num { font-family: var(--f-en); font-size: clamp(34px, 3.6vw, 48px); line-height: 1.1; white-space: nowrap; }
.stat__label { margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--sub); }

.bars { display: grid; gap: 18px; }
.bar__meta { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; }
.bar__meta span:last-child { font-family: var(--f-en); font-size: 15px; }
.bar__track { margin-top: 8px; height: 8px; border-radius: 8px; box-shadow: var(--soft-in); overflow: hidden; }
.bar__fill { height: 100%; width: 0; border-radius: 8px; background: var(--grad); transition: width 1.6s var(--ease); }
.bar__fill--sub { background: #b9c0c4; }

.photo-grid { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.photo-grid figure:first-child { grid-row: span 2; }
.photo { position: relative; border-radius: 4px; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.photo-grid figure:first-child img { aspect-ratio: auto; height: 100%; }
.photo figcaption { position: absolute; left: 14px; bottom: 14px; padding: 4px 14px; border-radius: 20px; background: rgba(247, 247, 245, .92); font-size: 12px; font-weight: 700; }

.voice { display: flex; flex-direction: column; }
.voice__text { font-size: 15px; line-height: 2.1; font-weight: 500; flex: 1; }
.voice__text strong { background: linear-gradient(transparent 62%, rgba(228, 70, 143, .18) 62%); }
.voice__meta { margin-top: 28px; display: flex; align-items: center; gap: 14px; }
.voice__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-en); font-weight: 600; color: #fff; background: var(--grad); }
.voice__name { font-size: 14px; font-weight: 700; line-height: 1.5; }
.voice__attr { font-size: 12px; color: var(--sub); line-height: 1.5; }

.dtable { width: 100%; border-collapse: collapse; }
.dtable th, .dtable td { text-align: left; vertical-align: top; padding: 28px 0; border-bottom: 1px solid var(--line); }
.dtable tr:first-child th, .dtable tr:first-child td { padding-top: 0; }
.dtable th { width: 180px; font-size: 13px; font-weight: 700; color: var(--sub); letter-spacing: .08em; }
.dtable td { font-size: 15px; line-height: 2; }
.dtable small { display: block; font-size: 12px; color: var(--sub); }

.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.flow span { padding: 6px 16px; border-radius: 30px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 700; line-height: 1.6; }
.flow i { width: 14px; height: 1px; background: var(--ink); }

.bg-word { position: absolute; right: 0; top: 4vw; font-family: var(--f-en); font-size: clamp(160px, 26vw, 420px); line-height: .8; color: rgba(255, 255, 255, .7); pointer-events: none; user-select: none; z-index: 0; letter-spacing: -.02em; }
.sect > .container { position: relative; z-index: 1; }

/* ---------- CTA band ---------- */
.cta { text-align: center; }
.cta__title { font-size: clamp(28px, 3.6vw, 50px); font-weight: 700; line-height: 1.6; }
.cta__text { margin-top: 24px; font-size: 14.5px; line-height: 2.2; color: var(--ink-2); }
.cta .btn-row { justify-content: center; }
.cta__links { margin-top: 56px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta__link { display: flex; align-items: center; gap: 14px; padding: 14px 24px 14px 16px; border-radius: 40px; background: var(--bg); box-shadow: var(--soft); text-align: left; transition: transform .3s var(--ease-out); }
.sect--mat .cta__link { background: var(--mat); }
.cta__link:hover { transform: translateY(-2px); }
.cta__link .circle-btn { width: 36px; height: 36px; box-shadow: none; background: var(--ink); color: var(--bg); }
.cta__link .circle-btn svg { width: 14px; height: 14px; }
.cta__link small { display: block; font-family: var(--f-en); font-size: 11px; color: var(--sub); letter-spacing: .08em; line-height: 1.4; }
.cta__link b { font-size: 13px; line-height: 1.5; }

/* ---------- Footer ---------- */
.footer { background: var(--mat); padding: 80px 0 40px; }
.footer__top { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.footer__logo img { height: 38px; width: auto; }
.footer__tag { margin-top: 16px; font-size: 12px; color: var(--ink-2); line-height: 1.9; }
.footer__nav { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 8px 44px; }
.footer__nav a { font-family: var(--f-en); font-size: 15px; font-weight: 600; }
.footer__nav a:hover { color: var(--ink-2); }
.footer__sns { display: flex; gap: 14px; }
.footer__sns .circle-btn { background: var(--mat); width: 48px; height: 48px; box-shadow: 3px 3px 6px #dadad6, -3px -3px 6px #fbfbf9; }
.footer__bottom { margin-top: 56px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 11px; color: var(--ink-2); }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; }
.footer__addr { font-size: 12px; color: var(--ink-2); margin-top: 6px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact__info { display: grid; gap: 14px; margin-top: 36px; }
.contact__note { margin-top: 32px; padding: 22px 24px; border-radius: 18px; box-shadow: var(--soft-in); font-size: 13px; line-height: 2; color: var(--ink-2); }
.form { display: grid; gap: 30px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field label { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.req, .opt { font-size: 10px; font-weight: 700; padding: 0 8px; border-radius: 10px; line-height: 18px; letter-spacing: .06em; }
.req { background: var(--grad); color: #fff; }
.opt { box-shadow: inset 0 0 0 1px var(--line); color: var(--sub); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); line-height: 1.6;
  padding: 16px 20px; border: 0; border-radius: 16px; background: var(--bg); box-shadow: var(--soft-in);
  outline: none; transition: box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field select { 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 fill='none' stroke='%23101418' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 20px center; padding-right: 48px; }
.field textarea { min-height: 200px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: var(--soft-in), 0 0 0 2px rgba(228, 70, 143, .35); }
.field ::placeholder { color: #b3b9bd; }
.field__count { text-align: right; font-family: var(--f-en); font-size: 12px; color: var(--sub); margin-top: 6px; }
.field.is-error input, .field.is-error select, .field.is-error textarea { box-shadow: var(--soft-in), 0 0 0 2px rgba(255, 47, 61, .45); }
.field__err { display: none; font-size: 12px; color: #d8202e; margin-top: 6px; }
.field.is-error .field__err { display: block; }
.privacy { padding: 22px 24px; border-radius: 18px; background: var(--mat); font-size: 12.5px; line-height: 2; color: var(--ink-2); }
.check { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: #e4468f; }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.form .btn-soft[disabled] { opacity: .45; pointer-events: none; }
.form__note { font-size: 12px; color: var(--sub); }
.form__status { font-size: 13px; color: #d8202e; }
.success { display: none; text-align: center; padding: 60px 20px; }
.success.is-show { display: block; }
.success__icon { width: 80px; height: 80px; margin: 0 auto 28px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 30px; }
.success__title { font-size: 26px; font-weight: 700; }
.success p { margin-top: 18px; color: var(--ink-2); }

/* ---------- Partner (shabell) ---------- */
.partner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.partner__logo { display: inline-block; padding: 18px 22px; border-radius: 16px; background: #fff; box-shadow: var(--soft); }
.partner__logo img { height: 40px; width: auto; }
.partner__catch { margin-top: 30px; font-size: clamp(20px, 2vw, 26px); font-weight: 700; line-height: 1.7; }
.partner__text { margin-top: 20px; font-size: 14px; line-height: 2.1; color: var(--ink-2); }
.offer { margin-top: clamp(56px, 6vw, 88px); padding-top: 40px; border-top: 1px solid var(--line); }
.offer__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.offer__title { font-size: 16px; font-weight: 700; }
.offer__note { font-size: 12px; color: var(--sub); }

/* ---------- Student hero ---------- */
.shero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: stretch; }
.shero__copy { display: flex; flex-direction: column; justify-content: center; padding: 140px var(--gutter) 90px; }
.shero__eyebrow { font-family: var(--f-en); font-size: 14px; font-weight: 600; letter-spacing: .08em; display: flex; align-items: center; gap: 10px; }
.shero__eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
.shero__title { margin-top: 26px; font-size: clamp(46px, 7vw, 108px); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.shero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.shero__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-loaded .shero__title .line > span { transform: none; }
.is-loaded .shero__title .line:nth-child(2) > span { transition-delay: .14s; }
.shero__sub { margin-top: 36px; font-size: 15px; line-height: 2.2; color: var(--ink-2); }
.shero__img { position: relative; overflow: hidden; }
.shero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Coach ---------- */
.coach__head { display: flex; align-items: center; gap: 16px; }
.coach__avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex: none; background: var(--grad); display: grid; place-items: center; color: #fff; font-family: var(--f-en); font-size: 22px; font-weight: 600; }
.coach__avatar img { width: 100%; height: 100%; object-fit: cover; }
.coach__role { font-family: var(--f-en); font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--sub); line-height: 1.5; }
.coach__name { font-size: 18px; font-weight: 700; line-height: 1.6; }
.tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Case ---------- */
.case__path { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.case__path span { font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.case__path i { width: 12px; height: 1px; background: var(--sub); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .gnav__items a { padding: 6px 9px; font-size: 12px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  body { font-size: 14px; }
  .header { padding: 18px var(--gutter); }
  .header__logo img { height: 28px; }
  .gnav { height: 56px; }
  .gnav__items { display: none; }
  .gnav__toggle, .header.is-min .gnav__toggle { opacity: 1; pointer-events: auto; width: 56px; height: 56px; }
  .menu { grid-template-columns: 1fr; align-content: center; padding-top: 100px; }
  .menu__side { justify-self: start; }
  .split, .split--even, .message, .phero__grid, .contact, .partner { grid-template-columns: 1fr; }
  .split__side { position: static; }
  .hero { grid-template-columns: 1fr; padding-top: 96px; gap: 0; align-content: center; }
  .hero__art { position: relative; left: auto; top: auto; transform: none; width: 118vw; justify-self: start; margin: -4vw 0 -24vw calc(50% - 59vw); }
  .hero__copy { grid-column: auto; }
  .hero__scroll { display: none; }
  .vitem__head { grid-template-columns: 1fr 44px; }
  .vitem__en { grid-column: 1; grid-row: 2; text-align: left; margin-top: -18px; font-size: 13px; }
  .vitem__icon { grid-row: 1 / span 2; grid-column: 2; }
  .vitem__content { padding-right: 0; }
  .news__item { grid-template-columns: auto 1fr 36px; row-gap: 8px; }
  .news__date { grid-column: 1; }
  .news__cat { grid-column: 2; }
  .news__title { grid-column: 1 / 3; grid-row: 2; }
  .news__arrow { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
  .join__visual { grid-template-columns: 1fr; }
  .join__circle { margin: -70px var(--gutter) 0 auto; }
  .card-grid, .card-grid--2 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .shero { grid-template-columns: 1fr; }
  .shero__img { min-height: 60vh; order: -1; }
  .shero__copy { padding-top: 48px; }
  .phero { padding-top: 130px; }
  .phero__img { aspect-ratio: 16 / 10; }
  .slist__item { grid-template-columns: 1fr; }
  .dtable th { width: 100px; }
  .footer__top { grid-template-columns: 1fr; }
  .bg-word { display: none; }
}
@media (max-width: 560px) {
  .dtable th, .dtable td { display: block; width: 100%; padding: 0; border: 0; }
  .dtable th { padding-top: 24px; margin-bottom: 4px; }
  .dtable td { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .row-list__item { grid-template-columns: 56px 1fr; gap: 14px; }
  .row-list__num { font-size: 30px; }
  .btn-soft { min-width: 0; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-grid figure:first-child { grid-row: auto; }
  .photo-grid figure:first-child img { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}
