/* ============================================================
   Halcyon Restoration — heritage NYC masonry & brownstone
   Forest green + cream paper + aged brass + serif
   ============================================================ */

:root {
  --forest:     #1f3a2c;
  --forest-2:   #16302a;
  --forest-3:   #2a4d3a;
  --bone:       #f3ecd7;
  --bone-2:     #ebe1c5;
  --bone-3:     #d6c9a4;
  --ink:        #1a1b14;
  --text:       #3a3a2e;
  --muted:      #6f6a5a;
  --brass:      #b08858;
  --brass-2:    #c39d6c;
  --brass-deep: #8a6a40;
  --rust:       #8c3a1c;
  --line:       rgba(26,27,20,.18);
  --line-soft:  rgba(26,27,20,.10);

  --display: 'PT Serif', 'Times New Roman', serif;
  --body:    'Manrope', system-ui, sans-serif;

  --max: 1180px;
  --gutter: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

body {
  font-family: var(--body);
  font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--bone);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: ''; position: fixed; inset: 0;
  pointer-events: none; opacity: 0.3;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .12 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  z-index: 1;
}
body > * { position: relative; z-index: 2; }

/* ============================================================
   SAMPLE BANNER
   ============================================================ */
.sample-banner {
  background: var(--bone-3); color: var(--forest);
  text-align: center; padding: 8px 16px;
  font-family: var(--body); font-weight: 500;
  font-size: 12.5px;
}
.sample-banner a { color: var(--forest); text-decoration: underline; font-weight: 600; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--forest); color: var(--bone);
  font-family: var(--body); font-weight: 500;
  font-size: 13px; border-bottom: 3px solid var(--brass);
}
.topbar-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.topbar-l { display: flex; align-items: center; gap: 10px; }
.topbar-l .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brass-2); box-shadow: 0 0 6px var(--brass-2); }
.topbar-r { display: flex; gap: 18px; align-items: center; }
.topbar-r a { color: var(--bone); transition: color .15s; }
.topbar-r a:hover { color: var(--brass-2); }
@media (max-width: 720px) { .topbar-r { display: none; } }

/* ============================================================
   HEADER
   ============================================================ */
header.head {
  background: var(--bone);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%);
  background-color: rgba(243,236,215,.96);
}
.head-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 18px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  color: var(--forest);
}
.brand-mark {
  width: 50px; height: 50px;
  border: 2px solid var(--forest);
  display: grid; place-items: center;
  background: var(--bone);
  color: var(--forest);
  position: relative;
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-mark::after {
  content: ''; position: absolute;
  inset: -4px;
  border: 1px solid var(--brass);
  pointer-events: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; gap: 4px; }
.brand-text .name {
  font-family: var(--display); font-weight: 700;
  font-size: 22px; letter-spacing: -0.005em;
  color: var(--forest);
}
.brand-text .meta {
  font-family: var(--body); font-weight: 600;
  font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--brass-deep);
}

nav.primary { display: flex; gap: 4px; justify-self: center; }
nav.primary a {
  font-family: var(--body); font-weight: 500;
  font-size: 14.5px;
  padding: 10px 16px; color: var(--text);
  position: relative; transition: color .15s;
}
nav.primary a:hover { color: var(--forest); }
nav.primary a.active { color: var(--forest); font-weight: 600; }
nav.primary a.active::before {
  content: ''; position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px; background: var(--brass);
}

.head-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--forest); color: var(--bone);
  padding: 12px 18px;
  font-family: var(--body); font-weight: 600;
  font-size: 14px; white-space: nowrap;
  border: 2px solid var(--forest);
  transition: background .15s, color .15s;
}
.head-cta:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.head-cta svg { width: 14px; height: 14px; }
.menu-toggle { display: none; }

@media (max-width: 880px) {
  .head-inner { gap: 14px; padding: 14px 18px; }
  nav.primary {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: var(--bone);
    border-bottom: 1px solid var(--line); padding: 10px;
  }
  nav.primary.open { display: flex; }
  nav.primary a { width: 100%; padding: 14px; }
  nav.primary a.active::before { display: none; }
  .menu-toggle {
    display: inline-grid; place-items: center;
    width: 40px; height: 40px;
    border: 2px solid var(--forest); color: var(--forest);
  }
  .menu-toggle svg { width: 18px; height: 18px; }
  .brand-text .meta { display: none; }
  .brand-mark { width: 42px; height: 42px; font-size: 18px; }
  .brand-text .name { font-size: 18px; }
  .head-cta { padding: 10px 14px; font-size: 13px; }
  .head-cta-text { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: clamp(64px, 9vw, 130px) var(--gutter) clamp(50px, 7vw, 100px);
}
.hero-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.hero-meta {
  font-family: var(--body); font-weight: 600;
  font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--brass-deep);
  display: flex; gap: 14px; align-items: center;
  margin-bottom: 28px;
}
.hero-meta::before { content: ''; width: 32px; height: 2px; background: var(--brass); }
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(40px, 6.4vw, 80px);
  line-height: 1.05; letter-spacing: -0.025em;
  color: var(--forest); margin: 0 0 24px;
}
.hero h1 em {
  font-style: italic; color: var(--brass-deep);
}
.hero p.lede {
  font-size: 18px; line-height: 1.6;
  color: var(--text); max-width: 540px; margin: 0 0 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--body); font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--forest); color: var(--bone);
  border-color: var(--forest);
}
.btn-primary:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.btn-ghost {
  border-color: var(--forest); color: var(--forest);
  background: transparent;
}
.btn-ghost:hover { background: var(--forest); color: var(--bone); }

.hero-photo {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 6px solid var(--bone);
  outline: 2px solid var(--forest);
  outline-offset: 6px;
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.05) saturate(.85) sepia(.08);
}
.hero-photo .seal {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--forest); color: var(--bone);
  padding: 12px 16px;
  font-family: var(--display); font-style: italic;
  font-weight: 700; font-size: 14px;
  border: 2px solid var(--brass);
}

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-photo { aspect-ratio: 4/3; max-height: 420px; }
}

/* ============================================================
   RIBBON
   ============================================================ */
.ribbon {
  background: var(--forest); color: var(--bone);
  border-top: 3px solid var(--brass);
  border-bottom: 3px solid var(--brass);
  padding: 18px var(--gutter);
}
.ribbon-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; gap: 40px; justify-content: center; align-items: center;
  flex-wrap: wrap;
  font-family: var(--display); font-style: italic;
  font-size: 17px;
}
.ribbon-inner span {
  display: inline-flex; align-items: center; gap: 18px;
}
.ribbon-inner span::after {
  content: '✦'; color: var(--brass-2); font-size: 14px;
}
.ribbon-inner span:last-child::after { display: none; }

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: clamp(70px, 9vw, 120px) var(--gutter); }
.container { max-width: var(--max); margin: 0 auto; }

.section-head {
  max-width: 760px; margin: 0 auto 56px;
  text-align: center;
}
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--body); font-weight: 600;
  font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--brass-deep);
  margin-bottom: 18px;
}
.section-head .eyebrow::before, .section-head .eyebrow::after {
  content: ''; width: 28px; height: 2px; background: var(--brass);
}
.section-head h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05; letter-spacing: -0.02em;
  color: var(--forest); margin: 0 0 14px;
}
.section-head h2 em { font-style: italic; color: var(--brass-deep); }
.section-head p {
  color: var(--text); font-size: 17px; line-height: 1.6; margin: 0;
}

/* ============================================================
   SERVICES — cards
   ============================================================ */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc {
  background: #faf3df;
  border: 1px solid var(--line-soft);
  padding: 30px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .2s, transform .2s;
  position: relative;
}
.svc::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px; background: var(--brass);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.svc:hover { border-color: var(--forest); transform: translateY(-3px); }
.svc:hover::before { transform: scaleX(1); }
.svc .ico {
  width: 44px; height: 44px;
  border: 2px solid var(--forest);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--forest);
}
.svc .ico svg { width: 22px; height: 22px; }
.svc h3 {
  font-family: var(--display); font-weight: 700;
  font-size: 20px; color: var(--forest);
  margin: 0; letter-spacing: -0.005em;
}
.svc p {
  font-size: 14.5px; line-height: 1.6;
  color: var(--text); margin: 0;
}

@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }

/* ============================================================
   APPROACH — split (different layout pattern from other samples)
   ============================================================ */
.approach { background: #ebe1c5; }
.approach-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.approach-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 6px solid var(--bone);
  outline: 2px solid var(--forest);
  outline-offset: 6px;
}
.approach-photo img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(.85) sepia(.08); }
.approach-content h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.05; letter-spacing: -0.02em;
  color: var(--forest); margin: 0 0 18px;
}
.approach-content h2 em { font-style: italic; color: var(--brass-deep); }
.approach-content p {
  font-size: 16.5px; line-height: 1.7;
  color: var(--text); margin: 0 0 14px;
}
.approach-list {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; gap: 18px;
}
.approach-list li {
  display: grid; grid-template-columns: 32px 1fr;
  gap: 16px; align-items: start;
}
.approach-list li .num {
  font-family: var(--display); font-style: italic;
  font-weight: 700; font-size: 24px;
  color: var(--brass-deep);
}
.approach-list li b {
  font-family: var(--display); font-weight: 700;
  display: block; color: var(--forest);
  font-size: 17px; margin-bottom: 4px;
}
.approach-list li small {
  display: block; font-size: 14.5px;
  color: var(--text); line-height: 1.55;
}

@media (max-width: 880px) {
  .approach-grid { grid-template-columns: 1fr; gap: 36px; }
  .approach-photo { aspect-ratio: 16/12; max-height: 380px; }
}

/* ============================================================
   TESTIMONIAL — single big quote (different pattern)
   ============================================================ */
.testimonial {
  text-align: center;
  background: var(--forest); color: var(--bone);
}
.testimonial .section-head .eyebrow { color: var(--brass-2); }
.testimonial .section-head .eyebrow::before, .testimonial .section-head .eyebrow::after { background: var(--brass-2); }
.testimonial-inner {
  max-width: 880px; margin: 0 auto;
  text-align: center;
}
.testimonial blockquote {
  font-family: var(--display); font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.35;
  color: var(--bone); margin: 0 0 28px;
  letter-spacing: -0.015em;
}
.testimonial blockquote::before { content: '“'; color: var(--brass); font-size: 1.5em; line-height: 0; vertical-align: -0.2em; }
.testimonial cite {
  font-family: var(--body); font-style: normal;
  font-weight: 600; font-size: 14px;
  color: var(--brass-2);
  letter-spacing: 0.04em;
}
.testimonial cite b {
  font-family: var(--display); font-style: italic;
  display: block; font-weight: 700;
  font-size: 18px; color: var(--bone);
  letter-spacing: 0; margin-bottom: 4px;
}

/* ============================================================
   CONTACT — letterhead style
   ============================================================ */
.contact-panel {
  background: var(--forest); color: var(--bone);
  padding: clamp(48px, 6vw, 80px);
  max-width: 880px; margin: 0 auto;
  text-align: center;
  position: relative;
  border: 6px solid var(--bone);
  outline: 2px solid var(--forest);
  outline-offset: 6px;
}
.contact-panel::before, .contact-panel::after {
  content: '✦'; position: absolute;
  color: var(--brass); font-size: 18px; top: 18px;
}
.contact-panel::before { left: 18px; }
.contact-panel::after { right: 18px; }
.contact-panel h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1; color: var(--bone);
  margin: 0 0 14px; letter-spacing: -0.02em;
}
.contact-panel h2 em { font-style: italic; color: var(--brass-2); }
.contact-panel p {
  font-size: 17px; color: rgba(243,236,215,.85);
  max-width: 540px; margin: 0 auto 26px; line-height: 1.6;
}
.contact-panel .phone-line {
  font-family: var(--display); font-style: italic;
  font-weight: 700; font-size: clamp(34px, 5vw, 52px);
  color: var(--brass-2); margin-bottom: 24px;
  display: inline-block;
}
.contact-panel .phone-line:hover { color: var(--bone); }
.actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.contact-panel .btn-primary { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.contact-panel .btn-primary:hover { background: var(--bone); border-color: var(--bone); }
.contact-panel .btn-ghost { border-color: var(--bone); color: var(--bone); }
.contact-panel .btn-ghost:hover { background: var(--bone); color: var(--forest); }

/* ============================================================
   FOOTER
   ============================================================ */
footer.foot {
  background: var(--forest-2); color: rgba(243,236,215,.85);
  padding: 70px var(--gutter) 26px;
  border-top: 4px solid var(--brass);
}
.foot-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(243,236,215,.15);
}
.foot-brand {
  display: flex; gap: 14px; align-items: center; margin-bottom: 14px;
}
.foot-brand .mk {
  width: 44px; height: 44px;
  background: var(--bone); color: var(--forest);
  display: grid; place-items: center;
  border: 2px solid var(--brass);
}
.foot-brand .mk svg { width: 22px; height: 22px; }
.foot-brand .name {
  font-family: var(--display); font-weight: 700;
  font-size: 20px; color: var(--bone);
}
.foot-tag p {
  font-size: 14px; line-height: 1.65;
  color: rgba(243,236,215,.7); max-width: 320px;
}
.foot-col h4 {
  font-family: var(--display); font-weight: 700;
  font-size: 15px; color: var(--brass-2);
  margin: 0 0 14px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { font-size: 14px; margin-bottom: 8px; color: rgba(243,236,215,.8); }
.foot-col li a { transition: color .15s; }
.foot-col li a:hover { color: var(--brass-2); }
.foot-bottom {
  max-width: var(--max); margin: 22px auto 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 12.5px; color: rgba(243,236,215,.5);
}
@media (max-width: 880px) { .foot-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-inner { grid-template-columns: 1fr; } }

/* ============================================================
   MOBILE STICKY CALL
   ============================================================ */
.mobile-call {
  display: none; position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--forest); color: var(--bone);
  padding: 13px 18px; z-index: 100;
  text-align: center;
  font-family: var(--body); font-weight: 600;
  font-size: 15px;
  border-top: 3px solid var(--brass);
}
.mobile-call svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; }
@media (max-width: 720px) {
  .mobile-call { display: block; }
  body { padding-bottom: 54px; }
}
