:root {
  --ink: #4f443e;
  --muted: #74645b;
  --green: #876e5f;
  --green-dark: #604e45;
  --sage: #efe4d8;
  --sage-soft: #fbf6ef;
  --cream: #f8f3eb;
  --gold: #b89a84;
  --white: #ffffff;
  --line: rgba(96, 78, 69, 0.14);
  --shadow: 0 18px 45px rgba(73, 57, 48, 0.11);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: var(--green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(135, 110, 95, 0.5);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 0 5px 18px rgba(73, 57, 48, 0.06);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  gap: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.site-brand img {
  width: 68px;
  height: 60px;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--green-dark);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  width: 19px;
  height: 2px;
  background: currentColor;
  border-radius: 4px;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle {
  flex-direction: column;
  gap: 4px;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 4px;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  padding: 10px 13px;
  color: var(--ink);
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--green-dark);
  background: #efe5d9;
  outline: none;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 112px) 0 clamp(58px, 8vw, 96px);
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(73, 57, 48, 0.91), rgba(96, 78, 69, 0.72)),
    var(--hero-image, linear-gradient(140deg, var(--green-dark), var(--green)));
  background-position: center;
  background-size: cover;
}

.page-hero::after {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(255, 255, 255, 0.045), 0 0 0 76px rgba(255, 255, 255, 0.035);
  content: "";
}

.page-hero__inner,
.content-shell,
.site-footer__inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-left: max(18px, calc((100% - 1120px) / 2));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 1px;
  margin-right: 10px;
  background: currentColor;
  content: "";
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 6vw, 5.2rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.page-hero p:not(.eyebrow) {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.87);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.content-shell {
  padding-top: clamp(54px, 7vw, 88px);
  padding-bottom: clamp(68px, 9vw, 116px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.section-heading p {
  margin: 16px 0 0;
  color: var(--muted);
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

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

.button:hover {
  background: #4e3f38;
}

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

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

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

.service-card,
.blog-card,
.detail-card,
.info-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card,
.blog-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover,
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(73, 57, 48, 0.16);
}

.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--sage);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-card:hover .card-image img,
.blog-card:hover .card-image img {
  transform: scale(1.04);
}

.card-body {
  display: flex;
  align-items: flex-start;
  flex: 1;
  flex-direction: column;
  padding: 25px;
}

.card-body h2,
.card-body h3 {
  margin: 0;
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.15;
}

.card-body p {
  margin: 14px 0 24px;
  color: var(--muted);
}

.card-link {
  margin-top: auto;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.card-link::after {
  display: inline-block;
  margin-left: 7px;
  content: "→";
  transition: transform 0.2s ease;
}

.card-link:hover::after {
  transform: translateX(4px);
}

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

.detail-card {
  position: relative;
  padding: 30px;
  box-shadow: none;
}

.detail-card::before {
  display: block;
  width: 38px;
  height: 3px;
  margin-bottom: 19px;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

.detail-card h2,
.detail-card h3 {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.2;
}

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

.soft-panel {
  margin-top: 38px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--sage-soft);
}

.soft-panel p {
  margin: 0;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(38px, 7vw, 84px);
}

.about-portrait {
  position: relative;
}

.about-portrait::after {
  position: absolute;
  z-index: -1;
  right: -20px;
  bottom: -20px;
  width: 78%;
  height: 78%;
  border-radius: var(--radius-lg);
  background: var(--sage);
  content: "";
}

.about-portrait img {
  width: 100%;
  min-height: 480px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about-copy h1,
.article-body h1,
.legal-page h1 {
  margin: 0 0 24px;
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.about-copy p {
  color: var(--muted);
}

.about-quote {
  margin: 28px 0;
  padding: 2px 0 2px 22px;
  color: var(--green-dark);
  border-left: 3px solid var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-style: italic;
}

.article-shell {
  width: min(880px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 clamp(72px, 9vw, 112px);
}

.back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 30px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.back-link::before {
  margin-right: 7px;
  content: "←";
}

.article-hero-image {
  overflow: hidden;
  margin-bottom: 38px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.article-hero-image img {
  width: 100%;
  max-height: 510px;
  object-fit: cover;
}

.article-body {
  padding: clamp(26px, 6vw, 60px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.article-body .article-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-body h2 {
  margin: 34px 0 12px;
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 500;
  line-height: 1.15;
}

.article-body h3 {
  margin: 26px 0 8px;
  color: var(--green-dark);
}

.article-body p,
.article-body li {
  color: var(--ink);
}

.article-body ul,
.article-body ol {
  padding-left: 1.25rem;
}

.article-body li + li {
  margin-top: 9px;
}

.article-note {
  margin-top: 32px;
  padding: 22px 24px;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--sage-soft);
}

.article-note p {
  margin: 0;
}

.legal-page {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) 0 clamp(74px, 10vw, 126px);
}

.legal-page__intro {
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 1.08rem;
}

.legal-section {
  margin-top: 24px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.legal-section h2 {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
}

.legal-section h3 {
  margin: 22px 0 8px;
  color: var(--green-dark);
}

.legal-section p,
.legal-section li {
  color: var(--ink);
}

.legal-section p:last-child,
.legal-section ul:last-child {
  margin-bottom: 0;
}

.legal-data {
  display: grid;
  grid-template-columns: minmax(130px, 0.34fr) 1fr;
  margin: 0;
  gap: 10px 18px;
}

.legal-data dt {
  color: var(--green-dark);
  font-weight: 800;
}

.legal-data dd {
  margin: 0;
  color: var(--muted);
}

.product-controls {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 20px;
}

.field-group {
  width: min(100%, 380px);
}

.field-group label {
  display: block;
  margin-bottom: 7px;
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.field-group select,
.field-group input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.product-count {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-table {
  width: 100%;
  border-collapse: collapse;
}

.product-table th,
.product-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.product-table th {
  color: var(--white);
  background: var(--green-dark);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-table td:first-child {
  color: var(--green-dark);
  font-weight: 800;
}

.product-table tr:last-child td {
  border-bottom: 0;
}

.empty-state {
  padding: 34px;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--green-dark);
}

.site-footer__inner {
  padding-top: 46px;
  padding-bottom: 30px;
}

.site-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 28px;
  gap: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.site-footer__brand {
  max-width: 470px;
}

.site-footer__brand strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.site-footer__brand p {
  margin: 0;
  font-size: 0.9rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.site-footer__links a,
.site-footer__links button {
  padding: 0;
  color: var(--white);
  border: 0;
  background: transparent;
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  gap: 20px;
  font-size: 0.82rem;
}

.site-footer__bottom p {
  margin: 0;
}

.cookie-banner {
  position: fixed;
  z-index: 5000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: none;
  max-width: 760px;
  margin: 0 auto;
  padding: 22px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 70px rgba(73, 57, 48, 0.28);
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner h2 {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-banner__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
  gap: 10px;
}

.cookie-banner__actions button {
  min-height: 44px;
  padding: 9px 14px;
  color: var(--green-dark);
  border: 1px solid var(--green-dark);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.cookie-banner__actions button[data-cookie-action="accept"] {
  color: var(--white);
  background: var(--green-dark);
}

.cookie-backdrop {
  position: fixed;
  z-index: 5200;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(73, 57, 48, 0.66);
}

.cookie-backdrop.is-visible {
  display: flex;
}

.cookie-modal {
  width: min(620px, 100%);
  max-height: min(720px, calc(100vh - 40px));
  overflow-y: auto;
  padding: clamp(24px, 5vw, 38px);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 26px 85px rgba(73, 57, 48, 0.35);
}

.cookie-modal h2 {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 500;
}

.cookie-modal > p {
  color: var(--muted);
}

.cookie-option {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 18px 0;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.cookie-option strong {
  display: block;
  color: var(--green-dark);
}

.cookie-option p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.cookie-option input {
  width: 22px;
  height: 22px;
  accent-color: var(--green-dark);
}

.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 20px;
  gap: 10px;
}

.cookie-modal__actions button {
  min-height: 44px;
  padding: 9px 17px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.cookie-save {
  color: var(--white);
  border: 1px solid var(--green-dark);
  background: var(--green-dark);
}

.cookie-cancel {
  color: var(--green-dark);
  border: 1px solid var(--green-dark);
  background: var(--white);
}

.external-content-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 330px;
  padding: 28px;
  color: var(--muted);
  border: 1px dashed rgba(96, 78, 69, 0.38);
  border-radius: var(--radius-md);
  background: var(--sage-soft);
  text-align: center;
}

[data-external-content] [hidden] {
  display: none !important;
}

.external-content-placeholder div {
  max-width: 480px;
}

.external-content-placeholder strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 1.1rem;
}

.external-content-placeholder button {
  margin-top: 16px;
}

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

@media (max-width: 930px) {
  .menu-toggle {
    display: flex;
  }

  .site-header__inner {
    min-height: 74px;
  }

  .site-brand img {
    width: 60px;
    height: 54px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 16px 18px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--cream);
    box-shadow: 0 16px 28px rgba(73, 57, 48, 0.1);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 720px);
    margin: 0 auto;
  }

  .site-nav a {
    padding: 12px 14px;
  }

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

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-portrait {
    max-width: 620px;
  }

  .site-footer__top,
  .site-footer__bottom {
    flex-direction: column;
  }

  .site-footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 660px) {
  .site-header__inner {
    width: calc(100% - 28px);
  }

  .page-hero__inner,
  .content-shell,
  .site-footer__inner,
  .article-shell,
  .legal-page {
    width: min(100% - 28px, 1120px);
  }

  .page-hero__inner {
    margin-left: 14px;
  }

  .card-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.7rem);
  }

  .about-portrait img {
    min-height: 390px;
  }

  .product-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .product-count {
    margin: 0;
  }

  .product-table thead {
    display: none;
  }

  .product-table,
  .product-table tbody,
  .product-table tr,
  .product-table td {
    display: block;
    width: 100%;
  }

  .product-table tr {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .product-table tr:last-child {
    border-bottom: 0;
  }

  .product-table td {
    padding: 7px 16px;
    border: 0;
  }

  .product-table td::before {
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    content: attr(data-label);
  }

  .legal-data {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .legal-data dd + dt {
    margin-top: 10px;
  }

  .cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 18px;
  }

  .cookie-banner__actions {
    grid-template-columns: 1fr;
  }

  .cookie-modal__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-modal__actions button {
    width: 100%;
  }
}

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