/* shared page styles for subpages */
:root {
  --bg: #fafafa;
  --bg-soft: #f3f3f3;
  --bg-card: #ffffff;
  --fg: #111111;
  --fg-muted: #6b6b6b;
  --fg-subtle: #9a9a9a;
  --line: #e5e5e5;
  --ink: #0a0a0a;
  --ink-inv: #ffffff;

  --font-display: 'Cormorant Garamond', 'Shippori Mincho', serif;
  --font-jp: 'Shippori Mincho', 'Noto Serif JP', serif;
  --font-ui: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --container: 1120px;
  --nav-h: 80px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-jp);
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--ink); color: var(--ink-inv); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}
.container.narrow { max-width: 820px; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  display: flex; align-items: center; z-index: 50;
  transition: background .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.nav.open {
  background: var(--bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 40px; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: inline-block;
  width: 92px; height: 53px;
  background-color: var(--fg);
  -webkit-mask: url('assets/logo.png') center / contain no-repeat;
  mask: url('assets/logo.png') center / contain no-repeat;
  text-indent: -9999px; overflow: hidden;
  transition: background-color .3s ease;
}
.nav-links {
  display: flex; gap: 40px;
  font-family: var(--font-ui);
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em;
}
.nav-links a { position: relative; padding: 4px 0; transition: color .25s ease; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: currentColor; transform: scaleX(0);
  transform-origin: right; transition: transform .4s cubic-bezier(.65,0,.35,1);
}
.nav-links a:hover::after, .nav-links a.current::after { transform: scaleX(1); transform-origin: left; }

/* page head */
.page-head {
  padding: calc(var(--nav-h) + 120px) 0 80px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.12em;
  margin: 0 0 24px;
  text-transform: uppercase;
}
.page-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(60px, 10vw, 140px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}
.page-sub {
  font-family: var(--font-jp);
  font-size: 15px;
  color: var(--fg-muted);
  letter-spacing: 0.1em;
  margin: 0;
}
.page-body { padding: 100px 0 140px; }

/* Services page blocks */
.services-hero { padding: 40px 0 60px; }
.svc-hero-img {
  aspect-ratio: 16/6;
  border-radius: 6px;
  overflow: hidden;
  filter: grayscale(1) contrast(1.02);
}
.svc-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.svc-block { padding: 100px 0; }
.svc-block.soft { background: var(--bg-soft); }
.eyebrow-center {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--fg-muted);
  letter-spacing: 0.24em; text-transform: uppercase;
  text-align: center; margin: 0 0 20px;
}
.svc-title {
  font-family: var(--font-jp);
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.7;
  letter-spacing: 0.08em;
  text-align: center;
  margin: 0 0 48px;
}
.svc-prose {
  text-align: center;
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: 0.08em;
  color: var(--fg);
  margin: 40px auto 0;
  max-width: 680px;
}
.svc-prose p { margin: 0 0 1.6em; }
.svc-prose p:last-child { margin: 0; }
.svc-lead {
  text-align: center;
  font-family: var(--font-jp);
  font-size: 13px; color: var(--fg-muted);
  line-height: 2; letter-spacing: 0.08em;
  margin: 0 auto 48px;
}

/* Approach */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px auto;
  max-width: 900px;
}
.approach-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  transition: transform .4s ease, box-shadow .4s ease;
}
.approach-card:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,.06); }
.ap-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
  color: var(--fg);
  margin: 0 0 10px;
}
.ap-jp {
  font-family: var(--font-jp);
  font-weight: 600; font-size: 15px;
  letter-spacing: 0.1em;
  margin: 0 0 20px;
}
.ap-body {
  font-family: var(--font-jp);
  font-size: 12px;
  color: var(--fg);
  line-height: 1.9;
  letter-spacing: 0.06em;
  margin: 0;
  text-align: left;
}

/* Layers figure (shared with index) */
.layers-figure {
  margin: 60px auto;
  max-width: 1040px;
  text-align: center;
}
.layers-figure img { width: 100%; height: auto; display: block; }
html[data-theme="dark"] .layers-figure img { filter: invert(1) hue-rotate(180deg); }

/* Support model */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 840px;
  margin: 48px auto 0;
}
.support-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 32px 28px;
  display: flex; flex-direction: column;
  transition: transform .4s ease, box-shadow .4s ease;
}
.support-card:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,.06); }
.support-card h3 {
  font-family: var(--font-jp);
  font-weight: 600; font-size: 16px;
  letter-spacing: 0.1em;
  text-align: center;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.support-card p {
  font-family: var(--font-jp);
  font-size: 13px;
  color: var(--fg);
  line-height: 1.95;
  letter-spacing: 0.06em;
  margin: 0 0 auto;
}
.support-card .fee {
  font-family: var(--font-jp);
  font-weight: 600;
  font-size: 13px;
  text-align: right;
  margin-top: 24px;
  letter-spacing: 0.08em;
}

/* Menu grid (service cards, same as index) */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 32px;
}
.service-card { cursor: default; }
.service-card .img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 4px;
  overflow: hidden;
  filter: grayscale(1);
  margin-bottom: 18px;
}
.service-card .img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.service-card:hover .img-wrap img { transform: scale(1.06); }
.service-card h3 {
  font-family: var(--font-jp);
  font-weight: 600; font-size: 14.5px;
  text-align: center; letter-spacing: 0.1em;
  margin: 0 0 12px;
}
.service-card p {
  font-family: var(--font-jp);
  font-size: 11.5px; color: var(--fg-muted);
  line-height: 1.9; letter-spacing: 0.08em;
  margin: 0; text-align: center;
}

/* Promo */
.promo {
  display: block;
  max-width: 420px;
  margin: 80px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  transition: transform .4s ease, box-shadow .4s ease;
}
.promo:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.promo-img { aspect-ratio: 3/1; border-radius: 6px; overflow: hidden; filter: grayscale(1); }
.promo-img img { width: 100%; height: 100%; object-fit: cover; }
.promo-text { padding: 12px 8px 4px; }
.promo h4 {
  font-family: var(--font-jp);
  font-weight: 600; font-size: 13px;
  letter-spacing: 0.08em; margin: 0 0 6px;
}
.promo p {
  font-family: var(--font-jp);
  font-size: 10.5px; color: var(--fg-muted);
  margin: 0; line-height: 1.7;
}

/* Vision / Mission blocks */
.vm-block { text-align: center; }
.vm-title {
  font-family: var(--font-jp);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.7;
  letter-spacing: 0.08em;
  margin: 0 0 20px;
}
.vm-body {
  font-family: var(--font-jp);
  font-size: 13px; color: var(--fg-muted);
  line-height: 2.1; letter-spacing: 0.08em;
  margin: 20px 0 0;
}
.company-h {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  text-align: center;
  letter-spacing: -0.005em;
  margin: 0 0 40px;
}

/* Works page cards */
.works-cards {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.work-card {
  display: grid;
  grid-template-rows: auto auto;
  gap: 24px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform .4s ease, box-shadow .4s ease;
}
.work-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.06); }
.wc-info {
  padding: 12px 20px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 48px;
  align-items: start;
}
.wc-info-main { min-width: 0; }
.wc-info-tags { text-align: right; }
.wc-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}
.wc-desc {
  font-family: var(--font-jp);
  font-size: 13px; color: var(--fg);
  line-height: 1.9; letter-spacing: 0.06em;
  margin: 0 0 16px;
}
.wc-url {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--fg-muted);
  margin: 0 0 16px;
}
.wc-tags {
  font-family: var(--font-ui);
  font-size: 11.5px; color: var(--fg-muted);
  line-height: 2; letter-spacing: 0.04em;
  margin-top: auto;
}
.wc-tags span { display: inline-block; margin-right: 12px; }
.wc-info-tags .wc-tags { text-align: right; }
.wc-visual {
  aspect-ratio: 16 / 9 !important;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-soft);
  display: block;
  width: 100% !important;
  padding: 0 !important;
  filter: none !important;
}
.wc-visual img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Contact CTA (outline pill) */
.contact-cta {
  padding: 120px 0;
  display: flex; justify-content: center;
}
.cta-outline {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 18px 44px;
  border: 1px solid var(--fg);
  border-radius: 999px;
  font-family: var(--font-jp);
  font-weight: 500; font-size: 14px;
  letter-spacing: 0.1em;
  background: transparent; color: var(--fg);
  transition: background .3s ease, color .3s ease;
}
.cta-outline:hover { background: var(--ink); color: var(--ink-inv); }
.cta-outline .arrow { transition: transform .3s ease; }
.cta-outline:hover .arrow { transform: translateX(4px); }

/* SERVICES list */
.service-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.service-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  transition: background .4s ease;
}
.service-item:hover { background: var(--bg-soft); }
.service-item .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  padding-top: 8px;
  letter-spacing: 0.1em;
}
.service-item h3 {
  font-family: var(--font-jp);
  font-weight: 600; font-size: 22px;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}
.service-item p {
  font-family: var(--font-jp);
  font-size: 14.5px; color: var(--fg);
  line-height: 2.1;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
  max-width: 640px;
}
.service-item .tags {
  font-family: var(--font-ui);
  font-size: 11.5px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}
.service-item .tags span { margin-right: 14px; }

/* WORKS list */
.works-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.work-row {
  display: grid;
  grid-template-columns: 260px 1fr 120px;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background .4s ease, padding .4s ease;
}
.work-row:hover { background: var(--bg-soft); padding-left: 16px; padding-right: 16px; }
.work-row-meta {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--fg-muted);
  letter-spacing: 0.08em;
}
.work-row-meta .year { margin-bottom: 6px; color: var(--fg); font-weight: 500; }
.work-row-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 48px);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.work-row-thumb {
  aspect-ratio: 1/1; width: 120px;
  overflow: hidden; border-radius: 4px;
  filter: grayscale(1);
}
.work-row-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* COMPANY */
.prose { margin: 0 0 60px; }
.prose p {
  font-family: var(--font-jp);
  font-size: 15px; line-height: 2.3;
  letter-spacing: 0.08em;
  margin: 0 0 1.6em;
}
.info-table {
  border-top: 1px solid var(--line);
  margin: 0 0 80px;
}
.info-table .row {
  display: grid;
  grid-template-columns: 180px 1fr;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.info-table .k {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.info-table .v {
  font-family: var(--font-jp);
  font-size: 15px;
  letter-spacing: 0.06em;
}

/* CONTACT */
.contact-form {
  display: flex; flex-direction: column; gap: 28px;
  padding: 20px 0;
}
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.field input:not([type="radio"]):not([type="checkbox"]), .field textarea, .field select {
  width: 100%;
  border: 0; border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--fg);
  padding: 12px 2px;
  letter-spacing: 0.04em;
  transition: border-color .3s ease;
  box-sizing: border-box;
}
.field input:focus:not([type="radio"]):not([type="checkbox"]), .field textarea:focus, .field select:focus { border-bottom-color: var(--fg); outline: none; }
.field textarea { resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
  cursor: pointer;
}
.field select option { color: #111; background: #fff; }

/* Custom select dropdown — refined replacement for native <select> */
.custom-select {
  position: relative;
  width: 100%;
}
.cs-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 4px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--fg);
  letter-spacing: 0.04em;
  cursor: pointer;
  text-align: left;
  transition: border-color .3s ease;
}
.cs-trigger:hover { border-bottom-color: var(--fg); }
.custom-select.open .cs-trigger { border-bottom-color: var(--fg); }
.cs-arrow {
  color: var(--fg-muted);
  transition: transform .25s ease, color .25s ease;
  flex-shrink: 0;
  margin-left: 12px;
}
.custom-select.open .cs-arrow { transform: rotate(180deg); color: var(--fg); }

.cs-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  margin: 0; padding: 6px 0;
  list-style: none;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 20;
  max-height: 280px;
  overflow-y: auto;
}
html[data-theme="dark"] .cs-list {
  background: var(--bg-card);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5), 0 2px 6px rgba(0,0,0,0.3);
}
.custom-select.open .cs-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cs-list li {
  padding: 12px 18px;
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--fg);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
  position: relative;
}
.cs-list li:hover { background: var(--bg-alt, #f5f5f5); }
html[data-theme="dark"] .cs-list li:hover { background: rgba(255,255,255,0.06); }
.cs-list li.selected {
  color: var(--fg);
  font-weight: 600;
}
.cs-list li.selected::before {
  content: "";
  position: absolute;
  left: 8px; top: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--fg);
  transform: translateY(-50%);
}
.cs-list li.selected { padding-left: 22px; }
.radios { display: flex; gap: 12px 16px; flex-wrap: wrap; }
.radio {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-jp);
  font-size: 14px;
  cursor: pointer;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color .2s ease, background-color .2s ease;
  user-select: none;
}
.radio:hover { border-color: var(--fg-muted); }
.radio:has(input:checked) {
  border-color: var(--fg);
  background: color-mix(in oklab, var(--fg) 6%, transparent);
}
.radio input { accent-color: var(--fg); margin: 0; }
.thanks {
  display: none;
  text-align: center;
  padding: 20px 0;
  color: var(--fg-muted);
  font-size: 13px;
  font-family: var(--font-jp);
}
.thanks.shown { display: block; }

/* common */
.cta-pill {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 32px;
  background: var(--ink); color: var(--ink-inv);
  border: 0; cursor: pointer;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 13px; font-weight: 500; letter-spacing: 0.1em;
  transition: transform .3s ease;
}
.cta-pill:hover { transform: translateY(-2px); }
.cta-pill .arrow { transition: transform .3s ease; }
.cta-pill:hover .arrow { transform: translateX(4px); }
.center { display: flex; justify-content: center; margin-top: 60px; }

/* reveal */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }

/* footer */
footer.foot {
  background: #000; color: #f5f5f5;
  padding: 60px 0 80px;
}
.foot-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 40px;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.foot-left .logo { background-color: #fff; display: block; margin-bottom: 40px; }
.foot-left .copy { font-family: var(--font-ui); font-size: 11px; color: #888; margin: 0 0 10px; letter-spacing: 0.06em; }
.foot-left .policy { font-family: var(--font-jp); font-size: 11px; color: #bbb; letter-spacing: 0.08em; }
.foot-right { display: flex; gap: 40px; padding-top: 8px; font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.1em; }
.foot-right a { color: #f5f5f5; transition: color .3s ease; }
.foot-right a:hover { color: #999; }

/* mobile nav toggle (used by all pages) */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 32px; height: 32px;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 60;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--fg);
  margin: 0;
  transition: transform .3s ease, opacity .2s ease;
}
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1100px) {
  .container, .nav-inner { padding: 0 32px; }
}

@media (max-width: 860px) {
  .container, .nav-inner { padding: 0 20px; }
  .container.narrow { max-width: 100%; }
  .nav-toggle { display: flex; margin-left: auto; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 32px; height: 32px; background: none; border: 0; padding: 0; cursor: pointer; position: relative; z-index: 60; }
  .nav-links {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    height: 100dvh;
    background: var(--bg);
    flex-direction: column;
    justify-content: center; align-items: center;
    gap: 32px; font-size: 18px;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.65,0,.35,1);
    z-index: 50;
    will-change: transform;
    pointer-events: none;
    visibility: hidden;
  }
  .nav.open .nav-links {
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;
  }
  .page-head { padding: 110px 0 60px; }
  .page-title { font-size: clamp(40px, 12vw, 64px); }
  .page-sub { font-size: 13px; }
  .service-item { grid-template-columns: 1fr; gap: 12px; }
  .work-row { grid-template-columns: 1fr; gap: 16px; }
  .work-row-thumb { width: 100%; aspect-ratio: 16/9; }
  .info-table .row { grid-template-columns: 1fr; gap: 4px; }
  .foot-inner { flex-direction: column; gap: 40px; padding: 0 20px; align-items: flex-start; }
  .foot-right { flex-wrap: wrap; gap: 18px 24px; }
  .approach-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .works-cards { grid-template-columns: 1fr; }
  .work-card { grid-template-columns: 1fr; gap: 16px; padding: 12px; }
  .wc-info { padding: 16px; grid-template-columns: 1fr !important; gap: 16px !important; }
  .wc-info-tags { text-align: left !important; }
  .wc-info-tags .wc-tags { text-align: left !important; }
  .wc-title { font-size: 26px !important; }
  .layers-figure {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 40px;
    margin-bottom: 60px;
    max-width: none;
  }
  .layers-figure img { transform: scale(1.15); transform-origin: center; }
  .promo { max-width: 100%; }
  .contact-form { padding: 0; }
  .field input:not([type="radio"]):not([type="checkbox"]), .field textarea, .field select { font-size: 16px; }
  .radios { flex-direction: column; gap: 10px; }
  .radio { width: 100%; padding: 14px 18px; font-size: 15px; }
  .svc-hero-img { aspect-ratio: 16/10; }
  .section-title { font-size: clamp(28px, 8vw, 44px); }
  .center { margin-top: 32px; }
  .contact-cta { padding: 80px 0; }
}

@media (max-width: 480px) {
  .service-grid { grid-template-columns: 1fr; }
  .nav-inner { padding: 0 16px; }
  .container { padding: 0 16px; }
  .foot-inner { padding: 0 16px; }
}
