:root {
  --s1-white: #F7F5F2;
  --s1-black: #1A1A18;
  --s1-concrete: #C8C4BC;
  --s1-raw: #8C8880;
  --s1-amber: #B5682A;
  --s1-amber-light: #E8A96A;
  --s1-amber-dark: #9E5A20;
  --s1-wood: #D4C4A8;
  --s1-surface: #EDEAE6;
  --s1-surface-2: #E3DFD8;
  --s1-border: #D0CBC2;
  --s1-border-soft: #E4E0DA;
  --s1-text-secondary: #5C5852;
  --s1-text-muted: #7B756D;
  --s1-max: 1280px;
  --s1-nav-h: 104px;
  --s1-font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --s1-font-body: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --s1-font-mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body.s1-theme {
  margin: 0;
  background:
    linear-gradient(140deg, rgba(212, 196, 168, 0.08), transparent 28%),
    linear-gradient(180deg, #f8f6f3 0%, #f7f5f2 100%);
  color: var(--s1-black);
  font-family: var(--s1-font-body);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.s1-theme * {
  box-sizing: border-box;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--s1-amber);
  outline-offset: 3px;
}

.s1-skip-link {
  position: absolute;
  left: -9999px;
}

.s1-skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 2000;
  background: var(--s1-amber);
  color: var(--s1-white);
  padding: 0.75rem 1rem;
}

.s1-container {
  width: min(calc(100% - 3rem), var(--s1-max));
  margin: 0 auto;
}

.s1-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 245, 242, 0.98);
  border-bottom: 1px solid var(--s1-border);
  backdrop-filter: blur(14px);
  border-top: 4px solid var(--s1-black);
}

.s1-site-header::after {
  content: none;
}

.s1-header-inner {
  min-height: var(--s1-nav-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2.5rem;
}

.s1-brand-link,
.s1-brand-link:hover {
  text-decoration: none;
  color: inherit;
}

.s1-brand-name {
  display: block;
  font-family: var(--s1-font-display);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.s1-brand-accent {
  color: var(--s1-amber);
}

.s1-brand-sub {
  display: block;
  margin-top: 0.55rem;
  font-family: var(--s1-font-mono);
  font-size: 0.84rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--s1-text-secondary);
}

.s1-main-nav {
  justify-self: center;
}

.s1-nav-list,
.s1-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.s1-nav-list {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.s1-nav-list a,
.s1-footer-links a {
  text-decoration: none;
  color: var(--s1-text-secondary);
}

.s1-nav-list a {
  position: relative;
  font-family: var(--s1-font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #666159;
}

.s1-nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 1px;
  background: var(--s1-amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.s1-nav-list a:hover,
.s1-footer-links a:hover,
.s1-header-cta:hover {
  color: var(--s1-black);
}

.s1-nav-list a:hover::after {
  transform: scaleX(1);
}

.s1-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--s1-amber);
  color: var(--s1-black);
  padding: 1rem 1.7rem;
  min-width: 218px;
  font-family: var(--s1-font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.s1-header-cta-label {
  display: inline-block;
  color: var(--s1-black);
  font: inherit;
  line-height: 1;
}

.s1-header-cta:hover {
  background: var(--s1-amber-light);
  transform: translateY(-1px);
}

.s1-menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
}

.s1-menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 5px 0;
  background: var(--s1-black);
}

.s1-site-main {
  min-height: 60vh;
}

.s1-content-shell {
  padding: 5rem 0 6rem;
}

.s1-content-shell-front,
.s1-elementor-shell {
  padding: 0;
}

.s1-entry {
  max-width: 980px;
  margin: 0 auto;
  padding: 3rem;
  background: rgba(247, 245, 242, 0.72);
  border: 1px solid var(--s1-border-soft);
  position: relative;
}

.s1-entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2rem;
  bottom: 2rem;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, var(--s1-amber) 18%, rgba(181, 104, 42, 0.2) 82%, transparent 100%);
}

.s1-entry-header {
  margin-bottom: 2rem;
}

.s1-entry-title {
  margin: 0;
  font-family: var(--s1-font-display);
  font-size: clamp(2rem, 4vw, 3.85rem);
  line-height: 1.04;
}

.s1-entry-content > *:first-child {
  margin-top: 0;
}

.s1-entry-content h2,
.s1-entry-content h3,
.s1-entry-content h4 {
  font-family: var(--s1-font-display);
  line-height: 1.15;
  color: var(--s1-black);
}

.s1-entry-content h2 {
  font-size: clamp(1.8rem, 3.1vw, 2.8rem);
}

.s1-entry-content h3 {
  font-size: 1.45rem;
}

.s1-entry-content p,
.s1-entry-content li {
  color: var(--s1-text-secondary);
}

.s1-entry-content strong {
  color: var(--s1-black);
}

.s1-entry-content a {
  color: var(--s1-amber-dark);
}

.s1-entry-content img {
  max-width: 100%;
  height: auto;
}

.s1-entry-content blockquote {
  margin: 2rem 0;
  padding: 1rem 0 1rem 1.5rem;
  border-left: 2px solid var(--s1-amber);
  color: var(--s1-text-secondary);
}

.s1-entry-content table {
  width: 100%;
  border-collapse: collapse;
  background: var(--s1-surface);
}

.s1-entry-content th {
  text-align: left;
  font-family: var(--s1-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--s1-text-secondary);
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--s1-border);
}

.s1-entry-content td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--s1-border-soft);
}

.s1-entry-content hr {
  border: 0;
  height: 1px;
  background: var(--s1-border);
  margin: 2.5rem 0;
}

.s1-entry-content .wp-block-button__link,
.s1-entry-content button,
.s1-entry-content input[type="submit"] {
  border-radius: 0;
}

.s1-site-footer {
  background:
    linear-gradient(180deg, #1d1d1a 0%, #181815 100%);
  color: rgba(247, 245, 242, 0.9);
  padding: 5.5rem 0 2.2rem;
  margin-top: 5rem;
  position: relative;
}

.s1-site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: rgba(247, 245, 242, 0.08);
}

.s1-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 4rem;
}

.s1-footer-label {
  margin: 0 0 1rem;
  font-family: var(--s1-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247, 245, 242, 0.5);
}

.s1-footer-title {
  margin: 0;
  font-family: var(--s1-font-display);
  font-size: 1.82rem;
  color: var(--s1-white);
  line-height: 1.15;
}

.s1-footer-title-separator,
.s1-footer-title-subline {
  color: var(--s1-white);
}

.s1-footer-divider {
  width: 2rem;
  height: 1px;
  background: var(--s1-amber);
  margin: 1.2rem 0 1.3rem;
  opacity: 0.8;
}

.s1-footer-text,
.s1-footer-links li,
.s1-footer-bottom {
  font-size: 0.95rem;
}

.s1-footer-text {
  max-width: 32ch;
  color: rgba(247, 245, 242, 0.72);
  line-height: 1.85;
}

.s1-footer-links li + li {
  margin-top: 0.75rem;
}

.s1-footer-links li {
  color: rgba(247, 245, 242, 0.76);
}

.s1-footer-links a {
  color: rgba(247, 245, 242, 0.76);
}

.s1-footer-links a:hover {
  color: var(--s1-white);
}

.s1-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(247, 245, 242, 0.08);
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  color: rgba(247, 245, 242, 0.46);
  font-family: var(--s1-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.s1-footer-bottom p {
  margin: 0;
}

.s1-footer-legal-inline {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}

.s1-footer-legal-inline a {
  text-decoration: none;
  color: rgba(247, 245, 242, 0.62);
}

.s1-footer-legal-inline a:hover {
  color: var(--s1-white);
}

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

.s1-elementor-shell > .elementor,
.s1-content-shell-front > .elementor {
  margin-top: 0;
}

.elementor-widget-container .s1-container {
  width: 100%;
}

.s1-theme .elementor-section.elementor-section-boxed > .elementor-container {
  max-width: var(--s1-max);
}

@media (max-width: 980px) {
  .s1-header-inner {
    grid-template-columns: auto auto;
    gap: 1rem;
  }

  .s1-menu-toggle {
    display: inline-block;
    justify-self: end;
  }

  .s1-main-nav,
  .s1-header-cta {
    display: none;
  }

  body.s1-menu-open .s1-main-nav {
    display: block;
    grid-column: 1 / -1;
    justify-self: stretch;
    padding: 0.5rem 0 1.25rem;
    border-top: 1px solid var(--s1-border-soft);
  }

  body.s1-menu-open .s1-nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  body.s1-menu-open .s1-header-cta {
    display: inline-block;
    justify-self: start;
    margin-bottom: 1rem;
  }

  .s1-entry {
    padding: 2rem 1.5rem 2rem 2rem;
  }

  .s1-footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

@media (max-width: 640px) {
  .s1-container {
    width: min(calc(100% - 2rem), var(--s1-max));
  }

  .s1-content-shell {
    padding: 3rem 0 4rem;
  }

  .s1-entry {
    padding: 1.5rem 1rem 1.5rem 1.4rem;
  }

  .s1-entry::before {
    top: 1rem;
    bottom: 1rem;
  }
}
