:root {
  --primary: #8b5e3c;
  --background: #f5edd6;
  --surface: #fffaf0;
  --surface-strong: #faf6ee;
  --memorial: #c4877a;
  --craft: #4a6741;
  --support: #6b7f8e;
  --text: #2e2a26;
  --muted: #6b5e52;
  --line: rgba(139, 94, 60, 0.22);
  --shadow: 0 22px 70px rgba(46, 42, 38, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(196, 135, 122, 0.08), transparent 34%),
    linear-gradient(0deg, rgba(74, 103, 65, 0.05), transparent 50%),
    var(--background);
  font-family: "Lato", Arial, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(139, 94, 60, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 94, 60, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 70%);
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(4.5rem, 9vw, 9rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  font-weight: 600;
}

h3 {
  font-size: 1.8rem;
}

p {
  line-height: 1.65;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(139, 94, 60, 0.18);
  background: rgba(250, 246, 238, 0.88);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 218px;
  text-decoration: none;
}

.brand-logo {
  width: clamp(194px, 18vw, 248px);
  height: auto;
}

.admin-brand-mark {
  width: 48px;
  height: 48px;
}

.brand-lockup strong,
.site-footer strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1;
}

.brand-lockup small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.site-header nav a,
.quiet-link {
  min-height: 40px;
  padding: 11px 14px;
  color: var(--muted);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-header nav a:hover,
.quiet-link:hover {
  color: var(--text);
  background: rgba(139, 94, 60, 0.09);
}

.hero-section {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(640px, calc(100svh - 112px), 880px);
  padding: clamp(56px, 8vw, 100px) clamp(20px, 6vw, 90px) clamp(72px, 8vw, 118px);
  overflow: hidden;
}

.hero-carousel {
  isolation: isolate;
  color: var(--surface);
  background: var(--text);
}

.hero-slides,
.hero-slide,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slides {
  z-index: -3;
}

.hero-slide {
  opacity: 0;
  transition: opacity 780ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img,
.hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(24, 21, 18, 0.78), rgba(24, 21, 18, 0.46) 48%, rgba(24, 21, 18, 0.18)),
    linear-gradient(0deg, rgba(24, 21, 18, 0.5), transparent 38%);
}

.hero-copy {
  max-width: 760px;
}

.hero-carousel .eyebrow {
  color: #f3c9bd;
}

.hero-carousel .hero-lead {
  color: rgba(255, 250, 240, 0.88);
}

.hero-carousel .promise {
  color: #fffaf0;
  border-color: rgba(255, 250, 240, 0.34);
}

.hero-carousel .button.primary {
  color: var(--text);
  background: #fffaf0;
}

.hero-carousel .button.secondary {
  color: #fffaf0;
  border-color: rgba(255, 250, 240, 0.46);
  background: rgba(255, 250, 240, 0.12);
}

.hero-carousel-controls {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: clamp(18px, 4vw, 44px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 250, 240, 0.24);
  border-radius: 999px;
  background: rgba(24, 21, 18, 0.3);
  backdrop-filter: blur(14px);
}

.carousel-button,
.carousel-dot {
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 250, 240, 0.28);
  color: #fffaf0;
  background: rgba(255, 250, 240, 0.08);
  cursor: pointer;
}

.carousel-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
}

.carousel-dots {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-width: 61px;
  justify-content: center;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
}

.carousel-dot.is-active {
  background: #fffaf0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: #4a4a4a;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1.35;
}

.promise {
  display: inline-block;
  margin: 28px 0 0;
  padding: 13px 0;
  color: var(--craft);
  border-top: 2px solid rgba(74, 103, 65, 0.25);
  border-bottom: 2px solid rgba(74, 103, 65, 0.25);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(46, 42, 38, 0.13);
}

.button.primary {
  color: var(--surface);
  background: var(--primary);
}

.button.secondary {
  color: var(--primary);
  border-color: rgba(139, 94, 60, 0.28);
  background: rgba(255, 250, 240, 0.56);
}

.hero-media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(139, 94, 60, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
}

.intro-band,
.geo-band,
.ritual-band,
.commission-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 76px);
  background: rgba(255, 250, 240, 0.55);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-text p:not(.section-kicker),
.geo-band p,
.ritual-copy p:not(.section-kicker),
.commission-section p {
  color: var(--muted);
  font-size: 1.05rem;
}

.geo-band {
  background:
    linear-gradient(115deg, rgba(74, 103, 65, 0.12), rgba(107, 127, 142, 0.1)),
    rgba(255, 250, 240, 0.62);
}

.geo-answer-panel {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 28px;
  border-left: 6px solid var(--craft);
  background: rgba(255, 252, 246, 0.72);
}

.geo-answer-panel h3 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.keyword-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keyword-chip-list span {
  padding: 8px 11px;
  border: 1px solid rgba(74, 103, 65, 0.22);
  color: var(--craft);
  background: rgba(74, 103, 65, 0.08);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.ai-overview-section {
  background: rgba(250, 246, 238, 0.72);
}

.ai-overview-section .section-heading p {
  max-width: 760px;
}

.ai-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
}

.ai-overview-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 252, 246, 0.78);
  box-shadow: 0 14px 38px rgba(46, 42, 38, 0.07);
}

.ai-overview-card h3 {
  margin: 0;
  font-family: "Lato", Arial, sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ai-overview-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.value-item,
.process-item,
.document-item,
.inquiry-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 252, 246, 0.74);
}

.value-item strong,
.process-item strong {
  display: block;
  margin-bottom: 9px;
  color: var(--primary);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.value-item p,
.process-item p,
.document-item p,
.inquiry-item p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: clamp(54px, 7vw, 104px) clamp(20px, 5vw, 76px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 880px;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid rgba(139, 94, 60, 0.18);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(46, 42, 38, 0.08);
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
  background: #efe1ca;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
}

.product-credit {
  position: absolute;
  right: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 5px 8px;
  color: rgba(255, 250, 240, 0.88);
  background: rgba(46, 42, 38, 0.58);
  border-radius: 5px;
  font-size: 0.66rem;
  line-height: 1.25;
}

.product-card-body {
  padding: 22px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  color: var(--support);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card h3 {
  margin-bottom: 12px;
}

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

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 86px);
  padding: clamp(52px, 7vw, 104px) clamp(20px, 5vw, 76px);
  border-top: 1px solid var(--line);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.process-item .step {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--surface);
  background: var(--craft);
  border-radius: 50%;
  font-weight: 900;
}

.ritual-band {
  background:
    linear-gradient(120deg, rgba(139, 94, 60, 0.12), rgba(196, 135, 122, 0.1)),
    #f2ead8;
}

.ritual-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ritual-list li {
  padding: 18px 20px;
  border-left: 5px solid var(--memorial);
  background: rgba(255, 252, 246, 0.72);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius);
  background: var(--text);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 300ms ease;
}

.gallery-card:hover img {
  transform: scale(1.035);
}

.gallery-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 72px 22px 22px;
  color: white;
  background: linear-gradient(to top, rgba(46, 42, 38, 0.86), transparent);
}

.gallery-card h3 {
  margin-bottom: 8px;
}

.gallery-card p {
  margin: 0;
  line-height: 1.45;
}

.customer-share-section {
  background: rgba(255, 250, 240, 0.58);
}

.customer-share-carousel {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
}

.customer-share-nav {
  color: var(--primary);
  border-color: rgba(139, 94, 60, 0.24);
  background: rgba(255, 252, 246, 0.9);
  box-shadow: 0 10px 28px rgba(46, 42, 38, 0.08);
}

.customer-share-viewport {
  overflow: hidden;
}

.customer-share-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.customer-share-card {
  display: none;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(46, 42, 38, 0.08);
}

.customer-share-card.is-visible {
  display: grid;
  animation: share-fade 240ms ease;
}

@keyframes share-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.customer-share-card img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  background: rgba(139, 94, 60, 0.1);
}

.customer-share-body {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.customer-share-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.customer-share-meta span {
  padding: 7px 10px;
  border: 1px solid rgba(139, 94, 60, 0.18);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(245, 237, 214, 0.65);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.customer-share-card blockquote {
  margin: 0;
  color: var(--primary);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1.08;
}

.customer-share-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.customer-share-card footer {
  display: grid;
  gap: 3px;
  padding-top: 4px;
  color: var(--muted);
}

.customer-share-card footer strong {
  color: var(--text);
}

.customer-share-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.customer-share-dots .carousel-dot {
  border-color: rgba(139, 94, 60, 0.24);
  background: rgba(139, 94, 60, 0.12);
}

.customer-share-dots .carousel-dot.is-active {
  background: var(--primary);
}

.image-credit {
  display: block;
  margin-top: 10px;
  color: rgba(255, 250, 240, 0.74);
  font-size: 0.7rem;
  line-height: 1.3;
}

.resources-section {
  background: rgba(255, 250, 240, 0.5);
}

.muted {
  color: var(--muted);
}

.document-list,
.faq-list,
.admin-documents,
.inquiry-list {
  display: grid;
  gap: 12px;
}

.faq-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 252, 246, 0.78);
}

.faq-item h3 {
  margin-bottom: 10px;
  font-family: "Lato", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.35;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.document-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 18px;
  align-items: center;
}

.file-badge {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--surface);
  background: var(--support);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 900;
}

.document-item h3,
.inquiry-item h3 {
  margin: 0 0 7px;
  font-family: "Lato", Arial, sans-serif;
  font-size: 1rem;
}

.document-item a {
  color: var(--primary);
  font-weight: 900;
  text-decoration: none;
}

.commission-section {
  align-items: center;
}

.commission-form,
.admin-login form,
.stack-form {
  display: grid;
  gap: 14px;
}

.commission-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 252, 246, 0.78);
  box-shadow: 0 18px 50px rgba(46, 42, 38, 0.1);
}

label {
  display: grid;
  gap: 8px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--text);
  border: 1px solid rgba(139, 94, 60, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 252, 246, 0.94);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(139, 94, 60, 0.11);
}

.wide,
.commission-form .wide {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--craft);
  font-weight: 700;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: var(--text);
}

.footer-logo {
  width: min(230px, 70vw);
  height: auto;
}

.admin-body {
  background: var(--surface-strong);
}

.admin-shell {
  padding: clamp(28px, 5vw, 62px);
}

.admin-login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 32px;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.admin-login h1 {
  font-size: clamp(3rem, 7vw, 6rem);
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
}

.admin-column {
  display: grid;
  align-content: start;
  gap: 22px;
}

.admin-block {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 15px 45px rgba(46, 42, 38, 0.08);
}

.admin-block h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.check-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.check-row input {
  width: 18px;
  min-height: 18px;
}

.admin-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.hero-slides-editor {
  display: grid;
  gap: 14px;
}

.customer-share-editor {
  display: grid;
  gap: 14px;
}

.hero-slide-editor {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(245, 237, 214, 0.5);
}

.customer-share-editor-row {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(245, 237, 214, 0.5);
}

.hero-slide-editor img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: rgba(139, 94, 60, 0.12);
}

.customer-share-editor-row img {
  width: 100%;
  aspect-ratio: 1.8;
  object-fit: cover;
  border-radius: 6px;
  background: rgba(139, 94, 60, 0.12);
}

.hero-slide-editor-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.customer-share-editor-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-image-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(245, 237, 214, 0.5);
}

.admin-image-card img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
}

.admin-image-card div {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.admin-image-card strong {
  display: block;
}

.admin-image-path {
  overflow-wrap: anywhere;
  color: var(--support);
  font-size: 0.72rem;
}

.small-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.small-button {
  min-height: 36px;
  padding: 8px 11px;
  color: var(--primary);
  border: 1px solid rgba(139, 94, 60, 0.26);
  border-radius: 999px;
  background: white;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.small-button.danger {
  color: #8d332b;
}

.admin-documents {
  margin-top: 20px;
}

.seo-score-panel {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(74, 103, 65, 0.22);
  border-radius: var(--radius);
  background: rgba(74, 103, 65, 0.08);
}

.seo-score-panel strong {
  display: block;
  color: var(--craft);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.4rem;
  line-height: 1;
}

.seo-score-panel span {
  color: var(--primary);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seo-score-panel p {
  margin: 0;
  color: var(--muted);
}

.seo-checklist-editor,
.keyword-editor {
  display: grid;
  gap: 12px;
}

.seo-checklist-heading,
.keyword-editor-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
}

.seo-checklist-heading strong,
.keyword-editor-heading strong {
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.keyword-editor-heading span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.seo-check-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.8fr) minmax(180px, 1.1fr) minmax(120px, 0.55fr) minmax(180px, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(245, 237, 214, 0.5);
}

.keyword-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(120px, 0.65fr) minmax(120px, 0.65fr) minmax(110px, 0.5fr) minmax(170px, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(245, 237, 214, 0.5);
}

.keyword-row label,
.seo-check-row label {
  min-width: 0;
}

.admin-documents .document-item {
  grid-template-columns: 54px 1fr auto;
}

.is-hidden {
  display: none !important;
}

code {
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(139, 94, 60, 0.1);
}

@media (max-width: 1080px) {
  .product-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-share-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-section,
  .intro-band,
  .geo-band,
  .ai-overview-grid,
  .ritual-band,
  .commission-section,
  .split-section,
  .admin-grid,
  .seo-check-row,
  .keyword-row {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: clamp(620px, calc(100svh - 104px), 820px);
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-header nav {
    justify-content: flex-start;
  }

  .brand-logo {
    width: min(232px, 78vw);
  }

  h1 {
    font-size: clamp(4rem, 20vw, 6rem);
  }

  .hero-section {
    min-height: clamp(640px, calc(100svh - 76px), 780px);
    padding: 42px 20px 96px;
  }

  .hero-carousel-controls {
    right: auto;
    bottom: 24px;
    left: 20px;
  }

  .value-grid,
  .product-grid,
  .ai-overview-grid,
  .process-list,
  .gallery-grid,
  .faq-list,
  .commission-form,
  .admin-login,
  .admin-gallery,
  .hero-slide-editor-fields,
  .customer-share-editor-fields {
    grid-template-columns: 1fr;
  }

  .customer-share-carousel {
    grid-template-columns: 1fr;
  }

  .customer-share-nav {
    display: none;
  }

  .customer-share-track {
    gap: 14px;
    grid-template-columns: 1fr;
  }

  .document-item,
  .admin-documents .document-item {
    grid-template-columns: 52px 1fr;
  }

  .document-item a,
  .document-item button {
    grid-column: 2;
    justify-self: start;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
