:root {
  --ink: #090605;
  --espresso: #180e0b;
  --brown: #402b21;
  --oxblood: #2b090a;
  --oxblood-rich: #3a0a0d;
  --oxblood-deep: #210607;
  --bronze: #6e4529;
  --white: #ffffff;
  --white-soft: rgba(255,255,255,.78);
  --white-muted: rgba(255,255,255,.58);
  --white-faint: rgba(255,255,255,.18);
  --hairline: var(--white-faint);
  --page-pad: clamp(1.4rem, 4.8vw, 4.75rem);
  --ease-luxe: cubic-bezier(.18,.72,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: "Instrument Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--bronze); color: var(--white); }

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 999;
  background: var(--white); color: var(--ink); padding: .7rem 1rem;
  transition: top .2s ease;
}
.skip:focus { top: 1rem; }

.topbar {
  position: absolute; z-index: 30; inset: 0 0 auto 0;
  min-height: 76px;
  padding: 0 var(--page-pad);
  display: flex; align-items: center; justify-content: space-between;
  font-family: "DM Mono", monospace;
  text-transform: uppercase; font-size: .9rem; letter-spacing: .12em;
}
.mini-mark { font-family: "Instrument Serif", Georgia, serif; font-size: 1.25rem; letter-spacing: .045em; }
.topnav { display: flex; gap: clamp(1.4rem, 4vw, 3.8rem); }
.topnav a { position: relative; }
.topnav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -.35rem; height: 1px; background: currentColor;
  transition: right .25s var(--ease-luxe);
}
.topnav a:hover::after, .topnav a:focus-visible::after { right: 0; }

.hero {
  min-height: 730px;
  display: grid; grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  background: var(--ink);
  border-bottom: 1px solid rgba(110,69,41,.18);
}
.hero-copy {
  min-height: 730px;
  padding: 96px var(--page-pad) 58px;
  display: flex; flex-direction: column;
}
.eyebrow {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: .93rem; letter-spacing: .11em; line-height: 1.7;
  color: var(--white-soft); text-transform: uppercase;
}
.wordmark {
  margin: 58px 0 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(5rem, 10vw, 10rem);
  line-height: .82;
  letter-spacing: -.055em;
}
.statement {
  margin: 28px 0 0 4px;
  color: var(--white-soft);
  font-size: clamp(1.08rem, 1.22vw, 1.24rem);
  line-height: 1.5;
  letter-spacing: .035em;
}
.hero-bottom {
  margin-top: auto;
  padding-top: 44px;
  border-top: 1px solid rgba(255,255,255,.34);
  display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 2rem;
}
.enter-link {
  font-family: "DM Mono", monospace; font-size: .92rem; letter-spacing: .1em;
  text-transform: uppercase;
}
.enter-link span { display: inline-block; margin-left: .25rem; transition: transform .25s ease; }
.enter-link:hover span { transform: translate(.18rem,.18rem); }
.index {
  list-style: none; margin: 0; padding: 0;
  font-family: "DM Mono", monospace; color: var(--white-muted);
  font-size: .84rem; letter-spacing: .07em; line-height: 1.8;
}
.index li { display: grid; grid-template-columns: 1.5rem auto; gap: .6rem; }
.index span { color: var(--white-soft); }
.hero-image { margin: 0; min-height: 730px; overflow: hidden; background: var(--espresso); position: relative; }
.hero-image::after { content:""; position:absolute; inset:0; border-left:1px solid rgba(110,69,41,.12); pointer-events:none; }
/* The portrait photo fills the column without dictating the hero's height. */
.hero-image picture, .hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image img { object-fit: cover; object-position: 50% 4%; transform: scale(1.001); }

/* DEUMI, ELSEWHERE */
.elsewhere {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(112, 18, 25, .22), transparent 34%),
    linear-gradient(120deg, var(--oxblood-deep) 0%, var(--oxblood-rich) 54%, #180e0b 100%);
  padding: 38px var(--page-pad) 34px;
}
.elsewhere::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.025), transparent 28%, transparent 72%, rgba(0,0,0,.14));
}
.elsewhere-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(260px, .7fr);
  column-gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  margin-bottom: 18px;
}
.elsewhere-intro .eyebrow { grid-column: 1 / -1; margin-bottom: 10px; color: var(--white-soft); }
.elsewhere-intro h2 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(3rem, 5.2vw, 5.4rem);
  line-height: .82;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.elsewhere-intro h2 em { font-weight: 400; color: var(--white); opacity: .9; }
.elsewhere-copy {
  margin: 0 0 .1rem;
  max-width: 27rem;
  color: var(--white-soft);
  font-size: 1rem;
  line-height: 1.5;
}

/* Bootstrap supplies the accessible button/focus base. Deumi owns the interaction and look. */
.deumi-action.btn {
  --bs-btn-padding-x: 0;
  --bs-btn-padding-y: 0;
  --bs-btn-color: var(--white);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: var(--white);
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-color: var(--white);
  --bs-btn-active-bg: transparent;
  --bs-btn-active-border-color: transparent;
  --bs-btn-focus-shadow-rgb: 255,255,255;
  color: var(--white);
  border-radius: 0;
  text-align: left;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: none;
  transition: transform .3s var(--ease-luxe), background-color .3s ease, color .3s ease;
}
.deumi-action::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background:radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.08), transparent 56%);
  opacity:0;
  transition:opacity .28s ease;
}
.deumi-action::after {
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.74),transparent);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .38s var(--ease-luxe);
}
.deumi-action:hover::before, .deumi-action:focus-visible::before { opacity:1; }
.deumi-action:hover::after, .deumi-action:focus-visible::after { transform:scaleX(1); }
.deumi-action:focus-visible { outline:2px solid rgba(255,255,255,.72); outline-offset:3px; }
.deumi-action:active { transform:scale(.988); }

/* One connected monochrome platform rail: white marks, white type, Deumi-owned color field. */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.28);
  border-bottom: 1px solid rgba(255,255,255,.28);
  background: rgba(0,0,0,.08);
}
.profile-link {
  min-width: 0;
  min-height: 68px;
  padding: 13px 12px !important;
  border-right: 1px solid rgba(255,255,255,.20) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .68rem;
  color: #fff !important;
}
.profile-link:last-child { border-right: 0 !important; }
.profile-link:hover, .profile-link:focus-visible {
  transform: translateY(-2px);
  background: rgba(255,255,255,.045);
}
.profile-link::before {
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.09), transparent 64%);
}
.profile-link::after {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.88), transparent);
}
.profile-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent !important;
  font-size: 1.55rem;
  line-height: 1;
  box-shadow: none;
  text-shadow: none !important;
  transition: transform .26s var(--ease-luxe), opacity .26s ease;
}
.profile-link:hover .profile-icon, .profile-link:focus-visible .profile-icon {
  transform: translateY(-2px) scale(1.06);
  opacity: 1;
}
.profile-name {
  min-width: 0;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: clamp(.94rem, 1.02vw, 1.08rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.005em;
  color: #fff;
  white-space: nowrap;
  transition: transform .26s var(--ease-luxe), opacity .26s ease;
}
.profile-link:hover .profile-name, .profile-link:focus-visible .profile-name {
  color: #fff;
  transform: translateX(2px);
}

.rooms { background: var(--ink); padding: 24px var(--page-pad) 16px; }
.section-kicker { margin-bottom: 10px; }
.section-kicker h2 {
  margin:0;
  font-family:"DM Mono",monospace;
  font-weight:400;
  font-size:.82rem;
  line-height:1.4;
  letter-spacing:.095em;
  text-transform:uppercase;
  color:var(--white-soft);
}
.room-list { border-top:1px solid var(--hairline); }
.room-row {
  width: 100%;
  display:grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 1rem;
  align-items:center;
  min-height:50px;
  border-bottom:1px solid var(--hairline) !important;
  padding:0 .1rem !important;
}
.room-row:hover, .room-row:focus-visible { transform:translateX(4px); }
.room-row .name {
  font-family:"Instrument Serif",Georgia,serif;
  font-size:clamp(1.28rem,1.72vw,1.78rem);
  line-height:1.02;
  letter-spacing:-.018em;
  white-space:normal;
}
.room-arrow {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  color:var(--white-soft);
  font-size:.95rem;
  transition:transform .3s var(--ease-luxe), color .3s ease;
}
.room-row:hover .room-arrow, .room-row:focus-visible .room-arrow {
  transform:translate(.18rem,-.14rem) rotate(7deg);
  color:var(--white);
}
.referral-note {
  margin:8px 0 0;
  font-family:"DM Mono",monospace;
  font-size:.7rem;
  line-height:1.4;
  letter-spacing:.04em;
  color:var(--white-muted);
}

.signoff {
  min-height: 82px;
  background: linear-gradient(90deg, #250608 0%, #31080b 58%, #210607 100%);
  padding: 8px var(--page-pad);
  display:flex;
  align-items:center;
}
.signoff-inner {
  display:flex;
  align-items:center;
  gap:.8rem;
  min-width:0;
}
.signoff-inner p {
  margin:0;
  font-family:"Instrument Serif",Georgia,serif;
  font-size:clamp(1.25rem,1.75vw,1.7rem);
  line-height:1;
  letter-spacing:-.018em;
  white-space:nowrap;
  color:var(--white);
}
.signature {
  width: clamp(108px, 10vw, 145px);
  height:auto;
  margin:0;
}

.reveal, .reveal-image { opacity:1; transform:none; }

.topnav a, .enter-link, .deumi-action {
  -webkit-tap-highlight-color: rgba(255,255,255,.08);
}

@media (hover: none), (pointer: coarse) {
  .deumi-action::before { display:none; }
  .profile-link:hover, .room-row:hover { transform:none; }
}

@media (max-width: 1100px) {
  .profile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profile-link { border-bottom:1px solid rgba(255,255,255,.20) !important; }
  .profile-link:nth-child(3n) { border-right:0 !important; }
  .profile-link:nth-child(n+4) { border-bottom:0 !important; }
}

@media (max-width: 860px) {
  .topbar { min-height:64px; font-size:.8rem; }
  .topnav { gap:1.1rem; }
  .hero { min-height: auto; display:flex; flex-direction:column; }
  .hero-image { order:0; min-height:0; height:64svh; flex:0 0 auto; max-height:640px; margin-top:64px; }
  .hero-image img { object-position:50% 18%; }
  .hero-copy { order:1; min-height:0; padding:32px var(--page-pad) 44px; }
  .wordmark { margin-top:22px; font-size:clamp(5rem,24vw,8rem); }
  .statement { margin-top:18px; font-size:1.08rem; }
  .hero-bottom { margin-top:36px; padding-top:26px; }
  .index { display:none; }

  .elsewhere { padding-top:32px; padding-bottom:30px; }
  .elsewhere-intro { grid-template-columns:1fr; gap:10px; margin-bottom:16px; }
  .elsewhere-intro .eyebrow { margin-bottom:0; }
  .elsewhere-intro h2 { font-size:clamp(3.1rem,11.5vw,5rem); }
  .elsewhere-copy { font-size:1rem; }

  .rooms { padding-top:22px; padding-bottom:14px; }
  .room-row { min-height:48px; }
  .room-row .name { font-size:1.46rem; }

  .signoff { min-height:78px; padding-top:7px; padding-bottom:7px; }
}

@media (max-width: 620px) {
  .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-link { min-height:62px; padding:10px 10px !important; border-right:1px solid rgba(255,255,255,.20) !important; border-bottom:1px solid rgba(255,255,255,.20) !important; }
  /* Reset the 3-column dividers inherited from the tablet layout before setting 2-column ones. */
  .profile-link:nth-child(n) { border-right:1px solid rgba(255,255,255,.20) !important; border-bottom:1px solid rgba(255,255,255,.20) !important; }
  .profile-link:nth-child(2n) { border-right:0 !important; }
  .profile-link:nth-child(n+5) { border-bottom:0 !important; }
  .profile-icon { font-size:1.38rem; }
  .profile-name { font-size:.98rem; }

  .signoff-inner { gap:.65rem; }
}

@media (max-width: 440px) {
  :root { --page-pad: 1.45rem; }
  .mini-mark { font-size:1.08rem; }
  .topnav { font-size:.74rem; gap:.9rem; }
  .hero-image { height:59svh; max-height:560px; }
  .hero-copy { padding-top:26px; }
  .wordmark { font-size:23vw; }
  .eyebrow { font-size:.84rem; }
  .statement { font-size:1.05rem; }
  .enter-link { font-size:.86rem; }

  .elsewhere-intro h2 { font-size:13.6vw; }
  .elsewhere-copy { font-size:.96rem; }
  .profile-name { font-size:.96rem; }

  .section-kicker h2 { font-size:.78rem; }
  .room-row { min-height:46px; }
  .room-row .name { font-size:1.32rem; line-height:1.04; }
  .room-arrow { width:28px; height:28px; }
  .referral-note { font-size:.68rem; }

  .signoff { min-height:72px; }
  .signoff-inner p { font-size:1.35rem; }
  .signature { width:112px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation:none !important; transition:none !important; }
  .reveal, .reveal-image { opacity:1; transform:none; }
}
