:root {
  --ink: #1c1c1c;
  --muted: #5c5c5c;
  --faint: #8a8a8a;
  --line: #e7e7e7;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  background: #fff;
  color: var(--ink);
}

body {
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.55;
}

a { color: inherit; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 32px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.open {
  flex: 0 0 auto;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.open:hover,
.open:focus-visible { background: #333; }

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand img {
  height: 76px;
  width: auto;
}

.brand span { display: flex; flex-direction: column; }

.brand strong {
  font-weight: 500;
  font-size: 22.5px;
  letter-spacing: 0.01em;
}

.brand em {
  margin-top: 3px;
  font-style: normal;
  color: var(--faint);
  font-size: 19.5px;
}

.frame {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
}

nav {
  position: sticky;
  top: 0;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px 12px 48px 32px;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover,
nav a:focus-visible { color: var(--ink); }

main {
  padding: 48px 56px 72px;
  max-width: 1080px;
}

section { scroll-margin-top: 28px; }

section + section { margin-top: 88px; }

h1, h2 {
  margin: 0 0 16px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: #4d4d4d;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #4d4d4d;
}

p {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

#company p + p { margin-top: 8px; }

.lead {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.25rem;
}

.marks {
  display: flex;
  align-items: flex-end;
  gap: 36px;
  margin: 12px 0 0;
  padding: 28px 0 12px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.marks li { flex: 0 0 auto; }

.marks a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  text-align: center;
}

.marks .name {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.marks li:hover .name,
.marks li:focus-within .name { opacity: 1; }

.marks img {
  display: block;
  width: auto;
  height: 140px;
  object-fit: contain;
  transform: scale(0.6);
  transform-origin: center bottom;
  transition: transform 180ms ease;
}

.marks li:first-child img { transform: scale(1); }

.marks:has(li:hover) img,
.marks:has(li:focus-within) img { transform: scale(0.6); }

.marks li:hover img,
.marks li:focus-within img { transform: scale(1); }

.marks span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.rooms {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
}

.rooms details { padding: 8px 0; }

.rooms summary {
  display: flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  max-width: 100%;
  cursor: pointer;
  list-style: none;
}

.rooms summary::-webkit-details-marker { display: none; }

.rooms img {
  width: 48px;
  height: 42px;
  object-fit: contain;
}

.rooms .more {
  margin: 10px 0 6px 64px;
  max-width: 40rem;
}

.rooms .more p + p { margin-top: 10px; }

.rooms .more a {
  display: inline-block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 0.92rem;
}

.rooms strong {
  display: block;
  font-weight: 500;
  font-size: 1rem;
}

.rooms em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  color: var(--muted);
  font-size: 0.92rem;
}

.rooms .status {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.foot {
  margin-top: 88px;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .top { flex-wrap: wrap; padding: 16px 20px; }
  .brand em { font-size: 15px; }
  .brand img { height: 52px; }
  .frame { grid-template-columns: 1fr; }
  nav {
    position: sticky;
    top: 0;
    z-index: 2;
    flex-direction: row;
    gap: 18px;
    padding: 14px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  main { padding: 32px 20px 56px; }
  section + section { margin-top: 64px; }
}
