/* =============================================
   03 - Elegant Architecture / Real Estate
   Magazine-style editorial design
   ============================================= */

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

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

body {
  font-family: 'DM Sans', 'Noto Sans JP', sans-serif;
  color: #111111;
  background-color: #FFFFFF;
  line-height: 1.8;
  font-weight: 400;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* ---- Utility: Label ---- */
.label {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C9A96E;
  margin-bottom: 20px;
}

/* ---- Utility: Section Heading ---- */
.section-heading {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  color: #111111;
}

/* ---- Scroll Animation Base ---- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  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);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for children */
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

/* =============================================
   SAMPLE BAR
   ============================================= */
.sample-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #111111;
  color: #FFFFFF;
  text-align: center;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  z-index: 1000;
}

/* =============================================
   HEADER
   ============================================= */
.header {
  position: fixed;
  top: 35px;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo,
.footer-logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
}

.logo-bold {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #111111;
}

.logo-light {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #888888;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #111111;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #C9A96E;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #C9A96E;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background: #111111;
  color: #FFFFFF !important;
  padding: 10px 24px;
  font-size: 12px;
  letter-spacing: 0.1em;
  transition: background 0.3s ease;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: #C9A96E;
  color: #FFFFFF !important;
}

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

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #111111;
  position: absolute;
  left: 0;
  transition: all 0.35s cubic-bezier(0.77, 0.2, 0.05, 1);
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 11px; }
.menu-toggle span:nth-child(3) { top: 22px; }

.menu-toggle.active span:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
  top: 11px;
  transform: rotate(-45deg);
}

/* =============================================
   HERO SPLIT
   ============================================= */
.hero {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 100vh;
  margin-top: 107px; /* sample-bar + header height */
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
  background: #111111;
  color: #FFFFFF;
}

.hero-text .label {
  color: #C9A96E;
}

.hero-heading {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  color: #FFFFFF;
}

.hero-subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 2;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 48px;
  max-width: 400px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #C9A96E;
  border-bottom: 1px solid #C9A96E;
  padding-bottom: 8px;
  width: fit-content;
  transition: gap 0.3s ease;
}

.hero-cta:hover {
  gap: 20px;
  color: #C9A96E;
}

.hero-cta .arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.hero-cta:hover .arrow {
  transform: translateX(4px);
}

/* Hero Image */
.hero-image {
  position: relative;
  overflow: hidden;
}

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

/* SAMPLE Watermark on hero */
.hero-watermark {
  position: absolute;
  bottom: 40px;
  right: 40px;
  font-family: 'DM Sans', sans-serif;
  font-size: 120px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* =============================================
   ABOUT
   ============================================= */
.about {
  background: #FFFFFF;
  padding: 140px 48px;
}

.about-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-gold-line {
  width: 60px;
  height: 1px;
  background: #C9A96E;
  margin: 0 auto 40px;
}

.about-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 2.2;
  color: #444444;
  margin-bottom: 24px;
  text-align: left;
}

.about-text:last-child {
  margin-bottom: 0;
}

/* =============================================
   WORKS - BENTO GRID
   ============================================= */
.works {
  background: #F5F5F0;
  padding: 120px 48px;
}

.works-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.works .label,
.works .section-heading {
  text-align: center;
  display: block;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 280px;
  gap: 16px;
  margin-top: 48px;
}

/* Bento item base */
.bento-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

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

.bento-item:hover img {
  transform: scale(1.05);
}

/* Overlay */
.bento-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bento-item:hover .bento-overlay {
  opacity: 1;
}

.bento-category {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C9A96E;
  margin-bottom: 8px;
}

.bento-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.bento-year {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}

/* Tall item: spans 2 rows */
.bento-tall {
  grid-row: 1 / 3;
}

/* Wide item: spans 2 columns */
.bento-wide {
  grid-column: 2 / 4;
}

/* =============================================
   NUMBERS
   ============================================= */
.numbers {
  background: #FFFFFF;
  padding: 120px 48px;
}

.numbers-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.number-item {
  padding: 40px 16px;
}

.number-value {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: #C9A96E;
  line-height: 1;
  margin-bottom: 16px;
}

.number-plus {
  font-size: 0.5em;
  vertical-align: super;
  color: #C9A96E;
}

.number-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888888;
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  background: #F5F5F0;
  padding: 120px 48px;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.contact-text {
  padding-right: 32px;
}

.contact-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 2;
  color: #555555;
  margin-bottom: 40px;
}

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

.contact-info-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-info-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #C9A96E;
  width: 80px;
  flex-shrink: 0;
}

.contact-info-value {
  font-size: 15px;
  font-weight: 400;
  color: #333333;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #111111;
  color: #FFFFFF;
  padding: 16px 40px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: background 0.3s ease, gap 0.3s ease;
}

.btn-contact:hover {
  background: #C9A96E;
  gap: 20px;
  color: #FFFFFF;
}

.btn-contact .arrow {
  transition: transform 0.3s ease;
}

.btn-contact:hover .arrow {
  transform: translateX(4px);
}

.contact-image {
  border-radius: 8px;
  overflow: hidden;
}

.contact-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 8px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #111111;
  color: #FFFFFF;
  padding: 80px 48px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo .logo-bold {
  color: #FFFFFF;
}

.footer-logo .logo-light {
  color: rgba(255, 255, 255, 0.5);
}

.footer-company {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.footer-address {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.4);
}

.footer-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #C9A96E;
  margin-bottom: 24px;
}

.footer-link {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #FFFFFF;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-sample {
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.25) !important;
}

/* =============================================
   RESPONSIVE - TABLET & MOBILE
   ============================================= */
@media (max-width: 1024px) {
  .header-inner {
    padding: 0 32px;
  }

  .hero-text {
    padding: 60px 40px;
  }

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

  .bento-grid {
    grid-template-rows: 240px 240px;
  }

  .footer-inner {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  /* Header */
  .header-inner {
    padding: 0 20px;
    height: 60px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
    z-index: 1000;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 18px;
    letter-spacing: 0.2em;
  }

  .nav-cta {
    margin-top: 16px;
    padding: 14px 32px;
    font-size: 14px;
  }

  /* Hero - stacked, image first */
  .hero {
    grid-template-columns: 1fr;
    margin-top: 95px;
    min-height: auto;
  }

  .hero-image {
    order: -1;
    height: 50vh;
    min-height: 320px;
  }

  .hero-text {
    padding: 48px 24px 64px;
  }

  .hero-heading {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-watermark {
    font-size: 60px;
    bottom: 20px;
    right: 20px;
  }

  /* About */
  .about {
    padding: 80px 24px;
  }

  /* Works */
  .works {
    padding: 80px 24px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }

  .bento-tall {
    grid-row: auto;
  }

  .bento-wide {
    grid-column: auto;
  }

  .bento-item {
    height: 240px;
  }

  .bento-overlay {
    opacity: 1;
  }

  /* Numbers */
  .numbers {
    padding: 80px 24px;
  }

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

  .number-value {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .number-item {
    padding: 24px 8px;
  }

  /* Contact */
  .contact {
    padding: 80px 24px;
  }

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

  .contact-text {
    padding-right: 0;
  }

  .contact-image img {
    height: 300px;
  }

  /* Footer */
  .footer {
    padding: 60px 24px 32px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .sample-bar {
    font-size: 9px;
    padding: 6px 12px;
    letter-spacing: 0.1em;
  }

  .hero-heading {
    font-size: 2rem;
  }

  .section-heading {
    font-size: 1.5rem;
  }

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

  .number-value {
    font-size: 2.5rem;
  }

  .btn-contact {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }
}

/* =============================================
   Philosophy Section
   ============================================= */
.philosophy {
  background: #111;
  padding: 140px 40px;
  text-align: center;
}

.philosophy-inner {
  max-width: 800px;
  margin: 0 auto;
}

.philosophy-line {
  width: 60px;
  height: 1px;
  background: #C9A96E;
  margin: 0 auto 40px;
}

.philosophy-line + .philosophy-quote + .philosophy-line {
  margin: 40px auto 0;
}

.philosophy-quote {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  color: #F5F5F0;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

/* =============================================
   Process Timeline
   ============================================= */
.process {
  padding: 120px 40px;
  background: #F5F5F0;
}

.process-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.process .section-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #C9A96E;
  margin-bottom: 12px;
}

.process .section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 60px;
}

.process-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 0 20px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 60px;
  right: 60px;
  height: 1px;
  background: #C9A96E;
}

.process-step {
  text-align: center;
  position: relative;
  flex: 1;
}

.process-dot {
  width: 24px;
  height: 24px;
  border: 1px solid #C9A96E;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: #F5F5F0;
  position: relative;
  z-index: 1;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.process-step:hover .process-dot {
  background: #C9A96E;
}

.process-number {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #C9A96E;
  margin-bottom: 8px;
  font-weight: 500;
}

.process-name {
  font-size: 14px;
  font-weight: 500;
  color: #111;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .philosophy { padding: 100px 20px; }

  .process-timeline {
    flex-direction: column;
    gap: 40px;
    padding: 0;
  }

  .process-timeline::before {
    top: 0;
    bottom: 0;
    left: 12px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .process-step {
    text-align: left;
    padding-left: 50px;
  }

  .process-dot {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }
}
