:root {
  --bg: #f7f2ea;
  --text: #27231f;
  --accent: #b86b4b;
  --accent-2: #7c8060;
  --muted: #6f675f;
  --border: rgba(39, 35, 31, 0.1);
  --shadow: 0 22px 60px rgba(39, 35, 31, 0.08);
  --surface: rgba(255, 255, 255, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(184, 107, 75, 0.12), transparent 24%),
    radial-gradient(circle at bottom right, rgba(124, 128, 96, 0.1), transparent 26%),
    linear-gradient(180deg, #fbf7f2 0%, var(--bg) 100%);
  line-height: 1.7;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.page-shell {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.hero {
  min-height: 100vh;
  padding: 1.25rem 0 3rem;
  position: relative;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.1rem;
  margin-bottom: 1.4rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(247, 242, 234, 0.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(39, 35, 31, 0.04);
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
}

.nav-links a,
.footer-links a,
.social-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover,
.social-links a:hover {
  color: var(--accent);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2rem 0 3rem;
}

.eyebrow,
.section-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  line-height: 1.06;
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(2.4rem, 4.5vw, 4.6rem);
  max-width: 700px;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

h3 {
  font-size: 1.35rem;
}

.hero-note {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead,
.text-card p,
.story-content p,
.process-step p,
.services-grid p,
.contact-card p,
.footer p {
  font-size: 1rem;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.1rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(184, 107, 75, 0.2);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(39, 35, 31, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
  z-index: 40;
}

.modal-backdrop.visible {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
  z-index: 50;
}

.modal.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  width: min(100%, 760px);
  max-width: 760px;
  max-height: calc(100vh - 3rem);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(39, 35, 31, 0.08);
  border-radius: 2rem;
  box-shadow: 0 30px 80px rgba(39, 35, 31, 0.12);
  padding: 2rem;
  outline: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-form {
  display: grid;
  gap: 1rem;
  overflow-y: auto;
  padding-right: 0.5rem;
  flex: 1 1 auto;
  min-height: 0;
  max-height: calc(100vh - 14rem);
}

.modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.modal-header h2 {
  margin-top: 0;
}

.modal-subtitle {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 999px;
  background: rgba(39, 35, 31, 0.05);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 180ms ease;
}

.modal-close:hover {
  background: rgba(184, 107, 75, 0.12);
}

.modal-form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: var(--text);
}

.field span,
fieldset.legend {
  font-weight: 600;
}

.modal-form input,
.modal-form textarea {
  width: 100%;
  padding: 1rem 1.1rem;
  border-radius: 1.35rem;
  border: 1px solid var(--border);
  background: rgba(247, 242, 234, 0.9);
  color: var(--text);
  font: inherit;
  min-height: 3rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.modal-form textarea {
  min-height: 148px;
  resize: vertical;
}

.modal-form input:focus,
.modal-form textarea:focus {
  border-color: rgba(184, 107, 75, 0.45);
  box-shadow: 0 12px 30px rgba(184, 107, 75, 0.1);
  outline: none;
}

.service-field {
  padding: 0;
  border: none;
}

.service-field legend {
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.service-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.service-options label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1rem;
  border: 1px solid var(--border);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-options label:hover {
  border-color: rgba(184, 107, 75, 0.35);
  transform: translateY(-1px);
}

.service-options input {
  accent-color: var(--accent);
  width: 1.05rem;
  height: 1.05rem;
}

.service-options input:checked + span {
  font-weight: 700;
}

.modal-feedback {
  margin-top: 1rem;
  color: var(--accent-2);
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
  white-space: pre-line;
}

.submit-button {
  width: 100%;
  padding: 1rem 1.25rem;
}

.no-scroll {
  overflow: hidden;
}

.hero-media img,
.image-card img,
.story-card img,
.process-step img {
  border-radius: 1.4rem;
  box-shadow: var(--shadow);
  animation: fadeUp 700ms ease both;
}

.hero-media {
  display: flex;
  justify-content: flex-end;
}

.hero-media img {
  width: min(100%, 760px);
  min-height: 540px;
  object-fit: contain;
  object-position: center;
  animation: floatImage 10s ease-in-out infinite;
}

.image-card {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-card img {
  width: min(100%, 72%);
  max-height: 540px;
  object-fit: cover;
}

.about-section,
.stories-section,
.process-section,
.services-section,
.contact-section {
  padding: 2.2rem 0 3rem;
}

.about-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: center;
}

.text-card,
.contact-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 1.6rem;
  padding: 2rem;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.story-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.35rem;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  position: relative;
}

.story-card::before,
.process-step::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(184, 107, 75, 0.14);
  pointer-events: none;
}

.story-card:hover,
.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(184, 107, 75, 0.24);
}

.story-card img {
  height: 260px;
  object-fit: cover;
}

.story-card.accented {
  background: linear-gradient(145deg, rgba(184, 107, 75, 0.12), rgba(255,255,255,0.86));
}

.story-content {
  flex: 1;
  padding: 1rem 1rem 1.2rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.process-step {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.35rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  position: relative;
}

.process-step img {
  height: 180px;
}

.process-step span {
  display: inline-flex;
  font-size: 0.8rem;
  color: var(--accent-2);
  letter-spacing: 0.24em;
  margin-bottom: 0.4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.services-grid article {
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: 0 10px 24px rgba(39, 35, 31, 0.03);
}

.contact-card {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.social-links,
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatImage {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 960px) {
  .hero-content,
  .about-section,
  .story-grid,
  .services-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-media img {
    min-height: 380px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 1.2rem, 1280px);
  }

  .topbar,
  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .hero {
    min-height: auto;
  }

  .text-card,
  .contact-card {
    padding: 1.3rem;
  }

  .process-step {
    grid-template-columns: 1fr;
  }

  .modal-card {
    width: 100%;
    max-width: 100%;
    padding: 1.5rem;
  }

  .service-options {
    grid-template-columns: 1fr;
  }
}
