/*
 * Retriever theme for Pagician. © Digital Titan. All rights reserved.
 * Proprietary: licensed only for websites run by Digital Titan or its Pagician customers (see themes/LICENSE.md).
 * Professional and stately, for gundog trainers and working dog kennels: royal blue and gold, serif headings,
 * a crest monogram, photos in fine gold frames, ornament rules and a royal blue results band.
 * Fonts: EB Garamond and Inter, bundled so every computer and phone shows the same type (SIL OFL, fonts/OFL.txt).
 */
@font-face { font-family: "Retriever Serif"; src: url("fonts/ebgaramond.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Retriever Serif"; src: url("fonts/ebgaramond-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Retriever Sans"; src: url("fonts/inter-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Retriever Sans"; src: url("fonts/inter-medium.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
:root {
  --brand: #1f3c88; --on-brand: #fff; --accent: #b8923a;
  --ink: #1a2238; --muted: #4f5668; --bg: #ffffff; --surface: #f6f3ec; --line: #e4dfd2; --dark: #0f1d45; --card: #fff;
  --radius: 2px;
  --font-head: "Retriever Serif", "EB Garamond", Garamond, "Palatino Linotype", Georgia, serif;
  --font-body: "Retriever Sans", Inter, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --gold-line: color-mix(in srgb, var(--accent) 70%, transparent);
  --ornament: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 12'%3E%3Cpath d='M0 5.5h38v1H0zM58 5.5h38v1H58z'/%3E%3Cpath d='M48 0l6 6-6 6-6-6z'/%3E%3C/svg%3E");
}
body { background: var(--bg); color: var(--muted); line-height: 1.75; font-family: var(--font-body); }
h1, h2, h3, .section-title, .cta-title, .hero-title { font-family: var(--font-head); font-weight: 400; color: var(--ink); letter-spacing: 0.01em; }
h3, .card-title { font-weight: 600; }
strong, b { color: var(--ink); font-weight: 600; }
:focus-visible { outline-color: var(--accent); }
main :focus-visible { outline-color: var(--brand); }

/* Header: white, a royal blue line on top and a gold hairline below; crest, serif name, gold tagline */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--bg); color: var(--ink); border-top: 5px solid var(--brand); border-bottom: 1px solid var(--gold-line); box-shadow: 0 6px 18px -14px rgb(15 29 69 / 40%); }
.header-inner { min-height: 84px; gap: 8px 30px; align-items: center; }
.brand-lockup { margin-right: auto; display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-lockup .logo { margin-right: 0; display: flex; align-items: center; gap: 14px; color: var(--brand-text); text-decoration: none; }
.logo-mark { flex: none; display: grid; place-items: center; width: 46px; height: 54px; padding-bottom: 9px; background: var(--brand); color: #fff; font-family: var(--font-head); font-size: 1.5rem; line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% 64%, 50% 100%, 0 64%); border-top: 3px solid var(--accent); }
.logo-text { font-family: var(--font-head); font-size: 1.45rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-text); line-height: 1.15; }
.brand-lockup:has(.logo-tagline) { display: grid; grid-template-columns: auto; position: relative; padding-left: 60px; }
.brand-lockup:has(.logo-tagline) .logo { display: block; line-height: 1.12; }
.brand-lockup:has(.logo-tagline) .logo-mark { position: absolute; left: 0; top: 50%; translate: 0 -50%; }
.logo-tagline { display: block; margin-top: 2px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-text, var(--accent)); line-height: 1.5; }
.site-nav { gap: 4px 26px; }
.site-nav a { color: var(--ink); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.05em; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand-text); border-bottom-color: var(--accent); }
.site-header .header-cta { background: var(--brand); border-color: var(--brand); color: var(--on-brand); white-space: nowrap; }
/* Two rows on wider screens: the crest and name with the button on the right, then the full menu across the row below,
   so a long menu never pushes the button onto a line of its own */
@media (min-width: 821px) {
  .header-inner { padding-top: 10px; row-gap: 2px; }
  .site-header .header-cta { order: 2; margin-left: auto; }
  .site-nav { order: 3; flex-basis: 100%; gap: 4px 28px; }
  .site-nav a { padding-block: 10px; }
}
@media (max-width: 820px) {
  .site-header { position: relative; }
  .header-inner { min-height: 72px; padding-block: 8px; }
  .brand-lockup { flex: 1 1 0; }
  .brand-lockup:has(.logo-tagline) { padding-left: 52px; }
  .logo-mark { width: 40px; height: 47px; font-size: 1.3rem; }
  .logo-text { font-size: 0.98rem; letter-spacing: 0.04em; }
  .logo-tagline { font-size: 0.64rem; letter-spacing: 0.18em; }
  .menu-button { align-self: center; flex: none; }
  .site-nav a { font-size: 1rem; }
}

/* Buttons: square, small capitals; royal blue, a gold outline for the second choice */
.button { border-radius: var(--radius); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; font-size: 0.82rem; padding: 0.95em 2.1em; }
.button--ghost { background: transparent; color: var(--brand-text); border-color: var(--accent); }
.button--ghost:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }

/* Hero: words on the left, the photo on the right in a fine gold frame */
.hero { background: linear-gradient(90deg, var(--surface) 0 62%, var(--bg) 62%); padding-block: clamp(48px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 84px); align-items: center; }
.hero:not(.hero--image) .hero-inner { grid-template-columns: 1fr; }
.hero:not(.hero--image) { background: var(--surface); }
.hero-copy::before { content: ""; display: block; width: 96px; height: 12px; margin-bottom: 26px; background: var(--accent); -webkit-mask: var(--ornament) left center / contain no-repeat; mask: var(--ornament) left center / contain no-repeat; }
.hero-title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.12; color: var(--ink); }
.hero-lead { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 44ch; margin-top: 18px; }
.hero-actions { margin-top: 34px; gap: 14px; }
.hero--art .hero-art { display: block; position: relative; aspect-ratio: 5 / 4; margin: 0 18px 18px 0; }
.hero--art .hero-art::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--accent); pointer-events: none; }
.hero--art .hero-art > .hero-media { position: relative; border-radius: var(--radius); }
@media (max-width: 820px) {
  .hero { background: var(--surface); padding-block: 36px 52px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy::before { margin-bottom: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; text-align: center; }
}

/* Section titles: serif, with a gold ornament rule */
.section-title, .cta-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.2; }
.section-title::after { content: ""; display: block; width: 96px; height: 12px; margin-top: 16px; background: var(--accent); -webkit-mask: var(--ornament) left center / contain no-repeat; mask: var(--ornament) left center / contain no-repeat; }
.align-center .section-title::after { margin-inline: auto; }
.section-intro { color: var(--muted); }
.block.bg-subtle { background: var(--surface); }
.block.bg-dark { background: var(--dark); }
.block.bg-brand { background: var(--brand); }
.bg-brand :is(h2, h3), .bg-dark :is(h2, h3) { color: #fff; }

/* Results band: gold serif numerals between gold rules */
.stat-list { gap: 0; }
.stat { background: none; border: 0; border-radius: 0; border-left: 1px solid var(--gold-line); padding: 10px 28px; text-align: center; box-shadow: none; }
.stat:first-child { border-left: 0; }
.stat-value { font-family: var(--font-head); font-weight: 400; font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1.1; color: var(--brand-text); }
.stat-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
body .block.bg-dark.bg-dark .stat, body .block.bg-brand.bg-brand .stat { background: none; border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
body .block.bg-dark.bg-dark .stat .stat-value, body .block.bg-brand.bg-brand .stat .stat-value { color: #e6cd8a; }
body .block.bg-dark.bg-dark .stat-label, body .block.bg-brand.bg-brand .stat-label { color: rgb(255 255 255 / 90%); }
@media (max-width: 700px) {
  .stat-list { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .stat { border-left: 0; border-top: 1px solid var(--gold-line); padding: 22px 8px; }
  .stat:first-child { border-top: 0; }
  body .block.bg-brand.bg-brand .stat, body .block.bg-dark.bg-dark .stat { border-top-color: color-mix(in srgb, var(--accent) 55%, transparent); }
}

/* Track record: a gold line with a diamond at each year */
.time-list { max-width: 820px; border-left: 1px solid var(--accent); margin-left: 7px; }
.time-item { grid-template-columns: 110px 1fr; gap: 24px; padding: 4px 0 34px 34px; }
.time-item:last-child { padding-bottom: 6px; }
.time-item::before { left: -7px; top: 10px; width: 13px; height: 13px; border-radius: 0; border: 0; background: var(--accent); rotate: 45deg; box-shadow: 0 0 0 4px var(--bg); }
.bg-subtle .time-item::before { box-shadow: 0 0 0 4px var(--surface); }
.time-when { font-family: var(--font-head); font-size: 1.5rem; line-height: 1.2; color: var(--brand-text); }
.time-title { color: var(--ink); }
@media (max-width: 600px) { .time-item { grid-template-columns: 1fr; gap: 2px; padding-left: 26px; } }

/* Photos beside text sit in a fine gold frame */
.image-text-media { position: relative; margin: 0 16px 16px 0; }
.image-text-media::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--accent); pointer-events: none; }
.image-text-img { position: relative; border-radius: var(--radius); }
/* On phones the frame sits evenly around the photo so it stays centred */
@media (max-width: 820px) {
  .image-text-media, .hero--art .hero-art { margin: 10px; }
  .image-text-media::before, .hero--art .hero-art::before { inset: -10px; }
}
/* Phone galleries: a last photo on its own spans the full width instead of leaving a gap */
@media (max-width: 680px) {
  .gallery-grid:not(.layout-masonry) .gallery-cell:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .gallery-grid:not(.layout-masonry) .gallery-cell:last-child:nth-child(odd) .gallery-img { aspect-ratio: 16 / 9; }
}
.gallery-item, .single-image-figure img, .col-img, .team-photo { border-radius: var(--radius); }

/* Cards: white, a gold rule along the top, serif titles */
.card { background: var(--card); border: 1px solid var(--line); border-top: 2px solid var(--accent); border-radius: var(--radius); box-shadow: none; }
.card:hover { box-shadow: 0 14px 30px -24px rgb(15 29 69 / 45%); transform: none; }
.card-title { font-family: var(--font-head); font-size: 1.3rem; color: var(--ink); }
.card-num { display: block; margin-bottom: 10px; font-family: var(--font-head); font-size: 1.05rem; color: var(--accent-text, var(--accent)); }
.team-role { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.76rem; font-weight: 600; color: var(--accent-text, var(--accent)); }

@media (min-width: 900px) { .services .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Testimonials: quiet serif quotes on white with a gold mark */
.quote { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 58px 34px 32px; }
.quote::before { content: "“"; position: absolute; top: 10px; left: 30px; color: var(--accent); font: 400 4rem/1 var(--font-head); }
.quote blockquote { font-family: var(--font-head); font-style: italic; font-size: 1.15rem; color: var(--ink); }
.quote blockquote::before { display: none; }
.quote figcaption strong { color: var(--brand-text); }

.price-list, .price-card, .hours-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.price-list { padding: 8px 26px; }
.hours-card { padding: 24px 28px; }
.price-row:last-child { border-bottom: 0; }
.price-amount { font-family: var(--font-head); color: var(--brand-text); font-size: 1.15rem; }
.price-card.is-highlight { outline: 2px solid var(--accent); outline-offset: -2px; }
.faq-item { border-radius: var(--radius); }
.faq-item summary { font-family: var(--font-head); font-size: 1.15rem; font-weight: 400; color: var(--ink); }
.contact-form input, .contact-form textarea, .contact-form select { border-radius: var(--radius); }

/* Call to action: deep navy with a gold inset frame */
.cta-banner { position: relative; }
.block.cta-banner.bg-brand, .block.cta-banner.bg-dark { background: var(--dark); }
.cta-banner.bg-brand::before, .cta-banner.bg-dark::before { content: ""; position: absolute; inset: 14px; border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); pointer-events: none; }
.cta-banner .cta-title { color: #fff; }
body .block.cta-banner.cta-banner .button { background: var(--accent); border-color: var(--accent); color: #0f1d45; }
body .block.cta-banner.cta-banner .button:hover { background: #d4b25e; border-color: #d4b25e; }

/* Footer: navy, a gold rule on top, the name in serif capitals */
.site-footer { background: var(--dark); color: rgb(255 255 255 / 80%); border-top: 3px solid var(--accent); }
.site-footer a { color: #fff; }
.footer-name { font-family: var(--font-head); color: #fff; font-weight: 400; font-size: 1.3rem; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-legal { border-top: 1px solid rgb(255 255 255 / 16%); padding-top: 22px; margin-top: 12px; }
.site-footer :focus-visible { outline-color: var(--accent); }

/* One type scale throughout: section headings share a size, small headings share a size, and lead text shares a size */
.section-title, .cta-title, .photo-banner-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.2; }
h3, .card-title, .time-title { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; line-height: 1.3; }
.hero-lead, .photo-banner-text, .section-intro { font-size: clamp(1.05rem, 1.6vw, 1.15rem); }
.map-address { font-weight: 600; }
.map-note { font-size: 0.9rem; }
.time-when { font-weight: 400; }
.col-link, main dt, .contact-list dt { font-weight: 600; }
main .gallery-grid .caption, main .caption, main .map-open { font-size: 0.9rem; }
