/* NewHouseOS Landing Page */

/* --- Variables --- */
:root {
  --bg: #F7F4EF;
  --bg-alt: #EDE9E1;
  --fg: #1A1A18;
  --fg-muted: #6B6560;
  --accent: #2D5A3D;
  --accent-warm: #8B6914;
  --accent-light: #3A7A52;
  --border: #D8D3C8;
  --card-bg: #FFFFFF;
  --tag-bg: #E8E3D9;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }
a { color: inherit; text-decoration: none; }

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}
nav {
  display: flex;
  gap: 2rem;
}
nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color 0.2s;
}
nav a:hover { color: var(--fg); }

/* --- Hero --- */
.hero {
  padding: 10rem 2rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-overline {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.hero-body {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: 42ch;
  line-height: 1.7;
}
.hero-visual {
  position: relative;
  height: 420px;
}
.hero-shape {
  position: absolute;
  border-radius: 4px;
}
.hero-shape-1 {
  width: 70%;
  height: 80%;
  top: 0; right: 0;
  background: linear-gradient(135deg, var(--accent) 0%, #1E4A2E 100%);
  border-radius: 8px;
}
.hero-shape-2 {
  width: 50%;
  height: 50%;
  bottom: 0; left: 0;
  background: var(--accent-warm);
  opacity: 0.85;
  border-radius: 8px;
}
.hero-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  padding: 1.25rem 1.75rem;
}
.badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.badge-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  margin-top: 0.25rem;
  opacity: 0.85;
  line-height: 1.3;
}

/* --- Numbers --- */
.numbers {
  background: var(--fg);
  padding: 4rem 2rem;
}
.numbers-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.stat {
  text-align: center;
  flex: 1;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: #F7F4EF;
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat-label {
  display: block;
  font-size: 0.8125rem;
  color: #9A958E;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: #3A3A36;
  flex-shrink: 0;
}

/* --- Services --- */
.services {
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.services-header {
  margin-bottom: 4rem;
  max-width: 50ch;
}
.services-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.services-header p {
  color: var(--fg-muted);
  font-size: 1.0625rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.service-card-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #F7F4EF;
}
.service-card-accent h3,
.service-card-accent p,
.service-card-accent li { color: #F7F4EF; }
.service-card-accent p { opacity: 0.85; }
.service-card-accent .service-icon { color: #F7F4EF; }
.service-icon {
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.service-card h3 {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}
.service-card p {
  color: var(--fg-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-list li {
  font-size: 0.875rem;
  color: var(--fg-muted);
  padding-left: 1rem;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* --- Philosophy --- */
.philosophy {
  background: var(--bg-alt);
  padding: 8rem 2rem;
}
.philosophy-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.philosophy-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.philosophy-text p {
  color: var(--fg-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.philosophy-values {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.value {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: start;
}
.value-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.4;
}
.value h4 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.value p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* --- Showcase --- */
.showcase {
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.showcase-header {
  margin-bottom: 3.5rem;
}
.showcase-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.showcase-header p {
  color: var(--fg-muted);
  font-size: 1.0625rem;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.showcase-item {
  border-radius: 6px;
  overflow: hidden;
}
.showcase-item-large {
  grid-column: span 2;
  grid-row: span 2;
}
.showcase-item-wide {
  grid-column: span 2;
}
.showcase-placeholder {
  background: linear-gradient(135deg, var(--bg-alt) 0%, #D8D3C8 100%);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  min-height: 180px;
}
.showcase-item-large .showcase-placeholder {
  min-height: 360px;
}
.showcase-item-wide .showcase-placeholder {
  min-height: 160px;
}
.placeholder-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.placeholder-label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
}
.placeholder-sub {
  font-size: 0.8125rem;
  color: var(--fg-muted);
}
.showcase-cta {
  margin-top: 3rem;
  text-align: center;
}
.showcase-cta p {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--fg-muted);
  font-style: italic;
}

/* --- Closing --- */
.closing {
  background: var(--fg);
  color: #F7F4EF;
  padding: 8rem 2rem;
  text-align: center;
}
.closing-content {
  max-width: 700px;
  margin: 0 auto;
}
.closing h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  letter-spacing: -0.02em;
  color: #F7F4EF;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.closing p {
  font-size: 1.0625rem;
  color: #9A958E;
  line-height: 1.7;
  max-width: 48ch;
  margin: 0 auto 2.5rem;
}
.closing-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}
.contact-tel {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #F7F4EF;
  letter-spacing: -0.01em;
}
.contact-sep { color: #3A3A36; }
.contact-email {
  font-size: 1rem;
  color: #9A958E;
}
.closing-location {
  font-size: 0.875rem;
  color: #6B6560;
  margin-bottom: 0;
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.footer-brand .wordmark {
  display: block;
  margin-bottom: 0.5rem;
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.5;
}
.footer-info {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.6;
  text-align: right;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { height: 280px; }
  .services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .philosophy-grid { grid-template-columns: 1fr; gap: 3rem; }
  .showcase-grid { grid-template-columns: 1fr 1fr; }
  .showcase-item-large { grid-column: span 2; }
  .numbers-grid { flex-direction: column; gap: 1.5rem; }
  .stat-divider { width: 60px; height: 1px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-info { text-align: center; }
}
@media (max-width: 600px) {
  .hero { padding: 7rem 1.5rem 4rem; }
  .hero-body { font-size: 1rem; }
  nav { display: none; }
  .services, .philosophy, .showcase { padding: 5rem 1.5rem; }
  .closing { padding: 5rem 1.5rem; }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-item-large { grid-column: span 1; }
  .showcase-item-wide { grid-column: span 1; }
}