.home-main {
  padding-bottom: 24px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(360px, 1.16fr);
  align-items: center;
  gap: clamp(42px, 7vw, 110px);
  min-height: 670px;
  padding: 82px 0 112px;
}

.hero::before {
  position: absolute;
  top: 52px;
  left: -90px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(95, 125, 95, 0.35);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-title {
  max-width: 650px;
  margin-top: 22px;
  font-size: clamp(4.35rem, 8.8vw, 8.35rem);
  line-height: 0.83;
}

.hero-title em {
  display: block;
  padding-left: clamp(18px, 4vw, 68px);
  color: var(--apricot);
  font-style: italic;
  font-weight: 500;
}

.hero-lede {
  max-width: 405px;
  margin: 30px 0 28px;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-lede strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-signature {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 27px;
  color: var(--moss);
  font-family: var(--serif);
  font-size: 1.06rem;
  font-style: italic;
}

.hero-signature::before {
  display: inline-block;
  width: 42px;
  height: 1px;
  content: "";
  background: var(--apricot);
}

.hero-visual {
  position: relative;
  max-width: 560px;
  justify-self: end;
}

.hero-photo-frame {
  position: relative;
  padding: 14px 14px 52px;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: rotate(2.3deg);
}

.hero-photo-frame::before {
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(29, 56, 44, 0.16);
  content: "";
  pointer-events: none;
}

.hero-photo-frame img {
  width: 100%;
  aspect-ratio: 0.88;
  object-fit: cover;
  object-position: 52% center;
  filter: saturate(0.9) contrast(0.96);
}

.hero-caption {
  position: absolute;
  right: 26px;
  bottom: 17px;
  left: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--moss);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-caption span:last-child {
  color: var(--apricot);
}

.hero-badge {
  position: absolute;
  right: -47px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  padding: 20px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--deep);
  box-shadow: 0 12px 26px rgba(136, 91, 28, 0.18);
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-12deg);
}

.hero-badge::before,
.hero-badge::after {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
}

.hero-badge::before {
  top: 12px;
  left: 43px;
}

.hero-badge::after {
  right: 17px;
  bottom: 27px;
}

.hero-illustration {
  position: absolute;
  top: -49px;
  right: -59px;
  width: 105px;
  opacity: 0.9;
  transform: rotate(8deg);
}

.weather-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.9fr 1.3fr;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.weather-cell {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-height: 32px;
  padding-right: 18px;
  border-right: 1px solid var(--line);
}

.weather-cell:last-child {
  border-right: 0;
}

.weather-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.weather-value {
  color: var(--deep);
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
}

.weather-cell:last-child .weather-value {
  color: var(--apricot);
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 600;
}

.home-section {
  padding: 130px 0 12px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.65fr);
  align-items: end;
  gap: 30px;
  margin-bottom: 50px;
}

.section-heading h2 {
  max-width: 700px;
  margin: 11px 0 0;
  font-size: clamp(2.8rem, 5.4vw, 5.5rem);
  line-height: 0.91;
}

.section-heading h2 em {
  color: var(--moss);
  font-style: normal;
}

.section-heading > p {
  max-width: 310px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.96rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: start;
  gap: 22px;
}

.photo-card {
  position: relative;
  min-width: 0;
}

.photo-card:nth-child(1) {
  grid-column: span 5;
  margin-top: 52px;
}

.photo-card:nth-child(2) {
  grid-column: span 4;
}

.photo-card:nth-child(3) {
  grid-column: span 3;
  margin-top: 112px;
}

.photo-card-image {
  position: relative;
  overflow: hidden;
  background: var(--sage);
}

.photo-card:nth-child(1) .photo-card-image {
  aspect-ratio: 0.83;
}

.photo-card:nth-child(2) .photo-card-image {
  aspect-ratio: 0.93;
}

.photo-card:nth-child(3) .photo-card-image {
  aspect-ratio: 0.78;
}

.photo-card-image::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 250, 240, 0.42);
  content: "";
  pointer-events: none;
}

.photo-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88);
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 500ms ease;
}

.photo-card:nth-child(1) img {
  object-position: 40% center;
}

.photo-card:nth-child(2) img {
  object-position: 49% center;
}

.photo-card:nth-child(3) img {
  object-position: 52% center;
}

.photo-card:hover img {
  filter: saturate(1.05);
  transform: scale(1.045);
}

.photo-card-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-top: 15px;
  border-top: 1px solid var(--ink);
}

.photo-card-meta h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.photo-card-meta p {
  max-width: 170px;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
  text-align: right;
}

.photo-card-index {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--apricot);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.field-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: 52px;
  margin-top: 145px;
  padding: clamp(32px, 6vw, 78px);
  overflow: hidden;
  background: var(--deep);
  color: var(--paper);
}

.field-note-copy .section-label {
  color: var(--sun);
}

.field-note h2 {
  max-width: 600px;
  margin: 16px 0 20px;
  color: var(--paper);
  font-size: clamp(2.65rem, 5vw, 5rem);
  line-height: 0.92;
}

.field-note h2 em {
  color: var(--sun);
  font-style: italic;
}

.field-note p {
  max-width: 490px;
  margin: 0;
  color: rgba(255, 250, 240, 0.7);
  font-size: 0.97rem;
}

.field-note .text-link {
  margin-top: 27px;
  color: var(--paper);
}

.note-art {
  position: relative;
  min-height: 280px;
}

.note-art::before {
  position: absolute;
  top: 16%;
  left: 19%;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(239, 184, 79, 0.45);
  border-radius: 50%;
  content: "";
}

.note-art::after {
  position: absolute;
  right: 0;
  bottom: 2%;
  width: 115px;
  height: 1px;
  content: "";
  background: var(--apricot);
  box-shadow: -30px -10px 0 var(--apricot), -55px -20px 0 var(--apricot);
  transform: rotate(-15deg);
}

.note-art img {
  position: absolute;
  top: 4%;
  left: 22%;
  width: 240px;
  max-width: 60%;
}

.note-stamp {
  position: absolute;
  right: 2%;
  bottom: 19%;
  width: 104px;
  color: var(--sun);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(9deg);
}

.note-stamp::before {
  position: absolute;
  inset: -14px;
  border: 1px solid currentColor;
  border-radius: 48% 52% 46% 54%;
  content: "";
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  padding: 130px 0 80px;
}

.quick-link {
  display: flex;
  min-height: 215px;
  flex-direction: column;
  justify-content: space-between;
  padding: 27px 30px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.33);
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.quick-link:hover {
  border-color: var(--moss);
  background: var(--paper);
  transform: translateY(-4px);
}

.quick-link--green {
  background: var(--sky);
}

.quick-link-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.quick-link img {
  width: 52px;
  height: 52px;
}

.quick-link h3 {
  max-width: 280px;
  margin: 15px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.93;
}

.quick-link .text-link {
  align-self: flex-start;
}

@media (max-width: 980px) {
  .hero {
    gap: 44px;
    grid-template-columns: minmax(0, 0.9fr) minmax(310px, 1.1fr);
  }

  .hero-title {
    font-size: clamp(3.8rem, 8vw, 6.8rem);
  }

  .hero-badge {
    right: -24px;
  }
}

@media (max-width: 720px) {
  .hero {
    display: block;
    min-height: 0;
    padding: 70px 0 78px;
  }

  .hero-title {
    max-width: 530px;
    font-size: clamp(3.75rem, 17vw, 6.3rem);
  }

  .hero-lede {
    max-width: 480px;
  }

  .hero-visual {
    width: min(100% - 20px, 480px);
    margin: 64px auto 0;
  }

  .hero-badge {
    right: -4px;
    bottom: 8px;
  }

  .hero-illustration {
    right: -18px;
  }

  .weather-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 13px 0;
  }

  .weather-cell:nth-child(2) {
    border-right: 0;
  }

  .weather-cell:nth-child(3),
  .weather-cell:nth-child(4) {
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .home-section {
    padding-top: 95px;
  }

  .section-heading {
    display: block;
    margin-bottom: 35px;
  }

  .section-heading > p {
    margin-top: 22px;
  }

  .photo-grid {
    display: block;
  }

  .photo-card,
  .photo-card:nth-child(1),
  .photo-card:nth-child(2),
  .photo-card:nth-child(3) {
    margin: 0 0 48px;
  }

  .photo-card-image,
  .photo-card:nth-child(1) .photo-card-image,
  .photo-card:nth-child(2) .photo-card-image,
  .photo-card:nth-child(3) .photo-card-image {
    aspect-ratio: 1.32;
  }

  .photo-card-meta p {
    max-width: 200px;
  }

  .field-note {
    display: block;
    margin-top: 80px;
  }

  .note-art {
    min-height: 225px;
    margin-top: 34px;
  }

  .note-art img {
    left: 20%;
  }

  .quick-links {
    display: block;
    padding: 90px 0 52px;
  }

  .quick-link + .quick-link {
    margin-top: 15px;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 3.62rem;
  }

  .hero-badge {
    width: 102px;
    height: 102px;
    padding: 15px;
    font-size: 0.54rem;
  }

  .weather-cell {
    display: block;
  }

  .weather-value {
    display: block;
    margin-top: 3px;
  }
}
