/*
  Signal Stone static site styles
  Brand colors and common spacing are collected here for simple iteration.
*/

:root {
  --midnight: #071728;
  --slate: #28323b;
  --copper: #9b6848;
  --copper-light: #b7815d;
  --sage: #aab1a6;
  --warm-white: #f4f1ec;
  --white: #fffefd;
  --ink: #11151a;
  --muted: #5f625f;
  --line: #ddd8d0;
  --shadow: 0 16px 40px rgb(7 23 40 / 9%);
  --radius: 0;
  --max-width: 70rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--warm-white);
  font-family: Sora, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

a { color: inherit; }

a:focus-visible {
  outline: 3px solid var(--copper-light);
  outline-offset: 3px;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  color: var(--ink);
  font-family: Sora, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

h1 { max-width: 13ch; margin-bottom: 1.25rem; font-size: clamp(2.6rem, 6vw, 4.75rem); }
h2 { margin-bottom: 1.25rem; font-size: clamp(1.9rem, 3vw, 2.8rem); }
h3 { margin-bottom: 0.75rem; font-size: 1.2rem; }

.container { width: min(calc(100% - 3rem), var(--max-width)); margin-inline: auto; }

.site-header { background: var(--warm-white); border-bottom: 1px solid var(--line); }

.navigation, .footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.navigation { min-height: 5.5rem; }

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: 2.4rem;
  aspect-ratio: 208 / 200;
  object-fit: contain;
}

.nav-links { display: flex; gap: 1.25rem; padding: 0; margin: 0; list-style: none; }
.nav-links a { color: var(--ink); font-size: 0.63rem; font-weight: 700; letter-spacing: 0.06em; text-decoration: none; text-transform: uppercase; }
.nav-links a:hover { color: var(--copper); }

.hero {
  padding: clamp(5rem, 13vw, 9.5rem) 0;
  min-height: 42rem;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgb(244 241 236 / 96%) 0%, rgb(244 241 236 / 90%) 42%, rgb(244 241 236 / 28%) 65%, rgb(244 241 236 / 0%) 82%), url("assets/hero-kitchen-speaker-window.png") center / cover no-repeat;
}

.hero-content { max-width: 43rem; }
.hero h1 { color: var(--ink); }
.hero-copy { max-width: 32rem; margin-bottom: 2rem; color: #30373a; font-size: 1rem; }

.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--copper);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--copper);
  box-shadow: var(--shadow);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background-color 150ms ease, transform 150ms ease;
}

.button:hover { border-color: var(--midnight); background: var(--midnight); transform: translateY(-1px); }

.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-muted { background: #e9e7e2; }

.two-column { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 7vw, 7rem); }
.prose { color: var(--muted); font-size: 1.08rem; }
.prose p:last-child, .section-intro p:last-child { margin-bottom: 0; }

.section-intro { max-width: 43rem; margin-bottom: 2.5rem; }
.section-intro > p:not(.eyebrow) { color: var(--muted); }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card { padding: 1.7rem; border: 1px solid var(--line); border-top: 3px solid var(--copper); border-radius: var(--radius); background: var(--white); box-shadow: 0 5px 14px rgb(7 23 40 / 4%); }
.service-card p { margin-bottom: 0; color: var(--muted); }

.site-footer { padding: 1.5rem 0; color: #c9c5bf; background: var(--midnight); font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; }
.site-footer p { margin: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--copper-light); }

/* Stack content gracefully on tablets and phones. */
@media (max-width: 700px) {
  .two-column, .service-grid { grid-template-columns: 1fr; }

  .hero {
    min-height: 38rem;
      background: linear-gradient(90deg, rgb(244 241 236 / 94%) 0%, rgb(244 241 236 / 88%) 50%, rgb(244 241 236 / 48%) 100%), url("assets/hero-kitchen-speaker-window.png") 62% center / cover no-repeat;
  }

  .hero h1,
  .hero-copy {
    text-shadow: 0 1px 10px rgb(244 241 236 / 72%);
  }
}

@media (max-width: 460px) {
  .container { width: min(calc(100% - 2rem), var(--max-width)); }
  .navigation { min-height: auto; padding: 1rem 0; align-items: flex-start; }
    .brand-mark { height: 2rem; }
  .nav-links { gap: 0.75rem; }
  .hero {
    padding: 4.5rem 0 5.25rem;
    min-height: 34rem;
      background: linear-gradient(90deg, rgb(244 241 236 / 95%) 0%, rgb(244 241 236 / 90%) 58%, rgb(244 241 236 / 56%) 100%), url("assets/hero-kitchen-speaker-window.png") 64% center / cover no-repeat;
  }
  .footer-content { align-items: flex-start; flex-direction: column; gap: 0.5rem; }
}
