:root{
  --forest:#2f4a33; --olive:#6b7a3f; --sage:#a9b79a; --brown:#6b5440; --tan:#d9c7a7; --cream:#f7f3ea;
  --ink:#fdfbf6; --shade:rgba(20,32,22,.55);
}
*{box-sizing:border-box;margin:0}
html,body{height:100%}
html{overflow:hidden}
body{
  font-family:"DM Sans",system-ui,sans-serif;color:var(--ink);background:#22352a;
  display:grid;grid-template-rows:auto 1fr auto auto;height:100dvh;overflow:hidden;
}
.bg{
  position:fixed;inset:0;z-index:-1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 48%,rgba(38,30,20,.5) 0%,rgba(38,30,20,.18) 70%,rgba(38,30,20,0) 100%),
    linear-gradient(180deg,rgba(38,30,20,.5) 0%,rgba(38,30,20,0) 22%,rgba(38,30,20,0) 72%,rgba(30,22,14,.78) 100%),
    url("images/background.jpg") center 62%/cover no-repeat,
    radial-gradient(ellipse at 50% 70%,#7f9277 0%,#3f5a45 55%,#22352a 100%);
}
/* White text everywhere gets a tight dark edge plus a soft glow, so it reads on mist, sun and water alike. */
:root{--ts:0 1px 2px rgba(20,14,8,.7),0 0 12px rgba(20,14,8,.45)}
main,.foot,.slider{text-shadow:var(--ts)}

/* Header: logo top left; Book and About on the top row; the subject tabs on a second row just below. */
/* Side columns are equal, so the subject tabs sit in the middle of the page. */
.top{display:grid;grid-template-columns:1fr auto 1fr;grid-template-areas:"logo . top" "logo main .";
  align-items:center;gap:6px 20px;padding:14px clamp(16px,4vw,48px)}
/* The cut-out wall sign, no frame. A warm glow stands in for the sign's backlight so dark letters read on dark scenery. */
.logo{grid-area:logo;justify-self:start;display:block;width:220px}
.logo img{width:100%;height:auto;display:block;
  /* Bold gold backlight: a tight gold rim on the letters, then a brighter warm halo. */
  filter:drop-shadow(0 0 1px rgba(255,214,140,1)) drop-shadow(0 0 1px rgba(255,214,140,1))
    drop-shadow(0 0 4px rgba(255,204,120,.95)) drop-shadow(0 0 14px rgba(255,196,110,.7))}
header nav{display:flex;gap:4px;padding:4px;border-radius:999px;background:rgba(30,22,14,.62);backdrop-filter:blur(6px)}
.tabs-top{grid-area:top;justify-self:end}
.tabs-main{grid-area:main;justify-self:center;margin-top:6px}
header nav a{color:var(--ink);text-decoration:none;font-size:15.5px;font-weight:600;padding:8px 14px;border-radius:999px;
  text-shadow:var(--ts);white-space:nowrap}
header nav a:hover{background:rgba(255,255,255,.14)}
header nav a[aria-current="page"]{background:rgba(255,255,255,.24)}
header nav a.tab-book{background:var(--cream);color:var(--forest);text-shadow:none}
header nav a.tab-book[aria-current="page"]{background:var(--tan)}
.menu{display:none}

main{display:grid;place-items:center;padding:0 clamp(84px,7vw,110px);min-height:0}
.panel{max-width:760px;width:100%;text-align:center;animation:fade .35s ease;position:relative;isolation:isolate}
/* Soft dark haze behind each page's text so white type stays readable over bright mist and sun. */
.panel::before{content:"";position:absolute;inset:-48px -90px;z-index:-1;pointer-events:none;
  background:radial-gradient(closest-side,rgba(28,20,12,.76),rgba(28,20,12,.62) 60%,rgba(28,20,12,0) 100%)}
.panel.about::before{display:none}
.panel[hidden]{display:none}
@keyframes fade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.kicker{display:inline-block;text-transform:uppercase;letter-spacing:.18em;font-size:13px;font-weight:700;color:#f6e9cc;margin-bottom:12px;
  background:rgba(30,22,14,.5);padding:4px 12px 4px calc(12px + .18em);border-radius:999px}
h1{font-family:"Cormorant Garamond",serif;font-weight:600;font-size:clamp(36px,6.2vw,68px);line-height:1.04;
  text-shadow:0 1px 2px rgba(20,14,8,.7),0 2px 22px rgba(20,14,8,.5)}
.lead{font-size:clamp(16px,1.9vw,19.5px);font-weight:500;line-height:1.55;max-width:600px;margin:18px auto 0}
.lead.small{font-size:16px;margin-left:0}
.points{list-style:none;padding:0;margin:20px auto 0;max-width:560px;display:grid;gap:10px;text-align:left}
.points li{background:var(--shade);padding:12px 16px;border-radius:12px;line-height:1.45;backdrop-filter:blur(4px)}
.actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:28px}
.btn{display:inline-block;background:var(--forest);color:var(--ink);text-decoration:none;font-weight:600;font-size:16px;padding:14px 28px;border-radius:999px;border:1px solid rgba(255,255,255,.25);box-shadow:0 6px 20px rgba(0,0,0,.25);transition:transform .15s,background .15s}
.btn:hover{background:#3b5b3f;transform:translateY(-1px)}
.btn.ghost{background:rgba(255,255,255,.12);box-shadow:none;backdrop-filter:blur(4px)}
.btn.big{font-size:18px;padding:17px 36px}
.btn[hidden]{display:none}
.btn:focus-visible,header nav a:focus-visible,.logo:focus-visible,.menu:focus-visible{outline:3px solid var(--tan);outline-offset:3px}
.hours{display:inline-block;margin-top:22px;font-size:15px;font-weight:600;background:rgba(30,22,14,.5);padding:6px 14px;border-radius:12px}

.about{max-width:1000px;text-align:left}
.about-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:clamp(20px,4vw,48px);align-items:center;background:var(--shade);padding:clamp(16px,3vw,32px);border-radius:20px;backdrop-filter:blur(6px)}
.about h1{font-size:clamp(32px,4.5vw,50px)}
.about .actions{justify-content:flex-start;margin-top:20px}
.building{margin:0;border-radius:14px;overflow:hidden;aspect-ratio:4/3;background:linear-gradient(135deg,var(--olive),var(--forest))}
.building img{width:100%;height:100%;object-fit:cover;display:block}
.building.empty img{display:none}
.contact{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;margin-top:16px;font-size:15px}
.contact dt{color:var(--tan);font-weight:600}

/* Slideshow controls */
.arrow{position:fixed;top:50%;transform:translateY(-50%);z-index:2;width:52px;height:52px;border-radius:50%;
  border:1px solid rgba(255,255,255,.35);background:rgba(38,30,20,.35);color:var(--ink);font-size:34px;line-height:1;
  cursor:pointer;backdrop-filter:blur(4px);display:grid;place-items:center;padding-bottom:4px;transition:background .15s}
.arrow:hover{background:rgba(38,30,20,.6)}
.arrow:focus-visible{outline:3px solid var(--tan);outline-offset:3px}
.arrow.prev{left:clamp(10px,2vw,28px)}
.arrow.next{right:clamp(10px,2vw,28px)}
.slider{display:flex;justify-content:center;align-items:center;gap:14px;padding-top:6px}
.dots{display:flex;gap:8px;justify-content:center}
.dots i{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.35);position:relative;overflow:hidden}
.dots i.on{width:28px;border-radius:4px;background:rgba(255,255,255,.35)}
.dots i.on::after{content:"";position:absolute;inset:0;background:var(--ink);transform-origin:left}
body.auto .dots i.on::after{animation:fill 10s linear}
@keyframes fill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
body.nav-open .slider{visibility:hidden}
@media (max-width:1240px) and (min-width:901px){
  .logo{width:160px}
  header nav{gap:2px}
  header nav a{font-size:14.5px;padding:7px 10px}
}

.foot{display:flex;gap:18px;justify-content:center;flex-wrap:wrap;padding:12px 16px 16px;font-size:13px;font-weight:500}
.foot a{color:var(--ink)}

/* Phones and small windows: tabs fold into a menu; panels still fit one screen. */
@media (max-width:900px){
  /* Phones: logo, Book, About, Menu on one row; the subject tabs drop down from Menu. */
  .top{grid-template-columns:auto 1fr auto auto;grid-template-areas:"logo . top menu" "main main main main";gap:8px;padding:12px 14px}
  .logo{width:112px}
  .tabs-top a{font-size:14.5px;padding:7px 11px}
  .bg{background:
    radial-gradient(ellipse 95% 50% at 50% 45%,rgba(38,30,20,.58) 0%,rgba(38,30,20,.2) 75%,rgba(38,30,20,0) 100%),
    linear-gradient(180deg,rgba(38,30,20,.45) 0%,rgba(38,30,20,0) 20%,rgba(38,30,20,0) 70%,rgba(30,22,14,.8) 100%),
    url("images/background-tall.jpg") center/cover no-repeat,#5a4a36}
  .menu{grid-area:menu;display:block;background:rgba(30,22,14,.5);color:var(--ink);border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:8px 14px;font:inherit;font-size:14.5px;font-weight:600;text-shadow:var(--ts);backdrop-filter:blur(6px)}
  .tabs-main{display:none;justify-self:stretch;flex-direction:column;align-items:stretch;background:rgba(30,24,16,.94);border-radius:14px;padding:8px;margin:0}
  body.nav-open .tabs-main{display:flex}
  body.nav-open main{visibility:hidden}
  .tabs-main a{padding:11px 14px;font-size:16.5px}
  main{padding:0 16px}
  /* On phones the arrows sit in a row with the dots, above the footer. */
  .arrow{position:static;transform:none;width:42px;height:42px;font-size:28px}
  .slider{padding-top:12px}
  .lead{margin-top:14px}
  .actions{margin-top:22px}
  .btn{padding:13px 22px}
  .about-grid{grid-template-columns:1fr;gap:10px;padding:14px}
  .building{aspect-ratio:auto;height:15dvh}
  .about h1{font-size:30px}
  .about .kicker{margin-bottom:4px}
  .about .lead.small{font-size:14.5px}
  .contact{font-size:14px}
}
/* Smallest phones (iPhone SE 1st gen and similar). */
@media (max-width:360px){
  .top{gap:6px;padding:10px}
  .logo{width:92px}
  .tabs-top a{font-size:14px;padding:6px 9px}
  .menu{padding:6px 10px;font-size:14px}
  .foot{gap:4px 10px;font-size:11.5px;padding:6px 10px 10px}
}
@media (max-height:600px){
  h1{font-size:28px}
  .kicker{margin-bottom:6px}
  .points{gap:6px;margin-top:12px}
  .points li{padding:6px 10px;font-size:14px}
  .actions{margin-top:12px}
  .btn{padding:11px 20px;font-size:15px}
}
@media (max-height:640px){
  h1{font-size:clamp(30px,5vw,48px)}
  .lead{font-size:15.5px;margin-top:10px}
  .actions{margin-top:16px}
  .points li{padding:8px 12px}
}
