
/* ========================================
   MUCARO DEVELOPMENT
   Main Stylesheet
   ======================================== */

/* ---------- VARIABLES ---------- */

:root {
  --background: #FAF9F6;
  --text: #242424;
  --muted: #666660;
  --border: #DDDCD6;
  --accent: #494C43;

  --font-main: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --content-width: 1100px;
  --reading-width: 720px;
}

/* ---------- RESET ---------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3 {
  font-weight: 400;
  line-height: 1.2;
}

p {
  margin-bottom: 1.5rem;
}

ul {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.5rem;
}

/* ---------- HEADER ---------- */

.site-header {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 35px 40px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;

  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header nav a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-header nav a:hover,
.site-header nav a.active {
  color: var(--text);
}

.site-header nav a.active {
  border-bottom: 1px solid var(--text);
  padding-bottom: 3px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

/* ---------- PAGE LAYOUT ---------- */

.page-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 100px 40px 130px;
}

.page-intro {
  max-width: var(--reading-width);
  margin-bottom: 85px;
}

.page-intro h1 {
  font-size: clamp(48px, 6vw, 76px);
  letter-spacing: -0.045em;
  margin-bottom: 25px;
}

.lead {
  font-size: clamp(20px, 2.5vw, 27px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.02em;
  max-width: 680px;
  color: var(--muted);
}

/* ---------- HOMEPAGE HERO ---------- */

.hero {
  max-width: 850px;
  padding: 35px 0 120px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.17em;
  color: var(--muted);
  margin-bottom: 35px;
}

.hero h1 {
  font-size: clamp(46px, 6.5vw, 84px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.1;
  margin-bottom: 35px;
}

.hero .lead {
  margin-bottom: 35px;
}

/* ---------- SHARED LINKS ---------- */

.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--text);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- HOMEPAGE SECTIONS ---------- */

.home-intro,
.home-contact {
  border-top: 1px solid var(--border);
  padding: 75px 0 85px;
}

.home-intro {
  max-width: 800px;
}

.home-intro h2,
.home-contact h2 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.035em;
  margin-bottom: 30px;
}

.home-intro p,
.home-contact p {
  max-width: 680px;
  color: var(--muted);
}

.home-intro .text-link,
.home-contact .text-link {
  margin-top: 15px;
}

/* ---------- ABOUT PAGE ---------- */

.about-content {
  max-width: var(--reading-width);
}

.about-content h2 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.035em;
  margin-bottom: 35px;
}

.about-content p {
  color: var(--muted);
}

.about-content .text-link {
  margin-top: 20px;
}

/* ---------- SERVICES PAGE ---------- */

.services-content {
  max-width: 850px;
}

.service-item {
  border-top: 1px solid var(--border);
  padding: 55px 0 65px;
}

.service-item h2 {
  font-size: clamp(27px, 3.5vw, 38px);
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.service-item p {
  max-width: 650px;
  color: var(--muted);
}

.service-item ul {
  margin-top: 25px;
  color: var(--muted);
}

.services-approach {
  max-width: 800px;
  border-top: 1px solid var(--border);
  padding-top: 65px;
  margin-top: 30px;
}

.services-approach h2 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.035em;
  margin-bottom: 25px;
}

.services-approach p {
  color: var(--muted);
}

.services-approach .text-link {
  margin-top: 20px;
}

/* ---------- WORK PAGE ---------- */

.work-content {
  max-width: 850px;
}

.work-item {
  border-top: 1px solid var(--border);
  padding: 50px 0 60px;
}

.work-item h2 {
  font-size: clamp(27px, 3.5vw, 38px);
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.work-item h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.work-item p,
.work-item li {
  color: var(--muted);
}

.work-item .work-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ---------- CONTACT PAGE ---------- */

.contact-content {
  max-width: var(--reading-width);
}

.contact-content h2 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.035em;
  margin-bottom: 30px;
}

.contact-content p {
  color: var(--muted);
}

.contact-details {
  margin: 65px 0;
  padding: 35px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 15px;
}

.contact-email {
  display: inline-block;
  font-size: clamp(19px, 3vw, 30px);
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
  border-bottom: 1px solid var(--text);
}

/* ---------- FOOTER ---------- */

.site-footer {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 35px 40px 50px;
  border-top: 1px solid var(--border);

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.site-footer p,
.site-footer a {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.site-footer a:hover {
  color: var(--text);
}

/* ---------- TABLET ---------- */

@media (max-width: 850px) {

  .site-header {
    padding: 28px 25px;
  }

  .site-header nav {
    gap: 18px;
  }

  .page-content {
    padding: 80px 25px 100px;
  }

  .site-footer {
    padding: 30px 25px 40px;
  }
}

/* ---------- MOBILE ---------- */

@media (max-width: 650px) {

  .site-header {
    position: relative;
    flex-wrap: wrap;
    padding: 22px 20px;
    gap: 12px;
  }

  .logo {
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .site-header nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    padding-top: 15px;
  }

  .site-header nav.nav-open {
    display: flex;
  }

  .site-header nav a {
    display: block;
    width: 100%;
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
  }

  .site-header nav a.active {
    border-bottom: 1px solid var(--border);
    font-weight: 600;
  }

  .page-content {
    padding: 65px 22px 90px;
  }

  .page-intro {
    margin-bottom: 60px;
  }

  .hero {
    padding: 20px 0 85px;
  }

  .hero h1 {
    font-size: clamp(40px, 10vw, 60px);
  }

  .hero .lead,
  .lead {
    font-size: 20px;
  }

  .home-intro,
  .home-contact {
    padding: 55px 0 65px;
  }

  .service-item,
  .work-item {
    padding: 40px 0 45px;
  }

  .contact-details {
    margin: 45px 0;
  }

  .site-footer {
    padding: 25px 22px 35px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ---------- ACCESSIBILITY ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.contact-section {
  max-width: 600px;
}

.contact-section form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}

.contact-section label {
  font-size: 14px;
}

.contact-section input,
.contact-section textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 0;
  background: white;
  color: black;
  font: inherit;
  box-sizing: border-box;
}

.contact-section button {
  background: black;
  color: white;
  border: 1px solid black;
  padding: 14px 24px;
  cursor: pointer;
  font: inherit;
  margin-top: 10px;
}

.contact-section button:hover {
  background: white;
  color: black;
}


/* Pricing Section */

.pricing-section {
  margin-top: 70px;
  margin-bottom: 70px;
  max-width: 900px;
}

.pricing-section h3 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 20px;
}

.pricing-section > p {
  color: #666;
  margin-bottom: 40px;
  line-height: 1.7;
}

.pricing-section .pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 22px 0;
  border-bottom: 1px solid #ddd;
}

.pricing-section .pricing-row:first-of-type {
  border-top: 1px solid #ddd;
}

.pricing-section .pricing-row span {
  display: block;
  font-size: 17px;
  line-height: 1.5;
}

.pricing-section .pricing-row span:last-child {
  color: #666;
  text-align: right;
  white-space: nowrap;
}

/* Mobile */

@media (max-width: 600px) {
  .pricing-section {
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .pricing-section .pricing-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 18px 0;
  }

  .pricing-section .pricing-row span:last-child {
    text-align: left;
  }
}

/* Engagement section adjustments */

.engagement-section {
  max-width: 850px;
}

.engagement-section > p {
  max-width: 720px;
  color: var(--muted);
}

.engagement-section .pricing-section {
  max-width: 800px;
}

.engagement-section .pricing-section h3 {
  font-size: 26px;
  margin-bottom: 20px;
}

.engagement-section .pricing-section .pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.engagement-section .pricing-section .pricing-row span {
  font-size: 16px;
}

.engagement-section .pricing-section .pricing-row span:last-child {
  color: var(--muted);
}

