@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:opsz,wght@9..40,400;9..40,500&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root {
  --ivory: #f1eee7;
  --muted: rgba(241, 238, 231, .62);
  --line: rgba(241, 238, 231, .25);
  --ink: #080807;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-width: 1120px; background: var(--ink); color: var(--ivory); }
body { font-family: "DM Sans", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }

.home-document,
.home-document body { height: 100%; min-width: 0; width: 100%; }
.home-page { overflow: hidden; }
.hero { background: #090908; height: 100svh; isolation: isolate; min-height: 100svh; overflow: hidden; position: relative; }
@supports (height: 100dvh) {
  .hero { height: 100dvh; min-height: 100dvh; }
}
.hero__video { filter: saturate(.7) brightness(.82) contrast(1.08); height: 100%; inset: 0; object-fit: cover; object-position: 52% 50%; position: absolute; width: 100%; z-index: -3; }
.hero__veil { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(7,7,6,.92) 0%, rgba(7,7,6,.65) 37%, rgba(7,7,6,.22) 66%, rgba(7,7,6,.35) 100%); }

.masthead { align-items: center; display: grid; grid-template-columns: 1fr auto 1fr; height: 118px; padding: 0 5vw; border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.wordmark { display: inline-flex; flex-direction: column; justify-self: start; line-height: 1; }
.wordmark--image { height: 74px; justify-content: center; width: 154px; }
.wordmark--image img { display: block; height: 100%; object-fit: contain; object-position: left center; width: 100%; }
.menu-toggle { display: none; }
.wordmark__name { font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 42px; font-weight: 500; letter-spacing: -.05em; text-shadow: 0 5px 15px rgba(0,0,0,.72), 0 1px 0 rgba(255,255,255,.16); }
.wordmark__sub { font: 500 8px/1 "DM Mono", monospace; letter-spacing: .26em; margin: 3px 0 0 12px; text-transform: uppercase; }
.menu { display: flex; gap: clamp(19px, 2.2vw, 43px); }
.menu__link { color: var(--muted); font-size: 10px; letter-spacing: .08em; position: relative; text-transform: uppercase; transition: color .35s ease; white-space: nowrap; }
.menu__link:after { background: var(--ivory); bottom: -10px; content: ""; height: 1px; left: 0; position: absolute; transform: scaleX(0); transform-origin: left; transition: transform .35s ease; width: 100%; }
.menu__link:hover, .menu__link.is-active { color: var(--ivory); }
.menu__link:hover:after, .menu__link.is-active:after { transform: scaleX(1); }
.menu__link--disabled { cursor: default; opacity: .48; }
.menu__link--disabled::after { display: none; }
.menu__link--disabled:hover { color: var(--muted); }
.menu__number { display: none; }
.header__socials { align-items: center; color: var(--muted); display: flex; font: 500 10px/1 "DM Mono", monospace; gap: 16px; justify-self: end; letter-spacing: .08em; text-transform: uppercase; }
.header__socials a { transition: color .3s ease, transform .3s ease; }
.header__socials a:hover { color: var(--ivory); transform: translateY(-2px); }

.hero__content { left: 11.5vw; max-width: 760px; position: absolute; top: 50%; transform: translateY(-43%); z-index: 1; }
.eyebrow { align-items: center; color: var(--muted); display: flex; font: 400 10px/1 "DM Mono", monospace; letter-spacing: .13em; margin: 0 0 29px; text-transform: uppercase; }
.eyebrow span { background: var(--muted); display: block; height: 1px; margin: 0 13px; width: 37px; }
h1 { color: var(--ivory); font-family: "Playfair Display", Georgia, serif; font-size: clamp(55px, 6.25vw, 108px); font-weight: 500; letter-spacing: -.065em; line-height: .9; margin: 0; text-shadow: 0 5px 24px rgba(0,0,0,.68), 0 1px 0 rgba(255,255,255,.13); text-wrap: balance; }
h1 em { color: inherit; font-weight: 500; }
.hero__intro { color: var(--muted); font-size: 14px; letter-spacing: .01em; line-height: 1.65; margin: 33px 0 34px 6px; max-width: 330px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 62px 0 0 5px; }
.button { align-items: center; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; font: 500 10px/1 "DM Sans", sans-serif; justify-content: center; letter-spacing: .09em; min-height: 48px; min-width: 194px; padding: 15px 22px; text-align: center; text-transform: uppercase; transition: background .35s ease, border-color .35s ease, color .35s ease, transform .35s ease; }
.button--solid { background: var(--ivory); border-color: var(--ivory); color: var(--ink); }
.button--solid:hover { background: transparent; color: var(--ivory); transform: translateY(-2px); }
.button--outline:hover { background: var(--ivory); border-color: var(--ivory); color: var(--ink); transform: translateY(-2px); }

/* Shared interactive button system: centered labels, no arrows, one hover state. */
body :is(
  .button,
  .journal-link,
  .journal-card__link,
  .design-row__link,
  .gown-listing__story-link,
  .gown-listing__inquiry-link,
  .contact-submit
) {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ivory);
  display: inline-flex;
  gap: 0;
  justify-content: center;
  min-height: 46px;
  min-width: 190px;
  padding: 14px 24px;
  text-align: center;
  transition: background .35s ease, border-color .35s ease, color .35s ease, transform .35s ease;
}

body :is(
  .button,
  .journal-link,
  .journal-card__link,
  .design-row__link,
  .gown-listing__story-link,
  .gown-listing__inquiry-link,
  .contact-submit
):is(:hover, :focus-visible, :active):not(:disabled) {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

body :is(
  .button,
  .journal-link,
  .journal-card__link,
  .design-row__link,
  .gown-listing__story-link,
  .gown-listing__inquiry-link,
  .contact-submit
):hover:not(:disabled) {
  transform: translateY(-2px);
}

body :is(
  .button,
  .journal-link,
  .journal-card__link,
  .design-row__link,
  .gown-listing__story-link,
  .gown-listing__inquiry-link,
  .contact-submit
):active:not(:disabled) {
  transform: translateY(0);
}

.edition { align-items: center; bottom: 40%; color: var(--muted); display: flex; flex-direction: column; font: 400 9px/1 "DM Mono", monospace; gap: 14px; letter-spacing: .12em; position: absolute; right: 3.8vw; text-transform: uppercase; transition: color .3s ease; writing-mode: vertical-rl; z-index: 1; }
.edition i { background: var(--muted); height: 56px; transition: background .3s ease, transform .3s ease; width: 1px; }
.edition:hover, .edition:focus-visible { color: var(--ivory); }
.edition:hover i, .edition:focus-visible i { background: var(--ivory); transform: scaleY(1.08); }
.edition:focus-visible { outline: 1px solid var(--line); outline-offset: 10px; }
.hero__footer { bottom: 31px; color: var(--muted); font: 400 9px/1 "DM Mono", monospace; left: 5vw; letter-spacing: .07em; position: absolute; text-transform: uppercase; z-index: 1; }
.hero__footer p { margin: 0; }
.scroll-cue { display: none; }

@media (min-width: 1800px) {
  .hero__video { object-position: 50% 52%; }
}

@media (min-width: 1200px) and (max-width: 1799px) {
  .hero__video { object-position: 52% 50%; }
}

@media (min-width: 781px) and (max-width: 1199px) {
  .hero__video { object-position: 55% 50%; }
}

@media (min-width: 781px) and (max-width: 1100px) {
  .home-page .masthead { grid-template-columns: 1fr auto; height: 96px; padding: 0 34px; }
  .home-page .wordmark--image { height: 64px; width: 134px; z-index: 22; }
  .home-page .menu-toggle { appearance: none; background: transparent; border: 0; cursor: pointer; display: grid; gap: 7px; padding: 12px 0 12px 18px; position: relative; z-index: 22; }
  .home-page .menu-toggle span { background: var(--ivory); display: block; height: 1px; transition: transform 240ms ease; width: 26px; }
  .home-page.menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .home-page.menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .home-page .masthead .menu { align-content: center; background: rgba(5, 5, 5, .96); display: grid; gap: 24px; inset: 0; justify-items: center; opacity: 0; padding: 110px 30px 50px; pointer-events: none; position: fixed; transform: translateY(-12px); transition: opacity 220ms ease, transform 220ms ease; z-index: 20; }
  .home-page.menu-open .masthead .menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .home-page .masthead .menu .menu__link { font-size: 13px; }
  .home-page .header__socials { display: none; }
  .home-page .hero__content { left: clamp(42px, 7vw, 72px); max-width: 690px; right: clamp(42px, 7vw, 72px); }
  .home-page h1 { font-size: clamp(64px, 9vw, 88px); }
  .home-page .hero__actions { margin-top: clamp(38px, 5vh, 54px); }
  .home-page .edition { right: 24px; }
}

@media (min-width: 781px) and (max-width: 1100px) and (orientation: portrait) {
  .hero__video { object-position: 59% 50%; }
  .home-page .hero__content { top: 49%; }
  .home-page .edition { display: none; }
}

@media (max-height: 760px) and (min-width: 781px) {
  .hero { height: 100svh; min-height: 100svh; }
  .masthead { height: 94px; }
  .hero__content { transform: translateY(-40%); }
  .home-page h1 { font-size: clamp(60px, 7.5vw, 76px); }
  .hero__actions { margin-top: 38px; }
  .hero__footer { bottom: 20px; }
}

@media (max-width: 780px) {
  html, body { min-width: 0; }
  body { overflow-x: hidden; }
  .hero { height: 100svh; min-height: 100svh; }
  @supports (height: 100dvh) {
    .hero { height: 100dvh; min-height: 100dvh; }
  }
  .hero__video { object-position: 61% 50%; }
  .masthead { grid-template-columns: 1fr auto; height: 84px; padding: 0 24px; }
  .wordmark--image { height: 58px; width: 122px; z-index: 22; }
  .menu-toggle { appearance: none; background: transparent; border: 0; cursor: pointer; display: grid; gap: 7px; padding: 12px 0 12px 18px; position: relative; z-index: 22; }
  .menu-toggle span { background: var(--ivory); display: block; height: 1px; transition: transform 240ms ease; width: 26px; }
  .menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .masthead .menu { align-content: center; background: rgba(5, 5, 5, .96); display: grid; gap: 24px; inset: 0; justify-items: center; opacity: 0; padding: 110px 30px 50px; pointer-events: none; position: fixed; transform: translateY(-12px); transition: opacity 220ms ease, transform 220ms ease; z-index: 20; }
  .menu-open .masthead .menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .masthead .menu .menu__link { font-size: 13px; }
  .header__socials { display: none; }
  .hero__content { left: 24px; max-width: none; right: 24px; top: 49%; transform: translateY(-50%); }
  .eyebrow { font-size: 9px; letter-spacing: .12em; }
  h1 { font-size: clamp(46px, 14vw, 70px); line-height: .86; max-width: 100%; }
  .hero__actions { align-items: stretch; flex-direction: column; flex-wrap: nowrap; gap: 9px; margin-top: clamp(24px, 4.5vh, 38px); width: min(100%, 310px); }
  .button { min-height: 44px; width: 100%; }
  .edition { display: none; }
  .hero__footer { bottom: 14px; left: 24px; }
}

@media (max-width: 780px) and (max-height: 680px) {
  .masthead { height: 72px; }
  .wordmark--image { height: 48px; width: 108px; }
  .hero__content { top: 50%; }
  h1 { font-size: clamp(42px, 12.5vw, 58px); }
  .hero__actions { gap: 7px; margin-top: 20px; }
  .button { min-height: 40px; padding-bottom: 11px; padding-top: 11px; }
  .hero__footer { bottom: 9px; }
}
