/* Type, colors and section boxes follow themenhaden.com:
   Futura PT headings (Jost here), Interstate body (Overpass), Mrs Eaves menu (Libre Baskerville),
   #313131 headings on white and cream, sand panels, a muted color block behind photos, gray footer.
   Their sage block becomes slate blue to match the J's towers. */
:root {
  --page: #ffffff;
  --cream: #f6f5ef;
  --sand: #ebe9dd;
  --slate: #8ea3c2;
  --slate-deep: #4f6a91;
  --head: #313131;
  --text: #1b1b1b;
  --muted: #5a5a5a;
  --eyebrow: #3c3c3c;
  --dark: #333333;
  --on-dark: #f3f1ed;
  --foot: #4f4f4f;
  --line: #dcd9cf;
  --jay: #1f4fc0;
  --jay-deep: #173d96;
  --futura: "Jost", "Futura", "Century Gothic", sans-serif;
  --body: "Overpass", "Helvetica Neue", sans-serif;
  --eaves: "Libre Baskerville", Georgia, serif;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --head-h: 76px;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M0 7l7 7 7-7 7 7 7-7M0 21l7 7 7-7 7 7 7-7' fill='none' stroke='%23000' stroke-opacity='.07' stroke-width='1.2'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head-h); }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 400 18px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h4 { font-family: var(--futura); color: var(--head); margin: 0 0 20px; text-wrap: balance; }
h1 { font-size: clamp(32px, 3.6vw, 52px); font-weight: 500; line-height: 1.12; }
h2 { font-size: clamp(30px, 3vw, 42px); font-weight: 500; line-height: 1.18; }
h4 { font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
p { margin: 0 0 18px; max-width: 60ch; }
strong { font-weight: 700; color: var(--jay-deep); }
.eyebrow {
  font-family: var(--futura); font-size: 17px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
  color: var(--eyebrow); margin-bottom: 14px; padding-bottom: 14px; position: relative;
}
.eyebrow::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 2px; background: var(--jay); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: clamp(56px, 8vw, 120px) 0; position: relative; }

/* buttons: rounded pills, uppercase like the reference */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 15px 26px; border-radius: 999px;
  font: 600 14px/1 var(--futura); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn::after { content: ""; width: 14px; height: 10px; background: currentColor; transition: transform .2s;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat; }
.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-jay { background: var(--jay); color: #fff; }
.btn-jay:hover { background: var(--jay-deep); }
.btn-dark { background: var(--dark); color: var(--on-dark); }
.btn-dark:hover { background: #111; }
.btn-line { border-color: var(--dark); color: var(--dark); }
.btn-line:hover { background: var(--dark); color: var(--on-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* header */
.top {
  position: sticky; top: 0; z-index: 30; height: var(--head-h); display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gut); background: var(--page); border-bottom: 1px solid var(--line);
}
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--head); }
.mark-jay { width: 52px; height: 50px; color: var(--head); }
.mark-word { font: 500 22px/1 var(--futura); letter-spacing: .06em; text-transform: uppercase; }
.mark-word small { display: block; font: 400 11px/1 var(--futura); letter-spacing: .22em; color: var(--muted); margin-top: 6px; }
.top-right { display: flex; align-items: center; gap: 14px; }
.top-phone { font-weight: 600; font-size: 16px; text-decoration: none; color: var(--head); }
.top-phone:hover { color: var(--jay); }
.top .btn { padding: 12px 22px 14px; }
.top .btn::after { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 10px; background: var(--dark); color: var(--on-dark); border: 0; border-radius: 999px;
  padding: 12px 20px 12px 16px; font: 500 15px/1 var(--futura); letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
  transition: background-color .2s;
}
.menu-btn:hover { background: #111; }
.burger { display: grid; gap: 4px; }
.burger i { display: block; width: 20px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* menu overlay */
.menu { position: fixed; inset: var(--head-h) 0 0; z-index: 25; background: var(--cream) var(--pattern); overflow: auto; }
.menu[hidden] { display: none; }
.menu-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--gut); padding: 48px var(--gut); max-width: var(--max); margin: 0 auto; }
.menu-links { list-style: none; margin: 0; padding: 0; }
.menu-links a { display: block; font: 400 clamp(32px, 4.4vw, 54px)/1.2 var(--eaves); color: var(--head); text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line); }
.menu-links a:hover { color: var(--jay); }
.menu-side img { aspect-ratio: 4/3; margin-bottom: 20px; border-radius: 4px; }
.menu-side a { font-weight: 700; }

/* hero: fits one screen under the header */
.hero {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 64px); align-items: center;
  height: calc(100svh - var(--head-h)); min-height: 540px; max-height: 920px;
  padding: clamp(24px, 4vh, 48px) var(--gut); max-width: 1520px; margin: 0 auto;
}
.hero-copy h1 { margin-bottom: 18px; }
.hero-text { color: var(--muted); margin-bottom: 28px; }
.hero-media { position: relative; height: 100%; min-height: 0; padding: 0 0 7% 12%; }
.hero-media::before { content: ""; position: absolute; top: 9%; right: 0; bottom: 0; left: 26%; background: var(--slate); }
.hero-a { position: relative; height: 92%; width: 96%; }
.hero-b { position: absolute; left: 0; bottom: 0; width: 34%; height: 46%; border: 8px solid var(--page); object-position: 85% 85%; }

/* two-up photo + copy rows (the reference's zigzag blocks) */
.duo { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.duo.flip .duo-media { order: 2; }
.duo-media { position: relative; padding-bottom: 14%; }
.duo-media > img:first-child { aspect-ratio: 4 / 3; }
.duo-small { position: absolute; right: -4%; bottom: 0; width: 44%; aspect-ratio: 4 / 3; height: auto; border: 8px solid var(--page); }
.duo.flip .duo-small { right: auto; left: -4%; }
.duo-media.boxed::before { content: ""; position: absolute; top: -9%; right: -6%; bottom: 6%; left: 14%; background: var(--slate); }
.duo.flip .duo-media.boxed::before { right: 14%; left: -6%; }
.duo-media.boxed > img:first-child { position: relative; }
.panel { position: relative; }
.panel::before { content: ""; position: absolute; z-index: -1; top: -48px; bottom: -48px; left: -48px; right: -9999px; background: var(--sand); }
.gather .panel::before { right: -48px; left: -9999px; }
.stay, .gather { overflow: hidden; isolation: isolate; }

.rooms { margin: 26px 0 30px; border-top: 1px solid #cfcbbd; }
.rooms div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid #cfcbbd; }
.rooms dt { font: 500 21px/1.2 var(--futura); color: var(--head); }
.rooms dd { margin: 0; color: var(--muted); font-size: 16px; }

.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.ticks li { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 16px; }
.ticks li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--jay); margin-right: 12px; vertical-align: 2px; }

/* slate band */
.built { background: var(--slate-deep) var(--pattern); color: #fff; }
.built h2, .built .eyebrow { color: #fff; }
.built .eyebrow::after { background: #fff; }
.built h2 { max-width: 20ch; }
.built-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); margin-top: 28px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.4); }

/* reception */
.desk-sec { padding-bottom: clamp(80px, 10vw, 150px); }
.desk { position: relative; }
.desk-img { aspect-ratio: 16 / 7; }
.desk-card {
  position: absolute; right: calc(var(--gut) + 40px); bottom: -56px; width: min(400px, 80%);
  background: var(--cream); padding: 32px; border-top: 4px solid var(--jay);
}
.desk-jay { width: 64px; height: 62px; color: var(--head); margin-bottom: 14px; }
.desk-card address { font-style: normal; margin-bottom: 8px; }
.desk-phone { font: 500 28px/1.2 var(--futura); text-decoration: none; color: var(--jay); }

/* photo strip on cream with the line pattern */
.strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 10px; align-items: end; padding: 56px var(--gut); background: var(--cream) var(--pattern); }
.strip img { aspect-ratio: 1 / 1; }
.strip img:nth-child(even) { aspect-ratio: 4 / 5; }

/* things to do */
.todo { background: var(--cream); }
.todo-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--gut); }
.dist { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--head); align-self: start; }
.dist li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.dist b { font: 500 20px/1.2 var(--futura); color: var(--head); white-space: nowrap; }

/* newsletter on sand */
.news { background: var(--sand) var(--pattern); }
.news-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.news h2 { margin: 0; max-width: 18ch; }
.news-form { display: flex; flex-wrap: wrap; gap: 10px; width: min(540px, 100%); }
.news-form input { flex: 1 1 240px; padding: 14px 22px; font: 400 16px var(--body); background: var(--page); color: var(--text); border: 1.5px solid var(--dark); border-radius: 999px; }
.news-form input:focus { outline: 2px solid var(--jay); outline-offset: 2px; }
.news-msg { flex-basis: 100%; margin: 4px 0 0 22px; font-size: 15px; min-height: 1.4em; }

/* sister */
.sister-img figcaption { position: absolute; z-index: 1; left: 12px; bottom: calc(14% + 12px); padding: 6px 12px; background: var(--page); border-radius: 999px; font-size: 12px; letter-spacing: .04em; }

/* footer, gray like the reference */
.foot { background: var(--foot); color: #fff; padding: 56px var(--gut) 120px; }
.foot h4 { color: #fff; }
.foot .mark, .foot .mark-jay, .foot .mark-word small { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: var(--gut); max-width: var(--max); margin: 0 auto; }
.foot-addr { margin-top: 20px; font-size: 16px; }
.foot-links { list-style: none; margin: 0; padding: 0; columns: 2; }
.foot-links a { display: block; padding: 4px 0; text-decoration: none; font: 400 18px var(--futura); }
.foot-links a:hover, .foot-addr a:hover { text-decoration: underline; }
.foot-note { font-size: 16px; color: #e6e6e6; }
.foot-legal { max-width: var(--max); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.25); font-size: 14px; color: #dcdcdc; }

.foot-map { position: relative; max-width: var(--max); margin: 48px auto 0; display: grid; grid-template-columns: 2fr 1fr; background: var(--cream); color: var(--text); border-radius: 12px; overflow: hidden; }
.foot-map iframe { display: block; width: 100%; height: 340px; border: 0; filter: grayscale(.35); }
.foot-map-card { padding: 32px; align-self: center; }
.foot-map-card h4 { color: var(--head); }
.foot-map-card p { font-size: 16px; color: var(--muted); }

/* floating quick bar */
.bar {
  position: fixed; left: 50%; bottom: 16px; z-index: 20; display: flex; gap: 8px; padding: 7px; width: min(720px, calc(100% - 32px));
  background: var(--page); border: 1px solid #cfcbbd; border-radius: 999px;
  transform: translate(-50%, calc(100% + 24px)); transition: transform .25s ease-out;
}
.bar.on { transform: translate(-50%, 0); }
.bar-btn {
  flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 17px 22px; border-radius: 999px;
  font: 600 14px/1 var(--futura); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--dark);
  background: var(--cream); transition: background-color .2s, color .2s;
}
.bar-btn svg { width: 16px; height: 16px; fill: currentColor; }
.bar-btn:hover { background: var(--dark); color: var(--on-dark); }
.bar-book { flex: 1.4 1 0; background: var(--jay); color: #fff; }
.bar-book:hover { background: var(--jay-deep); color: #fff; }

/* reveal */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .28s ease-out, transform .28s ease-out; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .bar, .btn, .btn::after { transition: none; }
}

/* tablet */
@media (max-width: 1020px) {
  .top-phone { display: none; }
  .hero { grid-template-columns: 1fr 1fr; }
}

/* phone */
@media (max-width: 760px) {
  :root { --head-h: 64px; }
  body { font-size: 16px; }
  .mark-jay { width: 42px; height: 40px; }
  .mark-word { font-size: 17px; }
  .mark-word small { font-size: 9px; }
  .top-right { gap: 8px; }
  .top .book { display: none; }
  .menu-btn { padding: 11px 16px 11px 13px; font-size: 13px; }
  .menu-inner { grid-template-columns: 1fr; padding: 24px 16px 110px; }

  .hero { display: flex; flex-direction: column; justify-content: flex-start; gap: 20px; height: calc(100svh - var(--head-h)); min-height: 0; max-height: none; padding: 16px 16px 20px; }
  .hero-media { order: -1; flex: 1 1 auto; min-height: 180px; max-height: 42svh; width: 100%; padding: 0; }
  .hero-media::before { top: 14px; left: 14px; right: -16px; bottom: -14px; }
  .hero-a { width: 100%; height: 100%; }
  .hero-b { display: none; }
  .hero-copy { flex: 0 0 auto; }
  .hero-copy .eyebrow { font-size: 14px; margin-bottom: 10px; padding-bottom: 10px; }
  .hero-copy h1 { font-size: clamp(27px, 7.4vw, 32px); margin-bottom: 10px; }
  .hero-text { font-size: 15px; line-height: 1.45; margin-bottom: 16px; }
  .btn-row .btn { flex: 1 1 0; justify-content: center; padding: 14px 16px; }

  .duo, .todo-grid, .built-cols, .foot-grid { grid-template-columns: 1fr; }
  .duo.flip .duo-media { order: 0; }
  .duo-small { width: 46%; right: -2%; }
  .duo.flip .duo-small { left: -2%; }
  .panel::before { top: -32px; bottom: -40px; left: -16px; right: -16px; }
  .gather .panel::before { left: -16px; right: -16px; }
  .rooms div { grid-template-columns: 1fr; gap: 2px; }
  .ticks { grid-template-columns: 1fr; }
  .desk-img { aspect-ratio: 4 / 3; }
  .desk-card { position: static; width: auto; padding: 24px; }
  .desk-sec { padding-bottom: 56px; }
  .strip { grid-template-columns: 1fr 1fr; padding: 32px 16px; }
  .strip img, .strip img:nth-child(even) { aspect-ratio: 1 / 1; }
  .foot { padding-bottom: 110px; }
  .bar { left: 10px; right: 10px; width: auto; bottom: 10px; transform: translateY(calc(100% + 24px)); }
  .bar.on { transform: none; }
  .bar-btn { padding: 16px 8px; }
}

@media (max-width: 760px) {
  .foot-map { grid-template-columns: 1fr; margin-top: 36px; }
  .foot-map iframe { height: 260px; }
  .foot-map-card { padding: 24px; }
  .foot-map-card .btn { width: 100%; }
}
