.work-hero,
.work-detail,
.work-process,
.work-result,
.work-cta {
  --work-ink: #231f1e;
  --work-red: #74282f;
  --work-gold: #aa7738;
  --work-rule: rgba(170, 119, 56, .38);
}

.work-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(620px, 67svh);
  padding: clamp(92px, 11vw, 164px) max(7vw, calc((100vw - 1260px) / 2)) clamp(76px, 8vw, 116px);
  background:
    linear-gradient(90deg, rgba(255,254,250,.98) 0%, rgba(255,254,250,.93) 36%, rgba(255,254,250,.16) 72%),
    url("assets/selected-work-landscape.webp") center / cover no-repeat,
    #f7f0e4;
  border-top: 1px solid var(--work-rule);
}

.work-hero > * { position: relative; z-index: 1; }
.work-hero .kicker,
.work-detail .kicker,
.work-process .kicker {
  color: var(--work-gold);
}
.work-hero .kicker::before,
.work-process .kicker::before {
  content: "";
  display: inline-block;
  width: 38px;
  border-top: 1px solid currentColor;
  margin: 0 14px 5px 0;
}
.work-hero h2 {
  max-width: 680px;
  margin: 22px 0 18px;
  color: var(--work-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5.5vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .95;
}
.work-hero h2 em,
.work-copy h2 em,
.work-process aside em { color: var(--work-red); font-weight: 400; }
.work-hero > p:not(.kicker) { max-width: 570px; font-size: clamp(1rem, 1.45vw, 1.26rem); line-height: 1.45; }
.work-hero > span { display: block; margin-top: 42px; color: var(--work-gold); font-size: .69rem; font-weight: 700; letter-spacing: .18em; }

.work-detail {
  display: grid;
  grid-template-columns: minmax(250px, .9fr) minmax(480px, 1.35fr);
  gap: clamp(48px, 8vw, 128px);
  padding: clamp(70px, 9vw, 128px) max(7vw, calc((100vw - 1260px) / 2));
  background: #fffdf9;
}
.work-copy h2 { margin: 18px 0 22px; color: var(--work-ink); font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(2.25rem, 3.5vw, 4rem); letter-spacing: -.06em; line-height: .98; }
.work-copy > p:last-child { max-width: 470px; color: #514b45; line-height: 1.65; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--work-rule); border-left: 1px solid var(--work-rule); }
.work-grid article { min-height: 215px; padding: clamp(24px, 3vw, 42px); border-right: 1px solid var(--work-rule); border-bottom: 1px solid var(--work-rule); }
.work-grid span { color: var(--work-gold); font-size: .72rem; font-weight: 700; letter-spacing: .16em; }
.work-grid h3 { margin: 32px 0 10px; color: var(--work-ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.2rem, 1.8vw, 1.55rem); font-weight: 400; line-height: 1.05; }
.work-grid p { margin: 0; color: #615a53; font-size: .95rem; line-height: 1.55; }

.work-process { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .27fr); gap: clamp(40px, 8vw, 130px); padding: clamp(64px, 8vw, 104px) max(7vw, calc((100vw - 1260px) / 2)); border-top: 1px solid var(--work-rule); background: linear-gradient(135deg, #f8f1e5, #fffefb 48%, #f4e9d7); }
.work-process ol { display: grid; grid-template-columns: repeat(5, minmax(90px, 1fr)); list-style: none; padding: 36px 0 0; margin: 0; }
.work-process li { position: relative; padding: 0 22px 0 0; }
.work-process li:not(:last-child)::after { content: ""; position: absolute; top: 26px; left: 66px; right: 14px; border-top: 1px solid var(--work-gold); }
.work-process li:not(:last-child)::before { content: ""; position: absolute; top: 22px; right: 14px; width: 8px; height: 8px; border-top: 1px solid var(--work-gold); border-right: 1px solid var(--work-gold); transform: rotate(45deg); }
.work-process li span { display: grid; place-items: center; width: 52px; aspect-ratio: 1; border: 1px solid var(--work-gold); border-radius: 50%; color: var(--work-gold); font-family: Georgia, serif; font-size: .8rem; }
.work-process li strong { display: block; margin-top: 18px; color: var(--work-ink); font-family: Georgia, serif; font-size: 1.08rem; font-weight: 400; }
.work-process li small { display: block; max-width: 125px; margin-top: 8px; color: #70665d; font-size: .76rem; line-height: 1.45; }
.work-process aside { align-self: end; border-left: 1px solid var(--work-rule); padding: 2px 0 2px 30px; }
.work-process aside p { margin: 0 0 24px; color: var(--work-gold); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.75rem, 2.5vw, 2.5rem); letter-spacing: -.055em; line-height: .98; }
.work-process aside span { color: var(--work-gold); font-size: .67rem; font-weight: 700; letter-spacing: .14em; line-height: 1.55; }

.work-result { display: grid; grid-template-columns: minmax(300px, .85fr) minmax(420px, 1.15fr); gap: clamp(48px, 10vw, 160px); padding: clamp(56px, 7vw, 94px) max(7vw, calc((100vw - 1260px) / 2)); border-top: 1px solid var(--work-rule); background: #fffdf9; }
.work-result h2 { margin: 18px 0 0; color: var(--work-ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 3.8vw, 4.15rem); font-weight: 400; letter-spacing: -.065em; line-height: .94; }
.work-result h2 em { color: var(--work-red); font-weight: 400; }
.result-copy > p { max-width: 610px; margin: 0; color: #514b45; font-size: 1rem; line-height: 1.55; }
.result-copy dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 34px 0 0; }
.result-copy dl > div { min-height: 55px; padding: 0 17px; border-left: 1px solid var(--work-rule); }
.result-copy dl > div:first-child { padding-left: 0; border-left: 0; }
.result-copy dt { margin-bottom: 7px; color: var(--work-ink); font-size: .72rem; font-weight: 700; }
.result-copy dd { margin: 0; color: #70665d; font-size: .78rem; line-height: 1.35; }

.work-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 34px max(7vw, calc((100vw - 1260px) / 2)); border-top: 1px solid var(--work-rule); border-bottom: 1px solid var(--work-rule); background: linear-gradient(90deg, #f7efdf, #fffdf8 57%, #f2e6d3); }
.work-cta .kicker { color: var(--work-gold); }
.work-cta h2 { margin: 10px 0 0; color: var(--work-ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.65rem, 3vw, 2.55rem); font-weight: 400; letter-spacing: -.055em; line-height: 1; }
.work-cta a { display: flex; align-items: center; justify-content: space-between; min-width: min(285px, 100%); padding: 17px 20px 17px 24px; background: var(--work-red); border: 1px solid #8c6130; color: #fffdfa; font-size: .95rem; font-weight: 700; }
.work-cta a span { font-size: 1.3rem; font-weight: 400; transition: transform .2s ease; }
.work-cta a:hover span { transform: translateX(5px); }

@media (max-width: 850px) {
  .work-hero { min-height: 500px; padding: 96px 7vw 68px; }
  .work-detail { grid-template-columns: 1fr; }
  .work-copy > p:last-child { max-width: 620px; }
  .work-process { grid-template-columns: 1fr; }
  .work-process aside { border-left: 0; border-top: 1px solid var(--work-rule); padding: 26px 0 0; }
  .work-result { grid-template-columns: 1fr; }
  .work-cta { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 600px) {
  .work-hero { min-height: 470px; }
  .work-hero h2 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  .work-grid { grid-template-columns: 1fr; }
  .work-grid article { min-height: 0; }
  .work-process ol { grid-template-columns: 1fr; gap: 20px; }
  .work-process li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
  .work-process li:not(:last-child)::after { top: 53px; bottom: -13px; left: 21px; right: auto; border-top: 0; border-left: 1px solid var(--work-gold); }
  .work-process li:not(:last-child)::before { top: auto; bottom: -13px; left: 17px; right: auto; transform: rotate(135deg); }
  .work-process li strong { margin: 2px 0 0; }
  .work-process li small { grid-column: 2; margin-top: -14px; }
  .result-copy dl { grid-template-columns: 1fr; gap: 15px; }
  .result-copy dl > div, .result-copy dl > div:first-child { padding: 0 0 0 14px; border-left: 1px solid var(--work-rule); }
  .work-cta a { width: 100%; }
}
