/* Pacific Blue Inn draft (EosGrove, 2026-11-23). A fresh design; nothing copied from the current site. */
:root {
  --ink: #17303c;
  --muted: #4f626b;
  --blue: #1d5f7f;
  --blue-deep: #143f55;
  --sea: #d9ebf2;
  --sand: #f3ede3;
  --paper: #fbf9f5;
  --clay: #a4532d;
  --line: #d8d0c3;
  --white: #ffffff;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.15; margin: 0 0 0.6em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--white); padding: 0.6em 1em; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.band { background: var(--sand); }
section { padding: 4.5rem 0; }

/* Buttons */
.btn {
  display: inline-block;
  font: 600 1rem/1 var(--body);
  text-decoration: none;
  padding: 0.85em 1.35em;
  border-radius: var(--radius);
  border: 2px solid var(--blue);
  transition: background-color .15s, color .15s;
}
.btn-solid { background: var(--blue); color: var(--white); }
.btn-solid:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--white); }
.btn-line { background: transparent; color: var(--blue); }
.btn-line:hover { background: var(--sea); color: var(--blue-deep); }
.btn-lg { font-size: 1.08rem; padding: 1em 1.6em; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(251, 249, 245, 0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.top-inner { max-width: var(--wrap); margin: 0 auto; padding: 0.7rem 1.25rem; display: flex; align-items: center; gap: 1.5rem; }
.brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--display); font-size: 1.4rem; font-weight: 600; color: var(--blue-deep); margin: 0; }
.brand-place { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.4rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.98rem; }
.nav a:hover { color: var(--blue); text-decoration: underline; }
.top-actions { display: flex; align-items: center; gap: 1rem; }
.top-phone { font-weight: 600; text-decoration: none; white-space: nowrap; }

/* Hero */
.hero { max-width: var(--wrap); margin: 0 auto; padding: 3.5rem 1.25rem 3rem; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }
.kicker { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.8rem; font-weight: 600; color: var(--clay); margin-bottom: 1rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.8rem 0 1rem; }
.hero-note { font-size: 0.92rem; color: var(--muted); }
.hero-photo img { border-radius: 10px; width: 100%; aspect-ratio: 750 / 930; object-fit: cover; box-shadow: 0 18px 40px -22px rgba(23, 48, 60, 0.55); }

/* At a glance */
.facts { padding: 0 0 3rem; }
.facts ul { max-width: var(--wrap); margin: 0 auto; padding: 1.5rem 1.25rem; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts li { display: flex; flex-direction: column; }
.facts strong { font-family: var(--display); font-size: 1.6rem; font-weight: 500; color: var(--blue-deep); }
.facts span { color: var(--muted); font-size: 0.95rem; }

/* Rooms */
.section-head { max-width: 760px; margin-bottom: 2.2rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.room-grid { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: 1rem; }
.room-main { grid-row: span 2; }
.room-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.room-main img { aspect-ratio: 3 / 2; }
.room-grid figure:not(.room-main) img { aspect-ratio: 3 / 2; }
figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.45rem; }
.room-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 1.6em; margin-bottom: 0.35em; }
.ticks li::before { content: ""; position: absolute; left: 0.2em; top: 0.62em; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--blue); }

/* Courtyard */
.courtyard { padding-top: 0; }
.wide-photo img { width: 100%; max-height: 560px; object-fit: cover; }
.courtyard-body { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; margin-top: 3rem; align-items: start; }
.thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* Two columns */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; }

/* Neighborhood */
.places { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.places li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.4rem 0.6rem; }
.places h3 { font-size: 1.15rem; color: var(--blue-deep); }
.places p { color: var(--muted); font-size: 0.98rem; }

/* Policies */
.policies { margin: 0; }
.policies div { display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.policies div:last-child { border-bottom: 0; }
.policies dt { font-weight: 600; }
.policies dd { margin: 0; color: var(--ink); }

/* Visit */
address { font-style: normal; margin-bottom: 1rem; font-size: 1.1rem; }
.contact-lines { font-size: 1.1rem; font-weight: 500; }
.drive { padding-left: 1.1rem; margin: 0; }
.drive li { margin-bottom: 0.8rem; }

/* Signup */
.signup-form { max-width: 520px; margin: 1.5rem auto 0; text-align: left; }
.signup-form label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
.signup-row { display: flex; gap: 0.6rem; }
.signup-row input { flex: 1; min-width: 0; font: inherit; padding: 0.75em 0.9em; border: 2px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); }
.signup-row input:focus { border-color: var(--blue); }
.signup-status { min-height: 1.6em; margin-top: 0.6rem; color: var(--blue-deep); font-weight: 500; }

/* Footer */
.foot { background: var(--blue-deep); color: var(--sea); padding: 3rem 0 1.5rem; }
.foot a { color: var(--white); }
.foot .brand-name { color: var(--white); margin-bottom: 0.5rem; }
.foot-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.social { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.2rem; }
.legal { margin-top: 2rem; font-size: 0.88rem; color: var(--sea); }

/* Phone bar */
.mobile-bar { display: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .top-actions { margin-left: auto; }
}

@media (max-width: 820px) {
  section { padding: 3.2rem 0; }
  .hero { grid-template-columns: 1fr; gap: 2rem; padding-top: 2rem; }
  .hero-photo { order: -1; }
  .hero-photo img { aspect-ratio: 4 / 3; object-position: center 30%; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .room-grid { grid-template-columns: 1fr 1fr; }
  .room-main { grid-column: 1 / -1; grid-row: auto; }
  .room-detail, .courtyard-body, .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .places { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { padding-bottom: 64px; }
  .top-phone, .top-actions .btn { display: none; }
  .room-grid { grid-template-columns: 1fr; }
  .places { grid-template-columns: 1fr; }
  .policies div { grid-template-columns: 1fr; gap: 0.2rem; }
  .signup-row { flex-direction: column; }
  .hero-actions .btn { flex: 1 1 100%; text-align: center; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.4fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--paper); border-top: 1px solid var(--line);
    padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
    gap: 0.6rem;
  }
  .mobile-bar a { text-align: center; font-weight: 600; text-decoration: none; padding: 0.75em; border-radius: var(--radius); border: 2px solid var(--blue); color: var(--blue); }
  .mobile-bar .mobile-book { background: var(--blue); color: var(--white); }
}
