/* ============================================
   JOE DOAMO — WEBSITES & WORDS
   Brand Colours:
   --deep:    #003135
   --dark:    #024950
   --rust:    #964734
   --teal:    #0FA4AF
   --light:   #AFDDE5
============================================ */

:root {
  --deep:    #003135;
  --dark:    #024950;
  --rust:    #964734;
  --teal:    #0FA4AF;
  --light:   #AFDDE5;
  --cream:   #F8F5F0;
  --white:   #ffffff;
  --text:    #1a1a1a;
  --muted:   #5a6a6b;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --radius: 4px;
  --transition: 0.3s ease;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  font-size: 1.12rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--deep);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--rust); margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; color: var(--muted); }
p:last-child { margin-bottom: 0; }
strong { color: var(--deep); }

/* LAYOUT */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 720px; }
.section { padding: 5rem 0; }

/* LABELS */
.label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.8rem;
}
.label-light {
  color: var(--light);
}

/* BUTTONS */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--rust);
  color: var(--white);
  border-color: var(--rust);
}
.btn-primary:hover {
  background: transparent;
  color: var(--rust);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--deep);
  border-color: var(--white);
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-full { width: 100%; text-align: center; }

/* ============================================
   NAVIGATION
============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 2rem;
  background: rgba(0, 49, 53, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(175, 221, 229, 0.1);
  transition: padding 0.0s ease, box-shadow 0.0s ease;
}
.nav.scrolled {
  padding: 0.6rem 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.nav-logo img {
  height: 230px;
  width: auto;
  transition: height 0.4s ease;
}
.nav.scrolled .nav-logo img { height: 100px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--light);
  letter-spacing: 0.03em;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--teal);
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--rust) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
  transition: var(--transition) !important;
}
.nav-cta:hover { background: #b05540 !important; }
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 102;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--light);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
/* ============================================
   HERO (HOME)
============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--deep);
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 70% 50%, rgba(15,164,175,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(150,71,52,0.15) 0%, transparent 60%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 2rem;
  margin: 0 auto;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--light);
  margin-bottom: 2.5rem;
  opacity: 0.9;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-accent {
  position: absolute;
  right: -100px; bottom: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(15,164,175,0.15);
  z-index: 1;
}
.hero-accent::before {
  content: '';
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  border: 1px solid rgba(15,164,175,0.1);
}



/* ============================================
   PAGE HERO (inner pages)
============================================ */
.page-hero {
  background: var(--deep);
  padding: 22rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(15,164,175,0.1) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; max-width: 800px; }
.page-hero h1 {
  color: var(--white);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  margin-top: 0.5rem;
}
/* ============================================
   WHAT I DO
============================================ */
.what-i-do { background: var(--cream); }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-text h2 { margin: 0.5rem 0 1rem; }

.stat-title {
  color: var(--light);
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}
.stat-card {
  background: var(--dark);
  border-radius: 8px;
  padding: 2.5rem;
  border-left: 4px solid var(--rust);
}
.stat-cta {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: normal;
  font-weight: 700;
  color: var(--white);
  margin-top: 1.2rem;
  letter-spacing: 0.02em;
}
.stat-icon { font-size: 1.5rem; color: var(--teal); display: block; margin-bottom: 1rem; }
.stat-text { color: var(--light); font-size: 1.05rem; line-height: 1.6; margin: 0; }
.stat-text strong { color: var(--white); }

/* ============================================
   WHO IT'S FOR
============================================ */
.who-for { background: var(--white); text-align: center; }
.who-for h2 { margin: 0.5rem 0 1rem; }
.section-intro { max-width: 650px; margin: 0 auto 3rem; font-size: 1.05rem; }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.pillar {
  background: var(--cream);
  border-radius: 8px;
  padding: 2rem;
  border-top: 3px solid var(--teal);
  transition: var(--transition);
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,49,53,0.08); }
.pillar-icon { font-size: 2rem; margin-bottom: 1rem; }
.pillar h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }

/* ============================================
   PROOF
============================================ */
.proof { background: var(--deep); padding: 2.5rem 0; }
.proof-inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.proof-text { color: var(--light); font-size: 1.05rem; margin: 0; }
.proof-link { color: var(--teal); font-weight: 500; transition: var(--transition); }
.proof-link:hover { color: var(--light); }

/* ============================================
   CTA SECTION
============================================ */
.cta-section { background: var(--dark); text-align: center; }
.cta-inner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-inner p { color: var(--light); margin-bottom: 2rem; }

/* ============================================
   FOOTER
============================================ */
.footer { background: var(--deep); padding: 3rem 0; border-top: 1px solid rgba(175,221,229,0.1); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo { height: 200px; width: auto; opacity: 0.85; }
.footer-copy { color: rgba(175,221,229,0.5); font-size: 0.85rem; margin: 0; }
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a { color: rgba(175,221,229,0.6); font-size: 1.0 rem; transition: var(--transition); }
.footer-nav a:hover { color: var(--light); }

.footer-legal {
  display: flex;
  gap: 1.5rem;
  width: 100%;
  justify-content: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(175,221,229,0.1);
  margin-top: 1rem;
}
.footer-legal a {
  color: rgba(175,221,229,0.4);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-legal a:hover {
  color: var(--light);
}

/* ============================================
   SERVICES PAGE
============================================ */
.intro-block { text-align: center; }
.intro-block-section {
  background: var(--dark);

}
.intro-block-section .pull-quote strong {
  color: var(--teal);
}
.intro-block-section .pull-quote {
  color: var(--white);
}

.intro-block-section h3 {
  color: var(--white);
  margin: 1.5rem 0 0.5rem;
}

.intro-block-section p {
  color: var(--light);
}
.pull-quote {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--deep);
  margin-bottom: 1rem;
  display: block;
}
.services-grid { background: var(--cream); }
.services-grid .container { display: flex; flex-direction: column; gap: 2rem; }
.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
  border-left: 4px solid var(--teal);
  transition: var(--transition);
}
.service-card:hover { box-shadow: 0 8px 30px rgba(0,49,53,0.08); }
.service-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--light);
  line-height: 1;
}
.service-body h2 { margin-bottom: 0.8rem; }
.check-list { list-style: none; margin-top: 1rem; }
.check-list li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* PACKAGE */
.package-section { background: var(--deep); }
.package-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(175,221,229,0.2);
  border-radius: 8px;
  padding: 3.5rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.package-card .label {
  color: var(--teal);
  border-color: var(--teal);
}

.package-card h2 { color: var(--white); margin: 0.5rem 0 1rem; }
.package-card p { color: var(--light); margin-bottom: 2rem; }
.package-price {
  font-size: 2rem;
  color: var(--light);
  margin-bottom: 2rem;
}
.package-price strong { color: var(--teal); font-family: var(--font-display); font-size: 3rem; }

/* HOW IT WORKS */
.how-it-works { background: var(--cream); text-align: center; }
.how-it-works h2 { margin: 0.5rem 0 3rem; }
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.step {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  border-top: 3px solid var(--rust);
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--light);
  margin-bottom: 0.5rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step-arrow {
  font-size: 1.5rem;
  color: var(--teal);
  padding-top: 2.5rem;
  flex-shrink: 0;
}

/* ============================================
   PORTFOLIO PAGE
============================================ */
.case-study {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0,49,53,0.08);
}
.case-study-header {
  background: var(--dark);
  padding: 2.5rem 3rem;
}
.case-study-header h2 { color: var(--white); margin-top: 0.5rem; }
.case-study-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.case-block {
  padding: 2.5rem;
  border-right: 1px solid rgba(0,49,53,0.08);
}
.case-block:last-child { border-right: none; }
.case-block p { font-size: 0.95rem; }
.case-block em { color: var(--dark); font-style: italic; }
.case-study-note {
  padding: 1.5rem 3rem;
  background: rgba(15,164,175,0.05);
  border-top: 1px solid rgba(15,164,175,0.15);
}
.case-study-note p { color: var(--teal); margin: 0; font-size: 0.9rem; }
.coming-soon {
  background: var(--white);
  border-radius: 8px;
  padding: 3rem;
  text-align: center;
  border: 2px dashed rgba(15,164,175,0.3);
}
.coming-soon h3 { margin-bottom: 0.5rem; }

/* ============================================
   ABOUT PAGE
============================================ */
.about-section { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}
.about-photo { position: relative; }
.about-photo img {
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
}
.about-photo-accent {
  position: absolute;
  top: -12px; left: -12px;
  right: 12px; bottom: 12px;
  border: 2px solid var(--teal);
  border-radius: 8px;
  z-index: -1;
  opacity: 0.4;
}
.about-text h2 { margin: 0.5rem 0 1.5rem; }
.about-text p { margin-bottom: 1.2rem; }

.approach-section { background: var(--white); }
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.approach-card {
  background: var(--cream);
  border-radius: 8px;
  padding: 2.5rem;
  border-top: 3px solid var(--teal);
}
.approach-icon {
  display: block;
  font-size: 1.5rem;
  color: var(--teal);
  margin-bottom: 1rem;
}
.approach-card h3 { margin-bottom: 0.8rem; }

/* ============================================
   CONTACT PAGE
============================================ */
.contact-section { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-detail { margin: 2rem 0; }
.contact-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.contact-value { color: var(--dark); font-size: 1rem; font-weight: 500; }
a.contact-value:hover { color: var(--rust); }
.what-next {
  background: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 3px solid var(--teal);
  margin-top: 2rem;
}
.what-next h4 { margin-bottom: 0.5rem; }
.what-next p { margin: 0; font-size: 0.9rem; }

/* FORM */
.contact-form-wrap {
  background: var(--white);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,49,53,0.06);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--deep);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(0,49,53,0.15);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(15,164,175,0.1);
}
.form-group textarea { resize: vertical; }
.form-success {
  text-align: center;
  padding: 2rem;
  color: var(--dark);
  font-weight: 500;
}

/* ============================================
   ANIMATIONS
============================================ */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .pillars { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding: 0; }
  .case-study-body { grid-template-columns: 1fr; }
  .case-block { border-right: none; border-bottom: 1px solid rgba(0,49,53,0.08); }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .approach-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-card { grid-template-columns: 1fr; }
  .service-num { font-size: 2rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: var(--deep);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
    z-index: 100;
    transform: translateX(100vw);
    transition: transform 0.4s ease;
    display: flex;
  }
  .nav-links.mobile-open {
    transform: translateX(0);
  }
  .nav-links li { list-style: none; }
  .nav-links a {
    font-size: 1.3rem !important;
    color: var(--light) !important;
    letter-spacing: 0.05em;
  }
  .nav-links a:hover { color: var(--white) !important; }
  .nav-cta {
    font-size: 1.1rem !important;
    padding: 0.75rem 2rem !important;
    margin-top: 0.5rem;
  }

  .hero-content { padding: 0 1.5rem; }
  .hero-btns { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
  .proof-inner { flex-direction: column; }
}
