:root {
  --bg: #f7f5ef;
  --bg-soft: #efe9dc;
  --ink: #1f3a5f;
  --ink-deep: #102640;
  --teal: #2f7f73;
  --teal-deep: #195b53;
  --gold: #d6b56d;
  --gold-deep: #b79044;
  --white: #ffffff;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(31, 58, 95, 0.14);
  --line-strong: rgba(31, 58, 95, 0.28);
  --shadow-soft: 0 28px 72px rgba(17, 38, 64, 0.12);
  --shadow-strong: 0 28px 80px rgba(8, 23, 39, 0.24);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100vw - 40px));
  --section-space: clamp(88px, 11vw, 140px);
  --font-body: "Avenir Next", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-display: "Hiragino Mincho ProN", "Yu Mincho", serif;
}

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

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: rgba(214, 181, 109, 0.35);
  color: var(--ink-deep);
}

.site-shell {
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(247, 245, 239, 0.78);
  border-bottom: 1px solid rgba(31, 58, 95, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  width: 64px;
  height: 64px;
}

.brand__logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-nav a {
  position: relative;
  color: rgba(31, 58, 95, 0.82);
  font-size: 0.92rem;
  letter-spacing: 0.05em;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--teal) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}

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

.site-header__cta {
  width: auto;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(31, 58, 95, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.menu-toggle__line {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    top 180ms ease;
}

.menu-toggle__line:nth-child(1) {
  top: calc(50% - 8px);
  transform: translateX(-50%);
}

.menu-toggle__line:nth-child(2) {
  top: 50%;
  transform: translate(-50%, -50%);
}

.menu-toggle__line:nth-child(3) {
  top: calc(50% + 8px);
  transform: translateX(-50%);
}

.menu-toggle.is-open .menu-toggle__line:nth-child(1) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle__line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle__line:nth-child(3) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(31, 58, 95, 0.08);
  background: rgba(247, 245, 239, 0.98);
  backdrop-filter: blur(18px);
}

.mobile-menu__inner {
  display: grid;
  gap: 16px;
  padding: 18px 0 24px;
}

.mobile-menu__nav {
  display: grid;
  gap: 10px;
}

.mobile-menu__nav a {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(31, 58, 95, 0.05);
  font-weight: 700;
}

.mobile-menu__cta {
  width: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 15px 24px;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1.2;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease,
    color 220ms ease,
    border-color 220ms ease;
}

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

.button--small {
  padding: 12px 18px;
  background: rgba(31, 58, 95, 0.07);
  color: var(--ink);
}

.button--accent {
  background: linear-gradient(135deg, var(--gold) 0%, #e5c786 100%);
  color: var(--ink-deep);
  box-shadow: 0 16px 32px rgba(214, 181, 109, 0.34);
}

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
}

.button--full {
  width: 100%;
}

.section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  scroll-margin-top: 100px;
}

.section + .section {
  border-top: 1px solid rgba(31, 58, 95, 0.06);
}

.layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.layer--background {
  z-index: 0;
  opacity: calc(var(--layer-background) / 3);
}

.layer--photo {
  z-index: 1;
  opacity: calc(var(--layer-photo) / 3);
}

.layer--overlay {
  z-index: 2;
  opacity: calc(var(--layer-overlay) / 3);
}

.layer--graphic {
  z-index: 3;
  opacity: calc(var(--layer-graphic) / 3);
}

.layer--content {
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
}

.section-label::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.section-label--light {
  color: rgba(255, 255, 255, 0.8);
}

.section-heading {
  position: relative;
  max-width: 780px;
  margin-bottom: 48px;
}

.section-heading--split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.services-panel {
  display: grid;
  gap: 24px;
}

.section-heading h2,
.section h1,
.philosophy-card h3,
.profile-card h4,
.contact-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.16;
  letter-spacing: 0.02em;
}

.section-heading h2 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
}

.section-intro {
  margin: 22px 0 0;
  max-width: 720px;
  font-size: 1.03rem;
  color: rgba(31, 58, 95, 0.76);
}

.section--hero {
  color: var(--white);
}

.section--hero .layer--background {
  background:
    radial-gradient(circle at 14% 18%, rgba(214, 181, 109, 0.34), transparent 28%),
    radial-gradient(circle at 86% 72%, rgba(47, 127, 115, 0.42), transparent 30%),
    linear-gradient(135deg, #122741 0%, #1f3a5f 42%, #24685f 100%);
}

.section--hero .layer--photo::before,
.section--hero .layer--photo::after {
  content: "";
  position: absolute;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.04) 100%),
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.32), transparent 28%),
    linear-gradient(145deg, rgba(214, 181, 109, 0.25) 0%, rgba(31, 58, 95, 0.22) 44%, rgba(47, 127, 115, 0.42) 100%);
}

.section--hero .layer--photo::before {
  top: 14%;
  right: 11%;
  width: min(34vw, 420px);
  aspect-ratio: 0.78;
  transform: rotate(-8deg);
}

.section--hero .layer--photo::after {
  right: 3%;
  bottom: 12%;
  width: min(17vw, 220px);
  aspect-ratio: 0.75;
  transform: rotate(8deg);
}

.section--hero .layer--overlay {
  background:
    linear-gradient(90deg, rgba(11, 26, 43, 0.72) 0%, rgba(11, 26, 43, 0.5) 42%, rgba(11, 26, 43, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
}

.section--hero .layer--graphic::before,
.section--hero .layer--graphic::after {
  content: "";
  position: absolute;
}

.section--hero .layer--graphic::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 88%);
}

.section--hero .layer--graphic::after {
  top: 16%;
  left: -10%;
  width: 58%;
  height: 1px;
  transform: rotate(-18deg);
  background: linear-gradient(90deg, transparent, rgba(214, 181, 109, 0.72), transparent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: calc(100vh - 84px);
  padding: clamp(76px, 10vw, 140px) 0;
}

.hero__copy {
  max-width: 760px;
}

.hero__copy h1 {
  max-width: 14ch;
  font-size: clamp(2.7rem, 5.4vw, 5.4rem);
  text-shadow: 0 10px 34px rgba(6, 15, 26, 0.24);
}

.hero__title-sub {
  display: inline-block;
  margin-top: 0.34em;
  font-size: 0.62em;
  line-height: 1.3;
  letter-spacing: 0.01em;
  opacity: 0.94;
}

.hero__lead {
  max-width: 620px;
  margin: 28px 0 0;
  font-size: clamp(1.04rem, 1.6vw, 1.22rem);
  color: rgba(255, 255, 255, 0.82);
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.hero__tags li {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
}

.section--services {
  padding: var(--section-space) 0;
}

.section--services .layer--background {
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 127, 115, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0));
}

.section--services .layer--overlay {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
}

.section--services .layer--graphic::before,
.section--philosophy .layer--graphic::before,
.section--about .layer--graphic::before,
.section--contact .layer--graphic::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 100%;
}

.section--services .layer--graphic::before {
  background:
    linear-gradient(135deg, transparent 0 62%, rgba(31, 58, 95, 0.08) 62% 64%, transparent 64%),
    radial-gradient(circle at 12% 24%, rgba(214, 181, 109, 0.18) 0 2px, transparent 2px 100%);
  background-size: 100% 100%, 28px 28px;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.slider-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(31, 58, 95, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.25rem;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.slider-button:hover,
.slider-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(47, 127, 115, 0.42);
}

.services-slider {
  display: grid;
  gap: 24px;
  --slider-columns: 3;
  --slider-gap: 20px;
}

.services-slider__viewport {
  overflow: hidden;
  padding: 4px 4px 18px;
  touch-action: pan-y;
}

.services-track {
  display: flex;
  gap: var(--slider-gap);
  align-items: stretch;
  will-change: transform;
}

.slider-item {
  flex: 0 0 calc((100% - (var(--slider-columns) - 1) * var(--slider-gap)) / var(--slider-columns));
  min-width: 0;
  height: auto;
}

.service-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0;
  min-height: 260px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-strong) 0%, rgba(255, 255, 255, 0.74) 100%);
  border: 1px solid rgba(31, 58, 95, 0.08);
  box-shadow: var(--shadow-soft);
}

.service-card,
.philosophy-card {
  height: 100%;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(47, 127, 115, 0.42), rgba(214, 181, 109, 0.28));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
}

.service-card__image {
  margin: 0 0 20px;
  aspect-ratio: 16 / 10;
  min-height: 188px;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(31, 58, 95, 0.16), rgba(47, 127, 115, 0.2));
  border: 1px solid rgba(31, 58, 95, 0.08);
}

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

.slider-item--clone {
  pointer-events: none;
}

.service-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(31, 58, 95, 0.08);
  color: var(--teal);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-card h3 {
  margin: 20px 0 14px;
  font-size: 1.5rem;
}

.service-card p {
  margin: 0;
  color: rgba(31, 58, 95, 0.76);
}

.slider-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(31, 58, 95, 0.18);
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    width 180ms ease;
}

.slider-dot.is-active {
  width: 32px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--gold) 100%);
}

.section--philosophy {
  padding: var(--section-space) 0;
}

.section--philosophy .layer--background {
  background:
    radial-gradient(circle at 8% 18%, rgba(214, 181, 109, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(31, 58, 95, 0.03), rgba(31, 58, 95, 0.07));
}

.section--philosophy .layer--overlay {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
}

.section--philosophy .layer--graphic::before {
  background:
    radial-gradient(circle at 84% 20%, rgba(47, 127, 115, 0.16) 0, rgba(47, 127, 115, 0.16) 20%, transparent 20%),
    linear-gradient(90deg, transparent 0 78%, rgba(31, 58, 95, 0.08) 78% 79%, transparent 79%);
  background-size: 340px 340px, 100% 100%;
}

.philosophy-stack {
  display: grid;
  gap: 28px;
}

.philosophy-group {
  display: grid;
  gap: 16px;
}

.philosophy-group__heading {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.philosophy-group__copy {
  display: grid;
  gap: 8px;
}

.philosophy-group__heading--split {
  justify-content: space-between;
  align-items: end;
}

.philosophy-group__intro {
  margin: 0;
  color: rgba(31, 58, 95, 0.72);
  font-family: var(--font-body);
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
}

.philosophy-row {
  display: grid;
  gap: 16px;
}

.philosophy-row--mission {
  grid-template-columns: 1fr;
}

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

.philosophy-row--value {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.value-slider {
  gap: 20px;
  --slider-columns: 3;
}

.value-track {
  align-items: stretch;
}

.philosophy-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.philosophy-card__label {
  margin: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  letter-spacing: 0.14em;
  font-weight: 700;
}

.philosophy-card h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.9rem);
}

.philosophy-card p {
  margin: 14px 0 0;
  color: rgba(31, 58, 95, 0.78);
}

.philosophy-card--mission {
  color: var(--white);
  background:
    radial-gradient(circle at 84% 16%, rgba(214, 181, 109, 0.26), transparent 24%),
    linear-gradient(150deg, var(--ink-deep) 0%, var(--ink) 64%, #285062 100%);
}

.philosophy-card--mission p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 64ch;
}

.philosophy-card--vision {
  background:
    radial-gradient(circle at 84% 74%, rgba(47, 127, 115, 0.5), transparent 32%),
    radial-gradient(circle at 28% 28%, rgba(47, 127, 115, 0.22), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.99) 0%, rgba(224, 241, 237, 0.97) 48%, rgba(196, 226, 219, 0.96) 100%);
  border: 1px solid rgba(31, 58, 95, 0.08);
}

.philosophy-card--value {
  height: 100%;
  background:
    linear-gradient(180deg, rgba(214, 181, 109, 0.28), rgba(255, 255, 255, 0.9)),
    var(--white);
  border: 1px solid rgba(31, 58, 95, 0.08);
}

.philosophy-row--vision .philosophy-card h3 {
  font-size: clamp(1.35rem, 1.5vw, 1.65rem);
}

.philosophy-row--value .philosophy-card {
  padding: 20px 18px;
}

.philosophy-row--value .philosophy-card h3 {
  font-size: clamp(1rem, 1vw, 1.18rem);
}

.philosophy-row--value .philosophy-card p {
  font-size: 0.86rem;
  line-height: 1.65;
}

.section--about {
  padding: var(--section-space) 0;
}

.section--about .layer--background {
  background:
    radial-gradient(circle at 18% 14%, rgba(47, 127, 115, 0.12), transparent 24%),
    radial-gradient(circle at 88% 80%, rgba(214, 181, 109, 0.18), transparent 28%);
}

.section--about .layer--photo::before,
.section--about .layer--photo::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
}

.section--about .layer--photo::before {
  top: 20%;
  left: -5%;
  width: 260px;
  height: 480px;
  background: linear-gradient(180deg, rgba(31, 58, 95, 0.18), rgba(47, 127, 115, 0.1));
}

.section--about .layer--photo::after {
  right: 4%;
  bottom: 8%;
  width: 200px;
  height: 380px;
  background: linear-gradient(180deg, rgba(214, 181, 109, 0.2), rgba(31, 58, 95, 0.06));
}

.section--about .layer--overlay {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
}

.section--about .layer--graphic::before {
  background:
    linear-gradient(90deg, transparent 0 14%, rgba(31, 58, 95, 0.08) 14% 15%, transparent 15%),
    linear-gradient(0deg, transparent 0 82%, rgba(47, 127, 115, 0.08) 82% 83%, transparent 83%);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 24px;
}

.about-layout__profiles,
.about-layout__company {
  position: relative;
  padding: 30px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--surface-strong), rgba(255, 255, 255, 0.74));
  border: 1px solid rgba(31, 58, 95, 0.08);
  box-shadow: var(--shadow-soft);
}

.about-block__header {
  margin-bottom: 22px;
}

.about-block__header h3 {
  margin: 0;
  font-size: 1.45rem;
}

.about-block__header p {
  margin: 10px 0 0;
  color: rgba(31, 58, 95, 0.72);
}

.company-visual {
  margin: 0 0 24px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(31, 58, 95, 0.16), rgba(47, 127, 115, 0.22));
  border: 1px solid rgba(31, 58, 95, 0.08);
  box-shadow: 0 18px 42px rgba(17, 38, 64, 0.12);
}

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

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

.profile-card {
  display: grid;
  align-content: start;
  gap: 0;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(31, 58, 95, 0.08);
}

.profile-card__photo {
  margin: 0 0 18px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(31, 58, 95, 0.16), rgba(47, 127, 115, 0.2));
  border: 1px solid rgba(31, 58, 95, 0.08);
}

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

.profile-card__role {
  display: inline-flex;
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.profile-card h4 {
  font-size: 1.42rem;
}

.profile-card p:last-child {
  color: rgba(31, 58, 95, 0.76);
}

.company-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.company-list__row {
  display: grid;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.company-list__row:last-child {
  border-bottom: 0;
}

.company-list dt {
  color: rgba(31, 58, 95, 0.56);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.company-list dd {
  margin: 0;
  font-size: 1rem;
}

.section--contact {
  color: var(--white);
  padding: var(--section-space) 0;
}

.section--contact .layer--background {
  background:
    radial-gradient(circle at 10% 14%, rgba(214, 181, 109, 0.32), transparent 24%),
    radial-gradient(circle at 84% 72%, rgba(47, 127, 115, 0.36), transparent 28%),
    linear-gradient(145deg, #132843 0%, #1f3a5f 42%, #21574f 100%);
}

.section--contact .layer--overlay {
  background: linear-gradient(180deg, rgba(6, 15, 26, 0.16), rgba(6, 15, 26, 0.36));
}

.section--contact .layer--graphic::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 32% 42%, black, transparent 78%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
  gap: 28px;
  align-items: start;
}

.contact-copy h2 {
  max-width: none;
  font-size: clamp(1.95rem, 3.5vw, 3.1rem);
  line-height: 1.22;
}

.contact-copy p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.contact-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin-top: 30px;
  padding: 0 0 0 20px;
  color: rgba(255, 255, 255, 0.88);
}

.contact-points li {
  font-size: 0.96rem;
}

.contact-form {
  padding: 30px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88));
  box-shadow: var(--shadow-strong);
  color: var(--ink);
}

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

.form-field {
  display: grid;
  gap: 10px;
}

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

.form-field span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

.form-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-style: normal;
  line-height: 1;
}

.form-meta--required {
  background: rgba(214, 181, 109, 0.22);
  color: var(--gold-deep);
}

.form-meta--optional {
  background: rgba(31, 58, 95, 0.08);
  color: rgba(31, 58, 95, 0.7);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(31, 58, 95, 0.14);
  border-radius: 16px;
  padding: 15px 16px;
  background: rgba(247, 245, 239, 0.72);
  color: var(--ink);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(47, 127, 115, 0.62);
  box-shadow: 0 0 0 4px rgba(47, 127, 115, 0.12);
  background: rgba(255, 255, 255, 0.96);
}

.contact-form .button {
  margin-top: 24px;
}

.site-footer {
  background: #122741;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.site-footer__brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
}

.site-footer__text,
.site-footer__copy {
  margin: 6px 0 0;
  font-size: 0.92rem;
}

.site-footer__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer__nav a:not(.button) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.site-footer__cta {
  width: auto;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__copy {
  margin: 0;
  white-space: nowrap;
}

.service-card,
.philosophy-card,
.about-layout__profiles,
.about-layout__company,
.contact-form {
  animation: fade-up 700ms ease both;
}

.service-card:nth-child(2),
.philosophy-row--vision .philosophy-card:nth-child(2),
.philosophy-row--value .philosophy-card:nth-child(2) {
  animation-delay: 80ms;
}

.service-card:nth-child(3),
.philosophy-row--vision .philosophy-card:nth-child(3),
.philosophy-row--value .philosophy-card:nth-child(3) {
  animation-delay: 160ms;
}

.service-card:nth-child(4),
.philosophy-row--value .philosophy-card:nth-child(4) {
  animation-delay: 120ms;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .services-slider,
  .value-slider {
    --slider-columns: 2;
  }

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

  .site-header__inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }
}

@media (max-width: 860px) {
  .form-grid,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu.is-open {
    display: block;
  }

  .section-heading--split,
  .philosophy-group__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .philosophy-group__heading--vision {
    justify-content: flex-start;
    gap: 8px;
  }

  .philosophy-group__heading--split {
    min-height: 136px;
    justify-content: space-between;
  }

  .philosophy-row--vision,
  .philosophy-row--value {
    grid-template-columns: 1fr;
  }

  .services-slider,
  .value-slider {
    --slider-columns: 1;
  }

  .philosophy-card--value {
    padding: 18px 16px;
  }

  .contact-points {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100vw - 28px, 100%);
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

  .hero__copy h1 {
    font-size: clamp(2.3rem, 12vw, 4rem);
  }

  .hero__title-sub {
    margin-top: 0.48em;
    font-size: 0.46em;
    line-height: 1.4;
  }

  .contact-copy h2 {
    font-size: clamp(1.55rem, 6.6vw, 2.2rem);
    max-width: none;
    line-height: 1.28;
  }

  .contact-copy__desktop-break {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 88px 0 96px;
  }

  .hero__actions,
  .hero__tags {
    flex-direction: column;
    align-items: stretch;
  }

  .brand__logo {
    width: 100%;
    height: 100%;
  }

  .site-header__inner {
    min-height: 64px;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .site-header__actions {
    margin-left: auto;
    gap: 8px;
    flex: 0 0 auto;
  }

  .brand {
    width: 52px;
    height: 52px;
  }

  .site-header__cta {
    padding: 10px 12px;
    font-size: 0.78rem;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .slider-controls {
    width: 100%;
    justify-content: flex-end;
  }

  .slider-button {
    width: 48px;
    height: 48px;
  }

  .philosophy-row--value .philosophy-card h3 {
    font-size: 1.04rem;
  }

  .philosophy-row--value .philosophy-card p {
    font-size: 0.83rem;
    line-height: 1.58;
  }

  .hero__actions .button,
  .contact-form .button,
  .mobile-menu__cta {
    width: 100%;
  }

  .about-layout__profiles,
  .about-layout__company,
  .contact-form {
    width: 100%;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__nav {
    justify-content: flex-start;
  }

  .site-footer__nav a:not(.button) {
    font-size: 0.86rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
