/* RYVN — coming soon. Light, sunlit-concrete palette from the design; Jost light type, wide tracking. */

:root {
  --wall: #f1e8df;
  --page: #ece6db;
  --strip: #f4efe9;
  --ink: #111214;
  --ink-dim: #3c3a37;
  --taupe: #594b40;
  --sand: #b49f8c;
  --footer: #0b0b0b;
  --font: 'Jost', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--strip);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.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;
}

/* ---- hero ---- */

.hero {
  display: grid;
  grid-template-columns: 535fr 585fr 480fr;
  background: var(--wall);
  max-width: 1920px;
  margin: 0 auto;
}

.hero__photo { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--left {
  object-position: left top;
  -webkit-mask-image: linear-gradient(to right, #000 82%, transparent);
  mask-image: linear-gradient(to right, #000 82%, transparent);
}
.hero__photo--right {
  object-position: right top;
  -webkit-mask-image: linear-gradient(to left, #000 80%, transparent);
  mask-image: linear-gradient(to left, #000 80%, transparent);
}

.hero__panel {
  grid-row: 1;
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3vw 0 2vw;
}
.hero__photo--left { grid-row: 1; grid-column: 1; }
.hero__photo--right { grid-row: 1; grid-column: 3; }

.brand { margin: 0; display: flex; flex-direction: column; align-items: center; }
.brand__mark { width: clamp(220px, 27vw, 430px); }
.brand__sub {
  margin-top: 1.1vw;
  font-size: clamp(10px, 0.95vw, 15px);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  font-weight: 400;
}

.soon {
  margin: clamp(28px, 5.2vw, 84px) 0 0;
  font-size: clamp(34px, 4.7vw, 76px);
  letter-spacing: 0;
  line-height: 1;
  font-weight: 300;
}
.soon span { color: var(--sand); }

.tagline {
  margin: clamp(18px, 2.6vw, 42px) 0 0;
  font-size: clamp(10px, 0.95vw, 15px);
  letter-spacing: 0.3em;
  line-height: 2;
  text-transform: uppercase;
  font-weight: 400;
}

.join {
  display: flex;
  width: min(92%, 33vw);
  min-width: 300px;
  margin-top: clamp(22px, 2.8vw, 46px);
  border: 1px solid #8f8a84;
  background: rgba(255, 255, 255, 0.55);
}
.join__input {
  flex: 1;
  min-width: 0;
  height: clamp(44px, 3.4vw, 54px);
  padding: 0 clamp(14px, 1.5vw, 24px);
  border: 0;
  background: transparent;
  font: 400 clamp(10px, 0.82vw, 13px) var(--font);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}
.join__input::placeholder { color: var(--ink-dim); opacity: 1; }
.join__input:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
.join__button {
  width: clamp(48px, 4.1vw, 66px);
  border: 0;
  background: var(--footer);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.join__button:hover { background: #2a2623; }
.join__button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.join__button:disabled { opacity: 0.6; cursor: progress; }

.join__msg {
  min-height: 1.6em;
  margin: 12px 0 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 400;
}
.join__msg[data-kind='ok'] { color: #2f5d3a; }
.join__msg[data-kind='error'] { color: #9a2b22; }

/* ---- tiles ---- */

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0.7% 4% 0.9%;
}

.tile {
  position: relative;
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 210px;
  background: linear-gradient(90deg, #5a4d42, #615851);
  color: #f3ece4;
  overflow: hidden;
  scroll-margin-top: 16px;
}
.tile__text {
  grid-row: 1;
  position: relative;
  z-index: 1;
  grid-column: 1;
  align-self: center;
  padding: 0 0 0 clamp(20px, 3.6vw, 56px);
}
.tile h2 {
  margin: 0;
  font-size: clamp(17px, 1.65vw, 26px);
  font-weight: 300;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
}
.tile hr { width: 24px; margin: 14px 0; border: 0; border-top: 1px solid #cdbfb2; }
.tile p {
  margin: 0;
  font-size: clamp(9px, 0.78vw, 12px);
  letter-spacing: 0.22em;
  line-height: 1.75;
  text-transform: uppercase;
  font-weight: 400;
  color: #e6dbd0;
}
.tile__photo {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: end;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 22%);
  mask-image: linear-gradient(to right, transparent, #000 22%);
}

/* ---- story ---- */

.story {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) 24px;
  text-align: center;
  scroll-margin-top: 16px;
}
.story h2 {
  margin: 0 0 20px;
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.story p { margin: 0; font-size: 17px; line-height: 1.8; color: var(--ink-dim); }
.story__cta {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 28px;
  border: 1px solid var(--ink);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 400;
}
.story__cta:hover { background: var(--ink); color: #fff; }

/* ---- footer ---- */

.foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 3vw, 44px) 4%;
  background: var(--footer);
  color: #f2efea;
}
.foot__brand { display: inline-flex; flex-direction: column; align-items: center; width: max-content; text-decoration: none; }
.foot__brand img { width: clamp(110px, 10vw, 150px); filter: invert(1); }
.foot__brand span { margin-top: 6px; font-size: 9px; letter-spacing: 0.34em; text-transform: uppercase; font-weight: 400; }
.foot__nav { display: flex; gap: clamp(14px, 2.2vw, 36px); }
.foot__nav a {
  font-size: clamp(10px, 0.78vw, 12px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 400;
}
.foot__nav a + a { padding-left: clamp(14px, 2.2vw, 36px); border-left: 1px solid #5a5753; }
.foot__nav a:hover, .foot__social a:hover { opacity: 0.7; }
.foot__social { display: flex; gap: 28px; justify-self: end; }
.foot__legal { grid-column: 1 / -1; margin: 0; text-align: center; font-size: 11px; letter-spacing: 0.16em; color: #8a8681; }

/* ---- tablet / phone ---- */

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero__photo { height: 56vw; max-height: 380px; -webkit-mask-image: none; mask-image: none; }
  .hero__photo--left { grid-row: 1; grid-column: 1; }
  .hero__photo--right { grid-row: 1; grid-column: 2; }
  .hero__panel { grid-row: 2; grid-column: 1 / -1; padding: 40px 0 48px; }
  .brand__mark { width: clamp(200px, 56vw, 300px); }
  .brand__sub { font-size: 11px; margin-top: 12px; }
  .soon { font-size: clamp(36px, 11vw, 56px); margin-top: 36px; }
  .tagline { font-size: 11px; margin-top: 20px; }
  .join { width: min(88%, 440px); margin-top: 28px; }
  .join__input { font-size: 11px; height: 50px; }
  .join__button { width: 56px; }

  .tiles { grid-template-columns: 1fr; gap: 12px; padding: 12px; }
  .tile h2 { font-size: 18px; }
  .tile p { font-size: 10px; }

  .foot { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 22px; }
  .foot__nav { flex-wrap: wrap; justify-content: center; row-gap: 12px; }
  .foot__social { justify-self: center; }
}
