/* =========================================================
   WORKSHOP — warm, personal, craft-focused.
   Cream paper, walnut brown, muted sage. Softer edges,
   lighter structure, more air between things.

   TO CHANGE THE LOOK, EDIT THE VALUES BELOW.
   ========================================================= */

:root {
  /* Colours */
  --ink:        #2a241e;   /* main text — warm near-black */
  --ink-soft:   #5f564b;   /* less important text */
  --paper:      #fbf7f0;   /* page background — warm cream */
  --paper-alt:  #f3ece0;   /* alternating section background */
  --deep:       #4a3627;   /* walnut — header and footer */
  --deep-text:  #f6efe4;   /* text on walnut */
  --accent:     #6d7f5f;   /* muted sage — buttons and links */
  --accent-dark:#55654a;   /* sage, darker, for text links */
  --line:       #e2d7c6;   /* borders */

  /* Type */
  --font-head: "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing */
  --gap: 1.5rem;
  --section-space: 5rem;
  --radius: 10px;
}

/* ---------- base ---------- */

* { box-sizing: border-box; }

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.45rem, 3.5vw, 2rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1rem; }

a { color: var(--accent-dark); }

.link { text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--accent); }

.muted { color: var(--ink-soft); font-size: 0.9rem; }
.center { text-align: center; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  background: var(--deep);
  color: var(--deep-text);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}
.skip:focus { left: 1rem; top: 1rem; z-index: 100; }

.wrap {
  width: min(1060px, 90%);
  margin-inline: auto;
}
.wrap.narrow { width: min(680px, 90%); }

/* ---------- header ---------- */

.site-header {
  background: var(--paper);
  color: var(--ink);
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap);
  justify-content: space-between;
}

.brand { text-decoration: none; color: var(--ink); display: block; }
.brand-name {
  display: block;
  font-family: var(--font-head);
  font-size: 1.4rem;
}
.brand-sub {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-header nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.site-header nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
}
.site-header nav a:hover { color: var(--accent-dark); text-decoration: underline; }

.header-phone {
  color: #fff;
  background: var(--accent-dark);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.95rem;
}
.header-phone:hover { background: var(--accent); }

/* ---------- hero ---------- */

.hero {
  background: var(--paper-alt);
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}
.hero h1 { max-width: 16ch; }
.lede {
  font-size: 1.2rem;
  max-width: 52ch;
  color: var(--ink-soft);
}
.hero-note {
  margin-top: 1.75rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: inline-block;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--deep);
  color: var(--deep-text);
}
.btn-primary:hover { background: #5d4534; }
.btn-secondary {
  border-color: var(--deep);
  color: var(--deep);
  background: transparent;
}
.btn-secondary:hover { background: rgba(74,54,39,0.07); }

/* ---------- sections ---------- */

.section { padding: var(--section-space) 0; }
.section-alt { background: var(--paper-alt); }

/* Services as a simple divided list rather than boxes — quieter, more
   like a printed page than a dashboard. */
.grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .grid { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
}

.card {
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.card h3 { color: var(--deep); margin-bottom: 0.35em; }
.card p { margin: 0; color: var(--ink-soft); }

.quote {
  margin: 0;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.quote p { font-size: 1.05rem; }
.quote p::before { content: "\201C"; }
.quote p::after  { content: "\201D"; }
.quote cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.faq dt {
  font-weight: 700;
  margin-top: 1.6rem;
  font-family: var(--font-head);
  font-size: 1.1rem;
}
.faq dd { margin: 0.35rem 0 0; color: var(--ink-soft); }

/* ---------- form ---------- */

.form { margin-top: 1.75rem; }

.field { margin-bottom: 1.2rem; }

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}
.optional { font-weight: 400; color: var(--ink-soft); }

input, textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  border: 1px solid #cfc2ad;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
textarea { resize: vertical; }

.form-note {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--deep);
  color: #cbbba7;
  padding: 3rem 0;
  margin-top: var(--section-space);
  font-size: 0.95rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  justify-content: space-between;
}
.site-footer p { margin: 0 0 0.35rem; }
.footer-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--deep-text);
}
.site-footer .link { color: #b9c9aa; }

/* =========================================================
   ADDITIONS
   ========================================================= */

/* ---------- piano-key motif (decorative) ----------
   A thin abstract keyboard strip. Delete the .keys div in
   index.html to remove it. */
.keys {
  height: 8px;
  background:
    repeating-linear-gradient(90deg,
      var(--deep) 0 3px,
      transparent 3px 24px);
  background-color: #d8c7ad;
  opacity: 0.7;
}

/* ---------- trust strip ---------- */
.trust {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 1.35rem 0;
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 3rem;
  justify-content: center;
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.trust-item strong { color: var(--deep); font-family: var(--font-head); }

/* ---------- sticky call bar (phones only) ---------- */
.callbar { display: none; }

@media (max-width: 720px) {
  .callbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    box-shadow: 0 -2px 12px rgba(42,36,30,0.18);
  }
  .callbar a {
    padding: 0.95rem 0.5rem;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
  }
  .callbar-call { background: var(--accent-dark); color: #fff; }
  .callbar-book { background: var(--deep); color: var(--deep-text); }
  body { padding-bottom: 3.5rem; }
}

/* ---------- scroll reveal ----------
   Sections are visible by default. The animation only applies
   when JavaScript has run AND the visitor has not asked for
   reduced motion. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- work gallery ---------- */
.gallery {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(2, 1fr);
  margin-top: 1.5rem;
}
@media (min-width: 860px) { .gallery { grid-template-columns: repeat(4, 1fr); } }

.shot { margin: 0; }
.shot-ph {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 0.85rem;
  background: var(--paper-alt);
}
/* When a real photo replaces the placeholder, this keeps it tidy. */
.shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.shot figcaption {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
