/* GTHCoaching — 3 October 2026. All text uses the same bundled italic serif. */
@font-face {
  font-family: "GTH Serif";
  src: url("fonts/LibreBaskerville-Italic.ttf") format("truetype");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
:root {
  --purple: #502c80;
  --blue: #2c5aa2;
  --lavender: #c9b2d6;
  --light: #f0e7f5;
  --ink: #32194f;
  --font: "GTH Serif", Georgia, "Times New Roman", serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--blue);
  color: var(--lavender);
  font-family: var(--font);
  font-style: italic;
  font-size: 17px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--light); }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 3px solid #ffff00; outline-offset: 3px; }
main:focus { outline: none; }
.skip-link { position: absolute; left: 10px; top: -100px; padding: 10px; background: var(--lavender); color: var(--ink); z-index: 10; }
.skip-link:focus { top: 10px; }
.site-shell { width: min(1100px, calc(100% - 32px)); margin: 16px auto; background: var(--purple); box-shadow: 0 16px 40px #0003; }
.site-header { display: flex; align-items: center; gap: 26px; padding: 16px 24px; }
.logo-mark { flex: 0 0 132px; }
.logo-mark img { width: 100%; }
.wordmark { flex: 1; min-width: 0; }
.wordmark img { width: 100%; max-width: 800px; }
.site-nav { background: var(--blue); color: var(--light); }
.site-nav ul { display: flex; justify-content: flex-end; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: flex; justify-content: center; align-items: center; min-height: 46px; padding: 10px 18px; font-size: 17px; line-height: 1.35; text-decoration: none; }
.site-nav a[aria-current="page"] { background: var(--lavender); color: var(--purple); }
.site-nav a:hover { background: var(--lavender); color: var(--purple); }
.service-title { margin: 0; padding: 17px 20px; background: var(--lavender); color: var(--purple); text-align: center; font-size: clamp(1.2rem, 2.4vw, 1.7rem); font-weight: 700; line-height: 1.4; }
h2 { font-size: clamp(1.45rem, 2.5vw, 1.95rem); line-height: 1.4; margin: 0 0 24px; }
p { margin: 0 0 18px; }
.content-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); align-items: center; gap: 38px; padding: 46px 32px; }
.content-grid > * { min-width: 0; }
.media-panel { background: var(--lavender); padding: 18px; }
.media-panel img { width: 100%; }
.home-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.home-photos img { width: 100%; height: auto; }
.copy-panel { overflow-wrap: anywhere; }
.copy-panel p:last-child { margin-bottom: 0; }
.copy-panel em { font-style: inherit; }
.tick-list { padding: 0; margin: 22px 0; list-style: none; }
.tick-list li { position: relative; padding-left: 28px; margin: 7px 0; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: .42em; width: 19px; height: 17px; background: url("../images/Tick-mark.png") center / contain no-repeat; }
.prices { margin-bottom: 0; }
.price { white-space: nowrap; }
.about-grid { align-items: start; }
.contact-list { padding-left: 22px; }
.contact-list li { margin: 14px 0; }
.terms-wrap { padding: 36px; }
.terms-card { max-width: 880px; margin: auto; padding: 32px; background: var(--lavender); color: var(--ink); }
.terms-card p:last-child { margin-bottom: 0; }
.cta-strip { background: var(--blue); color: var(--light); text-align: center; padding: 25px 22px; }
.cta-strip p { margin: 5px auto; }
.steps-title { font-size: 1.25rem; }
.cta-strip a { display: inline-block; padding: 8px 5px; font-weight: 700; }
.site-footer { background: var(--lavender); color: var(--ink); padding: 17px 22px; text-align: center; font-size: 12px; line-height: 1.8; }
.site-footer p { margin: 0; }
.site-footer a:hover { color: var(--blue); }
.portfolio-wrap { padding: 30px; }
.page-heading, .gallery-intro { text-align: center; }
.page-heading { margin-bottom: 10px; }
.gallery-intro { font-size: 15px; }
.gallery-card { max-width: 900px; margin: auto; background: var(--lavender); padding: 16px; color: var(--purple); }
.gallery-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.gallery-item { display: block; min-width: 0; color: var(--purple); text-decoration: none; border: 3px solid transparent; padding: 3px; }
.gallery-item img { width: 100%; height: 170px; object-fit: contain; background: var(--ink); }
.gallery-item span { display: block; text-align: center; font-size: 13px; padding-top: 5px; }
.gallery-item:hover { color: var(--purple); border-color: var(--purple); }
.gallery-item:focus-visible { outline-color: var(--purple); }
.gallery-stage { margin: 0; }
/* Absolutely position the image inside a DEFINITE frame. Its intrinsic height
   cannot enlarge a grid track or overflow the frame on mobile browsers. */
.photo-open { display: block; position: relative; width: 100%; height: clamp(240px, 51vw, 520px); border: 0; background: var(--ink); padding: 0; cursor: zoom-in; }
.photo-open img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.gallery-toolbar button, .viewer button { min-height: 44px; min-width: 44px; border: 1px solid var(--purple); padding: 8px 12px; background: var(--purple); color: var(--light); font-size: 14px; cursor: pointer; border-radius: 3px; }
.gallery-toolbar button:hover, .viewer button:hover { background: var(--blue); }
.gallery-status { margin: 0; text-align: center; font-size: 13px; line-height: 1.5; }
.gallery-help { text-align: center; margin: 12px 0 15px; font-size: 12px; }
.enhanced .gallery-links { grid-template-columns: repeat(7,minmax(0,1fr)); gap: 7px; }
.enhanced .gallery-item { padding: 2px; }
.enhanced .gallery-item img { height: 70px; }
.enhanced .gallery-item span { display: none; }
.enhanced .gallery-item[aria-current="true"] { border-color: var(--purple); }
.viewer { width: min(1100px, 96vw); max-width: 96vw; max-height: 96vh; max-height: 96dvh; padding: 14px; background: var(--ink); border: 1px solid var(--lavender); color: var(--light); }
.viewer::backdrop { background: #180d26eb; }
.viewer-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.viewer-header h2 { font-size: 18px; margin: 0; }
.viewer-frame { position: relative; height: calc(85vh - 140px); height: calc(85dvh - 140px); min-height: 80px; }
.viewer-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.viewer button { border-color: var(--lavender); }
.no-scroll { overflow: hidden; }
@media (max-width: 800px) {
  .content-grid { gap: 25px; padding: 32px 24px; }
  .site-header { gap: 20px; }
  .logo-mark { flex-basis: 112px; }
  .enhanced .gallery-links { grid-template-columns: repeat(5,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .site-shell { width: 100%; margin: 0; box-shadow: none; }
  .content-grid { grid-template-columns: 1fr; padding: 28px 20px; gap: 26px; }
  .media-panel { max-width: 520px; width: 100%; margin: auto; }
  .copy-panel { max-width: 540px; width: 100%; margin: auto; }
  .copy-panel h2 { text-align: center; }
  .site-header { padding: 12px 15px; gap: 12px; }
  .logo-mark { flex-basis: 85px; }
  .site-nav ul { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); }
  .site-nav a { font-size: 14px; padding: 8px 3px; min-height: 44px; height: 100%; text-align: center; }
  .service-title { padding: 14px 17px; }
  .terms-wrap { padding: 24px 16px; }
  .terms-card { padding: 22px; }
  .portfolio-wrap { padding: 26px 14px; }
  .gallery-card { padding: 10px; }
  .enhanced .gallery-links { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .gallery-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gallery-item img { height: 140px; }
  .enhanced .gallery-item img { height: 64px; }
  .photo-open { height: clamp(260px, 78vw, 460px); }
}
@media (max-width: 380px) {
  .site-nav a { font-size: 12px; }
  .site-header { padding: 10px 12px; gap: 9px; }
  .logo-mark { flex-basis: 74px; }
  .content-grid { padding-inline: 16px; }
  .media-panel { padding: 10px; }
  .home-photos { gap: 7px; }
  .gallery-toolbar { gap: 6px; }
  .gallery-toolbar button { padding: 8px; font-size: 12px; }
  .gallery-status { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
