
.nl-nav a {
  transition: color 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.nl-nav a.is-on { color: var(--ink); font-weight: 700; }
.nl-main-page {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 36px 24px 72px;
  min-height: 60vh;
}
.nl-main-page .nl-hero { padding: 12px 0 28px; max-width: none; }
.nl-main-page .nl-hero h1 { max-width: 16ch; }

.ix-enter {
  animation: ix-enter 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes ix-enter {
  from {
    opacity: 0.001;
    transform: translateY(14px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: 260ms cubic-bezier(0.16, 1, 0.3, 1) both ix-vt-out;
}
::view-transition-new(root) {
  animation: 280ms cubic-bezier(0.16, 1, 0.3, 1) both ix-vt-in;
}
@keyframes ix-vt-out {
  to { opacity: 0; transform: translateY(-6px); }
}
@keyframes ix-vt-in {
  from { opacity: 0; transform: translateY(10px); }
}

.ix-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.ix-pager a {
  transition: transform 160ms cubic-bezier(0.16, 1, 0.3, 1), background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.ix-pager a:hover { transform: translateY(-1px); }
.ix-pager a:active { transform: translateY(0) scale(0.98); }

.ix-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.ix-list a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,252,247,.7);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.ix-list a:hover { border-color: var(--ink); transform: translateY(-1px); }
.ix-list strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.ix-list span { color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.ix-prose {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 54ch;
}
.ix-prose p { margin: 0 0 1em; }
.ix-stack { display: grid; gap: 18px; }
.ix-stack article {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  animation: ix-rise 480ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i, 0) * 55ms + 80ms);
}
.ix-stack article:nth-child(1) { --i: 0; }
.ix-stack article:nth-child(2) { --i: 1; }
.ix-stack article:nth-child(3) { --i: 2; }
.ix-stack article:nth-child(4) { --i: 3; }
.ix-stack article:last-child { border-bottom: 0; padding-bottom: 0; }
.ix-stack h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: 1.55rem;
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.ix-people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.ix-people article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 16px;
  background: rgba(255,252,247,.72);
  animation: ix-rise 480ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i, 0) * 60ms + 100ms);
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms ease;
}
.ix-people article:nth-child(1) { --i: 0; }
.ix-people article:nth-child(2) { --i: 1; }
.ix-people article:nth-child(3) { --i: 2; }
.ix-people article:nth-child(4) { --i: 3; }
.ix-people article:hover { transform: translateY(-2px); border-color: var(--ink); }
.ix-people h3 { margin: 0 0 4px; font-size: 1.05rem; }
.ix-people .role { color: var(--accent); font-size: 13px; font-weight: 700; margin: 0 0 8px; }
.ix-people p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.45; }

@keyframes ix-rise {
  from {
    opacity: 0.001;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.ix-dl-hero {
  padding: 12px 0 8px;
  text-align: center;
}
.ix-brand-mark {
  margin: 0 0 8px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  animation: ix-rise 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.ix-dl-hero h1 {
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--ink);
  text-wrap: balance;
  animation: ix-rise 560ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 40ms;
}
.ix-dl-sub {
  margin: 0 auto 24px;
  max-width: 42ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  animation: ix-rise 560ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 70ms;
}
.ix-cta-row {
  position: relative;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
  animation: ix-rise 560ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 110ms;
}
.ix-btn-open {
  min-width: 148px;
}
.ix-btn-all {
  font-size: 12.5px !important;
  padding: 8px 14px !important;
  opacity: 0.88;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ix-btn-all.is-open .ix-caret { transform: rotate(180deg); }
.ix-caret {
  display: inline-block;
  font-size: 10px;
  transition: transform 180ms ease;
}
.ix-dl-menu {
  position: relative;
  z-index: 50;
  display: inline-block;
}
.ix-dl-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.98);
  box-shadow: 0 16px 40px rgba(20, 18, 14, 0.18);
  z-index: 60;
  text-align: left;
  isolation: isolate;
}
.ix-dl-panel[hidden] { display: none !important; }
.ix-dl-opt {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  transition: background 140ms ease;
}
.ix-dl-opt:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.ix-dl-opt strong {
  display: block;
  font-size: 13.5px;
  margin-bottom: 2px;
}
.ix-dl-opt span {
  font-size: 12px;
  color: var(--muted);
}
.ix-open-hint {
  margin: -16px auto 28px;
  max-width: 36ch;
  font-size: 13px;
  color: #b45309;
  animation: ix-rise 360ms ease both;
}
.ix-open-hint[hidden] { display: none !important; }

.ix-home-shots {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 26px;
  max-width: 720px;
  animation: ix-rise 640ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.ix-home-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,252,247,.85);
  box-shadow: 0 14px 36px rgba(20, 18, 14, 0.12);
}
.ix-home-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.ix-home-shot--desk {
  flex: 1 1 auto;
  max-width: 520px;
  height: clamp(148px, 28vw, 220px);
  border-radius: 14px;
}
.ix-home-shot--phone {
  flex: 0 0 auto;
  width: clamp(86px, 18vw, 118px);
  height: clamp(168px, 34vw, 236px);
  border-radius: 18px;
  border-width: 2px;
  box-shadow: 0 16px 34px rgba(20, 18, 14, 0.16);
}

.ix-mid {
  background: color-mix(in srgb, #b45309 14%, transparent);
  color: #b45309;
}
.ix-ios-note {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.ix-beian {
  margin: 36px 0 8px;
  text-align: center;
  font-size: 12px;
}
.ix-beian a {
  color: var(--muted);
  text-decoration: none;
}
.ix-beian a:hover { text-decoration: underline; text-underline-offset: 2px; }

.ix-btn-dl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 160ms cubic-bezier(0.16, 1, 0.3, 1), background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.ix-btn-dl:hover { transform: translateY(-1px); }
.ix-btn-dl:active { transform: scale(0.98); }
.ix-ico { font-size: 14px; opacity: .9; }

.ix-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 252, 247, 0.88);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: left;
  animation: ix-rise 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 160ms;
}
.ix-compat { overflow: hidden; }
.ix-compat-head {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.ix-compat-head:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.ix-compat-title {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ix-shield {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}
.ix-compat-title strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--ink);
}
.ix-compat-title p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
.ix-chevron {
  color: var(--muted);
  padding-top: 4px;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.ix-compat-head[aria-expanded="false"] .ix-chevron {
  transform: rotate(180deg);
}
.ix-compat-body {
  padding: 0 8px 8px;
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 280ms cubic-bezier(0.16, 1, 0.3, 1), opacity 220ms ease, padding 280ms ease;
  opacity: 1;
}
.ix-compat-body > * { overflow: hidden; min-height: 0; }
.ix-compat.is-closed .ix-compat-body {
  grid-template-rows: 0fr;
  opacity: 0;
  padding-bottom: 0;
}
.ix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.ix-table th {
  text-align: left;
  color: var(--muted);
  font-weight: 600;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.ix-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  color: var(--ink);
}
.ix-table tbody tr {
  animation: ix-rise 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i, 0) * 35ms + 220ms);
}
.ix-table tr:last-child td { border-bottom: 0; }
.ix-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.ix-ok {
  background: color-mix(in srgb, #1a7f4b 14%, transparent);
  color: #1a7f4b;
}
.ix-no {
  background: color-mix(in srgb, var(--muted) 16%, transparent);
  color: var(--muted);
}

@media (max-width: 720px) {
  .ix-dl-hero { padding-top: 12px; }
  .ix-home-shots { gap: 10px; }
  .ix-home-shot--desk { height: 132px; }
  .ix-home-shot--phone { width: 78px; height: 156px; }
  .ix-table th:nth-child(3),
  .ix-table td:nth-child(3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ix-enter,
  .ix-brand-mark,
  .ix-dl-hero h1,
  .ix-dl-sub,
  .ix-cta-row,
  .ix-card,
  .ix-home-shots,
  .ix-stack article,
  .ix-people article,
  .ix-table tbody tr {
    animation: none !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .ix-compat-body,
  .ix-chevron,
  .ix-pager a,
  .ix-btn-dl,
  .ix-list a,
  .ix-people article {
    transition: none !important;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none !important;
  }
  @view-transition {
    navigation: none;
  }
}
