:root {
  --bg: #ffffff;
  --ink: #0b0b0b;
  --muted: #5a5a5a;
  --rule: #e7e7e7;
  --soft: #fafafa;

  --container: 1180px;
  --radius: 12px;

  --hero-h: clamp(320px, 40vw, 520px);

  /* Gallery tile ratio (locked) */
  --tile-ratio: 2 / 3;

  --shadow: 0 18px 56px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  line-height: 1.6;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Header / Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--rule);
}

.header__inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brandText {
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 18px;
}

.nav {
  display: flex;
  gap: 22px;
}
.nav a {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.82);
}
.nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.menuBtn {
  display: none;
  border: 1px solid var(--rule);
  background: transparent;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

/* Mobile nav */
.mobileNav {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: #fff;
}
.mobileNav__inner {
  padding: 14px 0;
  display: grid;
  gap: 10px;
}
.mobileNav__inner a {
  font-size: 15px;
}
.mobileNav__meta {
  display: flex;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  color: rgba(0, 0, 0, 0.72);
  font-size: 14px;
}

.hero__copy {
  padding-bottom: 18px;
}

.eyebrow {
  margin: 44px 0 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.62);
}

.hero__title {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-size: clamp(34px, 4.2vw, 54px);
}

.hero__lede {
  margin: 14px 0 0;
  max-width: 72ch;
  color: var(--muted);
  font-size: 17px;
}

.hero__cta {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(0, 0, 0, 0.78);
  font-size: 14px;
}

.linkStrong {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.sep {
  color: rgba(0, 0, 0, 0.35);
}

.heroBanner {
  margin: 0;
  width: 100%;
  height: var(--hero-h);
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: #f5f5f5;
  position: relative;
}

.heroBanner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* darken slightly so overlay reads */
.heroBanner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.1));
  pointer-events: none;
}

.heroBanner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;

  /* raise both text + button */
  padding: 0 18px 72px;
  gap: 14px;
  text-align: center;
}

.heroBanner__overlayText {
  font-size: 22px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

/* Wider, sans-serif button on hero */
.heroBanner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 180px; /* wider */
  height: 44px;

  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.65);

  background: rgba(10, 10, 10, 0.75);
  color: #fff;

  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif; /* sans */
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;

  text-decoration: none;
  backdrop-filter: blur(6px);
}

.heroBanner__btn:hover {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(10, 10, 10, 0.82);
  text-decoration: none;
}

/* Sections */
.section {
  padding: 76px 0;
}

.section--rule {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--soft);
}

.sectionHead {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.sectionTitle {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.sectionDesc {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 82ch;
}

.body {
  margin: 0 0 14px;
  color: rgba(0, 0, 0, 0.8);
  font-size: 16px;
  max-width: 78ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid rgba(0, 0, 0, 0.28);
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  text-decoration: none;
  border-color: rgba(0, 0, 0, 0.55);
}

.btn--primary {
  background: #111;
  color: #fff;
  border-color: #111;
}
.btn--primary:hover {
  filter: brightness(1.05);
}

.btn--ghost {
  background: transparent;
}

/* Category cards */
.categoryGrid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
  margin-top: 18px;
}

.categoryCard {
  grid-column: span 4;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.categoryImg {
  height: 280px;
  overflow: hidden;
  background: #f1f1f1;
}
.categoryImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.categoryBody {
  padding: 16px 16px 18px;
  display: grid;
  gap: 10px;
}

.categoryTitle {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 20px;
}

.categoryDesc {
  margin: 0;
  color: rgba(0, 0, 0, 0.7);
  font-size: 14px;
  line-height: 1.55;
  border-left: 2px solid rgba(0, 0, 0, 0.12);
  padding-left: 10px;
}

/* Gallery View */
.galleryView {
  margin-top: 18px;
  border-top: 1px solid var(--rule);
  padding-top: 18px;
}

.galleryTop {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 14px;
}

.galleryEyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
}

.galleryTitle {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 22px;
}

.workgrid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.tile {
  grid-column: span 4;
  aspect-ratio: var(--tile-ratio);
  overflow: hidden;
  border-radius: var(--radius);
  background: #f3f3f3;
  border: 1px solid var(--rule);
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.galleryBottom {
  display: flex;
  justify-content: center;
  padding-top: 18px;
}

/* About layout w/ image */
.aboutSplit {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 34px;
  align-items: start;
}

.aboutImgWrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--rule);
  background: #fff;
  box-shadow: var(--shadow);
}
.aboutImgWrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Meta grid */
.metaGrid {
  margin-top: 16px;
  border-top: 1px solid var(--rule);
}
.metaRow {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
.metaKey {
  color: rgba(0, 0, 0, 0.62);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.metaVal {
  color: rgba(0, 0, 0, 0.82);
  font-size: 14px;
}

.testimonials {
  position: relative;
  padding: 92px 0;

  /* Parallax feel */
  background-image: url("../../img/testimonials.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

/* dark overlay so it sits “behind” content */
.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.testimonials__inner {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.92);
}

.testimonials__eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.tCard {
  grid-column: span 4;
  margin: 0;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(10, 10, 10, 0.35);
  backdrop-filter: blur(6px);
  padding: 18px 18px 16px;

  display: flex; /* key change */
  flex-direction: column; /* stack vertically */
}

.tQuote {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: 18px;
  line-height: 1.55;
}

.tMeta {
  margin-top: auto; /* THIS locks it to bottom */
  padding-top: 14px;

  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 980px) {
  .tCard {
    grid-column: span 12;
  }
}

/* mobile safari doesn’t love background-attachment: fixed */
@media (max-width: 720px) {
  .testimonials {
    background-attachment: scroll;
  }
}

/* Contact */
.contactCentered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

/* Constrain width so it doesn’t feel stretched */
.contactCentered > div {
  width: 100%;
  max-width: 820px;
}

/* Center the intro text block */
.contactCentered > div:first-child {
  max-width: 600px;
}
.contactInfo {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.contactRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;

  padding: 14px 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  background: #fff;

  text-decoration: none;
}

.contactRow:hover {
  border-color: rgba(0, 0, 0, 0.24);
}

.contactRow[data-copy] {
  cursor: pointer;
}

.contactRow[data-copy]:active {
  transform: translateY(1px);
}

.contactLabel {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}

.contactValue {
  font-weight: 600;
  color: rgba(0, 0, 0, 0.82);
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contactValue--link {
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
}

.copyToast {
  margin: 8px 0 0;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.62);
  text-align: center;
}
.formFallback {
  margin: 12px 0 0;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.62);
  text-align: center;
}
.formFallback a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.formEmbedWrap {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.formEmbedWrap iframe {
  width: 100%;
  height: 720px;
  border: 0;
  display: block;
}

.finePrint {
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.55);
}

/* Footer */
.footer {
  border-top: 1px solid var(--rule);
  padding: 26px 0;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.72);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* Responsive */
@media (max-width: 980px) {
  .categoryCard {
    grid-column: span 12;
  }
  .tile {
    grid-column: span 6;
  }
  .aboutSplit {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .galleryTop {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }
  .menuBtn {
    display: inline-flex;
  }
  .tile {
    grid-column: span 12;
  }
  .categoryImg {
    height: 240px;
  }
}
