:root {
  --ink: #202020;
  --sub: #646464;
  --paper: #f4f4f2;
  --white: #fbfbf8;
  --mist: #ececea;
  --line: #d7d7d2;
  --line-dark: rgba(251, 251, 248, 0.2);
  --olive: #303331;
  --copper: #5d5d58;
  --charcoal: #151515;
  --soft-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0;
}

body::selection {
  color: var(--white);
  background: var(--olive);
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: 72px;
  font-weight: 750;
}

h2 {
  margin-bottom: 18px;
  font-size: 54px;
  font-weight: 720;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 720;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 58px);
  color: var(--ink);
  background: rgba(251, 251, 248, 0.88);
  border-bottom: 1px solid rgba(32, 32, 32, 0.1);
  backdrop-filter: blur(16px);
}

.static-header {
  position: sticky;
  background: rgba(251, 251, 248, 0.96);
}

.home-page .site-header:not(.static-header) {
  position: absolute;
  background: rgba(251, 251, 248, 0.94);
  border-bottom: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 clamp(205px, 24vw, 330px);
  width: clamp(205px, 24vw, 330px);
  height: 48px;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  line-height: 1;
  white-space: nowrap;
}

.brand::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("./assets/brand-logo.png?v=20260612-05");
  background-position: left center;
  background-size: contain;
  background-repeat: no-repeat;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: rgba(32, 32, 32, 0.74);
  font-size: 13px;
  font-weight: 700;
}

.static-header .nav {
  margin-left: auto;
  justify-content: flex-end;
}

.static-header .nav a:last-child {
  padding: 6px 0;
  color: inherit;
  background: transparent;
  border-radius: 0;
}

.nav a {
  position: relative;
  padding: 6px 0;
  flex: 0 0 auto;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.home-page .site-header:not(.static-header) .nav {
  position: absolute;
  top: calc(100% + 18px);
  right: clamp(18px, 4vw, 58px);
  width: auto;
  color: rgba(251, 251, 248, 0.9);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.68);
}

.home-page .site-header:not(.static-header) .nav a:last-child {
  padding: 6px 0;
  color: inherit;
  background: transparent;
  border-radius: 0;
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.01);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(21, 21, 21, 0.72) 0%, rgba(21, 21, 21, 0.46) 34%, rgba(21, 21, 21, 0.1) 70%, rgba(21, 21, 21, 0.02) 100%),
    linear-gradient(0deg, rgba(21, 21, 21, 0.6) 0%, rgba(21, 21, 21, 0.22) 38%, rgba(21, 21, 21, 0.04) 72%);
}

.hero-panel {
  position: relative;
  z-index: 2;
  min-width: 0;
  width: min(900px, calc(100% - 40px));
  margin: 0 0 clamp(46px, 8vh, 92px) clamp(22px, 7vw, 112px);
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.46);
}

.hero h1 {
  max-width: none;
  margin-bottom: 16px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  font-size: clamp(30px, 5.25vw, 54px);
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.24;
  white-space: nowrap;
}

.hero-lead {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(251, 251, 248, 0.8);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.9;
}

.hero-name {
  margin-bottom: 10px;
  color: rgba(251, 251, 248, 0.94);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hero-meta {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 4vw, 58px);
  bottom: clamp(20px, 5vw, 70px);
  display: grid;
  gap: 7px;
  width: min(250px, 36vw);
  color: rgba(251, 251, 248, 0.86);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-meta a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 9px 12px;
  background: rgba(251, 251, 248, 0.1);
  border: 1px solid rgba(251, 251, 248, 0.26);
  border-radius: 6px;
  backdrop-filter: blur(10px);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.hero-meta a::after {
  content: ">";
  margin-left: 12px;
  color: rgba(251, 251, 248, 0.8);
  font-size: 13px;
  line-height: 1;
  transition: transform 160ms ease;
}

.hero-meta a:hover,
.hero-meta a:focus-visible {
  background: rgba(251, 251, 248, 0.18);
  border-color: rgba(251, 251, 248, 0.58);
  transform: translateX(2px);
}

.hero-meta a:hover::after,
.hero-meta a:focus-visible::after {
  transform: translateX(3px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact-section .eyebrow,
.area-section .eyebrow {
  color: #d8d8d2;
}

.hero .eyebrow {
  color: rgba(251, 251, 248, 0.76);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero-actions,
.button {
  display: inline-flex;
  align-items: center;
}

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

.hero-actions .button {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.button {
  min-height: 48px;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--olive);
}

.hero-actions .button.primary {
  background: rgba(251, 251, 248, 0.12);
  border-color: rgba(251, 251, 248, 0.45);
}

.button.secondary {
  color: var(--white);
  background: rgba(251, 251, 248, 0.12);
  border-color: rgba(251, 251, 248, 0.45);
}

.button.wide {
  width: 100%;
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 5vw, 76px);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.section-inner.narrow {
  width: min(840px, 100%);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.section-heading p:not(.eyebrow),
.split-heading > p,
.intro-text,
.statement-copy p,
.area-grid p,
.contact-section p,
.service-card p,
.resource-link span,
.work-card span {
  color: var(--sub);
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}

.intro {
  background: var(--white);
}

.intro-layout {
  display: grid;
  gap: clamp(28px, 5vw, 58px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}

.large-copy {
  margin-bottom: 0;
  font-size: 40px;
  font-weight: 720;
  line-height: 1.45;
}

.intro-text {
  display: grid;
  gap: 14px;
}

.intro-text p {
  margin: 0;
}

.material-row {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 1px;
  min-height: 520px;
  background: var(--line);
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
}

.material-row figure {
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--charcoal);
}

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

.material-note {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(22px, 3.2vw, 38px);
  background: var(--paper);
}

.material-note .plan-kicker {
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.material-note .plan-title {
  display: block;
  max-width: 520px;
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.25;
}

.material-note .plan-lead {
  max-width: 620px;
  margin: 0;
  color: var(--sub);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
}

.plan-map {
  display: grid;
  gap: 1px;
  margin-top: 4px;
  background: var(--line);
  border: 1px solid var(--line);
}

.plan-map article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 15px;
  background: rgba(251, 251, 248, 0.78);
}

.plan-map article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--olive);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.plan-map strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
}

.plan-map p {
  margin: 0;
  color: var(--sub);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.plan-result {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 15px 16px;
  color: var(--white);
  background: var(--charcoal);
}

.plan-result strong,
.plan-result span {
  display: block;
}

.plan-result strong {
  font-size: 14px;
  font-weight: 800;
}

.plan-result span {
  color: rgba(251, 251, 248, 0.76);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.service-section {
  background: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  padding: 0;
  background: var(--white);
}

.service-card img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.service-card-content {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 10px;
  align-content: start;
  padding: 16px;
}

.service-card span {
  display: block;
  color: var(--copper);
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
}

.service-card h3 {
  align-self: center;
  margin-bottom: 0;
  font-size: 22px;
}

.service-card p {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.works-section {
  background: var(--white);
}

.works-section .section-heading {
  margin-bottom: clamp(22px, 3vw, 34px);
}

.works-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.work-card {
  position: relative;
  min-height: 330px;
  display: grid;
  align-content: end;
  overflow: hidden;
  padding: 24px;
  color: var(--white);
  background: var(--charcoal);
}

.work-card.featured {
  min-height: 620px;
  grid-row: 1 / span 2;
}

.work-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
  transition: transform 360ms ease, opacity 220ms ease;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(21, 21, 21, 0.8), rgba(21, 21, 21, 0.1) 62%);
}

.work-card strong,
.work-card span {
  position: relative;
  z-index: 1;
}

.work-card strong {
  max-width: 420px;
  font-size: 30px;
  line-height: 1.26;
}

.work-card span {
  max-width: 420px;
  margin-top: 8px;
  color: rgba(251, 251, 248, 0.78);
  font-size: 14px;
}

.work-card:hover img,
.work-card:focus-visible img {
  opacity: 1;
  transform: scale(1.035);
}

.section-link {
  margin: 30px 0 0;
}

.section-link a {
  color: var(--olive);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.statement-section {
  background: var(--charcoal);
  color: var(--white);
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
}

.section-visual,
.heading-visual {
  margin: 0;
}

.section-visual img,
.heading-visual img,
.content-page > img,
.content-image {
  display: block;
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.statement-section .section-visual img {
  border-color: var(--line-dark);
}

.section-visual img {
  aspect-ratio: 4 / 3;
}

.statement-section .section-visual img {
  aspect-ratio: 3 / 2;
}

.heading-visual {
  width: min(420px, 100%);
}

.heading-visual img {
  aspect-ratio: 4 / 3;
}

.statement-copy p {
  color: rgba(251, 251, 248, 0.76);
}

.qualification-list {
  display: grid;
  gap: 10px;
}

.qualification-list.compact {
  margin-top: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.qualification-list article {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 14px 15px;
  color: rgba(251, 251, 248, 0.86);
  border: 1px solid var(--line-dark);
}

.qualification-list strong {
  display: block;
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.qualification-list span {
  display: block;
  color: rgba(251, 251, 248, 0.68);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.65;
}

.resource-section {
  background: var(--mist);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.resource-link {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 18px;
  align-items: center;
  padding: 18px;
  color: var(--ink);
  background: rgba(251, 251, 248, 0.92);
  border: 1px solid rgba(32, 32, 32, 0.16);
  border-top: 2px solid rgba(32, 32, 32, 0.7);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.resource-link strong {
  grid-column: 1;
  font-size: 20px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.resource-link span {
  grid-column: 1;
  font-size: 14px;
}

.resource-link::after {
  content: "詳しく見る >";
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  align-self: end;
  white-space: nowrap;
  color: var(--olive);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 160ms ease;
}

.resource-link:hover,
.resource-link:focus-visible {
  background: var(--white);
  border-color: rgba(32, 32, 32, 0.34);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.resource-link:hover::after,
.resource-link:focus-visible::after {
  transform: translateX(4px);
}

.area-section {
  color: var(--white);
  background: var(--olive);
}

.area-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
}

.area-grid p {
  color: rgba(251, 251, 248, 0.78);
}

.area-list {
  display: grid;
  gap: 1px;
  background: rgba(251, 251, 248, 0.22);
  border: 1px solid rgba(251, 251, 248, 0.22);
}

.area-photo {
  position: relative;
  min-height: 220px;
  margin: 0;
  overflow: hidden;
  background: var(--charcoal);
}

.area-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 21, 21, 0.08), rgba(21, 21, 21, 0.28));
}

.area-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.area-list-items {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.area-list-items p {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 16px;
  color: var(--white);
  background: rgba(21, 21, 21, 0.16);
}

.area-list-items p:last-child {
  grid-column: 1 / -1;
}

.area-list strong,
.area-list span {
  display: block;
}

.area-list strong {
  font-size: 13px;
}

.area-list span {
  color: rgba(251, 251, 248, 0.82);
  font-size: 14px;
  line-height: 1.55;
}

.process-section {
  background: var(--paper);
}

.section-heading.with-visual {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(24px, 4vw, 52px);
  align-items: end;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-content: start;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
}

.process-list li::after {
  content: "";
  position: absolute;
  top: 28px;
  right: -18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--olive);
  border-radius: 50%;
  pointer-events: none;
}

.process-list li::before {
  content: "";
  position: absolute;
  top: 36px;
  right: -10px;
  z-index: 2;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
  transform: rotate(45deg);
  pointer-events: none;
}

.process-list li:last-child::after {
  display: none;
}

.process-list li:last-child::before {
  display: none;
}

.process-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  color: var(--white);
  background: var(--olive);
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
}

.process-list strong {
  display: block;
  margin: 0;
  font-size: 19px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.process-list p {
  margin: 0;
  color: var(--sub);
  font-size: 14px;
}

.contact-section {
  background: var(--charcoal);
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.contact-section p {
  color: rgba(251, 251, 248, 0.78);
}

.contact-box {
  display: grid;
  gap: 18px;
  padding: 0;
  background: transparent;
  border: 0;
}

.contact-box p {
  margin: 0;
  color: var(--white);
  font-weight: 800;
}

.contact-detail {
  display: grid;
  gap: 12px;
  padding-top: 6px;
}

.contact-detail ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(251, 251, 248, 0.16);
  color: rgba(251, 251, 248, 0.84);
}

.contact-detail li {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  color: rgba(251, 251, 248, 0.88);
  border-bottom: 1px solid rgba(251, 251, 248, 0.12);
  font-size: 14px;
  line-height: 1.2;
}

.line-option {
  display: grid;
  gap: 12px;
  text-align: left;
}

.primary-contact {
  justify-items: center;
  color: var(--white);
  border-top-color: rgba(251, 251, 248, 0.42);
  text-align: center;
}

.contact-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  color: var(--white);
  background: var(--olive);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.line-option p {
  margin: 0;
  color: rgba(251, 251, 248, 0.78);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.line-add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  min-height: 54px;
  padding: 12px 18px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--white);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  overflow-wrap: anywhere;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.line-add-button:hover,
.line-add-button:focus-visible {
  color: var(--white);
  background: var(--olive);
  border-color: var(--olive);
  transform: translateY(-1px);
}

.line-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 24px;
  padding: 0 7px;
  color: var(--white);
  background: var(--ink);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.form-option {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: start;
  gap: 12px;
  text-align: center;
}

.primary-contact,
.form-option {
  padding: 18px;
  background: rgba(251, 251, 248, 0.06);
  border: 1px solid rgba(251, 251, 248, 0.14);
  border-radius: 6px;
}

.form-option p {
  color: rgba(251, 251, 248, 0.72);
  font-size: 14px;
  font-weight: 600;
}

.contact-box .button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.contact-box .form-option .button.wide {
  justify-self: center;
  width: fit-content;
  min-width: 246px;
  min-height: 54px;
  padding: 12px 18px;
  font-size: 15px;
}

.contact-box .button.secondary:hover,
.contact-box .button.secondary:focus-visible {
  color: var(--white);
  background: var(--olive);
  border-color: var(--olive);
}

.site-footer {
  display: block;
  padding: clamp(34px, 6vw, 62px) clamp(20px, 5vw, 76px) 26px;
  color: var(--white);
  background: #101211;
  border-top: 1px solid rgba(251, 251, 248, 0.12);
}

.site-footer p {
  margin: 0;
}

.footer-inner,
.footer-bottom {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, auto);
  gap: clamp(24px, 5vw, 74px);
  align-items: center;
}

.footer-main {
  display: grid;
  gap: 16px;
  max-width: 620px;
}

.footer-brand {
  display: inline-flex;
  width: min(260px, 100%);
  height: 50px;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  line-height: 1;
}

.footer-brand::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("./assets/brand-logo.png?v=20260612-05");
  background-position: left center;
  background-size: contain;
  background-repeat: no-repeat;
  filter: invert(1) brightness(1.55);
  opacity: 0.88;
}

.footer-main p {
  color: rgba(251, 251, 248, 0.72);
  font-size: 14px;
  line-height: 1.8;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  max-width: 470px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  min-height: 40px;
  padding: 9px 14px;
  color: rgba(251, 251, 248, 0.82);
  border: 1px solid rgba(251, 251, 248, 0.2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--white);
  background: rgba(251, 251, 248, 0.08);
  border-color: rgba(251, 251, 248, 0.42);
  transform: translateY(-1px);
}

.footer-nav a:last-child {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(26px, 4vw, 42px);
  padding-top: 18px;
  color: rgba(251, 251, 248, 0.48);
  border-top: 1px solid rgba(251, 251, 248, 0.12);
  font-size: 12px;
  font-weight: 700;
}

.muted {
  background: var(--white);
}

.page-title {
  color: var(--ink);
  font-size: 68px;
}

.subpage {
  padding-top: 0;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

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

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.checkbox-label {
  grid-template-columns: 22px 1fr;
  align-items: start;
  font-weight: 400;
}

.checkbox-label input {
  min-height: auto;
  margin-top: 6px;
}

.checkbox-label a {
  color: var(--olive);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hidden-field {
  display: none;
}

.form-note,
.compact-panel,
.study-note {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
}

.form-note h2 {
  font-size: 24px;
}

.form-note ul {
  padding-left: 20px;
}

.line-panel {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.line-panel h2,
.line-panel h3,
.line-panel p {
  margin: 0;
}

.line-panel h2,
.line-panel h3 {
  font-size: 20px;
  line-height: 1.35;
}

.line-panel p {
  color: var(--sub);
  font-size: 14px;
}

.line-actions {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: 100%;
}

.line-panel .line-add-button {
  position: relative;
  width: min(100%, 320px);
  min-height: 58px;
  padding: 13px 16px 13px 18px;
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.16);
}

.line-panel .line-add-button .line-mark {
  color: var(--ink);
  background: var(--white);
}

.line-panel .line-add-button::after {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-left: 2px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  border-radius: 999px;
  background: var(--white);
}

.line-panel .line-add-button:hover,
.line-panel .line-add-button:focus-visible {
  color: var(--white);
  background: var(--olive);
  border-color: var(--olive);
  box-shadow: 0 18px 34px rgba(17, 17, 17, 0.22);
}

.line-qr {
  width: 132px;
  height: 132px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.compact-panel {
  margin: 28px 0 8px;
}

.content-page {
  display: grid;
  gap: 34px;
}

article.content-page:not(.study-layout) {
  gap: 22px;
}

article.content-page:not(.study-layout) > * {
  margin: 0;
}

article.content-page:not(.study-layout) > h2 {
  margin-top: 18px;
}

.journal-page article.content-page:not(.study-layout) {
  gap: 0;
}

.journal-page article.content-page:not(.study-layout) > .eyebrow {
  margin-bottom: clamp(16px, 2.6vw, 22px);
}

.journal-page article.content-page:not(.study-layout) > .page-title {
  max-width: 820px;
  margin-bottom: clamp(20px, 3vw, 28px);
  line-height: 1.18;
}

.journal-page article.content-page:not(.study-layout) > .large-copy {
  max-width: 790px;
  margin-bottom: clamp(28px, 4vw, 40px);
  padding: 0;
  color: rgba(32, 32, 32, 0.82);
  border: 0;
  font-weight: 560;
  line-height: 1.75;
}

.journal-page article.content-page:not(.study-layout) > .content-image {
  width: 100%;
  height: clamp(260px, 44vw, 360px);
  margin-bottom: clamp(40px, 6vw, 58px);
  border: 1px solid var(--line);
  object-fit: cover;
}

.journal-page article.content-page:not(.study-layout) > h2 {
  margin: 0 0 14px;
  padding-top: clamp(20px, 4vw, 30px);
  border-top: 1px solid rgba(32, 32, 32, 0.14);
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.35;
}

.journal-page article.content-page:not(.study-layout) > h2 + p {
  margin-bottom: clamp(34px, 5vw, 48px);
}

.journal-page article.content-page:not(.study-layout) > p:not(.eyebrow):not(.large-copy):not(.study-note):not(.back-link) {
  max-width: 760px;
  color: rgba(32, 32, 32, 0.84);
  font-size: 17px;
  font-weight: 500;
  line-height: 2.05;
}

.content-page > img,
.content-image {
  max-height: 620px;
  border-radius: 0;
}

.study-layout {
  gap: clamp(20px, 3vw, 30px);
}

.study-hero-block {
  display: grid;
  gap: clamp(16px, 3vw, 26px);
}

.study-layout .page-title {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 8vw, 72px);
  line-height: 1.05;
}

.study-layout .content-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: none;
  object-fit: cover;
  border: 1px solid var(--line);
}

.study-block {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 4vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
}

.study-block h2 {
  margin: 0;
  font-size: clamp(26px, 4.6vw, 38px);
  line-height: 1.25;
}

.study-block p {
  margin: 0;
}

.study-lead-block {
  color: var(--white);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.study-lead-block .eyebrow,
.study-lead-block p {
  color: rgba(251, 251, 248, 0.74);
}

.study-block ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.study-block li {
  position: relative;
  padding-left: 20px;
}

.study-block li + li {
  margin-top: 0;
}

.study-block li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--olive);
}

.study-layout .back-link {
  margin-top: 4px;
}

.guide-page .section-inner {
  display: grid;
  gap: clamp(22px, 4vw, 44px);
}

.guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.9fr);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
}

.guide-hero-copy {
  display: grid;
  align-content: center;
  padding: clamp(24px, 5vw, 56px);
  background: var(--white);
}

.guide-hero-copy p:last-of-type {
  margin-bottom: 0;
}

.guide-hero-visual {
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  background: var(--charcoal);
}

.guide-hero-visual img,
.guide-photo-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.button.secondary.dark-text,
.button.dark-text {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.guide-summary,
.area-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.guide-summary p,
.area-cards article {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 150px;
  margin: 0;
  padding: 20px;
  background: var(--white);
}

.guide-summary strong,
.guide-summary span,
.area-cards span,
.area-cards strong {
  display: block;
}

.guide-summary strong,
.area-cards strong {
  font-size: 20px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.guide-summary span,
.area-cards p {
  margin: 0;
  color: var(--sub);
  font-size: 14px;
}

.area-cards span,
.feature-item span {
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-item {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--white);
}

.feature-item img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.feature-item div {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
}

.feature-item h2 {
  margin: 0;
  font-size: 24px;
}

.feature-item p {
  margin: 0;
  color: var(--sub);
  font-size: 14px;
}

.guide-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.86fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.guide-split.reverse {
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1fr);
}

.guide-panel {
  display: grid;
  align-content: center;
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
}

.guide-panel h2 {
  font-size: 34px;
}

.muted-panel {
  background: var(--paper);
}

.check-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
  list-style: none;
}

.check-list li {
  margin: 0;
  padding: 13px 14px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.6;
}

.muted-panel .check-list li {
  background: var(--paper);
}

.price-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.price-list p {
  display: grid;
  grid-template-columns: minmax(130px, 0.65fr) minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 14px;
  background: var(--paper);
}

.price-list strong,
.price-list span {
  display: block;
}

.price-list span {
  color: var(--sub);
  font-weight: 700;
}

.guide-photo-panel {
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  background: var(--charcoal);
}

.guide-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: clamp(20px, 3vw, 28px);
  color: var(--white);
  background: var(--charcoal);
}

.guide-note p {
  margin: 0;
  color: rgba(251, 251, 248, 0.78);
}

.content-page h2 {
  margin-top: 14px;
  font-size: 34px;
}

.content-page h3 {
  margin-top: 8px;
}

.content-page ul,
.content-page ol {
  padding-left: 22px;
}

.content-page li + li {
  margin-top: 6px;
}

.content-page.study-layout .study-block h2 {
  margin: 0;
  font-size: clamp(26px, 4.6vw, 38px);
  line-height: 1.25;
}

.content-page.study-layout .study-block ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-page.study-layout .study-block li + li {
  margin-top: 0;
}

.content-page table {
  width: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-collapse: collapse;
}

.content-page th,
.content-page td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.content-page th {
  background: var(--paper);
}

.content-page tr:last-child td {
  border-bottom: 0;
}

.study-note {
  border-left: 4px solid var(--olive);
  color: var(--sub);
}

.back-link {
  margin-top: 10px;
}

.back-link a {
  color: var(--olive);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.journal-page article.content-page:not(.study-layout) > .study-note {
  margin-bottom: 22px;
}

.journal-page article.content-page:not(.study-layout) > .back-link {
  margin-top: 0;
}

.journal-page article.content-page:not(.study-layout) > .back-link + .back-link {
  margin-top: 12px;
}

@media (max-width: 1180px) and (min-width: 981px) {
  .hero-panel {
    width: min(820px, calc(100% - 320px));
  }

  .hero-lead {
    max-width: 520px;
  }

  .service-grid,
  .resource-grid,
  .guide-summary,
  .area-cards,
  .feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .process-list li {
    min-height: 0;
    grid-template-columns: 46px minmax(0, 600px);
    justify-content: center;
    gap: 8px 18px;
    align-items: start;
    padding: 18px 22px;
  }

  .process-list span {
    grid-row: 1 / span 2;
    align-self: center;
    width: 46px;
    height: 46px;
  }

  .process-list li::after {
    top: auto;
    right: auto;
    bottom: -17px;
    left: 50%;
    width: 22px;
    height: 22px;
    transform: translateX(-50%);
  }

  .process-list li::before {
    top: auto;
    right: auto;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }

  .service-card img {
    height: 190px;
  }

  .works-grid {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.86fr);
  }

  .guide-hero,
  .guide-split,
  .guide-split.reverse {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.86fr);
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: center;
    gap: 14px;
    flex-direction: row;
    flex-wrap: nowrap;
    min-height: 66px;
    padding: 9px clamp(16px, 4vw, 34px);
  }

  .site-header.static-header {
    position: sticky;
    top: 0;
  }

  .nav {
    flex: 1 1 auto;
    justify-content: flex-end;
    width: auto;
    min-width: 0;
    overflow-x: auto;
    padding: 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .brand {
    width: clamp(170px, 26vw, 240px);
    height: 40px;
    flex: 0 0 clamp(170px, 26vw, 240px);
  }

  .nav a {
    line-height: 1;
  }

  .nav a:last-child {
    padding: 8px 12px;
    color: var(--white);
    background: var(--olive);
    border-radius: 999px;
  }

  .home-page .site-header:not(.static-header) .nav {
    top: calc(100% + 14px);
    right: clamp(16px, 4vw, 34px);
    left: clamp(16px, 4vw, 34px);
    width: auto;
    justify-content: flex-end;
    color: rgba(251, 251, 248, 0.9);
  }

  .home-page .site-header:not(.static-header) .nav a:last-child {
    padding: 6px 0;
    color: inherit;
    background: transparent;
    border-radius: 0;
  }

  .hero {
    min-height: 88svh;
    padding-top: 68px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 42px;
  }

  .large-copy {
    font-size: 32px;
  }

  .page-title {
    font-size: 54px;
  }

  .guide-hero .page-title {
    font-size: 48px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(21, 21, 21, 0.58) 0%, rgba(21, 21, 21, 0.28) 54%, rgba(21, 21, 21, 0.06) 100%),
      linear-gradient(0deg, rgba(21, 21, 21, 0.72) 0%, rgba(21, 21, 21, 0.26) 56%, rgba(21, 21, 21, 0.08) 100%);
  }

  .hero-panel {
    width: min(680px, calc(100% - 36px));
    margin: 0 18px 44px;
  }

  .hero-meta {
    display: none;
  }

  .intro-grid,
  .material-row,
  .works-grid,
  .split,
  .area-grid,
  .statement-grid,
  .split-heading,
  .section-heading.with-visual,
  .contact-layout,
  .form-layout,
  .contact-form,
  .guide-hero,
  .guide-split,
  .guide-split.reverse,
  .guide-note {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .resource-grid,
  .guide-summary,
  .area-cards,
  .feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .works-grid {
    grid-template-rows: none;
  }

  .work-card,
  .work-card.featured {
    min-height: 390px;
    grid-row: auto;
  }

  .service-card,
  .process-list li {
    min-height: auto;
  }

  .process-list li {
    grid-template-columns: 42px minmax(0, 540px);
    justify-content: center;
    gap: 8px 16px;
    padding: 16px 18px;
  }

  .process-list span {
    grid-row: 1 / span 2;
    align-self: center;
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .process-list li::after {
    top: auto;
    right: auto;
    bottom: -17px;
    left: 50%;
    width: 22px;
    height: 22px;
    transform: translateX(-50%);
  }

  .process-list li::before {
    top: auto;
    right: auto;
    bottom: -10px;
    left: 50%;
    width: 7px;
    height: 7px;
    transform: translateX(-50%) rotate(135deg);
  }

  .service-card img {
    height: 180px;
  }

  .resource-grid {
    gap: 10px;
  }

  .material-row {
    min-height: auto;
  }

  .material-row figure {
    min-height: 0;
  }

  .material-row img {
    height: 380px;
  }

  .material-note {
    order: 0;
  }

  .guide-hero-visual,
  .guide-photo-panel {
    min-height: 0;
  }

  .guide-hero-visual img {
    height: 360px;
  }

  .guide-photo-panel img {
    height: 280px;
  }

  .guide-summary p,
  .area-cards article {
    min-height: 0;
  }

  .feature-item img {
    height: 200px;
  }

  .guide-panel h2 {
    font-size: 30px;
  }

  .price-list p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .guide-note {
    justify-items: start;
  }

  .heading-visual {
    width: 100%;
  }
}

@media (min-width: 540px) and (max-width: 980px) {
  .plan-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-map article {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding: 14px;
  }
}

@media (max-width: 760px) {
  .service-grid,
  .resource-grid,
  .process-list,
  .guide-summary,
  .area-cards,
  .feature-strip,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .process-list li {
    min-height: auto;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 6px 14px;
    padding: 16px;
    border-top-width: 1px;
  }

  .process-list li::after {
    top: auto;
    right: auto;
    bottom: -16px;
    left: 50%;
    width: 20px;
    height: 20px;
    transform: translateX(-50%);
  }

  .process-list li::before {
    top: auto;
    right: auto;
    bottom: -10px;
    left: 50%;
    width: 7px;
    height: 7px;
    transform: translateX(-50%) rotate(135deg);
  }

  .process-list span {
    grid-row: 1 / span 2;
    align-self: center;
  }

  .guide-actions {
    display: grid;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: 92px;
    gap: 8px;
    padding: 8px 12px 10px;
  }

  .home-page .site-header:not(.static-header) {
    min-height: 58px;
    padding: 8px 12px 0;
    background: rgba(251, 251, 248, 0.94);
    border-bottom: 0;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(7, max-content);
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: initial;
    gap: 0;
    row-gap: 4px;
    padding: 0 2px 2px;
    border-left: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.035em;
    overflow-x: visible;
  }

  .static-header .nav {
    display: flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    gap: 18px;
    justify-content: end;
  }

  .static-header {
    min-height: 82px;
    gap: 5px;
    padding-bottom: 8px;
  }

  .home-page .site-header:not(.static-header) .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 12px;
    left: auto;
    width: max-content;
    max-width: calc(100% - 24px);
    column-gap: 22px;
    justify-content: end;
    padding: 0 2px;
    color: rgba(251, 251, 248, 0.86);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.58);
  }

  .home-page .site-header:not(.static-header) .nav a:last-child {
    padding: 6px 0;
    color: inherit;
    background: transparent;
    border-radius: 0;
  }

  .brand {
    width: clamp(150px, 36vw, 212px);
    height: 40px;
    flex: 0 0 40px;
  }

  .hero {
    padding-top: 98px;
  }

  .hero-image {
    object-position: 54% center;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 21px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero h1 {
    font-size: clamp(20px, 5.35vw, 24px);
    letter-spacing: 0;
  }

  .large-copy,
  .work-card strong,
  .content-page h2 {
    font-size: 26px;
  }

  .page-title {
    font-size: 38px;
  }

  .journal-page .section {
    padding-top: 34px;
  }

  .journal-page article.content-page:not(.study-layout) {
    gap: 0;
  }

  .journal-page article.content-page:not(.study-layout) > .page-title {
    margin-bottom: 18px;
    font-size: clamp(29px, 5.6vw, 33px);
    line-height: 1.28;
  }

  .journal-page article.content-page:not(.study-layout) > .large-copy {
    margin-bottom: 28px;
    padding: 0;
    font-size: clamp(17px, 3.6vw, 19px);
    font-weight: 560;
    line-height: 1.85;
  }

  .journal-page article.content-page:not(.study-layout) > .content-image {
    margin-bottom: 36px;
  }

  .journal-page article.content-page:not(.study-layout) > h2 {
    margin-bottom: 12px;
    padding-top: 20px;
    font-size: 24px;
  }

  .journal-page article.content-page:not(.study-layout) > h2 + p {
    margin-bottom: 34px;
  }

  .journal-page article.content-page:not(.study-layout) > p:not(.eyebrow):not(.large-copy):not(.study-note):not(.back-link) {
    font-size: 16px;
    line-height: 2.05;
  }

  .guide-hero .page-title {
    font-size: 34px;
  }

  .section {
    padding: 52px 18px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
    margin-top: 24px;
  }

  .hero-actions .button {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding-inline: 12px;
  }

  .qualification-list.compact {
    grid-template-columns: 1fr;
  }

  .area-list-items p {
    padding: 14px;
  }

  .work-card,
  .work-card.featured {
    min-height: 330px;
    padding: 20px;
  }

  .site-footer {
    padding-top: 34px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-nav {
    justify-content: flex-start;
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1px;
    line-height: 1.35;
  }

  .content-page table {
    display: block;
    overflow-x: auto;
  }

  .guide-hero-copy,
  .guide-panel,
  .guide-note {
    padding: 20px;
  }

  .guide-hero-visual img {
    height: 260px;
  }

  .guide-photo-panel img {
    height: 220px;
  }

  .feature-item img {
    height: 180px;
  }

  .guide-summary p,
  .area-cards article,
  .feature-item div {
    padding: 16px;
  }

  .material-note {
    gap: 14px;
    padding: 20px;
  }

  .material-note .plan-title {
    font-size: 28px;
  }

  .material-note .plan-lead {
    font-size: 15px;
  }

  .plan-map article {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .plan-map article > span {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .form-note,
  .compact-panel,
  .study-note {
    padding: 18px;
  }

  .line-add-button {
    width: min(100%, 280px);
  }

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

  .contact-box .form-option .button.wide {
    width: min(100%, 280px);
  }
}

@media (min-width: 481px) and (max-width: 620px) {
  .static-header {
    align-items: center;
    flex-direction: row;
    min-height: 64px;
    gap: 16px;
    padding: 8px 18px;
  }

  .static-header .brand {
    flex: 0 0 clamp(170px, 36vw, 212px);
    width: clamp(170px, 36vw, 212px);
  }

  .static-header .nav {
    align-self: center;
    flex: 0 0 auto;
    width: fit-content;
    transform: translateY(7px);
  }
}

@media (max-width: 420px) {
  .site-header {
    min-height: 90px;
    gap: 8px;
    padding: 8px 10px 10px;
  }

  .home-page .site-header:not(.static-header) {
    min-height: 50px;
    padding: 8px 10px 0;
  }

  .brand {
    width: 144px;
    height: 34px;
    flex-basis: 34px;
  }

  .nav {
    grid-template-columns: repeat(7, max-content);
    justify-content: space-between;
    column-gap: 14px;
    row-gap: 4px;
    padding-left: 0;
    font-size: 11px;
  }

  .home-page .site-header:not(.static-header) .nav {
    top: calc(100% + 9px);
    right: 10px;
    left: 10px;
    width: auto;
    max-width: none;
    column-gap: 14px;
    justify-content: space-between;
    padding: 0;
  }

  .nav a:last-child {
    padding: 7px 10px;
  }

  .home-page .site-header:not(.static-header) .nav a:last-child {
    padding: 6px 0;
    color: inherit;
    background: transparent;
    border-radius: 0;
  }

  .footer-brand {
    width: 218px;
    height: 44px;
  }

  .footer-nav a {
    min-height: 36px;
    min-width: 78px;
    padding: 8px 11px;
    font-size: 12px;
  }

  h1 {
    font-size: 34px;
  }

  h2,
  .page-title {
    font-size: 30px;
  }

  h3 {
    font-size: 20px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero h1 {
    font-size: clamp(20px, 5.35vw, 24px);
  }

  .hero-panel {
    width: calc(100% - 28px);
    margin: 0 14px 34px;
  }

  .section {
    padding: 46px 14px;
  }

  .service-card-content,
  .resource-link,
  .material-note,
  .guide-hero-copy,
  .guide-panel,
  .guide-note {
    padding: 16px;
  }

  .resource-link {
    gap: 8px 12px;
  }

  .resource-link::after {
    font-size: 12px;
  }

  .process-list li {
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 12px;
  }

  .process-list span {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  .process-list strong {
    font-size: 18px;
  }

  .process-list li::after {
    left: 50%;
  }

  .process-list li::before {
    left: 50%;
  }

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

  .area-photo,
  .area-photo img {
    min-height: 190px;
  }

  .area-list-items p {
    padding: 12px;
  }

  .area-list strong,
  .area-list span {
    font-size: 12px;
  }
}

@media (max-width: 340px) {
  .site-header {
    min-height: 94px;
    gap: 8px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .home-page .site-header:not(.static-header) {
    min-height: 48px;
  }

  .brand {
    width: 136px;
    height: 32px;
    flex-basis: 32px;
  }

  .nav {
    column-gap: 10px;
    row-gap: 5px;
    font-size: 10.5px;
  }

  .nav a:last-child {
    padding: 6px 9px;
  }

  .home-page .site-header:not(.static-header) .nav a:last-child {
    padding: 6px 0;
  }

  .section {
    padding-right: 12px;
    padding-left: 12px;
  }

  .primary-contact,
  .form-option {
    padding-right: 14px;
    padding-left: 14px;
  }
}
