:root {
  --bg: #f6f4ee;
  --surface: #ffffff;
  --surface-soft: #fbf9f4;
  --text: #1e2430;
  --muted: #5e6673;
  --primary: #1d4170;
  --primary-dark: #153055;
  --accent: #b48957;
  --border: rgba(30, 36, 48, 0.1);
  --shadow: 0 16px 34px rgba(20, 30, 44, 0.07);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --container: 1110px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 244, 238, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 36, 48, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  height: 58px;
  width: auto;
  scale: 1.4;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav a:hover {
  color: var(--primary);
}

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

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
.section h2,
.article-content h2,
.contact-intro h2,
.about-content h2,
.about-intro h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.intro-text,
.article-content p,
.contact-intro p,
.about-content p,
.about-intro p,
.values-card p,
.sidebar-block p,
.site-footer p,
.form-feedback,
.meta-row {
  color: var(--muted);
}

.page-intro {
  padding: 4rem 0 1.5rem;
}

.page-intro h1 {
  max-width: 13ch;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
}

.intro-text {
  max-width: 760px;
  margin-top: 1.2rem;
  font-size: 1.06rem;
}

.hero-media {
  padding-bottom: 1.5rem;
}

.hero-image {
  min-height: 520px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(22, 31, 47, 0.1), rgba(22, 31, 47, 0.18)),
    url("./images/hero-image.jpg") center/cover;
  box-shadow: var(--shadow);
}

.article-meta {
  padding: 0.5rem 0 0;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.8rem;
  padding: 1rem 0 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
}

.section {
  padding: 4.5rem 0;
}

.article-layout {
  padding-top: 3rem;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 4rem;
  align-items: start;
}

.article-content {
  font-size: 1.03rem;
}

.article-content h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.article-content p {
  margin: 0 0 1.1rem;
}

.article-list {
  margin: 1.1rem 0 1.4rem 1.2rem;
  padding: 0;
  color: var(--muted);
}

.article-list li {
  margin-bottom: 0.55rem;
}

.article-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 1.5rem;
}

.sidebar-section {
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-section h3 {
  margin: 0 0 0.8rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 1.02rem;
}

.sidebar-links {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.sidebar-links li + li {
  margin-top: 0.7rem;
}

.sidebar-links li {
  padding-left: 1rem;
  position: relative;
}

.sidebar-links li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.sidebar-links a:hover {
  color: var(--primary);
}

.sidebar-cta {
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fff, #faf7f1);
  border-bottom: 1px solid var(--border);
}

.sidebar-cta-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.4rem;
  font-weight: 600;
  color: var(--primary);
}

.sidebar-cta-link:hover {
  color: var(--primary-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.3rem;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 12px 26px rgba(29, 65, 112, 0.16);
}

.button-full {
  width: 100%;
}

.faq-section {
  border-top: 1px solid rgba(30, 36, 48, 0.05);
}

.faq-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.faq-intro h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 11ch;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.faq-item summary {
  cursor: pointer;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0.9rem 0 0;
  color: var(--muted);
}

.contact-section {
  background: var(--surface-soft);
  border-top: 1px solid rgba(30, 36, 48, 0.05);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-intro h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 10ch;
}

.contact-details {
  display: grid;
  gap: 1rem;
}

.contact-detail-card {
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.contact-detail-card h3 {
  margin: 0 0 0.55rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
}

.contact-detail-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.contact-detail-card a {
  color: var(--primary);
  font-weight: 600;
}

.contact-detail-card a:hover {
  color: var(--primary-dark);
}

.contact-page-intro h1 {
  max-width: 14ch;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
}

.contact-form-heading {
  margin: 0 0 0.25rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--text);
}

.contact-form-note {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.contact-form > .eyebrow {
  margin-bottom: 0.5rem;
}

.legal-document {
  max-width: 760px;
}

.legal-document h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
}

.legal-document h2:first-of-type {
  margin-top: 0;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.legal-document p {
  margin: 0 0 1rem;
}

.legal-document ul {
  margin: 0 0 1rem 1.2rem;
  padding: 0;
}

.legal-document li {
  margin-bottom: 0.5rem;
}

.legal-document a {
  color: var(--primary);
  font-weight: 600;
}

.legal-document a:hover {
  color: var(--primary-dark);
}

.legal-updated {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.legal-section {
  padding-top: 2rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

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

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.92rem 1rem;
  border: 1px solid rgba(30, 36, 48, 0.12);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(29, 65, 112, 0.42);
  box-shadow: 0 0 0 4px rgba(29, 65, 112, 0.08);
}

.checkbox {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
}

.form-feedback {
  min-height: 1.5rem;
  margin: 0;
  color: var(--primary);
  font-weight: 600;
}

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.form-modal[hidden] {
  display: none;
}

.form-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 31, 47, 0.55);
  backdrop-filter: blur(4px);
  animation: modal-fade-in 0.25s ease;
}

.form-modal__panel {
  position: relative;
  width: min(100%, 460px);
  padding: 2.25rem 2rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(20, 30, 44, 0.22);
  text-align: center;
  animation: modal-slide-up 0.3s ease;
}

.form-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.form-modal__close:hover {
  background: rgba(30, 36, 48, 0.06);
  color: var(--text);
}

.form-modal__icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  color: var(--accent);
}

.form-modal__icon svg {
  width: 100%;
  height: 100%;
}

.form-modal__title {
  margin: 0.35rem 0 0.75rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}

.form-modal__message {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.form-modal__action {
  min-width: 140px;
}

body.modal-open {
  overflow: hidden;
}

@keyframes modal-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modal-slide-up {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.about-hero-image {
  min-height: 420px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(22, 31, 47, 0.12), rgba(22, 31, 47, 0.2)),
    url("./images/about-hero.jpg") center/cover;
  box-shadow: var(--shadow);
}

.about-intro h1 {
  max-width: 16ch;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
}

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.about-split--reverse {
  direction: rtl;
}

.about-split--reverse > * {
  direction: ltr;
}

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

.about-content h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.about-content p {
  margin: 0 0 1rem;
  font-size: 1.03rem;
}

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

.about-stat {
  padding: 1.4rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  text-align: center;
}

.about-stat strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
}

.about-stat span {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.values-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.values-card h3 {
  margin: 0 0 0.7rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 600;
}

.values-card p {
  margin: 0;
  font-size: 0.98rem;
}

.about-cta {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 40px rgba(29, 65, 112, 0.2);
}

.about-cta h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #fff;
}

.about-cta p {
  max-width: 52ch;
  margin: 0 auto 1.4rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.about-cta .button-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: none;
}

.site-nav a.is-active {
  color: var(--primary);
  font-weight: 600;
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-brand {
  margin-bottom: 0.8rem;
}

.footer-brand .brand-logo {
  height: 52px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.65rem;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.2rem;
  margin-top: 1.2rem;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  margin: 0;
  max-width: 560px;
}

@media (max-width: 1100px) {
  .article-grid,
  .faq-wrap,
  .contact-wrap,
  .about-split {
    grid-template-columns: 1fr;
  }

  .about-split--reverse {
    direction: ltr;
  }

  .about-stats,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

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

  .menu-toggle {
    display: inline-block;
  }

  .hero-image {
    min-height: 320px;
  }

  .about-hero-image {
    min-height: 260px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .page-intro {
    padding-top: 2.5rem;
  }
}
