@font-face {
  font-family: "Esteban";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://media.consumein.com/clients/manthelcarpenter-com/media/originals/14431e8db063f616-esteban-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Esteban";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://media.consumein.com/clients/manthelcarpenter-com/media/originals/348d5d1cafe6e1b7-esteban-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF;
}

@font-face {
  font-family: "Epilogue";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("https://media.consumein.com/clients/manthelcarpenter-com/media/originals/1e161eac1dc51f5b-epilogue-normal-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Epilogue";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("https://media.consumein.com/clients/manthelcarpenter-com/media/originals/cecc7397fe71b50b-epilogue-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF;
}

@font-face {
  font-family: "Epilogue";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("https://media.consumein.com/clients/manthelcarpenter-com/media/originals/e97c4a6834916323-epilogue-italic-latin.woff2") format("woff2");
}

:root {
  --font-display: "Esteban", "Roboto Slab", Georgia, serif;
  --font-highlight: "Epilogue", Arial, sans-serif;
  --font-body: "Epilogue", Arial, sans-serif;
  --bg: #f3f3e3;
  --ink: #243126;
  --muted: #667066;
  --green: #3c4d3f;
  --green-dark: #27352b;
  --cream: #fffaf0;
  --gold: #d6ad55;
  --line: rgba(60, 77, 63, 0.22);
  --shadow: 0 22px 55px rgba(36, 49, 38, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  --header-height: 132px;
  --header-pad-y: 0px;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-height);
  padding: var(--header-pad-y) clamp(18px, 5vw, 84px);
  background: var(--bg);
  color: var(--green-dark);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: calc(var(--header-height) - (var(--header-pad-y) * 2));
  height: calc(var(--header-height) - (var(--header-pad-y) * 2));
  object-fit: contain;
}

.language-switcher {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-switcher a {
  min-width: 84px;
  padding: 9px 14px;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.language-switcher .active {
  background: var(--green);
  color: #fff;
}

.section-pad {
  padding: clamp(56px, 8vw, 132px) clamp(18px, 5vw, 84px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  padding-top: clamp(24px, 3.5vw, 60px);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  font-family: var(--font-highlight);
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--green-dark);
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(50px, 7vw, 112px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -3px;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(36px, 5vw, 70px);
}

h3 {
  font-family: var(--font-highlight);
  margin-bottom: 10px;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -1px;
}

p,
li,
label,
input,
select,
textarea {
  font-family: var(--font-body);
  font-weight: 300;
}

.lead {
  color: var(--green-dark);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 14px 24px;
  border: 0;
  border-radius: 0;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  background: var(--green-dark);
}

.hero-button {
  border: 1px solid var(--green);
  border-radius: 50px;
  background: transparent;
  color: var(--green);
  font-weight: 400;
  text-transform: capitalize;
}

.hero-button:hover,
.hero-button:focus-visible {
  background: var(--green);
  color: var(--cream);
}

.hero-media,
.slideshow {
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 58vw, 820px);
  background: #d7d7c7;
  box-shadow: var(--shadow);
}

.carousel,
.slideshow {
  isolation: isolate;
}

.carousel img,
.slideshow img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 600ms ease;
}

.carousel img.active,
.slideshow img.active {
  opacity: 1;
}

.carousel-dots {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.carousel-dots button.active {
  background: var(--gold);
}

.section-heading {
  max-width: 850px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.services {
  background: var(--green);
  color: #fff;
}

.services .section-heading {
  max-width: none;
}

.services h2,
.services h3 {
  color: #fff;
}

.services h2 {
  max-width: 1180px;
  text-wrap: balance;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  background: rgba(255, 255, 255, 0.28);
}

.service-grid article {
  min-height: 280px;
  padding: clamp(24px, 3vw, 42px);
  background: var(--green);
}

.service-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  color: #fff;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.service-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 300;
}

.mission,
.difference,
.consultation,
.contact-strip {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: center;
}

.mission {
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 570px;
}

.mission .slideshow {
  min-height: 570px;
  box-shadow: none;
}

.mission-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 6vw, 96px);
  background: #fff;
}

.mission-copy h2 {
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.2;
}

.mission-copy h2 + p {
  margin-bottom: 42px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}

.gallery-wrap {
  position: relative;
}

.gallery-arrow {
  display: none;
  padding: 0;
  border: 0;
  cursor: pointer;
}

.gallery button {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.gallery img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  max-width: none;
  transform: translate(-50%, -50%);
}

.difference {
  background: var(--cream);
}

.difference-copy article {
  border-top: 1px solid var(--line);
  padding: 28px 0 6px;
}

.difference-image-card {
  position: relative;
  width: 100%;
  height: min(82vh, 850px);
  overflow: hidden;
}

.difference-image-card img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  max-width: none;
  transform: translate(-50%, -50%);
}

[data-manual-cover] img[data-cover-axis="width"] {
  width: 100%;
  height: auto;
}

[data-manual-cover] img[data-cover-axis="height"] {
  width: auto;
  height: 100%;
}

.consultation {
  align-items: start;
  background: #fff;
  gap: 0;
}

.consultation .section-heading,
.contact-form {
  border-top: 1px solid #1b1b1b;
}

.consultation .section-heading {
  padding-top: clamp(34px, 6vw, 92px);
  padding-right: clamp(24px, 5vw, 72px);
}

.consultation .section-heading h2 {
  font-size: clamp(42px, 4.4vw, 50px);
  line-height: 1;
  letter-spacing: -3px;
}

.consultation .section-heading p:not(.eyebrow) {
  max-width: 380px;
  color: var(--green);
  font-size: 16px;
  font-weight: 300;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 35px 50px;
  padding: clamp(34px, 5vw, 76px) 0 clamp(34px, 5vw, 76px) clamp(24px, 5vw, 72px);
  background: #fff;
}

.contact-form label {
  display: grid;
  gap: 10px;
  color: #1b1b1b;
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
  text-transform: capitalize;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-bottom: 1px solid #1b1b1b;
  border-radius: 0;
  background: transparent;
  color: #595853;
  font: inherit;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  padding: 8px 0 12px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-bottom-color: var(--green);
}

.contact-form textarea {
  resize: vertical;
}

.wide,
.form-note {
  grid-column: 1 / -1;
}

.wide-button {
  justify-self: end;
  width: min(50%, 280px);
  min-height: 52px;
  margin-top: 0;
  border: 1px solid #1b1b1b;
  border-radius: 50px;
  background: transparent;
  color: #1b1b1b;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.1;
  text-transform: capitalize;
}

.wide-button:hover,
.wide-button:focus-visible {
  background: #1b1b1b;
  color: var(--cream);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-strip {
  position: relative;
  grid-template-columns: 46.022% 46.022%;
  gap: 0;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  color: var(--green);
}

.contact-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 3%;
  right: 3%;
  border-top: 1px solid var(--ink);
}

.contact-strip.section-pad {
  padding: clamp(28px, 4vw, 64px) 3%;
}

.contact-logo {
  display: grid;
  place-items: center start;
}

.contact-logo img {
  width: min(300px, 100%);
}

.contact-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.contact-strip ul {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 300;
  line-height: 1.45;
}

.contact-strip li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-strip strong {
  font-weight: 300;
}

.contact-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  color: var(--green);
}

.contact-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.site-footer {
  min-height: 104px;
  display: grid;
  place-items: center;
  background: var(--green);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.site-footer img {
  width: min(286px, 70vw);
}

.site-footer a {
  display: inline-block;
}

.lightbox {
  width: min(1100px, 94vw);
  padding: 0;
  border: 0;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.78);
}

.lightbox img {
  max-height: 86vh;
  margin: auto;
  object-fit: contain;
}

.lightbox button {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2;
  border: 0;
  background: #fff;
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .hero,
  .mission,
  .difference,
  .consultation,
  .contact-strip {
    grid-template-columns: 1fr;
  }

  .mission {
    gap: 0;
  }

  .hero-media,
  .slideshow {
    min-height: 520px;
  }

  .contact-logo,
  .contact-list {
    width: 100%;
  }

  .contact-list {
    justify-content: flex-start;
    padding-top: 28px;
  }

  .service-grid,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .difference-image-card {
    height: 560px;
  }
}

@media (max-width: 720px) {
  .site-header {
    --header-height: 96px;
    --header-pad-y: 0px;
    min-height: 88px;
    padding-inline: 16px;
  }

  .brand span {
    display: none;
  }

  .language-switcher a {
    min-width: 74px;
    padding-inline: 10px;
  }

  .section-pad {
    padding: 54px 18px;
  }

  .hero {
    gap: 40px;
  }

  .hero-media,
  .slideshow {
    min-height: 360px;
  }

  .mission .slideshow {
    min-height: 300px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: auto;
  }

  .gallery {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    margin-inline: -18px;
    padding-inline: 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 18px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-wrap {
    margin-top: 42px;
  }

  .gallery-wrap .gallery {
    margin-top: 0;
  }

  .gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 50%;
    background: rgba(60, 77, 63, 0.78);
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    line-height: 1;
    pointer-events: auto;
    transform: translateY(-50%);
    box-shadow: 0 8px 24px rgba(30, 38, 31, 0.2);
  }

  .gallery-arrow:active {
    transform: translateY(-50%) scale(0.96);
  }

  .gallery-arrow-left {
    left: 8px;
  }

  .gallery-arrow-right {
    right: 8px;
  }

  .gallery::-webkit-scrollbar {
    display: none;
  }

  .gallery button {
    flex: 0 0 min(82vw, 340px);
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .lightbox {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    margin: 0;
    background: #000;
  }

  .lightbox img {
    width: 100vw;
    height: 100vh;
    max-height: none;
    object-fit: contain;
  }

  .lightbox button {
    top: 14px;
    right: 14px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .contact-strip.section-pad {
    padding: 36px 5%;
  }

  .contact-strip::before {
    left: 5%;
    right: 5%;
  }

  .contact-logo {
    place-items: start center;
  }

  .contact-list {
    padding-bottom: 50px;
  }

  .contact-strip ul {
    font-size: 15px;
  }

  .wide-button {
    width: 100%;
    justify-self: stretch;
  }
}