:root {
  --bg: #121315;
  --bg-soft: #1a1c20;
  --bg-card: rgba(255, 255, 255, 0.06);
  --bg-card-strong: rgba(242, 242, 243, 0.9);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f2f3;
  --muted: #a1a5ad;
  --muted-2: #8f8f8f;
  --accent: #ffffff;
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 9px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Funnel Sans", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #0e1013;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4, p, a, summary, th, td, small, strong, span {
  overflow-wrap: anywhere;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 18%),
    url('https://images.unsplash.com/photo-1671159593326-80a2c134fc6a?auto=format&fit=crop&w=2200&q=80') center/cover no-repeat;
  filter: grayscale(0.1) brightness(0.28);
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.78), rgba(10, 10, 12, 0.96));
}

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

.hero-copy,
.hero-visual,
.story-visual,
.story-copy,
.service-card,
.work-card,
.strength-card,
.contact-card,
.company-main,
.group-company,
.timeline-item > div {
  min-width: 0;
}

.section {
  padding: 108px 0;
  position: relative;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: transparent;
  border-bottom: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding-top: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.brand span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
}

.header-nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: var(--text) !important;
}

.hero {
  padding-top: 86px;
  padding-bottom: 118px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8e8ea;
  background: rgba(255,255,255,0.04);
}

.hero h1 {
  margin: 18px 0 18px;
  font-family: "Inter", "Funnel Sans", sans-serif;
  font-size: clamp(48px, 5.2vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.section-head h2 {
  margin: 16px 0 16px;
  font-family: "Inter", "Funnel Sans", sans-serif;
  font-size: clamp(34px, 4vw, 42px);
  line-height: 1.22;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero h1 span {
  display: inline-block;
  opacity: 0.98;
}

.hero-lead,
.section-head p,
.story-card p,
.service-card p,
.work-body p,
.strength-card p,
.faq-item p,
.contact-card p,
.company-card p,
.group-card p,
.timeline-item small {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

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

.btn-solid {
  background: #ffffff;
  color: #111317;
  box-shadow: 0 18px 30px rgba(255,255,255,0.12);
}

.btn-outline {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.18);
  color: var(--text);
}

.btn-block {
  width: 100%;
}

.hero-contact {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.hero-contact a {
  color: var(--text);
  font-weight: 700;
}

.hero-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: rgba(255,255,255,0.03);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,10,12,0.32) 100%);
  z-index: 1;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

.section-head {
  max-width: 860px;
  margin-bottom: 28px;
}

.section-head.left {
  max-width: none;
}

.section-divider {
  height: 1px;
  background: var(--line);
  margin: 24px 0 34px;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 34px;
  align-items: stretch;
}

.story-visual img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.story-copy {
  display: grid;
  gap: 22px;
}

.glass-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.story-card {
  padding: 24px;
}

.story-card-light {
  background: rgba(242, 242, 243, 0.92);
  color: #15181d;
}

.story-card-light p,
.story-card-light h3 {
  color: #15181d;
}

.story-card h3,
.service-card h3,
.work-body h3,
.strength-card h3,
.contact-card h3,
.company-card h3,
.group-card h3,
.timeline-item h4 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

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

.service-card {
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.strength-card,
.contact-card {
  padding: 24px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}

.service-icon span {
  font-size: 22px;
}

.service-card strong {
  display: block;
  margin-top: 12px;
  color: var(--text);
  font-size: 17px;
}

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

.work-card {
  grid-column: span 4;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.work-card.wide {
  grid-column: span 6;
}

.work-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

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

.work-body h3 {
  font-size: 20px;
}

.works-more {
  margin-top: 56px;
}

.works-more-title {
  margin: 0 0 24px;
  font-family: "Inter", "Funnel Sans", sans-serif;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.works-grid-more {
  gap: 28px 24px;
}

.works-grid-more .work-card img {
  height: 280px;
}

.works-grid-more .work-body {
  padding-top: 14px;
}

.works-grid-more .work-body h3 {
  font-size: 18px;
}

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

.strength-num {
  display: inline-flex;
  margin-bottom: 20px;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: #ffffff;
  opacity: 0.75;
}

.faq-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 26px;
  font-weight: 700;
  font-size: 20px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.faq-item p {
  margin: 0;
  padding: 0 26px 24px;
}

.contact-panel {
  padding: 28px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  box-shadow: var(--shadow);
}

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

.contact-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 28px;
  align-items: start;
}

.company-card,
.group-card {
  padding: 26px;
}

.company-brand {
  width: min(100%, 420px);
  margin-bottom: 16px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
}

.company-table th,
.company-table td {
  padding: 16px 0;
  vertical-align: top;
  border-top: 1px solid var(--line);
}

.company-table th {
  width: 120px;
  color: #ffffff;
  text-align: left;
  font-size: 14px;
}

.company-table td {
  color: var(--muted);
  font-size: 15px;
}

.group-logo {
  width: min(100%, 300px);
  margin-bottom: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.95);
}

.group-meta {
  margin-bottom: 18px;
}

.timeline-list {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}

.timeline-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.04);
  font-weight: 700;
}

.timeline-item h4 {
  font-size: 22px;
  margin-bottom: 6px;
}

.timeline-item p {
  margin: 0 0 6px;
  color: #ffffff;
  opacity: 0.88;
}

.site-footer {
  padding: 26px 0 42px;
  color: var(--muted-2);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.back-to-top {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

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

@media (max-width: 1120px) {
  .hero-grid,
  .story-grid,
  .faq-wrap,
  .company-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid,
  .strength-grid,
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .work-card,
  .work-card.wide {
    grid-column: span 6;
  }

  .hero-card img {
    min-height: 520px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

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

  .header-nav {
    display: none;
  }

  .brand {
    gap: 12px;
  }

  .brand span {
    font-size: 13px;
    white-space: normal;
    line-height: 1.35;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero h1,
  .section-head h2 {
    font-size: clamp(34px, 10vw, 54px);
  }

  .hero-lead,
  .section-head p,
  .story-card p,
  .service-card p,
  .work-body p,
  .strength-card p,
  .faq-item p,
  .contact-card p,
  .company-card p,
  .group-card p,
  .timeline-item small {
    font-size: 15px;
    line-height: 1.75;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .service-grid,
  .strength-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .works-more {
    margin-top: 40px;
  }

  .works-more-title {
    font-size: 24px;
    margin-bottom: 18px;
  }

  .work-card,
  .work-card.wide {
    grid-column: span 1;
  }

  .work-card img {
    height: 260px;
  }

  .story-visual img,
  .hero-card img {
    min-height: auto;
  }

  .hero-card img {
    aspect-ratio: 4 / 5;
    object-position: center top;
  }

  .story-visual img {
    max-height: 360px;
    object-position: center;
  }

  .story-card h3,
  .service-card h3,
  .work-body h3,
  .strength-card h3,
  .contact-card h3,
  .company-card h3,
  .group-card h3,
  .timeline-item h4 {
    font-size: 24px;
  }

  .service-card strong {
    font-size: 17px;
  }

  .contact-panel,
  .company-card,
  .group-card,
  .story-card,
  .service-card,
  .strength-card,
  .contact-card,
  .work-body {
    padding-left: 22px;
    padding-right: 22px;
  }

  .faq-item summary {
    align-items: flex-start;
    font-size: 17px;
    line-height: 1.5;
    padding: 18px 20px;
  }

  .faq-item p {
    padding: 0 20px 20px;
  }

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

  .company-table tr {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

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

  .company-table th {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .company-table td {
    font-size: 15px;
  }

  .timeline-item {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .timeline-item span {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

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

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .site-header {
    position: sticky;
  }

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

  .brand img {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .brand span {
    font-size: 12px;
    letter-spacing: 0.03em;
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 56px;
  }

  .eyebrow,
  .section-label {
    min-height: 30px;
    padding: 5px 12px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .hero h1,
  .section-head h2 {
    margin: 14px 0 14px;
    font-size: clamp(28px, 9vw, 38px);
    line-height: 1.08;
  }

  .hero-contact {
    font-size: 14px;
    line-height: 1.6;
  }

  .btn {
    min-height: 48px;
    padding: 0 18px;
    font-size: 14px;
  }

  .hero-card,
  .story-visual img,
  .glass-card,
  .work-card,
  .service-card,
  .strength-card,
  .contact-card,
  .contact-panel,
  .faq-item {
    border-radius: 20px;
  }

  .hero-card img {
    aspect-ratio: 4 / 5.3;
  }

  .story-visual img {
    max-height: 280px;
  }

  .work-card img {
    height: 220px;
  }

  .works-grid-more .work-card img {
    height: 220px;
  }

  .works-grid-more .work-body h3 {
    font-size: 17px;
  }

  .story-card h3,
  .service-card h3,
  .work-body h3,
  .strength-card h3,
  .contact-card h3,
  .company-card h3,
  .group-card h3,
  .timeline-item h4 {
    font-size: 21px;
  }

  .service-icon {
    min-height: 58px;
    margin-bottom: 18px;
  }

  .service-icon span {
    font-size: 24px;
  }

  .service-card strong {
    font-size: 16px;
  }

  .contact-panel,
  .company-card,
  .group-card,
  .story-card,
  .service-card,
  .strength-card,
  .contact-card,
  .work-body {
    padding: 18px;
  }

  .faq-item summary,
  .faq-item p {
    padding-left: 16px;
    padding-right: 16px;
  }

  .faq-item summary {
    gap: 12px;
    font-size: 15px;
  }

  .faq-item summary span {
    width: 34px;
    height: 34px;
    font-size: 12px;
    flex-shrink: 0;
  }

  .contact-grid {
    gap: 14px;
    margin-top: 24px;
  }

  .company-table {
    margin-top: 20px;
  }

  .group-logo {
    width: min(100%, 220px);
  }

  .timeline-list {
    gap: 16px;
    margin-top: 20px;
  }

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

  .timeline-item span {
    width: 32px;
    height: 32px;
  }

  .site-footer {
    padding-bottom: max(28px, env(safe-area-inset-bottom));
  }
}
