@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');
:root {
  --red: #b51d3b;
  --red-hover: #95132d;
  --ink: #22221f;
  --muted: #60615a;
  --paper: #f8f7f2;
  --soft: #eeede6;
  --line: #d7d7cc;
  --white: #fff;
  --inverse-muted: #cccfc1;
  --inverse-line: #5a5d50;
  --contact-surface: #e9e9de;
  --tellama-surface: #222821;
  --capkee-surface: #202321;
  --radius: 16px;
  --header-height: 88px;
  --space: clamp(72px, 8vw, 128px);
  --page-width: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --duration: 220ms;
  --font-body: 'Manrope', 'Noto Sans KR', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); scrollbar-color: var(--muted) var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.85; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; text-underline-offset: .3em; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 6px; }
.about a:focus-visible { outline-color: var(--inverse-muted); }
::selection { background: var(--red); color: var(--white); }
.wrap { width: min(var(--page-width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { position: fixed; top: 12px; left: var(--gutter); background: var(--paper); padding: 12px 20px; z-index: 99; }
.header { height: var(--header-height); background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header .wrap { height: 100%; display: flex; justify-content: space-between; align-items: center; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: 800 28px var(--font-body); letter-spacing: -.035em; min-height: 48px; }
.header-mascot { width: 44px; height: 44px; display: block; }
.header-mascot img { height: 100%; width: 100%; object-fit: contain; }
.wordmark i { display: block; width: 10px; height: 24px; background: var(--red); transform: skew(-16deg); }
nav { display: flex; align-items: center; gap: 36px; font-size: 14px; font-weight: 600; }
nav a { min-height: 48px; display: flex; align-items: center; position: relative; transition: color var(--duration); }
nav a[aria-current] { color: var(--red); text-decoration: underline; text-decoration-thickness: 2px; }
nav a:last-child { border: 1px solid var(--ink); border-radius: 30px; padding-inline: 24px; }
nav a:hover { color: var(--red); }
.menu { display: none; border: 1px solid var(--line); border-radius: 30px; background: var(--paper); min-height: 44px; padding: 8px 18px; color: var(--ink); }
.hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(32px, 5vw, 80px); padding-block: clamp(40px, 5vw, 76px); align-items: center; }
.hero-content { padding-block: 24px; }
h1, h2, h3, h4 { text-wrap: balance; }
.hero h1 { font-size: clamp(42px, 4.4vw, 72px); line-height: 1.3; font-weight: 750; letter-spacing: -.04em; margin: 0 0 32px; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero-bottom { display: flex; flex-direction: column; align-items: start; gap: 30px; }
.hero-bottom p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.pill-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; min-height: 56px; border-radius: 30px; padding: 14px 26px; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 600; transition: background var(--duration), transform var(--duration) var(--ease); }
.pill-link:hover { background: var(--red); transform: translateY(-2px); }
.pill-link:active { transform: translateY(0); background: var(--red-hover); }
.arrow-icon { flex: 0 0 auto; width: 21px; height: 21px; }
.hero-media { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1.18; background: var(--soft); }
.hero-media > img { width: 100%; height: 100%; object-fit: cover; object-position: 63% center; }
.hero-caption { position: absolute; left: 24px; bottom: 24px; font-size: 11px; font-weight: 700; letter-spacing: .12em; background: var(--paper); padding: 8px 14px; border-radius: 30px; }
.brand-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand-strip > a { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; padding: 28px 32px; min-height: 130px; transition: background var(--duration); }
.brand-strip > a:first-child { padding-left: 0; }
.brand-strip > a + a { border-left: 1px solid var(--line); }
.brand-strip > a:last-child { padding-right: 0; }
.brand-strip > a:hover { background: var(--soft); }
.brand-strip > a > .arrow-icon { grid-column: 2; grid-row: 1 / 3; color: var(--red); transition: transform var(--duration) var(--ease); }
.brand-strip > a:hover > .arrow-icon { transform: translate(2px, -2px); }
.brand-strip small { grid-column: 1; font-size: 13px; color: var(--muted); line-height: 1.6; }
.strip-logo { height: 26px; width: auto; object-fit: contain; max-width: 128px; }
.strip-tellama { display: flex; align-items: center; gap: 8px; font-size: 28px; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.strip-tellama img { width: 30px; height: 30px; border-radius: 8px; }
.section { padding-block: var(--space); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; margin-bottom: 56px; }
#brands > .section-head, #history > .section-head { display: block; max-width: 860px; }
.section-head h2 { font-size: clamp(30px, 3vw, 48px); line-height: 1.5; letter-spacing: -.035em; margin: 0; font-weight: 700; }
.section-head p { max-width: 66ch; margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 1.9; }
.brand-row { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; padding-block: 48px; border-top: 1px solid var(--line); }
.brand-row:last-child { border-bottom: 1px solid var(--line); }
.brand-row:nth-of-type(even) .brand-visual { order: 2; }
.brand-row:nth-of-type(even) .brand-copy { order: 1; }
.brand-visual { aspect-ratio: 1.4; border-radius: var(--radius); overflow: hidden; background: var(--soft); display: flex; align-items: center; justify-content: center; }
.brand-visual > img { width: 100%; height: 100%; object-fit: contain; }
.brand-copy { padding-block: 16px; }
.brand-logo-heading { display: flex; align-items: center; margin: 0 0 28px; min-height: 56px; }
.brand-logo-heading > a { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; }
.brand-logo-heading img { width: auto; height: 42px; max-width: 240px; object-fit: contain; }
.brand-logo-heading img.basix-logo { width: 155px; height: auto; }
.brand-logo-heading img.capkee-logo { width: 220px; height: auto; }
.tellama-lockup { font-size: 42px; font-weight: 800; letter-spacing: -.035em; }
.tellama-lockup img { width: 48px; height: 48px; border-radius: 12px; }
.brand-copy h4 { font-size: clamp(22px, 2vw, 28px); line-height: 1.6; letter-spacing: -.03em; margin: 0 0 16px; font-weight: 650; }
.brand-copy p { font-size: 16px; color: var(--muted); line-height: 1.95; margin: 0; max-width: 66ch; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0; }
.tag-list span { font-size: 12px; font-weight: 600; color: var(--muted); }
.text-link { font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 24px; min-height: 44px; border-bottom: 1px solid var(--ink); }
.text-link:hover, .source:hover { color: var(--red); border-color: var(--red); }
.tellama-visual { background: var(--tellama-surface); aspect-ratio: 1.12; }
.tellama-visual img { padding: 24px; }
.capkee-visual { background: var(--capkee-surface); }
.capkee-visual img { object-fit: cover; }
.fine, .brand-copy p.fine { font-size: 13px; line-height: 1.9; color: var(--muted); margin-top: 20px; }
.about { background: var(--ink); color: var(--paper); }
.about .section-head { align-items: center; }
.about .section-head p { color: var(--inverse-muted); }
.red-character { margin: 0; width: 220px; }
.red-character img { width: 100%; height: auto; border-radius: var(--radius); }
.red-character figcaption { font-size: 11px; letter-spacing: .12em; color: var(--inverse-muted); margin-top: 16px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 64px; }
.principles article { border-top: 1px solid var(--inverse-line); padding-top: 24px; }
.principles h3 { font-size: 26px; font-weight: 550; margin: 0 0 16px; letter-spacing: -.025em; }
.principles p { font-size: 15px; line-height: 1.9; color: var(--inverse-muted); margin: 0; }
.history-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 40px; padding-block: 32px; border-top: 1px solid var(--line); align-items: start; }
.history-item:last-child { border-bottom: 1px solid var(--line); }
.history-item time { font-size: 36px; font-weight: 500; letter-spacing: -.035em; font-variant-numeric: tabular-nums; line-height: 1.4; }
.history-item h3 { font-size: 21px; font-weight: 600; margin: 0 0 8px; letter-spacing: -.025em; }
.history-item p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.9; }
.source { font-size: 13px; text-decoration: underline; display: inline-flex; align-items: center; min-height: 44px; }
.news-head { margin: 80px 0 28px; }
.news-head h3 { font-size: 28px; letter-spacing: -.03em; margin: 0 0 8px; }
.news-head p { font-size: 15px; color: var(--muted); margin: 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.news-grid > a { padding-block: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.news-grid > a:hover h4 { color: var(--red); }
.news-grid span { font-size: 12px; color: var(--muted); }
.news-grid h4 { font-size: 21px; line-height: 1.65; font-weight: 600; margin: 22px 0 28px; text-wrap: initial; }
.news-grid p { font-size: 14px; margin: auto 0 0; text-decoration: underline; }
.contact { background: var(--contact-surface); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.contact h2 { font-size: clamp(36px, 4vw, 64px); line-height: 1.4; letter-spacing: -.035em; font-weight: 600; margin: 0 0 24px; }
.contact p { color: var(--muted); font-size: 16px; margin: 0 0 30px; }
.contact-character { width: 80px; margin: 0 0 30px; }
.contact-character img { width: 100%; height: auto; border-radius: var(--radius); }
.contact-list { margin: 0; }
.contact-list > div { border-bottom: 1px solid var(--line); padding-block: 20px; }
.contact-list > div:first-child { padding-top: 0; }
.contact-list dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.contact-list dd { font-size: 16px; margin: 0; }
.contact-list dd small { font-size: 13px; }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; }
.contact-list a:hover { color: var(--red); }
footer { padding-block: 48px 24px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; }
.legal { font-size: 13px; color: var(--muted); }
.legal p { margin: 0 0 8px; }
.legal a, .sources a { text-decoration: underline; }
.sources { font-size: 13px; color: var(--muted); margin-top: 24px; }
.sources summary { cursor: pointer; width: fit-content; min-height: 44px; align-content: center; }
.sources li { margin-block: 12px; }
.copyright { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; font-size: 12px; color: var(--muted); }
.backtop { border: 0; background: none; color: var(--ink); font-size: 13px; min-height: 44px; padding: 8px; }
@media (max-width: 1000px) {
  .hero { gap: 32px; }
  .hero h1 { font-size: clamp(38px, 4.6vw, 48px); }
  .hero-bottom p { font-size: 15px; }
  .hero-media { aspect-ratio: .95; }
  .brand-strip > a { padding-inline: 24px; }
  .brand-strip small { font-size: 12px; }
  .section-head { gap: 40px; }
  .brand-row { gap: 40px; }
  .contact-grid { gap: 48px; }
  .history-item { grid-template-columns: 90px 1fr; gap: 24px; }
  .history-item .source { grid-column: 2; margin-top: -12px; justify-self: start; }
}
@media (max-width: 650px) {
  :root { --header-height: 72px; }
  .wordmark { font-size: 24px; }
  .header-mascot { width: 38px; height: 38px; }
  .menu { display: block; }
  nav { display: none; position: absolute; left: 0; right: 0; top: var(--header-height); padding: 16px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; }
  nav.open { display: flex; }
  nav a { padding-block: 12px; }
  nav a:last-child { border: 0; border-radius: 0; padding: 12px 0; }
  .hero { grid-template-columns: 1fr; padding-block: 40px 32px; gap: 32px; }
  .hero-content { padding: 0; }
  .hero h1 { font-size: clamp(34px, 9.5vw, 52px); margin-bottom: 24px; }
  .hero-bottom { gap: 24px; }
  .hero-bottom p { font-size: 15px; }
  .hero-media { aspect-ratio: 1.35; }
  .hero-caption { font-size: 11px; left: 16px; bottom: 16px; }
  .brand-strip { grid-template-columns: 1fr; }
  .brand-strip > a, .brand-strip > a:first-child, .brand-strip > a:last-child { grid-template-columns: 126px 1fr auto; gap: 14px; padding: 22px 0; min-height: 92px; }
  .brand-strip > a + a { border-left: 0; border-top: 1px solid var(--line); }
  .brand-strip small { grid-column: 2; font-size: 12px; }
  .brand-strip > a > .arrow-icon { grid-column: 3; grid-row: 1; width: 18px; }
  .strip-logo { max-width: 115px; height: 24px; }
  .strip-tellama { font-size: 25px; }
  .strip-tellama img { width: 26px; height: 26px; }
  .section-head { grid-template-columns: 1fr; gap: 36px; margin-bottom: 36px; }
  .section-head h2 { font-size: 30px; }
  .section-head p { font-size: 15px; }
  .brand-row { grid-template-columns: 1fr; gap: 28px; padding-block: 32px 40px; }
  .brand-row:nth-of-type(even) .brand-visual, .brand-row:nth-of-type(even) .brand-copy { order: initial; }
  .brand-copy { padding: 0; }
  .brand-copy p { font-size: 15px; }
  .brand-logo-heading { margin-bottom: 20px; }
  .tellama-visual { aspect-ratio: 1.15; }
  .red-character { width: 160px; }
  .red-character figcaption { font-size: 11px; }
  .principles { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
  .principles h3 { font-size: 24px; }
  .principles p br { display: none; }
  .history-item { grid-template-columns: 1fr; gap: 12px; padding-block: 28px; }
  .history-item time { font-size: 28px; }
  .history-item h3 { font-size: 20px; }
  .history-item .source { grid-column: 1; margin-top: 0; }
  .news-grid { grid-template-columns: 1fr; gap: 16px; }
  .news-grid h4 { margin-block: 16px 20px; }
  .news-head { margin-top: 56px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact h2 { font-size: 40px; }
  .contact p { font-size: 15px; }
  .contact-list dd { font-size: 15px; }
  .footer-top { flex-direction: column; gap: 24px; }
  .copyright { align-items: start; }
  .copyright span { max-width: 25ch; }
}
@media (max-width: 360px) {
  .brand-strip > a, .brand-strip > a:first-child, .brand-strip > a:last-child { grid-template-columns: 116px 1fr auto; gap: 8px; }
  .brand-strip small { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a, .arrow-icon { transition: none; }
  .pill-link:hover, .brand-strip > a:hover > .arrow-icon { transform: none; }
}
/* A single overlapping row, matching the requested playing-card gallery. */
:root { --review-card-width: 300px; --review-overlap: 68px; --review-lift: -18px; --review-shadow: 0 12px 24px rgb(34 34 31 / 14%); }
.review-deck { display: flex; align-items: stretch; isolation: isolate; overflow-x: auto; padding: 36px 20px 42px; margin-inline: -20px; scrollbar-width: thin; scroll-padding-inline: 20px; overscroll-behavior-inline: contain; }
.review-card { position: relative; flex: 0 0 var(--review-card-width); background: var(--white); border-radius: var(--radius); box-shadow: var(--review-shadow); overflow: hidden; transform-origin: center bottom; transition: transform 300ms var(--ease); display: flex; flex-direction: column; }
.review-card + .review-card { margin-left: calc(-1 * var(--review-overlap)); }
.review-card:nth-child(3n+1) { transform: rotate(-3deg); }
.review-card:nth-child(3n+2) { transform: translateY(10px) rotate(2deg); }
.review-card:nth-child(3n) { transform: rotate(-1deg); }
.review-card:hover, .review-card:focus-visible { transform: translateY(var(--review-lift)); z-index: 2; }
.review-card > img { width: 100%; height: 220px; object-fit: cover; background: var(--soft); }
.review-card-copy { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.review-card-copy > span { font-size: 12px; color: var(--muted); }
.review-card h4 { font-size: 19px; line-height: 1.65; margin: 16px 0 24px; text-wrap: initial; }
.review-card p { font-size: 14px; margin: auto 0 0; padding-top: 12px; text-decoration: underline; }
@media(max-width:650px) { :root { --review-card-width: 268px; --review-overlap: 40px; } .review-card > img { height: 208px; } .review-card h4 { font-size: 18px; } }
@media(prefers-reduced-motion:reduce) { .review-card { transition: none; } .review-card:hover, .review-card:focus-visible { transform: none; } }
:root { --review-control-size: 48px; }
.review-controls { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-top: 24px; }
.review-controls button { display: inline-flex; align-items: center; justify-content: center; width: var(--review-control-size); height: var(--review-control-size); border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--paper); transition: background var(--duration), color var(--duration); }
.review-controls button:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.review-controls button:disabled { opacity: .35; cursor: default; }
.review-controls svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.review-position { min-width: 88px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--muted); }
.review-deck { scroll-behavior: auto; }
@media(prefers-reduced-motion:reduce) { .review-controls button { transition: none; } }
