/* ==========================================================================
   Nine G - Official Studio Website
   Style System: Editorial Architectural / High-End Gallery Minimalism
   Reference: Inspired by contemporary gallery & architectural studio design
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Palette */
  --bg-main: #fbfbfa;
  --bg-card: #f4f3ef;
  --bg-dark: #2a2826;
  --bg-darker: #1a1918;
  --text-main: #1d1d1f;
  --text-muted: #6e6b66;
  --text-light: #9c9892;
  --text-on-dark: #f5f4f0;
  --border-light: rgba(0, 0, 0, 0.08);
  --border-dark: rgba(255, 255, 255, 0.12);
  --accent-blue: #0066ff;
  --accent-gold: #c5a880;

  --container-max: 1380px;
  --header-height: 84px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  selection-background-color: var(--text-main);
  selection-color: #fff;
}

::selection {
  background: #1a1a1a;
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(251, 251, 250, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.brand-tag {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  padding-left: 8px;
  border-left: 1px solid var(--border-light);
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 36px;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--text-main);
}

.header-accent-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--bg-dark);
  color: #fff;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.header-accent-btn:hover {
  background: #000;
  transform: translateY(-1px);
}

.header-accent-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition-smooth);
}

/* ==========================================================================
   Hero Section (Reference Image Typography & Mood)
   ========================================================================== */
.hero-editorial {
  padding: 56px 0 32px 0;
}

.hero-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}

.editorial-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-main);
  max-width: 950px;
}

.editorial-headline .dot {
  color: var(--accent-blue);
}

.hero-index-tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.1em;
  padding-bottom: 12px;
}

.hero-index-tag .line {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: var(--text-muted);
}

.hero-main-visual {
  position: relative;
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
  background-color: #000;
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}

.hero-main-visual img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-main-visual:hover img {
  transform: scale(1.02);
}

.hero-visual-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
  color: #fff;
  padding: 32px 36px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hero-visual-caption .caption-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-visual-caption .caption-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  opacity: 0.85;
}

/* ==========================================================================
   Split Editorial Story (Main Page - Company Introduction)
   ========================================================================== */
.editorial-split {
  padding: 96px 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.split-left {
  padding-right: 20px;
}

.bullet-subhead {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}

.bullet-subhead .bullet {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text-main);
}

.section-h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.intro-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 24px;
  line-height: 1.6;
}

.intro-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.editorial-action-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-main);
  margin-top: 24px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--text-main);
}

.editorial-action-link:hover {
  gap: 20px;
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}

.split-right {
  position: relative;
}

.gallery-composition {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.gallery-card-featured {
  background: var(--bg-card);
  padding: 18px;
  border-radius: 2px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.04);
}

.gallery-card-featured img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 2px;
}

.sub-gallery-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: -10px;
}

.sub-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--bg-card);
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.sub-gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.sub-gallery-item:hover img {
  transform: scale(1.04);
}

/* ==========================================================================
   Values & Methodology Strip
   ========================================================================== */
.values-strip {
  background: var(--bg-card);
  padding: 80px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

.value-col {
  padding-right: 20px;
}

.value-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 16px;
  letter-spacing: 0.12em;
}

.value-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.value-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   Projects Highlight Section (Home page)
   ========================================================================== */
.section-headline-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 24px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
  margin-bottom: 8px;
}

.home-projects-preview {
  padding: 96px 0;
}

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

.preview-item-large {
  grid-column: span 7;
}

.preview-item-small {
  grid-column: span 5;
}

.project-preview-card {
  display: block;
  group: hover;
}

.preview-img-box {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: #000;
}

.preview-img-box img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}

.project-preview-card:hover .preview-img-box img {
  transform: scale(1.03);
  opacity: 0.92;
}

.preview-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 18px;
  margin-bottom: 6px;
}

.preview-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-light);
}

.preview-category {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-blue);
}

.preview-title {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-main);
}

/* ==========================================================================
   Full Projects Page (Sequential Chronological Showcase)
   ========================================================================== */
.page-hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 72px;
}

.page-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.page-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
}

.projects-feed {
  display: flex;
  flex-direction: column;
  gap: 120px;
  padding-bottom: 120px;
}

.project-entry {
  position: relative;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
  border-top: 1px solid var(--border-light);
  padding-top: 48px;
}

.project-entry:first-child {
  border-top: none;
  padding-top: 0;
}

.project-info-col {
  position: sticky;
  top: 110px;
}

.project-index-num {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}

.project-year-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-card);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 16px;
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.project-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  color: var(--text-main);
}

.project-desc-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.project-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.04);
  padding: 4px 8px;
  border-radius: 2px;
  color: var(--text-muted);
}

.project-gallery-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gallery-grid {
  display: grid;
  gap: 20px;
}

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

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

.gallery-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.project-photo-frame {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  background-color: #0d0d0e;
  cursor: zoom-in;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.project-photo-frame img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}

.project-photo-frame:hover img {
  transform: scale(1.03);
}

.zoom-indicator {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(4px);
}

.project-photo-frame:hover .zoom-indicator {
  opacity: 1;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
.contact-section {
  padding: 80px 0 120px;
}

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

.contact-card-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 48px;
  border-radius: 2px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.03);
}

.contact-channel {
  margin-bottom: 40px;
}

.contact-channel:last-child {
  margin-bottom: 0;
}

.channel-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
  display: block;
}

.channel-value-large {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--text-main);
  display: inline-block;
  line-height: 1.2;
}

.channel-value-large:hover {
  color: var(--accent-blue);
}

.channel-address {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-main);
  font-weight: 500;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 14px;
  border: 1px solid var(--border-light);
  border-radius: 2px;
  background: var(--bg-main);
  transition: var(--transition-smooth);
}

.copy-btn:hover {
  background: var(--text-main);
  color: #fff;
  border-color: var(--text-main);
}

/* Contact Message Form */
.inquiry-form-card {
  background: var(--bg-card);
  padding: 48px;
  border-radius: 2px;
  border: 1px solid var(--border-light);
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--text-main);
}

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

.form-submit-btn {
  width: 100%;
  padding: 16px 24px;
  background: var(--text-main);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.form-submit-btn:hover {
  background: #000;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Map Interactive Card */
.map-embed-wrapper {
  margin-top: 48px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #fff;
}

.map-header {
  padding: 16px 24px;
  background: var(--bg-card);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.map-frame-box {
  position: relative;
  height: 380px;
  width: 100%;
}

.map-frame-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(85%) contrast(1.1);
  transition: filter 0.4s ease;
}

.map-frame-box:hover iframe {
  filter: grayscale(20%);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-dark);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand {
  max-width: 440px;
}

.footer-logo-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.92rem;
  color: #b0aca5;
  line-height: 1.7;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #8f8b85;
  margin-bottom: 20px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  color: #d1cdc7;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.footer-nav a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact-info {
  font-size: 0.88rem;
  color: #d1cdc7;
  line-height: 1.75;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #7b7771;
}

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 14, 16, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox-modal.active {
  display: flex;
  animation: fadeIn 0.25s ease forwards;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-caption {
  margin-top: 16px;
  color: #f1f0ee;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-align: center;
}

.lightbox-close-btn {
  position: absolute;
  top: 24px;
  right: 28px;
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

/* Toast Message */
.toast-msg {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: #1a1a1a;
  color: #fff;
  padding: 14px 22px;
  border-radius: 4px;
  font-size: 0.85rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  z-index: 3000;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.toast-msg.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .split-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .split-left {
    padding-right: 0;
  }
  .project-entry {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .project-info-col {
    position: static;
  }
  .values-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .hero-main-visual img {
    height: 380px;
  }
  .hero-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .preview-grid {
    grid-template-columns: 1fr;
  }
  .preview-item-large,
  .preview-item-small {
    grid-column: span 1;
  }
  .preview-img-box img {
    height: 300px;
  }
  .gallery-grid-2,
  .gallery-grid-3,
  .gallery-grid-4 {
    grid-template-columns: 1fr;
  }
  .project-photo-frame img {
    height: 280px;
  }
  .contact-card-box,
  .inquiry-form-card {
    padding: 28px 20px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
