@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Nunito+Sans:opsz,wght@6..12,400;6..12,500;6..12,600;6..12,700&display=swap");

:root {
  --fog: #7d9a8c;
  --fog-deep: #5a7568;
  --fog-ink: #2a3a33;
  --fog-soft: #b7c9be;
  --fog-mist: #e2ebe5;
  --petal: #f8f3ec;
  --petal-deep: #efe6da;
  --blush: #d8b4ae;
  --blush-soft: #e8d4cf;
  --paper: #fbf8f3;
  --white: #ffffff;
  --line: rgba(42, 58, 51, 0.14);
  --shadow: 0 22px 48px rgba(42, 58, 51, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Nunito Sans", "Segoe UI", sans-serif;
  --max: 1120px;
  --radius: 2px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--fog-ink);
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(125, 154, 140, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 8%, rgba(216, 180, 174, 0.18), transparent 50%),
    linear-gradient(180deg, #dfe8e2 0%, var(--petal) 32%, var(--paper) 100%);
  min-height: 100vh;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--fog-deep); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--fog-ink); }
.container { width: min(100% - 2.4rem, var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 243, 236, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
  position: relative;
}

.logo {
  text-decoration: none;
  color: var(--fog-ink);
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo:hover { color: var(--fog-deep); }
.logo-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  letter-spacing: 0.02em;
}
.logo-tag {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fog-deep);
  font-weight: 600;
  margin-top: 0.2rem;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  border-radius: var(--radius);
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--fog-ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-desktop {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
  align-items: center;
}
.nav-desktop a {
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fog-ink);
}
.nav-desktop a:hover,
.nav-desktop a.active { color: var(--fog-deep); }
.nav-desktop .phone-link {
  color: var(--fog-deep);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.nav-mobile {
  display: none;
  background: var(--petal);
  border-top: 1px solid var(--line);
  padding: 1rem 1.2rem 1.5rem;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; margin: 0; padding: 0; }
.nav-mobile a {
  display: block;
  padding: 0.85rem 0;
  text-decoration: none;
  color: var(--fog-ink);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .nav-desktop { display: flex; }
  .nav-mobile { display: none !important; }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(42, 58, 51, 0.18) 0%, rgba(42, 58, 51, 0.55) 70%, rgba(42, 58, 51, 0.78) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 3.5rem;
  max-width: 34rem;
  animation: riseIn 1s ease both;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}
.hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 500;
  margin: 0 0 0.75rem;
  letter-spacing: 0.04em;
  max-width: 28rem;
}
.hero-sub {
  margin: 0 0 1.6rem;
  opacity: 0.92;
  max-width: 28rem;
  font-size: 1rem;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--petal);
  color: var(--fog-ink);
  border-color: var(--petal);
}
.btn-primary:hover { background: var(--white); color: var(--fog-ink); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.btn-solid {
  background: var(--fog-deep);
  color: var(--white);
  border-color: var(--fog-deep);
}
.btn-solid:hover { background: var(--fog-ink); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--fog-deep);
  border-color: var(--fog-soft);
  padding-inline: 1.1rem;
}
.btn-ghost:hover { border-color: var(--fog-deep); color: var(--fog-ink); }

.section { padding: 4.5rem 0; }
.section-mist { background: rgba(226, 235, 229, 0.55); }
.section-petal { background: rgba(248, 243, 236, 0.7); }
.section-white { background: rgba(255, 255, 255, 0.55); }
.section-deep {
  background:
    linear-gradient(135deg, #4f685c 0%, #3d5448 55%, #32463c 100%);
  color: var(--petal);
}
.section-deep a { color: var(--petal); }
.section-deep .btn-primary { color: var(--fog-ink); }

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--fog-deep);
  margin: 0 0 0.6rem;
}
.section-deep .section-label { color: var(--fog-soft); }

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  margin: 0 0 0.55rem;
  line-height: 1.25;
}
.lead {
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 0 1.25rem;
  color: rgba(42, 58, 51, 0.88);
}
.section-deep .lead { color: rgba(248, 243, 236, 0.9); }

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 820px) {
  .split { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .split-reverse > :first-child { order: 2; }
}
.split img {
  width: 100%;
  height: min(520px, 70vw);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.maker-intro {
  display: grid;
  gap: 2rem;
}
@media (min-width: 820px) {
  .maker-intro { grid-template-columns: 0.9fr 1.1fr; align-items: center; }
}
.maker-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.maker-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 0.4rem;
}

.commit-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 700px) {
  .commit-grid { grid-template-columns: repeat(3, 1fr); }
}
.commit-item {
  padding: 1.4rem 1.2rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.commit-item h3 { font-size: 1.15rem; }
.commit-item p { margin: 0; font-size: 0.95rem; color: rgba(42, 58, 51, 0.85); }

.service-links {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (min-width: 800px) {
  .service-links { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 280px;
  box-shadow: var(--shadow);
}
.service-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover img { transform: scale(1.05); }
.service-card-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(42, 58, 51, 0.82) 100%);
}
.service-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.35rem;
  color: var(--white);
  z-index: 1;
}
.service-card-body h3 { color: var(--white); margin-bottom: 0.35rem; }
.service-card-body p { margin: 0; font-size: 0.92rem; opacity: 0.92; }

.charrette {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 820px) {
  .charrette { grid-template-columns: 1.05fr 0.95fr; }
}
.charrette-visual {
  position: relative;
}
.charrette-visual img {
  width: 100%;
  height: min(480px, 68vw);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.charrette-note {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.6);
  border-left: 3px solid var(--fog);
  font-size: 0.95rem;
}

.gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 800px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--fog-mist);
}
.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  padding: 0.75rem 0.85rem 1rem;
  font-size: 0.88rem;
  color: rgba(42, 58, 51, 0.85);
}

.page-hero {
  padding: 3.5rem 0 2rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 0.75rem;
  line-height: 1.1;
}
.page-hero p {
  margin: 0;
  max-width: 36rem;
  color: rgba(42, 58, 51, 0.88);
}

.hours-panel {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 700px) {
  .hours-panel { grid-template-columns: 1fr 1fr; }
}
.hours-box,
.market-note {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  padding: 1.5rem;
  border-radius: var(--radius);
}
.hours-box p { margin: 0 0 0.85rem; }
.hours-box p:last-child { margin-bottom: 0; }

.contact-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 820px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
}
.contact-card {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  padding: 1.5rem;
  border-radius: var(--radius);
}
.contact-card p { margin: 0 0 0.85rem; }
.contact-form {
  display: grid;
  gap: 1rem;
}
.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--fog-ink);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: var(--fog-mist);
  border: 1px solid var(--fog-soft);
  border-radius: var(--radius);
}
.form-success.show { display: block; }

.legal-content {
  max-width: 46rem;
}
.legal-content h2 {
  font-size: 1.45rem;
  margin-top: 2rem;
}
.legal-content p,
.legal-content li {
  color: rgba(42, 58, 51, 0.9);
}
.legal-content ul { padding-left: 1.2rem; }

.quote-line {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  line-height: 1.25;
  margin: 0;
  max-width: 28rem;
}

.site-footer {
  background: #2f4138;
  color: var(--petal);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}
.site-footer a { color: var(--blush-soft); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
.site-footer h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  font-weight: 600;
}
.site-footer p { margin: 0 0 0.75rem; font-size: 0.92rem; line-height: 1.6; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(248, 243, 236, 0.15);
  font-size: 0.82rem;
  opacity: 0.85;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

/* Cookies */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  display: none;
  max-width: 560px;
  margin-inline: auto;
}
.cookie-banner.show { display: block; animation: riseIn 0.45s ease both; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-actions .btn { font-size: 0.8rem; padding: 0.65rem 1rem; }

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(42, 58, 51, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.cookie-modal.show { display: flex; }
.cookie-modal-inner {
  background: var(--white);
  max-width: 440px;
  width: 100%;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cookie-modal-inner h3 { margin-top: 0; }
.cookie-option {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 1rem 0;
  font-size: 0.92rem;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroDrift {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
