/* =============================
       Brand System
       Palette (inspired by your refs):
       --ivory: #F6F4EF, --linen: #EAE4DA, --sand: #C7B9A6,
       --olive: #5E6B5A, --charcoal: #2C2C2A, --gold: #C1A45F
       ============================= */
    :root {
      --ivory: #F6F4EF;
      --linen: #EAE4DA;
      --sand: #C7B9A6;
      --olive: #5E6B5A;
      --charcoal: #2C2C2A;
      --gold: #C1A45F;
      --muted: #8D8A85;
      --shadow: 0 20px 40px rgba(0,0,0,.12);
      --radius: 18px;
    }

    * { box-sizing: border-box; }
    html, body { height: 100%; }
    body {
      margin: 0;
      font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      color: var(--charcoal);
      background: var(--ivory);
      line-height: 1.6;
    }
    h1, h2, h3 { font-family: 'Playfair Display', serif; margin: 0 0 .4rem; line-height: 1.2; }
    a { color: inherit; text-decoration: none; }
    .container { width: min(1100px, 92%); margin: 0 auto; }

    /* --- Header / Nav --- */
    .nav {
      position: fixed; inset: 0 0 auto 0; z-index: 20;
      display: flex; align-items: center; justify-content: center;
      backdrop-filter: saturate(180%) blur(10px);
      background: color-mix(in srgb, var(--ivory) 70%, transparent);
      border-bottom: 1px solid rgba(0,0,0,.06);
    }
    .nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: min(1200px, 94%); padding: 14px 0; }
    .brand { display: flex; align-items: center; gap: .7rem; font-weight: 600; }
    .brand svg { height: 32px; width: 32px; }
    .brand span { letter-spacing: .06em; }
    .menu { display: flex; gap: 24px; justify-content: center; font-size: .95rem; }
    .menu a { opacity: .85; }
    .menu a:hover { opacity: 1; }
    .cta { display: flex; justify-content: end; }
    .btn {
      padding: 10px 16px; border-radius: 999px; border: 1px solid var(--charcoal);
      transition: .25s ease; font-weight: 500;
    }
    .btn:hover { background: var(--charcoal); color: white; }

    /* --- Hero --- */
    .hero { position: relative; min-height: 92vh; display: grid; place-items: end start; }
    .hero-media { position: absolute; inset: 0; }
    .hero-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.75) saturate(1.05); }
    .hero-content { position: relative; z-index: 1; padding: 24vh 0 8vh; width: 100%; }
    .hero-card { background: color-mix(in srgb, var(--ivory) 85%, transparent); backdrop-filter: blur(6px); border-radius: var(--radius); box-shadow: var(--shadow); width: min(720px, 94%); padding: 32px; border: 1px solid rgba(0,0,0,.06); }
    .eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .75rem; color: var(--olive); font-weight: 600; }
    .hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin:.5rem 0 1rem; }
    .hero p { color: #4a4a48; margin: 0 0 1.25rem; }
    .hero-actions { display: flex; gap: 12px; }
    .btn-primary { background: var(--charcoal); color: white; border-color: var(--charcoal); }
    .btn-primary:hover { background: black; }
    .btn-ghost { border-color: var(--gold); color: var(--charcoal); }
    .btn-ghost:hover { background: var(--gold); color: #2b2616; border-color: var(--gold); }

    /* --- Services --- */
    section { padding: 80px 0; }
    .section-hd { display:flex; align-items:end; justify-content:space-between; gap: 20px; margin-bottom: 28px; }
    .section-hd p { color: var(--muted); max-width: 680px; margin: 6px 0 0; }
    .cards { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
    .card { grid-column: span 4; background: white; border: 1px solid rgba(0,0,0,.06); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); transition: transform .25s ease; }
    .card:hover { transform: translateY(-4px); }
    .card .icon { height: 42px; width: 42px; display:grid; place-items:center; border-radius: 10px; background: var(--linen); color: var(--olive); margin-bottom: 12px; font-weight: 600; }

    /* --- Portfolio --- */
    .masonry { columns: 3; column-gap: 18px; }
    .tile { break-inside: avoid; margin-bottom: 18px; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid rgba(0,0,0,.06); box-shadow: var(--shadow); }
    .tile img { width: 100%; display: block; }
    .tile .cap { padding: 14px 16px; }

    /* --- Testimonials --- */
    .quotes { display: grid; grid-template-columns: 1.3fr .7fr; gap: 20px; }
    .quote { background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
    .q { font-size: 1.05rem; }

    /* --- Appointment --- */
    .appt { background: linear-gradient(135deg, var(--linen), #fff); border-top: 1px solid rgba(0,0,0,.06); border-bottom: 1px solid rgba(0,0,0,.06); }
    .appt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
    .appt .panel { background: white; border-radius: var(--radius); padding: 22px; border: 1px solid rgba(0,0,0,.06); box-shadow: var(--shadow); }
    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .form-grid textarea { grid-column: span 2; }
    input, textarea, select { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid #d7d4cf; background: #fff; font: inherit; }
    label { font-size: .85rem; color: var(--muted); display:block; margin-bottom: 6px; }
    .submit { margin-top: 10px; }

    /* --- Footer --- */
    footer { padding: 60px 0 40px; background: #161615; color: #EAEAE7; }
    .foot-grid { display:grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; align-items:start; }
    .foot a { color: #EAEAE7; opacity: .8; }
    .foot a:hover { opacity: 1; }
    .badge { display:inline-flex; align-items:center; gap:10px; margin-top: 12px; padding:10px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12);}    

    /* --- Responsive --- */
    @media (max-width: 980px) {
      .card { grid-column: span 6; }
      .quotes, .appt-grid, .foot-grid { grid-template-columns: 1fr; }
      .masonry { columns: 2; }
    }
    @media (max-width: 640px) {
      .nav-inner { grid-template-columns: 1fr auto; gap: 8px; }
      .menu { display:none; }
      .hero-card { padding: 22px; }
      .masonry { columns: 1; }
      .card { grid-column: span 12; }
      .form-grid { grid-template-columns: 1fr; }
    }
    
    .required {
          color: #a63b23;
      }
      
    button[type="submit"] {
        cursor: pointer;
    }
    
    .basic-link {
        text-decoration: underline;
    }
    .basic-link:hover {
        text-decoration: none;
    }
    
    .valid {
        color: green;
    }