/* Emily Heric — improved redesign (vanilla CSS) */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/playfair-display-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --color-bg: #faf5f5;
  --color-text: #3f2e2e;
  --color-primary: #5c4033;
  --color-primary-mid: #8b6f47;
  --color-cream: #f8e8e8;
  --color-white: #fff;
  --color-muted: #6b5348;
  --nav-bg: rgba(250, 245, 245, 0.92);
  --shadow-sm: 0 2px 8px rgba(63, 46, 46, 0.06);
  --shadow-md: 0 8px 28px rgba(63, 46, 46, 0.1);
  --radius: 1rem;
  --radius-pill: 50rem;
  --container: 1120px;
  --space: clamp(1rem, 3vw, 1.5rem);
  --section-pad: clamp(3.5rem, 8vw, 5.5rem);
  --focus: 0 0 0 3px rgba(139, 111, 71, 0.45);
  --book-url: none;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-primary);
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 9999;
  background: var(--color-primary);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.skip-link:focus {
  top: 1rem;
  outline: none;
  box-shadow: var(--focus);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space);
}

/* Icons */
.icon { width: 1.15rem; height: 1.15rem; fill: currentColor; display: inline-block; vertical-align: -0.15em; }
.icon-lg { width: 2rem; height: 2rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 0.9rem 1.75rem; font-size: 1.05rem; }
.btn-primary {
  background: var(--color-primary-mid);
  border-color: var(--color-primary-mid);
  color: #fff;
  box-shadow: 0 4px 14px rgba(139, 111, 71, 0.35);
}
.btn-primary:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.btn-light {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}
.btn-light:hover { background: var(--color-cream); color: var(--color-primary); }
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: rgba(92, 64, 51, 0.35);
}
.btn-outline:hover { background: var(--color-cream); border-color: var(--color-primary); }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }

.badge {
  display: inline-block;
  padding: 0.35em 0.9em;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  background: var(--color-cream);
  color: var(--color-primary);
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}
.site-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.65rem;
  min-height: 3.75rem;
}
.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-primary);
}
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 0.5rem;
  color: var(--color-primary);
}
.nav-toggle svg { width: 1.5rem; height: 1.5rem; fill: currentColor; }
.nav-menu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  padding-bottom: 0.75rem;
}
.nav-menu.is-open { display: flex; }
.nav-menu a:not(.btn) {
  display: block;
  padding: 0.55rem 0.75rem;
  color: var(--color-muted);
  font-weight: 500;
  border-radius: 0.5rem;
}
.nav-menu a:not(.btn):hover,
.nav-menu a:not(.btn)[aria-current="page"] {
  color: var(--color-primary);
  background: var(--color-cream);
}
.nav-cta { margin-top: 0.35rem; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-inner { flex-wrap: nowrap; }
  .nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
    gap: 0.15rem;
    padding: 0;
    margin-left: auto;
  }
  .nav-cta { margin-top: 0; margin-left: 0.75rem; }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img {
  object-fit: cover;
  object-position: center 20%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(63, 46, 46, 0.82) 0%,
    rgba(92, 64, 51, 0.55) 48%,
    rgba(92, 64, 51, 0.35) 100%
  );
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
  padding-block: 4rem;
}
.hero-badge { margin-bottom: 1.25rem; background: rgba(248, 232, 232, 0.95); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.35rem, 6vw, 3.75rem);
  margin-bottom: 1.1rem;
  max-width: 14ch;
}
.hero .lead {
  color: var(--color-cream);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  max-width: 34rem;
  margin: 0 0 1.75rem;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Sections */
.section { padding-block: var(--section-pad); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-mid);
  margin: 0 0 0.35rem;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  margin: 0;
}
.section-sub {
  color: var(--color-muted);
  margin: 0.4rem 0 0;
  max-width: 36rem;
}
.section-center { text-align: center; }
.section-center .section-sub { margin-inline: auto; }

/* About */
.about-strip {
  background: linear-gradient(180deg, #fff 0%, var(--color-bg) 100%);
}
.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 800px) {
  .about-grid { grid-template-columns: 1fr 1.1fr; gap: 3rem; }
}
.about-card {
  background: #fff;
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(92, 64, 51, 0.06);
}
.about-card p {
  color: var(--color-muted);
  margin: 0 0 1rem;
}
.about-card p:last-child { margin-bottom: 0; }
.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

/* Work grid */
.work-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 576px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .work-grid { grid-template-columns: repeat(3, 1fr); }
}
.work-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 3 / 4;
  transition: transform 0.25s, box-shadow 0.25s;
}
.work-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-card-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem 1.1rem 1.1rem;
  background: linear-gradient(transparent, rgba(63, 46, 46, 0.85));
  color: #fff;
}
.work-card-caption h3 {
  color: #fff;
  font-size: 1.15rem;
  margin: 0 0 0.15rem;
  font-family: var(--font-display);
}
.work-card-caption span {
  font-size: 0.85rem;
  opacity: 0.85;
}
.work-link-all {
  display: inline-flex;
  margin-top: 1.75rem;
}

/* Services */
.services-section { background: #fff; }
.services-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  background: var(--color-bg);
  border-radius: calc(var(--radius) + 0.15rem);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(92, 64, 51, 0.05);
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-card-icon {
  color: var(--color-primary-mid);
  margin-bottom: 1rem;
}
.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.service-card ul li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}
.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--color-primary-mid);
}
.service-card-featured {
  background: linear-gradient(160deg, var(--color-primary) 0%, #4a3228 100%);
  color: #fff;
  border: 0;
}
.service-card-featured h3,
.service-card-featured .service-card-icon { color: #fff; }
.service-card-featured p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}
.service-card-featured .badge {
  margin-top: 1.1rem;
  background: rgba(248, 232, 232, 0.2);
  color: #fff;
}

/* Location */
.location-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 800px) {
  .location-grid { grid-template-columns: 1fr 1.15fr; gap: 2.5rem; }
}
.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.location-meta {
  color: var(--color-muted);
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.65;
}
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(92, 64, 51, 0.08);
  aspect-ratio: 16 / 10;
  background: var(--color-cream);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Footer */
.site-footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.75rem 0;
  text-align: center;
}
.site-footer p { margin: 0 0 0.85rem; font-size: 0.95rem; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.2s;
}
.footer-links a:hover { background: rgba(255, 255, 255, 0.22); }
.footer-links .icon { width: 1.2rem; height: 1.2rem; }

/* Sticky mobile book bar */
.mobile-book-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(250, 245, 245, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 -4px 20px rgba(63, 46, 46, 0.12);
  display: flex;
  justify-content: center;
}
.mobile-book-bar .btn { width: 100%; max-width: 420px; }
@media (min-width: 900px) {
  .mobile-book-bar { display: none; }
}
body.has-mobile-bar { padding-bottom: 4.5rem; }

/* ===== Portfolio / examples page ===== */
.portfolio-hero {
  position: relative;
  padding: clamp(3.5rem, 10vw, 5.5rem) 0;
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.portfolio-hero .hero-media,
.portfolio-hero .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.portfolio-hero .hero-media img {
  object-fit: cover;
  object-position: center 25%;
}
.portfolio-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(63, 46, 46, 0.78), rgba(92, 64, 51, 0.82));
  z-index: 1;
}
.portfolio-hero .container { position: relative; z-index: 2; }
.portfolio-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  margin-bottom: 0.5rem;
}
.portfolio-hero .lead {
  color: var(--color-cream);
  max-width: 34rem;
  margin: 0 auto;
  font-size: 1.1rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.filter-btn {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(92, 64, 51, 0.2);
  background: #fff;
  color: var(--color-primary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter-btn:hover { border-color: var(--color-primary-mid); }
.filter-btn[aria-pressed="true"],
.filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.gallery-note {
  text-align: center;
  color: var(--color-muted);
  font-size: 0.9rem;
  max-width: 36rem;
  margin: -0.5rem auto 1.75rem;
}

.gallery-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 3 / 4;
  cursor: pointer;
  border: 0;
  padding: 0;
  font: inherit;
  text-align: left;
  color: inherit;
  width: 100%;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.25s;
}
.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.gallery-item.is-hidden {
  display: none;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-item-label {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  background: rgba(250, 245, 245, 0.94);
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
}
.gallery-item-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.1rem;
  background: linear-gradient(transparent, rgba(63, 46, 46, 0.88));
  color: #fff;
}
.gallery-item-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}
.gallery-item-caption span {
  font-size: 0.82rem;
  opacity: 0.85;
}

.cta-strip {
  background: linear-gradient(135deg, var(--color-primary) 0%, #4a3228 100%);
  color: #fff;
  text-align: center;
  padding: 3.5rem 0;
}
.cta-strip h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.25rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(30, 20, 18, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox.is-open { display: flex; }
.lightbox-content {
  max-width: min(900px, 100%);
  max-height: 90vh;
  text-align: center;
}
.lightbox-content img {
  max-height: 75vh;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 0.5rem;
  object-fit: contain;
}
.lightbox-caption {
  color: rgba(255, 255, 255, 0.9);
  margin: 1rem 0 0;
  font-size: 0.95rem;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  color: #fff;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox-counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
