:root {
  --bg: #f6f9fb;
  --bg-alt: #eaf1f5;
  --paper: #ffffff;
  --ink: #0e2238;
  --ink-soft: #3d5166;
  --muted: #6b7b8c;
  --line: #d5e0e8;
  --accent: #0e8a96;
  --accent-hover: #0a6f79;
  --accent-soft: #d3eef0;
  --forest: #12395c;
  --forest-deep: #0e2d4a;
  --hero-cream: #e6f1f6;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(14, 34, 56, 0.08);
  --header-h: 76px;
  --font-sans: "DM Sans", "Segoe UI", sans-serif;
  --font-serif: "Fraunces", "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

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

a {
  color: inherit;
}

h1, h2, h3, p, ul, ol, figure {
  margin: 0;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  background: var(--ink);
  color: var(--bg);
  padding: 8px 12px;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.logo-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.logo-lots {
  fill: var(--bg);
}

.site-footer .logo-lots {
  fill: #0a1b2d;
}

.logo-word {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.logo-word span {
  font-weight: 400;
  color: var(--ink-soft);
}

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

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav a:hover {
  color: var(--ink);
}

.nav-cta {
  background: var(--ink);
  color: var(--bg) !important;
  padding: 10px 16px;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--forest);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.eyebrow.light {
  color: #7fd6de;
}

.hero {
  padding: 72px 0 88px;
}

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

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.15rem);
  max-width: 9.6em;
  margin-bottom: 20px;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 38ch;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

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

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--paper);
}

.hero-points {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.device {
  background: #143452;
  border-radius: 24px;
  padding: 12px 12px 16px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(14, 34, 56, 0.15);
}

.device-bar {
  display: flex;
  gap: 6px;
  padding: 4px 8px 12px;
}

.device-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5d78a;
}

.device-screen {
  background: linear-gradient(180deg, #eef6fa 0%, #dcebf2 100%);
  border-radius: 14px;
  overflow: hidden;
  min-height: 360px;
  padding: 18px;
}

.mini-nav {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.mini-hero {
  background: #12395c;
  color: #f6f9fb;
  border-radius: 14px;
  padding: 28px 22px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}

.mini-tag {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9fdde3;
}

.mini-hero strong {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.mini-hero em {
  font-style: normal;
  color: #dbe7ee;
  font-size: 0.92rem;
}

.mini-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.mini-tiles div {
  height: 64px;
  border-radius: 10px;
  background: #c9dbe6;
}

.mini-tiles div:nth-child(2) {
  background: #9fbccd;
}

.mini-tiles div:nth-child(3) {
  background: #6f98b0;
}

.hero-caption {
  font-size: 0.88rem;
  color: var(--muted);
  padding-left: 4px;
}

.section,
.hero,
.contact-section {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-intro {
  max-width: 620px;
  margin-bottom: 48px;
}

.section-intro h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin-bottom: 16px;
}

.section-intro p:last-child {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.card-grid,
.pricing-grid,
.work-grid {
  display: grid;
  gap: 22px;
}

.services-grid,
.pricing-grid,
.work-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.price-card,
.work-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.card {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
}

.card-index {
  font-family: var(--font-serif);
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.card h3,
.price-card h3,
.work-meta h3,
.steps h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.card p,
.price-desc,
.work-meta p,
.steps p {
  color: var(--ink-soft);
}

.card-note {
  margin-top: auto;
  padding-top: 22px;
  font-weight: 600;
  color: var(--ink) !important;
}

.price-card {
  padding: 30px 26px 28px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  background: var(--forest);
  color: var(--bg);
  border-color: var(--forest-deep);
}

.price-card.featured .price-label,
.price-card.featured .price-desc,
.price-card.featured li {
  color: #cfe0ea;
}

.price-card.featured .price,
.price-card.featured .price span {
  color: #ffffff;
}

.price-card.featured .btn-primary {
  background: var(--accent);
}

.price-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.price {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.price span {
  display: block;
  font-size: 2.6rem;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}

.price-desc {
  margin-bottom: 22px;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
  flex: 1;
}

.price-card li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
}

.price-card li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.6em;
}

.price-card .btn {
  width: 100%;
}

.price-card.featured .btn-ghost {
  color: var(--bg);
  border-color: color-mix(in srgb, var(--bg) 30%, transparent);
}

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding-top: 8px;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.work-card {
  overflow: hidden;
}

.work-preview {
  min-height: 230px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.preview-barber {
  background: linear-gradient(160deg, #12395c 0%, #0a1b2d 100%);
  color: #eef6fa;
}

.preview-bakery {
  background: linear-gradient(160deg, #bfe6ea 0%, #3aa5b0 100%);
  color: #0e2238;
}

.preview-landscape {
  background: linear-gradient(160deg, #1b7a8a 0%, #0e2d4a 100%);
  color: #eaf8fa;
}

.work-badge {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 6px 9px;
  border-radius: 999px;
}

.preview-bakery .work-badge {
  background: rgba(14, 34, 56, 0.08);
  border-color: rgba(14, 34, 56, 0.16);
}

.preview-name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.preview-line {
  font-size: 0.95rem;
  opacity: 0.85;
}

.work-meta {
  padding: 22px 22px 26px;
}

.work-type {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent) !important;
  margin: -4px 0 10px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.faq-intro {
  margin-bottom: 0;
  position: sticky;
  top: 110px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 22px 4px;
}

summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  padding: 18px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  flex-shrink: 0;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.2;
}

details[open] summary::after {
  content: "–";
}

details p {
  color: var(--ink-soft);
  padding: 0 0 20px;
  max-width: 62ch;
}

.contact-section {
  background: var(--ink);
  color: #dbe7ee;
  padding: 100px 0;
}

.contact-section h2 {
  color: #f6f9fb;
  font-size: clamp(2rem, 3.4vw, 3rem);
  margin-bottom: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-copy p {
  max-width: 36ch;
  margin-bottom: 24px;
}

.contact-email {
  display: inline-block;
  color: #f6f9fb;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  text-decoration: none;
  letter-spacing: -0.03em;
  border-bottom: 1px solid rgba(246, 249, 251, 0.35);
  margin-bottom: 12px;
}

.contact-email:hover {
  border-bottom-color: var(--accent);
}

.fine-print,
.form-note {
  font-size: 0.88rem;
  color: #9fb2c3;
}

.contact-form {
  background: #10273f;
  border: 1px solid #24435f;
  border-radius: 20px;
  padding: 28px;
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #cddbe5;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid #35546f;
  background: #0e2238;
  color: #f6f9fb;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #8499ad;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 70%, white);
  border-color: transparent;
}

.contact-form .btn {
  justify-self: start;
  margin-top: 4px;
}

.site-footer {
  background: #0a1b2d;
  color: #b7c8d6;
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: grid;
  gap: 10px;
}

.footer-email {
  color: #f6f9fb;
  text-decoration: none;
  font-weight: 500;
}

.footer-email:hover {
  color: #7fd6de;
}

.site-footer .logo {
  color: #f6f9fb;
}

.site-footer .logo-word span {
  color: #b7c8d6;
}

.footer-meta {
  color: #8499ad;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .faq-layout,
  .contact-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .pricing-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .faq-intro {
    position: static;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1120px, calc(100% - 32px));
  }

  .menu-toggle {
    display: inline-block;
  }

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

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.25px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
  }

  .menu-toggle span {
    transition: transform 0.2s ease;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(var(--header-h) + 1px);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 22px;
    gap: 16px;
    z-index: 30;
  }

  .nav.open {
    display: flex;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero,
  .section,
  .contact-section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 40px;
  }

  .header-inner,
  .hero-grid {
    gap: 28px;
  }

  .device-screen {
    min-height: 300px;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .services-grid,
  .pricing-grid,
  .work-grid {
    grid-template-columns: 1fr 1fr;
  }

  .work-grid article:last-child,
  .pricing-grid article:last-child,
  .services-grid article:last-child {
    grid-column: 1 / -1;
  }
}

.contact-email, .footer-email { overflow-wrap: anywhere; }
@media (max-width: 760px) { .contact-email { font-size: 1.1rem; } }

/* Sample work photos */
.work-preview.has-photo, .work-preview { isolation: isolate; }
.work-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.work-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 27, 45, 0.55) 0%, rgba(10, 27, 45, 0.15) 40%, rgba(10, 27, 45, 0.85) 100%);
}
.preview-bakery, .preview-barber, .preview-landscape { color: #f4fafc; }
.preview-bakery .work-badge { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.28); }
.work-preview .preview-name, .work-preview .preview-line { text-shadow: 0 1px 8px rgba(5, 15, 28, 0.55); }
.work-preview .preview-line { opacity: 0.95; }
.work-preview { min-height: 260px; }
