:root {
  --paper: #ede7da;
  --ink: #0b0b0b;
  --drs: #f86224;
  --gutter: clamp(20px, 4.7vw, 80px);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Page: full-bleed image, text overlaid (as in the reference) ---------- */
.page {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.art {
  position: absolute;
  inset: 0;
}

.art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 50%;
  animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) both;
}

/* ---------- Top: logo + tagline left, Brescia right ---------- */
.top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: clamp(20px, 3.8vw, 40px) var(--gutter) 0;
}

.logo {
  margin: 0;
  font-weight: 800;
  font-stretch: 68%;
  font-size: clamp(2rem, 4.1vw, 4rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.mono {
  margin: 0;
  font-family: var(--mono);
  font-weight: 400;
  font-size: clamp(.64rem, .78vw, .78rem);
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.35;
}

.tagline { margin-top: clamp(18px, 2.2vw, 30px); }

.place {
  text-align: right;
  padding-top: clamp(.4rem, 1.1vw, 1.1rem);
}

.dashed::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  margin-top: 10px;
  background: currentColor;
}

.place.dashed::after { margin-left: auto; }

/* ---------- Bottom: buttons left, "Ideas in progress" right ---------- */
.bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--gutter) clamp(20px, 3.8vw, 40px);
}

.buttons {
  display: flex;
  gap: 12px;
}

.soon {
  --s: clamp(.64rem, .78vw, .78rem);
  text-align: right;
}
.soon .mono { font-size: var(--s); }
.soon .dashed::after { margin-left: auto; }

/* same typeface as "Ideas in progress", twice the size, red and blinking */
.soon .soon-sub {
  margin-top: clamp(14px, 1.6vw, 22px);
  font-size: calc(var(--s) * 2);
  color: var(--drs);
  animation: blink 1.4s steps(1, end) infinite;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 210px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

.btn-solid { background: var(--ink); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); }

.btn:hover,
.btn:focus-visible {
  background: var(--drs);
  border-color: var(--drs);
  color: var(--ink);
}

.btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.arrow {
  width: 26px;
  height: 11px;
  flex: none;
  transition: transform .25s ease;
}
.arrow-ne { width: 11px; }

.btn-solid:hover .arrow { transform: translateX(5px); }
.btn-ghost:hover .arrow { transform: translate(3px, -3px); }

/* ---------- Portrait / small screens: whole composition stays visible ---------- */
@media (max-aspect-ratio: 1/1), (max-width: 720px) {
  .page {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100svh;
    height: auto;
  }

  .art {
    position: relative;
    grid-row: 2;
    align-self: center;
    inset: auto;
  }

  .art img {
    height: auto;
    aspect-ratio: 1672 / 941;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 94%, transparent);
            mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 94%, transparent);
  }

  .top {
    grid-row: 1;
    padding-top: max(24px, env(safe-area-inset-top));
  }

  .place { font-size: .64rem; }

  .bar {
    grid-row: 3;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 28px;
    padding-bottom: max(28px, env(safe-area-inset-bottom));
  }

  /* Ideas in progress stays right, Coming soon sits to its left */
  .soon {
    --s: .72rem;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
  }
  .soon .soon-sub { margin-top: 0; text-align: left; }

  .buttons { flex-direction: column; }
  .btn { min-height: 58px; }
}

/* Short landscape phones */
@media (max-height: 520px) and (min-aspect-ratio: 1/1) {
  .tagline { display: none; }
  .btn { min-height: 44px; }
}

/* ---------- Motion ---------- */
@keyframes rise {
  from { opacity: 0; transform: scale(1.03); }
  to   { opacity: 1; transform: none; }
}

@keyframes blink {
  0%, 60% { opacity: 1; }
  61%, 100% { opacity: .12; }
}

@media (prefers-reduced-motion: reduce) {
  .art img, .soon-sub { animation: none; }
  .btn, .arrow { transition: none; }
}
