:root {
  --cream: #f5f0e7;
  --sand: #e8dece;
  --sage: #6f7769;
  --walnut: #4d3422;
  --cedar: #a25d34;
  --cedar-deep: #7e4324;
  --pine: #2f3f34;
  --charcoal: #2f261f;
  --ink: #2d2520;
  --white: #fffdfa;
  --line: rgba(77, 52, 34, 0.12);
  --shadow: 0 24px 50px rgba(65, 41, 24, 0.12);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --shell: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(162, 93, 52, 0.08), transparent 28%),
    linear-gradient(180deg, #faf6ef 0%, var(--cream) 100%);
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
}

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

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  color: var(--charcoal);
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.95;
}

.site-shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin: 0 auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(250, 246, 239, 0.9);
  border-bottom: 1px solid rgba(77, 52, 34, 0.08);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 88px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  max-width: 300px;
}

.site-brand__kicker,
.section-kicker {
  margin: 0;
  color: var(--cedar-deep);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  font-weight: 800;
}

.site-brand__logo {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
}

.site-brand__name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--charcoal);
}

.header-nav ul,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav a,
.footer-nav a {
  color: rgba(45, 37, 32, 0.85);
  font-size: 0.95rem;
  font-weight: 600;
}

.header-nav .is-current a,
.header-nav a:hover,
.footer-nav a:hover,
.text-link:hover {
  color: var(--cedar-deep);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.8);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--charcoal);
  border-radius: 99px;
}

.button,
.ccm-block-page-list-read-more,
button[type="submit"],
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, var(--cedar) 0%, var(--cedar-deep) 100%);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 32px rgba(126, 67, 36, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.button:hover,
.ccm-block-page-list-read-more:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 38px rgba(126, 67, 36, 0.2);
}

.button--ghost {
  background: transparent;
  color: var(--walnut);
  border: 1px solid rgba(77, 52, 34, 0.16);
  box-shadow: none;
}

.button--ghost:hover {
  background: rgba(162, 93, 52, 0.08);
}

.button--sm {
  min-height: 44px;
  padding: 0.7rem 1.1rem;
  font-size: 0.92rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.button-row--center {
  justify-content: center;
}

.hero,
.page-hero {
  padding: 4.2rem 0 2rem;
}

.hero__grid,
.split-hero,
.contact-grid,
.about-story-grid,
.service-detail-grid,
.interior-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero__copy,
.page-hero__content,
.content-stack {
  max-width: 720px;
}

.hero-title {
  font-size: clamp(3.3rem, 7vw, 6.7rem);
  max-width: 11ch;
}

.section-title {
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  max-width: 12ch;
}

.section-title--wide {
  max-width: 15ch;
}

.lede {
  font-size: 1.14rem;
  color: rgba(45, 37, 32, 0.82);
  max-width: 58ch;
}

.hero__media,
.media-card,
.sidebar-card,
.contact-panel,
.service-card,
.value-card,
.gallery-card,
.gallery-preview-card,
.process-card,
.testimonial-strip,
.cta-band__inner,
.site-footer,
.rich-placeholder {
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 250, 0.76);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero__media,
.media-card {
  overflow: hidden;
}

.hero__media img,
.media-card img {
  width: 100%;
  height: auto;
}

.page-section {
  padding: 2rem 0 0;
}

.page-section--alt {
  padding-top: 2.5rem;
}

.service-grid,
.value-grid,
.process-grid,
.gallery-grid,
.gallery-preview-grid,
.values-bar {
  display: grid;
  gap: 1.4rem;
}

.service-grid {
  margin-top: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.gallery-preview-card,
.gallery-card {
  overflow: hidden;
}

.service-card > :not(img),
.sidebar-card,
.contact-panel,
.process-card,
.value-card,
.gallery-card figcaption,
.gallery-preview-card figcaption,
.rich-placeholder,
.testimonial-strip,
.cta-band__inner {
  padding: 1.6rem;
}

.service-card h3,
.value-card h3,
.process-card h3,
.faq-item h3,
.sidebar-card h3,
.contact-panel h2,
.contact-panel h3 {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.text-link {
  color: var(--cedar-deep);
  font-weight: 700;
}

.value-grid,
.values-bar {
  margin-top: 1.75rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.value-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(249, 243, 234, 0.94));
}

.testimonial-strip {
  padding: 2rem 2.1rem;
  text-align: center;
}

.testimonial-strip blockquote {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.35rem);
  font-family: "Cormorant Garamond", Georgia, serif;
}

.testimonial-strip cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  color: rgba(45, 37, 32, 0.7);
}

.gallery-preview-grid,
.gallery-grid {
  margin-top: 1.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-preview-card,
.gallery-card {
  position: relative;
}

.gallery-preview-card img,
.gallery-card img {
  width: 100%;
  aspect-ratio: 1 / 0.9;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-preview-card:hover img,
.gallery-card:hover img {
  transform: scale(1.03);
}

.gallery-preview-card figcaption,
.gallery-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  color: var(--white);
  background: linear-gradient(180deg, transparent 0%, rgba(38, 24, 15, 0.88) 100%);
  font-weight: 700;
}

.process-band {
  display: grid;
  gap: 1.5rem;
}

.process-grid {
  margin-top: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-card {
  background: rgba(255, 253, 250, 0.72);
}

.process-card span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(162, 93, 52, 0.12);
  color: var(--cedar-deep);
  font-weight: 800;
}

.faq-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 0.75fr 1.25fr;
}

.faq-item {
  padding: 1.35rem 1.5rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 253, 250, 0.76);
  border: 1px solid var(--line);
}

.cta-band {
  padding: 2.5rem 0 0;
}

.cta-band__inner {
  padding: 2.5rem;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(162, 93, 52, 0.12), transparent 52%),
    rgba(255, 253, 250, 0.82);
}

.interior-grid {
  align-items: start;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.service-detail-grid--reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.sidebar-card,
.contact-panel,
.rich-placeholder,
.form-placeholder {
  padding: 1.6rem;
}

.plain-list {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}

.plain-list li {
  margin-bottom: 0.6rem;
}

.gallery-category__header {
  margin-bottom: 1rem;
}

.contact-grid {
  align-items: start;
}

.page--contact .contact-panel:last-child {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 240, 231, 0.96));
  border-color: rgba(77, 52, 34, 0.1);
}

.form-placeholder {
  border: 2px dashed rgba(126, 67, 36, 0.22);
  border-radius: var(--radius-md);
  background: rgba(249, 243, 234, 0.7);
}

.form-alert {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.form-alert h3 {
  margin-bottom: 0.35rem;
}

.form-alert--success {
  background: rgba(227, 241, 230, 0.9);
  border-color: rgba(75, 111, 72, 0.2);
}

.form-alert--error {
  background: rgba(249, 232, 226, 0.92);
  border-color: rgba(145, 72, 44, 0.18);
}

.quote-form {
  display: grid;
  gap: 1rem;
}

.quote-form__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-group {
  display: grid;
  gap: 0.45rem;
}

.field-group--full {
  grid-column: 1 / -1;
}

.field-group label {
  font-weight: 700;
  color: var(--walnut);
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(113, 86, 66, 0.24);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
}

.field-group textarea {
  resize: vertical;
  min-height: 170px;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  outline: 2px solid rgba(162, 93, 52, 0.24);
  outline-offset: 1px;
  border-color: rgba(162, 93, 52, 0.44);
}

.wpcf7-form p {
  margin: 0;
}

.wpcf7-form label {
  display: grid;
  gap: 0.55rem;
  font-weight: 700;
  color: var(--walnut);
}

.wpcf7 {
  width: 100%;
}

.wpcf7 form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1rem;
}

.wpcf7 form > p:nth-of-type(9),
.wpcf7 form > p:nth-of-type(10),
.wpcf7 form > p:last-of-type,
.wpcf7 form .wpcf7-response-output {
  grid-column: 1 / -1;
}

.wpcf7-form .wpcf7-form-control:not(.wpcf7-submit) {
  width: 100%;
  min-height: 56px;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(113, 86, 66, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 249, 244, 0.98));
  color: var(--ink);
  font: inherit;
  margin-top: 0.2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.wpcf7-form select.wpcf7-form-control {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(77, 52, 34, 0.6) 50%),
    linear-gradient(135deg, rgba(77, 52, 34, 0.6) 50%, transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 249, 244, 0.98));
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px),
    0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
  padding-right: 3rem;
}

.wpcf7-form textarea.wpcf7-form-control {
  resize: vertical;
  min-height: 190px;
  padding-top: 1rem;
}

.wpcf7-form .wpcf7-form-control:not(.wpcf7-submit):focus {
  outline: none;
  border-color: rgba(162, 93, 52, 0.42);
  box-shadow:
    0 0 0 4px rgba(162, 93, 52, 0.1),
    0 12px 24px rgba(77, 52, 34, 0.08);
  background: rgba(255, 255, 255, 1);
}

.wpcf7-form .wpcf7-not-valid-tip {
  margin-top: 0.35rem;
  color: #8c3f25;
  font-size: 0.92rem;
  font-weight: 600;
}

.wpcf7-form .wpcf7-response-output {
  margin: 0.25rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.wpcf7-spinner {
  margin: 0 0 0 0.75rem;
}

.shop-intro {
  max-width: 860px;
}

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

.kaspen-product-card,
.product-detail__media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 250, 0.8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.kaspen-product-card__media {
  display: block;
  background:
    radial-gradient(circle at top right, rgba(162, 93, 52, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(253, 251, 247, 0.94), rgba(244, 236, 225, 0.94));
}

.kaspen-product-image {
  width: 100%;
  aspect-ratio: 1 / 0.88;
  object-fit: cover;
}

.kaspen-product-image--fallback {
  padding: 2rem;
  object-fit: contain;
}

.kaspen-product-card__body {
  display: grid;
  gap: 0.85rem;
  padding: 1.5rem;
}

.kaspen-product-card__title,
.woocommerce div.product .product_title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.kaspen-product-card__excerpt p,
.product-detail__description p {
  margin-bottom: 0.9rem;
}

.kaspen-product-card__actions,
.product-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.product-detail-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
}

.product-detail__media {
  padding: 1.5rem;
  background:
    radial-gradient(circle at top, rgba(162, 93, 52, 0.1), transparent 55%),
    rgba(255, 253, 250, 0.82);
}

.product-detail__summary {
  gap: 1.2rem;
}

.woocommerce .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--cedar-deep);
  font-weight: 800;
}

.woocommerce .quantity,
.woocommerce .single_add_to_cart_button.button.alt,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  margin: 0;
}

.woocommerce .single_add_to_cart_button.button.alt,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, var(--cedar) 0%, var(--cedar-deep) 100%);
  color: var(--white);
  box-shadow: 0 18px 32px rgba(126, 67, 36, 0.18);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce .single_add_to_cart_button.button.alt:hover {
  background: linear-gradient(135deg, var(--cedar) 0%, var(--cedar-deep) 100%);
  color: var(--white);
  transform: translateY(-1px);
}

.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error {
  margin: 0 0 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.9);
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.woocommerce div.product .product_meta,
.woocommerce-tabs,
.related.products,
.up-sells,
.products .onsale,
.single-product .onsale {
  display: none;
}

.woocommerce-account .woocommerce,
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
  width: min(calc(100% - 2rem), var(--shell));
  margin: 0 auto;
  padding-top: 2rem;
}

.woocommerce-account form,
.woocommerce-cart table.shop_table,
.woocommerce-checkout form.checkout {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.82);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.kaspen-quote-note {
  margin: 0 auto 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(126, 67, 36, 0.18);
  background: rgba(126, 67, 36, 0.08);
  color: var(--ink);
}

.kaspen-quote-price-label {
  font-weight: 700;
  color: var(--wood);
}

.woocommerce-checkout .col2-set,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  margin-top: 1.5rem;
}

.woocommerce-checkout #order_review {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.woocommerce-checkout .form-row-wide,
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
  margin-bottom: 1rem;
}

.site-footer {
  margin: 4rem auto 2rem;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(61, 47, 37, 0.98), rgba(43, 33, 26, 0.98));
  color: rgba(255, 249, 242, 0.88);
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.site-footer .section-kicker,
.footer-heading,
.site-footer a {
  color: var(--white);
}

.footer-heading {
  font-size: 1.5rem;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 249, 242, 0.68);
  font-size: 0.94rem;
}

.ccm-edit-mode .hero__media,
.ccm-edit-mode .media-card,
.ccm-edit-mode .gallery-preview-card,
.ccm-edit-mode .gallery-card {
  min-height: 180px;
}

@media (max-width: 1100px) {
  .service-grid,
  .gallery-grid,
  .gallery-preview-grid,
  .value-grid,
  .values-bar,
  .process-grid,
  .kaspen-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header__inner,
  .hero__grid,
  .split-hero,
  .contact-grid,
  .about-story-grid,
  .service-detail-grid,
  .faq-grid,
  .site-footer__grid,
  .interior-grid,
  .quote-form__grid,
  .wpcf7 form,
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .site-header__cta {
    display: none;
  }
}

@media (max-width: 820px) {
  .site-header__inner {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-header__nav {
    display: none;
    grid-column: 1 / -1;
    padding-bottom: 1rem;
  }

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

  .header-nav ul,
  .footer-nav,
  .site-footer__bottom,
  .button-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-nav ul {
    gap: 0.9rem;
    padding-top: 0.5rem;
  }

  .service-grid,
  .gallery-grid,
  .gallery-preview-grid,
  .value-grid,
  .values-bar,
  .process-grid,
  .kaspen-product-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero {
    padding-top: 2.5rem;
  }

  .hero-title {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }

  .section-title {
    font-size: clamp(2.1rem, 11vw, 3.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    animation-duration: 0s !important;
  }
}
