.nomino-transition {
  padding-block-start: 52px;
  background: #fafaf6;
}

.nomino-transition + .projects {
  padding-block-start: 33px;
}

@media(max-width: 800px) {
  .nomino-transition { padding-block-start: 34px; }
  .nomino-transition + .projects { padding-block-start: 20px; }
}

.nomino-edge {
  scroll-margin-top: 86px;
  display: flex;
  justify-content: flex-end;
  padding: 7px 0 16px;
  overflow: clip;
  background: linear-gradient(#fafaf6, #f0f3ee);
}

.nomino-tab {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 37px;
  align-items: center;
  gap: 14px;
  width: min(570px, calc(100% - 22px));
  min-height: 92px;
  padding: 14px 22px 15px 16px;
  border: 1px solid #7e91aa;
  border-right: 0;
  border-radius: 14px 0 0 14px;
  background: linear-gradient(103deg, #aebfd3, #dce7f2);
  color: #172b44;
  box-shadow: 0 4px 13px #243e5b18;
  text-decoration: none;
  transition: transform .95s cubic-bezier(.45, 0, .25, 1), box-shadow .18s ease, background .18s ease;
}

@media(prefers-reduced-motion: no-preference) {
  .nomino-edge--waiting .nomino-tab {
    transform: translateX(calc(100% + 20px));
    transition: none;
  }
}

.nomino-tab:hover {
  background: linear-gradient(103deg, #b9c9dc, #e5eef7);
  box-shadow: 0 6px 21px #243e5b2a;
}

.nomino-tab:focus-visible, .nomino-page a:focus-visible {
  outline: 2px solid #103c2e;
  outline-offset: -4px;
}

.nomino-tab:focus-visible {
  outline-color: #243e5b;
  transform: none;
  transition: none;
}

.nomino-tab-icon, .nomino-tab-arrow, .nomino-method-icon {
  display: grid;
  place-items: center;
  flex: none;
}

.nomino-tab-icon {
  width: 44px;
  height: 44px;
  border: 1px solid #243e5b55;
  border-radius: 9px;
  background: #edf4fc99;
}

.nomino-tab-arrow {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: #243e5b;
  color: #f1f6fc;
  font-size: 20px;
}

.nomino-tab-copy { display: grid; gap: 5px; }

.nomino-tab-copy > strong {
  font-size: clamp(24px, 3.25vw, 36px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.nomino-tab-copy > span {
  max-width: 48ch;
  color: #304861;
  font-size: 13px;
  line-height: 1.36;
}

.nomino-dialog-link {
  justify-self: start;
  padding-block: 7px 3px;
  color: #24563f;
  font-size: 13px;
  font-weight: 600;
  text-underline-offset: .24em;
}

.nomino-page {
  --ink: #17291f;
  --forest: #18392e;
  --paper: #f7f7f0;
  --line: #d4ded2;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.56 Arial, Helvetica, sans-serif;
}

.nomino-page *, .nomino-page *::before, .nomino-page *::after { box-sizing: border-box; }

.nomino-page-header, .nomino-page-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 16px clamp(17px, 6vw, 92px);
  background: #fafaf6;
}

.nomino-page-header { border-bottom: 1px solid var(--line); }
.nomino-page-footer { border-top: 1px solid var(--line); font-size: 13px; }

.nomino-page-header a, .nomino-page-footer a {
  color: inherit;
  text-decoration: none;
}

.nomino-page-header a:hover, .nomino-page-footer a:hover {
  text-decoration: underline;
  text-underline-offset: .25em;
}

.nomino-brand {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.04em;
}

.nomino-brand svg { flex: none; }
.nomino-back { font-size: 13px; }

.nomino-wrap {
  width: min(1080px, calc(100% - 12vw));
  margin-inline: auto;
}

.nomino-intro {
  padding: clamp(42px, 8vw, 98px) 0;
  background: linear-gradient(117deg, #ffe579, #fff4cb 69%, #f8f4dd);
}

.nomino-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(30px, 7vw, 88px);
}

.nomino-kicker {
  margin: 0 0 10px;
  color: #395c46;
  font: 600 11px/1.35 ui-monospace, monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.nomino-intro h1 {
  margin: 0;
  font-size: clamp(60px, 11vw, 130px);
  line-height: .92;
  letter-spacing: -.08em;
}

.nomino-deck {
  margin: 16px 0 11px;
  font-size: clamp(22px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.047em;
}

.nomino-lead { max-width: 51ch; margin: 0; color: #344639; }

.nomino-status {
  display: inline-block;
  margin: 18px 0 0;
  padding: 6px 10px;
  border: 1px solid #a98c365a;
  border-radius: 5px;
  background: #fffae9;
  color: #465443;
  font-size: 12px;
}

.nomino-download {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--forest);
  color: #fffdf3;
  font-weight: 700;
  text-decoration: none;
}
.nomino-download:hover { background: #24553e; }
.nomino-download-note { margin: 7px 0 0; color: #344639; font-size: 13px; }

.nomino-method {
  padding: clamp(20px, 3vw, 33px);
  border: 1px solid #bdcbbb;
  border-radius: 15px;
  background: #f8fbf4;
  box-shadow: 0 10px 28px #39492d16;
}

.nomino-method-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 15px;
  border-radius: 9px;
  background: var(--forest);
  color: #f4f8ea;
}

.nomino-method h2, .nomino-usage h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.nomino-method ol { margin: 0; padding-inline-start: 19px; }
.nomino-method li { margin-block: 8px; padding-inline-start: 4px; font-size: 14px; }
.nomino-method li::marker { color: #315e48; }

.nomino-usage {
  padding-block: 46px 55px;
}

.nomino-usage p { max-width: 68ch; margin: 0 0 12px; color: #3b4e43; }
.nomino-usage a { color: #195941; font-size: 14px; text-underline-offset: .25em; }

@media(max-width: 740px) {
  .nomino-intro-layout { grid-template-columns: 1fr; }
}

@media(max-width: 500px) {
  .nomino-edge { padding-block: 8px 14px; }
  .nomino-tab {
    grid-template-columns: 36px minmax(0, 1fr) 32px;
    gap: 10px;
    width: calc(100% - 14px);
    min-height: 91px;
    padding: 13px 13px 13px 12px;
    border-radius: 12px 0 0 12px;
  }
  .nomino-tab-icon { width: 36px; height: 36px; }
  .nomino-tab-arrow { width: 32px; height: 32px; font-size: 18px; }
  .nomino-tab-copy > span { font-size: 12px; }
}

@media(max-width: 350px) {
  .nomino-tab { grid-template-columns: minmax(0, 1fr) 32px; }
  .nomino-tab-icon { display: none; }
}

@media(prefers-reduced-motion: reduce) {
  .nomino-tab { transition: none; }
}

@media(min-width: 820px) {
  .projects .section-head .nomino-project-copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(28px, 5.2vw, 74px);
    max-width: none;
    margin: 16px 0 0;
    line-height: 1.62;
  }
  .nomino-project-copy > span { max-width: 68ch; }
}

.nomino-soon {
  display: inline-block;
  vertical-align: .32em;
  margin-left: 8px;
  padding: 4px 9px 3px;
  border-radius: 999px;
  background: #17392d;
  color: #fff9df;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}
