/* Diamond Cut Tree Service LLC
   Black, white and the pink of the company wrap. The one bold device is the
   "cut" corner (two opposite corners sliced off, like the hexagon in the logo). */

:root {
  --black: #111113;
  --coal: #1c1c20;
  --white: #ffffff;
  --steel-50: #eff1f3;
  --steel-200: #d3d8de;
  --steel-600: #565d66;
  --pink: #d6006f;        /* wrap pink, dark enough for white text */
  --pink-hot: #ff3ea0;    /* same pink, lifted for use on black */
  --display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Mulish", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --gutter: max(16px, calc((100vw - 1240px) / 2));
  --cut: 34px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.125rem/1.6 var(--body); color: var(--black); background: var(--white); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }

h1, h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .94; letter-spacing: .005em; }
h2 { font-size: clamp(2.6rem, 1.6rem + 3.2vw, 4.5rem); }
h3 { font: 800 1.35rem/1.25 var(--body); }

.ico { width: 1.15em; height: 1.15em; flex: none; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.facts :focus-visible, .work :focus-visible, .quote :focus-visible, .foot :focus-visible, .sticky-book :focus-visible, .mobile-menu :focus-visible, .lightbox :focus-visible { outline-color: var(--white); }

.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--black); color: var(--white); padding: 12px 18px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { padding-inline: var(--gutter); }
.sec { padding-block: clamp(64px, 8vw, 116px); }
.sec__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec__lead { margin-top: 18px; max-width: 58ch; font-size: 1.2rem; color: var(--steel-600); }
.textlink { color: var(--pink); font-weight: 700; text-underline-offset: 4px; }
.textlink:hover { color: var(--black); }

/* buttons: square, with one cut corner */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 12px 28px; border: 0; cursor: pointer;
  font: 800 1.1rem/1.1 var(--body); text-decoration: none; white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: background-color .15s, color .15s;
}
.btn--pink { background: var(--pink); color: var(--white); }
.btn--pink:hover { background: var(--black); }
.btn--line { background: var(--black); color: var(--white); }
.btn--line:hover { background: var(--pink); }
.btn--white { background: var(--white); color: var(--black); }
.btn--full { width: 100%; }
.quote .btn--pink:hover, .sticky-book .btn--pink:hover { background: var(--white); color: var(--black); }

/* header */
.top { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--steel-200); }
.top__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 74px; height: auto; }
.brand__name { font: 800 1.5rem/.95 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.brand__name span { display: block; color: var(--pink); }
.nav { display: flex; gap: 26px; }
.nav a { font-weight: 700; font-size: 1rem; text-decoration: none; padding: 12px 0; border-bottom: 3px solid transparent; }
.nav a:hover { border-bottom-color: var(--pink); }
.top__tel { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; background: var(--black); color: var(--white); font-weight: 800; text-decoration: none; white-space: nowrap; }
.top__tel:hover { background: var(--pink); }
.top__menu { display: none; width: 48px; height: 48px; border: 0; background: none; color: var(--black); cursor: pointer; }
.top__menu .ico { width: 30px; height: 30px; }

.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .6); }
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; z-index: 60; width: min(340px, 88vw);
  background: var(--black); color: var(--white);
  display: flex; flex-direction: column; padding: 76px 24px 24px; overflow-y: auto;
}
.mobile-menu[hidden], .scrim[hidden] { display: none; }
.mobile-menu a { padding: 15px 4px; font-weight: 700; font-size: 1.2rem; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.mobile-menu .mobile-menu__tel { margin-top: 22px; border: 0; color: var(--pink-hot); font: 800 2.1rem/1.1 var(--display); }
.mobile-menu__close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border: 0; background: none; color: var(--white); cursor: pointer; }
.mobile-menu__close .ico { width: 28px; height: 28px; }

/* the cut */
.facet { position: relative; }
.facet img {
  width: 100%; height: 100%; object-fit: cover;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

/* hero */
.hero { overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 4.5vw, 72px); align-items: center; padding-block: clamp(36px, 5vw, 72px) clamp(52px, 6vw, 88px); }
.hero h1 { font-size: clamp(3.1rem, 1.1rem + 5.6vw, 6.1rem); font-weight: 900; }
.hero h1 span { display: block; white-space: nowrap; }
.hero__lead { margin-top: 24px; max-width: 33em; font-size: 1.25rem; color: #33383f; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__rating { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; text-decoration: none; font-size: 1.05rem; }
.hero__rating:hover span:last-child { text-decoration: underline; }
.stars { display: inline-flex; gap: 2px; color: var(--pink); }
.stars .ico { width: 22px; height: 22px; }
.hero__media { position: relative; }
.facet--hero { --cut: clamp(40px, 5vw, 76px); aspect-ratio: 4 / 3.25; }
.facet--hero::before {
  content: ""; position: absolute; inset: 0; transform: translate(18px, 18px); background: var(--pink);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.facet--hero img { position: relative; object-position: 40% 60%; }

/* facts */
.facts { background: var(--black); color: var(--white); }
.facts__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { padding: 26px 24px; border-left: 1px solid rgba(255, 255, 255, .18); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font: 800 1.7rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.facts span { display: block; margin-top: 6px; color: #c3c8cf; font-size: 1rem; }

/* where is the tree */
.where__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px clamp(24px, 3vw, 44px); align-items: start; }
.spot:nth-child(3n + 2) { margin-top: 72px; }
.spot .facet { aspect-ratio: 4 / 5; }
.spot h3 { margin-top: 22px; font: 800 2rem/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.spot h3::after { content: ""; display: block; width: 44px; height: 5px; margin-top: 12px; background: var(--pink); transform: skewX(-32deg); transform-origin: left bottom; }
.spot--top .facet img { object-position: 50% 12%; }
.spot--low .facet img { object-position: 50% 78%; }
.spot p { margin-top: 14px; }
.spot .spot__said { font-size: 1.02rem; color: var(--steel-600); padding-left: 16px; border-left: 3px solid var(--steel-200); }
.spot__said span { display: block; margin-top: 4px; font-size: .92rem; font-weight: 700; color: var(--black); }

/* services */
.services { background: var(--steel-50); }
.services__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.svc { margin-top: 34px; border-top: 2px solid var(--black); }
.svc > div { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 6px 24px; padding: 18px 0; border-bottom: 1px solid var(--steel-200); }
.svc dt { font-weight: 800; font-size: 1.2rem; line-height: 1.3; }
.svc dd { color: #33383f; }
.services__photo { position: sticky; top: 108px; }
.services__photo img { width: 100%; }
.services__photo figcaption { margin-top: 14px; font-size: 1rem; color: var(--steel-600); max-width: 46ch; }

/* gallery */
.work { background: var(--black); color: var(--white); }
.work .sec__lead { color: #c3c8cf; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15.5vw, 215px); gap: 12px; grid-auto-flow: dense; }
.g { position: relative; display: block; overflow: hidden; background: var(--coal); }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.g:hover img { transform: scale(1.03); }
.g--wide { grid-column: span 2; grid-row: span 2; }
.g--tall { grid-row: span 2; }
.g--low img { object-position: 50% 100%; }

/* reviews */
.reviews__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.reviews__head { position: sticky; top: 108px; }
.score { display: flex; align-items: center; gap: 18px; margin: 28px 0 22px; }
.score__num { font: 900 6.5rem/.8 var(--display); }
.score__meta { display: grid; gap: 6px; font-weight: 700; }
.score .stars .ico { width: 26px; height: 26px; }
.reviews__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(24px, 3vw, 48px); }
.rev p { font-size: 1.1rem; }
.rev footer { margin-top: 14px; font-size: .98rem; color: var(--steel-600); }
.rev footer strong { display: block; color: var(--black); font-size: 1.05rem; }
.rev--lead { grid-column: 1 / -1; padding-bottom: 40px; border-bottom: 2px solid var(--black); }
.rev--lead p { font-size: 1.3rem; line-height: 1.55; }

/* about */
.about { background: var(--steel-50); }
.about__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.about__photo img { width: 100%; }
.about__text p { margin-top: 18px; max-width: 56ch; }
.about__text h3 { margin-top: 34px; font: 800 1.9rem/1 var(--display); text-transform: uppercase; }
.about__text h3 + p { margin-top: 10px; }

/* quote */
.quote { background: var(--black); color: var(--white); }
.quote .sec__lead { color: #c3c8cf; }
.quote__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.quote__tel { display: inline-flex; align-items: center; gap: 14px; margin-top: 32px; font: 900 clamp(2.8rem, 1.6rem + 3.4vw, 4.4rem)/1 var(--display); color: var(--pink-hot); text-decoration: none; white-space: nowrap; }
.quote__tel .ico { width: .7em; height: .7em; }
.quote__tel:hover { color: var(--white); }
.quote__mail { margin-top: 12px; overflow-wrap: anywhere; }
.hours { margin-top: 34px; border-collapse: collapse; width: 100%; max-width: 440px; }
.hours caption { text-align: left; font: 800 1.5rem/1 var(--display); text-transform: uppercase; padding-bottom: 10px; }
.hours th, .hours td { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .2); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-weight: 700; }

.form { background: var(--white); color: var(--black); padding: clamp(22px, 3vw, 40px); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 800; margin-bottom: 6px; }
.field label span { font-weight: 400; color: var(--steel-600); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 12px 14px; font: inherit; color: var(--black);
  background: var(--white); border: 2px solid #8b929b; border-radius: 0;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--pink); outline-offset: 0; border-color: var(--pink); }
.form__err { margin: 0 0 16px; padding: 12px 14px; background: #fde7f1; border-left: 4px solid var(--pink); font-weight: 700; }
.form__note { margin-top: 14px; font-size: .98rem; color: var(--steel-600); padding-right: var(--cut); }
.form .btn--pink:hover { background: var(--black); color: var(--white); }

/* footer */
.foot { background: var(--black); color: #c3c8cf; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 1rem; }
.foot__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px 56px; align-items: center; padding-block: 44px; }
.foot__logo { width: 150px; }
.foot strong { color: var(--white); }
.foot a { text-underline-offset: 4px; overflow-wrap: anywhere; }
.foot a:hover { color: var(--white); }
.foot__col p + p { margin-top: 4px; }
.foot__legal { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .92rem; }

.sticky-book { display: none; }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, .93); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox img { max-width: min(94vw, 1400px); max-height: 80vh; width: auto; height: auto; }
.lightbox__cap { margin: 14px 16px 0; color: var(--white); text-align: center; }
.lightbox__btn { position: fixed; width: 54px; height: 54px; border: 0; background: rgba(255, 255, 255, .16); color: var(--white); font-size: 2.2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox__btn:hover { background: var(--pink); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__close .ico { width: 26px; height: 26px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* tablet */
@media (max-width: 1100px) {
  .nav { display: none; }
  .top__menu { display: grid; place-items: center; }
  .services__in, .reviews__in, .about__in, .quote__in { grid-template-columns: minmax(0, 1fr); }
  .services__photo, .reviews__head { position: static; }
  .where__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spot:nth-child(3n + 2) { margin-top: 0; }
  .spot:nth-child(2n) { margin-top: 56px; }
  .facts__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li { border-left: 0; padding: 20px 16px 20px 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .18); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 22vw, 240px); }
}

@media (max-width: 860px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .facet--hero { aspect-ratio: 4 / 3; margin-right: 18px; }
}

/* phone */
@media (max-width: 640px) {
  :root { --cut: 26px; }
  body { font-size: 1.0625rem; padding-bottom: 76px; }
  html { scroll-padding-top: 72px; }
  .top__in { min-height: 64px; gap: 8px; }
  .top__tel { display: none; }
  .brand img { width: 58px; }
  .brand__name { font-size: 1.3rem; }
  .hero__in { padding-top: 26px; gap: 30px; }
  .hero h1 { font-size: clamp(2.9rem, 14.2vw, 4rem); }
  .hero__lead { font-size: 1.1rem; margin-top: 16px; }
  .hero__cta { margin-top: 22px; }
  .hero__cta .btn { width: 100%; }
  .hero__rating { margin-top: 20px; font-size: .98rem; gap: 8px; }
  .hero__rating .ico { width: 18px; height: 18px; }
  .facet--hero { --cut: 34px; margin-right: 12px; }
  .facet--hero::before { transform: translate(12px, 12px); }
  .facts strong { font-size: 1.4rem; }
  .facts span { font-size: .95rem; }
  .where__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .spot:nth-child(2n) { margin-top: 0; }
  .spot .facet { aspect-ratio: 1 / 1.08; }
  .svc > div { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 30vw; gap: 8px; }
  .reviews__list { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .rev--lead { padding-bottom: 32px; }
  .rev--lead p { font-size: 1.15rem; }
  .score__num { font-size: 5rem; }
  .foot__in { grid-template-columns: minmax(0, 1fr); padding-block: 36px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; transform: none; }
  .sticky-book {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--black); box-shadow: 0 -6px 20px rgba(0, 0, 0, .3);
  }
  .sticky-book .btn { flex: 1; min-height: 54px; padding-inline: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
