@font-face {
  font-family: "Abel";
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  src: url("../fonts/abel-regular.woff2") format("woff2");
}

:root {
  --rt-color-ink: #111111;
  --rt-color-muted: #55524d;
  --rt-color-accent: #6f6658;
  --rt-color-accent-dark: #39342d;
  --rt-color-surface: #f5f4f1;
  --rt-color-line: rgba(17, 17, 17, 0.14);
  --rt-color-white: #ffffff;
  --rt-container: 112rem;
  --rt-content: 48rem;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--rt-color-ink);
  background: var(--rt-color-white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--rt-color-accent-dark);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--rt-color-accent);
}

h1,
h2,
h3 {
  font-family: "Arial Narrow", "Aptos Narrow", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.container {
  width: min(calc(100% - clamp(2rem, 6vw, 7rem)), var(--rt-container));
  margin-inline: auto;
}

:focus-visible {
  outline: 3px solid var(--rt-color-accent);
  outline-offset: 3px;
}

/* Astra owns the header structure; the child theme only supplies its visual treatment. */
.site-header,
.ast-primary-header-bar,
.ast-builder-grid-row-container-inner {
  transition: none;
}

.site-header {
  position: relative;
  color: #0c0c0c;
  font-family: "OpenSans-Regular", Arial, Helvetica, sans-serif;
  font-size: 19px;
}

.ast-primary-header-bar {
  min-height: 0;
  padding-inline: 20px;
  border-bottom: 0;
  background: transparent;
}

.home .site-header {
  position: relative;
  z-index: auto;
  inset: auto;
  width: 100%;
}

.home .ast-primary-header-bar {
  border-bottom: 0;
  background: transparent;
}

.ast-primary-header-bar .site-primary-header-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-inline: 20px;
}

.ast-primary-header-bar .ast-builder-grid-row-container-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: 0;
}

.site-branding.ast-site-identity {
  gap: 0;
  padding-block: 19px;
}

.site-title {
  margin: 0;
  line-height: 1;
}

.site-header .site-title a,
.site-header .site-title a:visited {
  color: #222222;
  font-family: "Abel", sans-serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: normal;
  text-transform: uppercase;
}

.site-header .site-title a:hover,
.site-header .site-title a:focus {
  color: rgba(10, 10, 10, 0.5);
}

.site-header .site-description {
  display: block;
  margin: 0;
  color: #0c0c0c;
  font-family: "OpenSans-Regular", Arial, Helvetica, sans-serif;
  font-size: 17.1px;
  font-weight: 400;
  line-height: 1.5;
}

.site-header .custom-logo-link img {
  width: 60px;
  max-width: 60px;
  height: 60px;
  max-height: 60px;
  object-fit: contain;
}

.main-header-menu > .menu-item > .menu-link,
.ast-builder-menu-1 .menu-item > .menu-link {
  height: auto;
  min-height: auto;
  padding-inline: 11.4px;
  color: #261808;
  font-family: "OpenSans-Regular", Arial, Helvetica, sans-serif;
  font-size: 22.8px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -2px;
  text-transform: uppercase;
}

.main-header-menu > .menu-item > .menu-link:hover,
.ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link:hover {
  color: #3a3a3a;
}

.ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link,
.ast-builder-menu-1 .main-header-menu > .current-menu-item > .menu-link,
.ast-builder-menu-1 .main-header-menu > .current-menu-ancestor > .menu-link {
  color: #261808;
}

.ast-button-wrap .menu-toggle.main-header-menu-toggle {
  width: 39.28px;
  height: 39.28px;
  min-height: 39.28px;
  padding: 0;
  border: 3px solid #261808;
  border-radius: 2px;
  color: #261808;
  background: transparent;
  box-shadow: none;
}

.home .site-content > .ast-container {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 !important;
}

.home #primary {
  width: 100%;
  margin: 0;
  padding: 0;
}

.reiths-trauben-main {
  width: 100%;
  overflow: hidden;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--rt-color-white);
  background:
    linear-gradient(rgba(20, 30, 22, 0.56), rgba(20, 30, 22, 0.62)),
    url("../images/hero-tafeltrauben.webp") center / cover no-repeat;
}

.hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, transparent 0 5rem, rgba(255, 255, 255, 0.035) 5rem 5.08rem);
  content: "";
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100svh;
  padding-block: clamp(9rem, 16vw, 13rem) clamp(5rem, 10vw, 8rem);
  place-items: center;
}

.hero__content {
  max-width: 52rem;
  text-align: center;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  margin: 0 0 0.35em;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 1.3rem;
  color: var(--rt-color-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.84);
}

.hero__lead {
  max-width: 40rem;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.button,
.entry-content .wp-block-button__link {
  display: inline-flex;
  min-height: 3.15rem;
  padding: 0.75rem 1.45rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 2px;
  color: var(--rt-color-white);
  background: rgba(44, 40, 34, 0.8);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-shadow: none;
  text-transform: uppercase;
  transition: background 160ms ease;
}

.button:hover,
.entry-content .wp-block-button__link:hover {
  color: var(--rt-color-white);
  background: var(--rt-color-accent-dark);
}

.section {
  display: flex;
  min-height: min(70svh, 50rem);
  padding-block: clamp(6rem, 12vw, 11rem);
  align-items: center;
}

.section--intro {
  background: var(--rt-color-white);
}

.section--muted {
  background: var(--rt-color-surface);
}

.intro-grid {
  display: block;
  max-width: var(--rt-content);
  text-align: center;
}

.intro-grid h2,
.section--muted h2 {
  max-width: none;
  margin-bottom: 0.65em;
  font-size: clamp(2.25rem, 5vw, 3.6rem);
}

.content-prose {
  max-width: var(--rt-content);
  margin-inline: auto;
  color: var(--rt-color-muted);
  font-size: 1.08rem;
}

.page:not(.home) .entry-header,
.page:not(.home) .entry-content {
  max-width: var(--rt-content);
  margin-inline: auto;
}

.content-prose > *:last-child {
  margin-bottom: 0;
}

.content-prose h2,
.content-prose h3 {
  color: var(--rt-color-ink);
}

.image-section {
  position: relative;
  display: grid;
  min-height: min(82svh, 58rem);
  padding: clamp(1.5rem, 4vw, 4rem);
  overflow: hidden;
  place-items: center;
}

.image-section::before {
  position: absolute;
  inset: clamp(1.5rem, 4vw, 4rem);
  border: 1px solid rgba(255, 255, 255, 0.3);
  content: "";
}

.image-section--vineyard {
  background: url("../images/johannes-tafeltraubenanlage.webp") center / cover no-repeat;
}

.image-section--cellar {
  background: url("../images/tafeltrauben-detail.webp") center / cover no-repeat;
}

.section--muted > .container {
  text-align: center;
}

.card-grid {
  display: grid;
  max-width: 76rem;
  margin: 4rem auto 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: clamp(1.5rem, 4vw, 3rem);
  border-left: 1px solid var(--rt-color-line);
  background: transparent;
  text-align: center;
}

.card:first-child {
  border-left: 0;
}

.card__number {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--rt-color-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.card p {
  color: var(--rt-color-muted);
}

.card__address {
  color: var(--rt-color-muted);
  font-style: normal;
}

.contact-panel {
  display: grid;
  max-width: 76rem;
  margin: clamp(4rem, 8vw, 7rem) auto 0;
  padding: clamp(1.5rem, 5vw, 4rem);
  border: 1px solid var(--rt-color-line);
  background: var(--rt-color-white);
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  text-align: left;
}

.contact-panel__intro h3 {
  margin-bottom: 0.75em;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.contact-panel__intro p:last-child {
  color: var(--rt-color-muted);
}

.contact-form {
  display: grid;
  gap: 0.7rem;
}

.contact-form label:not(.contact-form__privacy) {
  margin-top: 0.45rem;
  color: var(--rt-color-ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--rt-color-line);
  border-radius: 0;
  color: var(--rt-color-ink);
  background: #fafaf8;
  box-shadow: none;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  border-color: var(--rt-color-accent-dark);
  outline: 2px solid rgba(57, 52, 45, 0.15);
  outline-offset: 1px;
}

.contact-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-form__privacy {
	margin-block: 0.6rem;
	color: var(--rt-color-muted);
	font-size: 0.9rem;
}

.contact-form .button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.contact-form__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-status {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--rt-color-accent);
  background: var(--rt-color-surface);
}

.form-status--error {
  border-left-color: #8a352d;
}

.site-footer {
  color: #0c0000;
  background: transparent;
  font-family: "OpenSans-Regular", Arial, Helvetica, sans-serif;
  font-size: 19px;
}

.site-below-footer-wrap[data-section="section-below-footer-builder"] {
  min-height: 80px;
  padding: 1% 0;
  border-top: 0;
  background: #f7f7f7;
}

.site-footer .ast-builder-grid-row-container-inner {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 0;
}

.site-below-footer-wrap[data-section="section-below-footer-builder"] .site-below-footer-inner-wrap {
  min-height: 80px;
  align-items: flex-start;
}

.site-footer .site-footer-below-section-1 {
  width: 100%;
}

.site-footer .ast-footer-copyright.ast-builder-layout-element {
  display: block;
  width: 100%;
  color: #0c0000;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  text-transform: none;
}

.reiths-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 10px;
}

.reiths-footer-nav a {
  display: flex;
  align-items: center;
  padding: 3.36px 10.5px 0;
  color: #000000;
  font-size: 21px;
  line-height: 21px;
}

.reiths-footer-nav a:first-child {
  padding-left: 0;
}

.reiths-footer-nav a:last-child {
  padding-right: 0;
}

.reiths-footer-meta {
  margin: 0;
  color: #0c0000;
  font-size: 21px;
  line-height: 21px;
}

.site-footer a {
  color: #000000;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #8e8e8e;
}

.reiths-footer-meta a {
  display: inline;
  padding: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

@media (max-width: 70rem) {
  .ast-header-break-point #ast-desktop-header {
    display: none !important;
  }

  .ast-header-break-point #ast-mobile-header {
    display: block !important;
  }

  .ast-primary-header-bar {
    min-height: 80px;
  }

  .site-branding.ast-site-identity {
    gap: 0;
    padding-block: 20px;
  }

  .site-header .custom-logo-link img {
    width: 40px;
    max-width: 40px;
    height: 40px;
    max-height: 40px;
  }

  .site-header .site-logo-img {
    padding-right: 9.5px;
  }

  .site-header .site-title a,
  .site-header .site-title a:visited {
    font-size: 28.5px;
  }

  .site-header .site-description {
    display: none;
  }

  .ast-header-break-point .ast-button-wrap .menu-toggle.main-header-menu-toggle {
    width: 39.28px;
    height: 39.28px;
    min-height: 39.28px;
    padding: 6.65px;
    font-size: 13.3px;
  }

  .ast-header-break-point .main-header-menu,
  .ast-header-break-point .main-navigation {
    background: #f9f9f9;
  }

  .ast-header-break-point .main-header-menu .menu-link {
    min-height: auto;
    padding: 0.8rem 0.5rem;
    color: #261808;
    font-size: 17.1px;
    line-height: 1.2;
    letter-spacing: -2px;
    text-transform: uppercase;
  }

  .site-below-footer-wrap[data-section="section-below-footer-builder"] {
    padding: 2em 0;
  }
}

@media (max-width: 48rem) {
  .ast-primary-header-bar {
    padding-inline: 0;
  }

  .hero {
    background-position: 56% center;
  }

  .hero__inner {
    min-height: 88svh;
  }

  .section {
    min-height: auto;
  }

  .image-section {
    min-height: 58svh;
  }

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

  .card,
  .card:first-child {
    border-top: 1px solid var(--rt-color-line);
    border-left: 0;
  }

  .card:first-child {
    border-top: 0;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 34rem) {
  .site-below-footer-wrap[data-section="section-below-footer-builder"] {
    padding: 19px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Reithwein design system, mapped to the existing Reiths Trauben structure. */
:root {
  --rt-color-ink: #171717;
  --rt-color-anthracite: #2b2b2b;
  --rt-color-muted: #726b64;
  --rt-color-accent: #a86a35;
  --rt-color-accent-dark: #2b2b2b;
  --rt-color-bronze: #7b6248;
  --rt-color-surface: #f7f3ec;
  --rt-color-footer: #171717;
  --rt-color-footer-text: #f1efec;
  --rt-color-footer-muted: #b9b2aa;
  --rt-color-footer-hover: #c98549;
  --rt-color-line: #ded7cf;
  --rt-color-white: #ffffff;
  --rt-container: 73.75rem;
  --rt-content: 42.5rem;
  --rt-gutter: clamp(1.125rem, 3.5vw, 2.75rem);
  --rt-transition: 180ms ease;
}

body {
  color: var(--rt-color-ink);
  background: var(--rt-color-white);
  font-family: "Abel", "Arial Narrow", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--rt-color-bronze);
}

a:hover,
a:focus {
  color: var(--rt-color-accent);
}

h1,
h2,
h3,
button,
input,
textarea,
select {
  font-family: "Abel", "Arial Narrow", Arial, sans-serif;
}

h1,
h2,
h3 {
  color: var(--rt-color-ink);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0.01em;
}

::selection {
  color: var(--rt-color-white);
  background: var(--rt-color-accent);
}

:focus-visible {
  outline: 2px solid var(--rt-color-accent);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - (2 * var(--rt-gutter))), var(--rt-container));
}

/* Header: keep Astra's markup and menu behavior, apply the approved Reith surface. */
.site-header {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 90;
  color: var(--rt-color-ink);
  background: transparent;
  font-family: "Abel", "Arial Narrow", Arial, sans-serif;
  font-size: 1.1875rem;
  transition: transform 280ms ease, background-color var(--rt-transition);
}

.home .site-header {
  position: absolute;
  top: 0;
  z-index: 90;
  inset-inline: 0;
  width: 100%;
  background: transparent;
}

.home.reith-header-stuck .site-header {
  position: fixed;
  top: var(--wp-admin--admin-bar--height, 0px);
  background: transparent;
}

.reith-header-hidden .site-header {
  transform: translateY(calc(-100% - 0.75rem));
}

.reith-header-scroll-managed.ast-main-header-nav-open .site-header,
.reith-header-scroll-managed.ast-mobile-popup-active .site-header {
  transform: none;
}

.site-header,
.site-header .main-header-bar,
.site-header .ast-primary-header-bar {
  border-bottom: 0;
  box-shadow: none;
}

.ast-primary-header-bar {
  min-height: 6.375rem;
  padding-inline: 1.25rem;
  background: transparent;
}

.ast-primary-header-bar .site-primary-header-wrap {
  padding-inline: 1.25rem;
}

.site-branding.ast-site-identity {
  padding-block: 1.1875rem;
}

.site-header .site-title a,
.site-header .site-title a:visited {
  color: #222222;
  font-family: "Abel", "Arial Narrow", Arial, sans-serif;
  font-size: 2.375rem;
  line-height: 1;
}

.site-header .site-description {
  color: #0c0c0c;
  font-family: "Abel", "Arial Narrow", Arial, sans-serif;
  font-size: 1.06875rem;
  line-height: 1.5;
  letter-spacing: 0.125rem;
  white-space: nowrap;
}

.main-header-menu > .menu-item > .menu-link,
.ast-builder-menu-1 .menu-item > .menu-link {
  color: #261808;
  font-family: "Abel", "Arial Narrow", Arial, sans-serif;
  font-size: 1.425rem;
  letter-spacing: -0.125rem;
  white-space: nowrap;
}

.main-header-menu > .menu-item > .menu-link:hover,
.main-header-menu > .current-menu-item > .menu-link,
.ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link:hover,
.ast-builder-menu-1 .main-header-menu > .current-menu-item > .menu-link {
  color: var(--rt-color-accent);
}

/* Hero and editorial story sections. */
.hero {
  background: url("../images/hero-tafeltrauben.webp") center / cover no-repeat;
}

.hero::before {
  display: none;
}

.hero__inner {
  min-height: 53.375rem;
  padding: 7.5rem var(--rt-gutter) 6.25rem;
}

.hero__content {
  width: min(100%, 60rem);
  max-width: 60rem;
  text-shadow: none;
}

.hero h1 {
  margin: 0 0 1.875rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(3.25rem, 6vw, 4.375rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 2px 1px 0 rgba(37, 25, 4, 0.57);
  text-transform: none;
  text-wrap: balance;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--rt-color-accent);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--rt-color-white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.72);
}

.hero__lead {
  margin-bottom: 1.5rem;
  color: var(--rt-color-white);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.82), 0 1px 2px rgba(0, 0, 0, 0.9);
}

.button,
.entry-content .wp-block-button__link {
  min-height: 3rem;
  padding: 0.75rem 1.375rem;
  border: 1px solid var(--rt-color-anthracite);
  border-radius: 0;
  color: var(--rt-color-white);
  background: var(--rt-color-anthracite);
  box-shadow: none;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  transition: border-color var(--rt-transition), background-color var(--rt-transition), color var(--rt-transition);
}

.button:hover,
.button:focus,
.entry-content .wp-block-button__link:hover,
.entry-content .wp-block-button__link:focus {
  border-color: var(--rt-color-ink);
  color: var(--rt-color-white);
  background: var(--rt-color-ink);
}

.hero .button {
  border-color: rgba(255, 255, 255, 0.76);
  background: rgba(23, 23, 23, 0.58);
}

.hero .button:hover,
.hero .button:focus {
  border-color: var(--rt-color-accent);
  background: var(--rt-color-accent);
}

.section {
  min-height: 0;
  padding-block: clamp(3.5rem, 7vw, 4.5rem) 4rem;
}

.section--intro {
  background: var(--rt-color-white);
}

.section--muted {
  padding-block: clamp(4.25rem, 7vw, 5.5rem);
  background: var(--rt-color-surface);
}

.intro-grid,
.content-prose {
  max-width: var(--rt-content);
}

.content-prose {
  color: var(--rt-color-anthracite);
  font-size: 1.125rem;
  line-height: 1.55;
}

.intro-grid h2,
.section--muted h2,
.content-prose h2 {
  margin: 0 0 1.375rem;
  color: var(--rt-color-ink);
  font-size: clamp(1.875rem, 3vw, 2.375rem);
  font-weight: 400;
  line-height: 1.18;
  text-transform: uppercase;
  text-wrap: balance;
}

.image-section {
  min-height: clamp(22.5rem, 46vw, 42.5rem);
  padding: 0;
}

.image-section::before {
  display: none;
}

.card-grid {
  max-width: var(--rt-container);
  margin-top: 2.75rem;
  border-top: 1px solid rgba(168, 106, 53, 0.65);
}

.card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-left-color: var(--rt-color-line);
}

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.card__number {
  margin-bottom: 0.875rem;
  color: var(--rt-color-accent);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
}

.card p,
.card__address {
  color: var(--rt-color-muted);
}

.contact-panel {
  max-width: var(--rt-container);
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border-color: var(--rt-color-line);
  gap: clamp(2rem, 5vw, 4.5rem);
}

.contact-panel__intro h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.875rem, 3vw, 2.375rem);
  line-height: 1.18;
  text-transform: uppercase;
}

.contact-form {
  gap: 0.5rem;
}

.contact-form label:not(.contact-form__privacy) {
  color: var(--rt-color-ink);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  min-height: 3.25rem;
  padding: 0.75rem 0.875rem;
  border-color: var(--rt-color-line);
  border-radius: 0;
  color: var(--rt-color-ink);
  background: var(--rt-color-white);
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 11.875rem;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  border-color: var(--rt-color-accent);
  outline: 2px solid rgba(168, 106, 53, 0.16);
}

.contact-form__privacy {
  color: var(--rt-color-muted);
  font-size: 0.875rem;
}

.form-status {
  border-left-color: var(--rt-color-accent);
  background: var(--rt-color-surface);
}

/* Native content pages share the same narrow editorial rhythm. */
.page:not(.home) .entry-header,
.page:not(.home) .entry-content {
  max-width: var(--rt-content);
}

.page:not(.home) .entry-title {
  font-size: clamp(2.125rem, 4vw, 3.125rem);
  text-transform: uppercase;
}

.page:not(.home) .entry-content {
  color: var(--rt-color-anthracite);
  font-size: 1.125rem;
  line-height: 1.55;
}

/* Footer: the approved anthracite close with a copper top rule. */
.site-footer,
.site-footer .site-below-footer-wrap,
.site-footer .ast-builder-grid-row-container-inner {
  color: var(--rt-color-footer-text);
  background: var(--rt-color-footer) !important;
  font-family: "Abel", "Arial Narrow", Arial, sans-serif;
}

.site-below-footer-wrap[data-section="section-below-footer-builder"] {
  min-height: 0;
  padding: 1.5rem 0 1.625rem;
  border-top: 1px solid rgba(168, 106, 53, 0.65);
  background: var(--rt-color-footer) !important;
}

.site-footer .ast-builder-grid-row-container-inner,
.site-footer .site-below-footer-inner-wrap {
  width: calc(100% - (2 * var(--rt-gutter)));
  max-width: var(--rt-container);
  min-height: 0;
  margin-inline: auto;
}

.site-footer .ast-footer-copyright.ast-builder-layout-element {
  color: var(--rt-color-footer-text);
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
}

.reiths-footer-nav {
  gap: 0 1.375rem;
  justify-content: flex-start;
  margin-bottom: 0.5rem;
}

.reiths-footer-nav a {
  min-height: 2.75rem;
  padding: 0.5rem 0;
  color: var(--rt-color-footer-text);
  font-size: 0.875rem;
  line-height: 1.25;
}

.reiths-footer-meta {
  color: var(--rt-color-footer-muted);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.site-footer a,
.reiths-footer-meta a {
  color: inherit;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--rt-color-footer-hover);
}

@media (max-width: 70rem) {
  .ast-primary-header-bar {
    min-height: 5rem;
  }

  .site-branding.ast-site-identity {
    padding-block: 1.25rem;
  }

  .site-header .site-title a,
  .site-header .site-title a:visited {
    font-size: 1.78125rem;
  }

  .ast-header-break-point.ast-main-header-nav-open #ast-mobile-header {
    position: relative;
  }

  .ast-header-break-point.ast-main-header-nav-open #ast-mobile-header > .ast-mobile-header-content {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 3;
    width: 100%;
  }

  .ast-header-break-point #ast-mobile-header > .ast-mobile-header-content,
  .ast-header-break-point :is(#ast-hf-menu-1-mobile, #ast-hf-mobile-menu),
  .ast-header-break-point :is(#ast-hf-menu-1-mobile, #ast-hf-mobile-menu) > .menu-item > .menu-link {
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .ast-header-break-point :is(#ast-hf-menu-1-mobile, #ast-hf-mobile-menu) {
    width: 100%;
    margin: 0;
    padding: 0.25rem 1.25rem 0.5rem;
  }

  .ast-header-break-point :is(#ast-hf-menu-1-mobile, #ast-hf-mobile-menu) > .menu-item > .menu-link {
    justify-content: flex-end;
    min-height: 2.75rem;
    padding: 0.375rem 0;
    color: var(--rt-color-ink);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.065em;
    text-align: right;
  }

  .ast-header-break-point :is(#ast-hf-menu-1-mobile, #ast-hf-mobile-menu) > .menu-item > .menu-link:hover,
  .ast-header-break-point :is(#ast-hf-menu-1-mobile, #ast-hf-mobile-menu) > .current-menu-item > .menu-link {
    color: var(--rt-color-accent);
  }

  .ast-header-break-point .ast-button-wrap .menu-toggle.main-header-menu-toggle {
    width: 2.75rem;
    height: 2.75rem;
    min-height: 2.75rem;
    border: 0;
    color: var(--rt-color-ink);
  }

  .ast-header-break-point #ast-mobile-header .site-logo-img > a,
  .ast-header-break-point #ast-mobile-header .main-header-menu-toggle {
    display: inline-flex;
    min-width: 2.75rem;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 48rem) {
  body {
    font-size: 1.0625rem;
    line-height: 1.6;
  }

  .hero {
    background-position: 58% center;
  }

  .hero__inner {
    min-height: min(40.625rem, calc(100svh - 4.125rem));
    padding: 4rem 1.25rem;
  }

  .hero h1 {
    font-size: clamp(2.375rem, 11vw, 3.25rem);
  }

  .eyebrow {
    font-size: 0.75rem;
  }

  .section,
  .section--muted {
    padding-block: 3.75rem;
  }

  .intro-grid h2,
  .section--muted h2,
  .content-prose h2 {
    font-size: clamp(1.6875rem, 8vw, 1.9375rem);
    line-height: 1.15;
  }

  .content-prose,
  .page:not(.home) .entry-content {
    font-size: 1.0625rem;
    line-height: 1.6;
  }

  .image-section {
    min-height: 54svh;
  }

  .card-grid {
    margin-top: 2rem;
  }

  .card,
  .card:first-child {
    border-top-color: var(--rt-color-line);
  }

  .contact-panel {
    gap: 1.5rem;
    margin-top: 2.75rem;
  }

  .contact-form textarea {
    min-height: 7.5rem;
  }

  .site-below-footer-wrap[data-section="section-below-footer-builder"] {
    padding: 1.5rem 0;
  }

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

  .reiths-footer-nav a {
    justify-content: flex-start;
    width: 100%;
    text-align: left;
  }

  .reiths-footer-meta {
    text-align: left;
  }
}

@media (max-width: 22.4375rem) {
  .ast-primary-header-bar,
  .ast-primary-header-bar .site-primary-header-wrap {
    padding-inline: 0.5rem;
  }

  .site-header .site-title a,
  .site-header .site-title a:visited {
    font-size: 1.5rem;
  }
}

/* Match the transparent Reith header to the lightness below it. */
html body #masthead {
  --reith-header-font-family: "Abel", "Arial Narrow", Arial, sans-serif;
  --reith-header-foreground: #261808;
}

html body #masthead.reith-header-surface,
html body #masthead.reith-header-surface .main-header-bar,
html body #masthead.reith-header-surface .ast-primary-header-bar,
html body.reith-header-stuck #masthead.reith-header-surface,
html body.reith-header-stuck #masthead.reith-header-surface .main-header-bar,
html body.reith-header-stuck #masthead.reith-header-surface .ast-primary-header-bar {
  background-color: transparent !important;
}

html body #masthead.reith-header-surface :is(
  .site-title a,
  .site-description,
  .main-header-menu > .menu-item > .menu-link,
  #ast-hf-menu-1-desktop > .menu-item > .menu-link,
  #ast-hf-menu-1-mobile > .menu-item > .menu-link,
  #ast-hf-mobile-menu > .menu-item > .menu-link,
  .main-header-menu-toggle,
  .menu-toggle,
  .mobile-menu-toggle-icon,
  .astra-icon
) {
  border-color: var(--reith-header-foreground) !important;
  color: var(--reith-header-foreground) !important;
  font-family: var(--reith-header-font-family) !important;
}

html body #masthead.reith-header-surface :is(
  .main-header-menu-toggle,
  .menu-toggle,
  .mobile-menu-toggle-icon,
  .astra-icon
) svg {
  color: inherit !important;
  fill: currentColor !important;
}

html body #masthead.reith-header-surface-dark .custom-logo-link img {
  filter: brightness(0) invert(1) drop-shadow(0 1px 1px rgba(37, 25, 4, 0.45));
}

html body #masthead.reith-header-surface-light .custom-logo-link img {
  filter: none;
}

html body #masthead.reith-header-surface-dark :is(
  .site-title a,
  .site-description,
  .main-header-menu > .menu-item > .menu-link,
  .main-header-menu-toggle,
  .menu-toggle
) {
  text-shadow: 0 1px 2px rgba(37, 25, 4, 0.62);
}

html body #masthead.reith-header-surface-light :is(
  .site-title a,
  .site-description,
  .main-header-menu > .menu-item > .menu-link,
  .main-header-menu-toggle,
  .menu-toggle
) {
  text-shadow: none;
}

html body #masthead.reith-header-surface :is(
  .site-title a,
  .main-header-menu > .menu-item > .menu-link,
  #ast-hf-menu-1-desktop > .menu-item > .menu-link,
  #ast-hf-menu-1-mobile > .menu-item > .menu-link,
  #ast-hf-mobile-menu > .menu-item > .menu-link,
  .main-header-menu-toggle,
  .menu-toggle
):is(:hover, :focus),
html body #masthead.reith-header-surface :is(
  .main-header-menu,
  #ast-hf-menu-1-desktop,
  #ast-hf-menu-1-mobile,
  #ast-hf-mobile-menu
) > :is(.current-menu-item, .current-menu-ancestor) > .menu-link {
  border-color: var(--rt-color-accent) !important;
  color: var(--rt-color-accent) !important;
}
