:root {
  --paper: #f4efe6;
  --paper-2: #ece3d4;
  --ink: #1c2430;
  --ink-soft: #46505f;
  --accent: #b86b2e;
  --accent-dark: #93531f;
  --teal: #2b6a66;
  --teal-dark: #214f4c;
  --line: #d8cdba;
  --card: #fffdf8;
  --shadow: 0 20px 44px -26px rgba(28, 36, 48, .5);
  --shadow-sm: 0 10px 24px -18px rgba(28, 36, 48, .55);
  --maxw: 1180px;
  --radius: 14px;
  --fast: .2s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.68;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  line-height: 1.12;
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.28rem; }

p { margin: 0 0 1.1em; }

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

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

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

.eyebrow {
  display: inline-block;
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .74rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.sg-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font: inherit;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .82rem 1.6rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--fast), background var(--fast), color var(--fast), box-shadow var(--fast);
}
.sg-btn--solid { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.sg-btn--solid:hover { background: var(--accent-dark); transform: translateY(-2px); }
.sg-btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.sg-btn--ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.sg-btn--teal { background: var(--teal); color: #fff; }
.sg-btn--teal:hover { background: var(--teal-dark); transform: translateY(-2px); }

.inline-link {
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 1px;
  text-decoration: none;
}
.inline-link:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Header ---------- */
.sg-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 230, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.sg-head__ad {
  background: var(--ink);
  color: var(--paper);
  font-size: .76rem;
  letter-spacing: .04em;
  text-align: center;
  padding: .45rem 16px;
}
.sg-head__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: .85rem 24px;
}
.sg-head__brand {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -.01em;
  color: var(--ink);
  text-decoration: none;
}
.sg-head__nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.sg-head__nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: .98rem;
  position: relative;
  padding: .2rem 0;
}
.sg-head__nav a:hover { color: var(--ink); }
.sg-head__nav a.is-active { color: var(--accent-dark); }
.sg-head__nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--accent);
}
.sg-head__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 38px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.sg-head__toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: var(--fast);
}

/* ---------- Sections / Split ---------- */
.section { padding: clamp(3.2rem, 7vw, 6rem) 0; }
.section--tint { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--paper); }
.section--ink .eyebrow { color: #e3a765; }

.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.split--rev { flex-direction: row-reverse; }
.split__media { flex: 1 1 380px; }
.split__text { flex: 1 1 380px; }

.media {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-2);
  box-shadow: var(--shadow);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 3 / 2; }
.media--hero { aspect-ratio: 5 / 6; }
.media--frame { border: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.4rem, 5vw, 4.4rem) 0 clamp(3rem, 6vw, 5rem); }
.hero .split { align-items: stretch; }
.hero__text { align-self: center; }
.hero__lead {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 34ch;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }

/* ---------- Editorial band ---------- */
.band { max-width: 760px; }
.band p { font-size: 1.12rem; }
.pull {
  font-family: "Fraunces", serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.3;
  color: var(--ink);
  border-left: 4px solid var(--accent);
  padding-left: 1.4rem;
  margin: 2rem 0;
}

/* ---------- Stats ---------- */
.stats { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.stat {
  flex: 1 1 180px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.stat__num { font-family: "Fraunces", serif; font-size: 2.4rem; color: var(--accent-dark); }
.stat__lbl { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Timeline cards ---------- */
.eras { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.era {
  flex: 1 1 260px;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
}
.era__year { font-family: "Fraunces", serif; color: var(--teal-dark); font-weight: 700; font-size: 1.1rem; }
.era h3 { margin: .3rem 0 .6rem; }
.era p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Testimonials ---------- */
.quotes { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.quote {
  flex: 1 1 300px;
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 1.8rem;
  border: 1px solid var(--line);
}
.quote p { font-style: italic; font-size: 1.05rem; }
.quote__who { font-weight: 600; font-style: normal; color: var(--accent-dark); margin: 0; }

/* ---------- Service cards ---------- */
.cards { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.card {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.card__media { aspect-ratio: 3 / 2; background: var(--paper-2); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: .4rem; }
.card__meta { font-size: .86rem; letter-spacing: .04em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: .6rem; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card__list { margin: .2rem 0 1.1rem; padding-left: 1.1rem; color: var(--ink-soft); font-size: .95rem; }
.card__list li { margin-bottom: .3rem; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.price { font-family: "Fraunces", serif; font-size: 1.5rem; color: var(--ink); }
.price small { display: block; font-family: "Inter", sans-serif; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }

/* ---------- Form ---------- */
.formwrap {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: flex-start;
}
.formwrap__intro { flex: 1 1 320px; }
.form { flex: 1 1 360px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.field label { font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  font: inherit;
  padding: .75rem .9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 110px; }
.form__hint { font-size: .82rem; color: var(--ink-soft); margin: .3rem 0 1.2rem; }
.form .sg-btn { width: 100%; justify-content: center; }
.form__ok {
  display: none;
  background: #e8f1ef;
  border: 1px solid var(--teal);
  color: var(--teal-dark);
  border-radius: 10px;
  padding: .8rem 1rem;
  margin-bottom: 1rem;
  font-size: .95rem;
}
.form__ok.is-show { display: block; }

/* ---------- Simple content (legal / contact) ---------- */
.prose { max-width: 780px; }
.prose h2 { margin-top: 2.2rem; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: .5rem; }
.info-cards { display: flex; flex-wrap: wrap; gap: 1.4rem; margin: 2rem 0; }
.info-card {
  flex: 1 1 240px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.info-card h3 { color: var(--teal-dark); }
.info-card p { margin: 0; color: var(--ink-soft); }
.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  box-shadow: var(--shadow);
}

/* ---------- Footer ---------- */
.sg-foot {
  background: var(--ink);
  color: #cdd4de;
  padding: 3.4rem 0 1.8rem;
  margin-top: 0;
}
.sg-foot__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.sg-foot__col { flex: 1 1 200px; }
.sg-foot__brandcol { flex: 2 1 320px; }
.sg-foot__brand { font-family: "Fraunces", serif; font-size: 1.5rem; color: #fff; display: block; margin-bottom: .8rem; }
.sg-foot__note { font-size: .92rem; line-height: 1.6; color: #aab3c0; }
.sg-foot__h { color: #fff; font-size: 1rem; margin-bottom: .9rem; }
.sg-foot__addr { font-style: normal; font-size: .92rem; line-height: 1.8; color: #aab3c0; }
.sg-foot__links { list-style: none; margin: 0; padding: 0; }
.sg-foot__links li { margin-bottom: .5rem; }
.sg-foot__links a { color: #cdd4de; text-decoration: none; font-size: .92rem; }
.sg-foot__links a:hover { color: #fff; text-decoration: underline; }
.sg-foot__bottom {
  max-width: var(--maxw);
  margin: 2.4rem auto 0;
  padding: 1.5rem 24px 0;
  border-top: 1px solid #2c3644;
}
.sg-foot__bottom p { margin: 0 0 .4rem; font-size: .82rem; color: #8b94a2; }

/* ---------- Cookie banner ---------- */
.sg-cookie {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 60;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.sg-cookie[hidden] { display: none; }
.sg-cookie__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.1rem 1.4rem;
}
.sg-cookie__text { margin: 0; font-size: .92rem; flex: 1 1 320px; }
.sg-cookie__text a { color: #e3a765; }
.sg-cookie__btns { display: flex; gap: .7rem; flex-wrap: wrap; }
.sg-cookie .sg-btn--ghost { color: var(--paper); border-color: var(--paper); }
.sg-cookie .sg-btn--ghost:hover { background: var(--paper); color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .sg-head__toggle { display: flex; }
  .sg-head__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: .6rem 24px 1.2rem;
  }
  .sg-head__nav.is-open { display: flex; }
  .sg-head__nav a { padding: .7rem 0; width: 100%; }
  .sg-head__bar { position: relative; }
  .split--rev { flex-direction: column; }
  .sticky-cta { right: 12px; bottom: 12px; }
}
