:root {
  --ink: #202526;
  --muted: #65757d;
  --line: #d5e8ef;
  --paper: #f7fcfe;
  --white: #fff;
  --green: #1599ca;
  --blue: #2fb0df;
  --wood: #df4332;
  --shadow: 0 16px 42px rgba(30, 129, 168, .14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  line-height: 1.75;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-header {
  position: relative;
  top: 0;
  z-index: 10;
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 8px;
  padding: 10px clamp(12px, 4vw, 44px) 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-panels {
  display: grid;
  grid-template-columns: 468fr 187fr 255fr;
  width: min(910px, 100%);
  text-decoration: none;
  background: #fff;
}

.header-panels > * {
  display: block;
  min-width: 0;
}

.header-panels img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  padding: 6px 0 8px;
  border-top: 1px solid var(--line);
}

.nav a {
  padding: 8px 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
}

.nav .nav-cta {
  color: #fff;
  background: var(--green);
}

.hero {
  --hero-gutter: clamp(16px, 4vw, 44px);
  position: relative;
  display: grid;
  justify-items: center;
  gap: 30px;
  overflow: hidden;
  padding: 0 var(--hero-gutter) clamp(52px, 7vw, 88px);
  background: #06384d;
}

.hero-media-band {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: calc(100% + var(--hero-gutter) + var(--hero-gutter));
  margin-inline: calc(0px - var(--hero-gutter));
  padding-inline: var(--hero-gutter);
  background: #fff;
}

.hero-slideshow {
  position: relative;
  z-index: 1;
  width: min(910px, 100%);
  aspect-ratio: 910 / 300;
  overflow: hidden;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 16px 42px rgba(3, 39, 55, .24);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
}

.hero-slide.is-active img {
  animation: heroKenburns 4.5s linear both;
}

@keyframes heroKenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }

  25% {
    transform: scale(1.04) translate(-.5%, -.3%);
  }

  100% {
    transform: scale(1) translate(0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide img {
    animation: none;
  }
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(910px, 100%);
  margin: 0 auto;
  color: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--wood);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1c08a;
}

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

h1 {
  margin-bottom: 14px;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.12;
  font-weight: 800;
}

h2 {
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.25;
}

h3 {
  font-size: 20px;
  line-height: 1.35;
}

.hero p {
  max-width: 620px;
  font-size: 17px;
}

.hero .lead {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.18;
  font-weight: 800;
}

.hero-actions,
.site-footer nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-phrases {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-phrases span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 11px;
  color: #08384e;
  background: rgba(255, 255, 255, .88);
  font-size: 13px;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid currentColor;
  color: var(--green);
  background: var(--white);
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.promise-band {
  padding-bottom: 48px;
}

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

.promise-grid article {
  min-height: 210px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.promise-grid h3 {
  color: var(--green);
}

.promise-grid p {
  color: var(--muted);
}

.band,
.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.band.alt {
  width: 100%;
  padding-inline: max(16px, calc((100% - 1120px) / 2));
  background: #eaf7fb;
}

.section-head,
.page-title {
  max-width: 760px;
  margin-bottom: 28px;
}

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

.category-grid.compact {
  margin-bottom: 30px;
}

.category-tile {
  min-height: 172px;
  padding: 18px;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
}

.category-tile span {
  display: block;
  color: var(--green);
  font-weight: 800;
}

.category-tile strong {
  display: block;
  margin: 6px 0 10px;
  color: var(--blue);
  font-size: 22px;
}

.category-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.work-card {
  background: var(--white);
  border: 1px solid var(--line);
}

.work-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.work-card figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  background: #dfe7e3;
  overflow: hidden;
}

.work-card img {
  height: 100%;
  object-fit: cover;
}

.work-card-body {
  padding: 16px;
}

.tag {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 3px 8px;
  color: var(--green);
  background: #e7f6fb;
  font-size: 12px;
  font-weight: 800;
}

.work-card h3 {
  margin-bottom: 8px;
}

.work-card p,
.page-title p {
  color: var(--muted);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust-strip div {
  padding: 26px clamp(16px, 4vw, 40px);
  background: var(--white);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  color: var(--muted);
}

.breadcrumb {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.detail-head {
  max-width: 820px;
  margin-bottom: 24px;
}

.detail-head h1 {
  color: var(--ink);
  font-size: clamp(30px, 5vw, 54px);
}

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

.photo {
  position: relative;
  margin: 0;
  background: #dfe7e3;
  border: 1px solid var(--line);
  overflow: hidden;
}

.photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.legacy-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 22px 0 30px;
  background: var(--line);
}

.legacy-overview div {
  padding: 18px;
  background: var(--white);
}

.legacy-overview strong,
.legacy-overview span {
  display: block;
}

.legacy-overview strong {
  color: var(--green);
  font-size: 24px;
  line-height: 1.25;
}

.legacy-overview span {
  color: var(--muted);
  font-size: 14px;
}

.featured-case-links {
  margin-bottom: 36px;
  padding: 22px;
  background: #eef3f0;
  border: 1px solid var(--line);
}

.featured-case-links h2 {
  margin-bottom: 14px;
  font-size: 24px;
}

.featured-case-links div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.featured-case-links a,
.mini-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 9px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--green);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.legacy-case-section {
  margin-top: 44px;
}

.legacy-section-head {
  max-width: 760px;
  margin-bottom: 18px;
  border-top: 3px solid var(--green);
  padding-top: 14px;
}

.legacy-section-head h2 {
  margin-bottom: 6px;
  font-size: clamp(22px, 3vw, 30px);
}

.legacy-section-head p {
  color: var(--muted);
}

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

.legacy-case-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--white);
  border: 1px solid var(--line);
}

.legacy-photo-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.legacy-photo-pair.single {
  grid-template-columns: 1fr;
}

.legacy-photo-pair figure {
  position: relative;
  margin: 0;
  min-height: 170px;
  background: #dfe7e3;
  overflow: hidden;
}

.legacy-photo-pair img {
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.legacy-photo-pair figcaption {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 3px 8px;
  color: #fff;
  background: rgba(23, 34, 31, .86);
  font-size: 12px;
  font-weight: 800;
}

.legacy-case-body {
  padding: 16px;
}

.legacy-case-body h3 {
  margin-bottom: 8px;
}

.legacy-case-body p {
  color: var(--muted);
  font-size: 14px;
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.mini-tags span {
  min-height: 26px;
  background: #f6f8f6;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--green);
  font-weight: 800;
}

.detail .legacy-photo-pair {
  margin-bottom: 28px;
  border: 1px solid var(--line);
}

.detail .legacy-photo-pair figure {
  min-height: 260px;
}

.detail-tags {
  margin-bottom: 18px;
}

.detail-body,
.prose,
.contact-panel,
.price-grid > div,
.news-list article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
}

.detail-body h2 {
  margin-top: 22px;
  font-size: 24px;
}

.summary-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
}

.summary-list div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.summary-list dt {
  color: var(--muted);
}

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

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(16px, 4vw, 44px);
  color: #fff;
  background: #08384e;
}

.site-footer p {
  max-width: 620px;
  margin-bottom: 0;
  color: #d5eef7;
}

.site-footer a {
  color: #fff;
}

.footer-logo {
  width: 220px;
  max-width: 70vw;
  margin-bottom: 12px;
  background: #fff;
}

@media (max-width: 880px) {
  .site-header {
    align-items: center;
  }

  .nav {
    justify-content: center;
  }

  .category-grid,
  .promise-grid,
  .work-grid,
  .legacy-case-grid,
  .trust-strip,
  .price-grid,
  .news-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 8px 16px 0;
  }

  .header-panels {
    grid-template-columns: 187fr 255fr;
    max-width: 468px;
    margin: 0 auto;
  }

  .header-panel-home {
    grid-column: 1 / -1;
  }

  .nav a {
    padding-inline: 8px;
  }

  .hero-copy {
    padding: 0;
  }

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

  .hero-phrases {
    display: none;
  }

  .band,
  .page {
    padding: 42px 0;
  }

  .category-grid,
  .promise-grid,
  .work-grid,
  .legacy-overview,
  .legacy-case-grid,
  .legacy-photo-pair,
  .trust-strip,
  .photo-grid,
  .gallery-grid,
  .price-grid,
  .news-list {
    grid-template-columns: 1fr;
  }

  .contact-panel,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .summary-list div {
    grid-template-columns: 1fr;
  }
}
