.logo {
  position: relative;
  display: block;
  
  
  width: 86.13%;
  
  
  margin-right: 6.23%;
  color: var(--ink);
  transition: color var(--dur) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.logo svg { width: 100%; height: auto; }
.logo__fill { position: absolute; inset: 0; }

.logo__fill {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.55s cubic-bezier(0.33, 0, 0.1, 1);
}
.logo:hover .logo__fill { clip-path: inset(0 0 0 0); }

[data-theme="mat"] .logo__fill { clip-path: inset(0 0 0 0); }
[data-theme="mat"] .logo:hover .logo__fill { clip-path: inset(100% 0 0 0); }

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

.logo:active { opacity: 0.6; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  
  width: auto;
  min-width: clamp(140px, calc(var(--cell) * 1.42), 158px);
  white-space: nowrap;
  height: clamp(40px, calc(var(--cell) * 0.4), 46px);
  padding: 0 1em;
  font-size: var(--fs-ui);
  letter-spacing: var(--tracking-ui);
  border: var(--hairline) solid var(--ink);
  transition: background-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}
.btn .icon { width: 1.05em; height: 1.05em; }

.btn--face { background: var(--btn-face); color: var(--btn-face-ink); }
.btn--face:hover { background: var(--btn-solid); color: var(--btn-solid-ink); }

.btn[hidden] { display: none; }

.btn--solid { background: var(--btn-solid); color: var(--btn-solid-ink); border-color: var(--btn-solid); }
.btn--solid:hover { background: transparent; color: var(--btn-solid); }

.btn--mint { min-width: clamp(150px, calc(var(--cell) * 1.52), 168px); }

.btn[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.wallet {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  height: clamp(32px, calc(var(--cell) * 0.33), 38px);
  padding: 0 0.9em;
  font-size: var(--fs-ui);
  white-space: nowrap;
  
  color: var(--ink);
  background: transparent;
  box-shadow: inset 0 0 0 var(--hairline) var(--ink);
  
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  border: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.wallet:hover { color: var(--ink-reverse); background: var(--ink); }
.wallet:focus-visible { outline: var(--hairline) solid var(--ink); outline-offset: 3px; }
.wallet .icon { width: 1.1em; height: 1.1em; }

.notice {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--tracking-ui);
  
  color: var(--notice);
  text-align: center;
}

.notice--error {
  color: var(--warn);
  background: #ffffff;
  border: var(--hairline) solid var(--warn);
  padding: 0.55em 0.8em;
  margin-top: calc(var(--cell) * 0.10);
}
.notice--error[hidden] { display: none; }

.readout {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1em;
  padding: 0.72em 0.2em;
  border-top: var(--hairline) solid var(--field-line);
  border-bottom: var(--hairline) solid var(--field-line);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--tracking-ui);
  color: var(--ink-body);
}
.readout__label { min-width: 0; }
.readout__value { font-weight: 400; white-space: nowrap; }

.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9em;
  color: var(--ink-body);
}
.stepper__btn {
  width: 1.6em;
  height: 1.6em;
  display: grid;
  place-items: center;
  font-size: var(--fs-ui);
  line-height: 1;
  color: var(--ink-body);
}
.stepper__btn:hover { color: var(--hover); }
.stepper__value {
  width: clamp(58px, calc(var(--cell) * 0.62), 70px);
  height: clamp(38px, calc(var(--cell) * 0.42), 46px);
  display: grid;
  place-items: center;
  font-size: var(--fs-ui);
  font-variant-numeric: tabular-nums;
  border: var(--hairline) solid var(--field-line);
  color: var(--ink-body);
}

.links {
  display: flex;
  gap: clamp(10px, calc(var(--cell) * 0.12), 14px);
  justify-content: center;
  color: var(--ink);
}
.links a { display: block; }
.links .icon { width: clamp(22px, calc(var(--cell) * 0.25), 28px); height: clamp(22px, calc(var(--cell) * 0.25), 28px); }
.links .icon path { fill: currentColor; }
.links a:hover { color: var(--hover); }

.link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: var(--hairline);
  text-underline-offset: 0.22em;
  transition: color var(--dur-fast) var(--ease);
}
.link:hover { color: var(--hover); }

.readout[hidden],
.stepper[hidden],
.hero__actions[hidden] { display: none; }

.mint__after {
  display: flex;
  gap: calc(var(--cell) * 0.25);
  width: 100%;
}
.mint__after .btn { flex: 1 1 0; }
.mint__after[hidden] { display: none; }
