/* Your Tree page (/your-tree). Loaded only on that page, after site.css.
   Reuses site.css for type, buttons, links, eyebrows and section heads; this file
   adds the page's own sections. Colors are the brand tokens only. */

/* ------------------------------------------------------------ shared inside-page bits */
.in-h2 {
  font-family: var(--font-display); font-weight: 400; letter-spacing: -.02em;
  font-size: clamp(34px, calc(.75rem + 3.9vw), 68px); line-height: 1.08;
}
.in-h2 em { font-style: italic; color: var(--drd-bronze); }
.ph-line {
  display: block; width: fit-content; max-width: 100%; margin-top: 12px; padding: 3px 8px;
  font-family: var(--font-label); font-size: 14px; line-height: 21px; letter-spacing: .02em;
  color: var(--drd-taupe); background: rgba(166, 124, 78, .14);
}
.yt-lede { max-width: 520px; font-size: 18px; line-height: 30px; }
.yt-caption {
  padding-top: 14px; font-family: var(--font-label); font-weight: 500; font-size: 12px; line-height: 18px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--drd-taupe);
}
.yt-head { padding-bottom: 72px; }
.yt-aside { width: 380px; padding-bottom: 10px; }

/* ------------------------------------------------------------ hero: photo bleeds off the left edge */
.yt-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.yt-hero-figure { position: relative; order: -1; height: clamp(600px, 54vw, 820px); background: var(--drd-stone); }
.yt-hero-figure picture, .yt-hero-figure img { width: 100%; height: 100%; }
.yt-hero-figure img { object-fit: cover; }
.yt-hero-copy {
  display: flex; flex-direction: column; justify-content: center; gap: 32px;
  padding: 72px max(var(--gutter), calc((100vw - 1440px) / 2 + 64px)) 72px 80px;
}
.yt-title {
  font-family: var(--font-display); font-weight: 400; letter-spacing: -.02em;
  font-size: min(68px, calc((50vw - 144px) * .118)); line-height: 1.07;
}
.yt-title span, .yt-title em { display: block; text-wrap: balance; }
.yt-title em { font-style: italic; color: var(--drd-bronze); line-height: 1.12; }
.yt-hero-copy .btn-row { padding-top: 8px; }

@media (max-width: 1023px) {
  .yt-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .yt-hero-figure { order: -1; height: auto; aspect-ratio: 3 / 2; }
  .yt-hero-copy { gap: 24px; padding: 56px var(--gutter) 48px; }
  .yt-title { font-size: clamp(40px, 7vw, 64px); }
}
@media (max-width: 767px) {
  .yt-hero-figure { aspect-ratio: 4 / 5; }
  .yt-hero-figure .photo-chip { left: var(--gutter); bottom: 14px; }
  .yt-hero-copy { padding-block: 32px 40px; gap: 22px; }
  .yt-hero .eyebrow { font-size: 12px; letter-spacing: .16em; gap: 12px; }
  .yt-hero .eyebrow::before { flex-basis: 24px; }
}

/* ------------------------------------------------------------ three paths */
.yt-paths { padding-block: 136px 128px; }
.yt-path-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.yt-path { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid var(--drd-espresso); }
.yt-path-title { font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 34px; letter-spacing: -.01em; }
.yt-path-body { font-size: 16px; line-height: 26px; }
.yt-path .text-link { margin-top: auto; }
.yt-path-body + .text-link { margin-top: 10px; }

/* ------------------------------------------------------------ capacity (Hunter Green) */
.yt-capacity { background: var(--drd-hunter); color: var(--drd-cream); padding-block: 88px 96px; }
.yt-capacity .eyebrow { color: var(--drd-stone); }
.yt-capacity .eyebrow::before { background: var(--drd-bronze-light); }
.yt-cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid var(--line-dark); }
.yt-cap { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 18px; padding: 36px 40px 0; }
.yt-cap:first-child { padding-left: 0; }
.yt-cap + .yt-cap { border-left: 1px solid var(--line-dark); }
.yt-cap-num {
  margin: 0; font-family: var(--font-display); font-weight: 400; font-feature-settings: "lnum";
  font-size: min(128px, 8.9vw); line-height: 1; letter-spacing: -.03em; color: var(--drd-bronze-light);
}
.yt-cap-unit { font-size: .34em; letter-spacing: 0; color: var(--drd-cream); }
.yt-cap-label {
  font-family: var(--font-label); font-weight: 500; font-size: 13px; line-height: 16px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--drd-cream);
}
.yt-cap-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }
.yt-cap-note { max-width: 640px; margin-top: 48px; font-size: 18px; line-height: 30px; color: var(--drd-cream); }
.yt-cap-note strong { font-weight: 500; }
.yt-cap-note a { color: var(--drd-cream); text-decoration-color: var(--drd-bronze-light); text-underline-offset: 4px; overflow-wrap: anywhere; }
.yt-cap-note a:hover { text-decoration-color: var(--drd-cream); }

/* ------------------------------------------------------------ what to send us */
.yt-send { padding-block: 144px; }
.yt-send-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; align-items: start; }
.yt-send-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--drd-stone); }
.yt-send-photo img { width: 100%; height: 100%; object-fit: cover; }
.yt-send-copy { display: flex; flex-direction: column; gap: 40px; padding-top: 8px; }
.yt-send-head { display: flex; flex-direction: column; gap: 24px; }
.yt-rows { border-bottom: 1px solid var(--drd-espresso); }
.yt-row { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 20px; padding-block: 20px; border-top: 1px solid var(--drd-espresso); }
.yt-row-num { font-family: var(--font-display); font-size: 28px; line-height: 32px; color: var(--drd-bronze); font-feature-settings: "lnum"; }
.yt-row-title { font-family: var(--font-display); font-weight: 400; font-size: 23px; line-height: 30px; }
.yt-row-body { padding-top: 4px; font-size: 16px; line-height: 26px; }
.yt-note { max-width: 560px; font-size: 16px; line-height: 26px; }
.yt-note strong { font-family: var(--font-label); font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-right: 6px; }

/* ------------------------------------------------------------ how it works (Stone) */
.yt-how { background: var(--drd-stone); padding-block: 128px 136px; }
.yt-band { position: relative; aspect-ratio: 1312 / 520; overflow: hidden; background: var(--drd-taupe); }
.yt-band img { width: 100%; height: 100%; object-fit: cover; }
.yt-band .photo-chip { left: 20px; bottom: 20px; }
.yt-steps { margin-top: 72px; border-bottom: 1px solid var(--drd-espresso); }
.yt-step {
  display: grid; grid-template-columns: 220px minmax(0, 300px) minmax(0, 1fr); gap: 48px;
  align-items: center; padding-block: 28px; border-top: 1px solid var(--drd-espresso);
}
/* One drawing from the five-step strip, cropped by --i (0 to 4), same math as the homepage */
.yt-art { position: relative; overflow: hidden; width: 220px; aspect-ratio: 243 / 210; }
.yt-art img { position: absolute; top: 0; left: calc(var(--i) * -109.877%); height: 100%; width: auto; max-width: none; }
.yt-step-head { display: flex; flex-direction: column; gap: 10px; }
.yt-step-num {
  font-family: var(--font-label); font-weight: 500; font-size: 13px; line-height: 16px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--drd-taupe);
}
.yt-step-title { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 36px; letter-spacing: -.01em; }
.yt-step-body { max-width: 560px; font-size: 17px; line-height: 28px; }

.yt-honest { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; padding-top: 88px; }
.yt-honest .eyebrow { padding-top: 12px; }
.yt-honest-line { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.3; letter-spacing: -.01em; }
.yt-honest-line em { font-style: italic; color: var(--drd-taupe); }
.yt-honest-body { padding-top: 20px; font-size: 17px; line-height: 28px; }

/* ------------------------------------------------------------ proof: quote and reel link */
.yt-proof { padding-top: 144px; }
.yt-proof-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.yt-proof-title { padding-top: 14px; }
.yt-proof-main { display: flex; flex-direction: column; gap: 48px; }
.yt-quote-fig { display: flex; flex-direction: column; gap: 24px; }
.yt-quote p {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 2.9vw, 42px); line-height: 1.32;
  letter-spacing: -.01em; text-wrap: pretty;
}
.yt-quote-by { font-family: var(--font-label); font-size: 15px; line-height: 22px; color: var(--drd-taupe); }
.yt-reel { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 24px; border-top: 1px solid var(--drd-espresso); }
.yt-reel .caps-label { color: var(--drd-taupe); }
.yt-reel-line { font-size: 17px; line-height: 28px; }
.yt-reel .text-link { margin-top: 6px; }

/* ------------------------------------------------------------ FAQ */
.yt-faq { padding-block: 144px; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; align-items: start; }
.faq-head { display: flex; flex-direction: column; gap: 24px; }
.faq-list { border-bottom: 1px solid var(--line); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item summary {
  position: relative; display: block; padding: 24px 56px 24px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 23px; line-height: 31px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-item summary::after {
  content: ""; position: absolute; right: 6px; top: 39px; width: 16px; height: 1.5px; background: var(--drd-bronze);
  transition: transform .2s ease;
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0deg); }
.faq-item summary:hover { color: var(--drd-taupe); }
.faq-a { padding: 0 56px 28px 0; font-size: 17px; line-height: 28px; }
.faq-a p + p { margin-top: 12px; }
.faq-a .ph-line { margin-top: 0; }
.faq-a p + .ph-line { margin-top: 12px; }

/* ------------------------------------------------------------ the form (Stone, like the Millwork quote form) */
.yt-form-sec { background: var(--drd-stone); padding-block: 128px 136px; scroll-margin-top: 0; }
.yt-form-grid { display: grid; grid-template-columns: minmax(0, 472fr) minmax(0, 744fr); gap: 96px; align-items: start; }
.yt-form-copy { display: flex; flex-direction: column; gap: 24px; padding-top: 8px; }
.yt-form-copy .ph-line { margin-top: -8px; }
.yt-talk { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--drd-espresso); }
.yt-talk .caps-label { color: var(--drd-taupe); }
.yt-talk a { text-decoration: none; }
.yt-talk a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.yt-talk-phone { font-family: var(--font-display); font-size: 30px; line-height: 38px; }
.yt-talk-line { font-family: var(--font-label); font-size: 15px; line-height: 22px; }

.yt-panel { background: var(--drd-cream); padding: 44px; }
.yt-form { display: flex; flex-direction: column; gap: 24px; }
.yt-form[hidden], .yt-sent[hidden] { display: none; }
.f-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.f-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.f-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.f-group .f-label { padding: 0; margin-bottom: 10px; }
.f-label {
  font-family: var(--font-label); font-weight: 500; font-size: 12px; line-height: 16px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--drd-taupe);
}
.f-opt { margin-left: 6px; font-weight: 400; letter-spacing: .04em; text-transform: none; }
.f-input {
  width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid rgba(107, 93, 82, .6); border-radius: 0;
  background: var(--drd-cream); color: var(--drd-espresso);
  font-family: var(--font-label); font-size: 16px; line-height: 22px;
  -webkit-appearance: none; appearance: none;
}
.f-input::placeholder { color: var(--drd-taupe); opacity: 1; }
.f-input:hover { border-color: var(--drd-espresso); }
.f-input:focus { outline: 2px solid var(--drd-espresso); outline-offset: 0; border-color: var(--drd-espresso); }
.f-input[aria-invalid="true"] { border-color: var(--drd-crimson); }
.f-textarea { min-height: 120px; padding-block: 14px; resize: vertical; }
.f-error { font-family: var(--font-label); font-size: 14px; line-height: 20px; color: var(--drd-crimson); }
.f-hint { font-family: var(--font-label); font-size: 14px; line-height: 20px; color: var(--drd-taupe); }

.f-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.f-chip { position: relative; display: inline-flex; cursor: pointer; }
.f-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.f-chip span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 10px 16px;
  border: 1px solid var(--drd-espresso); border-radius: 999px;
  font-family: var(--font-label); font-weight: 500; font-size: 14px; line-height: 18px; color: var(--drd-espresso);
  transition: background-color .2s ease, color .2s ease;
}
.f-chip:hover span { background: var(--drd-stone); }
.f-chip input:checked + span { background: var(--drd-espresso); color: var(--drd-cream); }
.f-chip input:focus-visible + span { outline: 2px solid var(--drd-espresso); outline-offset: 3px; }

.f-upload {
  align-items: flex-start; padding: 20px; border: 1px dashed var(--drd-taupe); background: var(--drd-cream);
}
.f-file { max-width: 100%; font-family: var(--font-label); font-size: 15px; line-height: 22px; color: var(--drd-espresso); }
.f-file::file-selector-button {
  margin-right: 14px; padding: 11px 16px; border: 1px solid var(--drd-espresso); border-radius: 0;
  background: transparent; color: var(--drd-espresso); cursor: pointer;
  font-family: var(--font-label); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}
.f-file::file-selector-button:hover { background: var(--drd-espresso); color: var(--drd-cream); }
.f-file:focus-visible { outline: 2px solid var(--drd-espresso); outline-offset: 3px; }
.f-submit { width: 100%; margin-top: 4px; }

.yt-sent { display: flex; flex-direction: column; gap: 18px; padding-block: 24px; }
.yt-sent:focus { outline: none; }
.yt-sent-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 3vw, 40px); line-height: 1.15; letter-spacing: -.01em; }
.yt-sent-title em { font-style: italic; color: var(--drd-bronze); }
.yt-sent-body { max-width: 540px; font-size: 17px; line-height: 28px; }
.yt-sent .ph-line { margin-top: 0; }

/* ------------------------------------------------------------ tablet */
@media (max-width: 1279px) {
  .yt-step { grid-template-columns: 180px minmax(0, 1fr); gap: 12px 36px; align-items: start; }
  .yt-art { width: 180px; grid-row: 1 / span 2; }
  .yt-step-head { padding-top: 8px; }
  .yt-form-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .yt-form-copy { max-width: 600px; }
}
@media (max-width: 1023px) {
  .yt-head { padding-bottom: 48px; }
  .yt-aside { width: auto; }
  .yt-paths { padding-block: 96px; }
  .yt-path-list { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .yt-capacity { padding-block: 72px 80px; }
  .yt-cap { padding-inline: 24px; }
  .yt-send { padding-block: 104px; }
  .yt-send-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .yt-send-figure { max-width: 520px; }
  .yt-how { padding-block: 96px 104px; }
  .yt-steps { margin-top: 56px; }
  .yt-honest { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 64px; }
  .yt-honest .eyebrow { padding-top: 0; }
  .yt-proof { padding-top: 104px; }
  .yt-proof-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .yt-proof-title { padding-top: 0; }
  .yt-proof-main { gap: 40px; }
  .yt-faq { padding-block: 104px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .yt-form-sec { padding-block: 96px 104px; }
}

/* ------------------------------------------------------------ phone */
@media (max-width: 767px) {
  .yt-lede { font-size: 17px; line-height: 28px; }
  .yt-head { padding-bottom: 40px; }
  .yt-paths { padding-block: 72px; }
  .yt-path-title { font-size: 25px; line-height: 31px; }
  .yt-capacity { padding-block: 56px 64px; }
  .yt-cap-grid { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
  .yt-cap-note { margin-top: 32px; font-size: 16px; line-height: 27px; }
  .yt-cap, .yt-cap:first-child {
    flex-direction: column-reverse; align-items: flex-start; justify-content: flex-start; gap: 8px; padding: 22px 0;
  }
  .yt-cap + .yt-cap { border-left: 0; border-top: 1px solid var(--line-dark); }
  .yt-cap-num { font-size: 64px; flex-shrink: 0; }
  .yt-cap-label { font-size: 12px; letter-spacing: .14em; text-align: left; }
  .yt-send { padding-block: 72px; }
  .yt-send-copy { gap: 32px; }
  .yt-row-title { font-size: 21px; line-height: 28px; }
  .yt-how { padding-block: 72px 80px; }
  .yt-band { aspect-ratio: 4 / 3; margin-inline: calc(-1 * var(--gutter)); }
  .yt-band .photo-chip { left: var(--gutter); bottom: 14px; }
  .yt-steps { margin-top: 40px; }
  .yt-step { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-block: 28px; }
  .yt-art { width: 150px; }
  .yt-step-head { gap: 6px; padding-top: 0; }
  .yt-step-num { font-size: 12px; letter-spacing: .14em; }
  .yt-step-title { font-size: 23px; line-height: 29px; }
  .yt-step-body { padding-top: 0; font-size: 16px; line-height: 26px; }
  .yt-art { grid-row: auto; }
  .yt-honest { padding-top: 48px; }
  .yt-proof { padding-top: 72px; }
  .yt-quote p { font-size: 26px; line-height: 36px; }
  .yt-proof-main { gap: 32px; }
  .yt-reel-line { font-size: 16px; line-height: 26px; }
  .yt-faq { padding-block: 72px; }
  .faq-item summary { padding: 20px 44px 20px 0; font-size: 20px; line-height: 28px; }
  .faq-item summary::before, .faq-item summary::after { top: 33px; }
  .faq-a { padding-right: 0; font-size: 16px; line-height: 26px; }
  .yt-form-sec { padding-block: 72px 80px; }
  .yt-form-grid { gap: 40px; }
  .yt-panel { padding: 24px 20px; margin-inline: 0; }
  .f-row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .yt-talk-phone { font-size: 26px; line-height: 34px; }
}
