/* ===========================
   VARIABLES
=========================== */
:root {
  --color-slate-dark: #232a31;
  --color-slate-mid: #5f6a76;
  --color-slate-pale: #eef1f4;
  --color-scarlet: #a8195e;
  --color-scarlet-bright: #c82072;
  --color-paper: #ffffff;
  --color-offwhite: #f7f6f3;
  --color-ink: #111827;
  --color-muted: #6f7a88;

  --shadow-lg: 0 24px 60px rgba(17, 24, 39, 0.08);

  --space-section: 3rem;
  --space-section-mobile: 2rem;
}

/* ===========================
   GLOBAL
=========================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img, svg { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { border: none; }
p { font-family: 'Syne', monospace; }

/* ===========================
   NAVIGATION
=========================== */
.sticky-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .9rem 2rem;
  background: var(--color-slate-dark);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.2);
}
.sticky-nav a {
  color: #fff;
  font-family: 'DM Mono', monospace;
  font-size: .82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
}
.sticky-nav a:hover { color: var(--color-scarlet-bright); }

.nav-spacer { margin-left: auto; display: flex; gap: .65rem; }

.lozenge-btn {
  display: inline-flex;
  align-items: center;
  padding: .55rem 1.2rem;
  background: var(--color-scarlet);
  color: #fff;
  border-radius: 999px;
  font-family: 'DM Mono', monospace;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.lozenge-btn:hover { opacity: .85; }

/* ===========================
   BURGER MENU
=========================== */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  cursor: pointer;
  padding: .3rem;
  z-index: 100000;
}
.burger span {
  width: 22px;
  height: 2px;
  background: #fff;
  transition: .3s ease;
}
.burger.active span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }


/* ===========================
   HERO
=========================== */
.hero {
  background: linear-gradient(180deg, #35414d, #4f5965);
  padding: 8rem 7vw 6rem;
  color: #fff;
}
.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.logo-am {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 6.8rem);
  letter-spacing: -0.06em;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.76rem, 3.52vw, 2.64rem);
  color: var(--color-scarlet);
}
.hero-title--white { color: #fff; }



.hero-subtitle {
  margin: 1rem auto .5rem;
  max-width: 700px;
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-lozenges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem;
  margin: 1.2rem 0 .6rem;
}
.hero-lozenges span {
  font-family: 'Syne', monospace;
  font-weight: 700;
  font-size: .72rem;
  padding: .75rem 1.1rem;
  border-radius: 999px;
  background: var(--color-scarlet);
  color: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.4rem;
  justify-content: center;  
  align-items: center;        
  text-align: center;
}
.secondary-btn {
  padding: .65rem 1.25rem;
  background: linear-gradient(135deg, var(--color-scarlet), var(--color-scarlet-bright));
  color: #fff;
  border-radius: 999px;
  font-family: 'DM Mono', monospace;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* ===========================
   SECTIONS
=========================== */
.section { padding: var(--space-section) 7vw; }
.section-header { display: flex; flex-direction: column; gap: .65rem; }
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
  color: var(--color-slate-dark);
}
.section-rule {
  width: 84px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-scarlet), var(--color-scarlet-bright));
  margin-bottom: 2rem;
}
.section-copy {
  max-width: 760px;
  margin-bottom: 2.2rem;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.8;
}

/* ===========================
   SERVICES / APPROACH / PROJECTS
=========================== */
.services { background: var(--color-paper); box-shadow: inset 0 1px 0 rgba(15,23,42,0.04); }
.approach { background: var(--color-offwhite); }

.services-grid,
.approach-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card,
.approach-card,
.project-card {
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(15,23,42,0.06);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  transition: .25s ease;
}
.service-card:hover,
.approach-card:hover,
.project-card:hover {
  transform: translateY(-6px);
}

.service-card h3,
.approach-card h3,
.project-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  margin-bottom: .9rem;
  color: var(--color-slate-dark);
}
.service-card p,
.approach-card p,
.project-card p {
  color: var(--color-slate-mid);
  font-size: .98rem;
  line-height: 1.75;
}

/* ===========================
   CONTACT
=========================== */
.contact-panel {
  background: #fff;
  border-radius: 28px;
  padding: 3.25rem 2.2rem;
  box-shadow: var(--shadow-lg);
  max-width: 1150px;
  margin: 0 auto;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 2rem;
}
.contact-photo {
  max-width: 6cm;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  margin: 1.5rem auto 0;
}

/* ===========================
   FOOTER
=========================== */
.footer-legal {
  text-align: center;
  font-family: 'Syne', sans-serif;
  color: var(--color-ink);
  padding: 2.25rem 1rem;
}
.footer-links {
  display: inline-flex;
  gap: .6rem;
  margin-bottom: .8rem;
}
.footer-links a {
  color: var(--color-ink);
  text-decoration: none;
}

/* ===========================
   MODAL
=========================== */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(17,24,39,0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
}
.modal-content {
  width: min(100%, 440px);
  background: #fff;
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: 0 45px 90px rgba(15,23,42,0.2);
  position: relative;
}
.modal-content .close {
  position: absolute;
  right: 1.5rem;
  top: 1.2rem;
  font-size: 1.4rem;
  cursor: pointer;
}

/* ===========================
   CONTACT MODAL — FIXED STYLE
=========================== */

.modal-content.contact-card {
  padding: 2.75rem 2.5rem;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  font-family: 'Syne', sans-serif;
}

.contact-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--color-slate-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.modal-content label,
.contact-form-panel label {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-slate-dark);
  margin-bottom: 0.4rem;
  display: block;
}

.modal-content input,
.modal-content textarea,
.contact-form-panel input,
.contact-form-panel textarea {
  width: 100%;
  padding: 1.1rem 1.2rem;
  border-radius: 22px;
  border: 1px solid rgba(15,23,42,0.12);
  background: #f8f8f8;
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  margin-bottom: 1.6rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-content input:focus,
.modal-content textarea:focus,
.contact-form-panel input:focus,
.contact-form-panel textarea:focus {
  border-color: var(--color-scarlet);
  box-shadow: 0 0 0 3px rgba(168,25,94,0.12);
  outline: none;
}

/* Standalone /contact page form panel (distinct from the wide
   homepage .contact-panel used for the consultation booking layout) */
.contact-form-panel {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border-radius: 28px;
  padding: 2.75rem 2.5rem;
  box-shadow: var(--shadow-lg);
  font-family: 'Syne', sans-serif;
}

.checkbox-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.55;
  margin-bottom: 1.8rem;
  display: block;
}
.checkbox-label input[type="checkbox"] {
  display: inline;
  width: auto;
  margin: 0 0.3rem;
  vertical-align: middle;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}
.contact-btn {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-scarlet), var(--color-scarlet-bright));
  color: #fff;
  font-family: 'DM Mono', monospace;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(168, 25, 94, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.contact-btn:hover {
  transform: translateY(-2px);
}

.modal-content .close {
  font-size: 1.6rem;
  color: var(--color-slate-mid);
}
.hero-supporting-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-offwhite);
  margin-top: 0.8rem;
  letter-spacing: -0.02em;
  text-align: center;
}
.hero-inner {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFade 1.2s ease-out forwards;
}

@keyframes heroFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===========================
   LEGAL / STATIC CONTENT PAGES
=========================== */
.legal-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 8rem 1.5rem 5rem;
  font-family: 'Syne', sans-serif;
  color: var(--color-ink);
  line-height: 1.7;
}
.legal-page h1 {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-slate-dark);
  margin-bottom: 0.5rem;
}
.legal-page h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-slate-dark);
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}
.legal-page p, .legal-page li {
  color: var(--color-muted);
  font-size: 0.98rem;
}
.legal-page ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.legal-page a { color: var(--color-scarlet); }

/* ===========================
   SIMPLE SUBPAGE HERO (services/consultation/contact)
=========================== */
.subpage-hero {
  padding: 8rem 1.5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.subpage-hero h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--color-slate-dark);
  margin-bottom: 0.75rem;
}
.subpage-hero p {
  font-family: 'Syne', sans-serif;
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}
.subpage-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 1.5rem 5rem;
}
