/* Eastside Web Co — dark base, sage accent, big type. No transitions or animations. */

:root {
  --black: #101010;
  --black-2: #1A1A1A;
  --green: #DDE8C9;
  --green-deep: #C9D9AE;
  --white: #FFFFFF;
  --off: #FAFAF7;
  --grey: #9B9B9B;
  --grey-dark: #5C5F57;
  --line-dark: #2C2C2C;
  --line-light: #E3E5DD;
  --radius: 18px;
  --container: 1320px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-padding-top: 84px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.05; text-wrap: balance; }
p, ul, ol, figure { margin: 0; }
a { color: inherit; }

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

.kicker {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 30px;
  border-radius: 999px;
  font: 700 16px/1.2 var(--font);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn-green { background: var(--green); color: var(--black); border-color: var(--green); }
.btn-green:hover { background: var(--white); border-color: var(--white); }
.btn-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark:hover { background: #333; border-color: #333; }
.btn-outline-light { color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline-light:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-full { width: 100%; }

a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}
.light a:focus-visible, .green a:focus-visible, .contact-box :focus-visible, .green summary:focus-visible { outline-color: var(--black); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--black);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.logo { font-weight: 800; font-size: 24px; letter-spacing: -0.03em; text-decoration: none; color: var(--white); }
.logo span { color: var(--green); font-weight: 600; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: 15px; }
.site-nav a:not(.btn):hover { color: var(--green); }
.nav-cta { padding: 12px 22px; font-size: 15px; }
.menu-toggle {
  display: none;
  font: 700 15px var(--font);
  color: var(--black);
  background: var(--green);
  border: 0;
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
}

/* Hero */
.hero { position: relative; overflow: hidden; min-height: 820px; display: flex; align-items: flex-end; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,16,16,0.25) 0%, rgba(16,16,16,0.35) 40%, rgba(16,16,16,0.88) 100%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: end;
  padding-block: 120px 64px;
}
.hero-kicker { font-size: 15px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 24px; color: var(--green); }
.hero h1 {
  font-size: clamp(52px, 8.4vw, 124px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
}
.hero h1 em { font-style: normal; color: var(--green); }
.hero-sub { font-size: 20px; max-width: 32em; margin-top: 28px; color: rgba(255,255,255,0.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

.contact-box {
  background: var(--green);
  color: var(--black);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-box h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.contact-box > p { font-size: 15px; margin-top: 8px; color: #33362F; }
.contact-box form { display: flex; flex-direction: column; margin-top: 20px; }
.contact-box label { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.contact-box input[type="text"],
.contact-box input[type="email"] {
  font: 16px var(--font);
  padding: 13px 16px;
  border: 1.5px solid rgba(16,16,16,0.18);
  border-radius: 12px;
  background: var(--white);
  color: var(--black);
  margin-bottom: 16px;
}
.contact-box input:focus { border-color: var(--black); }
.hp { display: none; }
.form-status { font-size: 14px; font-weight: 600; margin-top: 12px; min-height: 1.2em; }
.form-status.ok { color: #1E5B2C; }
.form-status.err { color: #9C2125; }
.call-line { font-size: 15px; margin-top: 4px; padding-top: 16px; border-top: 1px solid rgba(16,16,16,0.15); }
.call-line a { font-weight: 700; white-space: nowrap; }

/* Sections */
.section { padding-block: 120px; }
.dark { background: var(--black); color: var(--white); }
.light { background: var(--off); color: var(--black); }
.green { background: var(--green); color: var(--black); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.big { font-size: clamp(38px, 5.4vw, 76px); font-weight: 800; letter-spacing: -0.04em; max-width: 13em; }
.head-note { max-width: 26em; font-size: 16px; color: var(--grey-dark); }
.dark .head-note { color: var(--grey); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.about-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.about-copy .kicker { margin-bottom: -8px; color: var(--green); }
.statement { font-size: clamp(30px, 3.6vw, 50px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; }
.body-lg { font-size: 18px; color: #CFCFCF; max-width: 36em; }
.ticks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { padding-left: 34px; position: relative; color: #CFCFCF; }
.ticks li strong { color: var(--white); }
.ticks li::before {
  content: "✓";
  position: absolute; left: 0; top: 0.1em;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: var(--black);
  font-size: 13px; font-weight: 800;
  display: grid; place-items: center;
}
.about-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Our work: photo on the left, text on the right */
.work-group + .work-group { margin-top: 120px; padding-top: 72px; border-top: 1px solid var(--line-light); }
.group-title { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 28px; }
.row-list { display: flex; flex-direction: column; gap: 24px; max-width: 1040px; }
.row-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 20px;
}
.row-img { display: block; aspect-ratio: 3 / 2; max-width: 100%; border-radius: 12px; overflow: hidden; background: #DDD; }
.row-img img { width: 100%; height: 100%; object-fit: cover; }
.row-img img.pin-left { object-position: left center; }
.row-text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-right: 12px; }
.row-text h4 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.row-text p { color: var(--grey-dark); font-size: 16px; }
.row-text .row-sub { font-weight: 600; color: var(--black); margin-top: -4px; }
.row-text .btn { margin-top: 8px; }
.btn-sm { padding: 12px 22px; font-size: 15px; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service h3 { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; }
.service p { font-size: 16px; color: #44473F; }
.service ul { list-style: none; padding: 16px 0 0; margin-top: auto; border-top: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.service li::before { content: "→ "; }

/* Steps */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li {
  counter-increment: step;
  border: 1px solid var(--line-dark);
  background: var(--black-2);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.steps li::before {
  content: "0" counter(step);
  display: block;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--green);
  margin-bottom: 28px;
}
.steps h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.steps p { color: #BDBDBD; font-size: 16px; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.price-card.featured { background: var(--black); color: var(--white); border-color: var(--black); position: relative; }
.price-card h3 { font-size: 22px; font-weight: 700; }
.price { font-size: 64px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-card ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; margin-bottom: 8px; }
.price-card li { padding-left: 26px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; }
.price-card li.lead, .plan-card li.lead { padding-left: 0; font-weight: 700; }
.price-card li.lead::before, .plan-card li.lead::before { content: none; }
.price-for { font-size: 15px; color: var(--grey-dark); margin-top: -6px; }
.price-card.featured .price-for { color: #BDBDBD; }

/* Monthly plans */
.plans-head { margin-top: 72px; margin-bottom: 24px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.plans-head h3 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.plans-head p { color: var(--grey-dark); font-size: 16px; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.plan-card { background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.plan-card.plan-seo { background: var(--green); border-color: var(--green); }
.plan-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.plan-top h3 { font-size: 22px; font-weight: 700; }
.plan-price { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price span { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--grey-dark); margin-left: 4px; }
.plan-card ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.plan-card li { padding-left: 26px; position: relative; }
.plan-card li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; }

/* Headline typing effect (script.js). Hidden letters keep their space so nothing jumps. */
.type-in .ch { visibility: hidden; }
.type-in .ch.on { visibility: visible; }
.type-in .ch.caret { position: relative; }
.type-in .ch.caret::after { content: ""; position: absolute; right: -0.08em; top: 0.08em; bottom: 0.04em; width: 0.06em; background: var(--green); }
.price-card.featured li::before { color: var(--green); }
.price-card .btn { margin-top: auto; }
.badge { position: absolute; top: 32px; right: 28px; background: var(--green); color: var(--black); font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; }
.faq { border-top: 1.5px solid var(--black); }
.faq details { border-bottom: 1.5px solid var(--black); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 48px 26px 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--black); color: var(--green);
  display: grid; place-items: center;
  font-size: 22px; font-weight: 600;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 48px 26px 0; color: #33362F; font-size: 17px; }

/* CTA */
.cta { position: relative; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-shade { position: absolute; inset: 0; background: rgba(16,16,16,0.62); }
.cta-inner { position: relative; padding-block: 140px; display: flex; flex-direction: column; align-items: flex-start; gap: 36px; }
.cta h2 { font-size: clamp(40px, 6vw, 88px); font-weight: 800; letter-spacing: -0.045em; max-width: 12em; }

/* Footer */
.site-footer { background: var(--black); color: #CFCFCF; padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-brand .logo { font-size: 30px; display: inline-block; margin-bottom: 14px; }
.site-footer h3 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.site-footer p { font-size: 15px; line-height: 1.8; }
.site-footer a:not(.logo) { text-decoration: none; }
.site-footer a:not(.logo):hover { color: var(--green); }
.footer-base { border-top: 1px solid var(--line-dark); padding-block: 28px; display: flex; flex-direction: column; gap: 8px; }
.footer-base p { font-size: 13px; color: var(--grey); }

/* Tablet */
@media (max-width: 1100px) {
  .service-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .menu-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--black);
    border-bottom: 1px solid var(--line-dark);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 28px;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-size: 18px; }
  .nav-cta { margin-top: 20px; padding: 16px 20px; font-size: 16px; }

  .hero { min-height: 0; }
  .hero-shade { background: linear-gradient(180deg, rgba(16,16,16,0.55) 0%, rgba(16,16,16,0.7) 45%, rgba(16,16,16,0.9) 100%); }
  .hero-grid { grid-template-columns: 1fr; padding-block: 96px 48px; }
  .about-grid, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo { aspect-ratio: 4 / 3; }
  .price-grid, .plan-grid { grid-template-columns: 1fr; gap: 20px; }
  .plans-head { margin-top: 56px; }
  .work-group + .work-group { margin-top: 88px; padding-top: 56px; }
  .row-card { gap: 24px; }
  .section { padding-block: 88px; }
  .section-head { margin-bottom: 40px; }
}

/* Phone */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .header-inner { min-height: 68px; }
  .logo { font-size: 21px; }
  .hero-grid { padding-block: 72px 32px; }
  .hero-sub { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .contact-box { padding: 24px; }
  .service-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .section { padding-block: 72px; }
  .price { font-size: 52px; }
  .plan-card { padding: 26px 22px; }
  .row-card { gap: 14px; padding: 12px; border-radius: 14px; align-items: start; }
  .row-img { aspect-ratio: 1 / 1; border-radius: 10px; }
  .row-text { gap: 6px; padding-right: 0; }
  .row-text h4 { font-size: 17px; }
  .row-text p { font-size: 13.5px; line-height: 1.45; }
  .row-text .btn { margin-top: 4px; padding: 9px 14px; font-size: 13px; }
  .faq summary { font-size: 19px; }
  .cta-inner { padding-block: 96px; }
  .cta-inner .btn { width: 100%; }
}
