
:root {
  --bg: #eaf4fb;
  --panel: #ffffff;
  --text: #121212;
  --muted: rgba(18, 18, 18, 0.65);
  --line: rgba(0, 0, 0, 0.08);
  --accent: #c9b79c; /* warm stone / SoCal luxury */
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.85; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus { left: 12px; }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(234, 244, 251, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  border: 1px solid var(--line);
  background: #fff;
}
.brand-name {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  letter-spacing: 0.01em;
}
.brand-tag {
  font-size: 12px;
  color: var(--muted);
}

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

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
}
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--line);
}
.nav-links a:hover { color: var(--text); }

.mobile-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

/* HERO */
.hero {
  padding: 86px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 12px;
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1.05;
  margin: 0 0 18px;
}

.lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 22px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-weight: 600;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.10);
}
.btn-ghost {
  background: transparent;
  box-shadow: none;
}
.btn-accent {
  background: linear-gradient(180deg, #fff, rgba(201, 183, 156, 0.18));
}

.hero-media {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

/* SECTIONS */
.section { padding: 86px 0; }
 .section.alt { background: transparent; }

.section-head h2 {
  font-family: "Playfair Display", serif;
  font-size: 34px;
  margin: 0 0 10px;
}
.section-head p {
  color: var(--muted);
  max-width: 76ch;
  margin: 0 0 26px;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card .pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: rgba(18,18,18,0.70);
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.02);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* PROJECTS GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.project-card {
  grid-column: span 6;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.project-card img {
  height: 280px;
  object-fit: cover;
  width: 100%;
}
.project-card .content {
  padding: 18px 18px 20px;
}
.project-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}
.kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.badge {
  font-size: 12px;
  color: rgba(18,18,18,0.70);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.02);
}
.project-card h3 {
  font-size: 18px;
  margin: 0 0 8px;
}
.project-card p { margin: 0; color: var(--muted); }

.note {
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(201,183,156,0.12);
  color: rgba(18,18,18,0.78);
}

/* FORM */
.form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  max-width: 720px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
label { font-weight: 600; font-size: 14px; }
input, textarea, select {
  font: inherit;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
textarea { min-height: 140px; resize: vertical; }

.inline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* FOOTER */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  color: var(--muted);
  flex-wrap: wrap;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media img { height: 420px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .project-card { grid-column: span 12; }
}

@media (max-width: 720px) {
  .mobile-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    right: 24px;
    top: 76px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px;
    box-shadow: var(--shadow);
    min-width: 220px;
  }
  .nav-links.is-open { display: flex; }
  .cards { grid-template-columns: 1fr; }
  .inline { grid-template-columns: 1fr; }
  .container { width: min(var(--container), calc(100% - 32px)); }
}


/* --- Layout updates (Screenshot-inspired) --- */
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.actions[style*="justify-content:center"] { justify-content: center; }

.hero-grid .actions { margin-top: 18px; }

.services-slab {
  background: var(--bg);
  padding: 96px 0;
}
.services-head {
  text-align: center;
  max-width: 74ch;
  margin: 0 auto 36px;
}
.services-title {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 44px;
  margin: 0 0 14px;
}
.services-lead {
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}


.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: center;
}
.service-card h3 {
  margin: 0 0 10px;
  font-family: "Playfair Display", serif;
  font-size: 22px;
}
.service-card p { margin: 0; color: var(--muted); }

.service-card .bullets {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.service-card .bullets li { margin: 6px 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.about-title {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 56px;
  line-height: 1.05;
  margin: 0 0 18px;
}
.about-lead {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 60ch;
}
.about-body p { color: var(--muted); margin: 0 0 14px; }

.about-media {
  background: #d9ecfb;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.about-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-title { font-size: 44px; }
  .about-media img { height: 360px; }
}

/* --- CMS + Logo --- */
.brand-logo{
  width:66px;
  height:66px;
  object-fit:contain;
  background:transparent;
  border:none;
  border-radius:0;
  transform: translateZ(0);
  transition: transform 180ms ease, filter 180ms ease;
}

/* Subtle logo hover animation */
.brand:hover .brand-logo{
  transform: scale(1.045) translateY(-1px);
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.08));
}
/* --- Home hero metrics (CMS) --- */
.metrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:18px;
}
.metric{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
  box-shadow: var(--shadow);
}
.metric-value{display:block;font-weight:700;}
.metric-label{display:block;color:var(--muted);font-size:13px;margin-top:4px;}

@media (max-width: 900px){
  .metrics{grid-template-columns:1fr;}
}

/* --- Contact cards --- */
.contact-cards{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin: 18px 0 26px;
}
.contact-card{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:16px;
  border-radius:16px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
}
.contact-card span{color:var(--muted); font-size:13px;}
.contact-card strong{font-size:16px;}
@media (max-width: 900px){
  .contact-cards{grid-template-columns:1fr;}
}

/* === Projects page: TRUE triangle layout (12-col system) === */
body[data-page="projects"] #projectsGallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

/* First two cards: normal left / right */
body[data-page="projects"] #projectsGallery > .project-card:nth-child(1),
body[data-page="projects"] #projectsGallery > .project-card:nth-child(2) {
  grid-column: span 6;
}

/* Third card: centered under top two */
body[data-page="projects"] #projectsGallery > .project-card:nth-child(3) {
  grid-column: 4 / span 6; /* center in 12-col grid */
}

/* Mobile: stack */
@media (max-width: 980px) {
  body[data-page="projects"] #projectsGallery > .project-card {
    grid-column: span 12 !important;
  }
}

/* ===============================
   Currently Working On Section
================================= */

.project-feature {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.current-work-title {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

/* Elegant underline accent */
.current-work-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #1e3a8a; /* or your accent color */
  margin-top: 12px;
}

#currentWorkSubtitle {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6b7280;
  margin-top: 6px;
}


