
/* =========================================================
   MICHELLE MARTORELL WEBSITE
   Clean, responsive, hand-editable CSS
========================================================= */

:root {
  --violet: #4b3898;
  --signature-violet: #795bb3;
  --ink: #231f20;
  --aqua: #5fcfd0;
  --lavender: #f4f2fb;
  --lavender-2: #ece9f8;
  --navy: #0f2239;
  --white: #ffffff;
  --shell: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background: #fff;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.shell {
  width: min(calc(100% - (var(--gutter) * 2)), var(--shell));
  margin-inline: auto;
}

/* =========================================================
   HEADER
========================================================= */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 30;
}
.nav-wrap {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 16px;
  white-space: nowrap;
}
.brand-mark { width: 62px; height: 58px; object-fit: contain; }
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
  font-size: 12px;
  font-weight: 700;
}
.site-nav a {
  position: relative;
  padding: 13px 0 11px;
}
.site-nav a.active::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--violet);
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  padding-top: 110px;
  background: linear-gradient(115deg, #ffffff 5%, #fbfafe 45%, #f2f0fa 100%);
  border-bottom: 2px solid var(--aqua);
}
.hero-grid {
  position: relative;
  z-index: 3;
  min-height: 540px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: end;
  gap: 30px;
}
.hero-copy {
  align-self: center;
  padding: 30px 0 64px;
  max-width: 520px;
}
.hero h1 {
  margin: 0;
  color: #42318d;
  font-family: var(--serif);
  font-size: clamp(58px, 6.8vw, 88px);
  line-height: 0.94;
  font-weight: 400;
  letter-spacing: -0.035em;
}
.aqua-rule {
  width: 50px;
  height: 2px;
  background: var(--aqua);
  margin: 24px 0 22px;
}
.aqua-rule.short { width: 44px; margin: 18px 0 0; }
.hero p {
  margin: 0 0 14px;
  max-width: 470px;
  font-size: 17px;
}
.hero-lead { font-weight: 600; }
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.button.primary {
  color: #fff;
  background: linear-gradient(135deg, #44318f, #312273);
  border-radius: 3px;
}
.button.outline {
  border: 1px solid #6553ae;
  color: var(--violet);
  background: rgba(255,255,255,0.45);
}
.button.ghost {
  min-width: 168px;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.78);
}
.text-link {
  color: var(--violet);
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid var(--violet);
  padding-bottom: 4px;
}
.linkedin-box {
  display: inline-flex;
  width: 17px;
  height: 17px;
  align-items: center;
  justify-content: center;
  background: var(--violet);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 1px;
}
.hero-photo-wrap {
  align-self: end;
  position: relative;
  height: 540px;
  display: flex;
  justify-content: center;
  align-items: end;
}
.hero-photo {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
  max-height: 540px;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  box-shadow: none;
  filter: drop-shadow(0 18px 30px rgba(56, 42, 102, 0.10));
}
.hero-photo-glow {
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,190,232,0.56), rgba(215,236,240,0.25) 58%, transparent 72%);
  bottom: -80px;
  right: -40px;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-shape-one {
  width: 780px;
  height: 780px;
  right: -240px;
  top: -340px;
  border: 38px solid rgba(198,226,232,0.28);
}
.hero-shape-two {
  width: 690px;
  height: 690px;
  right: -150px;
  top: 120px;
  background: linear-gradient(135deg, rgba(217,214,241,0.42), rgba(219,238,239,0.30));
}

/* =========================================================
   SECTION TITLES
========================================================= */
.section-title {
  margin: 0 0 26px;
  color: var(--violet);
  font-size: 24px;
  letter-spacing: 0.01em;
}
.centered { text-align: center; }

/* =========================================================
   WHAT I DO
========================================================= */
.what-i-do {
  padding: 28px 0 34px;
  background: #fff;
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.expertise-item {
  min-height: 245px;
  padding: 4px 26px 8px;
  text-align: center;
}
.expertise-item + .expertise-item { border-left: 1px solid #dedde6; }
.expertise-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 13px;
}
.expertise-item h3 {
  margin: 0 0 13px;
  color: var(--violet);
  font-size: 22px;
  line-height: 1.2;
}
.expertise-item p {
  margin: 0 auto;
  max-width: 235px;
  font-size: 15px;
  line-height: 1.7;
}

/* =========================================================
   ABOUT
========================================================= */
.about {
  position: relative;
  overflow: hidden;
  padding: 46px 0 0;
  background: linear-gradient(120deg, #f5f4fb, #f0eef9 60%, #f6f5fc);
}
.about-grid {
  position: relative;
  z-index: 2;
  min-height: 390px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
}
.about-quote {
  position: relative;
  padding: 0 0 185px 72px;
}
.quote-mark {
  position: absolute;
  left: 0;
  top: -18px;
  font-family: var(--serif);
  font-size: 88px;
  line-height: 1;
  color: var(--violet);
}
.about blockquote {
  margin: 0;
  max-width: 470px;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.38;
  color: var(--violet);
}
.about-succulent {
  position: absolute;
  left: -6px;
  bottom: -88px;
  width: 575px;
  max-width: 92%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}
.about-copy {
  padding: 12px 0 65px;
}
.about-copy h2 {
  margin: 0 0 18px;
  color: var(--violet);
  font-size: 20px;
}
.about-copy p {
  margin: 0 0 20px;
  max-width: 500px;
  font-size: 15px;
  line-height: 1.75;
}
.about-orb {
  position: absolute;
  left: -180px;
  bottom: -270px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(189,226,232,0.37);
}

/* =========================================================
   FEATURED WORK
========================================================= */
.featured-work {
  padding: 30px 0 26px;
  background: #fff;
}
.carousel {
  position: relative;
  padding: 0 40px 34px;
}
.carousel-window { overflow: hidden; }
.carousel-track {
  display: flex;
  gap: 28px;
  transition: transform 0.42s ease;
  will-change: transform;
}
.work-card {
  flex: 0 0 calc((100% - 56px) / 3);
  min-width: 0;
}
.work-image-wrap {
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: #ddd;
}
.work-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.work-card:hover .work-image { transform: scale(1.025); }
.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(35,23,73,0.82);
  border: 2px solid rgba(255,255,255,0.8);
  color: #fff;
  font-size: 21px;
  padding-left: 3px;
}
.work-card h3 {
  margin: 12px 0 3px;
  color: var(--violet);
  font-size: 17px;
}
.work-card p {
  margin: 0 0 9px;
  min-height: 61px;
  font-size: 14px;
  line-height: 1.45;
}
.work-link {
  color: var(--violet);
  font-size: 13px;
  font-weight: 700;
}
.work-link.pending { cursor: default; }
.carousel-arrow {
  position: absolute;
  top: 34%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #6e5bb8;
  background: #fff;
  color: var(--violet);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 4;
}
.carousel-arrow.prev { left: -6px; }
.carousel-arrow.next { right: -6px; }
.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid #6c59b4;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
.carousel-dot.active { background: var(--violet); }

/* =========================================================
   CONTACT CTA
========================================================= */
.contact-cta {
  position: relative;
  overflow: visible;
  min-height: 110px;
  background: linear-gradient(90deg, #30246e, #48318c 62%, #3e2b79);
  color: #fff;
}
.contact-cta-inner {
  position: relative;
  z-index: 2;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
}
.contact-cta p {
  margin: 0;
  font-family: var(--serif);
  font-size: 31px;
}
.cta-succulent {
  position: absolute;
  right: 16px;
  bottom: -34px;
  width: 250px;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: 3;
}

/* =========================================================
   FOOTER
========================================================= */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 22px 0 15px;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 62px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.footer-logo img {
  width: 58px;
  height: 54px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer-detail {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 13px;
}
.footer-separator {
  width: 1px;
  height: 27px;
  background: rgba(255,255,255,0.38);
}
.copyright {
  padding-top: 13px;
  text-align: center;
  font-size: 11px;
  opacity: 0.82;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 980px) {
  .site-nav { gap: 18px; }
  .hero-grid { grid-template-columns: 1fr 0.82fr; }
  .hero-photo-wrap { height: 470px; }
  .hero-copy { padding-bottom: 44px; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .expertise-item:nth-child(3) { border-left: 0; }
  .expertise-item:nth-child(n+3) { border-top: 1px solid #dedde6; padding-top: 28px; }
  .about-grid { gap: 38px; }
  .work-card { flex-basis: calc((100% - 28px) / 2); }
  .contact-cta-inner { justify-content: flex-start; gap: 35px; }
}

@media (max-width: 760px) {
  .site-header { position: absolute; }
  .nav-wrap { min-height: 80px; }
  .brand { font-size: 13px; letter-spacing: 0.11em; }
  .brand-mark { width: 48px; height: 46px; }
  .menu-toggle { display: block; z-index: 40; }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: var(--gutter);
    right: var(--gutter);
    background: #fff;
    box-shadow: 0 12px 35px rgba(33,25,71,0.12);
    padding: 16px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; }
  .site-nav a::after { display: none !important; }

  .hero { padding-top: 86px; }
  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    align-items: start;
  }
  .hero-copy {
    padding: 30px 0 10px;
    max-width: 100%;
  }
  .hero h1 { font-size: clamp(54px, 14vw, 76px); }
  .hero p { font-size: 16px; }
  .hero-photo-wrap {
    height: auto;
    min-height: 380px;
  }
  .hero-photo { width: min(440px, 92%); max-height: 430px; }
  .hero-shape-two { right: -390px; top: 350px; }

  .what-i-do { padding-top: 34px; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-item,
  .expertise-item:nth-child(3),
  .expertise-item:nth-child(n+3) {
    min-height: 0;
    padding: 26px 18px;
    border-left: 0;
    border-top: 1px solid #e2e1ea;
  }
  .expertise-item:first-child { border-top: 0; padding-top: 8px; }

  .about { padding-top: 38px; }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .about-quote { padding: 0 0 220px 55px; }
  .about blockquote { font-size: 24px; }
  .about-succulent {
    left: -10px;
    bottom: -58px;
    width: 470px;
    max-width: 95%;
  }

  .carousel { padding-inline: 12px; }
  .work-card { flex-basis: 100%; }
  .carousel-arrow { display: none; }

  .contact-cta-inner {
    min-height: 120px;
    padding: 18px 0 18px;
    justify-content: flex-start;
    gap: 24px;
  }
  .cta-succulent {
    right: 6px;
    bottom: -18px;
    width: 190px;
  }

  .footer-row {
    flex-wrap: wrap;
    gap: 16px;
    padding: 0 0 14px;
  }
  .footer-separator { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { gap: 15px; }
  .button { padding-inline: 21px; }
  .section-title { font-size: 21px; }
  .about-quote { padding-left: 48px; }
  .quote-mark { font-size: 72px; }
  .contact-cta p { font-size: 25px; max-width: 230px; }
}
