/* HSP Timepieces — single-page commissions site
   Palette: deep navy + brass on warm off-white.
   Type: serif display (Georgia stack) + clean system sans. No webfonts, no trackers. */

:root {
  --navy: #0d1b2e;
  --navy-2: #13263f;
  --navy-ink: #1b2a3d;
  --brass: #b99256;
  --brass-deep: #97743d;
  --paper: #faf6ee;
  --paper-2: #f3ecdd;
  --ink: #23211c;
  --ink-soft: #55503f;
  --line: #ddd2ba;
  --max: 68rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-text, .tier-price {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.18;
  color: var(--navy-ink);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.6rem, 7vw, 4.3rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }
a { color: var(--brass-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 46rem; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 0.9rem;
}
.eyebrow-dark { color: var(--brass); }

.section { padding: 4.2rem 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--navy); color: #ece5d3; }
.section-dark h2, .section-dark h3 { color: #f5efe0; }
.section-dark a { color: var(--brass); }
.section-lede { max-width: 44rem; color: var(--ink-soft); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 246, 238, 0.96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--navy);
}
.brand-mark { width: 38px; height: 38px; flex: none; }
.mark-ring { fill: none; stroke: var(--brass); stroke-width: 2; }
.mark-fill { fill: var(--brass); }
.mark-hands { stroke: var(--brass); stroke-width: 3; stroke-linecap: round; fill: none; }
.brand-text { font-size: 1.35rem; letter-spacing: 0.04em; margin: 0; }
.brand-sub { color: var(--brass-deep); }

.site-nav { display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; }
.site-nav a {
  color: var(--navy-ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.site-nav a:hover { color: var(--brass-deep); }
.site-nav .nav-cta {
  border: 1.5px solid var(--brass-deep);
  color: var(--brass-deep);
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
}
.site-nav .nav-cta:hover { background: var(--brass-deep); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #f2ecdb;
  padding: 5.2rem 0 4.6rem;
}
.hero h1 { color: #f8f3e6; }
.hero-motif {
  position: absolute;
  right: -140px;
  top: 50%;
  transform: translateY(-50%);
  width: 560px;
  height: 560px;
  opacity: 0.5;
  pointer-events: none;
}
.motif-ring { fill: none; stroke: var(--brass); stroke-width: 1.4; }
.motif-faint { opacity: 0.45; }
.motif-ticks line { stroke: var(--brass); stroke-width: 5; stroke-linecap: round; }
.motif-hands { stroke: var(--brass); stroke-width: 7; stroke-linecap: round; fill: none; }
.motif-hands-sm { stroke: var(--brass); stroke-width: 4.5; stroke-linecap: round; fill: none; }
.motif-dot { fill: var(--brass); }
.hero-inner { position: relative; }
.hero .eyebrow { color: var(--brass); }
.hero-lede { max-width: 38rem; font-size: 1.16rem; color: #e3dac2; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin: 1.7rem 0 1.1rem; }
.hero-note { font-size: 0.95rem; color: #c9bc98; margin: 0; }

.button {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.button-brass { background: var(--brass); color: var(--navy); }
.button-brass:hover { background: #cda869; color: var(--navy); }
.button-ghost { border-color: #8d8163; color: #f2ecdb; }
.button-ghost:hover { border-color: var(--brass); color: var(--brass); }
.button-wide { width: 100%; text-align: center; font-size: 1.05rem; }

/* ---------- Portfolio cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  border-radius: 10px;
  padding: 1.7rem 1.5rem 1.4rem;
}
.card-motif { width: 74px; height: 74px; margin-bottom: 0.9rem; }
.card h3 { margin-bottom: 0.15rem; }
.card-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 0.7rem;
}
.card p:last-child { margin-bottom: 0; color: var(--ink-soft); }

/* ---------- Process steps ---------- */
.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.6rem;
}
.steps li { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1.5px solid var(--brass);
  border-radius: 50%;
  color: var(--brass-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
}
.steps h3 { margin-bottom: 0.35rem; }
.steps p { color: var(--ink-soft); margin: 0; }

/* ---------- Pricing ---------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
  align-items: stretch;
}
.tier {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.8rem 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.tier-featured { border: 2px solid var(--brass); }
.tier h3 { margin-bottom: 0; }
.tier-name-sub {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin: 0.2rem 0 0.8rem;
}
.tier-price { font-size: 2.5rem; color: var(--navy); margin: 0; }
.tier-price-small { font-size: 1.05rem; color: var(--ink-soft); }
.tier-founding { color: var(--brass-deep); font-weight: 600; margin: 0.3rem 0 1rem; }
.tier ul { margin: 0; padding-left: 1.15rem; color: var(--ink-soft); }
.tier li { margin-bottom: 0.45rem; }

.terms {
  margin-top: 2rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink-soft);
}

.founding {
  margin-top: 1.6rem;
  background: var(--navy);
  color: #ece5d3;
  border-radius: 10px;
  padding: 2rem 1.8rem;
}
.founding h3 { color: #f5efe0; }
.founding p { max-width: 44rem; }
.founding .button { margin-top: 0.4rem; }

/* ---------- FAQ ---------- */
.faq-q { margin-top: 1.8rem; margin-bottom: 0.4rem; }
.faq-q:first-of-type { margin-top: 1.2rem; }
#faq p { color: var(--ink-soft); }

/* ---------- Inquiry form ---------- */
.inquiry-form { margin-top: 1.6rem; }
.field { margin-bottom: 1.15rem; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: #f5efe0;
}
.field-hint { font-weight: 400; color: #c9bc98; }
.field input,
.field textarea,
.field select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fffdf7;
  border: 1px solid #6d7d94;
  border-radius: 6px;
  padding: 0.7rem 0.8rem;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
  border-color: var(--brass);
}
.form-note { font-size: 0.9rem; color: #c9bc98; margin-top: 0.9rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #c9bc98;
  border-top: 3px solid var(--brass);
  padding: 2.6rem 0 2.2rem;
  font-size: 0.95rem;
}
.footer-inner p { margin-bottom: 0.55rem; }
.footer-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  color: #f5efe0;
  letter-spacing: 0.04em;
}
.site-footer a { color: var(--brass); }
.footer-fine { font-size: 0.82rem; color: #93a0b4; margin-top: 1.1rem; }

/* ---------- Small screens ---------- */
@media (max-width: 40rem) {
  .section { padding: 3.2rem 0; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 0.55rem; }
  .site-nav { gap: 0.95rem; }
  .hero { padding: 3.6rem 0 3.2rem; }
  .hero-motif { width: 380px; height: 380px; right: -170px; opacity: 0.35; }
  .field-row { grid-template-columns: 1fr; }
}
