:root {
  color-scheme: light;
  --article-ink: #5b574f;
  --article-muted: #928a79;
  --article-paper: #f7f7f3;
  --article-panel: #f2f3e7;
  --article-accent: #f17422;
  --article-gold: #ffd94b;
  --article-line: rgba(82, 79, 72, 0.16);
}

* {
  box-sizing: border-box;
}

body.article-page {
  margin: 0;
  min-width: 320px;
  color: var(--article-ink);
  background:
    radial-gradient(circle at 50% -10%, rgba(246, 247, 239, 0.96), transparent 32rem),
    var(--article-paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.article-masthead {
  position: relative;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 20px;
}

.article-brand {
  text-align: center;
}

.article-brand__name {
  color: #706c63;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 0.98;
  text-transform: uppercase;
}

.article-brand__sub {
  margin-top: 8px;
  color: var(--article-accent);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
}

.article-view {
  width: min(1050px, calc(100% - 32px));
  margin: 18px auto 0;
}

.article-card {
  padding: clamp(28px, 5vw, 54px);
  border-radius: 13px;
  color: var(--article-ink);
  background: var(--article-panel);
  box-shadow: 0 26px 70px rgba(74, 70, 60, 0.13);
}

.article-card--index {
  padding-left: clamp(34px, 7vw, 72px);
  padding-right: clamp(34px, 7vw, 72px);
}

.article-eyebrow {
  margin: 0 0 10px;
  color: #4e8d61;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.article-card h1 {
  max-width: 900px;
  margin: 0 0 20px;
  color: var(--article-ink);
  font-size: clamp(2.35rem, 5vw, 4rem);
  font-weight: 350;
  line-height: 1.04;
}

.article-card h2 {
  margin: 32px 0 10px;
  color: var(--article-ink);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 650;
  line-height: 1.12;
}

.article-card p,
.article-card li,
.article-card td,
.article-card th {
  color: var(--article-muted);
  font-size: clamp(1rem, 1.55vw, 1.15rem);
  font-weight: 650;
  line-height: 1.45;
}

.article-card p {
  max-width: 880px;
  margin: 0 0 16px;
}

.article-card ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.article-card li {
  margin-bottom: 10px;
}

.article-card a {
  color: #0f766e;
  font-weight: 900;
}

.box,
.card {
  padding: 18px;
  border: 1px solid var(--article-line);
  border-radius: 8px;
  background: rgba(255, 254, 249, 0.72);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1fr);
  gap: clamp(18px, 4vw, 34px);
  margin-top: 26px;
}

.contact-email-panel,
.contact-detail-panel {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--article-line);
  border-radius: 8px;
  background: rgba(255, 254, 249, 0.72);
}

.contact-email-panel {
  display: grid;
  gap: 12px;
  align-content: start;
}

.contact-email-panel span {
  color: #4e8d61;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-email-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #332c1c;
  background: linear-gradient(180deg, var(--article-gold), #f5a12c);
  font-weight: 900;
  overflow-wrap: anywhere;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(82, 79, 72, 0.18);
}

.contact-detail-panel h2 {
  margin-top: 0;
}

.contact-detail-panel ul {
  margin-bottom: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  margin: 22px 0;
  border-collapse: collapse;
  background: rgba(255, 254, 249, 0.72);
}

th,
td {
  padding: 12px;
  border: 1px solid var(--article-line);
  text-align: left;
}

th {
  color: var(--article-ink);
  background: #e9eadc;
}

.article-service-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.article-service {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  color: var(--article-ink);
  text-decoration: none;
}

.article-service__arrow {
  width: 0;
  height: 0;
  margin-top: 6px;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 36px solid #fffef9;
  filter:
    drop-shadow(2px 0 0 #8492a3)
    drop-shadow(0 1px 0 rgba(82, 79, 72, 0.28));
}

.article-service strong {
  display: block;
  color: var(--article-ink);
  font-size: clamp(1.35rem, 2.5vw, 1.95rem);
  font-weight: 650;
  line-height: 1.05;
}

.article-service > span:last-child {
  display: block;
}

.article-service strong + span {
  display: block;
  margin-top: 3px;
  color: var(--article-muted);
  font-size: clamp(0.96rem, 1.6vw, 1.1rem);
  font-weight: 700;
  line-height: 1.22;
}

.article-service:hover strong {
  color: var(--article-accent);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--article-line);
}

.page-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(82, 79, 72, 0.14);
  border-radius: 8px;
  color: #514d45;
  background: #fffef9;
  font-weight: 850;
  text-decoration: none;
}

.page-actions a:first-child {
  color: #332c1c;
  border-color: rgba(230, 153, 30, 0.42);
  background: linear-gradient(180deg, var(--article-gold), #f5a12c);
}

.article-footer {
  width: min(1050px, calc(100% - 32px));
  margin: 22px auto 42px;
  color: #716b5f;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 650;
}

.article-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-bottom: 8px;
}

.article-footer__links a {
  color: #5b574f;
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration: none;
}

.article-footer__links a:hover,
.article-footer__links a[aria-current="page"] {
  color: var(--article-accent);
}

@media (max-width: 760px) {
  .article-masthead {
    padding-top: 18px;
  }

  .article-brand__name {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .article-view {
    margin-top: 0;
  }

  .article-card,
  .article-card--index {
    padding: 22px 18px;
  }

  .article-service {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
  }

  .article-service__arrow {
    border-top-width: 12px;
    border-bottom-width: 12px;
    border-left-width: 25px;
  }

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

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