/* Vienna Family Dental: the inn on Maple Avenue.
   Every section is a room with painted walls; the pictures hang in frames with a small card beneath. */

:root {
  --green: #213A2F;
  --green-deep: #172A21;
  --claret: #5E1E27;
  --ink: #1B2433;
  --linen: #E6DFCF;
  --mat: #F3EEE2;
  --ochre: #C9A25B;
  --ochre-deep: #8E6A2C;
  --walnut: #3B2417;
  --text: #241C17;
  --text-soft: #5A4D42;
  --on-dark: #EDE3CC;
  --on-dark-soft: #C9BFA8;
  --blue: #2A5C9A;

  --display: "IM Fell English", "Iowan Old Style", Georgia, serif;
  --sans: "Alegreya Sans", "Gill Sans", "Trebuchet MS", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--linen);
  color: var(--text);
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.6;
  font-kerning: normal;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.small { font-size: 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--mat); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* Buttons: a painted, squared door plate rather than a pill */
.btn {
  display: inline-block;
  background: var(--claret);
  color: var(--on-dark);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 17px;
  text-decoration: none;
  padding: 11px 22px 12px;
  border: 1px solid var(--ochre);
  box-shadow: inset 0 0 0 3px var(--claret), inset 0 0 0 4px rgba(201,162,91,.55);
  border-radius: 2px;
  cursor: pointer;
}
.btn:hover { background: #73252F; box-shadow: inset 0 0 0 3px #73252F, inset 0 0 0 4px rgba(201,162,91,.8); }
.btn-big { font-size: 19px; padding: 15px 30px 16px; }

/* ---------- Header ---------- */
.top { background: var(--green-deep); color: var(--on-dark); position: relative; z-index: 5; }
.ledger { display: flex; justify-content: space-between; gap: 20px; font-size: 15px; color: var(--on-dark-soft); padding-top: 8px; padding-bottom: 8px; border-bottom: 1px solid rgba(201,162,91,.25); }
.ledger p { margin: 0; }
.ledger a { color: var(--on-dark-soft); text-decoration: none; }
.ledger a:hover { color: var(--on-dark); text-decoration: underline; }
.bar { display: flex; align-items: center; gap: 28px; padding-top: 16px; padding-bottom: 16px; }
.brand img { width: 210px; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 17px; }
.nav a { color: var(--on-dark); text-decoration: none; white-space: nowrap; }
.nav a:hover { text-decoration: underline; }
.actions { display: flex; align-items: center; gap: 18px; }
.tel { color: var(--on-dark); font-weight: 700; text-decoration: none; white-space: nowrap; font-size: 18px; }
.tel:hover { text-decoration: underline; }

/* ---------- The hall ---------- */
.hall {
  position: relative;
  background: var(--green) url(img/wall-green.jpg) center / cover;
  color: var(--on-dark);
  padding: 0 0 0;
}
.hall-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  position: relative;
  z-index: 1;
}
.hall-words { padding-top: 0; padding-bottom: 40px; }
.sign { width: 220px; height: auto; margin: 0 0 18px -6px; overflow: visible; }
.board { transform-origin: 160px 14px; animation: swing 2.6s ease-out 0.3s both; }
@keyframes swing {
  0% { transform: rotate(5deg); }
  30% { transform: rotate(-3.2deg); }
  55% { transform: rotate(1.8deg); }
  75% { transform: rotate(-0.8deg); }
  100% { transform: rotate(0); }
}
@media (prefers-reduced-motion: reduce) { .board { animation: none; } }
.hall h1 { font-size: clamp(52px, 6.4vw, 92px); line-height: 0.98; margin-bottom: 26px; color: #F4ECD8; }
.lede { font-size: 21px; max-width: 30em; color: var(--on-dark); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 30px 0 22px; }
.call { color: var(--on-dark); text-decoration: none; font-size: 19px; }
.call strong { font-weight: 700; white-space: nowrap; }
.call:hover { text-decoration: underline; }
.rating { font-size: 16px; }
.rating a { color: var(--on-dark-soft); text-decoration: none; }
.rating a:hover { color: var(--on-dark); text-decoration: underline; }
.stars { color: var(--ochre); letter-spacing: 2px; margin-right: 6px; }
.hall-pic { margin: 72px 0 0; }

/* the dado rail and panelling under the hall */
.dado {
  height: 150px;
  margin-top: -40px;
  background: var(--green-deep);
  border-top: 2px solid var(--ochre-deep);
  box-shadow: inset 0 6px 0 #2B4639, inset 0 8px 0 var(--green-deep);
  position: relative;
}
.dado::before {
  content: "";
  position: absolute; inset: 26px var(--gutter) 0;
  max-width: calc(var(--wrap) - 2 * var(--gutter));
  margin: 0 auto;
  background:
    linear-gradient(var(--green-deep), var(--green-deep)) padding-box;
  border: 1px solid rgba(201,162,91,.18);
  border-bottom: 0;
}

/* ---------- Frames: the one device used everywhere ---------- */
figure { margin: 0; }
.frame {
  position: relative;
  background: var(--mat);
  padding: clamp(12px, 1.8vw, 26px);
  border: 13px solid var(--walnut);
  border-color: #4A2E1D #2E1B10 #26160D #3F2718;
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.25),
    0 1px 0 1px rgba(255,255,255,.05),
    0 26px 40px -22px rgba(0,0,0,.6);
}
.frame img { width: 100%; outline: 1px solid rgba(60,40,20,.35); outline-offset: 0; }
.frame-black { border-color: #24201C #14110E #0F0D0B #1C1916; background: #EDE6D6; }
.frame-gilt {
  border-width: 7px;
  border-color: #B48E4C #8A6830 #7A5A27 #A07D40;
  padding: clamp(8px, 1.1vw, 14px);
  box-shadow: 0 0 0 3px #2E1B10, 0 26px 40px -22px rgba(0,0,0,.6);
}
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1vw, 14px); }
.crop-45 img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; }

.plaque {
  margin: 16px 0 0 18px;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.45;
  color: var(--text-soft);
}
.plaque a, .plaque strong {
  display: block;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 3px;
}
.plaque a:hover { text-decoration: underline; }
.hall .plaque { color: var(--on-dark-soft); font-family: var(--display); font-style: italic; font-size: 18px; position: relative; z-index: 2; }
.plaque-dark { color: var(--on-dark-soft); }
.plaque-dark strong { color: var(--on-dark); }

/* ---------- The front desk card ---------- */
.desk-wrap { position: relative; z-index: 3; margin-top: -96px; }
.desk {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  background: var(--mat);
  border: 1px solid #CDBF9E;
  box-shadow: 0 0 0 6px var(--mat), 0 0 0 7px #CDBF9E, 0 30px 50px -30px rgba(0,0,0,.5);
  margin: 0 7px;
}
.desk-col { padding: 28px 32px 26px; }
.desk-col + .desk-col { border-left: 1px solid #D8CCB0; }
.desk h2 { font-size: 27px; margin-bottom: 12px; color: var(--claret); }
.desk p { margin-bottom: 8px; }
.hours { border-collapse: collapse; width: 100%; font-size: 17px; }
.hours th, .hours td { text-align: left; font-weight: 400; padding: 5px 0; border-bottom: 1px dotted #BFAF8C; }
.hours td { text-align: right; padding-left: 12px; white-space: nowrap; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; color: var(--text-soft); }
.big-tel { font-family: var(--display); font-size: 34px; line-height: 1.1; }
.big-tel a { color: var(--text); text-decoration: none; }
.big-tel a:hover { text-decoration: underline; }

/* ---------- Room headings ---------- */
.room-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.room-head h2, .doctor-words h2, .quiet-words h2, .guestbook h2, .town-words h2, .paying h2, .booking h2 {
  font-size: clamp(40px, 4.6vw, 64px);
}
.room-head p { font-size: 20px; color: var(--text-soft); margin: 0 0 6px; max-width: 26em; }
.room-head-light h2 { color: #F4ECD8; }
.room-head-light p { color: var(--on-dark-soft); }

/* ---------- The parlour: a salon hang ---------- */
.parlour {
  padding: clamp(80px, 9vw, 130px) 0 clamp(70px, 8vw, 110px);
  background-color: var(--linen);
  /* faint striped wallpaper */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='20'%3E%3Crect x='0' width='1' height='20' fill='%23CDBF9E' fill-opacity='.55'/%3E%3Crect x='6' width='1' height='20' fill='%23CDBF9E' fill-opacity='.35'/%3E%3C/svg%3E");
}
.salon {
  display: grid;
  grid-template-columns: minmax(0, 5.2fr) minmax(0, 3.3fr) minmax(0, 3.5fr);
  gap: clamp(28px, 3.6vw, 56px);
  align-items: start;
}
.salon-col { display: flex; flex-direction: column; gap: clamp(40px, 4.4vw, 64px); }
.col-b { padding-top: 70px; }
.col-c { padding-top: 0; }
.hang-drawing .drawing { padding: clamp(10px, 1.4vw, 18px); }
.drawing svg { width: 100%; height: auto; display: block; background: #F6F1E4; }
.col-c .hang-drawing { width: 78%; margin-left: 10%; }
.col-b .hang-drawing { width: 84%; margin-left: 8%; }
.hang-pair { width: 92%; margin-left: 8%; }
.also { margin: clamp(48px, 5vw, 72px) 0 0; padding-top: 26px; border-top: 1px solid #C7B994; font-size: 20px; max-width: 46em; }

/* ---------- The claret room ---------- */
.claret {
  background: var(--claret) url(img/wall-claret.jpg) center / cover;
  color: var(--on-dark);
  padding: clamp(80px, 9vw, 130px) 0;
}
.claret a.link-light, .link-light { color: #F1DFAF; }
.doctor { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.oval {
  aspect-ratio: 4 / 5;
  border-radius: 50%;
  overflow: hidden;
  background: var(--mat);
  padding: 14px;
  border: 8px solid #B48E4C;
  border-color: #C59D57 #8A6830 #7A5A27 #A07D40;
  box-shadow: 0 0 0 3px #2A0E12, 0 30px 44px -24px rgba(0,0,0,.7);
}
.oval img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; object-position: 50% 18%; }
.oval-big { max-width: 420px; }
.oval-fig .plaque { margin-left: 0; text-align: center; max-width: 420px; font-family: var(--display); font-size: 20px; color: var(--on-dark-soft); }
.doctor-words h2 { color: #F4ECD8; margin-bottom: 26px; }
.pull { margin: 0 0 28px; padding: 0; }
.pull p { font-family: var(--display); font-style: italic; font-size: clamp(23px, 2.2vw, 29px); line-height: 1.38; color: #F4ECD8; max-width: 30em; }
.doctor-words > p { color: var(--on-dark-soft); max-width: 36em; }
.doctors-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); margin-top: clamp(70px, 7vw, 100px); padding-top: clamp(50px, 5vw, 70px); border-top: 1px solid rgba(201,162,91,.35); }
.doc-small { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; }
.doc-small .oval { padding: 8px; border-width: 5px; }
.doc-small figcaption { color: var(--on-dark-soft); font-size: 17px; }
.doc-small strong { display: block; font-family: var(--display); font-weight: 400; font-size: 24px; color: #F4ECD8; margin-bottom: 4px; }
.household { margin-top: clamp(70px, 7vw, 100px); }
.household h3 { font-size: clamp(30px, 3vw, 40px); color: #F4ECD8; margin-bottom: 30px; }
.faces { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 18px; }
.faces img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border: 5px solid var(--mat); outline: 1px solid rgba(0,0,0,.4); box-shadow: 0 16px 24px -16px rgba(0,0,0,.7); }
.faces span { display: block; font-family: var(--display); font-size: 21px; margin-top: 10px; line-height: 1.15; }
.faces small { display: block; font-family: var(--sans); font-size: 14px; color: var(--on-dark-soft); }

/* ---------- The ink room ---------- */
.ink {
  background: var(--ink) url(img/wall-ink.jpg) center / cover;
  color: var(--on-dark);
  padding: clamp(80px, 9vw, 130px) 0;
}
.cases { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.cases-side { display: flex; flex-direction: column; gap: 52px; padding-top: 40px; }
.case .frame-gilt { box-shadow: 0 0 0 3px #0D121B, 0 26px 40px -22px rgba(0,0,0,.7); }
.cases-side .case:last-child .pair img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 72%; }
.room-foot { margin: 56px 0 0; font-size: 20px; }

/* ---------- The quiet room ---------- */
.quiet { background: var(--green) url(img/wall-green.jpg) center / cover; color: var(--on-dark); padding: clamp(80px, 9vw, 130px) 0; }
.quiet-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.quiet-pics { position: relative; padding-bottom: 120px; }
.q-main { width: 88%; }
.q-small { position: absolute; right: 0; bottom: 0; width: 46%; }
.quiet-words h2 { color: #F4ECD8; margin-bottom: 24px; }
.quiet-words p { color: var(--on-dark-soft); }
.review-inline { margin: 30px 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--ochre); }
.review-inline p { font-family: var(--display); font-style: italic; font-size: 23px; line-height: 1.4; color: #F4ECD8; margin-bottom: 8px; }
.review-inline footer { font-size: 16px; color: var(--on-dark-soft); }

/* ---------- The guest book ---------- */
.book-room { padding: clamp(80px, 9vw, 120px) 0; background: var(--linen); }
.guestbook {
  background: var(--mat);
  border: 1px solid #CDBF9E;
  box-shadow: 0 0 0 6px var(--mat), 0 0 0 7px #CDBF9E;
  padding: clamp(36px, 5vw, 72px) clamp(24px, 6vw, 96px);
  margin: 0 7px;
}
.guestbook h2 { margin-bottom: 36px; color: var(--claret); }
.entries { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(30px, 5vw, 80px); }
.entry { margin: 0; }
.entry p { font-family: var(--display); font-style: italic; font-size: clamp(21px, 1.9vw, 25px); line-height: 1.45; color: var(--text); }
.entry footer { font-size: 16px; color: var(--text-soft); padding-top: 10px; border-top: 1px solid #CDBF9E; display: inline-block; }
.gb-foot { margin: 40px 0 0; font-size: 18px; }

/* ---------- The town ---------- */
.town { padding: 0 0 clamp(80px, 9vw, 120px); background: var(--linen); }
.town-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr);
  grid-template-areas:
    "words a a"
    "c b b";
  gap: clamp(32px, 4vw, 60px) clamp(28px, 4vw, 56px);
  align-items: start;
}
.town-words { grid-area: words; align-self: center; }
.town-words h2 { color: var(--green); margin-bottom: 22px; }
.town-a { grid-area: a; }
.town-b { grid-area: b; width: 82%; margin-left: 18%; margin-top: -30px; }
.town-c { grid-area: c; width: 70%; margin-top: 30px; }

/* ---------- Paying ---------- */
.paying { background: var(--mat); border-top: 1px solid #CDBF9E; border-bottom: 1px solid #CDBF9E; padding: clamp(60px, 7vw, 90px) 0; }
.paying-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px clamp(32px, 5vw, 72px); }
.paying h2 { color: var(--claret); font-size: clamp(36px, 3.8vw, 52px); }
.paying-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; font-size: 18px; }
.paying-link { grid-column: 2; margin: 0; }

/* ---------- Booking ---------- */
.booking { background: var(--claret) url(img/wall-claret.jpg) center / cover; color: var(--on-dark); padding: clamp(80px, 9vw, 120px) 0; scroll-margin-top: 0; }
.booking-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.booking h2 { color: #F4ECD8; margin-bottom: 22px; }
.booking-words > p { color: var(--on-dark); font-size: 20px; max-width: 24em; }
.booking-call { margin: 36px 0 30px; padding: 22px 0; border-top: 1px solid rgba(201,162,91,.4); border-bottom: 1px solid rgba(201,162,91,.4); }
.booking-call p { margin: 0 0 4px; color: var(--on-dark-soft); }
.booking .big-tel a { color: #F4ECD8; font-size: 42px; }
.emergency { color: var(--on-dark-soft); max-width: 28em; }
.emergency strong { color: var(--on-dark); }
.request {
  background: var(--mat);
  color: var(--text);
  padding: clamp(24px, 3.4vw, 44px);
  border: 1px solid #CDBF9E;
  box-shadow: 0 0 0 6px var(--mat), 0 0 0 7px #B9A57A, 0 30px 50px -28px rgba(0,0,0,.7);
  margin: 7px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
}
.request label { display: flex; flex-direction: column; gap: 6px; font-size: 16px; font-weight: 500; }
.request label:nth-of-type(4), .request fieldset, .request button { grid-column: 1 / -1; }
.request input[type=text], .request input[type=tel], .request input[type=email], .request select {
  font: inherit; font-size: 18px; font-weight: 400;
  padding: 11px 12px; min-height: 48px;
  background: #FFFDF7; color: var(--text);
  border: 1px solid #B9A57A; border-radius: 2px;
}
.request fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.request legend { font-size: 16px; font-weight: 500; margin-bottom: 8px; padding: 0; }
.request .radio { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; font-size: 17px; min-height: 40px; }
.request .radio input { width: 18px; height: 18px; accent-color: var(--claret); }
.request button { justify-self: start; margin-top: 6px; }

/* ---------- Footer ---------- */
.foot { background: var(--green-deep); color: var(--on-dark-soft); padding: 70px 0 110px; font-size: 16px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1fr; gap: 40px; }
.foot h2 { font-size: 24px; color: var(--on-dark); margin-bottom: 14px; }
.foot a { color: var(--on-dark); }
.foot-logo { width: 220px; margin-bottom: 22px; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { margin-bottom: 8px; }
.credits { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(201,162,91,.2); font-size: 14px; color: #9C947F; }

/* The dock: phone only */
.dock { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .actions { margin-left: auto; }
}
@media (max-width: 980px) {
  .hall-grid { grid-template-columns: 1fr; }
  .hall-pic { margin-top: 0; }
  .salon { grid-template-columns: 1fr 1fr; }
  .col-a { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; align-items: start; }
  .hang-pair { width: 100%; margin: 0; }
  .col-b { padding-top: 0; }
  .doctor { grid-template-columns: 1fr 1.4fr; }
  .faces { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .cases { grid-template-columns: 1fr; }
  .quiet-grid, .booking-grid, .paying-grid { grid-template-columns: 1fr; }
  .paying-link { grid-column: 1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .desk { grid-template-columns: 1fr 1fr; }
  .desk-col:first-child { grid-column: 1 / -1; }
  .desk-col:nth-child(2) { border-left: 0; }
  .desk-col + .desk-col { border-top: 1px solid #D8CCB0; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  body { font-size: 18px; }
  .ledger { font-size: 14px; }
  .ledger p:last-child { display: none; }
  .bar { gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .brand img { width: 150px; }
  .actions .btn { display: none; }
  .tel { font-size: 17px; }
  .sign { width: 150px; margin-bottom: 8px; }
  .hall h1 { font-size: 50px; margin-bottom: 18px; }
  .lede { font-size: 19px; }
  .cta { margin: 24px 0 16px; }
  .hall-words { padding-bottom: 28px; }
  .frame { border-width: 9px; padding: 10px; }
  .frame-gilt { border-width: 5px; padding: 7px; }
  .hall .plaque { margin-left: 4px; font-size: 17px; }
  .dado { height: 110px; margin-top: -10px; }
  .desk-wrap { margin-top: -70px; }
  .desk { grid-template-columns: 1fr; }
  .desk-col { padding: 22px 22px 20px; }
  .desk-col + .desk-col { border-left: 0; }
  .room-head { grid-template-columns: 1fr; gap: 14px; }
  .room-head p { font-size: 18px; }
  .salon, .col-a { grid-template-columns: 1fr; display: flex; flex-direction: column; }
  .salon { gap: 44px; }
  .salon-col { gap: 44px; }
  .salon .hang:nth-child(even) { width: 88%; margin-left: 12%; }
  .salon .hang:nth-child(odd) { width: 94%; margin-left: 0; }
  .col-c .hang-drawing, .col-b .hang-drawing { width: 66%; margin-left: 10%; }
  .plaque { margin-left: 6px; }
  .plaque a, .plaque strong { font-size: 22px; }
  .doctor { grid-template-columns: 1fr; }
  .oval-big { max-width: 290px; margin: 0 auto; }
  .oval-fig .plaque { margin: 14px auto 0; }
  .doctors-two { grid-template-columns: 1fr; gap: 36px; }
  .doc-small { grid-template-columns: 110px 1fr; gap: 20px; }
  .faces { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 14px; }
  .faces span { font-size: 19px; }
  .cases-side { padding-top: 0; gap: 44px; }
  .quiet-pics { padding-bottom: 80px; }
  .q-small { width: 52%; }
  .entries { grid-template-columns: 1fr; }
  .guestbook { padding: 32px 22px; }
  .town-grid { grid-template-columns: 1fr; grid-template-areas: "words" "a" "b" "c"; }
  .town-b { width: 88%; margin: 0 0 0 12%; }
  .town-c { width: 60%; margin-top: 0; }
  .paying-cols { grid-template-columns: 1fr; gap: 0; }
  .request { grid-template-columns: 1fr; }
  .booking .big-tel a { font-size: 36px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .dock {
    display: grid; grid-template-columns: 1fr 1.6fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    background: var(--green-deep);
    border-top: 1px solid rgba(201,162,91,.5);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    gap: 10px;
  }
  .dock a { display: flex; align-items: center; justify-content: center; min-height: 48px; font-weight: 500; font-size: 18px; text-decoration: none; border-radius: 2px; }
  .dock-call { color: var(--on-dark); border: 1px solid rgba(237,227,204,.5); }
  .dock-book { background: var(--claret); color: var(--on-dark); border: 1px solid var(--ochre); }
}

/* ---------- Round 1 adjustments ---------- */
.also { margin: 0; padding: 28px 0 0; border-top: 1px solid #C7B994; font-size: 19px; max-width: none; width: 92%; margin-left: 8%; }
.also h3 { font-size: 30px; margin-bottom: 12px; color: var(--claret); }
.also .btn { margin-top: 8px; }
.col-c .hang-drawing:last-child { width: 72%; margin-left: 4%; }
.room-foot { margin: 40px 0 0 18px; }
.town-c { width: 86%; align-self: end; }
.request label:nth-of-type(3) { grid-column: 1 / -1; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; color: var(--on-dark); border: 1px solid rgba(237,227,204,.45); padding: 9px 14px; min-height: 44px; display: flex; align-items: center; font-size: 17px; border-radius: 2px; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); background: var(--green-deep); border: 1px solid rgba(201,162,91,.4); padding: 10px 0; min-width: 240px; display: flex; flex-direction: column; z-index: 30; }
.menu nav a { color: var(--on-dark); text-decoration: none; padding: 10px 20px; font-size: 18px; }
.menu nav a:hover { background: rgba(255,255,255,.06); }
@media (max-width: 1180px) { .menu { display: block; } }
@media (max-width: 980px) {
  .col-a { display: flex; }
  .also { width: 100%; margin-left: 0; }
}
@media (max-width: 640px) {
  .hall h1 { font-size: 52px; }
  .hall h1 br { display: none; }
  .tel { display: none; }
  .actions { gap: 10px; }
  .hall-pic { margin-top: 8px; }
  .col-c .hang-drawing:last-child { width: 66%; margin-left: 10%; }
  .town-c { width: 60%; }
  .room-foot { margin-left: 6px; }
}
@media (max-width: 640px) {
  .hall h1 br { display: inline; }
  .tel { display: inline; font-size: 16px; }
  .salon-col { display: contents; }
  .also { order: 99; }
  .hall-words { padding-bottom: 8px; }
}

/* ---------- Round 2 adjustments ---------- */
.case-tall .pair img { aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.cases { align-items: start; }
.cases-side .room-foot { margin: 0 0 0 18px; }
.cta-quiet { margin: 6px 0 14px; }
.gb-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.gb-foot p { margin: 0; }
.town-c { align-self: start; margin-top: 0; }
@media (min-width: 981px) {
  .town-grid { grid-template-rows: auto auto; }
  .town-c { margin-top: 0; width: 78%; align-self: start; }
}
@media (max-width: 640px) {
  .hall-pic { padding-bottom: 40px; }
  .doc-small strong { font-size: 22px; }
}

/* ---------- Round 3 adjustments ---------- */
.case .pair img { aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.cases-side .case:first-child .pair img { aspect-ratio: 5 / 3; object-position: center; }
.cases-side .case:last-child .pair img { aspect-ratio: 4 / 3; object-position: 50% 72%; }
.cases-main .room-foot { margin: 40px 0 0 18px; }
.ink { padding-bottom: clamp(70px, 7vw, 100px); }
@media (max-width: 640px) {
  .cases-main .room-foot { margin-left: 0; }
  .town-c { width: 60%; margin-left: 40%; }
}

/* ---------- After round 3 ---------- */
@media (min-width: 981px) {
  .cases-main { align-self: center; }
  .town-c { margin-top: -30px; }
}
@media (max-width: 980px) {
  .cases-main { display: contents; }
  .cases-main .room-foot { order: 99; margin: 32px 0 0; }
}
