/* Zoé's Carpentry: warm primer white, spruce green, mustard. Signature: the clipboard job list. */
:root {
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --bg: #f3f1ea; --ink: #2a2320; --green: #2f5247; --green-deep: #213b33; --mustard: #e0a526; --paper: #fffdf6;
  --focus: #1c6f8a; --err: #a3271b;
  --hdr-solid: #213b33; --hdr-solid-fg: #fffdf6;
  --btn-bg: var(--mustard); --btn-fg: #2a2320; --btn-edge: #9a6c0c; --btn-shadow: rgba(40, 25, 0, .5);
  --ftr-bg: #213b33; --ftr-fg: #f3f1ea;
  --hero-shade: linear-gradient(to top, rgba(28, 18, 12, .9) 0%, rgba(28, 18, 12, .45) 45%, rgba(28, 18, 12, .2) 70%, rgba(28, 18, 12, .55) 100%);
}
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); font-weight: 500; letter-spacing: -.015em; }
section { padding: clamp(4rem, 9vw, 7.5rem) 0; }

.hero { padding: 0; align-items: end; }
.hero__body { padding: 8rem 0 clamp(3rem, 8vh, 5.5rem); }
.hero__place { font-weight: 700; margin-bottom: 1rem; display: inline-block; padding: .3rem .8rem; background: var(--paper); color: var(--ink); border-radius: 4px; transform: rotate(-1.2deg); box-shadow: 0 3px 0 rgba(0, 0, 0, .35); }
.hero h1 { font-size: clamp(2.5rem, 1.2rem + 6vw, 5.75rem); font-weight: 500; letter-spacing: -.025em; max-width: 14ch; }
.hero__lede { max-width: 34rem; margin: 1.5rem 0 2rem; font-size: 1.2rem; }
.hero .btn--quiet { color: #fff; --quiet-bg: rgba(20, 12, 8, .35); }
.hero h1, .hero__lede, .hero .btns, .hero__place { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.hero h1 { animation-delay: .08s; } .hero__lede { animation-delay: .16s; } .hero .btns { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; translate: 0 18px; } }

/* Job list */
.list__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.list__intro { position: sticky; top: 7rem; display: grid; gap: 1.25rem; justify-items: start; }
.list__count { font-weight: 700; color: var(--green); padding-left: .9rem; border-left: 4px solid var(--mustard); }
.sheet { position: relative; background: var(--paper); padding: 3.25rem clamp(1.25rem, 4vw, 3rem) 2.5rem; border-radius: 6px;
  background-image: repeating-linear-gradient(to bottom, transparent 0 2.95rem, rgba(47, 82, 71, .14) 2.95rem 3rem);
  box-shadow: 0 1px 0 #fff inset, 0 2px 0 #d9d3c3, 0 4px 0 #cfc8b6, 0 30px 50px -28px rgba(42, 35, 32, .55); rotate: .6deg; }
.sheet__clip { position: absolute; top: -1rem; left: 50%; translate: -50% 0; width: 9rem; height: 2.4rem; border-radius: 8px 8px 4px 4px;
  background: linear-gradient(#8f979a, #5c6467); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), 0 4px 6px rgba(0, 0, 0, .3); }
.sheet__group { border: 0; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
.sheet__group:last-child { margin-bottom: 0; }
.sheet__group legend { grid-column: 1 / -1; font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--green); line-height: 3rem; padding: 0; }
.tick { display: flex; align-items: center; gap: .75rem; min-height: 3rem; cursor: pointer; font-weight: 600; -webkit-tap-highlight-color: transparent; }
.tick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tick__box { flex: none; width: 1.6rem; height: 1.6rem; border: 2px solid var(--ink); border-radius: 5px; background: #fff; display: grid; place-items: center; box-shadow: 0 3px 0 rgba(42, 35, 32, .3); transition: transform .14s cubic-bezier(.2, .8, .2, 1), box-shadow .14s, background-color .14s; }
.tick__box::after { content: ""; width: .5rem; height: .95rem; border: solid var(--ink); border-width: 0 3px 3px 0; rotate: 42deg; translate: 0 -2px; scale: 0; transition: scale .18s cubic-bezier(.3, 1.6, .5, 1); }
.tick:hover .tick__box { transform: translateY(-2px); box-shadow: 0 5px 0 rgba(42, 35, 32, .3); }
.tick:active .tick__box { transform: translateY(2px); box-shadow: 0 1px 0 rgba(42, 35, 32, .3); }
.tick input:checked + .tick__box { background: var(--mustard); }
.tick input:checked + .tick__box::after { scale: 1; }
.tick input:checked ~ .tick__label { text-decoration: line-through; text-decoration-color: var(--green); text-decoration-thickness: 2px; }
.tick input:focus-visible + .tick__box { outline: 3px solid var(--focus); outline-offset: 3px; }

/* Inside collage */
.inside { background: var(--green); color: var(--paper); }
.inside__lede { max-width: 38rem; margin-top: 1.25rem; font-size: 1.15rem; }
.collage { display: grid; align-items: start; grid-template-columns: repeat(12, 1fr); gap: clamp(.75rem, 2vw, 1.5rem); margin-top: clamp(2.5rem, 6vw, 4rem); }
.collage figure { position: relative; background: var(--paper); padding: .6rem .6rem 0; border-radius: 4px; box-shadow: 0 22px 40px -22px rgba(0, 0, 0, .7); }
.collage img { width: 100%; object-fit: cover; border-radius: 2px; aspect-ratio: 4 / 3; }
.collage figcaption { color: var(--ink); font-weight: 700; padding: .7rem .3rem .8rem; font-size: .98rem; }
.collage__a { grid-column: 1 / span 7; }
.collage__b { grid-column: 8 / span 5; margin-top: 3.5rem; }
.collage__c { grid-column: 2 / span 5; margin-top: -1.5rem; }
.collage__d { grid-column: 7 / span 6; }
.collage__b img { aspect-ratio: 5 / 4; }

/* Outside */
.outside { position: relative; isolation: isolate; padding: 0; min-height: min(70svh, 38rem); display: grid; align-items: end; color: #fff; }
.outside__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.outside::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(20, 14, 8, .88), rgba(20, 14, 8, .2) 70%); }
.outside__body { padding: 6rem 0 3.5rem; }
.outside__body p { max-width: 36rem; margin-top: 1rem; font-size: 1.15rem; }

/* Who */
.who__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.who__text { display: grid; gap: 1rem; font-size: 1.1rem; padding-top: .6rem; }

/* Contact */
.contact { background: var(--paper); border-top: 6px solid var(--mustard); }
.contact__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5rem); }
.contact__direct { display: grid; gap: 1.1rem; align-content: start; justify-items: start; }
.bigphone { font-family: var(--font-display); font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem); font-weight: 700; color: var(--green); text-decoration: none; line-height: 1.1; border-bottom: 4px solid var(--mustard); transition: translate .16s; }
.bigphone:hover { translate: 0 -2px; }
.contact__list { display: grid; }
.contact__list a { display: inline-block; padding: .55rem 0; font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere; }
.form { --field-border: #8b8375; --status-bg: #ece7d8; }

@media (max-width: 56rem) {
  .list__in, .who__in, .contact__in { grid-template-columns: 1fr; }
  .list__intro { position: static; }
  .sheet { rotate: 0deg; }
}
@media (max-width: 40rem) {
  .sheet__group { grid-template-columns: 1fr; }
  .collage { grid-template-columns: 1fr 1fr; }
  .collage figure { grid-column: auto; margin-top: 0; }
  .collage .collage__a, .collage .collage__d { grid-column: 1 / -1; }
  .collage figcaption { font-size: .9rem; }
}
