:root {
  --ink: #0a0a0a;
  --muted: #6b6b6b;
  --line: #e7e7e3;
  --bg: #ffffff;
  --maxw: 1180px;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "EB Garamond", Georgia, serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

/* ---------- Header ---------- */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 40px 20px 24px;
}
.logo img { width: 190px; height: auto; }
.site-nav {
  display: flex;
  gap: 34px;
  font-family: var(--display);
  font-size: 21px;
  letter-spacing: .02em;
}
.site-nav a {
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, opacity .2s ease;
}
.site-nav a:hover { border-color: var(--ink); }

/* ---------- Layout ---------- */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Dividers (one before every section, matching the original) ---------- */
.rule {
  border: 0;
  border-top: 1px solid var(--line);
  width: 100%;
  margin: 0;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 56px 0;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1.02;
  margin: 0 0 14px;
}
.tagline {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  letter-spacing: .04em;
  color: var(--muted);
  margin: 0 0 30px;
}
.bio {
  max-width: 640px;
  margin: 0 auto;
}
.bio p { margin: 0 0 6px; }

/* ---------- Section blocks ---------- */
.block { padding: 56px 0; }
.block h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-align: center;
  margin: 0 0 32px;
}

/* ---------- Highlighted ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;          /* each card wraps its image tightly — no white fill below the shorter one */
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}
.feature {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transform: translateZ(0);          /* stable compositing layer: no hover re-raster flash */
  backface-visibility: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature img { width: 100%; }
.feature:hover {
  transform: translate3d(0,-4px,0);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

/* ---------- Gallery (horizontal sliding carousel) ---------- */
.carousel { position: relative; padding: 0 56px; }   /* side gutters hold the arrows beside the cards */
.track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 6px 2px 16px;
  -ms-overflow-style: none;          /* hide scrollbar (Edge/IE) */
  scrollbar-width: none;             /* hide scrollbar (Firefox) */
  cursor: grab;
}
.track::-webkit-scrollbar { display: none; }  /* hide scrollbar (WebKit) */
.track.dragging { cursor: grabbing; }
.track.dragging a { pointer-events: none; }   /* a drag must not open a link */

.tile {
  flex: 0 0 300px;
  align-self: flex-start;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transform: translateZ(0);          /* stable compositing layer: no hover re-raster flash */
  backface-visibility: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.tile img { width: 100%; pointer-events: none; }
.tile:hover {
  transform: translate3d(0,-3px,0);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

/* hummingbird logo end-cap (last slide, matching the original) */
.tile-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: #fff;
}
.tile-logo img { width: auto; max-width: 78%; max-height: 240px; }

/* carousel arrows */
.car-btn {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  box-shadow: 0 2px 12px rgba(0,0,0,.14);
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  padding-bottom: 4px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s ease, background .2s ease;
}
.car-btn:hover { background: #fff; }
.car-prev { left: 0; }
.car-next { right: 0; }
.car-btn[hidden] { display: none; }

/* ---------- Contact ---------- */
.contact {
  text-align: center;
  padding: 80px 0 120px;
  max-width: 640px;
  margin: 0 auto;
}
.contact h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin: 0 0 24px;
}
.contact a { text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 48px 24px 60px;
  text-align: center;
}
.footer-name {
  display: inline-block;
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.footer-name:hover { border-color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 680px) {
  body { font-size: 18px; }
  .carousel { padding: 0 42px; }
  .track { gap: 14px; }
  .tile { flex-basis: 72vw; }
  .features { grid-template-columns: 1fr; gap: 20px; }
  .site-header { padding-top: 28px; }
  .car-btn { width: 36px; height: 36px; font-size: 22px; }
  .car-prev { left: 0; }
  .car-next { right: 0; }
}
