/* Kingston Engraving — dark-workshop theme
   Inspired by the black metal business card: engraved raven, K|E monogram.
   Self-contained: system fonts only, no external requests — runs offline on the Pi. */

:root {
  --ink: #0e0e10;          /* near-black, the card */
  --ink-2: #16161a;        /* raised panels */
  --ink-3: #1e1e24;        /* borders/hover */
  --engrave: #c8a45c;      /* engraved brass line */
  --engrave-dim: #8a7245;
  --stone: #e8e4da;        /* slate text */
  --stone-dim: #a8a49b;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--ink);
  color: var(--stone);
  font-family: var(--sans);
  line-height: 1.6;
}

/* ---- engraved-line motif (laser etch) ---- */
.etch-top {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--engrave) 20%, var(--engrave) 80%, transparent);
  opacity: .7;
}

/* ---- header ---- */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(14, 14, 16, .96);
  border-bottom: 1px solid var(--ink-3);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--stone);
}

.brand .ke-logo {
  width: 38px;
  height: 38px;
  color: var(--stone);
  flex: none;
}

.brand .name {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}

nav.menu { display: flex; gap: 22px; flex-wrap: wrap; }
nav.menu a {
  color: var(--stone-dim);
  text-decoration: none;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .2s;
}
nav.menu a:hover { color: var(--engrave); }

/* ---- hero ---- */
.hero {
  text-align: center;
  padding: 90px 24px 70px;
  background:
    repeating-linear-gradient(115deg, rgba(200,164,92,.03) 0 1px, transparent 1px 90px),
    radial-gradient(ellipse at 50% 0%, #1a1a20 0%, var(--ink) 65%);
}

.hero .ke-logo-big {
  width: 150px;
  height: 150px;
  color: var(--stone);
  margin: 0 auto 18px;
  display: block;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: normal;
  font-size: 1.9rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  margin: 18px 0 10px;
}

.hero .tagline {
  color: var(--stone-dim);
  max-width: 640px;
  margin: 0 auto 34px;
  font-size: 1.05rem;
}

.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 3px;
  text-decoration: none;
  font-size: .85rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: all .2s;
}
.btn-primary {
  background: var(--engrave);
  color: #141410;
  border: 1px solid var(--engrave);
}
.btn-primary:hover { background: #d9b874; }
.btn-ghost {
  border: 1px solid var(--engrave-dim);
  color: var(--engrave);
}
.btn-ghost:hover { border-color: var(--engrave); }

/* ---- materials strip ---- */
.materials {
  border-top: 1px solid var(--ink-3);
  border-bottom: 1px solid var(--ink-3);
  padding: 16px 24px;
  text-align: center;
}
.materials span, .materials a {
  font-family: var(--serif);
  color: var(--stone-dim);
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s;
}
.materials a:hover { color: var(--stone); }
  font-size: .78rem;
  margin: 0 14px;
  white-space: nowrap;
}
.materials span::before, .materials a::before { content: "— "; color: var(--engrave-dim); }
.materials span::after, .materials a::after { content: " —"; color: var(--engrave-dim); }

/* ---- sections ---- */
main { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

section { padding: 64px 0; }

.section-title {
  font-family: var(--serif);
  font-weight: normal;
  font-size: 1.5rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 8px;
}
.section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 1px;
  background: var(--engrave);
  margin: 14px auto 0;
}
.section-sub {
  text-align: center;
  color: var(--stone-dim);
  max-width: 560px;
  margin: 14px auto 40px;
}

/* ---- work grid ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.card {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color .2s;
}
.card:hover { border-color: var(--engrave-dim); }

/* real work photos (Square catalog, Sept 14 2026) */
.card img.work-img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.card img.work-img.lead {
.card img.work-img.square {
  aspect-ratio: 1 / 1;
}

  aspect-ratio: 3 / 4;
  grid-column: span 2;
}

/* photo placeholder — real photos drop in when Bryan supplies them */
.card .ph {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(45deg, #17171c 0 8px, #141419 8px 16px);
  color: #5c5850;
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.card .ph.lead {
  aspect-ratio: 3 / 4;
  grid-column: span 2;
}
.card .cap { padding: 14px 16px; }
.card .cap h3 {
  font-family: var(--serif);
  font-weight: normal;
  font-size: 1rem;
  letter-spacing: .05em;
  margin-bottom: 4px;
}
.card .cap p { color: var(--stone-dim); font-size: .88rem; }

/* ---- custom pitch ---- */
.pitch {
  text-align: center;
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: 4px;
  padding: 48px 32px;
}
.pitch .big {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: normal;
  margin-bottom: 12px;
}
.pitch p { color: var(--stone-dim); max-width: 620px; margin: 0 auto 26px; }

/* ---- visit ---- */
.visit { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.visit .box {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: 4px;
  padding: 22px;
  text-align: center;
}
.visit .box .label {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--engrave);
  margin-bottom: 8px;
}
.visit .box p { font-size: .95rem; color: var(--stone-dim); }
.visit .box a { color: var(--stone); text-decoration: none; }
.visit .box a:hover { color: var(--engrave); }

/* ---- footer ---- */
footer {
  border-top: 1px solid var(--ink-3);
  margin-top: 40px;
  padding: 36px 24px;
  text-align: center;
  color: var(--stone-dim);
  font-size: .85rem;
}
footer .ke-logo { width: 30px; height: 30px; color: var(--engrave); display: inline-block; }
footer .links { margin: 14px 0; }
footer .links a { color: var(--stone-dim); text-decoration: none; margin: 0 12px; }
footer .links a:hover { color: var(--engrave); }

@media (max-width: 640px) {
  .hero .ke-logo-big { width: 100px; height: 100px; }
  .hero h1 { font-size: 1.3rem; letter-spacing: .2em; }
  .card .ph.lead, .card img.work-img.lead { grid-column: span 1; }
}

/* ---- find-us photo (storefront) ---- */
.find-us { margin-top: 40px; text-align: center; }
.find-us img {
  width: 100%;
  max-width: 820px;
  display: block;
  margin: 0 auto;
  border: 1px solid var(--ink-3);
  border-radius: 4px;
}
.find-us .cap {
  color: var(--stone-dim);
  font-size: .88rem;
  margin-top: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Storefront hero photo (Sept 16 2026 — storefront replaces the big logo in the homepage hero) */
.hero-photo {
  display: block;
  margin: 0 auto 12px;
  width: 100%;
  max-width: 560px;
  border-radius: 10px;
  border: 1px solid rgba(200,164,92,.35);
  box-shadow: 0 14px 44px rgba(0,0,0,.5);
}
.hero-cap {
  color: var(--stone-dim);
  font-size: .92rem;
  margin: 14px auto 26px;
  letter-spacing: .02em;
}
@media (max-width: 720px) {
  .hero-photo { border-radius: 8px; }
  .hero-cap { font-size: .85rem; margin-bottom: 24px; }
}


/* ---- service landing pages ---- */
.breadcrumbs { padding-top: 24px; display: flex; flex-wrap: wrap; gap: 9px; color: var(--stone-dim); font-size: .78rem; }
.breadcrumbs a { color: var(--stone-dim); text-decoration: none; }
.breadcrumbs a:hover, .text-link { color: var(--engrave); }
.eyebrow { color: var(--engrave); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; }
.service-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 52px; align-items: center; padding-top: 46px; }
.service-hero h1 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.08; font-weight: normal; margin-bottom: 20px; }
.service-lead { color: var(--stone-dim); font-size: 1.08rem; max-width: 650px; margin-bottom: 28px; }
.service-hero img, .service-section figure img { width: 100%; display: block; object-fit: cover; border: 1px solid rgba(200,164,92,.35); border-radius: 6px; }
.service-hero img { max-height: 560px; aspect-ratio: 4 / 5; }
.cta-row.left { justify-content: flex-start; }
.service-section { border-top: 1px solid var(--ink-3); }
.service-section.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; }
.service-section.split.reverse > div { order: 2; }
.service-section.split.reverse > figure { order: 1; }
.service-section h2, .faq-section h2 { font-family: var(--serif); font-weight: normal; font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1.2; margin-bottom: 18px; }
.service-section p { color: var(--stone-dim); margin-bottom: 18px; }
.service-section figure img { max-height: 470px; aspect-ratio: 4 / 3; }
.service-section figure figcaption { color: var(--stone-dim); font-size: .8rem; margin-top: 10px; }
.check-list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.check-list li { color: var(--stone); padding-left: 22px; position: relative; }
.check-list li::before { content: ""; width: 8px; height: 8px; border: 1px solid var(--engrave); position: absolute; left: 0; top: .55em; transform: rotate(45deg); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.process-grid div { background: var(--ink-2); border: 1px solid var(--ink-3); padding: 24px; border-radius: 4px; }
.process-grid strong { display: block; font-family: var(--serif); font-weight: normal; color: var(--stone); margin-bottom: 8px; }
.process-grid p { margin: 0; font-size: .9rem; }
.service-section.quiet { text-align: center; max-width: 780px; margin: 0 auto; }
.service-section.quiet p { max-width: 680px; margin-left: auto; margin-right: auto; }
.faq-section { border-top: 1px solid var(--ink-3); }
.faq-list { display: grid; gap: 12px; margin-top: 24px; }
.faq-list details { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 4px; padding: 0 20px; }
.faq-list summary { cursor: pointer; padding: 18px 28px 18px 0; font-family: var(--serif); position: relative; }
.faq-list summary::after { content: "+"; color: var(--engrave); position: absolute; right: 0; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { color: var(--stone-dim); padding: 0 0 18px; }
.service-link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.service-link-grid a { display: block; text-decoration: none; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 4px; padding: 24px; transition: border-color .2s, transform .2s; }
.service-link-grid a:hover { border-color: var(--engrave-dim); transform: translateY(-2px); }
.service-link-grid span { display: block; color: var(--stone); font-family: var(--serif); margin-bottom: 6px; }
.service-link-grid small { display: block; color: var(--stone-dim); line-height: 1.45; }
.home-services { margin-top: 0; }
@media (max-width: 780px) {
  .service-hero, .service-section.split { grid-template-columns: 1fr; gap: 30px; }
  .service-hero { padding-top: 34px; }
  .service-hero img { max-height: 430px; }
  .service-section.split.reverse > div, .service-section.split.reverse > figure { order: initial; }
  .process-grid, .service-link-grid { grid-template-columns: 1fr; }
  .cta-row.left { justify-content: center; }
  .service-intro { text-align: center; }
}


/* ---- Canadian flag feature section ---- */
.flag-feature {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: 6px;
  margin: 40px 0 20px;
  padding: 56px 32px;
  text-align: center;
}

.flag-feature .flag-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.flag-feature .flag-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.28;
  filter: contrast(1.05) saturate(0.95);
}

.flag-feature .flag-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(22, 22, 26, 0.72) 0%, rgba(14, 14, 16, 0.88) 100%);
  z-index: 2;
  pointer-events: none;
}

.flag-feature .flag-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  margin: 0 auto;
}

.flag-feature h2 {
  font-family: var(--serif);
  font-weight: normal;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 8px;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.flag-feature h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: var(--engrave);
  margin: 14px auto 0;
}

.flag-feature p {
  color: var(--stone);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 18px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
}

.flag-feature .flag-tagline {
  font-family: var(--serif);
  color: var(--engrave);
  font-size: .92rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 0;
  margin-top: 22px;
}

@media (max-width: 640px) {
  .flag-feature {
    padding: 40px 20px;
    margin: 30px 0 10px;
  }
  .flag-feature p {
    font-size: .95rem;
  }
  .flag-feature .flag-tagline {
    font-size: .85rem;
  }
}
