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

:root {
  --bg: #faf7f1;
  --surface: #ffffff;
  --ink: #182b45;
  --ink-soft: #5b6472;
  --gold: #b8862e;
  --gold-light: #d9b15c;
  --line: rgba(24,43,69,0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

p { max-width: 62ch; color: var(--ink); }
p.lead { color: var(--ink-soft); font-size: 1.1rem; max-width: 56ch; }

a { color: var(--gold); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; color: var(--ink); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 32px; }

/* Sidebar */
body { display: flex; min-height: 100vh; }

.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 240px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 32px 24px;
  display: flex; flex-direction: column; gap: 32px;
  overflow-y: auto;
}
.sidebar .brand img {
  width: 100%; max-width: 160px; height: auto; display: block;
}
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-nav a {
  color: var(--ink); font-size: 0.95rem; font-weight: 500;
  padding: 10px 12px; border-radius: 3px;
}
.side-nav a:hover { color: var(--gold); text-decoration: none; background: var(--bg); }
.side-nav a.active { color: var(--gold); background: var(--bg); }

.content { margin-left: 240px; width: 100%; min-width: 0; }

/* Hamburger toggle: hidden entirely on desktop, only shown on mobile below */
.nav-toggle-checkbox { display: none; }
.nav-toggle-btn {
  display: none;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink);
  padding: 6px 8px;
  border-radius: 3px;
}
.nav-toggle-btn:hover { background: var(--bg); }

@media (max-width: 860px) {
  body { display: block; }
  .sidebar {
    position: static; width: auto; height: auto;
    flex-direction: row; flex-wrap: wrap; align-items: center;
    padding: 14px 20px; gap: 12px; overflow: visible;
    border-right: none; border-bottom: 1px solid var(--line);
  }
  .sidebar .brand img { max-width: 96px; }
  .nav-toggle-btn { display: block; margin-left: auto; }
  .side-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    flex-basis: 100%;
    order: 3;
    gap: 0;
    margin-top: 4px;
  }
  .nav-toggle-checkbox:checked ~ .side-nav { display: flex; }
  .side-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .side-nav a.active { background: none; }
  .content { margin-left: 0; }
}

/* Hero — headline sits on a solid panel so it stays readable over any photo */
.hero {
  position: relative;
  min-height: 66vh;
  display: flex; align-items: flex-end;
  background-size: cover; background-position: center;
  padding-bottom: 56px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24,43,69,0) 55%, rgba(24,43,69,0.35) 100%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero-panel {
  background: var(--surface);
  border-left: 4px solid var(--gold);
  padding: 32px 36px;
  max-width: 640px;
  box-shadow: 0 12px 32px rgba(24,43,69,0.16);
}
.hero .kicker { color: var(--gold); font-size: 0.95rem; margin-bottom: 8px; display: block; font-weight: 500; }
.hero h1 { margin-bottom: 0.35em; }
.hero p.lead { margin-bottom: 0; }

/* Sections */
section { padding: 80px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: none; }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split img { width: 100%; border-radius: 3px; display: block; box-shadow: 0 8px 24px rgba(24,43,69,0.10); }

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse { direction: ltr; }
}

.services-list {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 40px;
}
.services-list li {
  padding: 10px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); font-size: 1rem;
}
@media (max-width: 600px) { .services-list { grid-template-columns: 1fr; } }

.cta-inline {
  display: inline-block; margin-top: 24px;
  padding: 14px 28px; background: var(--gold); color: #fff;
  font-weight: 600; border-radius: 3px;
}
.cta-inline:hover { background: var(--ink); color: #fff; text-decoration: none; }

.gallery-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.gallery-strip img {
  width: 100%; height: 220px; object-fit: cover; border-radius: 3px;
  box-shadow: 0 6px 18px rgba(24,43,69,0.10);
}
@media (max-width: 700px) { .gallery-strip { grid-template-columns: 1fr 1fr; } }

footer.site {
  padding: 44px 0; background: #f2ede3; border-top: 1px solid var(--line);
  color: var(--ink-soft); font-size: 0.9rem;
}
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer.site a { color: var(--ink-soft); }
footer.site a:hover { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
