.cw-consult:has(> .cw-lodge) {
  padding-block: clamp(46px, 6vw, 92px) clamp(74px, 8vw, 122px);
}

.cw-lodge {
  --lodge-leaf: #295e52;
  --lodge-paper: #fff9e9;
  --lodge-gold: #ead29d;
  --lodge-wood: #b98257;
  --lodge-road: #dfbb89;
}

.cw-lodge-entrance {
  display: grid;
  grid-template:
    "heading welcome" auto
    "invite welcome" auto
    "counter welcome" auto / minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(12px, 1.5vw, 20px) clamp(24px, 5vw, 82px);
  align-items: start;
}

.cw-lodge-heading {
  grid-area: heading;
  align-self: end;
}

.cw-lodge-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--lodge-leaf);
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 800;
  letter-spacing: .14em;
}

.cw-lodge-kicker::before {
  width: 28px;
  height: 1px;
  background: currentcolor;
  content: "";
}

.cw-world .cw-lodge-heading h2 {
  font-size: clamp(38px, 5.05vw, 76px);
  line-height: 1.32;
}

.cw-lodge-heading h2 span {
  display: block;
}

.cw-lodge-invite {
  grid-area: invite;
  min-width: 0;
}

.cw-lodge-promise {
  margin: 0;
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.75;
}

.cw-lodge-promise strong {
  color: var(--lodge-leaf);
  background: linear-gradient(transparent 70%, rgb(220 185 96 / 36%) 70%);
  font-weight: 800;
}

.cw-lodge-promise span {
  display: inline-block;
}

.cw-consult .cw-lodge-invite .cw-button {
  width: min(100%, 300px);
  min-width: 0;
  min-height: 58px;
  margin-top: 12px;
  padding-block: 10px;
}

.cw-lodge-form-label {
  line-height: 1.35;
  white-space: nowrap;
}

.cw-lodge-form-label small {
  display: block;
  margin-bottom: 2px;
  color: #e6d8b8;
  font-size: 12px;
  letter-spacing: .09em;
}

.cw-lodge-note {
  margin: 8px 0 0;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.7;
  text-wrap: pretty;
}

.cw-lodge-note span {
  display: inline-block;
}

.cw-lodge-welcome {
  position: relative;
  display: grid;
  grid-area: welcome;
  align-self: center;
  place-items: end center;
  margin: 0;
  padding: 12px 0 13px;
  isolation: isolate;
}

.cw-lodge-welcome::before {
  position: absolute;
  z-index: -2;
  inset: 9% 7% 4%;
  border: 1px solid rgb(80 125 104 / 18%);
  border-radius: 46% 46% 11% 11% / 30% 30% 11% 11%;
  background: linear-gradient(156deg, rgb(255 249 230 / 76%), rgb(195 220 190 / 29%));
  box-shadow: inset 0 0 0 3px rgb(255 254 237 / 34%);
  content: "";
}

.cw-lodge-welcome::after {
  position: absolute;
  z-index: -1;
  right: 12%;
  bottom: 0;
  left: 12%;
  height: 12%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgb(75 89 55 / 20%), transparent 72%);
  content: "";
}

.cw-lodge-welcome img {
  display: block;
  width: min(65%, 282px);
  height: auto;
  filter: drop-shadow(5px 7px 4px rgb(58 75 48 / 12%));
}

.cw-lodge-welcome figcaption {
  position: absolute;
  right: 7%;
  bottom: 10%;
  padding: 6px 16px;
  border: 1px solid #aa8151;
  border-radius: 4px 4px 7px 7px;
  background: var(--lodge-gold);
  color: #66472e;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .1em;
  transform: rotate(-5deg);
}

.cw-lodge-counter {
  grid-area: counter;
  min-width: 0;
  padding: 2px clamp(12px, 1.8vw, 23px) 3px;
  border: 1px solid rgb(158 115 73 / 32%);
  border-bottom: 5px solid var(--lodge-wood);
  border-radius: 13px 13px 8px 8px;
  background: linear-gradient(168deg, #fffaf0, #f6e9d3);
  box-shadow: 0 9px 20px rgb(95 76 55 / 9%);
}

.cw-lodge-contact-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  min-height: 55px;
  gap: 10px;
  padding: 8px 0;
  color: inherit;
  text-decoration: none;
}

.cw-lodge-contact-link:is(:hover, :focus-visible) .cw-lodge-method {
  text-decoration: underline;
  text-underline-offset: .18em;
}

.cw-lodge-contact-link svg {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 50%;
  background: #eadcbc;
  fill: none;
  stroke: var(--lodge-leaf);
  stroke-width: 1.8;
}

.cw-lodge-contact-text {
  display: grid;
  justify-items: start;
  min-width: 0;
  gap: 2px;
  line-height: 1.36;
}

.cw-lodge-method {
  color: var(--lodge-leaf);
  font-size: 14px;
  font-weight: 800;
}

.cw-lodge-call-details {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
}

.cw-lodge-call-details strong {
  font-size: clamp(20px, 2.1vw, 26px);
  font-variant-numeric: tabular-nums;
  line-height: 1.08;
}

.cw-lodge-call-details span,
.cw-lodge-contact-tip {
  font-size: 13px;
}

.cw-lodge-mail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  border-top: 1px solid rgb(158 115 73 / 32%);
}

.cw-lodge-address {
  font-size: clamp(14px, 1.65vw, 18px);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.cw-lodge-copy {
  min-width: 46px;
  min-height: 44px;
  padding: 3px 8px;
  border: 1px solid #967650;
  border-radius: 8px;
  background: var(--lodge-paper);
  color: #5d442c;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.cw-lodge-copy:hover {
  background: #f5dfb6;
}

.cw-lodge-counter :is(a, button, input):focus-visible {
  outline: 2px solid var(--lodge-leaf);
  outline-offset: 2px;
}

.cw-lodge-copy-status {
  margin: 0;
  color: var(--lodge-leaf);
  font-size: 13px;
  font-weight: 700;
}

.cw-lodge-copy-status:not(:empty) {
  padding-bottom: 7px;
}

.cw-lodge-copy-fallback:not([hidden]) {
  display: grid;
  gap: 3px;
  margin: 0 0 6px;
  font-size: 13px;
}

.cw-lodge-copy-fallback input {
  width: 100%;
  min-height: 40px;
  padding: 4px 7px;
  border: 1px solid #967650;
  border-radius: 6px;
  background: var(--lodge-paper);
  color: inherit;
  font: inherit;
}

.cw-lodge-route {
  position: relative;
  margin-top: clamp(40px, 5vw, 72px);
  padding: clamp(28px, 4vw, 48px) clamp(12px, 2.6vw, 36px) 32px;
  text-align: center;
  isolation: isolate;
}

.cw-lodge-route::before {
  position: absolute;
  z-index: -1;
  inset: 0 clamp(-38px, -3vw, -12px);
  border-radius: 49% 48% 23px 29px / 32px 28px 23px 29px;
  background: linear-gradient(180deg, rgb(255 250 236 / 98%), rgb(247 229 192 / 93%) 89%, rgb(247 229 192 / 0%));
  content: "";
}

.cw-lodge-route h3 {
  margin: 0 0 13px;
  color: var(--lodge-leaf);
  font-family: var(--sb-world-font-heading);
  font-size: clamp(22px, 2.55vw, 34px);
  line-height: 1.45;
}

.cw-lodge-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 5vw, 74px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.cw-lodge-steps::before {
  position: absolute;
  top: clamp(85px, 10vw, 131px);
  right: 15%;
  left: 15%;
  height: 17px;
  border-block: 1px solid rgb(159 104 56 / 42%);
  border-radius: 99px;
  background:
    repeating-linear-gradient(90deg, #fff3d9 0 8px, transparent 8px 16px) center / calc(100% - 20px) 2px no-repeat,
    var(--lodge-road);
  content: "";
}

.cw-lodge-steps li {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: center;
  min-width: 0;
  gap: 7px;
}

.cw-lodge-stop-picture {
  display: block;
  width: min(100%, clamp(138px, 17vw, 213px));
  height: auto;
}

.cw-lodge-stop-copy {
  min-width: 0;
}

.cw-lodge-number {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 25px;
  border: 1px solid #ac8258;
  border-radius: 99px;
  background: #f6d6a2;
  color: #60452e;
  font: 700 12px Georgia, serif;
}

.cw-lodge-stop-copy h4 {
  margin: 6px 0;
  font-family: var(--sb-world-font-heading);
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.4;
}

.cw-lodge-stop-copy p {
  max-width: 23em;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  text-wrap: pretty;
}

.cw-lodge-flow {
  min-height: 44px;
  margin-top: 21px;
  color: var(--lodge-leaf);
  font-size: 14px;
  font-weight: 800;
}

@media (width <= 760px) {
  .cw-consult:has(> .cw-lodge) {
    padding-block: 37px 64px;
  }

  .cw-lodge {
    width: min(calc(100% - 36px), 530px);
  }

  .cw-lodge-entrance {
    grid-template:
      "heading heading" auto
      "invite welcome" auto
      "counter counter" auto / minmax(0, 1fr) clamp(78px, 26vw, 136px);
    gap: 12px 10px;
  }

  .cw-lodge-kicker {
    gap: 8px;
    margin-bottom: 8px;
  }

  .cw-lodge-kicker::before {
    width: 19px;
  }

  .cw-world .cw-lodge-heading h2 {
    font-size: clamp(34px, 9.3vw, 49px);
    line-height: 1.25;
  }

  .cw-lodge-promise {
    line-height: 1.52;
  }

  .cw-consult .cw-lodge-invite .cw-button {
    justify-content: space-between;
    gap: 7px;
    width: min(100%, 226px);
    min-height: 56px;
    margin-top: 11px;
    padding: 9px 10px 9px 12px;
    font-size: 13px;
    white-space: nowrap;
  }

  .cw-lodge-invite .cw-button span {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
  }

  .cw-lodge-note {
    margin-top: 9px;
    line-height: 1.55;
  }

  .cw-lodge-welcome {
    align-self: center;
    padding-block: 2px 5px;
  }

  .cw-lodge-welcome img {
    width: 100%;
    filter: drop-shadow(3px 4px 2px rgb(58 75 48 / 14%));
  }

  .cw-lodge-welcome::before {
    inset: 7% -6% 4%;
  }

  .cw-lodge-welcome figcaption {
    display: none;
  }

  .cw-lodge-contact-link {
    gap: 8px;
  }

  .cw-lodge-contact-link svg {
    width: 27px;
    height: 27px;
    padding: 5px;
  }

  .cw-lodge-copy {
    padding-inline: 6px;
  }

  .cw-lodge-route {
    margin-top: 39px;
    padding: 24px 5px 22px;
    text-align: left;
  }

  .cw-lodge-route::before {
    inset-inline: -9px;
    border-radius: 48% 47% 20px 18px / 19px 20px 20px 18px;
  }

  .cw-lodge-route h3 {
    margin-bottom: 17px;
  }

  .cw-lodge-steps {
    --lodge-stop-width: clamp(74px, 24vw, 107px);
    grid-template-columns: minmax(0, 1fr);
    gap: 19px;
  }

  .cw-lodge-steps::before {
    top: 36px;
    right: auto;
    bottom: 44px;
    left: calc(var(--lodge-stop-width) / 2 - 8px);
    width: 16px;
    height: auto;
    border-block: 0;
    border-inline: 1px solid rgb(159 104 56 / 42%);
    background:
      repeating-linear-gradient(180deg, #fff3d9 0 8px, transparent 8px 16px) center / 2px calc(100% - 16px) no-repeat,
      var(--lodge-road);
  }

  .cw-lodge-steps li {
    grid-template-columns: var(--lodge-stop-width) minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    gap: 11px;
  }

  .cw-lodge-stop-picture {
    width: var(--lodge-stop-width);
  }

  .cw-lodge-number {
    width: 27px;
    height: 20px;
  }

  .cw-lodge-stop-copy h4 {
    margin-block: 3px 4px;
  }

  .cw-lodge-stop-copy p {
    line-height: 1.55;
  }

  .cw-lodge-flow {
    margin-top: 16px;
  }
}

@media (width <= 360px) {
  .cw-lodge-mail .cw-lodge-contact-link {
    row-gap: 3px;
  }

  .cw-lodge-mail .cw-lodge-contact-text {
    display: contents;
  }

  .cw-lodge-mail :is(.cw-lodge-address, .cw-lodge-contact-tip) {
    grid-column: 1 / -1;
  }
}
