/* Godspeed Solutions — draft site styles
   Brand: charcoal, paper, serif headlines. Mobile-first. */

:root {
  --ink: #1b1b1b;
  --charcoal: #2c2c2c;
  --muted: #5a5854;
  --soft: #8a8782;
  --line: #d6d3cd;
  --line-strong: #c3bfb7;
  --paper: #f3f1ee;
  --paper-deep: #e6e3dd;
  --white: #fbfaf8;
  --placeholder-bg: #f4ead6;
  --placeholder-ink: #6a4f12;
  --focus: #2c2c2c;
  --shadow: 0 10px 30px rgba(28, 28, 28, 0.08);
  --header-h: 4.25rem;
  --content: 70rem;
  --narrow: 40rem;
  --font-sans: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Cormorant Garamond", "Times New Roman", Times, serif;
  --font-brand: "Cinzel", "Times New Roman", Times, serif;
  --ease: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--charcoal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  text-decoration: none;
}

.skip-link:focus { top: 1rem; }

.wrap {
  width: min(100% - 2rem, var(--content));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, white);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.brand img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: cover;
  border-radius: 2px;
  background: var(--paper-deep);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-place {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  border-radius: 2px;
}

.nav-toggle svg { width: 1.25rem; height: 1.25rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav {
  display: none;
}

.site-nav.is-open {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1rem 1.1rem;
}

.site-nav a {
  text-decoration: none;
  padding: 0.65rem 0.4rem;
  color: var(--charcoal);
  font-weight: 500;
}

.site-nav a:hover { color: var(--ink); }

.site-nav a.nav-cta,
.site-nav a.btn-primary {
  color: var(--white);
  padding: 0.55rem 1.05rem;
}

.site-nav a.nav-cta:hover,
.site-nav a.btn-primary:hover {
  color: var(--white);
  background: var(--ink);
}

.site-nav a.nav-call,
.site-nav a.btn-secondary {
  padding: 0.55rem 1.05rem;
  color: var(--charcoal);
}

.site-nav a.nav-call:hover,
.site-nav a.btn-secondary:hover {
  color: var(--ink);
  background: var(--white);
}

.nav-cta,
.nav-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.4rem;
  white-space: nowrap;
}

@media (min-width: 980px) {
  .nav-toggle { display: none; }

  .header-inner { gap: 1.25rem; }

  .site-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem 1.1rem;
    position: static;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .site-nav a { padding: 0.2rem 0; }

  .nav-cta,
  .nav-call { margin-top: 0; margin-left: 0.25rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.25rem;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.btn-primary {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

.btn-primary:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--ink);
}

.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  padding: 2.5rem 0 3.25rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-brand);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.85rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.35rem, 8vw, 4.35rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 2px;
}

.hero-photo figcaption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.6rem;
  border-radius: 1px;
}

@media (min-width: 860px) {
  .hero { padding: 3.5rem 0 4.5rem; }

  .hero-grid {
    grid-template-columns: 1fr 0.92fr;
    gap: 3.5rem;
    align-items: center;
  }

  .hero-photo img { aspect-ratio: 4 / 5; max-height: 38rem; }
}

/* ---------- Sections ---------- */
section { padding: 3.25rem 0; }

.section-tint { background: var(--white); }

.section-head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.section-head h2,
.quote h2,
.page-card h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.7rem;
}

.section-head p { margin: 0; color: var(--muted); }

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .service-grid { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.35rem 1.2rem 1.5rem;
  border-radius: 2px;
  height: 100%;
}

.section-tint .service-card { background: var(--paper); }

.service-card svg {
  width: 1.85rem;
  height: 1.85rem;
  stroke: var(--charcoal);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 0.9rem;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.45rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.why-card {
  padding: 0.25rem 0;
}

.why-num {
  font-family: var(--font-brand);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--soft);
  margin-bottom: 0.55rem;
}

.why-card h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.why-card p { margin: 0; color: var(--muted); }

/* ---------- Areas ---------- */
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.area-list li {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.area-note {
  margin: 1.25rem 0 0;
  color: var(--muted);
}

/* ---------- Gallery ---------- */
.gallery-feature {
  margin: 0 0 1rem;
}

.gallery-feature button,
.gallery-grid button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  color: inherit;
}

.gallery-feature img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
}

.gallery-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
}

.gallery-item.is-portrait img { aspect-ratio: 4 / 5; }

.gallery-item figcaption,
.gallery-feature figcaption {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* Lightbox */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(96vw, 72rem);
  width: 100%;
}

.lightbox::backdrop {
  background: rgba(15, 15, 15, 0.82);
}

.lightbox-inner {
  position: relative;
  background: var(--ink);
  padding: 0;
}

.lightbox img {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  background: #111;
}

.lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 2px;
  background: color-mix(in srgb, var(--ink) 70%, transparent);
  color: white;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.lightbox-caption {
  margin: 0;
  padding: 0.7rem 1rem 0.9rem;
  color: #eee;
  background: var(--ink);
  font-size: 0.9rem;
}

/* ---------- Quote / form ---------- */
.quote-grid {
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 860px) {
  .quote-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.contact-points {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.contact-points li {
  display: grid;
  gap: 0.15rem;
}

.contact-points .label,
.field-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft);
  font-weight: 600;
}

.contact-points a { font-weight: 550; text-decoration: none; }
.contact-points a:hover { text-decoration: underline; }

.placeholder-value {
  display: inline-block;
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  background: var(--placeholder-bg);
  color: var(--placeholder-ink);
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
  font-weight: 600;
}

.social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.social-row svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.35rem 1.15rem 1.5rem;
  border-radius: 2px;
}

@media (min-width: 600px) {
  .quote-form { padding: 1.75rem 1.6rem 1.85rem; }
}

.form-row {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

@media (min-width: 600px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}

.field { display: grid; gap: 0.3rem; }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 0.7rem 0.75rem;
  appearance: none;
}

.field textarea { min-height: 8.5rem; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--charcoal);
  outline-offset: 1px;
  background: var(--white);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-status {
  display: none;
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  background: var(--paper-deep);
  border-radius: 2px;
}

.form-status.is-visible { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.25rem 0 2rem;
  background: var(--charcoal);
  color: #eceae6;
}

.site-footer a { color: #eceae6; }

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }
}

.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.footer-brand img {
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  border-radius: 2px;
}

.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-place { color: #c8c4bc; }

.footer-col h2 {
  font-family: var(--font-brand);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 0.7rem;
  color: #c8c4bc;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: 0.35rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }

.footer-copy {
  width: min(100% - 2rem, var(--content));
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: #c8c4bc;
  font-size: 0.88rem;
}

/* ---------- Utility / thank-you / 404 ---------- */
.page-main { padding: 4.5rem 0 5rem; }

.page-card {
  width: min(100% - 2rem, 38rem);
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2rem 1.5rem;
  border-radius: 2px;
}

.page-card p { color: var(--muted); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
