/* Akira Furniture — coming soon
   ink #171B1F  panel #20262B  slate #64727E  mist #A9B4BC  paper #EFECE6  brass #C08A4E */

:root {
  --ink:    #171b1f;
  --panel:  #20262b;
  --slate:  #64727e;
  --mist:   #a9b4bc;
  --paper:  #efece6;
  --brass:  #c08a4e;
  --edge:   rgba(233, 236, 238, .14);

  --step-0: 1rem;
  --step-1: 1.15rem;
  --step-2: clamp(2.1rem, 4.4vw, 3.9rem);
  --step-3: clamp(2.4rem, 4.8vw, 3.4rem);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ---------------------------------------------------------- layout */

.stage {
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
}

.panel {
  background: var(--panel);
  display: flex;
  align-items: center;
  padding: clamp(1.75rem, 4vw, 4.5rem);
}

.panel__inner {
  width: 100%;
  max-width: 34rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1.6rem, 3vh, 2.6rem);
}

/* ---------------------------------------------------------- brand */

.brand {
  display: flex;
  align-items: baseline;
  gap: .75rem;
}

.brand__name {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: .01em;
}

.brand__rule {
  flex: 0 0 3.25rem;
  height: 2px;
  background: var(--brass);
  transform-origin: left center;
}

.brand__suffix {
  font-size: .95rem;
  color: var(--mist);
  letter-spacing: .06em;
}

/* ---------------------------------------------------------- lede */

.lede { display: flex; flex-direction: column; gap: 1rem; }

.lede__title {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-weight: 300;
  font-size: var(--step-2);
  font-variation-settings: "opsz" 120, "SOFT" 20;
  line-height: 1.04;
  letter-spacing: -.015em;
}

.lede__text {
  margin: 0;
  max-width: 46ch;
  color: var(--mist);
}

/* ---------------------------------------------------------- count */

.count {
  display: flex;
  gap: clamp(1.1rem, 3vw, 2.2rem);
  padding: 1.15rem 0;
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
}

.count__unit { display: flex; flex-direction: column; gap: .15rem; }

.count__num {
  font-family: Fraunces, Georgia, serif;
  font-weight: 400;
  font-size: var(--step-3);
  font-variation-settings: "opsz" 144;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  display: inline-block;
}

.count__label {
  font-size: .78rem;
  color: var(--slate);
  letter-spacing: .04em;
}

/* ---------------------------------------------------------- form */

.notify { display: flex; flex-direction: column; gap: .6rem; }

.notify__label { font-size: .9rem; color: var(--mist); }

.notify__row { display: flex; gap: .5rem; flex-wrap: wrap; }

.notify__input {
  flex: 1 1 13rem;
  min-width: 0;
  padding: .8rem .95rem;
  background: rgba(0, 0, 0, .22);
  border: 1px solid var(--edge);
  border-radius: 2px;
  color: var(--paper);
  font: inherit;
  transition: border-color .2s ease, background .2s ease;
}

.notify__input::placeholder { color: #6d7a85; }

.notify__input:focus-visible,
.notify__btn:focus-visible,
.foot__link:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

.notify__input:focus { border-color: var(--slate); background: rgba(0, 0, 0, .34); }

.notify__btn {
  flex: 0 0 auto;
  padding: .8rem 1.5rem;
  background: var(--paper);
  color: var(--ink);
  border: 0;
  border-radius: 2px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.notify__btn:hover { background: var(--brass); color: #14181c; }
.notify__btn[disabled] { opacity: .6; cursor: default; }

.notify__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice {
  margin: 0;
  font-size: .9rem;
  min-height: 1.25rem;
  opacity: 0;
  color: var(--mist);
}

.notice.is-on { opacity: 1; }
.notice--success { color: #9ec6a6; }
.notice--error   { color: #e0a08c; }

/* ---------------------------------------------------------- foot */

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.4rem;
  padding-top: .4rem;
  border-top: 1px solid var(--edge);
  font-size: .88rem;
  color: var(--slate);
}

.foot__social { display: flex; gap: 1.1rem; }

.foot__link {
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.foot__link:hover { color: var(--paper); border-bottom-color: var(--brass); }

/* ---------------------------------------------------------- image */

.showpiece {
  position: relative;
  overflow: hidden;
  background: #d9d5cd;
}

.showpiece__frame {
  position: absolute;
  inset: -3%;
  clip-path: inset(0 0 100% 0);
}

.showpiece__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
}

.showpiece__caption {
  position: absolute;
  left: clamp(1.25rem, 2.5vw, 2.25rem);
  bottom: clamp(1.25rem, 2.5vw, 2.25rem);
  margin: 0;
  padding: .55rem .9rem;
  max-width: 22rem;
  background: rgba(23, 27, 31, .82);
  color: var(--paper);
  font-size: .85rem;
  border-radius: 2px;
  opacity: 0;
}

/* ---------------------------------------------------------- small screens */

@media (max-width: 900px) {
  .stage { grid-template-columns: 1fr; grid-template-rows: 38vh auto; }
  .showpiece { order: -1; }
  .panel { padding-block: clamp(2rem, 6vw, 3rem); }
  .count { gap: 1.25rem; }
}

@media (max-width: 380px) {
  .count { flex-wrap: wrap; }
}

/* ---------------------------------------------------------- motion off */

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .showpiece__frame { clip-path: none; }
  .showpiece__caption { opacity: 1; }
}
