/* ==========================================================================
   Bluestone Web Studio
   ========================================================================== */

:root {
  --ink: #1b2733;          /* deep slate, headings */
  --slate-900: #1f2d3d;
  --slate-800: #2a3b4e;
  --slate-700: #3b5068;
  --slate-500: #5f7489;
  --slate-300: #a9b6c3;
  --stone-200: #dfe3e6;
  --stone-100: #eef0f1;
  --stone-50:  #f6f7f7;
  --white: #ffffff;
  --text: #33404d;
  --muted: #5d6a77;

  --accent: #b5652d;        /* burnished copper */
  --accent-dark: #97521f;
  --accent-soft: #f5e9df;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;

  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(27, 39, 51, .06), 0 8px 24px rgba(27, 39, 51, .06);
  --container: 1120px;
  --header-h: 72px;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.01em;
  font-variation-settings: "opsz" 96;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.25rem); line-height: 1.12; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.125rem; font-weight: 600; }

p { margin: 0 0 1em; }

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

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

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

.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;
}

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: .9em;
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .85em 1.5em;
  font: 600 1rem/1 var(--font-body);
  color: var(--white);
  background: var(--accent);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--slate-800);
  border-color: var(--slate-300);
}
.btn-ghost:hover { background: var(--stone-100); border-color: var(--slate-500); color: var(--ink); }

.btn-outline {
  background: var(--white);
  color: var(--slate-800);
  border-color: var(--slate-800);
}
.btn-outline:hover { background: var(--slate-800); border-color: var(--slate-800); color: var(--white); }

.btn-small { padding: .6em 1.1em; font-size: .9375rem; }
.btn-block { width: 100%; }

/* Header ----------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--stone-200); }

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--slate-800);
}
.brand-mark { width: 30px; height: 30px; }

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -.01em;
}
.brand-name span { font-weight: 400; color: var(--slate-500); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a:not(.btn) {
  color: var(--text);
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 500;
}
.site-nav a:not(.btn):hover { color: var(--accent-dark); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
}
.nav-toggle-bar {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease, top .2s ease;
}
.nav-toggle-bar:nth-of-type(2) { top: 17px; }
.nav-toggle-bar:nth-of-type(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-of-type(2) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-of-type(3) { top: 21px; transform: rotate(-45deg); }

/* Hero ------------------------------------------------------------------- */

.hero {
  padding: 72px 0 96px;
  background:
    linear-gradient(180deg, var(--white) 0%, var(--stone-50) 100%);
  border-bottom: 1px solid var(--stone-200);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: center;
}

.lede {
  font-size: 1.1875rem;
  color: var(--muted);
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 40px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  list-style: none;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--stone-200);
  font-size: .9375rem;
  color: var(--muted);
}
.hero-facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}

/* Hero illustration: review -> site */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mock-review {
  align-self: flex-start;
  width: 82%;
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.mock-review .stars { color: var(--accent); letter-spacing: 2px; font-size: .9rem; }
.mock-review p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  margin: 6px 0 8px;
  line-height: 1.4;
}
.mock-review span { font-size: .8125rem; color: var(--muted); }

.mock-arrow { color: var(--slate-300); width: 24px; height: 60px; margin: 6px 0; }
.mock-arrow svg { width: 24px; height: 60px; }

.mock-site {
  align-self: flex-end;
  width: 92%;
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: var(--stone-100);
  border-bottom: 1px solid var(--stone-200);
}
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--slate-300); }
.mock-body { padding: 22px 22px 24px; background: var(--slate-900); }
.mock-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 14px;
}
.mock-line { height: 8px; border-radius: 4px; background: var(--slate-700); margin-bottom: 8px; width: 90%; }
.mock-line.short { width: 60%; }
.mock-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mock-chips span {
  font-size: .75rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--slate-800);
  color: var(--stone-200);
}
.mock-chips span:nth-child(2) { background: var(--accent); color: var(--white); }

/* Sections --------------------------------------------------------------- */

.section { padding: 104px 0; }
.section-tinted { background: var(--stone-50); border-top: 1px solid var(--stone-200); border-bottom: 1px solid var(--stone-200); }

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head > p:last-child { color: var(--muted); font-size: 1.125rem; margin-bottom: 0; }
.section-head-left { text-align: left; margin: 0; }

/* Approach steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  padding-top: 24px;
  border-top: 2px solid var(--slate-800);
}
.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--accent-dark);
  margin-bottom: 12px;
}
.step p { color: var(--muted); margin: 0; }

/* Pricing ---------------------------------------------------------------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  box-shadow: var(--shadow);
}

.plan-featured {
  border: 2px solid var(--slate-800);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--slate-800);
  color: var(--white);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.plan-head h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.plan-fit { color: var(--muted); font-size: .9375rem; margin-bottom: 24px; }

.plan-price { display: flex; align-items: baseline; gap: 10px; }
.price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -.02em;
}
.price-note { color: var(--muted); font-size: .9375rem; }

.plan-then {
  margin: 10px 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--stone-200);
  color: var(--text);
  font-size: .9375rem;
}

.plan-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  flex-grow: 1;
}
.plan-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: .9688rem;
}
.plan-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .45em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.plan-footnote {
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.plan .btn { width: 100%; }

.addons {
  margin-top: 56px;
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.addons h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; margin-bottom: 12px; }

.addon-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 48px;
  margin: 0;
}
.addon-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--stone-200);
}
.addon-list dt { color: var(--text); }
.addon-list dd { margin: 0; font-weight: 600; color: var(--ink); white-space: nowrap; }

/* Included --------------------------------------------------------------- */

.included-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 32px;
}
.features li { display: flex; gap: 16px; }
.features svg {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--stone-100);
  fill: none;
  stroke: var(--slate-800);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.features h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.features p { color: var(--muted); margin: 0; font-size: .9688rem; }

/* Work ------------------------------------------------------------------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.work-slot {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--slate-300);
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(169, 182, 195, .12) 14px 15px);
}
.work-slot span {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate-500);
  background: var(--stone-50);
  padding: 6px 12px;
  border-radius: 4px;
}
.work-cta { text-align: center; margin: 40px 0 0; color: var(--muted); }

/* Contact ---------------------------------------------------------------- */

.section-dark {
  background: var(--slate-900);
  color: var(--stone-200);
}
.section-dark h2 { color: var(--white); }
.section-dark .eyebrow { color: #e0a878; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact-copy p { color: var(--slate-300); font-size: 1.0625rem; }
.contact-email { margin-top: 32px; }
.contact-email a {
  color: var(--white);
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}
.contact-email a:hover { color: #e0a878; }

.contact-form {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .25);
}

.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.optional { font-weight: 400; color: var(--muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius);
  padding: .7em .85em;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--slate-700);
  box-shadow: 0 0 0 3px rgba(59, 80, 104, .18);
}
.field .is-invalid { border-color: #b3261e; }

.form-status { margin: 14px 0 0; font-size: .9375rem; min-height: 1.4em; }
.form-status.is-error { color: #b3261e; }
.form-status.is-success { color: #2e6b3f; }

/* Footer ----------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--slate-300);
  padding: 32px 0;
  font-size: .9375rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}
.footer-inner p { margin: 0; }
.site-footer .brand-name { color: var(--white); font-size: 1.1rem; }
.site-footer .brand-name span { color: var(--slate-300); }
.site-footer a { color: var(--stone-200); }
.site-footer a:hover { color: var(--white); }

/* Responsive ------------------------------------------------------------- */

@media (max-width: 960px) {
  .hero-grid,
  .included-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .hero-visual { max-width: 440px; }

  .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 32px; }

  .steps { grid-template-columns: 1fr; gap: 28px; }

  .section-head-left { max-width: 680px; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }

  .container { padding: 0 16px; }

  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--stone-200);
    box-shadow: 0 12px 24px rgba(27, 39, 51, .08);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--stone-100); }
  .site-nav .btn { margin-top: 16px; }

  .hero { padding: 48px 0 64px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }

  .features { grid-template-columns: 1fr; gap: 28px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-slot { aspect-ratio: 16 / 7; }

  .addons { padding: 24px 20px; }
  .addon-list { grid-template-columns: 1fr; }

  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px 20px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}
