/* Maryland Maids. Colours come from the Maryland flag in the logo. */
:root {
  --ink: #1d1f23;
  --soft: #5a5f68;
  --line: #e6e2d9;
  --paper: #ffffff;
  --cream: #faf7f0;
  --gold: #f5c400;
  --red: #b4162c;
  --red-dark: #8f1023;
  --night: #17181c;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Open Sans", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; }

/* the flag's four colours as a thin band across the top */
.flagbar { display: flex; height: 6px; }
.flagbar i { flex: 1; }
.flagbar i:nth-child(1) { background: #111; }
.flagbar i:nth-child(2) { background: var(--gold); }
.flagbar i:nth-child(3) { background: #c8102e; }
.flagbar i:nth-child(4) { background: #111; }

/* buttons */
.btn {
  display: inline-block; padding: 11px 22px; border-radius: 6px; border: 2px solid var(--red);
  background: var(--red); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; line-height: 1.2;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn.big { padding: 15px 30px; font-size: 1.06rem; }
.btn.small { padding: 8px 16px; font-size: .92rem; }
.site-footer .btn { color: #fff; }
.site-footer .btn:hover { color: #fff; }
.btn.ghost { background: #fff; color: var(--red); }
.btn.ghost:hover { background: var(--red); color: #fff; }
.link { font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 26px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { height: 62px; width: auto; }
.brand b { display: block; font-family: var(--serif); font-size: 1.42rem; line-height: 1.1; }
.brand small { display: block; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); margin-top: 4px; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 6px 0; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--gold); }
.actions { display: flex; align-items: center; gap: 18px; }
.phone { color: var(--ink); font-weight: 700; font-size: 1.12rem; text-decoration: none; white-space: nowrap; }
.menu { display: none; }

/* hero */
.hero { position: relative; display: grid; align-items: center; min-height: min(620px, 78vh); overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .wrap { position: relative; padding-block: 56px; }
.hero .panel { max-width: 560px; background: rgba(255, 255, 255, .94); padding: 40px 42px; border-left: 8px solid var(--gold); border-radius: 4px; box-shadow: 0 18px 50px rgba(0, 0, 0, .18); }
.hero .panel p { font-size: 1.14rem; color: #33363c; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }

/* trust strip */
.trust { background: var(--night); color: #fff; }
.trust ul { list-style: none; margin: 0 auto; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust li { display: flex; align-items: center; gap: 12px; font-size: .93rem; line-height: 1.3; color: #d5d7dc; }
.trust svg { width: 36px; height: 36px; flex: none; color: var(--gold); }
.trust b { display: block; color: #fff; font-size: 1rem; }

/* sections */
.section { padding: 72px 0; }
.section.tint { background: var(--cream); }
.section h2.center { margin-bottom: 36px; }
.cards.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card { display: block; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0, 0, 0, .12); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card span { display: block; padding: 22px 26px 26px; color: var(--soft); }
.card b { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--ink); margin-bottom: 4px; }
.card i { display: block; font-style: normal; font-weight: 700; color: var(--red); margin-top: 12px; }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 26px 26px 24px; color: var(--soft); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: #111; font: 700 1.2rem var(--serif); margin-bottom: 14px; }
.steps b { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); margin-bottom: 4px; }
.steps.down { grid-template-columns: 1fr; gap: 14px; }
.steps.down li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 18px 20px; }
.steps.down li::before { grid-row: span 2; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split img { border-radius: 8px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* logos for reviews and social pages; brand glyphs are from Font Awesome Free (fontawesome.com, SIL OFL 1.1) */
@font-face { font-family: "Brands"; src: url("/img/brands.woff2") format("woff2"); font-display: block; }
.findus { font-weight: 700; margin: 26px 0 10px; }
.social { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; }
.social .ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--night); color: #fff; text-decoration: none; font: 400 21px/1 "Brands"; }
.social .ico:hover { background: var(--red); color: #fff; }
.social .pic img, .split .social .pic img { height: 44px; width: auto; aspect-ratio: auto; object-fit: contain; border-radius: 4px; }
.social .pic:hover { opacity: .85; }
.site-footer .social .ico { background: #2a2c31; }
.site-footer .social .ico:hover { background: var(--red); color: #fff; }
.site-footer .social .pic img { height: 36px; }

/* inner pages */
.pagehead { background: var(--cream); border-bottom: 1px solid var(--line); padding: 54px 0 46px; }
.pagehead h1 { margin-bottom: .25em; }
.pagehead p { font-size: 1.16rem; color: var(--soft); margin: 0; max-width: 640px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; }
.ticks svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--red); }
.rooms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.room { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.room img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.room h3 { margin: 18px 20px 6px; }
.room .ticks { padding: 0 20px 20px; font-size: .96rem; }
.notes { margin-top: 30px; padding: 22px 26px; background: var(--cream); border-left: 6px solid var(--gold); border-radius: 4px; }
.notes p:last-child { margin: 0; }
.lists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.lists > div { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 26px; }
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tile { display: block; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-top: 6px solid var(--gold); border-radius: 8px; padding: 26px; }
.tile:hover { background: var(--cream); }
.tile small { display: block; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--soft); font-size: .78rem; margin-bottom: 8px; }
.tile b { font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; }
.tile b.small { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; overflow-wrap: anywhere; }

/* closing band and footer */
.cta { background: var(--night); color: #fff; text-align: center; padding: 64px 0; border-top: 6px solid var(--gold); }
.cta h2 { color: #fff; margin-bottom: 24px; }
.cta p { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; }
.cta .ghost { background: transparent; color: #fff; border-color: #fff; }
.cta .ghost:hover { background: #fff; color: var(--night); }
.site-footer { background: #101114; color: #c4c7ce; font-size: .95rem; padding: 54px 0 0; }
.site-footer a { color: #e9eaee; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 12px; }
.cols { display: grid; grid-template-columns: 1.2fr 1fr .8fr 1.5fr; gap: 36px; }
.who { display: flex; gap: 16px; align-items: center; align-self: start; }
.who b { color: #fff; font-family: var(--serif); font-size: 1.15rem; }
.badge { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: #fff; flex: none; }
.badge img { height: 70px; width: auto; }
.stack a { display: block; padding: 2px 0; }
.legal { border-top: 1px solid #2a2c31; margin-top: 40px; padding: 18px 0 22px; font-size: .85rem; color: #8b8f98; }

/* tablet and phone */
@media (max-width: 1040px) {
  .nav, .actions .phone { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; width: 46px; height: 46px; display: grid; align-content: center; gap: 6px; padding: 0 9px; border: 1px solid var(--line); border-radius: 6px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary span { display: block; height: 3px; background: var(--ink); border-radius: 2px; }
  .menu nav { position: absolute; right: 0; top: 56px; width: min(300px, 86vw); background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 40px rgba(0, 0, 0, .18); padding: 10px; display: grid; }
  .menu nav a:not(.btn) { padding: 12px 14px; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: 6px; }
  .menu nav a:not(.btn):hover { background: var(--cream); }
  .menu nav .btn { margin: 8px 4px 4px; text-align: center; }
  .rooms { grid-template-columns: 1fr 1fr; }
  .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: min(1140px, 100% - 32px); }
  .bar { gap: 12px; min-height: 70px; }
  .brand img { height: 50px; }
  .brand b { font-size: 1.15rem; }
  .brand small { display: none; }
  .actions .btn { padding: 9px 14px; }
  .hero { min-height: 0; }
  .hero .wrap { padding-block: 150px 26px; }
  .hero .panel { padding: 26px 24px; }
  .trust ul { grid-template-columns: 1fr 1fr; }
  .section { padding: 48px 0; }
  .cards.two, .steps, .split, .lists, .contact { grid-template-columns: 1fr; }
  .split { gap: 26px; }
  .pagehead { padding: 36px 0 30px; }
}
@media (max-width: 480px) {
  .rooms, .cols { grid-template-columns: 1fr; }
  .actions .btn { display: none; }
  .buttons .btn, .cta .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card { transition: none; } }
