:root {
  --navy: #17395b;
  --navy-deep: #0f2942;
  --navy-muted: #2d506f;
  --orange: #b85b29;
  --paper: #f3f2ed;
  --white: #fff;
  --ink: #17232e;
  --muted: #59636c;
  --line: #cfd4d7;
  --line-dark: #8d9ba6;
  --max: 1120px;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

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

.shell {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.55rem 0.9rem;
  background: var(--white);
  color: var(--navy);
  transform: translateY(-150%);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.utility-bar {
  color: #dfe7ee;
  background: var(--navy-deep);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.utility-inner {
  min-height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.utility-inner p {
  margin: 0;
}

.utility-inner a {
  text-decoration: none;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  padding-left: 1.25rem;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(243, 242, 237, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.masthead {
  min-height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--navy-deep);
  text-decoration: none;
}

.brand-mark {
  width: 2.75rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-bottom: 4px solid var(--orange);
  font-family: Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.12em;
}

.brand-copy small {
  margin-top: 0.38rem;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.3vw, 2rem);
}

.primary-nav a {
  position: relative;
  padding-block: 0.55rem;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

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

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

.nav-toggle {
  display: none;
}

.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(23, 57, 91, 0.055) 49.8%, rgba(23, 57, 91, 0.055) 50.2%, transparent 50.2%),
    linear-gradient(rgba(23, 57, 91, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 100%, 100% 36px, auto;
}

.hero-grid {
  min-height: 39rem;
  display: grid;
  grid-template-columns: minmax(0, 0.87fr) minmax(0, 1.25fr);
  align-items: stretch;
  gap: clamp(2rem, 5vw, 5.75rem);
}

.hero-copy {
  align-self: center;
  padding-block: 5rem;
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--orange);
  font-family: Arial, sans-serif;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.hero h1 {
  margin: 0;
  color: var(--navy-deep);
  font-family: var(--serif);
  font-size: clamp(2.75rem, 4.7vw, 5.25rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.27;
  white-space: nowrap;
}

.hero-lead {
  max-width: 32rem;
  margin: 2rem 0 1.75rem;
  color: #344450;
  font-size: 1.04rem;
  line-height: 2.1;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding-block: 0.35rem;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  color: var(--orange);
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(0.3rem);
}

.hero-figure {
  position: relative;
  min-height: 33rem;
  margin: 0;
}

.hero-figure::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 41, 66, 0.08), transparent 40%);
  content: "";
  pointer-events: none;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.74) contrast(1.05);
}

.hero-figure figcaption,
.product-figure figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.45rem 0.7rem;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(15, 41, 66, 0.8);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.section {
  padding-block: clamp(5.5rem, 9vw, 8.5rem);
}

.section-number {
  display: inline-block;
  margin: 0 0 0.8rem;
  padding-bottom: 0.2rem;
  color: var(--navy);
  border-bottom: 2px solid var(--orange);
  font-family: Georgia, serif;
  font-size: 0.85rem;
  font-weight: 700;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy-deep);
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.5vw, 3.55rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(15rem, 0.8fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 8vw, 8.5rem);
}

.prose > p {
  margin: 0 0 1.4rem;
}

.lead-copy {
  color: var(--navy-deep);
  font-family: var(--serif);
  font-size: 1.38rem;
  font-weight: 600;
  line-height: 1.9;
}

.principles {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.principles div {
  padding: 1.2rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border-right: 1px solid var(--line);
}

.principles div:last-child {
  border-right: 0;
}

.principles strong {
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 0.76rem;
}

.principles span {
  font-size: 0.86rem;
  font-weight: 700;
}

.services {
  color: #eaf0f4;
  background: var(--navy-deep);
}

.services .section-heading h2,
.services .section-number {
  color: var(--white);
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.section-heading-row > p {
  max-width: 32rem;
  margin: 0 0 0.4rem;
  color: inherit;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
}

.service-card {
  min-height: 23rem;
  padding: 2.1rem clamp(1.25rem, 2.6vw, 2.3rem) 2.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.19);
}

.service-card:last-child {
  border-right: 0;
}

.card-number {
  margin: 0 0 2.4rem;
  color: #9fb0be;
  font-family: Georgia, serif;
  font-size: 0.75rem;
}

.service-icon {
  width: 4.25rem;
  height: 4.25rem;
  margin-bottom: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.service-icon svg {
  width: 2.3rem;
  fill: none;
  stroke: #e9eff4;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.6;
}

.service-card h3 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.service-card p:last-child {
  margin: 0;
  color: #bcc9d2;
  font-size: 0.92rem;
}

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

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(20rem, 0.97fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 6.5rem);
}

.product-figure {
  position: relative;
  margin: 0;
}

.product-figure::before {
  position: absolute;
  z-index: 1;
  inset: 1rem -1rem -1rem 1rem;
  border: 1px solid var(--line-dark);
  content: "";
  pointer-events: none;
}

.product-figure img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.04);
}

.product-figure figcaption {
  z-index: 3;
}

.product-copy > p:not(.section-number, .eyebrow, .note) {
  margin: 1.7rem 0 2rem;
}

.product-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.product-list li {
  min-height: 4.6rem;
  display: grid;
  grid-template-columns: 2.8rem 1fr 1.25fr;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.product-list span {
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 0.77rem;
}

.product-list strong {
  font-family: var(--serif);
  letter-spacing: 0.04em;
}

.product-list small {
  color: var(--muted);
  font-size: 0.78rem;
}

.note {
  margin: 1.3rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.process {
  background:
    linear-gradient(rgba(23, 57, 91, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 57, 91, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 36px 36px;
}

.process-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  counter-reset: flow;
  list-style: none;
}

.process-list li {
  position: relative;
  min-height: 13rem;
  padding: 2.1rem 2rem;
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 1.15rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line-dark);
  border-right: 0;
}

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

.process-list li:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -0.58rem;
  width: 1rem;
  height: 1rem;
  background: var(--paper);
  border-top: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.process-list > li > span {
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 1.6rem;
  line-height: 1;
}

.process-list strong {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--navy-deep);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.profile-layout {
  display: grid;
  grid-template-columns: minmax(13rem, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.profile-table {
  border-top: 2px solid var(--navy);
}

.profile-table [role="row"] {
  min-height: 4.65rem;
  display: grid;
  grid-template-columns: 11rem 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.profile-table [role="rowheader"] {
  padding: 1rem 1.25rem;
  color: var(--navy-deep);
  font-weight: 700;
}

.profile-table [role="cell"] {
  padding: 1rem 1.25rem;
}

.contact {
  padding-block: clamp(4.5rem, 7vw, 6.5rem);
  color: var(--white);
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4rem;
}

.contact h2 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.2vw, 3.25rem);
  letter-spacing: 0.08em;
}

.contact p {
  margin: 0;
  color: #d0dbe4;
}

.contact-address {
  min-width: min(29rem, 42vw);
  padding: 2rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.contact-address small {
  display: block;
  color: #aebfcd;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
}

.contact-address a {
  display: inline-block;
  margin-block: 0.35rem;
  font-family: Arial, sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 700;
  text-decoration: none;
}

.contact-address p {
  color: #b8c6d0;
  font-size: 0.76rem;
}

.site-footer {
  color: #ccd6de;
  background: var(--navy-deep);
}

.footer-main {
  padding-block: 3.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.brand-footer {
  color: var(--white);
}

.brand-footer .brand-mark {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: 4px solid var(--orange);
}

.brand-footer .brand-copy small {
  color: #aab8c3;
}

.footer-meta {
  text-align: right;
}

.footer-meta p {
  margin: 0.2rem 0;
  font-size: 0.77rem;
}

.footer-bottom {
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  font-size: 0.75rem;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid #df8b59;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .shell {
    width: min(calc(100% - 2.25rem), var(--max));
  }

  .masthead {
    min-height: 5rem;
  }

  .nav-toggle {
    width: 3rem;
    height: 3rem;
    padding: 0.75rem;
    display: grid;
    align-content: center;
    gap: 0.32rem;
    background: transparent;
    border: 1px solid var(--line-dark);
    cursor: pointer;
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    background: var(--navy);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(0.41rem) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(4) {
    transform: translateY(-0.41rem) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    z-index: 99;
    top: 7.25rem;
    right: 0;
    left: 0;
    height: calc(100vh - 7.25rem);
    padding: 1rem 1.125rem 2rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line-dark);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid var(--line);
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-copy {
    padding-block: 4.5rem 3.5rem;
  }

  .hero-figure {
    min-height: 27rem;
    margin-inline: calc((100vw - 100%) / -2);
  }

  .split-heading,
  .product-layout,
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .product-copy {
    order: -1;
  }

  .service-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.19);
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .process-list li {
    min-height: auto;
    border-right: 1px solid var(--line-dark);
    border-bottom: 0;
  }

  .process-list li:last-child {
    border-bottom: 1px solid var(--line-dark);
  }

  .process-list li:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -0.58rem;
    transform: translateX(50%) rotate(135deg);
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-address {
    min-width: 0;
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 6rem;
  }

  body {
    line-height: 1.78;
  }

  .shell {
    width: min(calc(100% - 2rem), var(--max));
  }

  .utility-bar {
    display: none;
  }

  .primary-nav {
    top: 5rem;
    height: calc(100vh - 5rem);
  }

  .brand-copy strong {
    font-size: 1.18rem;
  }

  .brand-copy small {
    font-size: 0.61rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.3rem);
    letter-spacing: 0.055em;
  }

  .hero-figure {
    min-height: 21rem;
  }

  .section-heading-row {
    align-items: start;
    flex-direction: column;
    gap: 1.25rem;
  }

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

  .principles div {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principles div:last-child {
    border-bottom: 0;
  }

  .product-figure::before {
    inset: 0.65rem -0.5rem -0.65rem 0.5rem;
  }

  .product-list li {
    grid-template-columns: 2.4rem 1fr;
    padding-block: 0.85rem;
  }

  .product-list small {
    grid-column: 2;
  }

  .profile-table [role="row"] {
    padding-block: 0.85rem;
    grid-template-columns: 1fr;
  }

  .profile-table [role="rowheader"],
  .profile-table [role="cell"] {
    padding: 0.2rem 0;
  }

  .profile-table [role="rowheader"] {
    font-size: 0.85rem;
  }

  .contact-address {
    padding: 1.4rem 1.2rem;
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
