/* WHITESET — temporary coming-soon landing
   Geometry from whiteset.pen «00 Desktop — Coming Soon»; fluid type for wide screens */

:root {
  --bg: #ffffff;
  --bg-warm: #f9f8f5;
  --bg-icon: #faf9f6;
  --text-primary: #1f1f1f;
  --text-secondary: #6b6b6b;
  --accent: #3c4858;
  --line: #e4e0d8;
  --white: #ffffff;
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", "Helvetica Neue", sans-serif;
  --radius: 6px;
  --radius-lg: 8px;

  /* Desktop fluid tokens (overridden per breakpoint) */
  --page-pad: clamp(48px, 5vw, 72px);
  --content-max: 560px;
  --content-gap: clamp(32px, 3.2vh, 48px);
  --logo-size: clamp(17px, 1.25vw, 18px);
  --tagline-size: 10px;
  --title-size: clamp(36px, 3.5vw, 48px);
  --status-size: 16px;
  --body-size: 15px;
  --cat-icon: 48px;
  --cat-svg: 20px;
  --cat-label: 11px;
  --cta-pad: 20px;
  --cta-text: 14px;
  --btn-pad-y: 14px;
  --btn-pad-x: 20px;
  /* Hero panel starts left of the diagonal so img only covers visible wedge */
  --hero-inset: 46%;
}

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

html,
body {
  height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--bg);
}

/* Hero panel only on the photo side — avoids upscaling a half-width image across 100vw */
.hero {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: var(--hero-inset);
  z-index: 0;
  /* Diagonal in full-page coords: top 59.72%, bottom 48.61%.
     Relative to panel starting at 46%: top (59.72-46)/54≈25.4%, bottom (48.61-46)/54≈4.8% */
  clip-path: polygon(25.41% 0, 100% 0, 100% 100%, 4.83% 100%);
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 20% center;
  display: block;
}

.content {
  position: relative;
  z-index: 2;
  /* Fill the white wedge (bottom edge ≈ 48.61vw) confidently */
  width: min(var(--content-max), calc(48.61vw - var(--page-pad) - 32px));
  margin-left: var(--page-pad);
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(40px, 5.5vh, 72px) 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--content-gap);
}

.content__top {
  display: flex;
  flex-direction: column;
  gap: var(--content-gap);
}

.brand {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.2vw, 22px);
}

.brand__logo {
  /* Inter + tight tracking; closes Cormorant E|S optical hole → WHITESET */
  font-family: var(--font-body);
  font-size: var(--logo-size);
  font-weight: 600;
  letter-spacing: -0.08em;
  word-spacing: 0;
  font-kerning: normal;
  color: var(--text-primary);
  white-space: nowrap;
  line-height: 1;
  text-transform: none;
}

.brand__logo-es {
  margin-left: -0.1em;
}

.brand__divider {
  width: 1px;
  height: calc(var(--logo-size) * 1.55);
  background: var(--line);
  flex-shrink: 0;
}

.brand__tagline {
  font-family: var(--font-body);
  font-size: var(--tagline-size);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: var(--text-secondary);
  max-width: 26ch;
  text-transform: uppercase;
}

.intro {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vh, 20px);
}

.intro__title {
  font-family: var(--font-heading);
  font-size: var(--title-size);
  font-weight: 500;
  line-height: 1.08;
  color: var(--text-primary);
  max-width: 15ch;
}

.intro__status {
  font-family: var(--font-body);
  font-size: var(--status-size);
  font-weight: 500;
  color: var(--accent);
}

.intro__body {
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 38em;
}

.categories {
  list-style: none;
  display: flex;
  gap: clamp(16px, 1.4vw, 28px);
  width: 100%;
}

.categories__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  min-width: 0;
}

.categories__icon {
  width: var(--cat-icon);
  height: var(--cat-icon);
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.categories__icon svg {
  width: var(--cat-svg);
  height: var(--cat-svg);
}

.categories__label {
  font-family: var(--font-body);
  font-size: var(--cat-label);
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-secondary);
}

.cta {
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--cta-pad);
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.cta__text {
  font-family: var(--font-body);
  font-size: var(--cta-text);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-primary);
}

.cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: flex-start;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: var(--cta-text);
  font-weight: 500;
  line-height: 1;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--radius);
  transition: background 0.2s ease, transform 0.15s ease;
}

.cta__btn:hover {
  background: #323d4b;
}

.cta__btn:active {
  transform: translateY(1px);
}

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

.cta__btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.cta__url {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  word-break: break-all;
}

/* —— Large desktops: fill the white wedge —— */
@media (min-width: 1440px) {
  :root {
    --page-pad: clamp(80px, 5.5vw, 108px);
    --content-max: 700px;
    --content-gap: clamp(36px, 3.8vh, 56px);
    --logo-size: 24px;
    --tagline-size: 11px;
    --title-size: clamp(50px, 3.4vw, 58px);
    --status-size: 17px;
    --body-size: 16px;
    --cat-icon: 54px;
    --cat-svg: 22px;
    --cat-label: 12px;
    --cta-pad: 22px;
    --cta-text: 15px;
  }
}

@media (min-width: 1800px) {
  :root {
    --page-pad: clamp(100px, 6vw, 140px);
    --content-max: 860px;
    --content-gap: clamp(44px, 4.2vh, 64px);
    --logo-size: 28px;
    --tagline-size: 13px;
    --title-size: clamp(56px, 3.3vw, 68px);
    --status-size: 18px;
    --body-size: 17px;
    --cat-icon: 58px;
    --cat-svg: 23px;
    --cat-label: 13px;
    --cta-pad: 26px;
    --cta-text: 16px;
    --btn-pad-y: 16px;
    --btn-pad-x: 26px;
  }

  .brand__tagline {
    max-width: 30ch;
    letter-spacing: 0.12em;
  }

  .intro__title {
    max-width: 14ch;
  }
}

@media (min-width: 2200px) {
  :root {
    --page-pad: clamp(120px, 6.2vw, 168px);
    --content-max: 980px;
    --logo-size: 32px;
    --tagline-size: 14px;
    --title-size: clamp(64px, 3vw, 76px);
    --status-size: 20px;
    --body-size: 18px;
    --cat-icon: 64px;
    --cat-svg: 25px;
    --cat-label: 13px;
    --cta-text: 17px;
  }
}

/* Short desktop viewports */
@media (min-width: 861px) and (max-height: 820px) {
  :root {
    --content-gap: 28px;
  }

  .content {
    padding: 40px 0;
  }
}

/* —— Mobile —— */
@media (max-width: 860px) {
  .page {
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }

  .hero {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: min(44vh, 340px);
    flex-shrink: 0;
    clip-path: none;
  }

  .hero__img {
    object-position: center 40%;
  }

  .content {
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 0;
    padding: 32px 24px 40px;
    gap: 32px;
    background: var(--white);
  }

  .content__top {
    gap: 28px;
  }

  .brand {
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand__logo {
    font-size: 16px;
    letter-spacing: -0.08em;
    word-spacing: 0;
  }

  .brand__tagline {
    max-width: none;
    flex: 1 1 180px;
    font-size: 10px;
  }

  .intro__title {
    font-size: 32px;
    max-width: none;
  }

  .intro__status {
    font-size: 15px;
  }

  .intro__body {
    font-size: 14px;
  }

  .categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 12px;
  }

  .categories__icon {
    width: 48px;
    height: 48px;
  }

  .categories__icon svg {
    width: 20px;
    height: 20px;
  }

  .categories__label {
    font-size: 11px;
  }

  .cta__btn {
    align-self: stretch;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .content {
    padding: 28px 20px 36px;
  }

  .brand__divider {
    display: none;
  }

  .intro__title {
    font-size: 28px;
  }
}
