@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400&display=swap");

:root {
  /* Warm paper / charcoal / deep brand red / brass CTAs */
  --bg: #f0f0f0;
  --surface: #ffffff;
  --ink: #1f1e1c;
  --muted: #3f3c37;
  --line: #b8b8b8;
  --accent: #520000;
  --accent-deep: #510003;
  --accent-darker: #420000;
  --accent-soft: rgba(82, 0, 0, 0.10);
  --brass: #8a6e38;
  --brass-dark: #6b5528;
  --brass-soft: transparent;
  --steel: #121417;
  --steel-deep: #0a0b0d;
  --table-stripe: #e8e8e8;
  /* Single content measure. Header, footer, and main sections share it. */
  --wide: 68rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Sans 3", "Gill Sans MT", "Gill Sans", "Trebuchet MS", Calibri, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.05rem;
}

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

.site-header {
  background: var(--accent);
  border-bottom: 1px solid var(--accent-darker);
  position: sticky;
  top: 0;
  z-index: 2000;
}
.site-header .brand,
.site-header .brand small,
.site-header .nav a {
  color: #ffffff;
}
.site-header .brand small { opacity: 0.85; }
.site-header .nav a:hover,
.site-header .nav a[aria-current="page"] {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-header-inner,
.site-footer-inner,
.wrap {
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
}

.site-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.95rem 0;
}

.brand {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-family: "Source Sans 3", "Gill Sans MT", "Gill Sans", "Trebuchet MS", Calibri, sans-serif;
}

.brand small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

main {
  padding: 2.25rem 0 3.5rem;
}

.hero,
.section,
.hero.wide,
.section.wide {
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
}

h1, h2, h3 {
  line-height: 1.25;
  font-weight: 700;
  font-family: "Garamond", "EB Garamond", "Palatino Linotype", Palatino, serif;
  color: var(--accent);
}
h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.65rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
}

h2:first-of-type { border-top: 0; padding-top: 0; }

h3 {
  font-size: 1.1rem;
  margin: 1.35rem 0 0.4rem;
}

p { margin: 0 0 1rem; color: var(--ink); }
.lede { font-size: 1.12rem; color: var(--muted); }

ul.plain {
  margin: 0.35rem 0 1rem;
  padding-left: 1.25rem;
}
ul.plain li { margin: 0.2rem 0; }

/* Shared multi-column link lists. One column on phone widths; two on wider screens. */
ul.link-columns {
  columns: 1;
  column-gap: 2.25rem;
}
ul.link-columns li {
  break-inside: avoid;
}
@media (min-width: 640px) {
  ul.link-columns { columns: 2; }
}

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin: 1.5rem 0 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.15rem 1.2rem 1.25rem;
  overflow: hidden;
}

.card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 0.75rem;
}

.card h2 {
  border: 0;
  margin: 0 0 0.5rem;
  padding: 0;
  font-size: 1.2rem;
}

.card p { color: var(--muted); margin-bottom: 0.85rem; }

.card a.more {
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: 600;
}

.fee-block {
  width: 100%;
  max-width: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin: 0.85rem 0 1.25rem;
  box-sizing: border-box;
}

.fee-block ul {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
}

.fee-block li { margin: 0.25rem 0; }

.note {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 0.85rem 1rem;
  margin: 1.25rem 0;
}
.note p { margin: 0; }

.placeholder {
  border: 1px dashed var(--line);
  background: var(--bg);
  border-radius: 10px;
  padding: 1rem;
  color: var(--muted);
  margin: 0.75rem 0 1.25rem;
}

.cta {
  margin-top: 1.75rem;
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.cta a {
  color: var(--accent);
  font-weight: 600;
}

.photo-row {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  margin: 1.25rem 0 1.75rem;
}
.photo-row figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.photo-row img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: block;
}
.photo-row figcaption {
  padding: 0.55rem 0.75rem 0.7rem;
  font-size: 0.9rem;
  color: var(--muted);
}
/* Leftover last photo in a two-across gallery stays one card wide. */
@media (min-width: 31rem) {
  .photo-row.photo-row-remainder {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.bio {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  margin: 1rem 0 1.5rem;
}
@media (min-width: 720px) {
  .bio {
    grid-template-columns: minmax(14rem, 22rem) minmax(0, 1fr);
  }
}
.bio-media {
  display: grid;
  gap: 0.85rem;
}
.bio-feature,
.bio-media > img {
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: block;
}

.table-wrap {
  overflow-x: auto;
  margin: 0.75rem 0 1.5rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}
table.data-table th,
table.data-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
table.data-table th {
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  white-space: nowrap;
}
table.data-table tr:last-child td { border-bottom: 0; }
table.data-table tbody tr:nth-child(odd) td {
  background: var(--surface);
}
table.data-table tbody tr:nth-child(even) td {
  background: var(--table-stripe);
}

.reamer-groups {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin: 1rem 0 1.5rem;
}
.reamer-groups .fee-block h3 {
  margin-top: 0;
}
.reamer-groups ul {
  margin: 0.25rem 0 0;
  padding-left: 1.15rem;
  columns: 1;
}
.reamer-groups li { margin: 0.15rem 0; }

.memo-list {
  columns: 1;
  margin: 0.5rem 0 1.5rem;
  padding-left: 1.2rem;
}
@media (min-width: 640px) {
  .memo-list { columns: 2; }
}
.memo-list li {
  break-inside: avoid;
  margin: 0.2rem 0;
}

.site-footer {
  border-top: 1px solid var(--steel-deep);
  background: var(--steel);
  padding: 1.5rem 0 2rem;
  color: #ffffff;
  font-size: 0.95rem;
}
.site-footer p,
.site-footer li,
.site-footer span {
  color: #ffffff;
}
.site-footer a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.site-footer a:hover { opacity: 0.9; }
.site-footer strong { color: #ffffff; }
.site-footer .footer-links {
  margin-top: 0.75rem;
}

@media (max-width: 640px) {
  .site-header-inner { align-items: flex-start; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  display: block;
  /* Two-line .brand-text is ~35px; 40px matches that stack once the diamond's border is taken into account. */
  height: 40px;
  width: auto;
  max-width: min(280px, 55vw);
  object-fit: contain;
  object-position: left center;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

@media (max-width: 640px) {
  .brand-logo { height: 31px; }
  .brand-text small { display: none; }
  .site-header-inner { padding: 1rem 0 1.15rem; }
}

/* Age confirmation gate (overlay only; site remains usable if JS fails) */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(34, 34, 34, 0.72);
}

.age-gate__panel {
  width: min(100%, 28rem);
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem 1.35rem 1.35rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.age-gate__brand {
  margin: 0 0 0.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
  font-size: 0.95rem;
}

.age-gate__heading {
  margin: 0 0 0.75rem;
  font-family: "EB Garamond", "Times New Roman", Times, serif;
  font-size: 1.65rem;
  line-height: 1.2;
  color: var(--ink);
}

.age-gate__body {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.age-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.age-gate__btn {
  appearance: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  padding: 0.65rem 1.15rem;
  min-width: 6.5rem;
  text-align: center;
}

.age-gate__btn--enter {
  background: var(--accent);
  color: #ffffff;
  border: 1px solid var(--accent-darker);
}

.age-gate__btn--enter:hover,
.age-gate__btn--enter:focus-visible {
  background: var(--accent-darker);
}

.age-gate__btn--exit {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.age-gate__btn--exit:hover,
.age-gate__btn--exit:focus-visible {
  background: var(--accent-soft);
}

.age-gate__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.age-exit {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--bg);
}

.age-exit__panel {
  width: min(100%, 28rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
}

.age-exit__brand {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
}

.age-exit h1 {
  margin: 0 0 0.75rem;
  font-family: "EB Garamond", "Times New Roman", Times, serif;
  font-size: 1.75rem;
  color: var(--ink);
}

.age-exit p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.age-exit__return {
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .age-gate__actions {
    flex-direction: column;
  }
  .age-gate__btn {
    width: 100%;
  }
}

/* Pricing callout (Shipments and similar) */
.price-callout {
  margin: 1.35rem 0 1.85rem;
  padding: 1.4rem 1.55rem 1.5rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  text-align: left;
}
.price-callout .price-line {
  margin: 0;
  font-family: "Garamond", "EB Garamond", "Palatino Linotype", Palatino, serif;
  font-size: clamp(1.7rem, 4.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--accent);
}
.price-callout .price-sub {
  margin: 0.45rem 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--muted);
}
@media (min-width: 640px) {
  .price-callout {
    text-align: center;
    border-left-width: 1px;
    border-top: 5px solid var(--accent);
  }
}

/* Footer brand logos */
.footer-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: flex-end;
  justify-content: flex-start;
  margin: 0 0 1.25rem;
}
.footer-brand {
  margin: 0;
  text-align: center;
  max-width: 11rem;
}
.footer-brand-mark {
  background: #ffffff;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.footer-brand-mark img {
  display: block;
  width: auto;
  height: auto;
  max-height: 4.5rem;
  max-width: 9.5rem;
  object-fit: contain;
}
.footer-brand figcaption {
  margin-top: 0.45rem;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
}

/* Services hub groupings */
.service-group {
  margin: 2rem 0 2.25rem;
  padding: 1.25rem 1.25rem 0.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.service-group-title {
  margin: 0 0 0.35rem;
  padding-top: 0;
  border-top: 0;
  font-size: 1.45rem;
}
.service-group-lede {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 42rem;
}
.service-group .cards {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

/* Appointment booking */
.btn-book {
  display: inline-block;
  margin: 0.35rem 0 0.75rem;
  padding: 0.7rem 1.2rem;
  background: var(--accent);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid var(--accent-darker);
}
.btn-book:hover {
  background: var(--accent-darker);
  text-decoration: none;
}
button.btn-book {
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
.calendar-embed {
  margin: 1rem 0 1.25rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  min-height: 28rem;
}
.calendar-embed iframe {
  display: block;
  width: 100%;
  height: 36rem;
  border: 0;
}

/* Inline scheduler is hard to use on a phone. Hide it below the same
   640px breakpoint used elsewhere, and keep the Book an appointment link. */
@media (max-width: 640px) {
  .calendar-embed,
  .calendar-embed-note {
    display: none;
  }
}

/* Mission statement */
.mission {
  margin: 1.75rem 0 2rem;
  padding: 1.35rem 1.4rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 2px;
}
.mission h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.mission p {
  margin: 0 0 0.85rem;
  font-size: 1.08rem;
  line-height: 1.7;
}
.mission .mission-sign {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}
.mission .mission-sign strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

/* Footer ΙΧΘΥΣ (Wikipedia classic, bold) */
.footer-faith {
  margin: 0.85rem 0 0.35rem;
}
.footer-ichthys {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  line-height: 0;
}
.footer-ichthys:hover,
.footer-ichthys:focus-visible {
  color: #ffffff;
  opacity: 0.88;
  outline: none;
}
.footer-ichthys svg {
  display: block;
}

.bio-diploma {
  margin: 0;
}
.bio-diploma img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  display: block;
}
/* diploma caption styled via .bio-media figcaption */

.bio-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin: 0 0 1.5rem;
}
@media (min-width: 640px) {
  .bio-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.bio-gallery-item {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.bio-gallery-item img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  display: block;
  border: 0;
  border-radius: 0;
}
.bio-gallery-item figcaption {
  padding: 0.55rem 0.75rem 0.7rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.bio-feature-wrap {
  margin: 0;
}
.bio-feature-wrap .bio-feature {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: block;
}
/* feature caption styled via .bio-media figcaption */

.bio-media figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: clamp(0.72rem, 2.15vw, 0.9rem);
  line-height: 1.3;
}
.bio-media figcaption a {
  color: inherit;
}

.footer-disclaimer {
  margin: 0.85rem 0 0;
  max-width: 40rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.photo-slideshow {
  position: relative;
  margin: 1rem 0 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.photo-slideshow-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #1a1a1a;
}
.photo-slideshow-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-slideshow-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.photo-slideshow-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border: 0;
  border-radius: 0;
}
.photo-slideshow-caption {
  margin: 0;
  padding: 0.65rem 0.85rem 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 2.75rem;
}
.photo-slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.35rem;
  height: 2.35rem;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 20, 23, 0.72);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.photo-slideshow-nav:hover,
.photo-slideshow-nav:focus-visible {
  background: rgba(18, 20, 23, 0.92);
  outline: none;
}
.photo-slideshow-prev { left: 0.65rem; }
.photo-slideshow-next { right: 0.65rem; }
.photo-slideshow-dots {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  padding: 0 0.75rem 0.85rem;
}
.photo-slideshow-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: #b8b8b8;
  cursor: pointer;
}
.photo-slideshow-dot.is-active {
  background: var(--accent);
}


/* Wrapping the heading makes it :first-of-type inside this block, which
   would drop the section divider. Restore the same heading rule used
   for other h2s in the page. */
.customer-map-section > h2 {
  margin: 2rem 0 0.65rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
}

/* The map captures touch swipes as pan/zoom and traps page scrolling.
   Hide the whole section below the same 640px breakpoint used for the
   contact appointment scheduler. */
@media (max-width: 640px) {
  .customer-map-section {
    display: none;
  }
}

.customer-map-frame {
  margin: 1rem 0 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  z-index: 0;
  isolation: isolate;
}
#dhg-customer-map {
  width: 100%;
  height: min(32rem, 70vh);
  min-height: 22rem;
  position: relative;
  z-index: 0;
}
.leaflet-container {
  z-index: 0;
}
.city-pin {
  background: none;
  border: 0;
}
.leaflet-popup-content {
  margin: 0.55rem 0.7rem;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--ink);
}
.leaflet-container a {
  color: var(--accent);
}
.map-note {
  margin: 0.35rem 0 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}


.contact-form {
  width: 100%;
  max-width: none;
  margin: 0.85rem 0 1.25rem;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-sizing: border-box;
}
.contact-form label {
  display: block;
  margin: 0 0 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.contact-form .req {
  color: var(--accent);
  margin-left: 0.15rem;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  box-sizing: border-box;
}
.contact-form textarea {
  resize: vertical;
  min-height: 8rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
}
@media (max-width: 560px) {
  .contact-form-row {
    grid-template-columns: 1fr;
  }
}
.contact-form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form-submit {
  border: 1px solid var(--accent-darker);
  cursor: pointer;
  font: inherit;
}
.contact-form-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
.contact-form-status {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
}
.contact-form-status.is-success {
  color: #1f4d2e;
}
.contact-form-status.is-error {
  color: var(--accent);
}
.contact-form-status.is-pending {
  color: var(--muted);
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
  border-color: var(--accent);
  background: #fff8f8;
}
.contact-form input.is-invalid:focus,
.contact-form textarea.is-invalid:focus {
  outline-color: var(--accent);
}


.page-notice,
.visit-notice {
  width: 100%;
  max-width: none;
  margin: 0.85rem 0 1.25rem;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-sizing: border-box;
}
.page-notice h2,
.visit-notice h2 {
  margin-top: 0;
}
.page-notice .btn-book,
.visit-notice .btn-book {
  margin-bottom: 0.15rem;
}


.notice-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  margin: 0.85rem 0 1.25rem;
  align-items: stretch;
  box-sizing: border-box;
}
.notice-row .page-notice,
.notice-row .visit-notice {
  margin: 0;
  max-width: none;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.notice-row .page-notice .btn-book,
.notice-row .visit-notice .btn-book {
  margin-top: auto;
  align-self: flex-start;
}
@media (max-width: 720px) {
  .notice-row {
    grid-template-columns: 1fr;
  }
}


/* Printable task list (cookie cart) */
.task-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-left: 0.55rem;
  padding: 0;
  vertical-align: middle;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  line-height: 1;
  font: inherit;
}
h1 .task-add-btn,
h2 .task-add-btn,
h3 .task-add-btn {
  position: relative;
  top: -0.08em;
}
.task-add-btn:hover,
.task-add-btn:focus-visible {
  background: rgba(139, 0, 0, 0.08);
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.task-add-btn.is-added {
  background: #8b0000;
  border-color: #8b0000;
  color: #fff;
}
.task-add-btn.is-already {
  opacity: 0.55;
}
li[data-task-id] {
  position: relative;
  padding-right: 2rem;
}
li .task-add-btn {
  position: absolute;
  right: 0;
  top: 0.15rem;
}
.task-add-btn-icon {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
}
.site-header .nav a[data-task-list-link] {
  position: relative;
  /* Keep a fixed slot so the count badge can appear without moving Home, Services, or Contact. */
  padding-right: 2.25rem;
}
.task-list-badge {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: inline-block;
  box-sizing: content-box;
  min-width: 1.15rem;
  margin-left: 0;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  background: #fff;
  color: #8b0000;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.task-list-badge[hidden] {
  display: none !important;
}
.task-list-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 1.25rem 0 1.5rem;
}
.task-list-toolbar button,
.task-list-remove {
  font: inherit;
  cursor: pointer;
  border: 1px solid #8b0000;
  background: #8b0000;
  color: #fff;
  padding: 0.45rem 0.9rem;
}
.task-list-toolbar button.task-list-clear,
.task-list-remove {
  background: transparent;
  color: #8b0000;
}
.task-list-toolbar button:hover,
.task-list-remove:hover {
  opacity: 0.9;
}
.task-list-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
}
.task-list-table th,
.task-list-table td {
  border-bottom: 1px solid #d0d0d0;
  padding: 0.65rem 0.5rem;
  text-align: left;
  vertical-align: top;
}
.task-list-table th:last-child,
.task-list-table td.task-list-price {
  text-align: right;
  white-space: nowrap;
}
.task-list-table th.task-list-actions,
.task-list-table td.task-list-actions {
  text-align: right;
  width: 6rem;
}
.task-list-note {
  font-size: 0.95rem;
  color: #444;
}
@media print {
  .site-header,
  .site-footer,
  .task-list-toolbar,
  .no-print,
  .task-list-actions,
  #dhg-age-gate {
    display: none !important;
  }
  .task-list-table th.task-list-actions,
  .task-list-table td.task-list-actions {
    display: none !important;
  }
  body {
    background: #fff;
  }
  main {
    max-width: none;
  }
}
