@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrument-sans-variable.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #f7f8fa;
  --ink: #181b22;
  --muted: #5b616c;
  --line: #d5d8df;
  --accent: #284cdd;
  --accent-hover: #203db2;
  --midnight: #101827;
  --stage: #17263c;
  --dark-line: #344159;
  --ice: #eaf0ff;
  --ice-strong: #dbe6ff;
  --cobalt-soft: #e5ebff;
  --ocean: #35c6c0;
  --focus-dark: #a8c4ff;
  --container: 1328px;
  --section-space: 96px;
  --white: #fff;
  --on-dark: #f7f8fa;
  --muted-dark: #bbc4d3;
  --nemi-primary: #924531;
  --nemi-background: #f2fbff;
  --nemi-green: #436558;
  --nemi-muted: #54433e;
  --gutter: clamp(24px, 3.9vw, 56px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
  scroll-behavior: smooth;
  scrollbar-color: #7b8494 var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    400 17px/1.55 "Instrument Sans",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--accent);
  color: var(--white);
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
button {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: default;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 500;
}
h1 {
  letter-spacing: -0.04em;
}
h2 {
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h3 {
  letter-spacing: -0.025em;
  line-height: 1.2;
}
p {
  max-width: 68ch;
}
svg {
  display: block;
}
.svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
section[id] {
  scroll-margin-top: 24px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
  z-index: 10;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
.product-stage {
  background: var(--stage);
  color: var(--on-dark);
  padding: 30px 40px 24px;
  overflow: hidden;
}
.nemi-wordmark {
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}
.nemi-wordmark > span {
  color: #dca68e;
}
.product-composition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: end;
  position: relative;
  padding: 0;
}
.nemi-workspace {
  background: var(--nemi-background);
  color: #131d21;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 48px #08111e45;
}
.workspace-bar {
  height: 54px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border-bottom: 1px solid #dbe5e9;
  font-size: 12px;
}
.workspace-name {
  font-weight: 600;
}
.workspace-account {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--nemi-muted);
}
.avatar {
  width: 30px;
  height: 30px;
  background: #eee2dc;
  color: var(--nemi-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
}
.demo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nemi-green);
  margin-left: 12px;
}
.workspace-body {
  display: grid;
  grid-template-columns: 132px 1fr;
  min-height: 370px;
}
.workspace-sidebar {
  padding: 27px 14px 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  border-right: 1px solid #e3ebee;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  color: #5c6265;
  min-height: 34px;
}
.sidebar-item.active {
  border-radius: 6px;
  background: #f9ede8;
  color: var(--nemi-primary);
  font-weight: 600;
}
.sidebar-item .icon {
  width: 15px;
  height: 15px;
}
.reservations-view {
  padding: 24px;
  min-width: 0;
}
.reservation-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.reservation-heading h3 {
  font-size: 25px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.reservation-heading p {
  font-size: 11px;
  color: #5b686e;
  margin-top: 4px;
}

.demo-instruction {
  font-size: 11px;
  color: #596a72;
  margin-top: 19px;
  margin-bottom: 10px;
}
.reservations-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 208px;
  gap: 16px;
}
.reservation-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 12px;
  background: #fff;
  border: 1px solid #7c9099;
  border-radius: 10px;
  text-align: left;
  margin-bottom: 9px;
  transition:
    background-color 180ms,
    border-color 180ms;
}
.reservation-row:hover {
  background: #fbf5f2;
  border-color: var(--nemi-primary);
}
.reservation-row.is-selected {
  border-color: var(--nemi-primary);
  background: #f9ede8;
}
.reservation-row:focus-visible {
  outline-color: var(--nemi-primary);
  outline-offset: 2px;
}
.reservation-time {
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}
.reservation-time > span {
  display: block;
  color: #76635c;
  font-weight: 400;
  font-size: 11px;
  margin-top: 4px;
}
.reservation-person {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.reservation-person strong {
  font-size: 12px;
  font-weight: 600;
}
.reservation-person > span {
  font-size: 11px;
  color: #66544b;
}
.reservation-status {
  font-size: 11px;
  color: #365744;
  background: #e9f1e9;
  padding: 3px 6px;
  border-radius: 3px;
  margin-left: auto;
  white-space: nowrap;
}
.reservation-gap {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  font-size: 11px;
  color: #596a72;
  line-height: 1.5;
}
.reservation-gap .icon {
  width: 15px;
  height: 15px;
}
.reservation-gap strong {
  font-weight: 600;
}
.reservation-detail {
  background: #fff;
  border-radius: 10px;
  padding: 16px 18px;
  min-height: 257px;
  border: 1px solid #d6e4ea;
}
.detail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #5b686e;
  margin-bottom: 15px;
}
.detail-top .icon {
  width: 14px;
  height: 14px;
  color: #924531;
}
.detail-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  background: #e3eee9;
  color: var(--nemi-green);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
}
.reservation-detail h4 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.reservation-detail > p {
  font-size: 11px;
  color: #66544b;
  margin-top: 3px;
}
.reservation-detail dl {
  margin: 16px 0 12px;
  font-size: 11px;
}
.reservation-detail dl > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 7px;
}
.reservation-detail dt {
  color: #6a7176;
}
.reservation-detail dd {
  margin: 0;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.confirmed-state {
  border-top: 1px solid #e3ebee;
  padding-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--nemi-green);
}
.confirmed-state .icon {
  width: 14px;
  height: 14px;
}
.reservation-detail.is-changing {
  animation: detail-reveal 220ms var(--ease);
}
@keyframes detail-reveal {
  from {
    transform: translateY(5px);
    opacity: 0.6;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.public-booking {
  position: relative;
  width: 100%;
  background: #fffdf8;
  color: #282a25;
  box-shadow: 0 18px 36px #06101f52;
  border-radius: 12px;
  padding: 23px 20px;
  align-self: end;
}
.booking-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 19px;
}
.booking-top .nemi-wordmark {
  font-size: 25px;
  color: #304a3f;
}
.booking-top > span:last-child {
  font-size: 11px;
  color: #71685d;
}
.booking-professional {
  display: flex;
  align-items: center;
  gap: 9px;
  border-block: 1px solid #e5dfd5;
  padding: 12px 0;
  margin-bottom: 17px;
}
.booking-professional .avatar {
  background: #e2e8df;
  color: #304a3f;
}
.booking-professional > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.booking-professional strong {
  font-size: 12px;
  font-weight: 600;
}
.booking-professional div > span {
  font-size: 11px;
  color: #68685f;
}
.booking-date {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.booking-date .icon {
  width: 15px;
  height: 15px;
}
.booking-slots {
  display: flex;
  gap: 6px;
  margin: 12px 0;
}
.booking-slots > span {
  font-size: 11px;
  font-weight: 500;
  padding: 7px 11px;
  background: #f0ece4;
  border: 1px solid #d6d0c5;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}
.booking-slots .selected-slot {
  background: #924531;
  color: #fff;
  border-color: #924531;
}
.booking-slots .icon {
  width: 11px;
  height: 11px;
}
.booking-summary {
  font-size: 11px;
  border-bottom: 1px solid #e5dfd5;
  padding-bottom: 12px;
  color: #68685f;
}
.booking-summary strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #282a25;
  margin-top: 2px;
}
@media (max-width: 1200px) {
  .product-stage {
    padding-inline: 28px;
  }
  .product-composition {
    padding-right: 70px;
  }
  .workspace-body {
    grid-template-columns: 126px 1fr;
  }
  .workspace-sidebar {
    padding-inline: 10px;
  }
  .reservations-view {
    padding: 20px;
  }
  .reservations-grid {
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 12px;
  }
  .reservation-row {
    gap: 10px;
    padding-inline: 10px;
  }
  .reservation-status {
    font-size: 11px;
    padding: 3px 4px;
  }
  .public-booking {
    width: 270px;
    padding: 20px;
  }
}
@media (max-width: 1050px) {
  .product-composition {
    padding-right: 50px;
    padding-bottom: 100px;
  }
  .workspace-body {
    grid-template-columns: 105px 1fr;
  }
  .workspace-sidebar {
    padding-inline: 7px;
    font-size: 11px;
  }
  .sidebar-item {
    padding-inline: 8px;
  }
  .sidebar-item.active {
    gap: 5px;
  }
  .sidebar-item .icon {
    width: 12px;
    height: 12px;
  }
  .reservations-view {
    padding: 18px 16px;
  }
  .reservations-grid {
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 10px;
  }
  .reservation-person strong {
    font-size: 11px;
  }
  .reservation-person > span {
    font-size: 11px;
  }
  .reservation-status {
    display: none;
  }
  .reservation-detail {
    padding: 14px;
  }
}
@media (max-width: 760px) {
  .product-stage {
    padding: 24px;
  }
  .product-composition {
    padding-right: 0;
    padding-bottom: 160px;
  }
  .workspace-body {
    display: block;
  }
  .workspace-sidebar {
    display: none;
  }
  .workspace-bar {
    padding-inline: 18px;
  }
  .reservations-view {
    padding: 20px;
  }
  .reservations-grid {
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 14px;
  }
  .reservation-status {
    display: none;
  }
  .reservation-row {
    padding-block: 16px;
  }
  .reservation-person strong {
    font-size: 12px;
  }
  .reservation-person > span {
    font-size: 11px;
  }
  .public-booking {
    width: 250px;
    transform: rotate(1.5deg);
  }
}
@media (max-width: 639px) {
  .product-stage {
    padding: 22px 16px 18px;
    margin-inline: calc(-1 * var(--gutter));
    overflow: hidden;
  }
  .product-composition {
    padding: 0;
  }
  .nemi-workspace {
    border-radius: 10px;
    box-shadow: 0 14px 24px #08111e30;
  }
  .workspace-bar {
    height: 48px;
    padding-inline: 16px;
    font-size: 11px;
  }
  .workspace-account {
    gap: 7px;
    font-size: 11px;
  }
  .workspace-account .avatar {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }
  .demo-dot {
    display: none;
  }
  .workspace-name {
    max-width: 75px;
    font-size: 11px;
    line-height: 1.35;
  }
  .reservations-view {
    padding: 20px 16px;
  }
  .reservation-heading h3 {
    font-size: 25px;
  }
  .reservation-heading p {
    font-size: 11px;
    margin-top: 6px;
  }
  .demo-instruction {
    font-size: 11px;
    margin-top: 18px;
    margin-bottom: 12px;
    max-width: 30ch;
  }
  .reservations-grid {
    display: block;
  }
  .reservation-row {
    padding: 15px 12px;
    gap: 16px;
    margin-bottom: 9px;
  }
  .reservation-time {
    font-size: 13px;
  }
  .reservation-time > span {
    font-size: 11px;
  }
  .reservation-person strong {
    font-size: 13px;
  }
  .reservation-person > span {
    font-size: 11px;
  }
  .reservation-status {
    display: block;
    font-size: 11px;
    padding: 3px 6px;
  }
  .reservation-gap {
    font-size: 11px;
    padding: 8px 4px 16px;
    gap: 8px;
  }
  .reservation-detail {
    padding: 16px;
    min-height: 0;
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 0 12px;
  }
  .detail-top {
    grid-column: 1/-1;
    margin-bottom: 14px;
    font-size: 11px;
  }
  .detail-avatar {
    grid-row: 2/4;
    margin: 0;
    width: 36px;
    height: 36px;
    font-size: 12px;
  }
  .reservation-detail h4 {
    font-size: 17px;
    grid-column: 2;
  }
  .reservation-detail > p {
    font-size: 11px;
    grid-column: 2;
    margin-top: 2px;
  }
  .reservation-detail dl {
    grid-column: 1/-1;
    font-size: 11px;
    margin: 10px 0 14px;
  }
  .reservation-detail dl > div {
    margin-top: 8px;
  }
  .confirmed-state {
    grid-column: 1/-1;
    font-size: 11px;
  }
  .public-booking {
    position: relative;
    width: calc(100% - 20px);
    margin: 22px auto 4px;
    padding: 23px;
    transform: none;
    border-radius: 10px;
    box-shadow: 0 10px 20px #08111e25;
  }
  .booking-top .nemi-wordmark {
    font-size: 27px;
  }
  .booking-top > span:last-child {
    font-size: 11px;
  }
  .booking-professional strong {
    font-size: 13px;
  }
  .booking-professional div > span {
    font-size: 11px;
  }
  .booking-date {
    font-size: 11px;
  }
  .booking-slots > span {
    flex: 1;
    font-size: 12px;
    padding-block: 10px;
  }
  .booking-summary {
    font-size: 11px;
  }
  .booking-summary strong {
    font-size: 13px;
  }
}
@media (max-width: 359px) {
  :root {
    --gutter: 20px;
  }
  .product-stage {
    padding-inline: 12px;
  }
  .workspace-bar {
    padding-inline: 13px;
  }
  .workspace-account {
    font-size: 11px;
  }
  .reservations-view {
    padding: 18px 12px;
  }
  .reservation-row {
    gap: 10px;
    padding-inline: 10px;
  }
  .reservation-person strong {
    font-size: 12px;
  }
  .reservation-person > span {
    font-size: 11px;
  }
  .reservation-status {
    font-size: 11px;
    padding: 3px 4px;
  }
  .public-booking {
    width: calc(100% - 16px);
    padding: 20px;
  }
}
/* Product scene: separate, readable views at every width. */
.product-composition {
  padding: 0;
}
.public-booking {
  right: auto;
  bottom: auto;
  transform: none;
  margin: 0;
}
.reservation-person strong {
  font-size: 13px;
}
.reservation-person > span,
.reservation-time > span {
  font-size: 11px;
}
.reservation-time {
  font-size: 13px;
}
.reservation-row {
  gap: 10px;
  padding: 14px 10px;
}
.reservation-status {
  font-size: 11px;
  padding: 3px 5px;
}
.reservation-detail dl,
.confirmed-state {
  font-size: 12px;
}
.detail-top,
.demo-instruction,
.reservation-heading p {
  font-size: 11px;
}
.reservation-detail > p {
  font-size: 12px;
}
.booking-top {
  gap: 10px;
  margin-bottom: 14px;
}
.booking-top > span:last-child {
  font-size: 11px;
}
.booking-professional {
  margin-bottom: 16px;
  padding-block: 12px;
}
.booking-professional strong {
  font-size: 13px;
}
.booking-professional div > span {
  font-size: 11px;
}
.booking-date,
.booking-slots > span {
  font-size: 12px;
}
.booking-slots > span {
  padding: 8px 10px;
}
.booking-summary {
  font-size: 11px;
  border: 0;
  padding: 0;
}
.booking-summary strong {
  font-size: 13px;
}
@media (max-width: 1200px) {
  .product-composition {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 20px;
    padding: 0;
  }
  .public-booking {
    width: 100%;
    padding: 20px 18px;
  }
  .workspace-body {
    grid-template-columns: 104px 1fr;
  }
  .workspace-sidebar {
    padding-inline: 6px;
  }
  .sidebar-item {
    padding-inline: 6px;
  }
  .reservations-view {
    padding: 20px 16px;
  }
  .reservations-grid {
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 12px;
  }
  .reservation-status {
    display: none;
  }
  .reservation-detail {
    padding: 14px 12px;
  }
}
@media (max-width: 1050px) {
  .product-composition {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 20px;
  }
  .workspace-body {
    display: block;
  }
  .workspace-sidebar {
    display: none;
  }
  .reservations-grid {
    grid-template-columns: minmax(0, 1fr) 172px;
    gap: 10px;
  }
  .reservation-row {
    align-items: start;
    padding: 12px 9px;
  }
  .reservation-time {
    font-size: 12px;
  }
  .reservation-person strong {
    font-size: 12px;
  }
  .reservation-person > span {
    font-size: 11px;
  }
  .public-booking {
    width: 100%;
    padding: 20px 16px;
  }
  .booking-slots {
    gap: 5px;
  }
  .booking-slots > span {
    padding: 8px;
  }
}
@media (max-width: 850px) {
  .product-composition {
    grid-template-columns: 1fr;
  }
  .public-booking {
    width: 280px;
    justify-self: end;
  }
  .reservation-status {
    display: block;
  }
  .reservations-grid {
    grid-template-columns: minmax(0, 1fr) 200px;
  }
}
@media (max-width: 639px) {
  .product-stage {
    padding-top: 20px;
    padding-bottom: 16px;
  }
  .product-composition {
    gap: 18px;
  }
  .workspace-bar {
    height: 42px;
  }
  .workspace-name {
    max-width: 80px;
    font-size: 11px;
  }
  .workspace-account {
    font-size: 11px;
    gap: 7px;
  }
  .workspace-account .avatar {
    display: none;
  }
  .reservations-view {
    padding: 17px 14px;
  }
  .reservation-heading h3 {
    font-size: 24px;
  }
  .reservation-heading p {
    font-size: 11px;
    margin-top: 4px;
  }
  .demo-instruction {
    font-size: 11px;
    margin-top: 13px;
    margin-bottom: 10px;
    max-width: none;
  }
  .reservations-grid {
    display: block;
  }
  .reservation-row {
    align-items: center;
    gap: 12px;
    padding: 13px 10px;
  }
  .reservation-person strong,
  .reservation-time {
    font-size: 13px;
  }
  .reservation-person > span,
  .reservation-time > span {
    font-size: 11px;
  }
  .reservation-status {
    font-size: 11px;
    display: block;
  }
  .reservation-gap {
    font-size: 11px;
    padding: 4px 2px 13px;
  }
  .reservation-detail {
    padding: 14px;
  }
  .detail-top {
    font-size: 11px;
    margin-bottom: 12px;
  }
  .reservation-detail h4 {
    font-size: 16px;
  }
  .reservation-detail > p {
    font-size: 12px;
  }
  .reservation-detail dl {
    font-size: 12px;
    margin: 8px 0 10px;
  }
  .reservation-detail dl > div {
    margin-top: 5px;
  }
  .confirmed-state {
    font-size: 12px;
    padding-top: 8px;
  }
  .public-booking {
    width: calc(100% - 16px);
    justify-self: center;
    padding: 18px 20px;
    margin: 0;
  }
  .booking-top {
    margin-bottom: 12px;
  }
  .booking-top .nemi-wordmark {
    font-size: 25px;
  }
  .booking-professional {
    padding-block: 9px;
    margin-bottom: 13px;
  }
  .booking-date {
    font-size: 12px;
  }
  .booking-slots {
    margin-block: 10px;
  }
  .booking-slots > span {
    font-size: 12px;
    padding: 8px 10px;
  }
  .booking-summary {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: baseline;
    font-size: 11px;
  }
  .booking-summary strong {
    font-size: 12px;
    white-space: nowrap;
    margin: 0;
  }
}
@media (max-width: 359px) {
  .workspace-account {
    max-width: 145px;
    font-size: 11px;
  }
  .reservation-row {
    gap: 9px;
    padding-inline: 9px;
    flex-wrap: wrap;
  }
  .reservation-person strong {
    font-size: 12px;
  }
  .reservation-status {
    display: none;
  }
  .public-booking {
    padding-inline: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
.stage-heading {
  padding-bottom: 26px;
}
.public-booking h4 {
  font-family: inherit;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 15px;
}
@media (max-width: 639px) {
  h2 {
    font-size: 34px;
  }
  .stage-heading {
    padding: 0 8px 22px;
  }
  .stage-heading .nemi-wordmark {
    font-size: 36px;
  }
}

/* Corporate surfaces v4. Product-scene rules above retain Nemi's identity. */
.wrap {
  width: min(calc(100% - var(--gutter) * 2), var(--container));
  margin-inline: auto;
}
.section {
  padding-block: var(--section-space);
}
.site-header {
  background: var(--paper);
  position: relative;
  z-index: 5;
}
.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  line-height: 1;
  text-decoration: none;
}
.wordmark img {
  display: block;
  width: 184px;
  height: auto;
}
.site-footer .wordmark img {
  filter: brightness(0) invert(1);
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  text-decoration: none;
  transition: color 160ms;
}
.site-header nav a:hover,
.site-header nav a:active {
  color: var(--accent-hover);
  text-decoration: underline;
}
.site-header .contact-link {
  color: var(--accent);
}
.menu-toggle {
  display: none;
}
.hero {
  background: var(--midnight);
  color: var(--on-dark);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
  align-items: start;
  padding-block: 56px;
}
.hero h1 {
  font-size: clamp(54px, 5vw, 72px);
  line-height: 1.06;
  max-width: 13em;
}
.hero-side {
  min-width: 0;
}
.hero-intro p {
  max-width: 35ch;
  margin-bottom: 24px;
  color: var(--muted-dark);
  font-size: 17px;
  line-height: 1.55;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 44px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms;
}
.text-link .icon {
  width: 20px;
  height: 20px;
}
.text-link:hover,
.text-link:active {
  color: var(--accent-hover);
  text-decoration: underline;
}
.button-link {
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--white);
  border-radius: 3px;
  background: var(--white);
  color: var(--midnight);
  transition:
    background-color 160ms,
    border-color 160ms;
}
.button-link:hover {
  background: var(--ice);
  border-color: var(--ice-strong);
  color: var(--midnight);
  text-decoration: underline;
}
.button-link:active {
  background: var(--ice-strong);
  color: var(--midnight);
  transform: translateY(1px);
}
.hero :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--focus-dark);
}
.work-section {
  padding-top: 64px;
  background: var(--paper);
}
.work-heading {
  padding-top: 24px;
  margin-bottom: 32px;
  border-top: 1px solid var(--accent);
}
.project-nemi {
  padding-bottom: 64px;
}
.project-summary {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) 116.5px;
  align-items: start;
  gap: 48px;
}
.project-summary h3 {
  font-size: 28px;
  margin-bottom: 6px;
}
.project-category {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.project-summary > p {
  max-width: 55ch;
  font-size: 16px;
  line-height: 1.55;
}
.project-summary .text-link {
  white-space: nowrap;
}
.project-caption {
  padding-top: 28px;
}
.imparte-band {
  padding-block: 64px;
  background: var(--ice);
}
.section-heading {
  margin-bottom: 40px;
}
.capabilities {
  background: var(--paper);
}
.service-list {
  border-top: 1px solid var(--accent);
}
.service-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) 116.5px;
  gap: 48px;
  padding-block: 32px;
  border-bottom: 1px solid var(--line);
}
.service-name {
  display: flex;
  align-items: baseline;
  gap: 20px;
  min-width: 0;
}
.service-number {
  flex: none;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.service-row h3 {
  font-size: 27px;
}
.service-row > p {
  grid-column: 2 / -1;
  max-width: 55ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.process {
  background: var(--ice);
}
.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.process-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.step {
  padding-top: 5px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.process-list h3 {
  font-size: 25px;
}
.process-list p {
  grid-column: 2;
  max-width: 36ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.site-footer {
  background: var(--midnight);
  color: var(--on-dark);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding-block: 64px;
}
.footer-inner > a:not(.wordmark) {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 44px;
  color: var(--on-dark);
  font-size: 14px;
  text-decoration: none;
}
.footer-inner > a:not(.wordmark):hover,
.footer-inner > a:not(.wordmark):active {
  text-decoration: underline;
}
.footer-inner > a.contact-link {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: start;
  font-size: clamp(28px, 3.3vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
}
.footer-inner > .contact-link .icon {
  width: 30px;
  height: 30px;
}
.copyright {
  grid-column: 1 / -1;
  grid-row: 3;
  padding-top: 24px;
  border-top: 1px solid var(--dark-line);
  color: var(--muted-dark);
  font-size: 12px;
}
@media (max-width: 1200px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
  }
  .hero h1 {
    font-size: clamp(46px, 5vw, 62px);
  }
}
@media (max-width: 1050px) {
  .site-header nav {
    gap: 24px;
  }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 32px;
  }
  .hero h1 {
    font-size: clamp(42px, 5vw, 54px);
  }
  .project-summary,
  .service-row {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 20px 32px;
  }
  .project-summary .text-link {
    grid-column: 2;
    justify-self: start;
  }
  .process-list {
    gap: 28px;
  }
}
@media (max-width: 760px) {
  .header-inner {
    gap: 20px;
  }
  .wordmark img {
    width: 160px;
  }
  .site-header nav {
    gap: 16px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 48px;
  }
  .hero h1 {
    font-size: clamp(44px, 7vw, 54px);
  }
  .process-list {
    gap: 24px;
  }
  .process-list li {
    grid-template-columns: 1fr;
  }
  .process-list p {
    grid-column: 1;
  }
}
@media (max-width: 639px) {
  :root {
    --section-space: 64px;
  }
  h2 {
    font-size: 34px;
  }
  .header-inner {
    height: auto;
    min-height: 78px;
    padding-block: 14px;
    flex-wrap: wrap;
    gap: 8px 20px;
  }
  .site-header nav {
    flex-wrap: wrap;
    gap: 4px 20px;
  }
  .menu-toggle {
    align-items: center;
    justify-content: end;
    gap: 12px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
    font-size: 14px;
  }
  .menu-toggle:hover,
  .menu-toggle:active {
    color: var(--accent-hover);
    text-decoration: underline;
  }
  .menu-lines {
    width: 18px;
    height: 10px;
    border-block: 1px solid currentColor;
  }
  .js .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 78px;
    min-height: 0;
    padding: 0;
    gap: 0;
  }
  .js .menu-toggle {
    display: inline-flex;
  }
  .js .site-header nav {
    display: none;
  }
  .js .header-inner:has(nav.is-open) {
    grid-template-rows: 78px auto;
  }
  .js .site-header nav.is-open {
    display: flex;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-bottom: 20px;
  }
  .hero-inner {
    padding-block: 48px;
    gap: 28px;
  }
  .hero h1 {
    font-size: 44px;
    line-height: 1.06;
  }
  .hero-intro p {
    max-width: 35ch;
    font-size: 16px;
    line-height: 1.55;
  }
  .work-section {
    padding-top: 48px;
  }
  .work-heading {
    padding-top: 20px;
    margin-bottom: 24px;
  }
  .project-nemi {
    padding-bottom: 48px;
  }
  .project-summary {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .project-summary .text-link {
    grid-column: 1;
  }
  .project-caption {
    padding-top: 24px;
  }
  .imparte-band {
    padding-block: 48px;
  }
  .section-heading {
    margin-bottom: 28px;
  }
  .service-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-block: 28px;
  }
  .service-name {
    gap: 16px;
  }
  .service-row h3 {
    font-size: 25px;
  }
  .service-row > p {
    grid-column: 1;
  }
  .process-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .process-list li {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px 14px;
  }
  .process-list p {
    grid-column: 2;
  }
  .footer-inner {
    gap: 28px 16px;
    padding-block: 48px;
  }
  .footer-inner > a:not(.wordmark):not(.contact-link) {
    font-size: 12px;
    gap: 8px;
  }
  .footer-inner > a:not(.contact-link) .icon {
    width: 18px;
    height: 18px;
  }
  .footer-inner > a.contact-link {
    font-size: 28px;
    gap: 16px;
  }
  .footer-inner > .contact-link .icon {
    width: 24px;
    height: 24px;
  }
}
@media (max-width: 359px) {
  .hero h1 {
    font-size: 38px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-inner > a:not(.wordmark):not(.contact-link) {
    grid-row: 3;
    justify-self: start;
  }
  .copyright {
    grid-row: 4;
  }
  .footer-inner > a.contact-link {
    font-size: 26px;
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .text-link,
  .button-link,
  .site-header nav a {
    transition: none;
  }
}
