:root {
  --ink: #222426;
  --muted: #64686c;
  --line: #dedbd2;
  --paper: #f7f5ef;
  --white: #ffffff;
  --deep: #14342b;
  --accent: #b8860b;
  --accent-soft: #f0dfb4;
  --steel: #65706f;
  --max: 1120px;
  --subpage-hero-height: 390px;
  --section-space-y: clamp(44px, 6vw, 72px);
  --section-space-y-tight: clamp(34px, 5vw, 56px);
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    system-ui,
    sans-serif;
  letter-spacing: 0;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
}

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

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(16px, 4vw, 44px);
  border-bottom: 1px solid rgba(34, 36, 38, 0.12);
  background: rgba(247, 245, 239, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: var(--deep);
  color: var(--white);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 1rem;
}

.brand-logo,
.brand-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.brand-logo img {
  width: auto;
  max-width: 150px;
  max-height: 46px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 26px);
  color: #333638;
  font-size: 0.9rem;
  font-weight: 650;
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.main-nav .menu-item,
.mobile-nav .menu-item {
  display: contents;
}

.main-nav a:hover {
  border-color: var(--accent);
}

.mobile-menu {
  display: none;
}

.header-cta,
.button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 750;
}

.header-cta {
  background: var(--accent);
  color: var(--white);
  white-space: nowrap;
}

.mobile-menu summary {
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary i,
.mobile-menu summary i::before,
.mobile-menu summary i::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--deep);
}

.mobile-menu summary i {
  position: relative;
}

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

.mobile-menu summary i::before {
  top: -6px;
}

.mobile-menu summary i::after {
  top: 6px;
}

.mobile-menu[open] summary i {
  background: transparent;
}

.mobile-menu[open] summary i::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-menu[open] summary i::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  right: clamp(16px, 4vw, 44px);
  left: clamp(16px, 4vw, 44px);
  top: calc(100% + 10px);
  display: grid;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(31, 34, 32, 0.16);
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 800;
}

.mobile-nav a + a {
  border-top: 1px solid var(--line);
}

.mobile-nav a:hover {
  background: #f2eee3;
}

.mobile-nav .mobile-cta {
  justify-content: center;
  margin-top: 10px;
  border-top: 0;
  background: var(--accent);
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 76px);
  max-height: 820px;
  padding: clamp(36px, 8vw, 96px) clamp(18px, 5vw, 64px);
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(12, 19, 17, 0.88), rgba(12, 19, 17, 0.5) 48%, rgba(12, 19, 17, 0.15)),
    var(--hero-image) center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 9px;
  background: linear-gradient(90deg, var(--accent), var(--deep), var(--steel));
}

.hero-content {
  align-self: center;
  width: min(720px, 100%);
}

.eyebrow,
.section-heading p,
.page-hero p,
.contact-band p,
.two-column-cta span {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.98;
}

.hero-lead {
  width: min(640px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button-dark {
  background: var(--deep);
  color: var(--white);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.hero-facts {
  position: relative;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(940px, 100%);
  margin: 48px 0 0;
  background: rgba(255, 255, 255, 0.22);
}

.hero-facts div {
  padding: 18px;
  background: rgba(20, 52, 43, 0.72);
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

.hero-facts dd {
  margin: 8px 0 0;
  font-weight: 750;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: var(--section-space-y) 0;
}

.page-stats + .section,
.company-stats + .section,
.services-stats + .section {
  padding-top: var(--section-space-y-tight);
}

.section + .section {
  padding-top: 0;
}

.section-heading {
  display: grid;
  gap: 10px;
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.section-heading h2,
.page-hero h1,
.contact-band h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.15;
}

.section-heading span,
.page-hero span,
.contact-band span {
  color: var(--muted);
  line-height: 1.8;
}

.service-grid,
.case-grid,
.job-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.case-card,
.job-list article,
.contact-card,
.detail-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card {
  padding: 28px;
}

.service-card h3,
.case-card h3,
.case-card h2,
.job-list h2 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.45;
}

.service-card p,
.case-card p,
.case-card small,
.job-list p,
.company-message p,
.partner-layout p,
.prose p,
.contact-card p {
  color: var(--muted);
  line-height: 1.8;
}

.service-card ul,
.detail-panel ul,
.job-list ul,
.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li,
.detail-panel li,
.job-list li,
.check-list li {
  position: relative;
  padding: 10px 0 10px 18px;
  border-top: 1px solid var(--line);
  color: #3e4244;
}

.service-card li::before,
.detail-panel li::before,
.job-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 7px;
  height: 7px;
  background: var(--accent);
}

.application-note {
  padding-top: 0;
}

.application-note ul {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 32px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.application-note li {
  position: relative;
  padding: 10px 0 10px 22px;
  color: #3e4244;
  line-height: 1.8;
}

.application-note li::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--accent);
}

.business-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.business-feature-card {
  min-height: 220px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.business-feature-card h3 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  line-height: 1.45;
}

.business-feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.page-visual-hero-content,
.services-hero-content {
  width: min(640px, 100%);
}

.page-visual-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.page-visual-hero-points span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  width: fit-content;
  border: 1px solid rgba(210, 200, 178, 0.8);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.45;
}

.page-visual-hero-points strong,
.page-visual-hero-points small {
  display: block;
}

.page-visual-hero-points strong {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.45;
}

.page-visual-hero-points small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.page-stats,
.services-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 22px max(18px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.page-stats article,
.services-stats article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  min-height: 74px;
  padding: 8px 22px;
  border-left: 1px solid var(--line);
}

.page-stats article:first-child,
.services-stats article:first-child {
  border-left: 0;
}

.page-stats > article > span,
.services-stats > article > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-top: 2px;
  border-radius: 4px;
  background: rgba(190, 137, 9, 0.12);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.page-stats p,
.page-stats strong,
.page-stats small,
.services-stats p,
.services-stats strong,
.services-stats small {
  display: block;
}

.page-stats p,
.services-stats p {
  margin: 0 0 2px;
  color: #4c5357;
  font-size: 0.78rem;
  font-weight: 800;
}

.page-stats strong,
.services-stats strong {
  color: var(--ink);
  font-size: clamp(1.12rem, 2vw, 1.48rem);
  line-height: 1.2;
}

.page-stats small,
.services-stats small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.archive-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.archive-section-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
}

.archive-section-heading span {
  color: var(--muted);
  font-weight: 650;
}

.services-strength-intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.55fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
}

.services-strength-lead p {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.services-strength-lead h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
}

.services-strength-lead span {
  display: block;
  color: var(--muted);
  line-height: 1.9;
}

.services-strength-lead .button {
  margin-top: 30px;
}

.services-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.services-feature-card {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(30, 31, 29, 0.06);
}

.services-feature-card figure {
  height: 154px;
  margin: 0;
  overflow: hidden;
  background: #d8d2c3;
}

.services-feature-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-feature-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: -35px 0 18px 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(30, 31, 29, 0.08);
}

.services-feature-body {
  padding: 0 24px 26px;
}

.services-feature-card h3 {
  margin-bottom: 14px;
  font-size: 1.18rem;
}

.services-feature-card p {
  font-size: 0.92rem;
}

.service-check-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.service-check-list li {
  position: relative;
  padding-left: 24px;
  color: #4b5154;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.55;
}

.service-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: rgba(190, 137, 9, 0.12);
}

.business-service-list {
  display: grid;
  gap: 24px;
}

.business-service {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) 1fr;
  gap: 32px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.business-service figure {
  margin: 0;
  min-height: 320px;
  background: #d8d2c3;
}

.business-service img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-service > div {
  padding: 34px 34px 34px 0;
}

.business-service p {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.business-service h2 {
  margin: 0 0 16px;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  line-height: 1.35;
}

.business-service span {
  display: block;
  color: var(--muted);
  line-height: 1.9;
}

.business-service ul,
.business-sites ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.business-service li {
  position: relative;
  padding: 12px 0 12px 20px;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.business-service li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.business-sites {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--deep);
  color: var(--white);
}

.business-sites h2 {
  margin: 0 0 16px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.business-sites span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.85;
}

.business-sites ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: rgba(255, 255, 255, 0.18);
}

.business-sites li {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.split-section,
.company-message,
.partner-layout,
.case-detail,
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.number-list {
  display: grid;
  gap: 14px;
}

.number-list article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.number-list span {
  color: var(--deep);
  font-size: 1.6rem;
  font-weight: 800;
}

.number-list p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.8;
}

.news-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.news-preview,
.news-list {
  display: grid;
  gap: 12px;
}

.news-row {
  display: grid;
  grid-template-columns: 112px 120px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.news-list .news-row {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.news-row time {
  color: var(--steel);
  font-size: 0.9rem;
  font-weight: 750;
}

.news-row > span,
.news-detail-meta span {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 4px;
  background: #ece8dc;
  color: var(--deep);
  font-size: 0.76rem;
  font-weight: 800;
}

.news-row h2,
.news-row h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.45;
}

.news-row p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.news-detail {
  max-width: 860px;
}

.news-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--steel);
  font-weight: 750;
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 22px;
  color: var(--deep);
  font-weight: 800;
}

.text-link::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.muted-section {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - var(--max)) / 2));
  padding-left: max(18px, calc((100vw - var(--max)) / 2));
  background: #ece8dc;
}

.case-card {
  display: grid;
  min-height: 230px;
  padding: 26px;
  align-content: end;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.08), rgba(10, 10, 10, 0.72)),
    var(--case-image, var(--hero-image)) center / cover;
  color: var(--white);
  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

.case-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.case-card span,
.job-list span {
  width: fit-content;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
}

.case-card p,
.case-card small {
  color: rgba(255, 255, 255, 0.82);
}

.two-column-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.two-column-cta a {
  min-height: 260px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.two-column-cta h2 {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.two-column-cta p {
  color: var(--muted);
  line-height: 1.8;
}

.contact-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: clamp(36px, 6vw, 64px) max(18px, calc((100vw - var(--max)) / 2));
  background: var(--deep);
  color: var(--white);
}

.contact-band span {
  color: rgba(255, 255, 255, 0.76);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.contact-actions .button-dark {
  background: var(--accent);
}

.page-hero {
  height: var(--subpage-hero-height);
  min-height: var(--subpage-hero-height);
  padding: clamp(48px, 6vw, 72px) max(18px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(247, 245, 239, 0.98), rgba(247, 245, 239, 0.84) 42%, rgba(247, 245, 239, 0.34)),
    var(--hero-image) center center / cover no-repeat;
}

.page-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 4vw, 3.6rem);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.company-hero {
  height: var(--subpage-hero-height);
  min-height: var(--subpage-hero-height);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(247, 245, 239, 0.98), rgba(247, 245, 239, 0.84) 42%, rgba(247, 245, 239, 0.34)),
    var(--hero-image) center center / cover no-repeat;
}

.page-visual-hero {
  height: var(--subpage-hero-height);
  min-height: var(--subpage-hero-height);
  align-items: flex-start;
  background:
    linear-gradient(90deg, rgba(247, 245, 239, 0.98), rgba(247, 245, 239, 0.84) 42%, rgba(247, 245, 239, 0.34)),
    var(--hero-image) center center / cover no-repeat;
}

.company-page-hero {
  align-items: center;
}

.page-visual-hero h1 {
  margin-bottom: 18px;
}

.company-hero-content {
  min-width: 0;
  width: min(660px, 100%);
}

.page-hero .company-hero-body {
  width: min(620px, 100%);
  margin: 20px 0 0;
  color: #2f3436;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.company-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 22px max(18px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.company-stats article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  min-height: 74px;
  padding: 8px 22px;
  border-left: 1px solid var(--line);
}

.company-stats article:first-child {
  border-left: 0;
}

.company-stats span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-top: 2px;
  border-radius: 4px;
  background: rgba(190, 137, 9, 0.12);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.company-stats p,
.company-stats strong,
.company-stats small {
  display: block;
}

.company-stats p {
  margin: 0 0 2px;
  color: #4c5357;
  font-size: 0.78rem;
  font-weight: 800;
}

.company-stats strong {
  color: var(--ink);
  font-size: clamp(1.12rem, 2vw, 1.48rem);
  line-height: 1.2;
}

.company-stats small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.company-overview-panels {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(24px, 5vw, 56px);
  padding-top: var(--section-space-y-tight);
  padding-bottom: var(--section-space-y-tight);
}

.company-overview-panels article {
  min-width: 0;
}

.company-overview-panels h2 {
  margin: 0 0 18px;
  font-size: clamp(1.28rem, 2.4vw, 2rem);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.company-overview-message p:not(.eyebrow) {
  margin: 0 0 24px;
  color: #3f4548;
  font-weight: 600;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.company-overview-list ul {
  display: grid;
  gap: 11px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.company-overview-list li {
  position: relative;
  padding-left: 22px;
  color: #34393b;
  font-weight: 650;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.company-overview-list li::before {
  content: "";
  position: absolute;
  top: 0.74em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.outline-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: min(100%, 300px);
  padding: 13px 16px;
  border: 1px solid #8f9699;
  color: var(--ink);
  font-weight: 800;
  white-space: normal;
}

.outline-link::after {
  content: ">";
  color: var(--deep);
}

.service-detail-list {
  display: grid;
  gap: 18px;
}

.service-detail-list article {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-detail-list p {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 800;
}

.service-detail-list h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.55;
}

.service-detail-list ul,
.process ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-detail-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.process ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.process li {
  padding: 24px;
  background: var(--white);
}

.process strong,
.process span {
  display: block;
}

.process strong {
  margin-bottom: 12px;
}

.process span {
  color: var(--muted);
  line-height: 1.7;
}

.case-grid-large {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-grid-large .case-card {
  min-height: 280px;
}

.case-detail-image {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
}

.case-detail-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-panel {
  padding: 28px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.company-table th,
.company-table td {
  padding: 20px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.company-table th {
  width: 220px;
  background: #ece8dc;
}

.job-list article {
  padding: 28px;
}

.contact-layout {
  grid-template-columns: 0.8fr 1.2fr;
}

.contact-card,
.contact-form {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-card h2 {
  margin: 0;
}

.contact-card a,
.contact-card small {
  display: block;
  margin-top: 14px;
}

.contact-notes {
  margin: 22px 0 0;
  padding-left: 18px;
  color: #5f6466;
}

.contact-notes li + li {
  margin-top: 10px;
}

.contact-phone {
  font-size: clamp(1.25rem, 2.4vw, 1.95rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
  white-space: nowrap;
}

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

.contact-form-header h2 {
  margin: 0 0 12px;
}

.contact-form-header p {
  margin: 0;
  color: #5f6466;
}

.contact-alert {
  padding: 14px 16px;
  border-radius: 6px;
  font-weight: 700;
}

.contact-alert-success {
  border: 1px solid #bfd9bf;
  background: #eef8ee;
  color: #295329;
}

.contact-alert-error {
  border: 1px solid #e2c0c0;
  background: #fff4f4;
  color: #8b2d2d;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form-grid .full-width {
  grid-column: 1 / -1;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #3d4143;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfcac0;
  border-radius: 6px;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.contact-form button {
  width: fit-content;
  background: var(--deep);
  color: var(--white);
  cursor: pointer;
}

.contact-form button:hover {
  opacity: 0.92;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-agree {
  align-items: start;
}

.contact-agree input {
  margin-top: 4px;
}

.contact-agree span {
  font-weight: 600;
  color: #3d4143;
}

.contact-form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.field-error {
  color: #b42318;
  font-size: 0.82rem;
  font-weight: 700;
}

.prose {
  max-width: 820px;
}

.prose h2 {
  margin: 34px 0 10px;
}

.prose a {
  color: var(--deep);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.error-section {
  max-width: 840px;
}

.error-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.error-panel h2 {
  margin: 0 0 12px;
}

.error-panel p {
  margin: 0;
  color: #5f6466;
  line-height: 1.9;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.nav-links,
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.nav-links a,
.nav-links span,
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  font-weight: 750;
}

.site-footer {
  padding: 56px max(18px, calc((100vw - var(--max)) / 2)) 24px;
  background: #1f2220;
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.7fr;
  gap: 44px;
}

.footer-brand .brand-mark {
  background: var(--accent);
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 1rem;
}

.site-footer p,
.site-footer li {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.copyright {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.84rem;
}

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

  .desktop-nav,
  .desktop-cta {
    display: none;
  }

  .mobile-menu,
  .mobile-menu summary {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-facts,
  .service-grid,
  .business-feature-grid,
  .page-visual-hero-points,
  .services-stats,
  .page-stats,
  .services-strength-intro,
  .services-feature-grid,
  .case-grid,
  .company-stats,
  .company-overview-panels,
  .job-list,
  .split-section,
  .news-section,
  .company-message,
  .partner-layout,
  .business-service,
  .business-sites,
  .business-sites ul,
  .case-detail,
  .contact-layout,
  .service-detail-list article,
  .process ol,
  .two-column-cta,
  .contact-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .contact-phone {
    font-size: clamp(1.1rem, 3.8vw, 1.55rem);
  }

  .news-row,
  .news-list .news-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .company-stats,
  .services-stats,
  .page-stats {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .company-stats article,
  .services-stats article,
  .page-stats article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .company-stats article:first-child,
  .services-stats article:first-child,
  .page-stats article:first-child {
    border-top: 0;
  }

  .archive-section-heading {
    display: block;
  }
}

@media (max-width: 620px) {
  :root {
    --subpage-hero-height: 280px;
  }

  .site-header {
    gap: 12px;
    min-height: 68px;
    padding: 10px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    display: none;
  }

  .mobile-menu summary span {
    display: none;
  }

  .mobile-menu summary {
    width: 44px;
    padding: 0;
  }

  .mobile-nav {
    right: 14px;
    left: 14px;
  }

  .hero {
    padding-top: 46px;
  }

  .page-hero {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 16vw, 4.1rem);
  }

  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }

  .section {
    width: min(100% - 28px, var(--max));
  }

  .contact-phone {
    font-size: clamp(1rem, 5.2vw, 1.3rem);
  }

  .service-card,
  .business-feature-card:not(.services-feature-card),
  .two-column-cta a,
  .contact-card,
  .contact-form,
  .detail-panel,
  .job-list article,
  .service-detail-list article {
    padding: 22px;
  }

  .company-overview-panels {
    gap: 34px;
  }

  .page-visual-hero-points span {
    min-height: 44px;
    width: 100%;
  }

  .services-feature-card figure {
    height: 190px;
  }

  .services-feature-body {
    padding: 0 22px 24px;
  }

  .page-hero .company-hero-body,
  .company-overview-panels h2,
  .company-overview-message p:not(.eyebrow),
  .company-overview-list li {
    word-break: break-all;
  }

  .business-service {
    gap: 0;
  }

  .business-service figure {
    min-height: 240px;
  }

  .business-service > div {
    padding: 24px;
  }

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

  .business-sites {
    padding: 24px;
  }

  .number-list article {
    grid-template-columns: 48px 1fr;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }
}
