/* ============================================
   Showa Construction — Corporate Site
   Color: Charcoal + Warm Stone + Subtle Gold
   Fonts: Noto Serif JP (headings) + Noto Sans JP (body) + Space Grotesk (en)
   ============================================ */

:root {
  --c-black: #1a1a1a;
  --c-charcoal: #2d2d2d;
  --c-dark: #3a3a3a;
  --c-gray: #6b6b6b;
  --c-gray-light: #a0a0a0;
  --c-border: #e0dcd7;
  --c-bg: #f7f5f2;
  --c-bg-warm: #eee9e2;
  --c-white: #ffffff;
  --c-accent: #8b7355;
  --c-accent-light: #b09a7a;

  --ff-serif: 'Noto Serif JP', serif;
  --ff-sans: 'Noto Sans JP', sans-serif;
  --ff-en: 'Space Grotesk', sans-serif;

  --header-h: 80px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--ff-sans);
  color: var(--c-charcoal);
  background: var(--c-bg);
  line-height: 1.8;
  font-weight: 400;
  overflow-x: hidden;
}

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

/* Unified warm tone for all project/service photos */
.project-card-img img,
.pj-card-img img,
.philosophy-img,
.service-visual img,
.company-map-frame img,
.detail-main-img img,
.detail-gallery img,
.svc-visual img,
.recruit-message-img img {
  filter: sepia(0.08) saturate(0.9) brightness(0.97);
}
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; }

/* ---- Section utilities ---- */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}

.section-label {
  font-family: var(--ff-en);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 16px;
}

.section-label--light { color: var(--c-accent-light); }

.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-black);
  margin-bottom: 48px;
}

.section-header {
  margin-bottom: 56px;
}

/* ---- Reveal animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(247, 245, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.3s;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo { display: flex; align-items: center; gap: 8px; }

.logo-jp {
  font-family: var(--ff-serif);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-black);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--c-charcoal);
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-accent);
  transition: width 0.3s;
}

.nav-link:hover { color: var(--c-accent); }
.nav-link:hover::after { width: 100%; }

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  font-family: var(--ff-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--c-charcoal);
  cursor: pointer;
  padding: 0;
  transition: color 0.3s;
}

.nav-dropdown-trigger::after {
  display: none;
}

.nav-dropdown-trigger:hover { color: var(--c-accent); }

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--c-white);
  border-top: 1px solid rgba(0,0,0,0.06);
  border-left: 1px solid rgba(0,0,0,0.06);
}

.nav-dropdown-item {
  display: block;
  background: var(--c-white);
  padding: 12px 28px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--c-charcoal);
  white-space: nowrap;
  border-bottom: 1px solid var(--c-border);
  transition: background 0.2s, color 0.2s;
  text-align: center;
}

.nav-dropdown-item:first-child {
  border-top: 1px solid rgba(0,0,0,0.06);
}

.nav-dropdown-item:hover {
  background: var(--c-bg);
  color: var(--c-accent);
}

.nav-link--cta {
  background: var(--c-charcoal);
  color: var(--c-white);
  padding: 10px 24px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  transition: background 0.3s;
}

.nav-link--cta::after { display: none; }
.nav-link--cta:hover { background: var(--c-accent); color: var(--c-white); }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-black);
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.is-active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* ---- Hero ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 26, 0.2) 0%,
    rgba(26, 26, 26, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(32px, 8vw, 120px);
  padding-bottom: clamp(80px, 12vh, 160px);
}

.hero-sub {
  font-family: var(--ff-en);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--ff-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.35;
  color: var(--c-white);
}

.hero-title-line {
  display: block;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.hero-btn {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 16px 36px;
  transition: all 0.3s;
  background: var(--c-white);
  color: var(--c-charcoal);
}

.hero-btn:hover {
  background: var(--c-accent);
  color: var(--c-white);
}

.hero-btn--outline {
  background: transparent;
  color: var(--c-white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-btn--outline:hover {
  background: var(--c-white);
  color: var(--c-charcoal);
  border-color: var(--c-white);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: clamp(32px, 5vw, 80px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll-text {
  font-family: var(--ff-en);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.6);
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--c-white);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ---- Philosophy ---- */
.philosophy {
  padding: clamp(80px, 12vw, 160px) 0;
}

.philosophy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.philosophy-visual {
  position: relative;
}

.philosophy-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.philosophy-text {
  padding: 20px 0;
}

.philosophy-heading {
  font-family: var(--ff-serif);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.7;
  color: var(--c-black);
  margin-bottom: 32px;
}

.philosophy-desc {
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--c-gray);
  margin-bottom: 20px;
}

.philosophy-desc:last-child { margin-bottom: 0; }

/* ---- Projects ---- */
.projects {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--c-white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.project-card {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--c-bg);
}

.project-card--large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.project-card--wide {
  grid-column: 2 / 4;
}

.project-card-img {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.project-card--large .project-card-img {
  aspect-ratio: auto;
  height: 100%;
}

.project-card--large .project-card-img img {
  height: 100%;
  object-fit: cover;
}

.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-card-img img {
  transform: scale(1.05);
}

.project-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(26,26,26,0.8) 0%, transparent 100%);
  color: var(--c-white);
  transform: translateY(8px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-card-info {
  transform: translateY(0);
  opacity: 1;
}

.project-card-cat {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--c-accent-light);
  display: block;
  margin-bottom: 6px;
}

.project-card-name {
  font-family: var(--ff-serif);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.project-card-meta {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}

.projects-more {
  text-align: center;
  margin-top: 56px;
}

/* ---- Buttons ---- */
.btn-outline {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--c-charcoal);
  border: 1px solid var(--c-charcoal);
  padding: 16px 40px;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--c-charcoal);
  color: var(--c-white);
}

.btn-outline--large {
  padding: 20px 48px;
  font-size: 0.875rem;
  width: 100%;
  text-align: center;
}

.btn-outline--large + .btn-outline--large {
  margin-top: 16px;
}

.btn-solid {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--c-white);
  background: var(--c-white);
  color: var(--c-charcoal);
  padding: 18px 48px;
  transition: all 0.3s;
}

.btn-solid:hover {
  background: var(--c-accent-light);
  color: var(--c-white);
}

/* ---- Numbers ---- */
.numbers {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--c-bg-warm);
}

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

.number-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  background: var(--c-white);
  overflow: hidden;
}

.number-card-img {
  overflow: hidden;
}

.number-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.number-card-body {
  padding: 28px 32px;
}

.number-value {
  font-family: var(--ff-en);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--c-black);
  line-height: 1;
}

.number-unit {
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-gray);
  margin-left: 4px;
}

.number-card-title {
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-charcoal);
  letter-spacing: 0.03em;
}

.number-card-desc {
  margin-top: 8px;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--c-gray);
}

/* ---- Service ---- */
.service {
  padding: clamp(80px, 10vw, 140px) 0;
}

.service-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: block;
  border-top: 1px solid var(--c-border);
  text-decoration: none;
  color: inherit;
}

.service-item:last-child {
  border-bottom: 1px solid var(--c-border);
}

.service-item-inner {
  display: grid;
  grid-template-columns: 60px 1fr 200px;
  gap: 32px;
  padding: 40px 0;
  align-items: center;
  transition: padding 0.3s;
}

.service-item:hover .service-item-inner {
  padding-left: 16px;
}

.service-number {
  font-family: var(--ff-en);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-accent);
  letter-spacing: 0.05em;
}

.service-name {
  font-family: var(--ff-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--c-black);
}

.service-desc {
  font-size: 0.875rem;
  color: var(--c-gray);
  line-height: 1.9;
}

.service-visual {
  overflow: hidden;
}

.service-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.5s;
}

.service-item:hover .service-visual img {
  transform: scale(1.04);
}

/* ---- Company ---- */
.company {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--c-white);
}

.company-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.company-table {
  width: 100%;
}

.company-table tr {
  border-bottom: 1px solid var(--c-border);
}

.company-table th,
.company-table td {
  padding: 16px 0;
  font-size: 0.875rem;
  line-height: 1.8;
  vertical-align: top;
}

.company-table th {
  width: 100px;
  font-weight: 500;
  color: var(--c-gray);
  white-space: nowrap;
  padding-right: 24px;
}

.company-table td {
  color: var(--c-charcoal);
}

.company-map-frame {
  overflow: hidden;
}

.company-map-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---- Company links ---- */
.company-links {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}

.company-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--c-accent);
  position: relative;
  transition: color 0.3s;
}

.company-links a::after {
  content: ' →';
}

.company-links a:hover {
  color: var(--c-charcoal);
}

/* ---- News Section (Top) ---- */
.news-section {
  padding: clamp(80px, 10vw, 140px) 0;
}

.news-list {
  display: flex;
  flex-direction: column;
}

.news-row {
  display: grid;
  grid-template-columns: 100px 100px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--c-border);
  transition: background 0.3s;
}

.news-row:first-child {
  border-top: 1px solid var(--c-border);
}

.news-row:hover {
  background: rgba(139, 115, 85, 0.04);
}

.news-date {
  font-family: var(--ff-en);
  font-size: 0.8125rem;
  color: var(--c-gray-light);
  letter-spacing: 0.03em;
}

.news-tag {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  text-align: center;
  white-space: nowrap;
}

.news-tag--info { background: var(--c-charcoal); color: var(--c-white); }
.news-tag--project { background: var(--c-accent); color: var(--c-white); }
.news-tag--media { background: var(--c-gray-light); color: var(--c-white); }
.news-tag--recruit { background: #5a7a5a; color: var(--c-white); }

.news-title {
  font-size: 0.875rem;
  color: var(--c-charcoal);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .news-row {
    grid-template-columns: auto auto 1fr;
    gap: 8px;
  }

  .news-date { font-size: 0.75rem; }
  .news-title { font-size: 0.8125rem; }

  .company-links {
    flex-direction: column;
    gap: 12px;
  }
}

/* ---- Recruit ---- */
.recruit {
  position: relative;
  padding: clamp(100px, 14vw, 200px) 0;
  overflow: hidden;
}

.recruit-bg {
  position: absolute;
  inset: 0;
}

.recruit-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.7);
}

.recruit-inner {
  position: relative;
  z-index: 2;
}

.recruit-heading {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-white);
  margin-bottom: 24px;
}

.recruit-desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 2;
  margin-bottom: 40px;
  max-width: 480px;
}

/* ---- Contact ---- */
.contact {
  padding: clamp(80px, 10vw, 140px) 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-desc {
  font-size: 0.9375rem;
  color: var(--c-gray);
  line-height: 2;
  margin-bottom: 32px;
}

.contact-tel { display: flex; flex-direction: column; }

.contact-tel-label {
  font-size: 0.75rem;
  color: var(--c-gray-light);
  margin-bottom: 4px;
}

.contact-tel-number {
  font-family: var(--ff-en);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-black);
  letter-spacing: 0.03em;
  transition: color 0.3s;
}

.contact-tel-number:hover { color: var(--c-accent); }

.contact-tel-hours {
  font-size: 0.75rem;
  color: var(--c-gray-light);
  margin-top: 4px;
}

/* ---- Footer ---- */
.footer {
  background: var(--c-charcoal);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.footer-logo {
  font-family: var(--ff-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-white);
  display: block;
  margin-bottom: 8px;
}

.footer-address {
  font-size: 0.75rem;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.75rem;
  transition: color 0.3s;
}

.footer-nav a:hover { color: var(--c-white); }

.footer-bottom { text-align: center; }

.footer-copy {
  font-family: var(--ff-en);
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card--large {
    grid-column: 1 / 2;
    grid-row: auto;
  }

  .project-card--wide {
    grid-column: 1 / 3;
  }

  .service-item-inner {
    grid-template-columns: 48px 1fr 160px;
    gap: 24px;
  }

  .numbers-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--c-bg);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 0;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -4px 0 20px rgba(0,0,0,0.08);
  }

  .header-nav.is-open { right: 0; }

  .header-nav .nav-link {
    font-size: 0.9375rem;
    padding: 16px 0;
    border-bottom: 1px solid var(--c-border);
    width: 100%;
  }

  .header-nav .nav-link::after { display: none; }

  /* Mobile dropdown */
  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-trigger {
    font-size: 0.9375rem;
    padding: 16px 0;
    border-bottom: 1px solid var(--c-border);
    width: 100%;
    text-align: left;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    padding-top: 0;
    opacity: 1;
    visibility: visible;
  }

  .nav-dropdown-menu::before { display: none; }

  .nav-dropdown-item {
    text-align: left;
    padding: 12px 0 12px 20px;
    font-size: 0.8125rem;
    color: var(--c-gray);
    border-bottom: 1px solid var(--c-border);
  }

  .nav-dropdown-item:first-child { border-top: none; }

  .nav-link--cta {
    margin-top: 16px;
    text-align: center;
  }

  .hamburger { display: block; }

  .hero-content {
    padding: 0 24px;
    padding-bottom: 80px;
  }

  .philosophy-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .project-card--large,
  .project-card--wide {
    grid-column: auto;
    grid-row: auto;
  }

  .project-card-info {
    transform: translateY(0);
    opacity: 1;
    padding: 20px;
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .service-item-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 0;
  }

  .service-number {
    font-size: 0.75rem;
  }

  .service-visual {
    max-width: 280px;
  }

  .company-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-nav {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .philosophy-heading {
    font-size: 1.375rem;
  }

  .number-card {
    grid-template-columns: 120px 1fr;
  }

  .number-card-body {
    padding: 20px;
  }

  .number-card-desc {
    display: none;
  }
}
