@font-face {
  font-family: "Ashgabat";
  src: url("assets/ashgabat.otf") format("opentype");
  font-display: swap;
}

:root {
  --paper: #0e0c0a;
  --ink: #e7d6b1;
  --accent: #a8895a;
  --panel: #17130e;
  --soft: rgba(231, 214, 177, .16);
  --muted: rgba(231, 214, 177, .66);
  --inverse: #0e0c0a;
}

* {
  box-sizing: border-box;
}

html {
  background: #090806;
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
}

body {
  margin: 0;
  min-width: 320px;
}

button,
input,
select {
  font: inherit;
}

.page-shell {
  min-height: 100svh;
  padding: clamp(14px, 2.5vw, 34px);
}

.hero {
  --split-pos: 61.832%;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(320px, 1fr);
  min-height: min(900px, calc(100svh - clamp(28px, 5vw, 68px)));
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}

.left-panel,
.right-panel {
  min-width: 0;
}

.left-panel {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 4vw, 44px);
  padding: clamp(28px, 4.8vw, 60px);
}

.right-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 44px) clamp(22px, 3vw, 34px);
  color: var(--inverse);
  background: var(--ink);
}

.top-label,
.right-top p,
.right-bottom p,
.section-label {
  margin: 0;
  font-size: 9px;
  line-height: 1;
  letter-spacing: .32em;
  text-transform: uppercase;
  opacity: .62;
}

.hero-copy {
  width: min(100%, 520px);
  margin-top: clamp(8px, 2vw, 22px);
}

h1 {
  display: flex;
  flex-direction: column;
  margin: 0 0 clamp(16px, 2.5vw, 24px);
  line-height: .88;
}

.coming {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(54px, 6.75vw, 90px);
  font-style: italic;
  font-weight: 300;
}

.soon {
  align-self: flex-start;
  font-family: "Antic Didone", serif;
  font-size: clamp(30px, 3.75vw, 51px);
  letter-spacing: .04em;
  transform: scaleY(1.3);
  transform-origin: left center;
}

.subhead {
  max-width: 520px;
  margin: 0 0 18px;
  font-family: "Tenor Sans", sans-serif;
  font-size: clamp(13px, 1.25vw, 16px);
  line-height: 1.65;
  letter-spacing: .02em;
}

.early-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  opacity: .75;
}

.early-line span {
  width: 24px;
  height: 1px;
  background: currentColor;
}

.early-line p {
  margin: 0;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .42em;
  text-transform: uppercase;
}

.signup-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 420px);
  order: 3;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
  width: min(100%, 420px);
  margin: clamp(34px, 5vw, 64px) auto 0;
}

.contact-links p {
  margin: 0 0 12px;
  color: currentColor;
  opacity: .55;
  font-size: 9px;
  line-height: 1.45;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.contact-links a {
  color: currentColor;
  opacity: .74;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
}

.contact-links a:hover {
  opacity: 1;
}

.signup-form label,
.signup-form button,
.signup-form .form-note {
  grid-column: span 1;
}

.signup-form label:nth-of-type(1),
.signup-form label:nth-of-type(2),
.signup-form .other-field,
.signup-form button,
.signup-form .form-note {
  grid-column: 1 / -1;
}

.signup-form input,
.signup-form select {
  width: 100%;
  height: 36px;
  padding: 0 11px;
  color: inherit;
  background: transparent;
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
  border-radius: 1px;
  outline: none;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .04em;
}

.signup-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 4.4 6 8.1l3.8-3.7' fill='none' stroke='%23e7d6b1' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 10% center;
  background-repeat: no-repeat;
  background-size: 12px 12px;
  padding-right: 40px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.signup-form input:focus,
.signup-form select:focus {
  border-color: color-mix(in srgb, currentColor 68%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

.signup-form button {
  height: 42px;
  margin-top: 2px;
  color: var(--inverse);
  background: var(--accent);
  border: 1px solid var(--accent);
  cursor: pointer;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .24em;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.signup-form button:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 22%, transparent);
}

.form-note {
  min-height: 15px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.services {
  margin-top: auto;
  order: 4;
}

.section-label {
  margin-bottom: 14px;
  letter-spacing: .48em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.service-grid article {
  display: flex;
  min-height: 148px;
  padding: 16px 14px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  background: color-mix(in srgb, currentColor 4%, transparent);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.service-grid article:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, currentColor 50%, transparent);
  background: color-mix(in srgb, currentColor 8%, transparent);
  box-shadow: 0 18px 34px -26px color-mix(in srgb, currentColor 50%, transparent);
}

.service-grid span {
  font-family: "Antic Didone", serif;
  font-size: 13px;
  letter-spacing: .08em;
  opacity: .5;
}

.service-grid h2 {
  margin: 0 0 7px;
  font-family: "Antic Didone", serif;
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: .04em;
  transform: scaleY(1.16);
  transform-origin: left bottom;
}

.service-grid p {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 11px;
  font-style: italic;
  line-height: 1.32;
  opacity: .72;
}

.right-top,
.right-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.mobile-logo {
  display: none;
}

.mobile-est {
  display: none;
}

.mobile-instagram {
  display: none;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  opacity: .75;
  font-size: 9px;
  line-height: 1;
  letter-spacing: .18em;
}

.instagram-link svg,
.mobile-instagram svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.figure-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: clamp(12px, 3vw, 34px) 0 10px;
}

.fashion-figure {
  width: min(74%, 260px);
  aspect-ratio: 416 / 714.43;
  background: currentColor;
  -webkit-mask: url("assets/fashion-figure.svg") center / contain no-repeat;
  mask: url("assets/fashion-figure.svg") center / contain no-repeat;
}

.signature {
  font-family: "Ashgabat", "Italianno", cursive;
  font-size: clamp(26px, 3vw, 32px) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  opacity: 1 !important;
}

.seam-wordmark {
  --word-size: clamp(58px, 7.2vw, 105px);
  --lens-size: calc(var(--word-size) * .858);
  position: absolute;
  top: 14%;
  left: var(--split-pos);
  z-index: 20;
  display: block;
  width: var(--lens-size);
  height: var(--word-size);
  color: var(--ink);
  transform: translateX(-50%);
  pointer-events: none;
}

.seam-wordmark span {
  position: absolute;
  top: 50%;
  font-family: "Antic Didone", serif;
  font-size: var(--word-size);
  line-height: 1;
  letter-spacing: .10em;
  white-space: nowrap;
  transform: translateY(-50%) scaleY(1.12);
}

.seam-wordmark span:first-child {
  right: calc(100% + .08em);
  color: var(--ink);
}

.seam-wordmark span:last-child {
  left: calc(100% + .08em);
  color: var(--inverse);
}

.split-lens {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: var(--lens-size);
  height: var(--lens-size);
  transform: translate(-50%, -50%) !important;
}

.seam-wordmark .split-lens svg {
  position: absolute;
  inset: 0;
  width: var(--lens-size);
  height: var(--lens-size);
  fill: none;
  stroke: currentColor;
  stroke-width: 3.3;
}

.seam-wordmark .lens-left {
  color: var(--ink);
  clip-path: inset(0 49.4% 0 0);
}

.seam-wordmark .lens-right {
  color: var(--inverse);
  clip-path: inset(0 0 0 49.4%);
}

.seam-wordmark .split-lens svg circle:nth-child(4),
.seam-wordmark .split-lens svg ellipse {
  fill: currentColor;
  stroke: none;
}

.site-credit {
  position: absolute;
  left: clamp(20px, 3vw, 34px);
  bottom: clamp(18px, 2.5vw, 30px);
  z-index: 30;
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1;
  letter-spacing: .22em;
  text-transform: uppercase;
  pointer-events: none;
}

.mobile-logo svg circle:nth-child(4),
.mobile-logo svg ellipse {
  fill: currentColor;
  stroke: none;
}

.hidden,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1180px) {
  .hero {
    --split-pos: 61.702%;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .9fr);
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-grid article {
    min-height: 132px;
  }
}

@media (max-width: 900px) {
  .page-shell {
    padding: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 100svh;
    box-shadow: none;
  }

  .left-panel {
    order: 2;
    padding: clamp(24px, 5vw, 44px);
  }

  .hero-copy {
    order: 1;
  }

  .left-panel > .top-label {
    display: none;
  }

  .right-panel {
    min-height: 100svh;
    order: 1;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto auto 1fr auto;
    row-gap: clamp(20px, 5vw, 36px);
  }

  .right-top {
    align-items: center;
    flex-direction: row;
    order: 2;
    grid-column: 1;
    position: static;
    z-index: auto;
  }

  .right-top .instagram-link {
    display: none;
  }

  .right-top p {
    text-align: left;
  }

  .mobile-est {
    display: block;
    order: 2;
    grid-column: 2;
    justify-self: end;
    align-self: center;
    position: static;
    z-index: auto;
    margin: 0;
    text-align: right;
    font-size: 9px;
    line-height: 1;
    letter-spacing: .32em;
    text-transform: uppercase;
    opacity: .62;
  }

  .mobile-instagram {
    display: inline-flex;
    align-items: center;
    align-self: center;
    justify-content: center;
    order: 5;
    grid-column: 1 / -1;
    gap: 8px;
    margin: 0 0 clamp(24px, 8vw, 56px);
    transform: none;
    color: inherit;
    text-decoration: none;
    opacity: .75;
    font-size: 9px;
    line-height: 1;
    letter-spacing: .18em;
  }

  .seam-wordmark {
    display: none;
  }

  .mobile-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 1;
    grid-column: 1 / -1;
    margin: 14px 0 0;
    color: currentColor;
  }

  .mobile-logo span {
    font-family: "Antic Didone", serif;
    font-size: clamp(54px, 12vw, 96px);
    line-height: 1;
    letter-spacing: .10em;
    transform: scaleY(1.14);
  }

  .mobile-logo svg {
    width: clamp(46px, 10vw, 80px);
    height: clamp(46px, 10vw, 80px);
    margin: 0 .12em;
    fill: none;
    stroke: currentColor;
    stroke-width: 3.3;
  }

  .figure-wrap {
    flex: 0 0 auto;
    order: 3;
    grid-column: 1 / -1;
    min-height: 0;
    align-items: center;
    padding: 0;
  }

  .contact-links {
    order: 4;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: clamp(22px, 6vw, 36px);
    width: min(100%, 360px);
    margin: clamp(18px, 5vw, 34px) auto 0;
    text-align: center;
  }

  .right-bottom {
    order: 6;
    grid-column: 1 / -1;
    margin-top: auto;
  }

  .fashion-figure {
    width: min(56%, 290px);
  }

  .hero-copy {
    margin-top: 10px;
  }

  .services {
    margin-top: 0;
    order: 3;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signup-form {
    width: min(100%, 520px);
    order: 2;
  }

  .site-credit {
    position: fixed;
    color: var(--muted);
  }
}

@media (max-width: 620px) {
  .left-panel {
    gap: 28px;
  }

  .coming {
    font-size: clamp(51px, 14.25vw, 69px);
  }

  .soon {
    font-size: clamp(29px, 8.25vw, 41px);
  }

  .subhead {
    font-size: 14px;
  }

  .early-line {
    align-items: flex-start;
  }

  .early-line p {
    line-height: 1.5;
  }

  .signup-form {
    grid-template-columns: 1fr;
  }

  .signup-form label,
  .signup-form button,
  .signup-form .form-note {
    grid-column: 1 / -1;
  }

  .signup-form input,
  .signup-form select {
    height: 40px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid article {
    min-height: 148px;
    padding: 14px 12px;
  }

  .right-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .fashion-figure {
    width: min(66%, 230px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
}
