/* OPERATIONAL STATEMENTS — California exterior visual concepts
   Palette: sand, clay, sage, charcoal, mist
   Style: architectural editorial, gate motifs, calm motion */

:root {
  --sand: #ede8df;
  --dune: #d4c4b0;
  --clay: #b8734a;
  --sage: #4a5d52;
  --charcoal: #252b28;
  --mist: #9bb5c4;
  --white: #faf9f7;
  --line: rgba(37, 43, 40, 0.1);
  --font-serif: "Libre Baskerville", Georgia, serif;
  --font-sans: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--sand);
  color: var(--charcoal);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }

.ambient {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 10% 20%, rgba(155, 181, 196, 0.2), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(184, 115, 74, 0.12), transparent 45%),
    var(--sand);
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 2000;
  background: linear-gradient(90deg, var(--sage), var(--clay));
}

.wrap { width: min(1180px, 90vw); margin-inline: auto; }
.wrap-narrow { width: min(520px, 88vw); }

/* Header */
.header {
  position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--header);
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.header.scrolled {
  background: rgba(237, 232, 223, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header-row {
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
}
.logo-icon { width: 32px; height: 32px; color: var(--sage); }
.nav { display: flex; gap: 1.6rem; align-items: center; }
.nav a {
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(37, 43, 40, 0.55); position: relative; transition: color 0.3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px;
  background: var(--clay); transition: width 0.35s var(--ease);
}
.nav a:hover { color: var(--charcoal); }
.nav a:hover::after { width: 100%; }
.nav-btn {
  padding: 0.5rem 1.1rem; border: 1.5px solid var(--charcoal) !important;
  color: var(--charcoal) !important;
}
.nav-btn::after { display: none !important; }
.nav-btn:hover { background: var(--charcoal); color: var(--white) !important; }
.burger { display: none; flex-direction: column; gap: 6px; padding: 8px; }
.burger span { width: 22px; height: 2px; background: var(--charcoal); transition: 0.3s; }

/* Typography */
.label {
  display: block; font-size: 0.65rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--clay); font-weight: 600; margin-bottom: 0.6rem;
}
.section-head h2, .display {
  font-family: var(--font-serif); font-weight: 400; line-height: 1.12;
}
.section-head h2 { font-size: clamp(1.85rem, 4vw, 2.65rem); margin-bottom: 0.5rem; }
.section-head .desc { color: rgba(37, 43, 40, 0.6); max-width: 480px; }
.section-head.center { text-align: center; }
.section-head.center .desc { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; padding: 0.85rem 1.65rem;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  transition: transform 0.35s var(--ease-out), background 0.3s, color 0.3s, box-shadow 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--charcoal); color: var(--white); }
.btn.primary:hover { background: var(--clay); box-shadow: 0 12px 32px rgba(184, 115, 74, 0.25); }
.btn.ghost { border: 1.5px solid var(--charcoal); margin-left: 0.5rem; }
.btn.ghost:hover { background: var(--charcoal); color: var(--white); }

/* HERO */
.hero {
  min-height: 100vh; padding-top: var(--header);
  display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: stretch;
}
.hero-visual {
  position: relative; overflow: hidden;
  background: var(--charcoal);
}
.hero-img-wrap { height: 100%; min-height: 88vh; overflow: hidden; }
.hero-photo {
  width: 100%; height: 100%; min-height: 88vh; object-fit: cover;
  animation: slowZoom 20s var(--ease-out) forwards;
}
@keyframes slowZoom {
  from { transform: scale(1.14); }
  to { transform: scale(1); }
}
.gate-frame {
  position: absolute; inset: 8% 10% 8% 15%; width: auto; height: 84%;
  color: rgba(237, 232, 223, 0.55); pointer-events: none;
}
.gate-draw {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawGate 2.5s var(--ease-out) 0.4s forwards;
}
@keyframes drawGate { to { stroke-dashoffset: 0; } }

.hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 3rem 6vw 3rem 2rem;
}
.chip {
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 1.25rem; font-weight: 500;
}
.display { font-size: clamp(1.85rem, 3.8vw, 3rem); margin-bottom: 1.25rem; }
.display .w {
  display: block; overflow: hidden;
  transform: translateY(105%);
  animation: rise 0.95s var(--ease-out) forwards;
}
.display .w:nth-child(1) { animation-delay: 0.2s; }
.display .w:nth-child(2) { animation-delay: 0.35s; }
.display .w:nth-child(3) { animation-delay: 0.5s; }
.display .accent { color: var(--clay); font-style: italic; }
@keyframes rise { to { transform: translateY(0); } }
.lead { color: rgba(37, 43, 40, 0.65); margin-bottom: 1.75rem; font-size: 1.02rem; }
.hero-cta { margin-bottom: 0; }

/* Sections */
.section { padding: 5.5rem 0; }

/* Philosophy */
.philosophy { background: var(--white); }
.principles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem;
}
.principle {
  padding: 2rem 1.5rem; border: 1px solid var(--line);
  background: var(--sand); transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.35s;
}
.principle:hover {
  transform: translateY(-8px); border-color: var(--clay);
  box-shadow: 0 20px 48px rgba(37, 43, 40, 0.06);
}
.principle-num {
  font-family: var(--font-serif); font-size: 1.75rem; color: var(--mist);
  display: block; margin-bottom: 0.75rem;
}
.principle h3 { font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: 0.5rem; font-weight: 400; }
.principle p { font-size: 0.9rem; color: rgba(37, 43, 40, 0.62); }

/* Atmospheres — photo cards */
.atmospheres { padding-bottom: 3rem; }
.atmo-scroll {
  display: flex; gap: 1.25rem; padding: 2rem 5vw 1.25rem;
  overflow-x: auto; overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.atmo-scroll::-webkit-scrollbar { height: 6px; }
.atmo-scroll::-webkit-scrollbar-thumb { background: var(--clay); border-radius: 3px; }
.atmo-card {
  flex: 0 0 auto;
  flex-shrink: 0;
  width: clamp(300px, 38vw, 420px);
  scroll-snap-align: start;
  position: relative; overflow: hidden; background: var(--charcoal);
  transition: transform 0.5s var(--ease), box-shadow 0.45s;
}
.atmo-card:hover {
  box-shadow: 0 22px 50px rgba(37, 43, 40, 0.18);
}
.atmo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.85s var(--ease), filter 0.4s;
}
.atmo-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.05) brightness(1.02);
}
.atmo-info {
  position: absolute; inset: auto 0 0 0; padding: 1.35rem 1.25rem;
  background: linear-gradient(transparent, rgba(37, 43, 40, 0.92));
  color: var(--white);
}
.atmo-info h3 { font-family: var(--font-serif); font-size: 1.3rem; }
.atmo-info p { font-size: 0.78rem; opacity: 0.82; margin-top: 0.25rem; }

/* Statement */
.statement-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center;
}
.statement-copy p { color: rgba(37, 43, 40, 0.65); margin-bottom: 1rem; }
.tags {
  display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.5rem;
}
.tags li {
  padding: 0.35rem 0.85rem; font-size: 0.75rem;
  border: 1px solid var(--line); border-radius: 100px;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease-out);
}
.tags li:hover {
  background: var(--sage); color: var(--white); border-color: var(--sage);
  transform: translateY(-2px);
}
.statement-media {
  position: relative; overflow: hidden;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}
.statement-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.media-badge {
  position: absolute; bottom: 1.25rem; left: 1.25rem;
  background: var(--clay); color: var(--white);
  font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  animation: badgeFloat 4s ease-in-out infinite;
}
@keyframes badgeFloat {
  50% { transform: translateY(-6px); }
}

/* What we create — bento with thumbs */
.create { background: var(--dune); }
.create-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.create-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.3s;
}
.create-card:hover {
  transform: translateY(-5px);
  border-color: rgba(184, 115, 74, 0.3);
  box-shadow: 0 20px 44px rgba(37, 43, 40, 0.09);
}
.create-card--wide { grid-column: span 2; }
.create-card--cta {
  grid-column: span 3;
  background: var(--charcoal);
  border-color: var(--charcoal);
  flex-direction: row;
  align-items: center;
}
.create-card--cta:hover { border-color: var(--charcoal); }
.create-thumb {
  height: 140px;
  overflow: hidden;
  flex-shrink: 0;
}
.create-card--wide .create-thumb { height: 180px; }
.create-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.create-card:hover .create-thumb img { transform: scale(1.05); }
.create-body { padding: 1.35rem 1.4rem 1.5rem; }
.create-card--cta .create-body {
  padding: 2rem 2.5rem;
  color: var(--white);
}
.create-num {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--clay);
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1;
}
.create-card--cta .create-num { color: var(--mist); }
.create-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
}
.create-card p {
  font-size: 0.86rem;
  color: rgba(37, 43, 40, 0.62);
  line-height: 1.55;
}
.create-card--cta p { color: rgba(255, 255, 255, 0.72); max-width: 52ch; }
.create-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  border-bottom: 1px solid var(--clay);
  padding-bottom: 0.15rem;
  transition: color 0.3s, border-color 0.3s;
}
.create-link:hover { color: var(--white); border-color: var(--white); }

/* Process */
.process { background: var(--charcoal); color: var(--white); padding-bottom: 4rem; }
.process .label { color: var(--mist); }
.process-head { max-width: 520px; margin-bottom: 2.5rem; }
.process-head h2 { color: var(--white); margin: 0.4rem 0 0.75rem; }
.process-head p { color: rgba(255, 255, 255, 0.65); }
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, var(--clay), var(--sage), var(--clay));
  opacity: 0.5;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease);
}
.process-track.track-on::before { transform: scaleX(1); }
.process-step {
  padding: 0 1rem 1.5rem;
  text-align: center;
  position: relative;
  transition: transform 0.4s var(--ease);
}
.process-step.visible:hover { transform: translateY(-4px); }
.step-marker {
  width: 56px; height: 56px;
  margin: 0 auto 1.25rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--charcoal);
  position: relative;
  z-index: 1;
  transition: border-color 0.3s, background 0.3s, transform 0.35s var(--ease-out);
}
.process-step:hover .step-marker {
  border-color: var(--clay);
  background: rgba(184, 115, 74, 0.15);
  transform: scale(1.08);
}
.step-marker span {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--clay);
}
.process-step h3 {
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  line-height: 1.35;
}
.process-step p {
  font-size: 0.78rem;
  opacity: 0.68;
  line-height: 1.5;
  max-width: 200px;
  margin-inline: auto;
}

/* Deliver */
.deliver-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center;
  padding: 2.5rem; background: var(--white); border: 1px solid var(--line);
}
.deliver-panel img {
  width: 100%; aspect-ratio: 5/4; object-fit: cover;
  clip-path: polygon(0 0, 100% 6%, 100% 100%, 6% 100%);
}

/* Pricing */
.pricing { background: var(--sand); }
.price-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem; margin-top: 2rem;
}
.price {
  padding: 1.4rem; background: var(--white); border: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.3s;
}
.price::after {
  content: ""; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(184, 115, 74, 0.08), transparent);
  animation: shine 5s ease-in-out infinite;
}
@keyframes shine {
  0%, 100% { left: -100%; }
  50% { left: 120%; }
}
.price:hover { transform: translateY(-6px); border-color: var(--clay); }
.price.featured { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.price h3 { font-size: 0.88rem; font-weight: 500; line-height: 1.35; margin-bottom: 0.6rem; }
.price .amt { font-family: var(--font-serif); font-size: 1.3rem; color: var(--clay); }
.price.featured .amt { color: #e8b49a; }

/* Approach */
.approach { background: var(--white); }
.quote {
  padding: 2.5rem 0; border-block: 1px solid var(--line); margin-bottom: 3rem;
}
.quote p {
  font-family: var(--font-serif); font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-style: italic; line-height: 1.55; color: var(--sage);
}
.audience-cols {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: 1rem;
}
.audience-cols p {
  padding: 1rem 1.2rem; border-left: 3px solid var(--clay);
  background: var(--sand); font-family: var(--font-serif);
  transition: transform 0.35s var(--ease), background 0.35s;
}
.audience-cols p:hover {
  transform: translateX(6px); background: rgba(74, 93, 82, 0.08);
}

/* Note */
.note-box {
  padding: 2rem; background: rgba(184, 115, 74, 0.08);
  border-left: 4px solid var(--clay);
}
.note-box h3 { font-family: var(--font-serif); margin-bottom: 0.5rem; }
.note-box p { font-size: 0.9rem; color: rgba(37, 43, 40, 0.7); max-width: 720px; }

/* Contact */
.contact { background: var(--charcoal); color: var(--white); }
.contact .label { color: var(--mist); }
.contact h2 { font-family: var(--font-serif); font-weight: 400; margin: 0.5rem 0 1rem; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end;
}
.contact-card {
  font-style: normal; padding: 2rem; background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-card .name { font-weight: 600; letter-spacing: 0.06em; margin-bottom: 1rem; }
.contact-card p { margin-bottom: 0.45rem; opacity: 0.85; font-size: 0.95rem; }
.contact-card a { color: #e8b49a; transition: opacity 0.3s; }
.contact-card a:hover { opacity: 0.75; }
.contact-card .btn { margin-top: 1.5rem; }

.footer {
  padding: 1.25rem 0; background: #1a1f1c; color: rgba(255, 255, 255, 0.45); font-size: 0.8rem;
}
.footer-row { display: flex; justify-content: space-between; }
.footer a:hover { color: var(--white); }

/* Reveal animations */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal { transform: translateY(36px); }
.reveal-left { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }
.reveal-scale { transform: scale(0.94); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible {
  opacity: 1; transform: none;
}

@media (max-width: 640px) {
  .atmo-card { width: min(88vw, 360px); }
}

@media (max-width: 1100px) {
  .create-bento { grid-template-columns: repeat(2, 1fr); }
  .create-card--wide { grid-column: span 2; }
  .create-card--cta { grid-column: span 2; }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 55vh; }
  .hero-img-wrap, .hero-photo { min-height: 55vh; }
  .hero-text { padding: 2.5rem 5vw; }
  .principles, .statement-grid, .deliver-panel, .contact-grid { grid-template-columns: 1fr; }
  .create-bento { grid-template-columns: 1fr; }
  .create-card--wide,
  .create-card--cta { grid-column: span 1; }
  .create-card--cta { flex-direction: column; align-items: stretch; }
  .process-track { grid-template-columns: 1fr; gap: 0.5rem; }
  .process-track::before { display: none; }
  .process-step { text-align: left; padding: 1rem 0 1rem 4.5rem; }
  .step-marker { position: absolute; left: 0; top: 0; margin: 0; width: 48px; height: 48px; }
  .gate-frame { opacity: 0.4; }
}
@media (max-width: 640px) {
  .burger { display: flex; }
  .nav {
    position: fixed; top: var(--header); left: 0; right: 0;
    flex-direction: column; padding: 2rem; background: var(--sand);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-120%); opacity: 0; transition: 0.4s var(--ease);
  }
  .nav.open { transform: translateY(0); opacity: 1; }
  .audience-cols { grid-template-columns: 1fr; }
  .btn.ghost { margin-left: 0; margin-top: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
