/* Portable styles for TAFCON blocks. Keep selectors scoped to tf-* components. */
.tf-project-browser,.tf-service-grid,.tf-contact{
  margin-block:36px}
.tf-project-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:32px 24px}
.tf-project-card{
  min-width:0;
  border-bottom:1px solid #18232c30;
  padding-bottom:28px}
.tf-project-card.tf-featured{
  grid-column:span 2}
.tf-project-card[hidden]{
  display:none!important}
.tf-project-card>a{
  color:inherit;
  text-decoration:none;
  display:block;
  height:100%}
.tf-project-photo{
  aspect-ratio:4/3;
  background:#dcdedb;
  overflow:hidden;
  position:relative}
.tf-featured .tf-project-photo{
  aspect-ratio:2.7/1}
.tf-project-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .45s ease}
.tf-project-card a:hover img,.tf-project-card a:focus-visible img{
  transform:scale(1.035)}
.tf-photo-empty{
  display:grid;
  place-items:center;
  height:100%;
  color:#49575d;
  font-size:.875rem;
  letter-spacing:.15em}
.tf-project-copy{
  padding-top:24px}
.tf-project-copy .tf-eyebrow{
  font-size:.875rem;
  letter-spacing:.08em;
  margin:0 0 10px}
.tf-project-copy h3,.tf-project-copy h2{
  font:400 clamp(1.5rem,2.4vw,2.3rem)/1.15 Georgia,serif;
  margin:0 0 16px}
.tf-project-copy p{
  font-size:1rem;
  line-height:1.65}
.tf-text-link{
  font-weight:600;
  font-size:1rem;
  text-underline-offset:5px}
.tf-filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-block:20px 35px}
.tf-filters[hidden]{
  display:none}
.tf-filters button{
  border:1px solid #18232c40;
  background:transparent;
  color:inherit;
  border-radius:3px;
  padding:10px 18px;
  font-family:inherit;
  font-size:.875rem;
  font-weight:500;
  line-height:1.5;
  cursor:pointer;
  min-height:44px}
.tf-filters button[aria-pressed=true]{
  background:#091c2c;
  color:white;
  border-color:#091c2c}
.tf-filter-status{
  font-size:.875rem;
  min-height:1.5em;
  margin-block:16px}
.tf-empty{
  border:1px solid #8885;
  padding:32px;
  min-height:150px;
  display:grid;
  align-content:center}
.tf-empty p{
  margin:0 0 16px}
.tf-service-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px}
.tf-service-card{
  padding:30px 26px;
  border:1px solid #80808060;
  border-top:2px solid #d4ae59;
  min-width:0;
  position:relative}
.tf-service-number{
  font-size:.875rem;
  letter-spacing:.1em;
  color:#b79045}
.tf-service-card h3{
  font:400 2rem/1.15 Georgia,serif;
  margin:25px 0 18px}
.tf-service-card h3 a{
  text-decoration:none}
.tf-service-card p{
  font-size:1rem}
.tf-service-card .tf-text-link{
  display:inline-block;
  margin-top:16px}
.tf-contact{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);
  gap:clamp(32px,6vw,96px)}
.tf-contact-details{
  max-width:520px}
.tf-contact dt{
  font-size:.875rem;
  text-transform:uppercase;
  letter-spacing:.1em;
  margin-top:28px;
  opacity:.75}
.tf-contact dd{
  margin:6px 0;
  padding-bottom:22px;
  border-bottom:1px solid #80808060;
  overflow-wrap:anywhere}
.tf-contact dd a{
  text-decoration:none}
.tf-enquiry-form{
  min-width:0;
  position:relative;
  display:flex;
  flex-direction:column;
  border:1px solid #80808060;
  padding:32px}
.tf-enquiry-form label{
  font-size:.875rem;
  font-weight:600;
  margin-bottom:8px}
.tf-enquiry-form input:not([type=hidden]),.tf-enquiry-form textarea{
  width:100%;
  padding:13px;
  border:1px solid #8888;
  border-radius:2px;
  background:transparent;
  color:inherit;
  margin-bottom:22px;
  min-width:0;
  font:inherit;
  line-height:1.5}
.tf-enquiry-form input::placeholder{
  color:inherit;
  opacity:.65}
.tf-enquiry-form .tf-small{
  font-size:.875rem;
  line-height:1.7}
.tf-enquiry-form .tf-button{
  border:0;
  border-radius:3px;
  background:#d4ae59;
  color:#091c2c;
  padding:15px 25px;
  min-height:52px;
  font-size:1rem;
  font-weight:600;
  cursor:pointer;
  align-self:start}
.tf-enquiry-form [disabled]{
  opacity:.65;
  cursor:wait}
.tf-form-status{
  min-height:1.5em;
  font-size:1rem}
.tf-form-status.is-error{
  color:inherit;
  border-left:3px solid #c45838;
  padding-left:14px}
.tf-hp{
  position:absolute;
  left:-10000px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden}
.tf-contact input:focus-visible,.tf-contact textarea:focus-visible,.tf-filters button:focus-visible{
  outline:3px solid #d4ae59;
  outline-offset:4px}

@media(max-width:1000px){
  .tf-project-grid,.tf-service-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))}
.tf-project-card.tf-featured{
  grid-column:span 2}
.tf-contact{
  grid-template-columns:1fr 1.1fr;
  gap:32px}
}

@media(max-width:700px){
  .tf-project-grid,.tf-service-grid,.tf-contact{
  grid-template-columns:1fr}
.tf-project-card.tf-featured{
  grid-column:auto}
.tf-featured .tf-project-photo{
  aspect-ratio:4/3}
.tf-enquiry-form{
  padding:24px}
.tf-filters{
  gap:8px}
.tf-filters button{
  padding:9px 12px}
.tf-project-browser,.tf-service-grid,.tf-contact{
  margin-block:28px}
}

@media(prefers-reduced-motion:reduce){
  .tf-project-photo img{
  transition:none}
.tf-project-card a:hover img{
  transform:none}
}
