:root {
  --black: #080808;
  --white: #ffffff;
  --ink: #1b1b1b;
  --muted: #6e6e6e;
  --line: #dedede;
  --soft: #f4f4f4;
  --placeholder: #cfcfcf;
  --page-gutter: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

main {
  padding-inline: var(--page-gutter);
  overflow: hidden;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-areas: "content media";
  grid-template-columns: minmax(460px, 0.88fr) minmax(400px, 0.72fr);
  gap: 56px;
  width: 100%;
  max-width: 1180px;
  min-height: 650px;
  margin: 0 auto 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  grid-area: content;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 0 60px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--black);
  font-size: 156px;
  line-height: 0.8;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-title__indent {
  display: inline-block;
  margin-left: 56px;
}

.hero__intro {
  width: 390px;
  margin-bottom: 34px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.45;
}

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

.contact-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px 0 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--black);
}

.icon svg {
  display: block;
  width: 20px;
  height: 20px;
  border: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__media {
  position: relative;
  grid-area: media;
  min-width: 0;
  display: flex;
  align-items: stretch;
  padding: 28px 0 0;
}

.hero__image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;

  object-fit: contain;
}

.gallery {
  padding: 98px 0 112px;
  background: var(--white);
  color: var(--black);
}

.gallery__header {
  display: grid;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto 58px;
}

.ranch-life__kicker {
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.gallery h2 {
  max-width: 760px;
  scroll-margin-top: 32px;
  margin-bottom: 0;
  color: var(--black);
  font-size: 84px;
  line-height: 0.9;
  font-weight: 260;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ranch-accordion {
  max-width: 1180px;
  margin: 0 auto;
}

.ranch-service {
  border-bottom: 1px solid var(--line);
}


.ranch-service__trigger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: start;
  gap: 34px;
  padding: 28px 0;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
  transition: color 180ms ease;
}

.ranch-service__trigger::-webkit-details-marker {
  display: none;
}

.ranch-service__title {
  min-width: 0;
  color: currentColor;
  font-size: 74px;
  line-height: 0.9;
  font-weight: 450;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.ranch-service__pointer {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: currentColor;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 22px;
  line-height: 1;
  font-weight: 300;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.ranch-service__trigger:hover,
.ranch-service[open] .ranch-service__trigger {
  color: var(--black);
}

.ranch-service__trigger:hover .ranch-service__title {
  transform: translateX(8px);
}

.ranch-service__trigger:hover .ranch-service__pointer {
  border: 1px solid var(--black);
  transform: translate(5px, -5px);
}

.ranch-service[open] .ranch-service__pointer {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
  transform: translate(5px, -5px);
}

.ranch-service__panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 40px;
  align-items: end;
  padding: 0 0 38px;
  animation: panel-reveal 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ranch-service__panel p {
  max-width: 420px;
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
}

.ranch-service[open] .ranch-service__panel p,
.ranch-service[open] .ranch-service__media {
  animation: panel-content-reveal 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ranch-service[open] .ranch-service__media {
  animation-delay: 70ms;
}

.ranch-service__media {
  display: flex;
  width: min(100%, 640px);
  max-width: 640px;
  margin-left: auto;
  justify-self: end;
  gap: 14px;
  padding-bottom: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding: 2px;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--black) var(--line);
  scrollbar-width: thin;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

.ranch-service__media::-webkit-scrollbar {
  display: block;
  height: 6px;
}

.ranch-service__media::-webkit-scrollbar-track {
  background: var(--line);
}

.ranch-service__media::-webkit-scrollbar-thumb {
  background: var(--black);
  border-radius: 999px;
}

.ranch-service__media.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}

.ranch-service__image {
  position: relative;
  display: block;
  flex: 0 0 min(270px, 42%);
  scroll-snap-align: start;
  height: 150px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--soft);
  color: inherit;
  cursor: zoom-in;
}

.ranch-service__media--pair .ranch-service__image {
  flex-basis: min(270px, 42%);
}

.ranch-service__media--pair {
  justify-content: flex-end;
}

.ranch-service__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 360ms ease, filter 360ms ease;
}

.ranch-service__image:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}

.ranch-service__image:hover img,
.ranch-service__image:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.06);
}

.about-section {
  padding: 92px 0 104px;
  color: var(--black);
}

.about-section__inner {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: center;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.about-section__media {
  flex: 1 1 780px;
  max-width: 780px;
  width: 100%;
  aspect-ratio: 0.9;
  margin: 0;
  overflow: hidden;
  position: relative;
  transform: translateX(-36px);
}

.about-section__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.about-section__source {
  transition: opacity 120ms ease;
}

.about-section__media.is-sliced .about-section__source {
  opacity: 0;
}

.about-section__slice {
  --slice-back: 0%;
  --slice-front: 0%;
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  pointer-events: none;
  clip-path: polygon(
    0 var(--slice-top),
    var(--slice-front) var(--slice-top),
    var(--slice-back) var(--slice-bottom),
    0 var(--slice-bottom)
  );
  will-change: clip-path;
}

.about-section__slice--one {
  --slice-top: 0%;
  --slice-bottom: 20%;
}

.about-section__slice--two {
  --slice-top: 20%;
  --slice-bottom: 50%;
}

.about-section__slice--three {
  --slice-top: 50%;
  --slice-bottom: 70%;
}

.about-section__slice--four {
  --slice-top: 70%;
  --slice-bottom: 88%;
}

.about-section__slice--five {
  --slice-top: 88%;
  --slice-bottom: 100%;
}

.about-section__content {
  display: grid;
  flex: 0 0 390px;
  gap: 20px;
  max-width: 390px;
  margin-left: -40px;
}

.about-section h2 {
  max-width: 378px;
  margin: 0;
  color: var(--black);
  font-size: 50px;
  line-height: 0.98;
  font-weight: 760;
  letter-spacing: 0;
}

.about-section h2 span {
  display: block;
  white-space: nowrap;
}

.about-section__title-indent {
  padding-left: 22px;
}

.about-section__copy {
  max-width: 366px;
  margin: 0;
  padding-left: 24px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
}

.contact-section {
  padding: 76px 0 64px;
  background: var(--white);
  color: var(--black);
}

.contact-section__header,
.contact-section__details {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
}

.contact-section__header {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: start;
  margin-bottom: 56px;
}

.contact-section h2 {
  min-width: 0;
  margin: 0;
  color: var(--black);
  font-size: 42px;
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0;
}

.contact-section h2 a,
.contact-section__phone {
  overflow-wrap: anywhere;
}

.contact-section__phone {
  color: var(--black);
  font-size: 42px;
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0;
  justify-self: end;
  white-space: nowrap;
}

.contact-section__details {
  grid-template-columns: minmax(160px, 0.58fr) minmax(190px, 0.54fr) minmax(260px, 0.88fr);
  gap: 42px;
  align-items: end;
}

.contact-section__meta p,
.contact-section__actions p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}

.contact-section__actions {
  display: grid;
  justify-items: end;
  gap: 42px;
  text-align: right;
}

.contact-section__actions p a {
  display: inline-block;
  margin-left: 12px;
  border-bottom: 1px solid currentColor;
}

.contact-section__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: var(--black);
}

.contact-section__links a {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--black);
}

.contact-section__links svg {
  display: block;
  width: 26px;
  height: 26px;
}

.contact-section__links a:first-child svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-section__links a:last-child svg {
  fill: currentColor;
}

.image-lightbox {
  --lightbox-gutter: 36px;
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(8, 8, 8, 0.94);
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox__image {
  display: block;
  width: calc(100vw - var(--lightbox-gutter));
  height: calc(100vh - var(--lightbox-gutter));
  max-width: none;
  max-height: none;
  object-fit: contain;
  background: transparent;
}

.image-lightbox__close {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

body.is-lightbox-open {
  overflow: hidden;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 780ms cubic-bezier(0.22, 1, 0.36, 1) 90ms,
    transform 780ms cubic-bezier(0.22, 1, 0.36, 1) 90ms;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1) 140ms,
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1) 140ms;
}

.ranch-life.is-visible [data-reveal] {
  opacity: 1;
  transform: translateY(0);
}

@keyframes panel-reveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panel-content-reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ranch-service__panel {
    animation: none;
  }

  .ranch-service[open] .ranch-service__panel p,
  .ranch-service[open] .ranch-service__media {
    animation: none;
  }

  .about-section__slice {
    display: none;
  }

  .about-section__media.is-sliced .about-section__source {
    opacity: 1;
  }

  .ranch-service__title,
  .ranch-service__pointer,
  .ranch-service__image img {
    transition: none;
  }
}

@media (max-width: 1180px) {
  :root {
    --page-gutter: 38px;
  }

  .hero {
    grid-template-columns: minmax(400px, 0.9fr) minmax(340px, 0.76fr);
    gap: 44px;
    max-width: none;
    margin-top: 24px;
  }

  .about-section__inner {
    gap: 42px;
  }

  .about-section h2 {
    font-size: 38px;
  }

  .about-section__title-indent {
    padding-left: 18px;
  }

  .contact-section__header {
    gap: 32px;
  }

  .contact-section h2,
  .contact-section__phone {
    font-size: 38px;
  }

  .gallery h2 {
    font-size: 72px;
  }

  .ranch-service__title {
    font-size: 64px;
  }
}

@media (max-width: 900px) {
  :root {
    --page-gutter: 28px;
  }

  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.78fr);
    grid-template-areas: "content media";
    align-items: center;
    grid-auto-flow: column;
    min-height: auto;
    margin-top: 0;
    gap: 24px;
    padding: 0;
  }

  .hero__content {
    padding: 52px 0 52px;
  }

  h1 {
    font-size: 76px;
  }

  .hero__intro {
    width: 100%;
    max-width: 330px;
  }

  .hero__media {
    align-items: center;
    padding: 34px 0 42px;
  }

  .hero__image {
    height: auto;
    min-height: 0;
    max-height: 460px;
  }

  .gallery {
    padding: 78px 0 92px;
  }

  .about-section {
    padding: 78px 0 84px;
  }

  .about-section__inner {
    gap: 28px;
  }

  .about-section__media {
    flex: 1 1 54%;
    max-width: 54%;
    width: auto;
    transform: none;
  }

  .about-section__content {
    flex: 0 1 40%;
    width: auto;
    max-width: 40%;
    margin-left: 0;
  }

  .about-section h2 {
    font-size: 34px;
  }

  .about-section__title-indent {
    padding-left: 14px;
  }

  .contact-section {
    padding: 68px 0 54px;
  }

  .contact-section__header {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 54px;
  }

  .contact-section h2,
  .contact-section__phone {
    font-size: 38px;
  }

  .contact-section__phone {
    justify-self: start;
    white-space: normal;
  }

  .contact-section__details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 28px;
  }

  .contact-section__actions {
    grid-column: 1 / -1;
    justify-items: start;
    text-align: left;
  }

  .contact-section__links {
    justify-content: flex-start;
  }

  .gallery__header {
    margin-bottom: 52px;
  }

  .gallery h2 {
    font-size: 58px;
  }

  .ranch-service__trigger {
    grid-template-columns: minmax(0, 1fr) 46px;
    gap: 24px;
    padding: 28px 0;
  }

  .ranch-service__title {
    font-size: 48px;
  }

  .ranch-service__pointer {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .ranch-service__panel {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
  }

  .ranch-service__panel p {
    max-width: 320px;
  }

  .ranch-service__media {
    width: 100%;
    max-width: 100%;
    gap: 12px;
  }

  .ranch-service__image {
    flex-basis: 44%;
  }

  .ranch-service__media--pair .ranch-service__image {
    flex-basis: 44%;
  }
}

@media (max-width: 620px) {
  :root {
    --page-gutter: 20px;
  }

  .hero__content {
    padding: 38px 0 38px;
  }

  .hero {
    grid-template-columns: minmax(0, 0.98fr) minmax(112px, 0.72fr);
    gap: 16px;
    align-items: start;
  }

  h1 {
    font-size: 52px;
    line-height: 0.86;
  }

  .hero-title__indent {
    margin-left: 20px;
  }

  .hero__intro {
    max-width: 230px;
    font-size: 15px;
  }

  .contact-strip__item {
    width: 100%;
  }

  .hero__media {
    padding: 26px 0 34px;
  }

  .hero__image {
    height: auto;
    min-height: 0;
    max-height: 330px;
  }

  .gallery {
    padding: 58px 0 72px;
  }

  .about-section {
    padding: 56px 0 64px;
  }

  .about-section__media {
    flex-basis: 48%;
    max-width: 48%;
    width: auto;
  }

  .about-section h2 {
    font-size: 28px;
    line-height: 1;
  }

  .about-section__title-indent {
    padding-left: 10px;
  }

  .about-section__copy {
    max-width: none;
    padding-left: 12px;
    font-size: 14px;
    line-height: 1.5;
  }

  .contact-section {
    padding: 54px 0 44px;
  }

  .contact-section__header {
    margin-bottom: 42px;
  }

  .contact-section h2,
  .contact-section__phone {
    font-size: 28px;
    line-height: 1;
  }

  .contact-section__details {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-section__meta p,
  .contact-section__actions p {
    font-size: 15px;
  }

  .contact-section__actions {
    gap: 34px;
  }

  .contact-section__actions p a {
    display: table;
    margin: 8px 0 0;
  }

  .contact-section__links {
    justify-content: flex-start;
    gap: 22px;
  }

  .ranch-life__kicker {
    width: 100%;
  }

  .gallery h2 {
    font-size: 36px;
    line-height: 0.95;
  }

  .ranch-service__trigger {
    grid-template-columns: minmax(0, 1fr) 38px;
    gap: 18px;
  }

  .ranch-service__title {
    font-size: 30px;
    line-height: 1;
  }

  .ranch-service__pointer {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .ranch-service__panel {
    padding-bottom: 34px;
  }

  .ranch-service__panel p {
    font-size: 14px;
  }

  .ranch-service__media {
    gap: 10px;
    padding-bottom: 10px;
  }

  .ranch-service__image {
    flex-basis: 84%;
    height: 118px;
  }

  .ranch-service__media--pair .ranch-service__image {
    flex-basis: 84%;
  }

  .image-lightbox {
    --lightbox-gutter: 24px;
    padding: 12px;
  }

  .image-lightbox__close {
    top: 14px;
    right: 14px;
  }
}

@media (max-width: 420px) {
  :root {
    --page-gutter: 16px;
  }

  .hero__content {
    padding-top: 30px;
  }

  .hero {
    grid-template-columns: minmax(0, 0.96fr) minmax(104px, 0.68fr);
    gap: 10px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-title__indent {
    margin-left: 14px;
  }

  .hero__intro {
    max-width: 190px;
    font-size: 13px;
    line-height: 1.42;
  }

  .contact-strip {
    gap: 10px;
  }

  .contact-strip__item {
    min-height: 44px;
    font-size: 13px;
  }

  .hero__image {
    max-height: 260px;
  }

  .about-section h2 {
    font-size: 24px;
  }

  .about-section__title-indent {
    padding-left: 8px;
  }

  .about-section__copy {
    padding-left: 8px;
    font-size: 13px;
  }

  .contact-section h2,
  .contact-section__phone {
    font-size: 26px;
  }

  .ranch-service__trigger {
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 14px;
  }

  .ranch-service__title {
    font-size: 27px;
  }

  .ranch-service__pointer {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
}
