/* OVELIS brand site — tokens copied from ovelis.jp :root (DESIGN STUDIO catalog `ovelis` v1.1). */
:root {
  --bg: #F4F1EA;
  --surface: #FAF8F2;
  --ink: #111214;
  --muted: rgba(17, 18, 20, .68);
  --line: rgba(17, 18, 20, .14);
  --line-strong: rgba(17, 18, 20, .28);
  --wash: rgba(17, 18, 20, .04);
  --gold: #C69A38;
  --gold-text: #8A6A1E;
  --gold-tint: #ECE1C6;
  --tint: #EAE4D6;
  --dk-bg: #111214;
  --dk-ink: #ECEBE6;
  --dk-muted: rgba(236, 235, 230, .70);
  --dk-line: rgba(236, 235, 230, .16);
  --r-lg: 22px;
  --r: 16px;
  --r-sm: 12px;
  --jp: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --lat: "Inter", "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--jp); font-size: 16px; line-height: 1.85;
  overflow-wrap: anywhere; line-break: strict; overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: .25em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.num, .lat { font-family: var(--lat); font-variant-numeric: tabular-nums; }
h1, h2, h3 { font-feature-settings: "palt"; letter-spacing: .02em; }

/* brand glyphs (same as ovelis.jp) */
.wm { font-family: var(--lat); font-weight: 500; font-size: 15px; letter-spacing: .30em; margin-right: -.30em; line-height: 1; white-space: nowrap; }
.wm .e { display: inline-block; width: .545em; height: .727em; margin-right: .30em; vertical-align: baseline;
  background: linear-gradient(to bottom, var(--gold) 0 20%, transparent 20% 40%, var(--gold) 40% 60%, transparent 60% 80%, var(--gold) 80% 100%); }
.bars { display: inline-block; flex: none; width: 11px; height: 15px;
  background: linear-gradient(to bottom, var(--gold) 0 3px, transparent 3px 6px, var(--gold) 6px 9px, transparent 9px 12px, var(--gold) 12px 15px); }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(244, 241, 234, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand img { height: 24px; width: auto; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0 0 0 auto; padding: 0; font-size: 15px; }
.nav ul a { color: var(--muted); text-decoration: none; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); }
.nav .ext { display: inline-flex; align-items: center; gap: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r-sm); font-family: var(--jp); font-weight: 700; font-size: 15px; line-height: 1.4; text-decoration: none; border: 1.5px solid transparent; transition: box-shadow .2s ease, border-color .2s ease; }
.btn-primary { background: var(--ink); color: var(--dk-ink); }
.btn-primary:hover { box-shadow: inset 0 -4px 0 var(--gold); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-foil { background: var(--ink); color: var(--dk-ink); border: 1px solid var(--gold); border-radius: 10px; }
.btn-foil:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.btn-line { background: transparent; color: var(--dk-ink); border-color: var(--dk-line); }
.btn-line:hover { border-color: var(--dk-ink); }
.arrow { font-family: var(--lat); }

/* hero (ink) */
.hero { background: var(--dk-bg); color: var(--dk-ink); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 24px; font-family: var(--lat); font-weight: 600; font-size: 12px; letter-spacing: .30em; color: var(--dk-muted); }
.hero h1 { font-size: 46px; line-height: 1.45; font-weight: 700; margin: 0 0 24px; }
.hero h1 .hl { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: .12em; text-underline-offset: .2em; text-decoration-skip-ink: none; }
.hero .lead { color: var(--dk-muted); font-size: 17px; margin: 0 0 36px; max-width: 32em; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero a { color: var(--dk-ink); }
.hero-stack { position: relative; height: 440px; }
.hero-stack img { position: absolute; width: 62%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; border: 1px solid var(--dk-line); box-shadow: 0 28px 56px -24px rgba(0,0,0,.85); }
.hero-stack img:nth-child(1) { left: 0; top: 8%; transform: rotate(-5deg); }
.hero-stack img:nth-child(2) { left: 19%; top: 30%; z-index: 2; }
.hero-stack img:nth-child(3) { left: 38%; top: 2%; transform: rotate(5deg); }

/* sections */
section.block { padding-top: 104px; }
section.block:last-of-type { padding-bottom: 104px; }
.slit { position: relative; height: 1px; margin-bottom: 32px;
  background: linear-gradient(to right, var(--line-strong) 0 20px, transparent 20px 38px, var(--line-strong) 38px 100%); }
.slit::after { content: ""; position: absolute; left: 26px; top: -10px; width: 5px; height: 21px; border-radius: 1px; background: var(--gold); transform: rotate(28deg); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.sec-label { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-family: var(--lat); font-weight: 600; font-size: 12px; letter-spacing: .30em; line-height: 1; }
.sec-head h2 { font-size: 30px; line-height: 1.5; margin: 0; }
.sec-head p { color: var(--muted); margin: 8px 0 0; max-width: 36em; }
.more { flex: none; font-weight: 700; font-size: 15px; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.more:hover { text-decoration: underline; text-decoration-color: var(--gold); }

/* cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.card:hover { border-color: var(--line-strong); box-shadow: 0 16px 32px -24px rgba(17,18,20,.5); }
.grid.feature { grid-template-columns: repeat(6, 1fr); }
.grid.feature .card { grid-column: span 2; }
.grid.feature .card:nth-child(-n+2) { grid-column: span 3; }
.card.is-private { cursor: default; }
.card.is-private:hover { border-color: var(--line); box-shadow: none; }
.card.is-private h3 { color: var(--muted); }
.card .thumb { aspect-ratio: 4 / 3; background: var(--tint); border-bottom: 1px solid var(--line); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .meta { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .en { font-family: var(--lat); font-size: 11px; font-weight: 600; letter-spacing: .24em; color: var(--muted); }
.card h3 { font-size: 20px; margin: 0; line-height: 1.5; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.chip { font-size: 12px; font-weight: 700; padding: 1px 10px; border-radius: 6px; line-height: 1.7; border: 1px solid var(--line-strong); color: var(--muted); }
.chip.live { background: var(--ink); color: var(--dk-ink); border-color: var(--ink); }
.chip.proto, .chip.prep { border-color: var(--gold); color: var(--gold-text); }
.chip.private { border-style: dashed; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.filters button { font: inherit; font-size: 14px; font-weight: 700; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--dk-ink); border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--gold); }
.filters .count { font-family: var(--lat); font-weight: 500; opacity: .7; margin-left: 6px; }
.card[hidden] { display: none; }

/* lanes (what we make) */
.lanes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.lane { padding: 24px 22px 8px 0; border-right: 1px solid var(--line); }
.lane + .lane { padding-left: 22px; }
.lane:last-child { border-right: 0; }
.lane .k { font-family: var(--lat); font-size: 11px; font-weight: 600; letter-spacing: .24em; color: var(--gold-text); }
.lane h3 { font-size: 18px; margin: 6px 0 8px; }
.lane p { margin: 0; color: var(--muted); font-size: 14.5px; }
.lane .n { font-family: var(--lat); font-size: 13px; color: var(--muted); margin-top: 12px; }

/* styles */
.styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.style { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.swatch { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; height: 120px; border-bottom: 1px solid var(--line); }
.swatch span { display: block; }
.style .meta { padding: 16px 20px 20px; }
.style h3 { margin: 0 0 4px; font-size: 18px; }
.style p { margin: 0; color: var(--muted); font-size: 14.5px; }
.style .codes { font-family: var(--lat); font-size: 12px; color: var(--muted); margin-top: 10px; letter-spacing: .04em; }

/* business band */
.band { background: var(--dk-bg); color: var(--dk-ink); border-radius: var(--r-lg); padding: 48px 56px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.band h2 { margin: 0 0 8px; font-size: 26px; line-height: 1.5; }
.band p { margin: 0; color: var(--dk-muted); }
.band a { color: var(--dk-ink); }

/* detail page */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 32px; }
.crumbs a { color: var(--muted); }
.detail { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; padding-top: 40px; }
.detail .keyart { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 32px 56px -36px rgba(17,18,20,.55); }
.screens { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; margin-top: 72px; }
.screens.one { grid-template-columns: 300px; justify-content: center; }
.screens figure { margin: 0; }
.screens img { border: 1px solid var(--line-strong); background: var(--surface); }
.screens .shot-m img { border-radius: 24px; }
.screens .shot-d img { border-radius: var(--r); }
.screens figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }
.detail .phone { justify-self: center; width: min(340px, 100%); border-radius: 28px; border: 1px solid var(--line-strong); overflow: hidden; background: var(--tint); box-shadow: 0 32px 56px -32px rgba(17,18,20,.55); }
.detail .en { font-family: var(--lat); font-size: 12px; font-weight: 600; letter-spacing: .30em; color: var(--muted); margin: 0 0 8px; }
.detail h1 { font-size: 40px; line-height: 1.4; margin: 0 0 16px; }
.detail .pitch { font-size: 19px; font-weight: 500; margin: 0 0 20px; line-height: 1.8; }
.detail .body { color: var(--muted); margin: 0 0 28px; }
.facts { width: 100%; border-collapse: collapse; margin: 0 0 32px; font-size: 15px; }
.facts th, .facts td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { width: 7em; color: var(--muted); font-weight: 500; }
.detail .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.wide { margin-top: 72px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.wide figcaption { padding: 10px 16px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line-strong); font-weight: 700; }
.pager a { text-decoration: none; }
.pager a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.pager small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; font-family: var(--lat); letter-spacing: .2em; }

/* about */
.prose { max-width: 720px; }
.prose h1 { font-size: 40px; line-height: 1.45; margin: 48px 0 24px; }
.prose h2 { font-size: 22px; margin: 56px 0 12px; display: flex; gap: 12px; align-items: center; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ink); }
.mark-big { width: 140px; margin: 64px 0 0; }

/* footer */
footer { margin-top: 104px; border-top: 1px solid var(--line-strong); padding: 40px 0 56px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
footer ul { display: flex; flex-wrap: wrap; gap: 24px; list-style: none; padding: 0; margin: 0; }
footer a { color: var(--muted); }
footer .brand img { height: 20px; }

/* preview banner (removed at deploy) */
.preview-flag { background: var(--gold-tint); color: var(--ink); text-align: center; font-size: 13px; font-weight: 700; padding: 6px 16px; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; }
  .hero-stack { height: 300px; max-width: 460px; }
  .grid, .styles, .grid.feature { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .grid.feature .card, .grid.feature .card:nth-child(-n+2) { grid-column: auto; }
  .grid.feature .card:first-child { grid-column: 1 / -1; }
  .lanes { grid-template-columns: repeat(2, 1fr); }
  .lane:nth-child(2) { border-right: 0; }
  .lane:nth-child(3) { padding-left: 0; }
  .detail { grid-template-columns: 1fr; gap: 40px; }
  .screens, .screens.one { grid-template-columns: 1fr; justify-items: center; }
  .screens .shot-m { width: min(300px, 100%); }
  .band { grid-template-columns: 1fr; padding: 36px 32px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav ul { gap: 16px; font-size: 14px; }
  .nav .hide-s { display: none; }
  .brand .wm { display: none; }
  .hero h1 { font-size: 32px; }
  .hero-stack { height: 230px; }
  .grid, .styles, .grid.feature { grid-template-columns: 1fr; }
  .grid.feature .card:first-child { grid-column: auto; }
  .lanes { grid-template-columns: 1fr; }
  .lane, .lane + .lane { padding: 20px 0 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .sec-head { flex-direction: column; align-items: start; }
  .sec-head h2 { font-size: 24px; }
  section.block { padding-top: 72px; }
  .detail h1, .prose h1 { font-size: 30px; }
  .band { padding: 28px 20px; }
}
