:root {
  --background: #fbf8f2;
  --foreground: #211f1c;
  --muted: #71695f;
  --muted-soft: #f0ebe3;
  --card: #ffffff;
  --border: #e4dace;
  --primary: #c97a25;
  --primary-dark: #a86117;
  --primary-soft: rgba(201, 122, 37, 0.1);
  --secondary: #f4c77a;
  --dark: #171615;
  --dark-soft: #24211d;
  --shadow: 0 22px 55px rgba(31, 23, 13, 0.12);
  --radius: 18px;
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Inter", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.section-pad {
  padding: 104px 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(251, 248, 242, 0.94);
  border-bottom: 1px solid rgba(228, 218, 206, 0.9);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 35px rgba(31, 23, 13, 0.08);
}

.nav-shell {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo,
.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
  background: var(--muted-soft);
  border: 1px solid var(--border);
}

.brand-text,
.footer-brand span {
  display: grid;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.18rem;
}

.brand-subtitle,
.footer-brand small {
  margin-top: 4px;
  font-size: 0.63rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--primary);
}

.nav-cta {
  color: white !important;
  background: var(--primary);
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(201, 122, 37, 0.22);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--foreground);
  margin: 6px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  padding-top: 160px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 44px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(201, 122, 37, 0.22);
  padding: 8px 13px;
  border-radius: 999px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
}

.pill-icon {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: white;
  border-radius: 999px;
  font-size: 0.7rem;
}

h1,
h2 {
  font-family: var(--serif);
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(3rem, 5.6vw, 5.25rem);
}

.hero h1 span {
  color: var(--primary);
  font-style: italic;
  white-space: nowrap;
}

.hero-lede {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  margin: 0 0 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 13px 20px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary-dark);
  box-shadow: 0 12px 25px rgba(201, 122, 37, 0.22);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-outline {
  background: transparent;
  color: var(--foreground);
  border-color: var(--border);
}

.button-outline:hover {
  background: white;
  box-shadow: 0 12px 25px rgba(31, 23, 13, 0.08);
}

.button-secondary {
  background: var(--secondary);
  color: var(--dark);
}

.full-width {
  width: 100%;
}

.not-found-page {
  min-height: 100vh;
}

.not-found-page .site-header {
  position: static;
}

.not-found-main {
  min-height: calc(100vh - 81px);
  display: flex;
  align-items: center;
}

.not-found-hero {
  width: 100%;
  padding: 80px 0;
}

.not-found-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 52px;
  align-items: center;
}

.not-found-copy {
  max-width: 720px;
}

.not-found-copy h1 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 1;
}

.not-found-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.not-found-card {
  display: grid;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.not-found-card span {
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.not-found-card strong {
  font-family: var(--serif);
  font-size: 1.75rem;
}

.not-found-card p {
  margin: 0 0 8px;
  color: var(--muted);
}

.not-found-card a {
  width: fit-content;
  color: var(--primary-dark);
  font-weight: 800;
}

.hero-stats {
  display: flex;
  gap: 22px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.hero-stats div {
  flex: 1;
  min-width: 0;
  position: relative;
}

.hero-stats div:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 6px;
  right: -11px;
  width: 1px;
  height: 42px;
  background: var(--border);
}

.hero-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.1;
}

.hero-stats span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.hero-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-image-card,
.portfolio-item {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--muted-soft);
  box-shadow: var(--shadow);
}

.hero-image-card {
  position: relative;
  aspect-ratio: 1 / 1;
  cursor: zoom-in;
}

.hero-image-card img,
.portfolio-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-image-card img:not([src]) {
  opacity: 0;
}

.portfolio-item img {
  aspect-ratio: 1 / 1;
  height: auto;
}

.hero-image-card > img:first-child,
.hero-slide-incoming {
  position: absolute;
  inset: 0;
}

.hero-slide-incoming {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity 2.5s ease;
}

.hero-slide-incoming.is-visible {
  opacity: 1;
}

.hero-image-card:hover img,
.portfolio-item:hover img {
  transform: scale(1.05);
}

.availability-badge {
  position: absolute;
  left: -22px;
  bottom: -20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(251, 248, 242, 0.96);
  border: 1px solid var(--border);
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}

.availability-badge span {
  width: 12px;
  height: 12px;
  background: #22c55e;
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.14);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 900;
  font-size: 0.72rem;
}

.section-heading h2,
.why-copy h2,
.quote-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 4vw, 3.45rem);
}

.section-heading p,
.why-copy p,
.quote-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.services {
  background: #302a24;
  color: white;
}

.services .section-heading p {
  color: rgba(255,255,255,0.65);
}

.services .section-heading h2 {
  color: white;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  background: white;
  color: var(--foreground);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 30px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.18);
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 1.7rem;
  margin-bottom: 22px;
}

.orange { background: #fff2e4; }
.yellow { background: #fff8d6; }
.amber { background: #fff3d5; }
.stone { background: #f3f0ec; }
.slate { background: #eef2f7; }
.green { background: #eaf8ee; }
.purple { background: #f4eafe; }
.sky { background: #e8f6ff; }
.red { background: #ffecec; }

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

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

.service-note {
  margin-top: 46px;
  text-align: center;
}

.service-note p {
  margin: 0 0 16px;
  color: rgba(255,255,255,0.62);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.portfolio-item {
  position: relative;
  border: 0;
  padding: 0;
  min-height: 280px;
  text-align: left;
  color: white;
}

.portfolio-wide {
  grid-column: span 2;
}

.portfolio-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.74), rgba(0,0,0,0.05) 62%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.portfolio-item span {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: grid;
  gap: 5px;
  padding: 18px;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.portfolio-item strong {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(201, 122, 37, 0.92);
  font-size: 0.78rem;
}

.portfolio-item:hover::after,
.portfolio-item:hover span {
  opacity: 1;
  transform: translateY(0);
}

.why {
  background: var(--dark);
  color: white;
}

.why-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: start;
}

.why-copy p {
  color: rgba(255,255,255,0.65);
}

.why-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.why-point div {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(244, 199, 122, 0.16);
  margin-bottom: 14px;
  font-size: 1.4rem;
}

.why-point h3 {
  margin: 0 0 8px;
}

.why-point p {
  margin: 0;
  color: rgba(255,255,255,0.62);
  font-size: 0.94rem;
}

.brand-quote {
  max-width: 830px;
  margin: 72px auto 26px;
  padding-top: 44px;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}

.brand-quote p {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-style: italic;
  color: rgba(255,255,255,0.82);
}

.brand-quote cite {
  color: rgba(255,255,255,0.45);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 800;
}

.minimum-pill {
  width: fit-content;
  margin: 0 auto;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(201, 122, 37, 0.14);
  border: 1px solid rgba(201, 122, 37, 0.32);
  color: var(--secondary);
  font-weight: 800;
  text-align: center;
}

.reviews {
  background: #f1ece5;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.review-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 12px 35px rgba(31, 23, 13, 0.06);
}

.review-card::after {
  content: "”";
  position: absolute;
  top: 10px;
  right: 26px;
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--primary-soft);
  line-height: 1;
}

.stars {
  color: #f59e0b;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  font-size: 0.92rem;
}

.review-card p {
  margin: 0 0 24px;
  font-style: italic;
}

.review-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card footer span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  font-weight: 900;
}

.review-card footer strong,
.review-card footer small {
  display: block;
}

.review-card footer small {
  color: var(--muted);
}

.review-submit-link {
  margin-top: 28px;
  text-align: center;
}

.text-link-button {
  border: 0;
  background: transparent;
  color: var(--primary-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.review-modal {
  width: min(620px, calc(100% - 28px));
  border: 0;
  border-radius: 22px;
  padding: 0;
  background: transparent;
}

.review-modal::backdrop {
  background: rgba(23, 22, 21, 0.66);
  backdrop-filter: blur(7px);
}

.review-form {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 34px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 30px 90px rgba(0,0,0,0.28);
}

.review-form h3 {
  margin: -8px 0 2px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  line-height: 1.15;
}

.review-form label,
.review-rating-field {
  display: grid;
  gap: 8px;
  margin: 0;
  border: 0;
  padding: 0;
  color: var(--foreground);
  font-weight: 800;
}

.review-name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.review-form input,
.review-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  border-radius: 12px;
  padding: 13px 14px;
  outline: none;
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.review-form textarea {
  resize: vertical;
}

.review-form input:focus,
.review-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(201, 122, 37, 0.14);
}

.review-rating-field legend {
  margin-bottom: 8px;
}

.review-star-input {
  display: inline-flex;
  width: fit-content;
  gap: 4px;
}

.review-star-input button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--muted-soft);
  color: #b8afa4;
  font-size: 1.45rem;
  line-height: 1;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.review-star-input button.active {
  background: rgba(245, 158, 11, 0.14);
  color: #f59e0b;
}

.review-star-input button:hover {
  transform: translateY(-1px);
}

.review-modal-close {
  top: 14px;
  right: 14px;
  left: auto;
}

.form-status.success {
  color: #137333;
}

.quote-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 56px;
  align-items: start;
}

.contact-card {
  margin-top: 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(31, 23, 13, 0.06);
}

.contact-card h3 {
  margin: 0 0 12px;
}

.contact-card p {
  margin: 8px 0;
  color: var(--muted);
}

.contact-card a {
  color: var(--primary);
  font-weight: 800;
}

.quote-form {
  background: rgba(255,255,255,0.58);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.form-honey {
  display: none;
}

.quote-form h3 {
  margin: 0 0 4px;
}

.quote-form > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.quote-form label {
  display: block;
  margin-bottom: 16px;
  color: var(--foreground);
  font-weight: 800;
  font-size: 0.9rem;
}

.quote-form label span {
  color: var(--primary);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  border-radius: 12px;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-form input[type="file"] {
  padding: 11px 12px;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(201, 122, 37, 0.14);
}

.quote-form small {
  display: block;
  margin-top: 12px;
  text-align: center;
  color: var(--muted);
}

.photo-upload small {
  margin-top: 8px;
  text-align: left;
  font-weight: 500;
}

.photo-upload-status {
  display: block;
  min-height: 18px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: #b42318;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-footer {
  background: var(--dark);
  color: white;
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 1fr;
  gap: 44px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-brand strong {
  font-family: var(--serif);
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255,255,255,0.56);
}

.site-footer a:hover {
  color: white;
}

.site-footer h3 {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.82);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.site-footer li {
  margin: 8px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
  font-size: 0.8rem;
}

.footer-legal a {
  color: rgba(255,255,255,0.42);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-modal {
  width: min(900px, calc(100% - 32px));
  border: 0;
  border-radius: 24px;
  padding: 0;
  background: white;
  box-shadow: 0 24px 90px rgba(0,0,0,0.32);
  overflow: hidden;
}

.portfolio-modal::backdrop {
  background: rgba(0,0,0,0.58);
  backdrop-filter: blur(4px);
}

.portfolio-modal img {
  width: 100%;
  max-height: 66vh;
  object-fit: cover;
  background: var(--muted-soft);
}

.portfolio-modal div {
  padding: 24px;
}

.portfolio-modal h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.7rem;
}

.portfolio-modal p {
  margin: 0;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,0.62);
  color: white;
  font-size: 1.8rem;
  line-height: 1;
}

.hero-image-modal {
  width: min(92vw, 1100px);
  max-height: 92vh;
  border: 0;
  padding: 0;
  background: transparent;
  overflow: visible;
}

.hero-image-modal::backdrop {
  background: rgba(0,0,0,0.68);
  backdrop-filter: blur(4px);
}

.hero-image-modal-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-height: 92vh;
}

.hero-image-modal img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 72px);
  border-radius: 18px;
  object-fit: contain;
  background: var(--muted-soft);
  box-shadow: 0 24px 90px rgba(0,0,0,0.36);
}

.hero-image-modal-caption {
  width: min(100%, 760px);
  margin: 14px auto 0;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(251, 248, 242, 0.96);
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 14px 42px rgba(0,0,0,0.22);
}

.hero-image-modal-close {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(0,0,0,0.24);
  cursor: pointer;
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-gallery {
    max-width: 640px;
  }
}

@media (max-width: 980px) {
  .why-grid,
  .quote-grid,
  .footer-grid,
  .not-found-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-wide {
    grid-column: span 1;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 640px);
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .nav-shell {
    min-height: 72px;
    gap: 12px;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 18px;
    background: rgba(251, 248, 242, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 36px rgba(31, 23, 13, 0.1);
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 14px 4px;
  }

  .nav-cta {
    text-align: center;
    margin-top: 8px;
    justify-content: center;
  }

  .not-found-nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .not-found-nav a {
    min-height: 0;
    padding: 8px 0;
  }

  .not-found-nav .nav-cta {
    margin-top: 0;
    padding: 10px 14px;
  }

  .section-pad {
    padding: 68px 0;
  }

  .hero {
    padding-top: 118px;
  }

  .pill {
    max-width: 100%;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 30px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 4rem);
    letter-spacing: -0.03em;
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-lede,
  .section-heading p,
  .why-copy p,
  .quote-copy p {
    font-size: 1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding-top: 22px;
  }

  .hero-stats div:not(:last-child)::after {
    display: none;
  }

  .service-grid,
  .portfolio-grid,
  .review-grid,
  .review-name-grid,
  .why-points,
  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-legal {
    justify-content: flex-start;
  }

  .availability-badge {
    left: 12px;
    bottom: 12px;
  }

  .portfolio-item {
    min-height: 240px;
  }

  .is-mobile .portfolio-item::after {
    opacity: 1;
  }

  .is-mobile .portfolio-item span {
    opacity: 1;
    transform: translateY(0);
  }

  .is-mobile .button:hover,
  .is-mobile .service-card:hover,
  .is-mobile .hero-image-card:hover img,
  .is-mobile .portfolio-item:hover img {
    transform: none;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, 480px);
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .brand-subtitle {
    font-size: 0.5rem;
    letter-spacing: 0.12em;
  }

  .section-heading {
    margin-bottom: 34px;
    text-align: left;
  }

  .section-heading h2,
  .why-copy h2,
  .quote-copy h2 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .not-found-page .nav-shell {
    align-items: flex-start;
  }

  .not-found-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .not-found-main {
    min-height: auto;
  }

  .not-found-hero {
    padding: 56px 0;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero h1 {
    margin-bottom: 18px;
  }

  .hero-gallery {
    width: 100%;
  }

  .hero-stats strong {
    font-size: 1.35rem;
  }

  .hero-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .availability-badge {
    right: 10px;
    left: 10px;
    justify-content: center;
    padding: 12px 14px;
    font-size: 0.82rem;
  }

  .button {
    width: 100%;
    min-height: 52px;
    padding-inline: 16px;
  }

  .quote-form {
    padding: 20px;
    border-radius: 18px;
  }

  .service-card,
  .review-card,
  .contact-card {
    padding: 22px;
    border-radius: 18px;
  }

  .portfolio-item {
    min-height: 220px;
  }

  .portfolio-item span {
    padding: 14px;
  }

  .portfolio-item strong {
    border-radius: 10px;
  }

  .footer-grid {
    gap: 28px;
  }

  .portfolio-modal {
    width: calc(100% - 20px);
    border-radius: 18px;
  }
}

@media (max-width: 380px) {
  .brand-subtitle {
    display: none;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-gallery {
    grid-template-columns: 1fr;
  }

  .portfolio-item {
    min-height: 260px;
  }
}

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