:root {
  --paper: #f8f6f2;
  --white: #fffdfa;
  --ink: #242321;
  --muted: #6e6a64;
  --line: #ded9d1;
  --scarlet: #d60018;
  --scarlet-dark: #aa0014;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

p,
li,
dd,
a {
  overflow-wrap: anywhere;
}

.skip-link {
  background: var(--ink);
  color: white;
  font-size: 14px;
  left: 16px;
  padding: 12px 18px;
  position: fixed;
  top: 12px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
  z-index: 100;
}

.skip-link:focus {
  transform: translateY(0);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--scarlet) 45%, white);
  outline-offset: 4px;
}

.site-header {
  align-items: center;
  background: color-mix(in srgb, var(--white) 92%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  display: grid;
  grid-template-columns: minmax(270px, 1fr) auto auto;
  height: 96px;
  left: 0;
  padding: 0 clamp(24px, 4vw, 72px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 14px;
  justify-self: start;
}

.brand-symbol {
  display: block;
  height: 60px;
  width: 34px;
}

.brand-symbol img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-copy small {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.13em;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.09em;
}

.site-header nav {
  align-items: center;
  display: flex;
  gap: clamp(16px, 2vw, 34px);
}

.site-header nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  position: relative;
}

.site-header nav a::after {
  background: var(--scarlet);
  bottom: -10px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
  width: 100%;
}

.site-header nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  align-items: center;
  background: var(--scarlet);
  color: white;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  height: 48px;
  justify-content: center;
  letter-spacing: 0.08em;
  margin-left: clamp(24px, 3vw, 48px);
  min-width: 116px;
  transition: background 180ms ease;
}

.header-cta:hover,
.button-primary:hover {
  background: var(--scarlet-dark);
}

.hero {
  background:
    linear-gradient(90deg, rgba(255, 253, 250, 0.95) 0%, rgba(248, 246, 242, 0.88) 58%, rgba(248, 246, 242, 0.32) 100%),
    radial-gradient(circle at 78% 22%, #ffffff 0%, #f0ebe4 52%, #e6dfd7 100%);
  min-height: 100svh;
  overflow: hidden;
  padding: 168px clamp(24px, 8vw, 144px) 76px;
  position: relative;
}

.hero::before {
  background: linear-gradient(120deg, transparent 0 28%, rgba(255,255,255,.9) 28% 31%, transparent 31% 100%);
  content: "";
  inset: 0 0 0 58%;
  position: absolute;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  align-items: center;
  color: var(--scarlet);
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 13px;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}

.eyebrow::before {
  background: var(--scarlet);
  content: "";
  height: 1px;
  width: 42px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(45px, 5.35vw, 78px);
  font-weight: 500;
  letter-spacing: 0.045em;
  line-height: 1.4;
  margin: 0;
}

.hero-lead {
  color: #5c5955;
  font-size: 16px;
  letter-spacing: 0.075em;
  line-height: 2;
  margin: 14px 0 0 6px;
  max-width: 680px;
}

.hero-services {
  font-family: var(--serif);
  font-size: clamp(17px, 1.8vw, 23px);
  letter-spacing: 0.08em;
  line-height: 1.7;
  margin: 24px 0 0 6px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  margin-top: 42px;
}

.button {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0.06em;
  min-height: 60px;
  padding: 0 22px 0 26px;
  transition: background 180ms ease, transform 180ms ease;
}

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

.button-primary {
  background: var(--scarlet);
  color: white;
  min-width: 258px;
}

.button-primary span {
  font-size: 18px;
}

.hero-curve {
  border: 2px solid var(--scarlet);
  border-radius: 50%;
  height: 600px;
  left: -19%;
  opacity: 0.85;
  pointer-events: none;
  position: absolute;
  top: 67%;
  transform: rotate(-8deg);
  width: 121%;
}

.hero-curve::before,
.hero-curve::after {
  background: var(--paper);
  content: "";
  position: absolute;
  z-index: 1;
}

.hero-curve::before {
  inset: 50% -3% -4%;
}

.hero-curve::after {
  inset: -4% -3% 51%;
}

.hero-curve span {
  background: var(--scarlet);
  border: 6px solid var(--paper);
  border-radius: 50%;
  height: 24px;
  left: 67%;
  position: absolute;
  top: -13px;
  width: 24px;
  z-index: 2;
}

.scroll-cue {
  align-items: center;
  bottom: 36px;
  display: flex;
  gap: 12px;
  left: clamp(24px, 4vw, 72px);
  position: absolute;
  z-index: 3;
}

.scroll-cue span {
  font-size: 12px;
  letter-spacing: 0.22em;
  writing-mode: vertical-rl;
}

.scroll-cue i {
  background: var(--scarlet);
  height: 52px;
  width: 1px;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 78px;
    padding: 0 20px;
  }

  .brand-symbol {
    height: 48px;
    width: 27px;
  }

  .brand-copy small {
    font-size: 12px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    padding: 130px 22px 122px;
  }

  .hero::before {
    display: none;
  }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 0.12em;
  }

  .eyebrow::before {
    width: 28px;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 47px);
    letter-spacing: 0.015em;
    line-height: 1.55;
  }

  .hero-lead {
    font-size: 14px;
    letter-spacing: 0.04em;
    line-height: 1.9;
    margin-top: 22px;
  }

  .hero-actions {
    align-items: stretch;
    display: grid;
    gap: 12px;
    margin-top: 30px;
  }

  .button-primary {
    min-width: 0;
    width: 100%;
  }

  .hero-curve {
    height: 280px;
    left: -48%;
    top: 81%;
    width: 180%;
  }

  .scroll-cue {
    bottom: 22px;
    left: 22px;
  }

}

/* WordPress integration */
body.admin-bar .site-header { top: 32px; }

.site-header .menu,
.site-header .sub-menu,
.footer-nav .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav > ul { align-items: center; display: flex; gap: clamp(16px, 2vw, 34px); }

.breadcrumb {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  padding-block: 15px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb li:not(:last-child)::after { color: #aaa49d; content: "/"; margin-left: 8px; }
.breadcrumb [aria-current="page"] { color: var(--ink); }

.editor-content {
  border-top: 1px solid var(--line);
  margin-top: 72px;
  max-width: 900px;
  padding-top: 48px;
}

.editor-content-plain {
  margin-top: 0;
}

.editor-content > *:first-child { margin-top: 0; }
.editor-content h2,
.editor-content h3 { font-family: var(--serif); font-weight: 500; line-height: 1.6; }
.editor-content h2 { font-size: 28px; margin-top: 48px; }
.editor-content h3 { font-size: 22px; margin-top: 36px; }
.editor-content p,
.editor-content li { color: var(--muted); font-size: 14px; line-height: 2; }
.editor-content a { text-decoration: underline; text-underline-offset: 4px; }
.editor-content img { height: auto; max-width: 100%; }

.news-list { border-top: 1px solid var(--line); }
.news-card { border-bottom: 1px solid var(--line); display: grid; gap: 28px; grid-template-columns: 170px 1fr 32px; padding: 32px 0; }
.news-card-meta { color: var(--muted); display: flex; flex-direction: column; font-size: 12px; gap: 9px; }
.news-card-category { color: var(--scarlet); font-weight: 700; }
.news-card h2,
.news-card h3 { font-family: var(--serif); font-size: 23px; font-weight: 500; margin: 0; }
.news-card p { color: var(--muted); font-size: 13px; line-height: 1.9; margin: 12px 0 0; }
.news-card-arrow { align-self: center; color: var(--scarlet); font-size: 20px; }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { border: 1px solid var(--line); display: grid; min-height: 44px; min-width: 44px; padding: 8px; place-items: center; }
.pagination .current { background: var(--ink); border-color: var(--ink); color: white; }

.article-header { max-width: 940px; padding-bottom: 50px; padding-top: 150px; }
.article-meta { color: var(--muted); display: flex; flex-wrap: wrap; font-size: 13px; gap: 16px; }
.article-header h1 { font-family: var(--serif); font-size: clamp(34px, 4vw, 54px); font-weight: 500; line-height: 1.5; margin: 24px 0 0; }
.article-body { border-top: 1px solid var(--line); max-width: 940px; padding-bottom: 110px; padding-top: 60px; }
.article-body > *:first-child { margin-top: 0; }
.article-body p,
.article-body li { color: var(--muted); font-size: 15px; line-height: 2.05; }
.article-body h2,
.article-body h3 { font-family: var(--serif); font-weight: 500; line-height: 1.6; }
.article-body img { height: auto; max-width: 100%; }
.post-navigation { border-top: 1px solid var(--line); display: grid; gap: 24px; grid-template-columns: 1fr auto 1fr; margin-top: 70px; padding-top: 34px; }
.post-navigation a { font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.post-navigation .next-post { text-align: right; }

.contact-notice { border-left: 4px solid var(--scarlet); margin-bottom: 30px; padding: 18px 20px; }
.contact-notice-success { background: #edf7f0; border-color: #19733a; }
.contact-notice-warning { background: #fff8e8; border-color: #9a6500; }
.contact-notice-error { background: #fff0f1; border-color: #a60015; }
.contact-notice h2 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin: 0 0 8px; }
.contact-notice p { font-size: 14px; line-height: 1.8; margin: 0; }
.form-confirm input[type="hidden"] { display: none; }

.company-data { border-top: 1px solid var(--line); margin: 0; }
.company-data > div { border-bottom: 1px solid var(--line); display: grid; gap: 34px; grid-template-columns: 240px 1fr; padding: 28px 0; }
.company-data dt { color: var(--muted); font-size: 13px; }
.company-data dd { font-family: var(--serif); font-size: 19px; line-height: 1.7; margin: 0; }

.site-footer .custom-logo { height: 60px; object-fit: contain; width: 34px; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background: white; clip: auto !important; clip-path: none; color: var(--ink); display: block; height: auto; left: 8px; padding: 15px 23px; top: 8px; width: auto; z-index: 100000; }

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 720px) {
  .breadcrumb { padding-inline: 24px; }
  .news-card { gap: 12px 18px; grid-template-columns: 1fr 28px; }
  .news-card-meta { flex-direction: row; grid-column: 1 / -1; }
  .news-card-arrow { grid-column: 2; grid-row: 2; }
  .company-data > div { gap: 10px; grid-template-columns: 1fr; }
  .post-navigation { grid-template-columns: 1fr; }
  .post-navigation .next-post { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Shared site structure */
.mobile-menu,
.mobile-fixed-cta {
  display: none;
}

.section-shell {
  margin-inline: auto;
  max-width: 1440px;
  padding-left: clamp(24px, 7.5vw, 118px);
  padding-right: clamp(24px, 7.5vw, 118px);
}

.section-heading > p,
.section-kicker {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-family: Georgia, serif;
  font-size: 12px;
  gap: 12px;
  letter-spacing: 0.18em;
  margin: 0 0 24px;
}

.section-heading h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1.45;
  margin: 0;
}

.large-copy {
  font-family: var(--serif);
  font-size: clamp(25px, 3.2vw, 43px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.65;
}

.arrow-link {
  align-items: center;
  border-bottom: 1px solid var(--ink);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0.05em;
  min-width: 190px;
  padding: 14px 0;
}

.arrow-link span {
  color: var(--scarlet);
  font-size: 17px;
}

.about-section {
  display: grid;
  gap: clamp(50px, 8vw, 130px);
  grid-template-columns: minmax(240px, 0.7fr) minmax(360px, 1.1fr);
  overflow: hidden;
  padding-bottom: clamp(76px, 8vw, 116px);
  padding-top: clamp(76px, 8vw, 116px);
  position: relative;
}

.about-copy {
  max-width: 670px;
  position: relative;
  z-index: 2;
}

.about-copy .large-copy {
  margin: -8px 0 38px;
}

.about-copy > p:not(.large-copy) {
  color: #56524e;
  font-size: 15px;
  letter-spacing: 0.045em;
  line-height: 2.25;
  margin: 0 0 18px;
}

.about-copy .arrow-link {
  margin-top: 20px;
}

.services-section {
  display: grid;
  gap: 60px;
  grid-template-columns: 0.65fr 1.35fr;
  padding-bottom: clamp(80px, 9vw, 126px);
  padding-top: clamp(80px, 9vw, 126px);
}

.services-list {
  border-top: 1px solid var(--line);
}

.service-row {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(150px, 0.65fr) minmax(280px, 1.35fr) 32px;
  padding: 34px 0;
}

.service-row h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin: -7px 0 0;
}

.service-name > span {
  color: var(--scarlet);
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  margin-bottom: 12px;
}

.service-row p {
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
  margin: -4px 0 0;
}

.service-row > a {
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--scarlet);
  display: grid;
  height: 32px;
  place-items: center;
  transition: border-color 180ms ease, background 180ms ease;
  width: 32px;
}

.service-row > a:hover {
  background: white;
  border-color: var(--scarlet);
}

.services-link {
  margin-top: 22px;
}

.flow-section {
  display: grid;
  gap: 70px;
  grid-template-columns: 0.65fr 1.35fr;
  padding-bottom: clamp(82px, 9vw, 128px);
  padding-top: clamp(82px, 9vw, 128px);
}

.flow-intro .large-copy {
  margin: -8px 0 24px;
}

.flow-intro > p:last-child {
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
  max-width: 600px;
}

.flow-list {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.flow-list li {
  align-items: center;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 138px;
  padding: 28px 18px;
  position: relative;
  text-align: center;
}

.flow-list li:last-child {
  border-right: 1px solid var(--line);
}

.flow-list li strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  margin-top: 0;
}

.flow-list li i {
  bottom: 50%;
  color: var(--scarlet);
  font-style: normal;
  position: absolute;
  right: -7px;
  transform: rotate(-90deg);
  z-index: 2;
}

.flow-link {
  grid-column: 2;
  justify-self: end;
}

.partners-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: none;
  padding-bottom: clamp(76px, 8vw, 112px);
  padding-top: clamp(76px, 8vw, 112px);
  position: relative;
}

.partners-panel::before {
  background: var(--ink);
  content: "";
  inset: 0 50% 0 0;
  position: absolute;
  z-index: -1;
}

.partners-panel::after {
  background: #f0ebe4;
  content: "";
  inset: 0 0 0 50%;
  position: absolute;
  z-index: -1;
}

.partners-copy {
  color: white;
  padding-right: clamp(40px, 7vw, 110px);
}

.partners-copy .section-kicker {
  color: #aaa49d;
}

.partners-copy h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 30px 0;
}

.partners-copy > p:not(.section-kicker) {
  color: #b7b2ab;
  font-size: 13px;
  line-height: 2;
  margin-bottom: 36px;
  max-width: 490px;
}

.button-outline {
  border: 1px solid #827d76;
  color: white;
  min-width: 240px;
}

.partners-facts {
  align-self: center;
  margin: 0;
  padding-left: clamp(40px, 7vw, 110px);
}

.partners-facts div {
  border-bottom: 1px solid #d0c9c0;
  display: grid;
  gap: 25px;
  grid-template-columns: 120px 1fr;
  padding: 24px 0;
}

.partners-facts dt {
  color: var(--muted);
  font-size: 12px;
}

.partners-facts dd {
  font-family: var(--serif);
  font-size: 18px;
  margin: 0;
}

.news-section {
  display: grid;
  gap: 60px;
  grid-template-columns: 0.65fr 1.35fr;
  padding-bottom: clamp(80px, 9vw, 126px);
  padding-top: clamp(80px, 9vw, 118px);
}

.news-empty {
  align-items: center;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 130px;
}

.news-empty p {
  color: var(--muted);
  font-size: 14px;
}

.contact-band {
  background: var(--scarlet);
  color: white;
  display: grid;
  gap: clamp(45px, 10vw, 150px);
  grid-template-columns: 1fr 1fr;
  padding: clamp(62px, 7vw, 92px) clamp(24px, 8vw, 125px);
  position: relative;
}

.contact-band .section-kicker {
  color: #ffd7dc;
}

.contact-band h2 {
  font-family: var(--serif);
  font-size: clamp(33px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1.55;
  margin: 0;
}

.contact-band-copy {
  align-self: end;
  position: relative;
  z-index: 2;
}

.contact-band-copy > p {
  font-size: 14px;
  line-height: 2;
  margin: 0 0 32px;
  max-width: 520px;
}

.button-light {
  background: white;
  color: var(--scarlet);
  min-width: 260px;
}

.site-footer {
  background: var(--ink);
  color: white;
  display: grid;
  gap: 70px;
  grid-template-columns: 1fr 1.5fr;
  padding: 84px clamp(24px, 7.5vw, 118px) 32px;
}

.site-footer .brand {
  color: white;
}

.site-footer .brand-copy small,
.site-footer .footer-brand > p {
  color: #9f9b95;
}

.footer-brand > p {
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.8;
  margin: 24px 0 -16px 58px;
}

.footer-nav > nav:first-child > ul {
  display: grid;
  gap: 0 40px;
  grid-template-columns: repeat(2, 1fr);
}

.footer-nav > nav:first-child > ul a {
  border-bottom: 1px solid #46433f;
  display: block;
  font-size: 13px;
  padding: 15px 0;
}

.footer-legal {
  display: flex;
  gap: 26px;
  margin-top: 30px;
}

.footer-legal a {
  color: #9f9b95;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.copyright {
  color: #aaa49d;
  font-family: Georgia, serif;
  font-size: 12px;
  grid-column: 1 / -1;
  letter-spacing: 0.12em;
  margin: 24px 0 0;
}

/* Interior pages */
.page-hero {
  align-items: end;
  background: #f0ece6;
  display: grid;
  gap: 70px;
  grid-template-columns: 1fr 1fr;
  min-height: 330px;
  padding: 154px clamp(24px, 8vw, 125px) 58px;
}

.page-hero-heading > p {
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  margin: 0 0 26px;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 500;
  letter-spacing: 0.045em;
  margin: 0;
}

.page-hero-lead {
  align-self: end;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  max-width: 540px;
}

.content-section {
  padding-bottom: clamp(76px, 9vw, 126px);
  padding-top: clamp(76px, 9vw, 126px);
}

.content-intro {
  display: grid;
  gap: 60px;
  grid-template-columns: 0.7fr 1.3fr;
  margin-bottom: 62px;
}

.content-intro h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 500;
  line-height: 1.55;
  margin: 0;
}

.content-intro-followup {
  margin-bottom: 0;
  margin-top: 80px;
}

.content-intro > div p,
.prose p {
  color: var(--muted);
  font-size: 14px;
  line-height: 2.1;
  margin: 0 0 20px;
}

.detail-list {
  border-top: 1px solid var(--line);
}

.detail-list-reset {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-systems {
  display: grid;
  gap: 72px;
}

.service-system-label {
  color: var(--scarlet);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  margin: 0 0 10px;
}

.service-system > h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: .04em;
  margin: 0 0 28px;
}

.detail-item {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 36px;
  grid-template-columns: 60px minmax(170px, .7fr) minmax(280px, 1.3fr);
  padding: 42px 0;
}

.detail-item > span {
  color: var(--scarlet);
  font-family: Georgia, serif;
  font-size: 13px;
}

.detail-item h2,
.detail-item h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: .04em;
  margin: -8px 0 0;
}

.detail-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
  margin: -5px 0 0;
}

.note-box {
  background: #eee9e2;
  margin-top: 64px;
  padding: 32px 38px;
}

.note-box h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  margin: 0 0 12px;
}

.note-box p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  margin: 0;
}

.info-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, 1fr);
  background: var(--line);
  border: 1px solid var(--line);
}

.info-card {
  background: var(--paper);
  min-height: 230px;
  padding: 34px;
}

.info-card > span {
  color: var(--scarlet);
  font-family: Georgia, serif;
  font-size: 12px;
}

.info-card h2,
.info-card h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  margin: 26px 0 15px;
}

.info-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  margin: 0;
}

.sub-cta {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin-top: 75px;
  padding-top: 36px;
}

.sub-cta p {
  font-family: var(--serif);
  font-size: 24px;
  margin: 0;
}

.faq-groups {
  display: grid;
  gap: 80px;
}

.faq-group {
  display: grid;
  gap: 45px;
  grid-template-columns: .45fr 1.55fr;
}

.faq-group > h2 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  margin: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 18px;
  list-style: none;
  padding: 27px 52px 27px 44px;
  position: relative;
}

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

.faq-list summary::before {
  color: var(--scarlet);
  content: "Q";
  font-family: Georgia, serif;
  left: 2px;
  position: absolute;
}

.faq-list summary::after {
  color: var(--scarlet);
  content: "+";
  font-family: var(--sans);
  font-size: 23px;
  font-weight: 300;
  position: absolute;
  right: 4px;
  top: 23px;
}

.faq-list details[open] summary::after { content: "−"; }

.faq-answer {
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
  padding: 0 30px 28px 44px;
}

.contact-layout {
  display: grid;
  gap: 90px;
  grid-template-columns: .7fr 1.3fr;
}

.contact-intro h2 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.55;
  margin: 0 0 26px;
}

.contact-intro p {
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.contact-form {
  display: grid;
  gap: 28px;
}

.form-row {
  display: grid;
  gap: 9px;
}

.form-row label,
.form-legend {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
}

.required {
  color: var(--scarlet);
  font-size: 12px;
  margin-left: 8px;
}

.optional {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  margin-left: 8px;
}

.form-row input,
.form-row select,
.form-row textarea {
  background: white;
  border: 1px solid #cfc8bf;
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  min-height: 54px;
  padding: 13px 15px;
  width: 100%;
}

.form-row textarea {
  min-height: 150px;
  resize: vertical;
}

.form-hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}

.contact-form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.radio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 13px;
}

.radio-grid label {
  align-items: center;
  display: flex;
  font-size: 14px;
  gap: 8px;
  min-height: 44px;
}

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

.field-error {
  color: #a60015;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0;
}

.form-error-summary {
  background: #fff0f1;
  border-left: 4px solid #a60015;
  color: #73000f;
  font-size: 14px;
  font-weight: 700;
  padding: 16px 18px;
}

.honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.privacy-check {
  align-items: flex-start;
  display: flex;
  font-size: 14px;
  gap: 12px;
  line-height: 1.8;
}

.privacy-check input {
  flex: 0 0 auto;
  height: 20px;
  margin-top: 3px;
  width: 20px;
}

.privacy-check a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.form-confirm h2,
.form-status h2 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  margin: 0;
}

.form-confirm dl {
  border-top: 1px solid var(--line);
  margin: 0;
}

.form-confirm dl div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: 160px 1fr;
  padding: 20px 0;
}

.form-confirm dt {
  color: var(--muted);
  font-size: 13px;
}

.form-confirm dd {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal {
  flex-wrap: wrap;
}

.button-outline-dark {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.button:disabled {
  cursor: wait;
  opacity: .58;
  transform: none;
}

.form-status {
  background: #eee9e2;
  padding: 42px;
}

.form-status p {
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
  margin: 18px 0 26px;
}

.legal-prose {
  max-width: 900px;
}

.legal-prose h2 {
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin: 48px 0 16px;
  padding-top: 28px;
}

.legal-prose p,
.legal-prose li {
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.empty-state {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  padding: 55px 0;
}

.not-found {
  min-height: 58svh;
  padding: clamp(142px, 14vw, 184px) clamp(24px, 8vw, 125px) 82px;
}

.not-found h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 500;
  margin: 0 0 24px;
}

.not-found > p:not(.section-kicker) {
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.not-found-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 42px;
}

@media (max-width: 1100px) {
  .desktop-nav,
  .site-header .header-cta {
    display: none;
  }

  .mobile-menu {
    display: block;
    justify-self: end;
    position: relative;
  }

  .mobile-menu-button {
    align-items: flex-end;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 7px;
    height: 48px;
    justify-content: center;
    background: transparent;
    border: 0;
    padding: 0;
    position: relative;
    width: 48px;
    z-index: 20;
  }

  .mobile-menu-button span {
    background: var(--ink);
    display: block;
    height: 1px;
    transition: transform 180ms ease, width 180ms ease;
    width: 28px;
  }

  .mobile-menu-button span:last-child { width: 18px; }

  .mobile-menu[data-open="true"] .mobile-menu-button span:first-child { transform: translateY(4px) rotate(45deg); }
  .mobile-menu[data-open="true"] .mobile-menu-button span:last-child { transform: translateY(-4px) rotate(-45deg); width: 28px; }

  .mobile-menu-panel {
    background: var(--paper);
    box-shadow: 0 18px 38px rgba(30, 25, 20, .12);
    max-height: 100svh;
    overflow-y: auto;
    padding: 82px 28px 28px;
    position: fixed;
    right: 0;
    top: 0;
    width: min(390px, 100vw);
  }

  .mobile-menu-panel nav { display: grid; }

  .mobile-menu-panel a {
    align-items: center;
    border-top: 1px solid var(--line);
    display: flex;
    font-family: var(--serif);
    font-size: 17px;
    min-height: 52px;
  }

  .mobile-menu-panel a span {
    color: var(--scarlet);
    font-family: Georgia, serif;
    font-size: 12px;
    margin-right: 16px;
  }

  .mobile-menu-panel .mobile-contact-link {
    background: var(--scarlet);
    border: 0;
    color: white;
    margin-top: 16px;
    padding-left: 17px;
  }

  .mobile-menu-panel .mobile-contact-link span { color: white; }

  .services-section,
  .flow-section,
  .news-section { grid-template-columns: 1fr; }
  .flow-link { grid-column: 1; }
}

@media (max-width: 900px) {
  .partners-panel,
  .page-hero,
  .content-intro,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .partners-panel {
    max-width: none;
    padding-left: clamp(24px, 7.5vw, 68px);
    padding-right: clamp(24px, 7.5vw, 68px);
  }

  .partners-panel::before { inset: 0 0 50%; }
  .partners-panel::after { inset: 50% 0 0; }
  .partners-copy { padding: 0 0 68px; }
  .partners-facts { padding: 68px 0 0; }
  .page-hero { gap: 22px; min-height: 0; padding-bottom: 52px; padding-top: 138px; }
  .page-hero-lead { align-self: start; }
  .content-intro { gap: 32px; }
  .contact-layout { gap: 54px; }
}

@media (max-width: 720px) {
  .mobile-fixed-cta {
    align-items: center;
    background: var(--scarlet);
    bottom: max(12px, env(safe-area-inset-bottom));
    box-shadow: 0 8px 24px rgba(80, 0, 10, .26);
    color: white;
    display: flex;
    font-size: 13px;
    font-weight: 700;
    height: 54px;
    justify-content: space-between;
    left: 14px;
    padding: 0 20px;
    position: fixed;
    right: 14px;
    z-index: 30;
  }

  .section-heading h2 { font-size: 35px; }
  .about-section,
  .partners-panel { grid-template-columns: 1fr; }
  .about-section { gap: 46px; }
  .about-copy .large-copy { font-size: 28px; }
  .services-section { gap: 46px; }
  .service-row { gap: 17px; grid-template-columns: 1fr 32px; }
  .service-row h3 { font-size: 22px; }
  .service-row p { grid-column: 1 / -1; }
  .service-row > a { grid-column: 2; grid-row: 1; }
  .flow-section { gap: 45px; }
  .flow-list { grid-template-columns: 1fr; }
  .flow-list li,
  .flow-list li:last-child { align-items: flex-start; border: 0; border-top: 1px solid var(--line); min-height: 82px; padding: 24px 48px 24px 0; text-align: left; }
  .flow-list li:last-child { border-bottom: 1px solid var(--line); }
  .flow-list li strong { font-size: 18px; margin: 0; }
  .flow-list li i { bottom: -9px; left: 12px; right: auto; transform: none; }
  .flow-link { justify-self: stretch; }
  .partners-panel { padding-left: 24px; padding-right: 24px; }
  .partners-copy { padding: 0 0 72px; }
  .partners-facts { padding: 72px 0 0; }
  .partners-facts div { grid-template-columns: 95px 1fr; }
  .news-section { gap: 45px; }
  .news-empty { align-items: flex-start; flex-direction: column; gap: 20px; padding: 30px 0; }
  .contact-band { grid-template-columns: 1fr; }
  .contact-band-copy { align-self: start; }
  .site-footer { grid-template-columns: 1fr; padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .footer-brand > p { margin-left: 0; }
  .footer-nav > nav:first-child > ul { grid-template-columns: 1fr; }
  .page-hero { gap: 20px; min-height: 0; padding: 124px 24px 48px; }
  .content-intro { gap: 28px; margin-bottom: 48px; }
  .content-intro-followup { margin-bottom: 0; margin-top: 64px; }
	.service-systems { gap: 58px; }
	.service-system > h2 { margin-bottom: 22px; }
  .detail-item { gap: 16px; grid-template-columns: 42px 1fr; padding: 30px 0; }
  .detail-item p { grid-column: 2; }
  .info-grid { grid-template-columns: 1fr; }
  .info-card { min-height: 210px; padding: 28px 24px; }
  .sub-cta { align-items: flex-start; flex-direction: column; gap: 26px; }
  .faq-group { gap: 26px; grid-template-columns: 1fr; }
  .faq-list summary { font-size: 16px; padding-left: 34px; }
  .faq-answer { padding-left: 34px; }
  .form-confirm dl div { gap: 8px; grid-template-columns: 1fr; }
  .form-actions { align-items: stretch; flex-direction: column-reverse; }
  .form-actions .button { width: 100%; }
  .form-status { padding: 30px 24px; }
  .button { min-height: 56px; }
}
