/*
Theme Name: TriMetro Workshop
Theme URI: https://trimetrotech.com/main/
Author: TriMetro Technologies
Description: A restrained block theme built for the TriMetro Technologies practice.
Version: 0.1.2
Requires at least: 6.7
Requires PHP: 8.3
Text Domain: trimetro-workshop
*/

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #11100f; color: #f2eee8; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 10; border-bottom: 1px solid rgba(170,164,156,.16); }
.site-header__inner { min-height: 7rem; padding: 1rem 1.5rem; }
.brand-plate { display: inline-flex; width: 10.5rem; background: #f2eee8; border-radius: 2px; overflow: hidden; }
.brand-plate img { display: block; width: 100%; height: auto; }
.wp-block-navigation a { color: #aaa49c; }
.wp-block-navigation a:hover, .wp-block-navigation a:focus-visible { color: #f2eee8; }
.nav-contact a::after { content: ""; display: inline-block; width: .35rem; height: .35rem; margin-left: .45rem; border-radius: 50%; background: #ff624f; }
.home-hero { position: relative; min-height: min(54rem, 100svh); display: grid; align-items: end; overflow: hidden; padding: 10rem 1.5rem 6rem; border-bottom: 1px solid #272421; }
.constellation { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .85; }
.home-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,16,15,.98) 0%, rgba(17,16,15,.86) 43%, rgba(17,16,15,.26) 78%, rgba(17,16,15,.58) 100%); pointer-events: none; }
.home-hero__content { position: relative; z-index: 1; width: 100%; margin: 0 auto; }
.home-hero h1 { max-width: 12ch; margin: .7rem 0 1.5rem; text-wrap: balance; }
.hero-summary { max-width: 46rem; color: #c8c2ba; }
.eyebrow, .section-index, .work-entry__kind { color: #aaa49c; font-family: var(--wp--preset--font-family--workshop-mono); font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; }
.text-links { gap: 1.5rem; margin-top: 2rem; }
.text-links p { margin: 0; }
.text-link { display: inline-flex; align-items: center; gap: .65rem; color: #f2eee8; font-size: .9rem; font-weight: 500; }
.text-link::after { content: "→"; color: #aaa49c; transition: transform 180ms ease, color 180ms ease; }
.text-link:hover::after, .text-link:focus-visible::after { transform: translateX(.25rem); color: #f2eee8; }
.text-link--primary::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: #ff624f; }
.home-section { margin-block: 0; padding: clamp(5rem, 10vw, 9rem) 1.5rem; border-bottom: 1px solid #272421; }
.home-introduction { gap: clamp(3rem, 8vw, 8rem); }
.home-section h2 { max-width: 14ch; margin-top: .8rem; }
.measure { max-width: 37rem; }
.measure p:first-child { color: #f2eee8; }
.section-heading { gap: 2rem; margin-bottom: 3rem; }
.work-list, .practice-list { border-top: 1px solid #393531; }
.work-entry, .practice-item { gap: clamp(2rem, 7vw, 7rem); padding: clamp(2.5rem, 5vw, 4.5rem) 0; border-bottom: 1px solid #393531; }
.work-entry h3, .practice-item h3 { max-width: 21ch; margin-top: .5rem; font-size: clamp(1.35rem, 1.15rem + .8vw, 2rem); }
.work-entry > div:last-child, .practice-item > p { max-width: 36rem; }
.practice-threshold > .text-link { margin-top: 2rem; }
.quiet-invitation { min-height: 34rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.quiet-invitation h2, .quiet-invitation > p { max-width: 42rem; }
.content-page { min-height: 70svh; padding: clamp(11rem, 18vw, 15rem) 1.5rem clamp(5rem, 10vw, 9rem); }
.content-page > .wp-block-post-title { max-width: 14ch; margin: 0 0 clamp(3rem, 7vw, 6rem); text-wrap: balance; }
.content-page__body { max-width: 46rem; margin-left: 0 !important; }
.content-page__body > p { margin-block: 0 1.35rem; }
.content-page__body > p:nth-child(odd):not(:first-child) { margin-top: 3.5rem; color: #f2eee8; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.85rem); line-height: 1.25; }
.work-detail > .wp-block-post-title { margin-top: .75rem; margin-bottom: 2rem; }
.work-detail > .wp-block-post-excerpt { max-width: 42rem; color: #c8c2ba; font-size: var(--wp--preset--font-size--lead); }
.work-detail > .wp-block-separator { width: 100%; margin-block: 4rem; border-color: #393531; }
.wpcf7 { margin-top: 4rem; }
.wpcf7 label { display: block; margin-bottom: 1.5rem; color: #c8c2ba; }
.wpcf7 input:not([type="submit"]), .wpcf7 textarea { width: 100%; margin-top: .55rem; padding: .9rem 1rem; border: 1px solid #393531; border-radius: 2px; background: #181614; color: #f2eee8; font: inherit; }
.wpcf7 textarea { min-height: 11rem; resize: vertical; }
.wpcf7 input[type="submit"] { padding: .8rem 1.15rem; border: 1px solid #ff624f; border-radius: 2px; background: #ff624f; color: #11100f; font: inherit; font-weight: 600; cursor: pointer; }
.wpcf7 input:focus-visible, .wpcf7 textarea:focus-visible { outline: 2px solid #ff624f; outline-offset: 3px; }
.site-footer { padding: 3rem 1.5rem 2rem; background: #0d0c0b; }
.site-footer__inner { gap: 2rem; padding-bottom: 3rem; }
.site-footer__name { color: #f2eee8; font-weight: 500; }
.site-footer__meta { gap: 1rem 3rem; padding-top: 1.5rem; border-top: 1px solid #272421; }
.site-footer__meta p { margin: 0; color: #77716b; }
a:focus-visible, button:focus-visible { outline: 2px solid #ff624f; outline-offset: 4px; }
@media (max-width: 720px) {
  .site-header__inner { min-height: 5.5rem; }
  .brand-plate { width: 8.5rem; }
  .home-hero { min-height: 47rem; padding-top: 8rem; padding-bottom: 4rem; }
  .home-hero::after { background: linear-gradient(180deg, rgba(17,16,15,.6), rgba(17,16,15,.9) 35%, #11100f 100%); }
  .home-section { padding-block: 4.5rem; }
  .work-entry, .practice-item { padding-block: 2.5rem; }
  .site-footer__inner, .site-footer__meta { align-items: flex-start !important; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
