/* ============================================================
   One Touch Pro Painterz — custom one-page site (styles.css)
   Premium navy + gold on warm cream. Playfair Display headings,
   Manrope body, Caveat script accents only.
   ============================================================ */

:root {
  --navy: #071D33;
  --deep-navy: #03111F;
  --gold: #D9A441;
  --soft-gold: #E7B85A;
  --blue: #2B6EA6;
  --blue-soft: #4A88BD;
  --ice-blue: #E9F1F8;
  --page-white: #F7FAFC;
  --charcoal: #1E252B;
  --muted-gray: #6F7780;
  --border-light: #E8E1D7;

  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 2px 12px rgba(7, 29, 51, 0.07);
  --shadow-md: 0 18px 44px rgba(7, 29, 51, 0.16);
  --header-h: 84px;

  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Caveat", cursive;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--page-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  color: var(--navy);
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 92px 0;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Type helpers ---------- */
.eyebrow {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 3.2px;
  font-size: 0.78rem;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
}

.script-heading {
  font-family: var(--font-script);
  font-weight: 600;
  font-size: 1.65rem;
  color: var(--blue);
  margin-bottom: 6px;
}

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 54px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 27px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.93rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(217, 164, 65, 0.32);
}

.btn-primary:hover {
  background: var(--soft-gold);
}

.btn-secondary {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--page-white);
}

.btn-lg {
  padding: 17px 34px;
  font-size: 1rem;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 250, 252, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  color: var(--navy);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.logo-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--navy);
}

.logo-sub {
  font-size: 0.64rem;
  letter-spacing: 3.4px;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 3px;
}

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

.nav-link {
  position: relative;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--charcoal);
  padding: 6px 0;
  transition: color 0.18s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2.5px;
  width: 0;
  background: var(--blue);
  border-radius: 2px;
  transition: width 0.22s ease;
}

.nav-link:hover {
  color: var(--navy);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.nav-cta {
  padding: 11px 22px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  background: var(--navy);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  padding: 0 12px;
}

.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--page-white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================================================
   HERO — clean brush-stroke photo reveal
   ============================================================ */
.hero {
  overflow: hidden;
  background:
    radial-gradient(1000px 540px at 84% 0%, #d9e9f6 0%, rgba(217, 233, 246, 0) 62%),
    var(--page-white);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  align-items: center;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 72px;
}

.hero-title {
  font-size: clamp(2.5rem, 4.9vw, 3.7rem);
}

.hero-title-accent {
  display: block;
  position: relative;
  width: fit-content;
  margin-top: 8px;
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
}

.brush-underline {
  position: absolute;
  left: 4%;
  bottom: -20px;
  width: 86%;
  height: 22px;
  background: url("assets/brush/underline-gold.png") center / 100% 100% no-repeat;
}

.hero-text {
  margin-top: 34px;
  max-width: 460px;
  font-size: 1.05rem;
  color: var(--muted-gray);
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-trust {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 14px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
}

.trust-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ice-blue);
  border: 1px solid var(--border-light);
  color: var(--navy);
}

.trust-item h3 {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 800;
}

.trust-item p {
  font-size: 0.74rem;
  color: var(--muted-gray);
  margin-top: 1px;
}

/* Brush-masked hero photo — kept deliberately clean */
.hero-art {
  position: relative;
  min-height: 440px;
}

.hero-photo {
  height: 100%;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201200%20900'%3E%3Cg%20fill='white'%3E%3Crect%20x='150'%20y='30'%20width='1050'%20height='840'%20rx='26'/%3E%3Crect%20x='95'%20y='40'%20width='220'%20height='86'%20rx='43'/%3E%3Crect%20x='55'%20y='150'%20width='250'%20height='102'%20rx='51'/%3E%3Crect%20x='115'%20y='276'%20width='210'%20height='112'%20rx='56'/%3E%3Crect%20x='40'%20y='412'%20width='270'%20height='114'%20rx='57'/%3E%3Crect%20x='90'%20y='550'%20width='240'%20height='112'%20rx='56'/%3E%3Crect%20x='60'%20y='686'%20width='250'%20height='98'%20rx='49'/%3E%3Crect%20x='120'%20y='796'%20width='210'%20height='74'%20rx='37'/%3E%3Ccircle%20cx='48'%20cy='205'%20r='9'/%3E%3Ccircle%20cx='34'%20cy='350'%20r='6'/%3E%3Ccircle%20cx='28'%20cy='470'%20r='8'/%3E%3Ccircle%20cx='52'%20cy='640'%20r='10'/%3E%3Ccircle%20cx='42'%20cy='760'%20r='6'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201200%20900'%3E%3Cg%20fill='white'%3E%3Crect%20x='150'%20y='30'%20width='1050'%20height='840'%20rx='26'/%3E%3Crect%20x='95'%20y='40'%20width='220'%20height='86'%20rx='43'/%3E%3Crect%20x='55'%20y='150'%20width='250'%20height='102'%20rx='51'/%3E%3Crect%20x='115'%20y='276'%20width='210'%20height='112'%20rx='56'/%3E%3Crect%20x='40'%20y='412'%20width='270'%20height='114'%20rx='57'/%3E%3Crect%20x='90'%20y='550'%20width='240'%20height='112'%20rx='56'/%3E%3Crect%20x='60'%20y='686'%20width='250'%20height='98'%20rx='49'/%3E%3Crect%20x='120'%20y='796'%20width='210'%20height='74'%20rx='37'/%3E%3Ccircle%20cx='48'%20cy='205'%20r='9'/%3E%3Ccircle%20cx='34'%20cy='350'%20r='6'/%3E%3Ccircle%20cx='28'%20cy='470'%20r='8'/%3E%3Ccircle%20cx='52'%20cy='640'%20r='10'/%3E%3Ccircle%20cx='42'%20cy='760'%20r='6'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  filter: drop-shadow(0 22px 38px rgba(7, 29, 51, 0.15));
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--ice-blue);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--page-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-media {
  position: relative;
}

.service-media img {
  width: 100%;
  height: 215px;
  object-fit: cover;
}

.service-icon {
  position: absolute;
  left: 24px;
  bottom: -26px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  border: 3px solid var(--page-white);
  box-shadow: var(--shadow-sm);
}

.service-body {
  padding: 40px 26px 28px;
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.service-body p {
  color: var(--muted-gray);
  font-size: 0.94rem;
  margin-bottom: 18px;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 3px;
  transition: gap 0.18s ease, color 0.18s ease;
}

.learn-more:hover {
  gap: 11px;
  color: var(--blue);
}

/* ============================================================
   PROJECTS
   ============================================================ */
.projects-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 38px;
}

.carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius);
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.project-item {
  margin: 0;
  flex: 0 0 271px;
  scroll-snap-align: start;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.project-item img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-item:hover img {
  transform: scale(1.06);
}

.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}

.carousel-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  background: var(--page-white);
  color: var(--navy);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.carousel-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-light);
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-dots span.is-active {
  background: var(--blue);
  transform: scale(1.25);
}

/* ============================================================
   CTA BAND — dark hero variation
   ============================================================ */
.cta {
  position: relative;
  background: var(--deep-navy);
  padding: 66px 0;
}

/* Mascot breaks out of the band on purpose — head overlaps the section above */
.cta-mascot {
  position: absolute;
  left: 10px;
  bottom: -66px;
  width: 235px;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 12px 26px rgba(3, 17, 31, 0.35));
}

.cta::before {
  content: "";
  position: absolute;
  right: -120px;
  top: 50%;
  width: 430px;
  height: 170px;
  background: url("assets/brush/cta-splash.png") center / contain no-repeat;
  transform: translateY(-50%) rotate(74deg);
  opacity: 0.95;
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-left: 280px;
}

.cta-title {
  font-size: clamp(1.6rem, 2.9vw, 2.25rem);
  color: #ffffff;
}

.cta-text p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--page-white);
  border-top: 1px solid var(--border-light);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1.2fr;
  gap: 40px;
  padding-top: 58px;
  padding-bottom: 48px;
}

.footer-blurb {
  margin-top: 18px;
  max-width: 260px;
  font-size: 0.92rem;
  color: var(--muted-gray);
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--page-white);
  transition: background 0.18s ease, color 0.18s ease;
}

.footer-socials a:hover {
  background: var(--blue);
  color: #ffffff;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.93rem;
  color: var(--muted-gray);
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.footer-col a {
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: var(--blue);
}

.footer-contact a,
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact svg {
  color: var(--blue);
  flex-shrink: 0;
}

.footer-bottom {
  background: var(--deep-navy);
  padding: 16px 0;
}

.footer-bottom p {
  text-align: center;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.66);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .projects-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 44px;
    padding-bottom: 56px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-title-accent,
  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-art {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
    min-height: 0;
  }

  .hero-photo img {
    min-height: 380px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  /* Mobile nav */
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--page-white);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    padding: 8px 24px 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    margin-top: 16px;
    text-align: center;
    justify-content: center;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
    padding-left: 24px;
  }

  .cta-mascot {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .btn {
    width: 100%;
  }

  .hero-photo img {
    min-height: 320px;
  }

  .hero-trust {
    grid-template-columns: auto;
    justify-content: center;
    gap: 14px;
  }

  .project-item {
    flex-basis: 230px;
  }

  .project-item img {
    height: 270px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
