/* ============================================================
   Healys LLC — brand tokens
   Forest green #1F4D2C / Deep forest #143521 / Burnt orange #C1571A
   Cream #F6F1E6 / Ink #24211D / Sage #8A9A7E
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --forest: #1F4D2C;
  --forest-deep: #143521;
  --orange: #C1571A;
  --orange-bright: #DA6A26;
  --cream: #F6F1E6;
  --cream-dim: #EDE5D3;
  --ink: #24211D;
  --ink-soft: #4A463E;
  --sage: #8A9A7E;
  --line: rgba(36, 33, 29, 0.12);
  --line-on-dark: rgba(246, 241, 230, 0.18);

  --display: 'Fraunces', Georgia, serif;
  --body: 'Source Sans 3', system-ui, sans-serif;

  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 10px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  margin: 0;
  color: var(--forest-deep);
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 8px; }

p { color: var(--ink-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: 3px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--orange);
  color: var(--cream);
}
.btn-primary:hover { background: var(--orange-bright); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line-on-dark);
}
.btn-ghost:hover { border-color: var(--cream); }
.btn-outline {
  background: transparent;
  color: var(--forest-deep);
  border-color: var(--forest-deep);
}
.btn-outline:hover { background: var(--forest-deep); color: var(--cream); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 230, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo {
  height: 68px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--forest-deep);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0.82;
}
.nav-links a:hover { opacity: 1; }
.nav-phone {
  color: var(--orange);
  font-weight: 700;
}
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: block;
    background: none;
    border: 1px solid var(--line);
    color: var(--forest-deep);
    padding: 8px 12px;
    border-radius: 3px;
    font-family: var(--body);
    font-weight: 600;
    font-size: 0.85rem;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 22px 28px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  background: var(--forest-deep);
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,53,33,0.55) 0%, rgba(20,53,33,0.55) 40%, rgba(20,53,33,0.96) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 90px 0 72px;
  width: 100%;
}
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.02;
  max-width: 780px;
}
.hero-tag {
  color: var(--orange-bright);
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  margin: 18px 0 30px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line-on-dark);
  display: flex;
  gap: 42px;
  flex-wrap: wrap;
  color: var(--cream);
}
.hero-meta .stat-num {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--cream);
  display: block;
}
.hero-meta .stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ---------- Section shells ---------- */
section { padding: 96px 0; }
.section-alt { background: var(--cream-dim); }
.section-dark {
  background: var(--forest-deep);
  color: var(--cream);
}
.section-dark p { color: rgba(246,241,230,0.75); }
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark .eyebrow { color: var(--orange-bright); }
.section-head { max-width: 640px; margin-bottom: 52px; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--cream);
  padding: 38px 32px;
}
.service-num {
  font-family: var(--display);
  color: var(--sage);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.service-card h3 { margin-top: 14px; }
@media (max-width: 860px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- Portfolio: before/after reveal ---------- */
.portfolio-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.portfolio-item {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.portfolio-item:nth-child(even) { direction: rtl; }
.portfolio-item:nth-child(even) > * { direction: ltr; }

.reveal {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  cursor: ew-resize;
  user-select: none;
  box-shadow: 0 24px 48px -20px rgba(20,53,33,0.35);
}
.reveal.tall { aspect-ratio: 3 / 4; }
.reveal img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reveal .img-after { z-index: 1; }
.reveal .img-before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}
.reveal-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 3;
  width: 3px;
  background: var(--cream);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
}
.reveal-handle::after {
  content: '\2194';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  background: var(--orange);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.reveal-tag {
  position: absolute;
  bottom: 14px;
  z-index: 4;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 2px;
  color: var(--cream);
  background: rgba(20,53,33,0.75);
  backdrop-filter: blur(2px);
}
.reveal-tag.before-tag { left: 14px; }
.reveal-tag.after-tag { right: 14px; background: rgba(193,87,26,0.85); }
.reveal.feature-shot {
  cursor: default;
}
.reveal.feature-shot .img-after {
  position: relative;
}
.reveal-hint {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 12px;
  font-weight: 600;
}

.portfolio-copy .eyebrow { margin-bottom: 6px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.about-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.about-list li {
  padding-left: 28px;
  position: relative;
  color: var(--ink-soft);
}
.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 2px;
  background: var(--orange);
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ---------- Service area ---------- */
.area-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.area-chip {
  border: 1px solid var(--line-on-dark);
  color: var(--cream);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}
.contact-info h3 { color: var(--cream); }
.contact-line {
  display: block;
  margin-bottom: 18px;
}
.contact-line .label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-bright);
  margin-bottom: 4px;
}
.contact-line a {
  color: var(--cream);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 600;
}

.form-card {
  background: var(--cream);
  color: var(--ink);
  border-radius: 6px;
  padding: 36px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
  color: var(--forest-deep);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 3px;
  font-family: var(--body);
  font-size: 0.98rem;
  background: #fff;
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--forest);
  outline-offset: 1px;
  border-color: var(--forest);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-file {
  border: 1.5px dashed var(--line);
  border-radius: 3px;
  padding: 16px;
  background: #fff;
}
.field-hint {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 4px;
}
.form-submit { width: 100%; justify-content: center; margin-top: 4px; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Portfolio responsive ---------- */
@media (max-width: 860px) {
  .portfolio-item { grid-template-columns: 1fr; }
  .portfolio-item:nth-child(even) { direction: ltr; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--forest-deep);
  border-top: 1px solid var(--line-on-dark);
  padding: 36px 0;
  color: rgba(246,241,230,0.6);
  font-size: 0.85rem;
}
.footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

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