.timber-guide {
  --timber-ink: #12213e;
  --timber-yellow: #d9cc61;
  --timber-muted: #62685f;
  --timber-line: #dcded4;
  --timber-gutter: clamp(20px, 5vw, 64px);
  color: var(--timber-ink);
  background: #f7f7f4;
  overflow-wrap: anywhere;
}

.timber-guide,
.timber-guide section[id] {
  scroll-margin-top: 24px;
}

.timber-shell {
  width: min(1184px, calc(100% - 2 * var(--timber-gutter)));
  margin-inline: auto;
}

.timber-guide p {
  line-height: 1.65;
}

.timber-guide h3 {
  margin: 0 0 24px;
  font-size: clamp(2.05rem, 4.1vw, 3.55rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.timber-guide h4 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  line-height: 1.3;
}

.timber-guide a {
  text-underline-offset: 0.25em;
  scroll-margin-block: 1rem 8rem;
}

.timber-guide a:focus-visible {
  outline: 3px solid var(--timber-ink);
  outline-offset: 5px;
}

.timber-hero a:focus-visible {
  outline-color: var(--timber-yellow);
}

.timber-eyebrow {
  margin: 0 0 20px;
  color: var(--timber-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.timber-number {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--timber-yellow);
  color: var(--timber-ink);
  letter-spacing: 0;
}

.timber-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.timber-back-link:hover {
  text-decoration: underline;
}

.timber-hero {
  padding-block: clamp(48px, 6vw, 80px);
  border-radius: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) 0 0;
  background: var(--timber-ink);
  color: #fff;
}

.timber-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.timber-hero__copy {
  min-width: 0;
}

.timber-hero .timber-back-link {
  margin-bottom: 32px;
  color: #d2d7e0;
}

.timber-hero .timber-eyebrow {
  color: var(--timber-yellow);
}

.timber-hero h2 {
  margin: 0 0 28px;
  font-size: clamp(2.8rem, 6.6vw, 5.75rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}

.timber-hero h2 span {
  color: var(--timber-yellow);
}

.timber-hero__copy > p:not(.timber-eyebrow) {
  max-width: 48ch;
  margin: 0 0 24px;
  color: #d2d7e0;
  font-size: 1.05rem;
}

.timber-hero__copy .timber-hero__promise {
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.timber-hero__copy .timber-location {
  margin: 24px 0 0;
  font-size: 0.78rem;
}

.timber-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 100%;
  min-height: 52px;
  padding: 15px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.timber-button > [aria-hidden] {
  flex-shrink: 0;
  font-size: 1.4rem;
  line-height: 1;
}

.timber-button--yellow {
  background: var(--timber-yellow);
  color: var(--timber-ink);
}

.timber-button--yellow:hover {
  background: #e9de87;
}

.timber-button--navy {
  background: var(--timber-ink);
  color: #fff;
}

.timber-button--navy:hover {
  background: #253855;
}

.timber-hero__photo {
  min-width: 0;
  margin: 0;
}

.timber-hero__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  object-fit: cover;
  object-position: 56% center;
}

.timber-hero__photo figcaption {
  margin: 16px 0 0;
  color: #d2d7e0;
  font-size: 0.82rem;
  line-height: 1.55;
}

.timber-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 32px;
  border-bottom: 1px solid var(--timber-line);
}

.timber-nav .timber-eyebrow {
  margin: 0;
}

.timber-nav ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timber-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--timber-line);
  border-radius: 999px;
  color: var(--timber-ink);
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.timber-nav a:hover {
  border-color: var(--timber-yellow);
  background: #efeac6;
}

.timber-nav a span {
  color: var(--timber-muted);
  font-size: 0.7rem;
}

.timber-section {
  padding-block: clamp(56px, 7vw, 96px);
}

.timber-section + .timber-section {
  border-top: 1px solid var(--timber-line);
}

.timber-section-heading {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  margin-bottom: 32px;
}

.timber-section-heading h3 {
  margin-bottom: 0;
}

.timber-section-heading > p {
  max-width: 54ch;
  margin: 0;
  font-size: 1rem;
}

.timber-sign-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.timber-sign-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--timber-line);
  border-radius: 24px;
  background: #fff;
}

.timber-sign-index {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--timber-muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.timber-sign-card p {
  margin: 0;
  font-size: 0.95rem;
}

.timber-note {
  margin-top: 24px;
  padding: 24px 28px;
  border-left: 4px solid var(--timber-yellow);
  border-radius: 0 16px 16px 0;
  background: #e9e6cf;
  font-size: 0.95rem;
  line-height: 1.65;
}

.timber-pest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.timber-pest-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--timber-line);
  border-radius: 24px;
  background: #fff;
}

.timber-tag {
  display: inline-block;
  align-self: start;
  margin-bottom: 24px;
  padding: 6px 10px;
  border: 1px solid var(--timber-line);
  border-radius: 999px;
  color: var(--timber-muted);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.timber-pest-card h4 {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.timber-pest-card p {
  margin: 0 0 24px;
  font-size: 0.98rem;
}

.timber-pest-card .timber-card-detail {
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--timber-line);
  color: var(--timber-muted);
  font-size: 0.85rem;
}

.timber-specific-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 32px;
  padding: 28px;
  border-radius: 20px;
  background: #e9e6cf;
}

.timber-specific-grid p {
  margin: 0;
  font-size: 0.95rem;
}

.timber-diagnostic__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}

.timber-diagnostic__grid > div > p:not(.timber-eyebrow) {
  margin: 0 0 28px;
  font-size: 1rem;
}

.timber-diagnostic-list {
  display: grid;
  gap: 24px;
  margin: 0;
  padding-left: 22px;
}

.timber-diagnostic-list li {
  padding-left: 8px;
}

.timber-diagnostic-list li::marker {
  color: var(--timber-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.timber-diagnostic-list h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.timber-diagnostic-list p {
  margin: 0;
  font-size: 0.95rem;
}

.timber-photo {
  min-width: 0;
  margin: 0;
}

.timber-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
}

.timber-photo figcaption {
  margin: 14px 0 0;
  color: var(--timber-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.timber-structural-note {
  margin-top: 36px;
  padding: 28px;
  border-radius: 24px;
  background: var(--timber-ink);
  color: #fff;
}

.timber-structural-note .timber-eyebrow {
  margin-bottom: 12px;
  color: var(--timber-yellow);
}

.timber-structural-note > p:last-child {
  max-width: 95ch;
  margin: 0;
  color: #d2d7e0;
  font-size: 1rem;
}

.timber-structural-note strong {
  color: #fff;
}

.timber-treatment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.timber-treatment-card {
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 24px;
  background: #e9e6cf;
}

.timber-treatment-card h4 {
  font-size: 1.65rem;
  letter-spacing: -0.03em;
}

.timber-treatment-card p {
  margin: 0 0 18px;
  font-size: 1rem;
}

.timber-treatment-card p:last-child {
  margin-bottom: 0;
}

.timber-treatment-card .timber-tag {
  border-color: #b9beae;
  color: #4c554b;
}

.timber-treatment-card--navy {
  background: var(--timber-ink);
  color: #fff;
}

.timber-treatment-card--navy p {
  color: #d2d7e0;
}

.timber-treatment-card--navy .timber-tag {
  border-color: #ffffff55;
  color: var(--timber-yellow);
}

.timber-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.timber-method-grid img {
  aspect-ratio: 4 / 3;
}

.timber-process {
  padding-block: clamp(56px, 7vw, 96px);
  background: #e9e4b9;
}

.timber-process .timber-eyebrow {
  color: #4c554b;
}

.timber-process .timber-number {
  background: var(--timber-ink);
  color: var(--timber-yellow);
}

.timber-process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timber-process-list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 28px;
  border-radius: 24px;
  background: #f9f8ee;
}

.timber-process-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--timber-ink);
  border-radius: 50%;
  font-size: 0.8rem;
}

.timber-process-list p {
  margin: 0;
  font-size: 0.95rem;
}

.timber-safety-note {
  margin-top: 28px;
  font-size: 0.95rem;
  line-height: 1.65;
}

.timber-project {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  margin-top: clamp(48px, 6vw, 80px);
  padding: clamp(28px, 4.5vw, 60px);
  border-radius: 32px;
  background: var(--timber-yellow);
}

.timber-project .timber-eyebrow {
  color: #3e473b;
}

.timber-project > div > p:not(.timber-eyebrow) {
  max-width: 52ch;
  margin: 0 0 28px;
  font-size: 1rem;
}

.timber-project__notes ul {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding-left: 20px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.timber-project .timber-project__notes > p {
  margin: 0;
  font-size: 0.85rem;
}

.timber-end {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding-block: 32px 5rem;
  color: var(--timber-muted);
}

.timber-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 1050px) {
  .timber-sign-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .timber-hero__grid,
  .timber-section-heading,
  .timber-sign-grid,
  .timber-pest-grid,
  .timber-specific-grid,
  .timber-diagnostic__grid,
  .timber-treatment-grid,
  .timber-method-grid,
  .timber-process-list,
  .timber-project {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .timber-hero h2 {
    font-size: clamp(2.4rem, 11.5vw, 4.5rem);
  }

  .timber-hero__photo img {
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    object-position: center;
  }

  .timber-nav {
    flex-direction: column;
    align-items: start;
    gap: 16px;
    padding-block: 28px;
  }

  .timber-nav ol {
    justify-content: flex-start;
  }

  .timber-section-heading {
    margin-bottom: 28px;
  }

  .timber-note,
  .timber-sign-card,
  .timber-pest-card,
  .timber-specific-grid,
  .timber-structural-note,
  .timber-process-list li,
  .timber-project {
    padding: 24px;
  }

  .timber-process-list li {
    gap: 14px;
  }

  .timber-project {
    border-radius: 24px;
  }

  .timber-project .timber-button {
    width: 100%;
    padding-inline: 16px;
    gap: 12px;
    font-size: 0.88rem;
  }

  .timber-end {
    flex-direction: column;
    gap: 12px;
  }
}
