:root {
  --bg: #f3f1ed;
  --bg-elevated: #ffffff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #1f1f1f;
  --text-soft: #616161;
  --line: rgba(31, 31, 31, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 30px 80px rgba(0, 0, 0, 0.18);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --hero-image: linear-gradient(rgba(10, 10, 10, 0.36), rgba(10, 10, 10, 0.36)), url("./images/hero-main.jpg");
  --font-sans: "Avenir Next", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-serif: "Times New Roman", "Georgia", serif;
}

body[data-theme="dark"] {
  --bg: #111111;
  --bg-elevated: #171717;
  --surface: rgba(24, 24, 24, 0.78);
  --surface-strong: #1f1f1f;
  --text: #f2f2f2;
  --text-soft: #b7b7b7;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(0, 0, 0, 0.05), transparent 28%),
    linear-gradient(180deg, var(--bg), var(--bg));
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
  transition:
    background-color 200ms var(--ease-out),
    color 200ms var(--ease-out);
}

body.modal-open {
  overflow: hidden;
}

a,
button {
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  transition:
    background-color 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out),
    backdrop-filter 200ms var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(14, 14, 14, 0.74);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.utility-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-inner,
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.utility-inner {
  min-height: 42px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
}

.utility-inner p {
  margin: 0;
}

.utility-actions {
  display: flex;
  gap: 8px;
}

.chip {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
}

.chip.is-active {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.header-inner {
  min-height: 82px;
}

.brand {
  font-family: var(--font-sans);
  font-size: 1.18rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #ffffff;
}

.menu-button {
  display: none;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
}

.site-nav a {
  position: relative;
  padding-bottom: 5px;
}

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

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

.photo-panel {
  background-image: var(--panel-image, var(--hero-image));
  background-size: 108%;
  background-position:
    var(--bg-pos-x, center) calc(var(--bg-pos-y, 50%) + var(--parallax-y, 0px));
  transition: background-position 120ms linear;
}

.hero {
  position: relative;
  min-height: 900px;
  display: flex;
  align-items: center;
  overflow: clip;
  --panel-image: var(--hero-image);
  --bg-pos-x: center;
  --bg-pos-y: 50%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 12% auto auto -8%;
  width: min(38vw, 460px);
  height: min(38vw, 460px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 68%);
  filter: blur(16px);
  opacity: 0.38;
  animation: ambient-float 12s ease-in-out infinite;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.56) 0%, rgba(0, 0, 0, 0.12) 52%, rgba(0, 0, 0, 0.62) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 50%, rgba(0, 0, 0, 0.34));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 148px;
  padding-bottom: 94px;
  color: #ffffff;
}

.hero-content>* {
  opacity: 0;
  animation: hero-rise 900ms var(--ease-out) forwards;
}

.hero-content>*:nth-child(1) {
  animation-delay: 120ms;
}

.hero-content>*:nth-child(2) {
  animation-delay: 220ms;
}

.hero-content>*:nth-child(3) {
  animation-delay: 320ms;
}

.hero-content>*:nth-child(4) {
  animation-delay: 420ms;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.split-content h2 {
  margin: 0;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(3rem, 8vw, 6.6rem);
}

.hero-copy {
  max-width: 560px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 2;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  margin-top: 18px;
  padding: 15px 26px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  transition:
    transform 180ms var(--ease-out),
    background-color 180ms var(--ease-out),
    color 180ms var(--ease-out),
    border-color 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.button-light:hover,
.button-light:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.26);
  background: transparent;
  color: #ffffff;
}

.news-ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elevated);
}

.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  padding: 18px 0;
  white-space: nowrap;
  animation: ticker-slide 26s linear infinite;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.news-ticker:hover .ticker-track {
  animation-play-state: paused;
}

.section {
  padding: 108px 0;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 44px;
}

.heading-stack {
  position: relative;
  display: inline-block;
  padding: 24px 0 18px;
  width: 100%;
}

.section-heading h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(2rem, 4vw, 4.5rem);
}

.section-heading-about {
  margin-bottom: 34px;
}

.section-heading-about .heading-stack {
  display: block;
}

.section-heading-about h2 {
  white-space: nowrap;
  font-size: clamp(1.8rem, 3.6vw, 4rem);
  max-width: max-content;
}

.section-about {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0)),
    var(--bg);
}

.section-bridge {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin: -48px 0 -58px;
  pointer-events: none;
}

.section-bridge-word {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(5.2rem, 12vw, 9.5rem);
  letter-spacing: 0.08em;
  line-height: 0.82;
  color: rgba(200, 200, 194, 0.18);
  user-select: none;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 38px;
  align-items: stretch;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.about-copy p {
  margin: 0 0 18px;
  color: var(--text-soft);
  line-height: 2;
}

.about-copy {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.about-actions {
  display: grid;
  gap: 24px;
  margin-top: 30px;
}

.button-about {
  position: relative;
  min-width: 190px;
  padding: 18px 30px;
  border-color: rgba(31, 31, 31, 0.12);
  background:
    linear-gradient(135deg, #1c1c1c, #4a4a4a);
  color: #ffffff;
  box-shadow:
    0 18px 35px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button-about:hover,
.button-about:focus-visible {
  background:
    linear-gradient(135deg, #111111, #5e5e5e);
  box-shadow:
    0 24px 42px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

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

.stats-grid article {
  position: relative;
  padding: 28px 24px 24px;
  border: 1px solid rgba(31, 31, 31, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 246, 242, 0.92));
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  overflow: hidden;
  transition:
    transform 500ms var(--ease-out),
    box-shadow 500ms var(--ease-out),
    border-color 500ms var(--ease-out);
}

.stats-grid article:hover {
  transform: translateY(-8px);
  box-shadow:
    0 32px 52px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.stats-grid article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #161616, rgba(22, 22, 22, 0.18));
}

.stats-grid strong {
  display: block;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 10px;
  color: var(--text-soft);
}

body[data-theme="dark"] .stats-grid article {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(38, 38, 38, 0.96), rgba(24, 24, 24, 0.96));
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body[data-theme="dark"] .stats-grid article::before {
  background: linear-gradient(90deg, rgba(201, 181, 124, 0.92), rgba(201, 181, 124, 0.18));
}

body[data-theme="dark"] .stats-grid strong {
  color: #f8f4ea;
}

body[data-theme="dark"] .stats-grid span {
  color: rgba(255, 255, 255, 0.74);
}

.about-media {
  position: relative;
  min-height: 0;
  width: 480px;
  height: 480px;
  background-image: url("./images/about-left.jpg");
  background-size: cover;
  align-self: center;
  justify-self: center;
  border-radius: 0;
  overflow: hidden;
  background-position: 50% calc(50% + 12px + var(--parallax-y, 0px));
  box-shadow: var(--shadow-strong);
  transition:
    transform 700ms var(--ease-out),
    box-shadow 700ms var(--ease-out),
    background-position 120ms linear;
}

.about-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.42)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 38%);
}

.about-media-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(10px);
  color: #ffffff;
}

.about-media:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 44px 90px rgba(0, 0, 0, 0.22);
}

.about-media-card p,
.about-media-card strong {
  margin: 0;
}

.about-media-card p {
  margin-bottom: 6px;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.about-media-card strong {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

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

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

.work-card,
.service-card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition:
    transform 600ms var(--ease-out),
    box-shadow 600ms var(--ease-out),
    border-color 600ms var(--ease-out);
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.work-card::after,
.service-card::after,
.strength-item::after {
  content: "";
  position: absolute;
  inset: -30% auto auto -120%;
  width: 80%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: rotate(18deg);
  opacity: 0;
  transition:
    transform 900ms var(--ease-out),
    opacity 900ms var(--ease-out);
}

.work-media,
.service-image {
  aspect-ratio: 16 / 10;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.16)),
    url("./web.jpg");
  background-size: cover;
  filter: grayscale(1);
  transition:
    transform 800ms var(--ease-out),
    filter 600ms var(--ease-out),
    background-position 120ms linear;
}

.image-left {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.16)),
    url("./images/works-01.jpg");
}

.image-center {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.16)),
    url("./images/works-02.jpg");
}

.image-right {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.16)),
    url("./images/works-03.jpg");
}

.image-phone {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.16)),
    url("./images/service-01.jpg");
}

.image-meeting {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.16)),
    url("./images/service-02.jpg");
}

.image-work {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.16)),
    url("./images/service-03.jpg");
}

.image-left,
.image-phone {
  background-position: left bottom;
}

.image-center,
.image-meeting {
  background-position: center;
}

.image-right,
.image-work {
  background-position: right bottom;
}

.work-card:hover,
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 34px 62px rgba(0, 0, 0, 0.14);
}

.work-card:hover::after,
.service-card:hover::after,
.strength-item:hover::after {
  opacity: 1;
  transform: translateX(190%) rotate(18deg);
}

.work-card:hover .work-media,
.service-card:hover .service-image {
  transform: scale(1.06);
  filter: grayscale(0.15);
}

.work-body,
.service-body {
  margin-left: 24px;
  margin-right: 24px;
}

.work-body {
  padding-bottom: 28px;
}

.service-body {
  padding-bottom: 28px;
}

.work-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 10px;
  white-space: nowrap;
}

.work-index {
  margin: 0;
  color: rgba(201, 181, 124, 0.78);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
}

.work-catch {
  margin: 0;
  color: rgba(201, 181, 124, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}

.work-body h3 {
  margin-top: 0;
}

.work-card h3,
.service-body h3,
.strength-item h3 {
  margin: 0 0 12px;
  font-size: 1.12rem;
}

.work-card p:last-child,
.service-body p,
.strength-item p:last-child,
.split-content p:last-of-type,
.footer-copy {
  color: var(--text-soft);
  line-height: 1.95;
}

.section-services {
  background: var(--bg);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.service-body h3 {
  margin-top: 24px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.service-body h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 181, 124, 0.78), rgba(201, 181, 124, 0));
}

.service-body p {
  margin-top: 0;
  margin-bottom: 30px;
}

.service-image {
  width: 100%;
  flex-shrink: 0;
}

.section-strengths {
  background: var(--bg-elevated);
}

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

.strength-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 26px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  align-items: start;
  position: relative;
  overflow: hidden;
  transition:
    transform 600ms var(--ease-out),
    box-shadow 600ms var(--ease-out),
    border-color 600ms var(--ease-out);
}

.strength-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 56px rgba(0, 0, 0, 0.12);
}

.strength-no {
  margin: 0;
  position: relative;
  color: rgba(22, 22, 22, 0.86);
  font-family: var(--font-sans);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.strength-no::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, rgba(22, 22, 22, 0.7), rgba(22, 22, 22, 0));
}

body[data-theme="dark"] .strength-no {
  color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .strength-no::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
}

.section-company {
  position: relative;
  overflow: hidden;
  background: url("./images/company.jpg");
  background-size: cover;
  background-position: center;
}

.section-company::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.06)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.section-company .container {
  position: relative;
  z-index: 1;
}

.section-company .section-label,
.section-company .section-heading h2 {
  color: #ffffff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.34);
}

.company-card {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}

.company-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 26px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

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

.company-row dt {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
  transform: translateX(30px);
}

.company-row dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.95;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.32);
  transform: translateX(30px);
}

.company-row address {
  font-style: normal;
  color: inherit;
}

.company-list {
  margin: 0;
  padding-left: 1.2rem;
}

.company-list li+li {
  margin-top: 6px;
}

body[data-theme="dark"] .company-card {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(8px);
}

body[data-theme="dark"] .company-row {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

body[data-theme="dark"] .company-row dt {
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.34);
}

body[data-theme="dark"] .company-row dd {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.34);
}

body[data-theme="dark"] .section-company {
  background: url("./images/company.jpg");
  background-size: cover;
  background-position: center;
}

body[data-theme="dark"] .section-company::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.1)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.26));
}

.split-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split-card {
  position: relative;
  min-height: 360px;
  overflow: clip;
  background-size: 114%;
  transition: background-position 120ms linear;
}

.split-card-partner {
  --panel-image: linear-gradient(rgba(18, 18, 18, 0.2), rgba(18, 18, 18, 0.2)), url("./images/partner.jpg");
  --bg-pos-x: 42%;
  --bg-pos-y: 50%;
}

.split-card-contact {
  --panel-image: linear-gradient(rgba(18, 18, 18, 0.18), rgba(18, 18, 18, 0.18)), url("./images/contact.jpg");
  --bg-pos-x: 62%;
  --bg-pos-y: 50%;
}

.split-overlay,
.footer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.26), rgba(0, 0, 0, 0.3));
}

.split-overlay.dark {
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.34));
}

.split-content,
.footer-content {
  position: relative;
  z-index: 1;
}

.split-content {
  padding: 62px min(5vw, 54px);
  color: #ffffff;
}

.split-content>* {
  transition: transform 500ms var(--ease-out);
}

.split-card:hover .split-content>* {
  transform: translateY(-4px);
}

.split-content h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  margin-bottom: 18px;
}

.split-content p:last-of-type {
  max-width: 440px;
  color: rgba(255, 255, 255, 0.82);
}

.inverse {
  color: #ffffff;
}

.site-footer {
  position: relative;
  --panel-image: linear-gradient(rgba(10, 10, 10, 0.42), rgba(10, 10, 10, 0.68)), url("./images/contact.jpg");
  --bg-pos-x: center;
  --bg-pos-y: 60%;
}

.footer-content {
  min-height: 250px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding-top: 90px;
  padding-bottom: 44px;
  color: #ffffff;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 12px;
}

.footer-copy {
  max-width: 460px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 220ms var(--ease-out),
    visibility 220ms var(--ease-out);
}

.contact-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.58);
  backdrop-filter: blur(10px);
}

.contact-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(245, 244, 240, 0.98));
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.24);
}

.contact-modal-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.contact-modal-label {
  margin: 0 0 8px;
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-modal-header h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.contact-modal-close {
  position: relative;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.contact-modal-close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 1px;
  background: var(--text);
}

.contact-modal-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.contact-modal-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

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

.contact-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

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

.contact-field span {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 700;
}

.contact-field em {
  color: #a5852d;
  font-style: normal;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(31, 31, 31, 0.14);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  font: inherit;
  resize: vertical;
  transition:
    border-color 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out),
    background-color 180ms var(--ease-out);
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: rgba(165, 133, 45, 0.66);
  box-shadow: 0 0 0 4px rgba(201, 181, 124, 0.16);
}

.contact-field-wide,
.contact-form-actions {
  grid-column: 1 / -1;
}

.contact-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 6px;
}

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

.contact-form-note {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.7;
}

.contact-form-status {
  min-height: 1.4em;
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: #a5852d;
}

.contact-form-status.is-error {
  color: #b94141;
}

.contact-form-status.is-success {
  color: #2f7a46;
}

body[data-theme="dark"] .contact-modal-dialog {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(29, 29, 29, 0.98), rgba(18, 18, 18, 0.98));
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.42);
}

body[data-theme="dark"] .contact-modal-close {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

body[data-theme="dark"] .contact-modal-close span {
  background: #f2f2f2;
}

body[data-theme="dark"] .contact-field span,
body[data-theme="dark"] .contact-modal-header h2 {
  color: #f2f2f2;
}

body[data-theme="dark"] .contact-field input,
body[data-theme="dark"] .contact-field textarea {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #f2f2f2;
}

body[data-theme="dark"] .contact-form-note,
body[data-theme="dark"] .contact-modal-label {
  color: rgba(255, 255, 255, 0.68);
}

html.js-enabled [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 44px, 0) scale(0.985);
  filter: blur(14px);
  transition:
    opacity 900ms var(--ease-out),
    transform 900ms var(--ease-out),
    filter 900ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

html.js-enabled [data-reveal="fade"] {
  transform: translate3d(0, 0, 0) scale(1);
}

html.js-enabled [data-reveal="zoom"] {
  transform: translate3d(0, 34px, 0) scale(0.94);
}

html.js-enabled [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

html.js-enabled .about-media:hover {
  transform: translateY(-10px) scale(1.02);
}

html.js-enabled .stats-grid article:hover {
  transform: translateY(-8px) scale(1);
}

html.js-enabled .work-card:hover,
html.js-enabled .service-card:hover {
  transform: translateY(-10px) scale(1);
}

html.js-enabled .strength-item:hover {
  transform: translateY(-8px) scale(1);
}

@keyframes ticker-slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-33%);
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes ambient-float {

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

  50% {
    transform: translate3d(28px, 20px, 0) scale(1.08);
  }
}

@media (max-width: 980px) {

  .about-grid,
  .works-grid,
  .service-grid,
  .split-panels {
    grid-template-columns: 1fr;
  }

  .about-content {
    min-height: 0;
  }

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

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

  .utility-inner {
    flex-wrap: wrap;
    padding: 8px 0;
  }

  .header-inner {
    min-height: 72px;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 14px;
    display: none;
    min-width: 240px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(18, 18, 18, 0.92);
    box-shadow: var(--shadow-strong);
  }

  .site-nav.is-open {
    display: grid;
    gap: 14px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 154px;
    padding-bottom: 74px;
  }

  .section {
    padding: 78px 0;
  }

  .section-bridge {
    margin: -34px 0 -26px;
  }

  .section-bridge-word {
    font-size: clamp(3.4rem, 16vw, 5.6rem);
  }

  .section-heading-about h2 {
    white-space: normal;
  }

  .about-media {
    width: min(100%, 480px);
    height: min(100vw - 28px, 480px);
  }

  .company-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 18px;
  }

  .contact-modal {
    padding: 16px;
  }

  .contact-modal-dialog {
    padding: 22px 18px;
  }

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

  .contact-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .strength-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 1rem;
  }

  .hero {
    min-height: 680px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: start;
  }

  .button {
    min-width: 138px;
  }

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

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

  .ticker-track,
  .hero::before,
  .hero-content>*,
  html.js-enabled [data-reveal] {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .photo-panel,
  .about-media,
  .work-media,
  .service-image,
  .split-card {
    background-position:
      var(--bg-pos-x, center) calc(var(--bg-pos-y, 50%) + var(--bg-offset-y, 0px));
  }
}
