/* Tuscany Villas — editorial luxury styles */

:root {
  --cream-50: #fbf8f3;
  --cream-100: #f5efe6;
  --cream-200: #e8dfd0;
  --terracotta: #c45c3e;
  --olive: #6b7355;
  --olive-deep: #4f5640;
  --charcoal: #2a2622;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(196, 92, 62, 0.06), transparent 40%),
    radial-gradient(ellipse at 100% 30%, rgba(107, 115, 85, 0.07), transparent 35%),
    var(--cream-50);
}

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

/* Header */
#site-header.is-scrolled {
  background: rgba(42, 38, 34, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#site-header.is-scrolled .font-display,
#site-header.is-scrolled nav a {
  color: var(--cream-50);
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream-50);
  transition: transform 0.35s var(--ease-soft), opacity 0.25s;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-icon::before {
  top: -7px;
}

.menu-icon::after {
  top: 7px;
}

#menu-toggle[aria-expanded="true"] .menu-icon {
  background: transparent;
}

#menu-toggle[aria-expanded="true"] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

#menu-toggle[aria-expanded="true"] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-menu {
  background: rgba(42, 38, 34, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.mobile-menu[hidden] {
  display: none;
}

/* Hero */
.hero-veil {
  background:
    linear-gradient(
      180deg,
      rgba(42, 38, 34, 0.35) 0%,
      rgba(42, 38, 34, 0.15) 35%,
      rgba(42, 38, 34, 0.55) 70%,
      rgba(42, 38, 34, 0.82) 100%
    ),
    linear-gradient(90deg, rgba(42, 38, 34, 0.45) 0%, transparent 55%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease-soft);
  will-change: opacity;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 8s var(--ease-soft);
}

.hero-slide.is-active img {
  transform: scale(1);
}

.hero-reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: riseIn 1s var(--ease-out-expo) forwards;
}

.hero-reveal-delay-1 {
  animation-delay: 0.18s;
}

.hero-reveal-delay-2 {
  animation-delay: 0.32s;
}

.hero-reveal-delay-3 {
  animation-delay: 0.48s;
}

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

.hero-nav-btn {
  display: flex;
  height: 40px;
  width: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(251, 248, 243, 0.35);
  color: var(--cream-50);
  background: transparent;
  transition: background 0.3s, border-color 0.3s;
}

.hero-nav-btn:hover {
  background: rgba(251, 248, 243, 0.12);
  border-color: rgba(251, 248, 243, 0.7);
}

.hero-dot {
  height: 6px;
  width: 6px;
  border-radius: 9999px;
  background: rgba(251, 248, 243, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.35s var(--ease-soft), background 0.35s;
}

.hero-dot.is-active {
  width: 22px;
  background: var(--cream-50);
}

/* Filters */
.filter-label,
.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6e675f;
}

.filter-select,
.form-input {
  width: 100%;
  appearance: none;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(42, 38, 34, 0.2);
  border-radius: 0;
  padding: 0.65rem 0;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.25s;
}

.filter-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%236E675F' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 1.25rem;
}

.filter-select:focus,
.form-input:focus {
  border-bottom-color: var(--terracotta);
}

.form-input::placeholder {
  color: #6e675f;
  opacity: 0.7;
}

/* Property grid — magazine editorial, not cards */
.property-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem 1.75rem;
}

@media (min-width: 640px) {
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .property-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 3.5rem 1.75rem;
  }

  .property-item:nth-child(6n + 1) {
    grid-column: span 7;
  }

  .property-item:nth-child(6n + 2) {
    grid-column: span 5;
    padding-top: 3.5rem;
  }

  .property-item:nth-child(6n + 3) {
    grid-column: span 5;
  }

  .property-item:nth-child(6n + 4) {
    grid-column: span 7;
    padding-top: 2rem;
  }

  .property-item:nth-child(6n + 5) {
    grid-column: span 6;
  }

  .property-item:nth-child(6n + 6) {
    grid-column: span 6;
    padding-top: 4rem;
  }
}

.property-item {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}

.property-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.property-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream-200);
}

.property-item:nth-child(6n + 1) .property-media,
.property-item:nth-child(6n + 4) .property-media {
  aspect-ratio: 16 / 11;
}

.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-soft);
}

.property-item:hover .property-media img {
  transform: scale(1.04);
}

.property-meta {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.property-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--charcoal);
}

.property-region {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--olive);
}

.property-details {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: #6e675f;
}

.property-price {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--charcoal);
  white-space: nowrap;
}

.property-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.property-link:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 4px;
}

/* Story image ken burns */
.story-image {
  transform: scale(1.08);
  animation: slowDrift 22s var(--ease-soft) infinite alternate;
}

@keyframes slowDrift {
  from {
    transform: scale(1.08) translate(0, 0);
  }
  to {
    transform: scale(1.14) translate(-1.5%, -1%);
  }
}

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

  .hero-reveal,
  .property-item,
  .partner-benefit,
  .process-step,
  .hero-slide,
  .hero-slide img,
  .story-image {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }

  .hero-slide {
    opacity: 0;
  }

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

/* Partner benefits */
.partner-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem 2rem;
}

@media (min-width: 768px) {
  .partner-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

.partner-benefit {
  border-top: 1px solid rgba(42, 38, 34, 0.12);
  padding-top: 1.5rem;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}

.partner-benefit.is-visible,
.process-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.partner-benefit-index {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--terracotta);
}

.partner-benefit-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--charcoal);
}

.partner-benefit-copy {
  margin: 0.75rem 0 0;
  max-width: 28rem;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.65;
  color: #6e675f;
}

/* Process timeline */
.process-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 900px) {
  .process-timeline {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
  }
}

.process-step {
  position: relative;
  padding-top: 1rem;
  border-top: 1px solid rgba(251, 248, 243, 0.25);
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}

.process-step-num {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #d4c7b0;
}

.process-step-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--cream-50, #fbf8f3);
}

.process-step-copy {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(232, 223, 208, 0.9);
}

/* Staffing checkboxes */
.staffing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.5rem;
}

@media (min-width: 640px) {
  .staffing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.check-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--charcoal);
  cursor: pointer;
}

.check-option input {
  appearance: none;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  border: 1px solid rgba(42, 38, 34, 0.35);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.check-option input:checked {
  border-color: var(--terracotta);
  background: var(--terracotta);
  box-shadow: inset 0 0 0 2px var(--cream-50);
}

.check-option input:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

/* Four-step roadmap */
@media (min-width: 900px) {
  .process-timeline--four {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Career role cards */
.role-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .role-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

.role-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  border: 1px solid rgba(42, 38, 34, 0.12);
  background: var(--cream-50);
  color: inherit;
  cursor: pointer;
  overflow: hidden;
  transition:
    border-color 0.3s var(--ease-soft),
    transform 0.35s var(--ease-out-expo),
    opacity 0.8s var(--ease-out-expo);
  opacity: 0;
  transform: translateY(28px);
}

.role-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.role-card.is-visible:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 92, 62, 0.45);
}

.role-card.is-active {
  border-color: var(--terracotta);
}

.role-card:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

.role-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream-200);
}

.role-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-soft);
}

.role-card:hover .role-card-media img,
.role-card.is-active .role-card-media img {
  transform: scale(1.04);
}

.role-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.25rem 1.35rem 1.5rem;
}

.role-card-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
}

.role-card-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--charcoal);
}

.role-card-copy {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.6;
  color: #6e675f;
}

/* Curated collections */
.collection-filters,
.experience-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.5rem;
}

.collection-filter,
.experience-tab {
  appearance: none;
  border: none;
  border-bottom: 1px solid transparent;
  background: transparent;
  padding: 0.55rem 0.85rem;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6e675f;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
}

.collection-filter:hover,
.experience-tab:hover {
  color: var(--charcoal);
}

.collection-filter.is-active,
.experience-tab.is-active {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

.collection-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 1.5rem;
}

@media (min-width: 640px) {
  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .collection-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.collection-item {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s var(--ease-out-expo),
    transform 0.75s var(--ease-out-expo);
}

.collection-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.collection-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream-200);
}

.collection-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-soft);
}

.collection-item:hover .collection-media img {
  transform: scale(1.04);
}

.collection-meta {
  margin-top: 1rem;
}

.collection-name {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--charcoal);
}

.collection-vibe {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive);
}

.collection-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Local promise */
.promise-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .promise-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.promise-item {
  border-top: 1px solid rgba(251, 248, 243, 0.22);
  padding-top: 1.35rem;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s var(--ease-out-expo),
    transform 0.75s var(--ease-out-expo);
}

.promise-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.promise-region {
  margin: 0 0 0.65rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d4c7b0;
}

.promise-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 500;
  color: #fbf8f3;
}

.promise-copy {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(232, 223, 208, 0.9);
}

/* Experience panels */
.experience-panel[hidden] {
  display: none;
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 1.5rem;
}

@media (min-width: 768px) {
  .experience-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.experience-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream-200);
  margin-bottom: 1rem;
}

.experience-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-soft);
}

.experience-item:hover .experience-media img {
  transform: scale(1.04);
}

.experience-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--charcoal);
}

.experience-copy {
  margin: 0.55rem 0 0;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.6;
  color: #6e675f;
}

/* Journal */
.journal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem 1.75rem;
}

@media (min-width: 700px) {
  .journal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .journal-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .journal-card:first-child {
    grid-column: span 2;
  }

  .journal-card:first-child .journal-media {
    aspect-ratio: 21 / 11;
  }
}

.journal-card {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}

.journal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.journal-media {
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--cream-200);
}

.journal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-soft);
}

.journal-card:hover .journal-media img {
  transform: scale(1.04);
}

.journal-body {
  margin-top: 1.1rem;
}

.journal-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-bottom: 0.55rem;
}

.journal-category {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.journal-read {
  font-size: 0.75rem;
  color: #6e675f;
}

.journal-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--charcoal);
}

.journal-excerpt {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.65;
  color: #6e675f;
}

.journal-author {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  color: var(--olive);
}

.journal-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Journal featured hero */
.journal-featured {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--charcoal);
}

.journal-featured-media {
  position: absolute;
  inset: 0;
}

.journal-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.journal-featured-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(42, 38, 34, 0.25) 0%,
      rgba(42, 38, 34, 0.2) 40%,
      rgba(42, 38, 34, 0.78) 100%
    ),
    linear-gradient(90deg, rgba(42, 38, 34, 0.45) 0%, transparent 55%);
}

.journal-featured-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 7rem 1.25rem 3.5rem;
}

@media (min-width: 768px) {
  .journal-featured-content {
    padding: 8rem 2.5rem 4.5rem;
  }
}

@media (min-width: 1024px) {
  .journal-featured-content {
    padding: 8rem 3.5rem 5rem;
  }
}

.journal-featured-kicker {
  margin: 0 0 1rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 223, 208, 0.9);
}

.journal-featured-title {
  margin: 0;
  max-width: 18ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 500;
  line-height: 1.05;
  color: #fbf8f3;
}

.journal-featured-byline {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(245, 239, 230, 0.88);
}

.journal-featured-meta {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(212, 199, 176, 0.9);
}

.journal-date {
  font-size: 0.75rem;
  color: #6e675f;
}

.journal-card .journal-date {
  margin-left: auto;
}

/* Newsletter / dispatch */
.dispatch-block {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(196, 92, 62, 0.1), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(107, 115, 85, 0.1), transparent 50%),
    var(--cream-50);
  border-top: 1px solid rgba(42, 38, 34, 0.08);
  border-bottom: 1px solid rgba(42, 38, 34, 0.08);
}

.dispatch-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 520px) {
  .dispatch-form-row {
    flex-direction: row;
    align-items: stretch;
  }
}

.dispatch-input {
  flex: 1;
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(42, 38, 34, 0.25);
  background: transparent;
  padding: 0.85rem 0;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--charcoal);
  outline: none;
}

.dispatch-input:focus {
  border-bottom-color: var(--terracotta);
}

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

/* Individual article */
.page-article #site-header {
  background: rgba(42, 38, 34, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.article-hero-media {
  width: 100%;
  max-height: 72vh;
  overflow: hidden;
  background: var(--cream-200);
}

.article-hero-media img {
  width: 100%;
  height: min(72vh, 820px);
  object-fit: cover;
}

.article-header {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.75rem 1.25rem 1.5rem;
}

@media (min-width: 768px) {
  .article-header {
    padding: 3.5rem 1.5rem 2rem;
  }
}

.article-back {
  display: inline-flex;
  margin-bottom: 1.5rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--olive);
  transition: color 0.25s;
}

.article-back:hover {
  color: var(--terracotta);
}

.article-title {
  margin: 0.85rem 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--charcoal);
}

.article-meta {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 300;
  color: #6e675f;
}

.article-body {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.article-body p {
  margin: 0 0 1.35rem;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--charcoal-soft, #4a443e);
}

.article-pullquote {
  margin: 2.75rem 0;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(42, 38, 34, 0.12);
  border-bottom: 1px solid rgba(42, 38, 34, 0.12);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  color: var(--charcoal);
}

.article-break {
  width: 100%;
  margin: 2.5rem 0 3rem;
  overflow: hidden;
  background: var(--cream-200);
}

.article-break img {
  width: 100%;
  max-height: 56vh;
  object-fit: cover;
}

.article-related {
  background: var(--cream-100);
  padding: 4rem 1.25rem 5rem;
}

@media (min-width: 768px) {
  .article-related {
    padding: 5rem 2.5rem 6rem;
  }
}

.article-related-inner {
  max-width: 1440px;
  margin: 0 auto;
}

.article-related-title {
  margin: 0 0 2rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--charcoal);
}

.article-missing {
  max-width: 36rem;
  margin: 0 auto;
  padding: 6rem 1.25rem;
  text-align: center;
}
