@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Sora:wght@300;400;500;600;700&family=Zen+Old+Mincho:wght@400;700&display=swap");

:root {
  --main: #7a2332;
  --main-dark: #4b151f;
  --accent: #c8102e;
  --gold: #b8860b;
  --base: #faf9f7;
  --base-alt: #f0eeeb;
  --white: #ffffff;
  --dark: #17171b;
  --dark-soft: #29272a;
  --text: #282828;
  --text-soft: #66615f;
  --line: rgba(122, 35, 50, 0.16);
  --shadow: 0 24px 70px rgba(30, 20, 20, 0.12);
  --font-base: "Sora", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-heading: "Cormorant Garamond", "Zen Old Mincho", serif;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--base);
  color: var(--text);
  font-family: var(--font-base);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0;
  overflow-x: hidden;
}

body:has(.nav-toggle:checked) {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

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

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

.container--narrow {
  width: min(880px, calc(100% - 64px));
}

.nav-toggle {
  position: fixed;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--dark);
  background: rgba(250, 249, 247, 0.9);
  border-bottom: 1px solid rgba(122, 35, 50, 0.12);
  backdrop-filter: blur(16px);
  transition: background 0.28s ease, box-shadow 0.28s ease;
}

.site-header.is-scrolled {
  background: rgba(250, 249, 247, 0.96);
  box-shadow: 0 12px 34px rgba(23, 23, 27, 0.08);
}

.site-header__inner {
  width: min(var(--container), calc(100% - 64px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  width: 174px;
  flex: 0 0 auto;
}

.site-header__logo img {
  width: 100%;
  height: auto;
}

.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
}

.site-header__nav a {
  position: relative;
  padding: 26px 0;
  color: rgba(23, 23, 27, 0.76);
  transition: color 0.25s ease;
}

.site-header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 20px;
  width: 100%;
  height: 1px;
  background: var(--main);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.site-header__nav a:hover {
  color: var(--main);
}

.site-header__nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  height: 42px;
  padding: 0 20px;
  color: var(--white);
  background: var(--main);
  border: 1px solid var(--main);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.site-header__contact:hover {
  background: var(--dark);
  border-color: var(--dark);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid rgba(122, 35, 50, 0.2);
  cursor: pointer;
}

.menu-button span {
  width: 20px;
  height: 1px;
  background: var(--dark);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  padding: 132px 0 96px;
  background:
    radial-gradient(circle at 22% 38%, rgba(122, 35, 50, 0.36), transparent 34%),
    radial-gradient(circle at 75% 58%, rgba(184, 134, 11, 0.18), transparent 28%),
    #0a0a0f;
}

.hero__media,
.hero__canvas,
.hero__grain,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media {
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
  filter: grayscale(0.5) contrast(1.15);
  mix-blend-mode: luminosity;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 0.5s ease-out;
}

.hero__canvas {
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 1;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero__grain {
  z-index: 3;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

.hero__shade {
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(23, 23, 27, 0.08), rgba(5, 5, 8, 0.38) 62%, rgba(5, 5, 8, 0.82) 100%),
    linear-gradient(90deg, rgba(10, 10, 15, 0.9) 0%, rgba(20, 12, 16, 0.54) 48%, rgba(10, 10, 15, 0.88) 100%);
}

.hero__inner {
  width: min(var(--container), calc(100% - 64px));
  margin: 0 auto;
  max-width: 980px;
  opacity: 0;
  transform: translateY(24px);
  position: relative;
  z-index: 4;
  text-align: center;
}

.hero__inner {
  animation: heroIntro 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.18s forwards;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.74);
  letter-spacing: 0.28em;
  font-size: 11px;
}

.hero__eyebrow span {
  display: block;
  width: 42px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}

.hero__eyebrow span {
  animation: lineGrow 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

.hero__title {
  margin: 0;
  font-family: var(--font-base);
  font-size: clamp(42px, 6.3vw, 86px);
  line-height: 1.13;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero__word {
  display: inline-block;
  color: var(--white);
  opacity: 0;
  transform: translateY(80%);
}

.hero__word {
  animation: wordReveal 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__word[data-delay="0"] { animation-delay: 0.42s; }
.hero__word[data-delay="1"] { animation-delay: 0.56s; }
.hero__word[data-delay="2"] { animation-delay: 0.7s; }
.hero__word[data-delay="3"] { animation-delay: 0.82s; }

.hero__word--accent {
  position: relative;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.7);
  text-stroke: 1px rgba(255, 255, 255, 0.7);
  font-size: 1.08em;
  font-family: var(--font-heading);
  font-style: normal;
  letter-spacing: 0.08em;
  padding-left: 0.04em;
  text-shadow: 0 0 30px rgba(200, 16, 46, 0.22);
}

.hero__word--accent::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #ffffff 0%, #d8d3ce 34%, #9d3448 72%, #c8102e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0;
  text-stroke: 0;
  clip-path: inset(0 100% 0 0);
}

.hero__word--accent::before {
  content: "";
  position: absolute;
  left: 0.02em;
  right: 0.1em;
  bottom: 0.06em;
  height: 0.08em;
  background: linear-gradient(90deg, rgba(200, 16, 46, 0.95), rgba(184, 134, 11, 0.72), transparent);
  transform: scaleX(0);
  transform-origin: left;
}

.hero__word--accent::before {
  animation: lineGrow 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.15s forwards;
}

.hero__word--accent::after {
  animation: textFill 1.15s cubic-bezier(0.16, 1, 0.3, 1) 1.28s forwards;
}

.hero__lead {
  max-width: 720px;
  margin: 28px auto 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
}

.hero__sub {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  letter-spacing: 0.12em;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  cursor: pointer;
}

.button--primary {
  color: var(--white);
  background: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: 0 16px 38px rgba(200, 16, 46, 0.26);
}

.button--ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.04);
}

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

.button--primary:hover {
  background: var(--main);
  border-color: var(--main);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero__service-line {
  position: absolute;
  z-index: 4;
  left: max(32px, calc((100vw - var(--container)) / 2));
  bottom: 38px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.34);
  font-size: 11px;
  letter-spacing: 0.12em;
  opacity: 0;
  transform: translateY(12px);
}

.hero__service-line {
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

.hero__service-line span {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.hero__scroll-indicator {
  position: absolute;
  z-index: 4;
  right: max(32px, calc((100vw - var(--container)) / 2));
  bottom: 38px;
  width: 20px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  opacity: 0;
}

.hero__scroll-indicator {
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.08s forwards;
}

.hero__scroll-indicator span {
  width: 3px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  animation: scrollBounce 1.8s ease-in-out infinite;
}

.section {
  position: relative;
  overflow: hidden;
  padding: 118px 0;
}

.section:nth-of-type(even) {
  background: var(--base-alt);
}

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

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroIntro {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes wordReveal {
  from {
    opacity: 0;
    transform: translateY(80%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes textFill {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.45;
  }
  50% {
    transform: translateY(9px);
    opacity: 1;
  }
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 58px;
  text-align: center;
}

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

.section-title {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--main);
  font-size: 54px;
  line-height: 1.08;
  font-weight: 700;
}

.section-heading p:not(.eyebrow),
.section-copy p {
  color: var(--text-soft);
}

.section-heading p:not(.eyebrow) {
  margin: 20px auto 0;
  font-size: 15px;
}

.section-copy {
  min-width: 0;
}

.section-copy .section-title {
  margin-bottom: 30px;
}

.section-copy p {
  margin: 0 0 20px;
}

.split {
  display: grid;
  align-items: center;
  gap: 72px;
}

.split--mission {
  grid-template-columns: 0.95fr 1.05fr;
}

.split--message {
  grid-template-columns: 0.82fr 1.18fr;
}

.mission {
  background:
    linear-gradient(115deg, rgba(250, 249, 247, 0.97) 0%, rgba(250, 249, 247, 0.9) 48%, rgba(240, 238, 235, 0.78) 100%),
    url("img/mission-transparency-stilllife.png") right 7% center / 560px auto no-repeat;
}

.mission::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 36vw;
  height: 100%;
  background: linear-gradient(180deg, rgba(122, 35, 50, 0.15), rgba(184, 134, 11, 0.08));
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
}

.mission::after {
  content: "MISSION";
  position: absolute;
  left: -0.08em;
  bottom: -0.34em;
  color: rgba(122, 35, 50, 0.055);
  font-family: var(--font-heading);
  font-size: clamp(92px, 18vw, 260px);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.image-panel,
.strength-item__image,
.message__image {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow);
  background: var(--white);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.image-panel--mission {
  position: relative;
}

.image-panel--mission::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.32);
  pointer-events: none;
}

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

.service {
  background:
    linear-gradient(rgba(250, 249, 247, 0.93), rgba(250, 249, 247, 0.93)),
    linear-gradient(90deg, rgba(122, 35, 50, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(122, 35, 50, 0.045) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
}

.service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48vw;
  height: 100%;
  background:
    linear-gradient(120deg, rgba(122, 35, 50, 0.13), rgba(122, 35, 50, 0)),
    url("img/case-ad-lp-optimization.png") left center / 620px auto no-repeat;
  opacity: 0.22;
  clip-path: polygon(0 0, 82% 0, 60% 100%, 0 100%);
}

.service::after {
  content: "SERVICE";
  position: absolute;
  right: -0.1em;
  top: 0.08em;
  color: rgba(23, 23, 27, 0.035);
  font-family: var(--font-heading);
  font-size: clamp(88px, 16vw, 230px);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.service-card {
  min-height: 250px;
  padding: 34px 28px 30px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(122, 35, 50, 0.34);
}

.service-card__num {
  display: block;
  margin-bottom: 22px;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
}

.service-card h3 {
  min-height: 58px;
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.6;
}

.service-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.9;
}

.strength {
  background:
    linear-gradient(135deg, rgba(10, 10, 12, 0.98), rgba(22, 16, 18, 0.96)),
    url("img/strength-transparent-reporting.png") right 8% top 70px / 600px auto no-repeat,
    var(--dark);
  color: var(--white);
}

.strength__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  pointer-events: none;
}

.strength::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.82) 0%, rgba(8, 8, 10, 0.56) 28%, rgba(8, 8, 10, 0.22) 100%),
    linear-gradient(115deg, rgba(122, 35, 50, 0.2), transparent 42%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 18px);
}

.strength::after {
  content: "STRENGTH";
  position: absolute;
  left: 50%;
  top: 36px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.045);
  font-family: var(--font-heading);
  font-size: clamp(82px, 14vw, 210px);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.strength .section-title {
  color: var(--white);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.72);
}

.strength .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
}

.strength .section-heading {
  padding: 24px;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.58), rgba(8, 8, 10, 0.22));
}

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

.strength-item {
  display: grid;
  grid-template-columns: 410px 1fr;
  gap: 44px;
  align-items: center;
  padding: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.strength-item--reverse {
  grid-template-columns: 1fr 410px;
}

.strength-item--reverse .strength-item__image {
  order: 2;
}

.strength-item__image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.strength-item__body {
  min-width: 0;
}

.strength-item__num {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 44px;
  line-height: 1;
  font-weight: 700;
}

.strength-item h3 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.4;
}

.strength-item p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.76);
}

.strength-item ul {
  margin: 0;
  padding-left: 1.2em;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

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

.works {
  background:
    linear-gradient(180deg, rgba(250, 249, 247, 0.96), rgba(240, 238, 235, 0.9)),
    url("img/case-corporate-site-copywriting.png") right -80px top 40px / 520px auto no-repeat;
}

.works::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 280px;
  background: linear-gradient(90deg, rgba(122, 35, 50, 0.12), rgba(184, 134, 11, 0.06), transparent);
}

.works::after {
  content: "";
  position: absolute;
  right: 7vw;
  bottom: 70px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(122, 35, 50, 0.16);
  transform: rotate(8deg);
  pointer-events: none;
}

.work-card {
  overflow: hidden;
  border-radius: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(30, 20, 20, 0.06);
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.work-card__body {
  padding: 24px 24px 28px;
}

.work-card__meta {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.work-card h3 {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.65;
}

.work-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
}

.work-card dl div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
}

.work-card dt {
  color: var(--main);
  font-weight: 700;
}

.work-card dd {
  margin: 0;
}

.message {
  background:
    linear-gradient(90deg, rgba(75, 21, 31, 0.1) 0%, rgba(75, 21, 31, 0.1) 34%, rgba(240, 238, 235, 0.92) 34%, rgba(240, 238, 235, 0.92) 100%),
    url("img/mission-transparency-stilllife.png") left -120px bottom -160px / 520px auto no-repeat;
}

.message::before {
  content: "";
  position: absolute;
  top: 70px;
  right: 0;
  width: 42vw;
  height: calc(100% - 140px);
  background: rgba(255, 255, 255, 0.42);
  border-top: 1px solid rgba(122, 35, 50, 0.12);
  border-bottom: 1px solid rgba(122, 35, 50, 0.12);
}

.message::after {
  content: "MESSAGE";
  position: absolute;
  right: -0.08em;
  bottom: -0.26em;
  color: rgba(122, 35, 50, 0.05);
  font-family: var(--font-heading);
  font-size: clamp(88px, 16vw, 230px);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.message__image {
  align-self: stretch;
  min-height: 560px;
  background: linear-gradient(180deg, #efe9e4, #d9d1cb);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.message__image img {
  width: min(100%, 430px);
  max-height: 620px;
  object-fit: contain;
  object-position: bottom center;
}

.message__lead {
  margin: 0 0 24px;
  color: var(--dark);
  font-size: 30px;
  line-height: 1.55;
}

.message__name {
  margin-top: 34px;
  color: var(--main);
  font-weight: 700;
  text-align: right;
}

.company {
  background:
    linear-gradient(rgba(250, 249, 247, 0.96), rgba(250, 249, 247, 0.96)),
    linear-gradient(90deg, rgba(184, 134, 11, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(122, 35, 50, 0.06) 1px, transparent 1px);
  background-size: auto, 96px 96px, 96px 96px;
}

.company::before {
  content: "BC UP";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: rgba(122, 35, 50, 0.035);
  font-family: var(--font-heading);
  font-size: clamp(96px, 20vw, 280px);
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.72);
  border-top: 1px solid var(--line);
}

.company-table th,
.company-table td {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 180px;
  color: var(--main);
  font-weight: 700;
}

.news {
  background:
    linear-gradient(110deg, rgba(240, 238, 235, 0.96) 0%, rgba(240, 238, 235, 0.9) 48%, rgba(255, 255, 255, 0.78) 48%, rgba(255, 255, 255, 0.78) 100%),
    url("img/case-video-youtube-operation.png") right -90px center / 460px auto no-repeat;
}

.news::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(122, 35, 50, 0.1);
  pointer-events: none;
}

.news-list {
  border-top: 1px solid var(--line);
}

.news-item {
  display: grid;
  grid-template-columns: 116px 88px 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.news-item time {
  color: var(--text-soft);
}

.news-item span {
  display: inline-flex;
  justify-content: center;
  padding: 4px 10px;
  border: 1px solid rgba(122, 35, 50, 0.22);
  color: var(--main);
  font-size: 12px;
}

.news-item a {
  color: var(--dark);
  font-weight: 500;
}

.news-item a:hover {
  color: var(--main);
}

.contact {
  background:
    linear-gradient(rgba(23, 23, 27, 0.88), rgba(23, 23, 27, 0.9)),
    url("img/hero-strategy-room.png") center / cover;
  color: var(--white);
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 22px),
    linear-gradient(90deg, rgba(122, 35, 50, 0.34), transparent 52%, rgba(184, 134, 11, 0.12));
}

.contact-panel {
  padding: 54px;
  border-radius: 6px;
  background: rgba(250, 249, 247, 0.96);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.contact-panel .section-title {
  color: var(--main);
}

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

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
}

.contact-form em {
  color: var(--accent);
  font-style: normal;
  font-size: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(122, 35, 50, 0.2);
  border-radius: 4px;
  padding: 14px 16px;
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--main);
  box-shadow: 0 0 0 4px rgba(122, 35, 50, 0.08);
}

.privacy-check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px !important;
  font-weight: 400 !important;
  color: var(--text-soft) !important;
}

.privacy-check input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.contact-form .button {
  width: 220px;
  margin: 18px auto 0;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px 24px 72px;
  color: var(--white);
  background:
    linear-gradient(rgba(23, 23, 27, 0.86), rgba(23, 23, 27, 0.9)),
    url("img/hero-strategy-room.png") center / cover;
}

.thanks-panel {
  width: min(720px, 100%);
  padding: 56px;
  border-radius: 6px;
  background: rgba(250, 249, 247, 0.96);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
  text-align: center;
}

.thanks-panel__logo {
  width: 210px;
  margin: 0 auto 28px;
}

.thanks-panel .section-title {
  margin-bottom: 22px;
}

.thanks-panel p {
  margin: 0 auto 30px;
  color: var(--text-soft);
}

.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 60px;
  padding: 72px 0 54px;
}

.site-footer__brand img {
  width: 240px;
  margin-bottom: 24px;
}

.site-footer__brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.site-footer__links h2 {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 13px;
  text-transform: uppercase;
}

.site-footer__links a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.site-footer__links a:hover {
  color: var(--white);
}

.site-footer__bottom {
  padding: 22px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 1080px) {
  .site-header__nav {
    gap: 18px;
  }

  .split,
  .split--mission,
  .split--message {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .service-grid,
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .strength-item,
  .strength-item--reverse {
    grid-template-columns: 320px 1fr;
  }

  .strength-item--reverse .strength-item__image {
    order: 0;
  }
}

@media (max-width: 860px) {
  .site-header__nav,
  .site-header__contact {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .nav-toggle:checked ~ .site-header .menu-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked ~ .site-header .menu-button span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .site-header .menu-button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-nav {
    display: grid;
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 76px);
    padding: 24px 32px 36px;
    background: rgba(250, 249, 247, 0.98);
    border-top: 1px solid rgba(122, 35, 50, 0.1);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
    box-shadow: 0 20px 50px rgba(20, 20, 20, 0.12);
  }

  .nav-toggle:checked ~ .site-header .mobile-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav a {
    padding: 14px 0;
    color: var(--dark);
    border-bottom: 1px solid rgba(122, 35, 50, 0.12);
    font-weight: 600;
  }

  .hero {
    min-height: 100vh;
    padding: 124px 0 84px;
  }

  .hero__inner {
    margin-left: auto;
    width: min(100% - 48px, 720px);
  }

  .hero__title {
    font-size: 52px;
  }

  .hero__word--accent {
    font-size: 1.08em;
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__service-line {
    left: 24px;
    right: auto;
  }

  .section {
    padding: 84px 0;
  }

  .mission,
  .works,
  .message,
  .news {
    background-size: auto, 420px auto;
  }

  .service {
    background-size: auto, 72px 72px, 72px 72px;
  }

  .mission::before,
  .service::before,
  .message::before,
  .news::before {
    opacity: 0.55;
  }

  .service::after,
  .strength::after,
  .works::after,
  .message::after,
  .company::before {
    opacity: 0.55;
  }

  .section-title {
    font-size: 42px;
  }

  .strength-item,
  .strength-item--reverse {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .strength-item__image img {
    aspect-ratio: 16 / 10;
  }

  .message__image {
    min-height: 440px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .container,
  .container--narrow,
  .site-header__inner {
    width: min(100% - 40px, var(--container));
  }

  .site-header__inner {
    height: 68px;
  }

  .site-header__logo {
    width: 148px;
  }

  .mobile-nav {
    top: 68px;
    max-height: calc(100vh - 68px);
  }

  .hero {
    min-height: 100vh;
    padding: 110px 0 86px;
  }

  .hero__shade {
    background:
      radial-gradient(circle at 50% 42%, rgba(23, 23, 27, 0.12), rgba(5, 5, 8, 0.48) 60%, rgba(5, 5, 8, 0.9) 100%),
      linear-gradient(90deg, rgba(10, 10, 15, 0.94) 0%, rgba(20, 12, 16, 0.66) 52%, rgba(10, 10, 15, 0.92) 100%);
  }

  .hero__inner {
    width: min(100% - 40px, 620px);
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__word--accent {
    font-size: 1.08em;
  }

  .hero__lead {
    margin-top: 22px;
    font-size: 15px;
  }

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

  .button {
    width: 100%;
  }

  .hero__service-line {
    bottom: 18px;
    gap: 6px;
  }

  .hero__service-line span {
    font-size: 10px;
    padding: 5px 8px;
  }

  .section {
    padding: 66px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: 34px;
  }

  .service-grid,
  .works-grid,
  .site-footer__links {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-card h3 {
    min-height: 0;
  }

  .strength-item {
    padding: 18px;
  }

  .strength-item h3 {
    font-size: 23px;
  }

  .work-card dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .message__image {
    min-height: 360px;
  }

  .message__lead {
    font-size: 24px;
  }

  .company-table,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table th {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .company-table td {
    padding-top: 0;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .news-item span {
    width: fit-content;
  }

  .contact-panel {
    padding: 30px 20px;
  }

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

  .site-footer__inner {
    padding: 52px 0 40px;
    gap: 38px;
  }
}

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

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

  .hero__inner,
  .hero__service-line,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
