/* Four Keys Home Services: the roadside sign, as a website.
   Grounds: turquoise, white, red, ink teal. Type: Rubik (block capitals and text), Damion (the script). */

@font-face { font-family: "Rubik"; src: url("/businesses/four-keys/site/fonts/rubik-vf.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Damion"; src: url("/businesses/four-keys/site/fonts/damion.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --turq: #19B5B0;
  --turq-deep: #0F7C78;
  --red: #ED302F;
  --red-deep: #C41F1E;
  --ink: #0E3B3A;
  --ink-soft: #3A5A59;
  --white: #fff;
  --spruce: #0b3f22;
  --drop-red: #b80f24;
  --gold: #dea839;
  --block: "Rubik", "Segoe UI", system-ui, sans-serif;
  --script: "Damion", "Brush Script MT", cursive;
  --gut: clamp(20px, 5vw, 80px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --land: cubic-bezier(.22, 1, .36, 1);
  --sec: clamp(80px, 10vw, 148px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; overflow-x: clip; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--block); font-size: 18px; line-height: 1.55; font-weight: 400; overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .18em; }
a:hover { color: var(--red-deep); }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.keep :focus-visible, .foot :focus-visible, .drop__words :focus-visible, .season:focus-visible { outline-color: var(--white); }
html { scrollbar-color: var(--turq-deep) var(--white); }

.skip { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; color: var(--white); }

.script { font-family: var(--script); font-weight: 400; text-transform: none; letter-spacing: 0; }
.price { color: var(--red); font-weight: 800; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }

/* ---------- buttons: the sign's red panel with its white keyline */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 28px 13px;
  border: 3px solid var(--white); border-radius: 999px; box-shadow: 0 0 0 3px var(--red), 0 8px 18px -8px rgba(14, 59, 58, .45);
  background: var(--red); color: var(--white); font-family: var(--block); font-weight: 700; font-size: 19px; line-height: 1.1; letter-spacing: .01em;
  text-decoration: none; text-align: center; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .15s var(--ease), box-shadow .15s var(--ease), transform .09s var(--ease);
}
.btn:hover { background: var(--red-deep); color: var(--white); box-shadow: 0 0 0 3px var(--red-deep), 0 10px 22px -8px rgba(14, 59, 58, .5); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--big { min-height: 64px; padding: 15px 36px 16px; font-size: 21px; }

/* ---------- the seasonal line */
.season { display: block; background: var(--ink); color: var(--white); text-decoration: none; font-size: 16px; line-height: 1.4; }
.season__in { display: block; max-width: var(--max); margin: 0 auto; padding: 10px var(--gut); text-align: center; }
.season strong { font-weight: 700; }
.season__go { white-space: nowrap; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; margin-left: .35em; }
.season:hover { color: var(--white); background: #0a2f2e; }

/* ---------- top */
.top { background: var(--turq); display: flex; align-items: center; gap: 32px; padding: 16px var(--gut) 0; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; }
.top { max-width: none; }
.top__sign { flex: 0 0 auto; width: clamp(96px, 9vw, 132px); }
.top__sign img { width: 100%; }
.top__nav { display: flex; gap: clamp(18px, 2.4vw, 36px); margin-left: auto; font-weight: 600; font-size: 17px; }
.top__nav a { text-decoration: none; padding: 10px 0; }
.top__nav a:hover { color: var(--white); }
.top__cta { flex: 0 0 auto; }

/* ---------- 1. hero */
.hero { background: var(--turq); position: relative; }
.hero__words { position: relative; z-index: 2; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: clamp(28px, 4vw, 56px) var(--gut) 0; }
.hero__h { font-weight: 800; color: var(--ink); line-height: .95; }
.hero__h .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__h .line > span { display: inline-block; }
.hero__h .line:first-child { font-size: clamp(40px, 6.4vw, 96px); text-transform: uppercase; letter-spacing: -.015em; }
.line--script { font-family: var(--script); font-weight: 400; font-size: clamp(50px, 6.6vw, 96px); line-height: 1.12; margin-top: -.06em; padding-left: .04em; }
.hero__lede { text-wrap: pretty; max-width: 30ch; margin-top: 22px; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.45; }
.hero__act { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 28px; }
.hero__price { font-size: 18px; }
.hero__price strong { font-weight: 800; }
.hero__price a { margin-left: .4em; font-weight: 600; white-space: nowrap; }
.hero__pic { position: relative; z-index: 1; }
.hero__pic img { width: 100%; }

@media (min-width: 900px) {
  /* the words sit in the picture's own sky; the house stands below and to the right of them. Everything is sized in vw
     so the words keep the same place in the sky at every desktop width. */
  .hero { padding-top: 1vw; }
  .hero__words { position: absolute; top: 0; left: 0; right: 0; max-width: none; padding: 2.4vw var(--gut) 0; }
  .hero__h .line:first-child { font-size: 5.3vw; }
  .line--script { font-size: 5.6vw; }
  .hero__more { display: flex; align-items: flex-start; gap: 3vw; margin-top: 1.4vw; }
  .hero__lede { margin-top: 0; max-width: none; width: 25vw; font-size: max(18px, 1.35vw); }
  .hero__act { margin-top: .2vw; gap: .9vw; }
  .hero__price { font-size: max(17px, 1.2vw); }
}
@media (min-width: 1700px) {
  .hero__pic img { max-height: none; }
}

/* ---------- section heads */
.sec-head { max-width: var(--max); margin: 0 auto; display: flex; align-items: flex-start; gap: 20px; }
.sec-head__mark { width: 52px; flex: 0 0 auto; margin-top: 8px; }
.h2 { font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; font-size: clamp(34px, 4.6vw, 64px); line-height: 1; max-width: 18ch; text-wrap: balance; }
.h2 .script { display: block; color: var(--red); font-size: 1.18em; line-height: 1.05; margin-top: .06em; }

/* ---------- 2. arrive and leave */
.arrive { padding: var(--sec) var(--gut); }
.pair { max-width: var(--max); margin: clamp(48px, 6vw, 88px) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.svc { display: grid; grid-template-columns: minmax(150px, 240px) 1fr; gap: clamp(20px, 2.6vw, 36px); align-items: start; }
.svc__art { width: 100%; }
.svc__name { font-weight: 800; font-size: clamp(26px, 2.3vw, 34px); line-height: 1.05; }
.svc__name .price { display: block; font-size: 1.6em; line-height: 1.05; margin-top: 4px; letter-spacing: -.01em; }
.svc__lede { margin-top: 18px; font-weight: 600; }
.ticks { margin-top: 18px; display: grid; gap: 8px; }
.svc__lede + .ticks { margin-top: 10px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; background: url("/businesses/four-keys/site/img/keybow.svg?v=2") center / contain no-repeat; }
.svc__also { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(14, 59, 58, .18); }
.price-sm { color: var(--red-deep); font-weight: 800; }

.weekend { max-width: var(--max); margin: clamp(48px, 6vw, 80px) auto 0; padding-top: 36px; border-top: 2px solid var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.weekend__deal { font-size: clamp(19px, 1.6vw, 22px); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.weekend__name { font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.weekend .price { font-size: 1.3em; }

/* ---------- 3. the keep */
.keep { background: var(--ink); color: var(--white); position: relative; overflow: hidden; padding: calc(var(--sec) + clamp(40px, 6vw, 90px)) var(--gut) 0; }
.keep__key { position: absolute; top: clamp(28px, 4vw, 56px); right: calc(-1 * clamp(10px, 3vw, 60px)); width: clamp(280px, 46vw, 720px); }
.keep__in { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr minmax(220px, 330px); gap: clamp(24px, 5vw, 80px); align-items: end; }
.keep__words { padding-bottom: var(--sec); }
.keep__h { font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: .01em; line-height: 1.15; color: var(--turq); }
.keep__h .script { display: block; color: var(--white); font-size: clamp(76px, 9vw, 132px); line-height: .9; margin-bottom: .32em; }
.keep__lede { margin-top: 22px; max-width: 40ch; font-size: clamp(19px, 1.5vw, 21px); color: #E3F1F0; }
.tiers { margin-top: 44px; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; }
.tier { padding: 6px clamp(20px, 3vw, 44px) 6px 0; }
.tier + .tier { padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid rgba(255, 255, 255, .25); }
.tier dt { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; color: var(--turq); }
.tier dd { margin-top: 6px; font-size: 17px; color: #E3F1F0; }
.tier__n { display: block; font-weight: 800; font-size: clamp(44px, 5vw, 72px); line-height: 1; color: var(--white); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.02em; }
.keep__single { margin-top: 30px; font-size: 19px; color: #E3F1F0; }
.keep__single strong { color: var(--white); font-weight: 800; }
.keep .btn { margin-top: 32px; }
.keep__art { width: 100%; align-self: end; margin-bottom: clamp(28px, 4vw, 56px); }

/* ---------- 4. the christmas drop, in its own colours */
.drop { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.drop__logo { background: var(--white); display: grid; place-items: center; padding: clamp(48px, 6vw, 96px) var(--gut); }
.drop__logo img { width: min(100%, 340px); }
.drop__words { background: var(--spruce); color: var(--white); padding: clamp(56px, 7vw, 112px) var(--gut); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.drop__h { font-weight: 800; font-size: clamp(34px, 4vw, 58px); line-height: 1.02; letter-spacing: -.01em; max-width: 14ch; text-wrap: balance; }
.drop__lede { margin-top: 22px; max-width: 42ch; color: #DCE8DF; font-size: clamp(18px, 1.4vw, 20px); }
.drop__list { margin-top: 30px; width: min(100%, 460px); }
.drop__list li { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); font-size: 19px; }
.drop__list li:first-child { border-top: 1px solid rgba(255, 255, 255, .2); }
.drop__list li span:last-child { color: var(--gold); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.btn--drop { margin-top: 36px; background: var(--drop-red); box-shadow: 0 0 0 3px var(--drop-red), 0 8px 18px -8px rgba(0, 0, 0, .5); }
.btn--drop:hover { background: #95091c; box-shadow: 0 0 0 3px #95091c, 0 10px 22px -8px rgba(0, 0, 0, .55); }

/* ---------- 5. the rate card */
.prices { background: var(--red); padding: var(--sec) var(--gut); }
.prices__h { max-width: var(--max); margin: 0 auto; color: var(--white); font-weight: 800; text-transform: uppercase; font-size: clamp(36px, 5vw, 72px); line-height: 1; letter-spacing: -.01em; }
.prices__h .script { display: inline-block; font-size: 1.15em; margin-left: .1em; }
.card { max-width: var(--max); margin: clamp(36px, 4vw, 56px) auto 0; background: var(--white); border-radius: clamp(20px, 2.4vw, 32px); padding: clamp(28px, 5vw, 72px); display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 6vw, 96px); box-shadow: 0 30px 60px -30px rgba(70, 8, 8, .55); }
.group { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; align-content: start; break-inside: avoid; padding-bottom: clamp(40px, 4.4vw, 60px); }
.group:last-child { padding-bottom: 0; }
.group__badge { width: 64px; height: 64px; grid-row: 1; }
.group__h { grid-row: 1; align-self: center; font-weight: 800; font-size: clamp(22px, 2vw, 27px); line-height: 1.15; }
.group__h small { display: block; font-weight: 500; font-size: 16px; color: var(--ink-soft); margin-top: 2px; }
.rates { grid-column: 1 / -1; margin-top: 16px; }
.rates li { display: grid; grid-template-columns: 1fr auto; column-gap: 20px; padding: 12px 0; border-top: 1px solid rgba(14, 59, 58, .16); }
.rates__n { font-weight: 600; }
.rates__p { font-weight: 800; color: var(--red-deep); text-align: right; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.rates__d { grid-column: 1 / -1; font-size: 16px; line-height: 1.45; color: var(--ink-soft); margin-top: 2px; max-width: 52ch; }

/* ---------- 6. the family */
.family { padding: var(--sec) var(--gut); }
.family__top { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr minmax(280px, 560px); gap: 32px clamp(32px, 5vw, 72px); align-items: center; }
.family__cast { display: grid; grid-template-columns: 1fr minmax(110px, 34%); align-items: end; gap: 8px; }
.family__couple { width: 100%; }
.family__camera { width: 100%; }
.people { max-width: var(--max); margin: clamp(48px, 6vw, 80px) auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px clamp(32px, 4vw, 64px); border-top: 2px solid var(--ink); padding-top: 36px; }
.person__name { font-weight: 800; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; color: var(--red-deep); }
.person p { margin-top: 12px; max-width: 38ch; }
.family__home { max-width: var(--max); margin: 48px auto 0; font-family: var(--script); font-size: clamp(30px, 3vw, 42px); color: var(--turq-deep); line-height: 1.2; }

/* ---------- 7. contact */
.contact { background: var(--turq) url("/businesses/four-keys/site/img/pattern-keybow.svg?v=2") 0 0 / 240px 240px repeat; padding: var(--sec) var(--gut); }
.contact__in { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact__h { font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.01em; }
.contact__h .script { display: block; font-size: 1.25em; line-height: 1.1; }
.contact__words > p { margin-top: 22px; max-width: 34ch; font-size: clamp(19px, 1.5vw, 21px); }
.contact__direct { display: grid; gap: 8px; font-weight: 700; }
.contact__direct a { width: fit-content; }
.contact__direct a:hover { color: var(--white); }

.form { background: var(--white); border-radius: clamp(20px, 2.4vw, 32px); padding: clamp(24px, 4vw, 52px); box-shadow: 0 30px 60px -30px rgba(14, 59, 58, .55); display: grid; gap: 22px; }
.form__set { border: 0; margin: 0; padding: 0; min-width: 0; }
.form__set legend, .field label { display: block; font-weight: 700; font-size: 17px; margin-bottom: 10px; padding: 0; }
.opt { font-weight: 400; color: var(--ink-soft); margin-left: .3em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 18px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 600; font-size: 17px; transition: background-color .15s var(--ease), color .15s var(--ease); cursor: pointer; }
.chip:hover span { background: #E4F6F5; }
.chip input:checked + span { background: var(--ink); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 3px; }
.field input { width: 100%; min-height: 56px; padding: 12px 16px; border: 2px solid var(--ink); border-radius: 14px; font: 400 18px/1.3 var(--block); color: var(--ink); background: var(--white); caret-color: var(--red); }
.field input::placeholder { color: #557371; }
.field input:focus { outline: 3px solid var(--turq); outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: var(--red-deep); }
.field__err { margin-top: 8px; color: var(--red-deep); font-weight: 600; font-size: 16px; }
.form__go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 4px; }
.linkish { background: none; border: 0; padding: 10px 0; font: 600 18px var(--block); color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; cursor: pointer; min-height: 44px; }
.linkish:hover { color: var(--red-deep); }
.form__next { font-size: 17px; background: #E4F6F5; border-radius: 12px; padding: 14px 16px; }
.form__next a { font-weight: 700; margin-left: .25em; }

/* ---------- footer */
.foot { background: var(--ink); color: var(--white); padding: clamp(56px, 7vw, 96px) var(--gut) clamp(56px, 7vw, 96px); display: flex; align-items: center; gap: clamp(28px, 5vw, 72px); flex-wrap: wrap; }
.foot { justify-content: center; }
.foot__sign { width: clamp(150px, 16vw, 210px); }
.foot__words { display: grid; gap: 12px; max-width: 640px; }
.foot__area { font-family: var(--script); font-size: clamp(28px, 2.8vw, 38px); line-height: 1.15; color: var(--turq); }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 600; }
.foot__links a:hover { color: var(--turq); }
.foot__small { font-size: 15px; color: #A8D8D5; }

/* ---------- the phone bar: opens the text at once */
.bar { display: none; }

/* ---------- motion: one authored moment. The house settles into place once on load; it is visible from the first
   frame, so nothing waits on it. Words never move. */
@media (prefers-reduced-motion: no-preference) {
  .hero__pic img { transform-origin: 50% 100%; animation: settle 1.2s var(--land) both; }
  @keyframes settle { from { transform: scale(1.035) translateY(10px); } to { transform: none; } }
}

/* ---------- layout below desktop */
@media (max-width: 1080px) {
  .top__nav { display: none; }
  .top__cta { margin-left: auto; }
  .pair { grid-template-columns: 1fr; max-width: 720px; }
  .weekend { max-width: 720px; }
  .card { grid-template-columns: 1fr; max-width: 760px; }
  .card__col + .card__col { padding-top: clamp(40px, 4.4vw, 60px); }
}
@media (max-width: 899px) {
  .hero__act { margin-bottom: 8px; }
  .keep__in { grid-template-columns: 1fr; }
  .keep__words { padding-bottom: 0; }
  .keep__art { width: min(62%, 300px); justify-self: end; margin-top: 24px; }
  .drop { grid-template-columns: 1fr; }
  .drop__logo img { width: min(62%, 280px); }
  .family__top { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
  .contact__in { grid-template-columns: 1fr; }
}
@media (max-width: 759px) {
  body { padding-bottom: 84px; }
  .season { font-size: 15px; }
  .top { padding-top: 14px; gap: 16px; }
  .top__cta { min-height: 48px; padding: 10px 18px 11px; font-size: 19px; }
  .bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--ink); transform: translateY(110%); transition: transform .2s var(--ease); }
  .bar:not(.is-on) { visibility: hidden; transition: transform .2s var(--ease), visibility 0s .2s; }
  .bar.is-on { transform: none; }
  .bar__btn { width: 100%; }
  .svc { grid-template-columns: 120px 1fr; }
  .tiers { grid-template-columns: 1fr; gap: 0; }
  .tier, .tier + .tier { padding: 16px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .25); display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
  .tier dd { margin: 0; text-align: right; }
  .tier__n { display: inline; font-size: 40px; margin-right: .2em; }
  .keep__key { width: 72vw; right: 4vw; top: 22px; }
  .card { padding: 24px 20px 28px; }
  .group { grid-template-columns: 52px 1fr; column-gap: 14px; }
  .group__badge { width: 52px; height: 52px; }
  .form { padding: 22px 18px 26px; }
  .foot { justify-content: flex-start; }
}
@media (max-width: 380px) {
  .svc { grid-template-columns: 1fr; }
  .svc__art { width: 150px; }
  .top__cta { padding: 9px 14px 10px; font-size: 19px; }
  .top__sign { width: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .bar { transition: none; }
  .btn { transition: none; }
}
@media (min-width: 900px) and (max-width: 1199px) { .hero { padding-top: 4vw; } }
@media (max-width: 899px) { .line--script { font-size: clamp(40px, 12.4vw, 60px); } }
.keep .btn, .bar .btn { box-shadow: 0 0 0 3px var(--red), 0 8px 18px -8px rgba(0, 0, 0, .6); }
.keep .btn:hover, .bar .btn:hover { box-shadow: 0 0 0 3px var(--red-deep), 0 10px 22px -8px rgba(0, 0, 0, .6); }
.foot a:not(.btn):hover { color: var(--turq); }
.skip:hover { color: var(--white); }
