/* 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 {
  font-family: var(--serif);
  color: var(--stone-dim);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: .78rem;
  margin: 0 14px;
  white-space: nowrap;
}
.materials span::before { content: "— "; color: var(--engrave-dim); }
.materials span::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 {
  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;
}
