/* Glass Club Inc. — site styles */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #0f2b2d;
  --muted: #4a6466;
  --teal: #0b6c72;
  --teal-dark: #085a5f;
  --frame: #0f3a3d;
  --on-frame: #c9e4e5;
  --highlight: #9fdcdf;
  --glass: #eaf4f4;
  --line: #d3e3e3;
  --paper: #ffffff;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 14px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }

address { font-style: normal; }

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--teal-dark); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  margin: 0 0 0.5em;
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6.5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.35rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; text-wrap: pretty; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (max-width: 380px) { .wrap { padding-inline: 16px; } }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 20;
  padding: 10px 16px;
  background: var(--frame);
  color: #fff;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Header ---------- */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding-block: 14px 6px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand img { width: 42px; }
.brand-name {
  font-family: var(--display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.header-call { margin-left: auto; padding: 0 16px; }
.header-call .num { display: none; }
.main-nav { order: 3; width: 100%; }
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 -6px;
  padding: 0;
  list-style: none;
}
.nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
  color: var(--ink);
  font-size: clamp(0.85rem, 3.9vw, 1rem);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}
.nav a:hover { background: var(--glass); color: var(--ink); }
.nav a[aria-current="page"] {
  color: var(--teal);
  box-shadow: inset 0 -3px 0 var(--teal);
  border-radius: 0;
}

@media (min-width: 900px) {
  .header-inner { padding-block: 18px; gap: 10px 24px; }
  .brand { gap: 12px; }
  .brand img { width: 58px; }
  .brand-name { font-size: 1.2rem; font-stretch: 125%; }
  .main-nav { order: 0; width: auto; margin-left: auto; }
  .nav { margin: 0; gap: 4px; }
  .nav a { padding: 0 14px; font-size: 1rem; }
  .header-call { margin-left: 0; padding: 0 20px; }
  .header-call .num { display: inline; }
  .header-call .word { display: none; }
}
@media (max-width: 380px) {
  .brand img { width: 36px; }
  .brand-name { font-size: 0.82rem; }
  .header-call { padding: 0 14px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 2px solid transparent;
  border-radius: 10px;
  font-family: var(--body);
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-outline:hover { background: var(--glass); color: var(--teal-dark); }
.btn-light { background: #fff; color: var(--frame); }
.btn-light:hover { background: var(--glass); color: var(--frame); }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 1.125rem; }

/* ---------- Hero (home) ---------- */

.hero {
  background: var(--glass);
  border-bottom: 1px solid var(--line);
  padding-block: 44px 52px;
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 0.35em; }
.lead {
  max-width: 34em;
  color: var(--muted);
  font-size: clamp(1.125rem, 2.2vw, 1.3rem);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hours-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}
.hours-note .icon { margin-top: 2px; color: var(--teal); }

@media (min-width: 900px) {
  .hero { padding-block: 72px 80px; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; }
}

/* The "window": photos set as panes in a frame, like the logo */
.window {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 12px;
  background: var(--frame);
  border-radius: 18px;
  box-shadow: 0 28px 50px -28px rgba(15, 58, 61, 0.6);
}
.pane, .framed .pane {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}
.pane img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pane::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(118deg,
    transparent 0 58%,
    rgba(255, 255, 255, 0.16) 58% 64%,
    transparent 64% 68%,
    rgba(255, 255, 255, 0.1) 68% 71%,
    transparent 71%);
}

.framed {
  margin: 0;
  padding: 10px;
  background: var(--frame);
  border-radius: 16px;
  box-shadow: 0 24px 44px -26px rgba(15, 58, 61, 0.6);
}
.framed .pane img { aspect-ratio: auto; }

/* ---------- Sections ---------- */

.section { padding-block: 56px; }
@media (min-width: 900px) { .section { padding-block: 80px; } }

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 28px;
}
.card-body h2 a { color: var(--ink); text-decoration: none; }
.card-body h2 a:hover { color: var(--teal); }
.card-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin: auto 0 0;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 700;
}
.link-arrow .icon { width: 18px; height: 18px; }

/* ---------- Quote band ---------- */

.quote-band {
  background: var(--frame);
  color: var(--on-frame);
  padding-block: 56px;
}
.quote-band .eyebrow { color: var(--highlight); }
.quote-band h2 { color: #fff; max-width: 18em; }
.quote-band h2 a { color: var(--highlight); text-decoration: none; white-space: nowrap; }
.quote-band h2 a:hover { color: #fff; text-decoration: underline; }
.quote-band a { color: #fff; }
.quote-band :focus-visible { outline-color: var(--highlight); }
.quote-grid { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .quote-band { padding-block: 72px; }
  .quote-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 56px; }
}

.contact-list { display: grid; gap: 18px; margin: 0; }
.contact-list > div {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 2px 14px;
}
.contact-list .icon { grid-row: span 2; margin-top: 3px; color: var(--highlight); }
.contact-list dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--highlight);
}
.contact-list dd { margin: 0; color: #fff; }

/* ---------- Recommended ---------- */

.recommended { border-top: 1px solid var(--line); padding-block: 30px; }
.rec-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
}
.rec-names { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 28px; }
.rec-names .eyebrow { margin: 0; }
.rec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rec-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-family: var(--display);
  font-stretch: 110%;
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
}
.rec-list a:hover { color: var(--teal); text-decoration: underline; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--frame);
  color: var(--on-frame);
  padding-block: 52px 28px;
  font-size: 0.98rem;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--highlight); }
.site-footer :focus-visible { outline-color: var(--highlight); }
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
}
.footer-grid p { margin: 0; }
.footer-brand .brand-name { color: #fff; font-size: 1.1rem; }
.footer-brand p { margin-top: 12px; }
.footer-h {
  margin: 0 0 10px;
  color: var(--highlight);
  font-family: var(--body);
  font-stretch: 100%;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.site-footer address { font-style: normal; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(201, 228, 229, 0.22);
  font-size: 0.9rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Inner pages ---------- */

.page-hero {
  background: var(--glass);
  border-bottom: 1px solid var(--line);
  padding-block: 44px 48px;
}
.page-hero-grid { display: grid; gap: 32px; align-items: center; }
.page-hero .intro { max-width: 36em; color: var(--muted); font-size: 1.125rem; }
.page-hero .intro p:last-child { margin-bottom: 0; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 26px;
}
.cta-row p { margin: 0; color: var(--ink); font-weight: 600; }
@media (min-width: 900px) {
  .page-hero { padding-block: 64px 72px; }
  .page-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; }
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.jump a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}
.jump a:hover { border-color: var(--teal); color: var(--teal); }

.service { padding-block: 52px; border-bottom: 1px solid var(--line); scroll-margin-top: 12px; }
.service:last-of-type { border-bottom: 0; }
.service-grid { display: grid; gap: 28px; align-items: start; }
.service-media { max-width: 420px; }
.service h2 { margin-bottom: 0.45em; }
.label { margin: 1.4em 0 0.7em; font-weight: 700; }
@media (min-width: 900px) {
  .service { padding-block: 72px; }
  .service-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
  .service.flip .service-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .service.flip .service-media { order: 2; justify-self: end; }
}

.checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.checklist li { position: relative; padding-left: 26px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 13px;
  height: 13px;
  border: 2px solid var(--teal);
  border-radius: 3px;
  background: linear-gradient(135deg, transparent 0 42%, rgba(11, 108, 114, 0.45) 42% 60%, transparent 60%);
}

/* Contact page */
.contact-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}
.contact-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-card h2 { font-size: 1.3rem; margin-bottom: 0.4em; }
.contact-card p { margin: 0; }
.contact-card .stack { display: grid; gap: 4px; }
.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  background: var(--glass);
  border-radius: 10px;
  color: var(--teal);
}
.big-link { font-size: 1.2rem; font-weight: 700; overflow-wrap: anywhere; }
.big-link.email { font-size: 1.05rem; }
.small-label { color: var(--muted); font-size: 0.9rem; }
.license-note { margin-top: 28px; color: var(--muted); }

/* Privacy policy */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.8em; font-size: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1em; padding-left: 1.25em; }
.prose li { margin-bottom: 0.5em; }
.prose address { font-style: normal; }
.effective { margin: 0; color: var(--muted); font-weight: 600; }

/* 404 */
.not-found { padding-block: 80px 96px; }
.not-found .actions { margin-top: 20px; }

/* ---------- Polish ---------- */

.nowrap { white-space: nowrap; }
::selection { background: #bfe6e8; color: var(--ink); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.contact-list dd, .site-footer p, .contact-card p, .hours-note span { text-wrap: pretty; }

/* Cards respond to hover, since the whole card leads somewhere */
.card { transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.card:hover { border-color: #a9cdce; box-shadow: 0 18px 36px -24px rgba(15, 58, 61, 0.45); }
.card-media { display: block; overflow: hidden; }
.card-media img { transition: transform 0.4s ease; }
.card:hover .card-media img { transform: scale(1.03); }

/* Secondary card link matches the primary one */
.link-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
}
.link-call .icon { width: 18px; height: 18px; }

/* Footer: give the hours column room so it doesn't wrap into four lines */
@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1.15fr);
  }
}

/* Phones: skip the decorative page-top photo so the services come first */
@media (max-width: 899px) {
  .page-hero .framed { display: none; }
  .rec-list { gap: 0 20px; }
  .rec-list a { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .card:hover .card-media img { transform: none; }
}
