/*
Theme Name: Theprojectadvisory
Theme URI: http://localhost:8080
Author: The Project Advisory
Description: A refined, responsive theme for an independent project advisory practice.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: theprojectadvisory
*/

@font-face {
  font-family: "LEMON MILK";
  src: url("assets/fonts/LEMONMILK-Light.otf") format("opentype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Switzer";
  src: url("assets/fonts/Switzer-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("assets/fonts/Switzer-VariableItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "LEMON MILK";
  src: url("assets/fonts/LEMONMILK-LightItalic.otf") format("opentype");
  font-style: italic;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "LEMON MILK";
  src: url("assets/fonts/LEMONMILK-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "LEMON MILK";
  src: url("assets/fonts/LEMONMILK-RegularItalic.otf") format("opentype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "LEMON MILK";
  src: url("assets/fonts/LEMONMILK-Medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "LEMON MILK";
  src: url("assets/fonts/LEMONMILK-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --bone: #c4bcb1;
  --terracotta: #a85b4b;
  --green: #8e8463;
  --brown: #826352;
  --ink: #332b27;
  --ink-soft: #66564d;
  --paper: var(--bone);
  --paper-light: #d8d1c8;
  --green-light: #b4ac91;
  --copper: var(--terracotta);
  --line: rgba(51, 43, 39, 0.2);
  --shadow: 0 24px 70px rgba(51, 43, 39, 0.18);
  --radius: 22px;
  --wrap: min(1180px, calc(100% - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper-light);
  color: var(--ink);
  font-family: "Switzer", Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea { font: inherit; }
body.preloader-active { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.site-shell { overflow: hidden; }
.site-wrap { width: var(--wrap); margin-inline: auto; }

/* Discovery call booking */
.booking-page-body {
  background: var(--terracotta);
  color: #fff;
}
.booking-page {
  position: relative;
  min-height: 100svh;
  padding: clamp(28px, 4vw, 54px) clamp(20px, 4vw, 64px) clamp(54px, 7vw, 90px);
  background: var(--terracotta);
  color: #fff;
}
.booking-simple-header {
  width: min(1120px, 100%);
  margin: 0 auto clamp(48px, 6vw, 82px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.booking-home-link {
  justify-self: start;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.55);
  font-family: "Switzer", Arial, sans-serif;
  font-size: .67rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color .25s ease, opacity .25s ease;
}
.booking-home-link:hover,
.booking-home-link:focus-visible { border-color: #fff; opacity: .72; outline: none; }
.booking-header-logo { display: block; width: clamp(82px, 10vw, 126px); }
.booking-header-logo img { width: 100%; display: block; }
.booking-heading { width: min(790px, 100%); margin: 0 auto clamp(32px, 5vw, 64px); text-align: center; }
.booking-heading p,
.booking-kicker {
  margin: 0 0 14px;
  font-family: "Switzer", Arial, sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  text-transform: uppercase;
}
.booking-heading h1 {
  margin: 0;
  font-family: "LEMON MILK", Arial, sans-serif;
  font-size: clamp(2.65rem, 6vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.15;
}
.booking-card {
  width: min(1120px, 100%);
  min-height: 610px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(470px, 1.2fr);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.43);
  background: rgba(255,255,255,.07);
  box-shadow: 0 34px 90px rgba(70, 28, 19, .19);
}
.booking-details { padding: clamp(34px, 5vw, 66px); border-right: 1px solid rgba(255,255,255,.3); }
.booking-details h2 {
  max-width: 410px;
  margin: 0 0 26px;
  font-family: "LEMON MILK", Arial, sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.2;
  text-wrap: balance;
}
.booking-duration { display: flex; align-items: center; gap: 9px; margin: 0 0 32px; font-size: .86rem; font-weight: 600; letter-spacing: .03em; }
.booking-duration svg { width: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.5; }
.booking-description { max-width: 430px; color: rgba(255,255,255,.78); font-size: .94rem; line-height: 1.7; }
.booking-description p { margin: 0; }
.booking-description p + p { margin-top: 16px; }
.booking-show-all {
  margin: 24px 0 0;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.booking-scheduler { min-width: 0; padding: 16px; background: #fff; color: var(--ink); }
.booking-acuity-frame { display: block; width: 100%; border: 0; }
.booking-fallback { margin: 16px 0; font-size: .8rem; line-height: 1.5; text-align: center; }
.booking-fallback a { color: var(--ink); text-underline-offset: 3px; }
.booking-fallback a:hover { color: var(--terracotta); }

@media (max-width: 820px) {
  .booking-simple-header { margin-bottom: 48px; }
  .booking-heading { width: min(100%, 620px); }
  .booking-card { grid-template-columns: 1fr; }
  .booking-details { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.3); }
}
@media (max-width: 520px) {
  .booking-page { padding-inline: 14px; }
  .booking-heading h1 { font-size: clamp(2.4rem, 13vw, 4rem); }
  .booking-details { padding: 32px 22px; }
  .booking-scheduler { padding: 0; }
}

/* Minimal full-screen video homepage */
html:has(body.minimal-video-home),
body.minimal-video-home { width: 100%; min-height: 100%; margin: 0; }
.fullscreen-video-page {
  position: sticky;
  top: 0;
  z-index: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  isolation: isolate;
  contain: paint;
  overflow: hidden;
  background: var(--brown);
}
.fullscreen-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  backface-visibility: hidden;
}
.fullscreen-video-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(35, 28, 24, .28);
}
.property-advisory-section {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: clamp(72px, 9vh, 110px) 0 clamp(30px, 4vh, 52px);
  background: var(--brown);
  color: #fff;
  box-shadow: 0 -32px 70px rgba(35, 28, 24, .24);
}
.property-advisory-logo {
  position: absolute;
  top: clamp(28px, 5vh, 58px);
  left: 50%;
  width: min(18vw, 170px);
  display: block;
  transform: translateX(-50%);
}
.property-advisory-logo img {
  display: block;
  width: 100%;
  height: auto;
}
.property-advisory-inner {
  width: 100%;
  margin: 0;
  padding-inline: clamp(24px, 2vw, 40px);
  display: flex;
  justify-content: flex-start;
}
.property-advisory-section h2,
.property-advisory-image,
.property-advisory-copy {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity .8s cubic-bezier(.2,.7,.25,1), transform .8s cubic-bezier(.2,.7,.25,1);
}
.property-advisory-section.is-visible h2,
.property-advisory-section.is-visible .property-advisory-image,
.property-advisory-section.is-visible .property-advisory-copy {
  opacity: 1;
  transform: translateY(0);
}
.property-advisory-section.is-visible h2 { transition-delay: .1s; }
.property-advisory-section.is-visible .property-advisory-image { transition-delay: .22s; }
.property-advisory-section.is-visible .property-advisory-copy { transition-delay: .32s; }
.property-advisory-section h2 {
  max-width: none;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 300;
  letter-spacing: .012em;
  line-height: 1.12;
  text-wrap: balance;
}
.property-advisory-section .property-advisory-statement {
  width: min(72vw, 1320px);
  display: block;
  margin: 0;
  color: #fff;
  font-family: "LEMON MILK", Arial, sans-serif;
  font-size: clamp(1.9rem, 3.7vw, 4rem);
  font-weight: 700;
  letter-spacing: -.018em;
  line-height: 1.1;
  text-align: left;
  text-transform: uppercase;
  text-wrap: balance;
}
.property-advisory-mark {
  color: inherit;
}
.advisory-heading-line { display: block; }
.advisory-comma,
.advisory-period { color: var(--ink); }
.advisory-focus {
  position: relative;
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  cursor: pointer;
  transition: color .3s ease;
}
.advisory-focus::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: .05em;
  left: 0;
  height: .045em;
  min-height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.advisory-focus:hover,
.advisory-focus:focus-visible,
.advisory-focus.is-active { color: var(--terracotta); font-weight: 500; outline: none; }
.advisory-focus:hover::after,
.advisory-focus:focus-visible::after,
.advisory-focus.is-active::after { transform: scaleX(1); }
.property-advisory-details {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(420px, 1.18fr);
  align-items: start;
  gap: clamp(50px, 8vw, 110px);
  margin-top: clamp(52px, 8vw, 100px);
}
.property-advisory-image {
  position: relative;
  margin: 8px 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--brown);
  --parallax-x: 0px;
  --parallax-y: 0px;
}
.property-advisory-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(51, 43, 39, .18);
  pointer-events: none;
}
.property-advisory-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--focus-position, 38%) center;
  transform: scale(1.055) translate3d(var(--parallax-x), var(--parallax-y), 0);
  transition: object-position .65s cubic-bezier(.22, 1, .36, 1), transform .18s ease-out, filter .45s ease;
}
.property-advisory-image.is-interacting img { filter: saturate(1.12) contrast(1.04); }
.property-advisory-image-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  background: rgba(51, 43, 39, .78);
  color: #fff;
  backdrop-filter: blur(8px);
}
.property-advisory-image-label span { color: rgba(255,255,255,.58); font-size: .65rem; letter-spacing: .16em; }
.property-advisory-image-label strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.15rem, 2vw, 1.65rem); font-weight: 400; }
.property-advisory-copy {
  width: 100%;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(.88rem, 1.25vw, 1.04rem);
  font-weight: 300;
  letter-spacing: .015em;
  line-height: 1.85;
}
.property-advisory-copy p { margin: 0; }
.property-advisory-copy p + p {
  margin-top: 30px;
  color: var(--brown);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.15vw, 2rem);
  font-weight: 500;
  line-height: 1.32;
}
.track-record-section {
  position: relative;
  z-index: 3;
  min-height: 46svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(38px, 5vw, 64px) 0;
  background: var(--terracotta);
  color: var(--bone);
}
.track-record-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  height: 3px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s cubic-bezier(.22, 1, .36, 1);
  pointer-events: none;
}
.track-record-section.is-visible::before { transform: scaleX(1); }
.track-record-orbit {
  position: absolute;
  right: -20vw;
  bottom: -42vw;
  width: min(82vw, 1050px);
  aspect-ratio: 1;
  border: 1px solid rgba(196,188,177,.17);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.78) rotate(-10deg);
  transform-origin: center;
  transition: opacity 1s ease .1s, transform 1.35s cubic-bezier(.22, 1, .36, 1) .1s;
}
.track-record-section.is-visible .track-record-orbit { opacity: 1; transform: scale(1) rotate(0); }
.track-record-orbit::before,
.track-record-orbit::after {
  content: "";
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(196,188,177,.12);
  border-radius: inherit;
}
.track-record-orbit::after { inset: 30%; }
.track-record-inner { position: relative; z-index: 1; width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.track-record-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); }
.track-record-stat { display: grid; grid-template-rows: subgrid; grid-row: span 2; position: relative; min-width: 0; overflow: hidden; padding: 18px clamp(18px, 2.2vw, 32px) 26px; }
.track-record-stat:first-child { padding-left: 0; }
.track-record-stat + .track-record-stat { border-left: 1px solid rgba(255,255,255,.22); }
.track-record-index { display: block; margin-bottom: clamp(24px, 3vw, 35px); color: rgba(255,255,255,.46); font-size: .66rem; letter-spacing: .15em; }
.track-record-number {
  display: block;
  align-self: end;
  color: var(--bone);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 2.75vw, 3.15rem);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: .9;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  white-space: nowrap;
}
.track-record-stat:first-child .track-record-number { color: #fff; font-size: clamp(4.5rem, 7.5vw, 7rem); font-weight: 700; }
.track-record-stat p { margin: 16px 0 0; color: var(--bone); font-size: .69rem; font-weight: 800; letter-spacing: .11em; line-height: 1.5; text-transform: uppercase; }
.track-record-stat { opacity: 0; transform: translateY(42px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.25,1); }
.track-record-section.is-visible .track-record-stat { opacity: 1; transform: translateY(0); }
.track-record-section.is-visible .track-record-stat:nth-child(1) { transition-delay: .12s; }
.track-record-section.is-visible .track-record-stat:nth-child(2) { transition-delay: .22s; }
.track-record-section.is-visible .track-record-stat:nth-child(3) { transition-delay: .32s; }
.studio-section {
  position: relative;
  z-index: 4;
  padding: clamp(90px, 11vw, 165px) 0;
  overflow: hidden;
  background: var(--paper-light);
  color: var(--ink);
}
.studio-inner {
  width: 100%;
  margin: 0;
  padding-inline: clamp(24px, 2vw, 40px);
}
.studio-intro {
  width: 100%;
  margin: clamp(48px, 6vw, 88px) 0 0;
  padding: 0;
  display: block;
}
.studio-index { padding-top: 14px; color: var(--terracotta); font-size: .68rem; font-weight: 800; letter-spacing: .16em; }
.studio-intro h2 {
  max-width: 1120px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 3.5vw, 3.4rem);
  font-weight: 300;
  letter-spacing: .006em;
  line-height: 1.12;
  text-wrap: balance;
}
.studio-intro h2 > span { display: block; }
.studio-subheading {
  max-width: 920px;
  margin: clamp(38px, 5vw, 72px) 0 0 auto;
  font-size: clamp(1rem, 1.45vw, 1.3rem);
  line-height: 1.55;
  text-align: right;
}
.studio-heading-accent {
  width: fit-content;
  margin-top: .12em;
  padding: .08em .16em .12em;
  background: var(--terracotta);
  color: var(--paper-light);
}
.studio-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 860px);
  gap: 18px;
  margin: 0;
}
.studio-placeholder {
  position: relative;
  min-width: 0;
  height: auto;
  aspect-ratio: 3 / 4;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: #fff;
  text-align: left;
  isolation: isolate;
}
.studio-placeholder-one { background: url("assets/Whoweare/who we are overlay 1.png") center / cover no-repeat; }
.studio-placeholder-two { background: url("assets/Whoweare/who we are overlay 2.png") center / cover no-repeat; }
.studio-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255,255,255,.22), transparent 28%);
  opacity: 0;
  transform: scale(.82);
  transition: opacity .35s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}
.studio-placeholder:hover::before { opacity: 1; transform: scale(1); }
.studio-placeholder:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 4px; }
.studio-placeholder-grid {
  position: absolute;
  inset: 0;
  opacity: .34;
  background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 11% 11%;
  transform: scale(1.08) rotate(-2deg);
  transition: transform .8s cubic-bezier(.22, 1, .36, 1), opacity .4s ease;
}
.studio-placeholder:hover .studio-placeholder-grid { opacity: .55; transform: scale(1) rotate(0); }
.studio-placeholder-meta {
  position: absolute;
  right: 28px;
  bottom: 26px;
  left: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.55);
  text-transform: uppercase;
}
.studio-placeholder-meta b { font-size: .68rem; letter-spacing: .16em; }
.studio-placeholder-meta span { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2.5vw, 2.4rem); font-weight: 400; text-transform: none; }
.studio-copy { display: grid; grid-template-columns: 1fr .72fr; gap: clamp(55px, 9vw, 120px); margin-top: clamp(70px, 9vw, 120px); padding-top: 42px; border-top: 1px solid var(--line); }
.studio-lede { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2.35vw, 2.25rem); font-weight: 500; letter-spacing: -.012em; line-height: 1.32; }
.studio-copy-detail { color: var(--ink-soft); font-size: clamp(.82rem, 1vw, .94rem); font-weight: 300; letter-spacing: .015em; line-height: 1.9; }
.studio-copy-detail p { margin: 0; }
.studio-copy-detail p + p { margin-top: 28px; }
.studio-intro,
.studio-gallery,
.studio-copy { opacity: 0; transform: translateY(48px); transition: opacity .8s ease, transform .8s cubic-bezier(.22, 1, .36, 1); }
.studio-section.is-visible .studio-intro,
.studio-section.is-visible .studio-gallery,
.studio-section.is-visible .studio-copy { opacity: 1; transform: translateY(0); }
.studio-section.is-visible .studio-gallery { transition-delay: .12s; }
.studio-section.is-visible .studio-copy { transition-delay: .24s; }

/* Services */
.tp-services-section {
  position: relative;
  z-index: 5;
  padding: clamp(80px, 10vw, 145px) 0;
  overflow: hidden;
  background: var(--green);
  color: #1c2118;
}
.tp-services-section::before {
  content: "";
  position: absolute;
  right: -15vw;
  bottom: -42vw;
  width: min(78vw, 960px);
  aspect-ratio: 1;
  border: 1px solid rgba(196, 188, 177, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 12vw rgba(196, 188, 177, .025), 0 0 0 24vw rgba(196, 188, 177, .02);
  pointer-events: none;
}
.tp-services-inner { position: relative; width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.tp-services-header {
  display: grid;
  grid-template-columns: .35fr 1fr .75fr;
  align-items: end;
  gap: clamp(28px, 5vw, 80px);
  margin-bottom: clamp(58px, 8vw, 105px);
}
.tp-services-kicker {
  margin: 0 0 .65em;
  color: inherit;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.tp-services-header h2 {
  margin: 0;
  font-family: "LEMON MILK", Arial, sans-serif;
  font-size: clamp(3.8rem, 8vw, 8rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: .82;
  text-transform: uppercase;
}
.tp-services-header > p:last-child { max-width: 390px; margin: 0; color: inherit; font-size: clamp(.9rem, 1.2vw, 1.05rem); line-height: 1.65; }
.tp-services-list { border-top: 1px solid rgba(255,255,255,.2); }
.tp-service-item {
  position: relative;
  color: inherit;
  text-decoration: none;
  display: grid;
  grid-template-columns: 90px 1fr 60px;
  align-items: center;
  gap: 24px;
  min-height: clamp(105px, 11vw, 145px);
  padding: 18px 10px;
  border-bottom: 1px solid rgba(255,255,255,.2);
  isolation: isolate;
  transition: color .35s ease, padding .35s cubic-bezier(.22,1,.36,1);
}
.tp-service-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--terracotta);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.tp-service-item:hover,
.tp-service-item:focus-within { padding-inline: 28px; color: #fff; }
.tp-service-item:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.tp-service-item:hover::before,
.tp-service-item:focus-within::before { transform: scaleY(1); }
.tp-service-number { color: inherit; font-size: .72rem; font-weight: 700; letter-spacing: .14em; }
.tp-service-copy { min-width: 0; }
.tp-service-item h3 {
  margin: 0;
  font-family: "LEMON MILK", Arial, sans-serif;
  font-size: clamp(1.65rem, 3.4vw, 3.45rem);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1;
  text-transform: uppercase;
}
.tp-service-description {
  max-width: 680px;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: rgba(255,255,255,.78);
  font-size: clamp(.82rem, 1.05vw, 1rem);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(8px);
  transition: max-height .45s cubic-bezier(.22,1,.36,1), margin .35s ease, opacity .3s ease, transform .4s cubic-bezier(.22,1,.36,1);
}
.tp-service-item:hover .tp-service-description,
.tp-service-item:focus-within .tp-service-description {
  max-height: 5em;
  margin-top: 14px;
  opacity: 1;
  transform: translateY(0);
}
.tp-service-arrow {
  justify-self: end;
  font-size: clamp(1.5rem, 2.4vw, 2.5rem);
  font-weight: 300;
  transform: rotate(0deg);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.tp-service-item:hover .tp-service-arrow { transform: rotate(45deg); }

/* Past projects */
.past-projects-section {
  position: relative;
  z-index: 6;
  padding: clamp(85px, 11vw, 165px) 0;
  overflow: hidden;
  background: var(--bone);
  color: var(--ink);
}
.past-projects-inner { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.past-projects-header {
  display: block;
}
.past-projects-header > p {
  margin: 1.2em 0 0;
  color: var(--terracotta);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.past-projects-header h2 {
  margin: 0;
  font-family: "LEMON MILK", Arial, sans-serif;
  font-size: clamp(2.7rem, 6.2vw, 6.2rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .85;
  text-transform: uppercase;
}
.past-projects-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 28px) / 3);
  gap: 14px;
  margin-top: clamp(65px, 9vw, 120px);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}
.past-projects-grid::-webkit-scrollbar { display: none; }
.past-project-card {
  position: relative;
  min-width: 0;
  height: clamp(390px, 48vw, 620px);
  overflow: hidden;
  padding: 0;
  border: 0;
  outline: none;
  font: inherit;
  isolation: isolate;
  cursor: pointer;
  scroll-snap-align: start;
}
.past-project-card::before,
.past-project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  transition: transform .75s cubic-bezier(.22,1,.36,1), filter .45s ease;
}
.past-project-card::after {
  z-index: -1;
  background: linear-gradient(180deg, rgba(30,25,22,.05), rgba(30,25,22,.7));
}
.past-project-card-one::before { background: url("assets/Projects/GARNET.png") center / cover no-repeat; }
.past-project-card-two::before { background: url("assets/Projects/tpa_1517DeCarleStU4_04.jpg") center / cover no-repeat; }
.past-project-card-three::before { background: url("assets/Projects/62 Hutton Street, Thornbury-33.jpg") center / cover no-repeat; }
.past-project-card-four::before { background: url("assets/Projects/DAVIES.jpg") center / cover no-repeat; }
.past-project-card:hover::before,
.past-project-card:focus-visible::before { transform: scale(1.06); filter: saturate(1.15); }
.past-project-stage {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 8px 11px;
  background: var(--bone);
  color: var(--ink);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.past-project-card-meta {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.55);
  color: #fff;
}
.past-project-card-meta span { font-size: .68rem; letter-spacing: .14em; }
.past-project-card-meta strong { font-family: "Switzer", Arial, sans-serif; font-size: clamp(1.05rem, 1.8vw, 1.55rem); font-weight: 600; }
.past-projects-controls { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-top: 24px; }
.past-projects-control {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(51,43,39,.28);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, opacity .25s ease;
}
.past-projects-control:hover,
.past-projects-control:focus-visible { background: var(--ink); color: var(--bone); }
.past-projects-control:disabled { opacity: .3; cursor: default; }
.past-projects-pagination { display: flex; align-items: center; gap: 8px; }
.past-projects-pagination button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(51,43,39,.28);
  cursor: pointer;
  transition: width .25s ease, border-radius .25s ease, background .25s ease;
}
.past-projects-pagination button.is-active { width: 28px; border-radius: 10px; background: var(--terracotta); }

.past-project-modal {
  width: min(1080px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 0;
  background: var(--paper-light);
  color: var(--ink);
  box-shadow: 0 30px 100px rgba(0,0,0,.35);
}
.past-project-modal::backdrop { background: rgba(35,28,24,.78); backdrop-filter: blur(8px); }
.past-project-modal[open] { display: grid; grid-template-columns: 1.15fr .85fr; }
.past-project-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--bone);
  color: var(--ink);
  font-size: 1.6rem;
  cursor: pointer;
}
.past-project-modal-image {
  min-height: min(70svh, 680px);
  overflow: hidden;
  background: linear-gradient(145deg, var(--green), var(--brown));
  color: rgba(255,255,255,.7);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.past-project-modal-image img { width: 100%; height: 100%; min-height: min(70svh, 680px); object-fit: cover; }
.past-project-modal-content { align-self: end; padding: clamp(34px, 5vw, 70px); }
.past-project-modal-kicker { margin: 0 0 22px; color: var(--terracotta); font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.past-project-modal-content h3 { margin: 0; font-family: "LEMON MILK", Arial, sans-serif; font-size: clamp(2.4rem, 5vw, 5rem); line-height: .9; text-transform: uppercase; }
.past-project-modal-content a { display: inline-block; margin-top: 26px; color: var(--terracotta); font-weight: 600; text-underline-offset: 4px; }
.past-project-modal-content > p:last-child { margin: 26px 0 0; font-size: clamp(.95rem, 1.25vw, 1.1rem); line-height: 1.65; }

/* Discovery call CTA */
.discovery-cta {
  position: relative;
  z-index: 7;
  min-height: 440px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--brown);
  color: var(--paper-light);
}
.discovery-cta::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 32%;
  height: 100%;
  background: var(--terracotta);
  transform: scaleX(.025);
  transform-origin: right;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}
.discovery-cta:has(.discovery-cta-link:hover)::before { transform: scaleX(1); }
.discovery-cta-inner { position: relative; z-index: 1; width: min(1180px, calc(100% - 48px)); margin-inline: auto; padding: 70px 0; }
.discovery-cta-kicker {
  margin: 0 0 34px;
  color: rgba(255,255,255,.62);
  font-size: clamp(.95rem, 1.35vw, 1.12rem);
  font-weight: 400;
}
.discovery-cta-link {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(30px, 7vw, 100px);
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.28);
  border-bottom: 1px solid rgba(255,255,255,.28);
  text-decoration: none;
}
.discovery-cta-link h2 {
  margin: 0;
  font-family: "LEMON MILK", Arial, sans-serif;
  font-size: clamp(2.25rem, 5.5vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: .95;
  text-transform: uppercase;
}
.discovery-cta-arrow {
  width: clamp(68px, 7vw, 92px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  transition: color .4s ease, background .4s ease, transform .4s cubic-bezier(.22,1,.36,1);
}
.discovery-cta-link:hover .discovery-cta-arrow,
.discovery-cta-link:focus-visible .discovery-cta-arrow { background: var(--paper-light); color: var(--terracotta); transform: rotate(45deg); }
.discovery-cta-link:focus-visible { outline: 2px solid var(--paper-light); outline-offset: 10px; }

/* Homepage footer */
.tpa-footer {
  position: relative;
  z-index: 8;
  padding: clamp(58px, 7vw, 90px) 0 34px;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper-light);
}
.tpa-footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1.35fr 1.15fr .7fr;
  align-items: start;
  gap: clamp(24px, 3vw, 42px);
}
.tpa-footer-logo {
  display: block;
  width: min(100%, 230px);
}
.tpa-footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}
.tpa-footer-brand {
  max-width: 270px;
}
.tpa-footer-brand p { max-width: 220px; margin: 22px 0 0; color: rgba(255,255,255,.46); font-size: .88rem; line-height: 1.55; }
.tpa-footer-column { min-width: 0; }
.tpa-footer-label {
  margin: 0 0 22px;
  color: var(--terracotta);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.tpa-footer-contact a,
.tpa-footer-location a {
  display: block;
  overflow-wrap: anywhere;
  width: fit-content;
  color: inherit;
  font-size: clamp(.92rem, 1.2vw, 1.05rem);
  font-weight: 500;
  line-height: 1.55;
  text-decoration: none;
  transition: color .25s ease;
}
.tpa-footer-contact a:hover,
.tpa-footer-contact a:focus-visible,
.tpa-footer-location a:hover,
.tpa-footer-location a:focus-visible { color: var(--terracotta); }
.tpa-footer-social { display: grid; gap: 9px; }
.tpa-footer-social a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.14);
  color: inherit;
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .25s ease, border-color .25s ease;
}
.tpa-footer-social a:hover,
.tpa-footer-social a:focus-visible { border-color: var(--terracotta); color: var(--terracotta); }
.tpa-footer-social a span { transition: transform .25s ease; }
.tpa-footer-social a:hover span { transform: translate(3px, -3px); }
.tpa-footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.42);
  font-size: .72rem;
  letter-spacing: .04em;
}
.tpa-footer-legal {
  margin: 0;
}
.tpa-footer-bottom p { margin: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--copper);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.section-heading {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

/* Preloader */
.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  background: #a85b4b;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .36s ease, visibility .36s ease;
}
body.preloader-active .site-preloader { opacity: 1; visibility: visible; pointer-events: auto; }
.site-preloader::before,
.site-preloader::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(130, 99, 82, .3);
  border-radius: 50%;
  animation: preloader-orbit 1.35s cubic-bezier(.2,.7,.2,1) both;
}
.site-preloader::before,
.site-preloader::after { display: none; }
.site-preloader::before { width: min(60vw, 620px); aspect-ratio: 1; }
.site-preloader::after { width: min(38vw, 390px); aspect-ratio: 1; animation-delay: .08s; }
.site-preloader.is-complete { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; }
.preloader-logo { display: grid; justify-items: center; gap: 18px; }
.preloader-logo .brand-mark {
  width: 78px;
  background: var(--terracotta);
  font-size: 1.65rem;
  opacity: 0;
  transform: translateY(12px) rotate(-8deg) scale(.86);
  animation: preloader-mark .42s cubic-bezier(.2,.9,.3,1.25) .06s forwards;
}
.preloader-logo .custom-logo { max-width: 220px; max-height: 88px; width: auto; opacity: 0; animation: preloader-mark .42s ease .06s forwards; }
.preloader-name { font-size: .72rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; opacity: 0; animation: preloader-name .34s ease .28s forwards; }
.preloader-words { position: relative; width: min(88vw, 900px); height: 2.2em; margin: 0; overflow: hidden; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.4rem, 7vw, 5.8rem); font-weight: 300; letter-spacing: .01em; line-height: 1; }
.preloader-word { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; opacity: 0; transform: translateY(110%); }
.preloader-word-logo {
  background-color: #a85b4b;
  background-image: url("assets/video/TPA logo white.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(52vw, 430px) auto;
  background-blend-mode: screen;
}
.preloader-word-logo img { display: none; }
.preloader-word.is-active { animation: preloader-word .98s cubic-bezier(.2,.75,.25,1) both; }
.preloader-progress { width: 120px; height: 2px; margin-top: 38px; background: rgba(130,99,82,.24); overflow: hidden; }
.preloader-progress span { display: block; width: 100%; height: 100%; background: var(--terracotta); transform-origin: left; animation: preloader-progress 1.45s linear forwards; }

@keyframes preloader-mark {
  to { opacity: 1; transform: translateY(0) rotate(-8deg) scale(1); }
}
@keyframes preloader-name { to { opacity: 1; } }
@keyframes preloader-word {
  0% { opacity: 0; transform: translateY(110%); }
  20%, 72% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-110%); }
}
@keyframes preloader-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes preloader-orbit {
  from { opacity: 0; transform: scale(.72); }
  to { opacity: 1; transform: scale(1); }
}

/* Header */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--paper-light);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark {
  width: 38px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 50% 12%;
  background: var(--terracotta);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  transform: rotate(-8deg);
}
.brand-mark span { transform: rotate(8deg); }
.brand-copy { display: grid; color: var(--ink); font-size: 0.88rem; font-weight: 800; letter-spacing: 0.08em; line-height: 1.15; text-transform: uppercase; }
.brand-copy small { margin-top: 4px; color: var(--ink-soft); font-size: 0.58rem; letter-spacing: 0.18em; }
.nav-row { display: flex; align-items: center; gap: 32px; }
.primary-menu { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.primary-menu a { position: relative; text-decoration: none; font-size: 0.88rem; font-weight: 650; }
.primary-menu a::after { content: ""; position: absolute; right: 0; bottom: -7px; left: 0; height: 2px; background: var(--copper); transform: scaleX(0); transition: transform .25s ease; }
.primary-menu a:hover::after, .primary-menu .current-menu-item a::after { transform: scaleX(1); }
.header-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 23px;
  border: 1px solid var(--brown);
  border-radius: 100px;
  background: var(--brown);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease;
}
.header-cta:hover, .button:hover { transform: translateY(-2px); background: var(--terracotta); }
.button-light { border-color: var(--bone); background: var(--bone); color: var(--brown); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); font: inherit; font-weight: 700; }

/* Hero */
.video-hero {
  position: relative;
  min-height: calc(100svh - 94px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  background: var(--brown);
  color: #fff;
}
.video-hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.video-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(35, 28, 24, .8) 0%, rgba(35, 28, 24, .52) 48%, rgba(35, 28, 24, .1) 100%),
    linear-gradient(0deg, rgba(35, 28, 24, .62) 0%, transparent 55%);
}
.video-hero-content { padding-top: clamp(80px, 12vh, 150px); padding-bottom: clamp(90px, 13vh, 150px); }
.video-hero .eyebrow { color: var(--bone); }
.video-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 9vw, 8.5rem);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .88;
  text-wrap: balance;
}
.video-hero h1 em { color: #d78b7c; font-weight: 400; }
.video-hero-intro { max-width: 650px; margin: 32px 0 36px; color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.7vw, 1.25rem); }
.video-hero-button { border-color: var(--terracotta); background: var(--terracotta); }
.video-hero-button:hover { background: var(--bone); color: var(--ink); }
.video-hero-scroll {
  position: absolute;
  right: 34px;
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  transform: rotate(90deg) translateX(100%);
  transform-origin: right bottom;
}
.video-hero-scroll span { width: 42px; height: 1px; background: currentColor; }

.hero { position: relative; padding: clamp(70px, 10vw, 135px) 0 95px; background: var(--paper); }
.hero::after { content: ""; position: absolute; right: -160px; bottom: -240px; width: 520px; height: 520px; border: 1px solid rgba(196,111,59,.23); border-radius: 50%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); align-items: center; gap: clamp(50px, 8vw, 110px); }
.hero h1 { max-width: 820px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.5rem, 8.1vw, 7.4rem); font-weight: 400; letter-spacing: -0.065em; line-height: .9; }
.hero h1 em { color: var(--copper); font-weight: 400; }
.hero-intro { max-width: 650px; margin: 34px 0 0; color: var(--ink-soft); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 38px; }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: var(--ink); font-weight: 750; text-decoration: none; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.hero-card { position: relative; min-height: 520px; padding: 40px; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 180px 180px var(--radius) var(--radius); background: var(--green); color: var(--ink); box-shadow: var(--shadow); overflow: hidden; }
.hero-card::before, .hero-card::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.hero-card::before { width: 370px; height: 370px; top: -95px; left: -120px; }
.hero-card::after { width: 240px; height: 240px; top: 45px; left: -38px; }
.card-label { position: relative; z-index: 1; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .72; }
.hero-card strong { position: relative; z-index: 1; display: block; max-width: 320px; margin-top: 12px; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 400; line-height: 1.05; }

/* Sections */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section-intro { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; align-items: start; }
.section-copy { max-width: 620px; margin-top: 12px; color: var(--ink-soft); font-size: 1.12rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 70px; }
.service-card { min-height: 330px; padding: 34px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-light); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.service-number { color: var(--copper); font-family: Georgia, serif; font-size: 1.15rem; }
.service-card h3 { margin: auto 0 18px; font-family: Georgia, serif; font-size: 2rem; font-weight: 400; line-height: 1.1; }
.service-card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.principles { background: var(--brown); color: #fff; }
.principles .eyebrow { color: var(--bone); }
.principles-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 100px; align-items: center; }
.quote-panel { position: relative; padding: 56px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.quote-panel::before { content: "“"; position: absolute; top: 18px; right: 34px; color: var(--copper); font-family: Georgia, serif; font-size: 7rem; line-height: 1; opacity: .7; }
.quote-panel blockquote { margin: 0; font-family: Georgia, serif; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.18; }
.principle-list { display: grid; gap: 28px; margin-top: 45px; }
.principle { display: grid; grid-template-columns: 34px 1fr; gap: 18px; padding-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,.14); }
.principle b { color: var(--bone); }
.principle h3 { margin: 0 0 6px; font-size: 1.05rem; }
.principle p { margin: 0; color: rgba(255,255,255,.68); font-size: .92rem; }
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.insight { padding-top: 22px; border-top: 1px solid var(--line); }
.insight-meta { color: var(--copper); font-size: .71rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.insight h3 { margin: 18px 0; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 400; line-height: 1.2; }
.insight a { text-decoration: none; }
.cta-band { padding: 85px 0; background: var(--terracotta); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.cta-inner h2 { max-width: 760px; margin: 0; font-family: Georgia, serif; font-size: clamp(2.5rem, 5vw, 4.7rem); font-weight: 400; letter-spacing: -.045em; line-height: 1; }

/* Content */
.content-area { width: min(820px, calc(100% - 40px)); min-height: 55vh; margin: 90px auto 120px; }
.content-area.wide { width: var(--wrap); }
.entry-header { margin-bottom: 45px; }
.entry-title { margin: 0; font-family: Georgia, serif; font-size: clamp(2.7rem, 6vw, 5rem); font-weight: 400; letter-spacing: -.05em; line-height: 1; }
.entry-meta { margin-top: 18px; color: var(--ink-soft); font-size: .85rem; }
.entry-content > * { max-width: 100%; }
.entry-content h2, .entry-content h3 { font-family: Georgia, serif; font-weight: 400; line-height: 1.15; }
.entry-content h2 { margin-top: 2em; font-size: 2.3rem; }
.post-list { display: grid; gap: 50px; }
.post-card { padding-bottom: 45px; border-bottom: 1px solid var(--line); }
.post-card h2 { margin: 0 0 12px; font-family: Georgia, serif; font-size: 2.2rem; font-weight: 400; }
.post-card h2 a { text-decoration: none; }
.pagination { margin-top: 50px; }

/* Footer */
.site-footer { padding: 70px 0 35px; background: var(--ink); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 60px; }
.footer-title { max-width: 430px; margin: 24px 0 0; font-family: Georgia, serif; font-size: 2rem; font-weight: 400; line-height: 1.15; }
.footer-label { margin: 0 0 18px; color: var(--bone); font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 70px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.55); font-size: .77rem; }

/* Brand typography system: LEMON MILK Bold for identity/display, Switzer for voice. */
.property-advisory-section h2,
.track-record-number,
.studio-intro h2,
.preloader-words,
.section-heading,
.video-hero h1,
.hero h1,
.cta-inner h2,
.entry-title,
.booking-heading h1,
.booking-details h2 {
  font-family: "LEMON MILK", Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.property-advisory-image-label strong,
.property-advisory-copy,
.property-advisory-copy p + p,
.track-record-index,
.track-record-stat p,
.studio-index,
.studio-placeholder-meta,
.studio-placeholder-meta span,
.studio-lede,
.studio-copy-detail,
.eyebrow,
.brand-mark,
.brand-copy,
.hero-card strong,
.service-number,
.service-card h3,
.quote-panel::before,
.quote-panel blockquote,
.insight h3,
.entry-content h2,
.entry-content h3,
.post-card h2,
.footer-title {
  font-family: "Switzer", Arial, sans-serif;
}

.property-advisory-copy,
.studio-copy-detail,
.section-copy,
.service-card p,
.principle p,
.video-hero-intro,
.hero-intro,
.entry-content,
.footer-links {
  font-weight: 400;
}

.property-advisory-copy p + p,
.studio-lede,
.property-advisory-image-label strong,
.studio-placeholder-meta span {
  font-weight: 600;
}

.track-record-index,
.track-record-stat p,
.studio-index,
.studio-placeholder-meta b,
.eyebrow,
.preloader-name,
.brand-copy,
.insight-meta,
.footer-label {
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.advisory-focus:hover,
.advisory-focus:focus-visible,
.advisory-focus.is-active {
  color: var(--terracotta);
  font-weight: 700;
}

@media (max-width: 900px) {
  .menu-toggle { display: block; cursor: pointer; }
  .nav-row { display: none; position: absolute; top: 94px; right: 0; left: 0; padding: 28px 20px; flex-direction: column; background: var(--paper-light); border-bottom: 1px solid var(--line); }
  .nav-row.is-open { display: flex; }
  .primary-menu { flex-direction: column; }
  .hero-grid, .section-intro, .principles-grid { grid-template-columns: 1fr; }
  .hero-card { min-height: 390px; max-width: 460px; }
  .services-grid, .insights-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .property-advisory-details { grid-template-columns: 1fr; gap: 48px; }
  .property-advisory-image { width: min(620px, 100%); }
  .track-record-grid { grid-template-columns: 1fr; }
  .track-record-stat { padding: 30px 0 38px; }
  .track-record-stat + .track-record-stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.22); }
  .track-record-index { margin-bottom: 34px; }
  .studio-gallery { grid-template-columns: 1fr 1fr; }
  .studio-copy { grid-template-columns: 1fr; }
  .tp-services-header { grid-template-columns: 1fr; }
  .tp-services-kicker { margin-bottom: 0; }
  .past-projects-header { grid-template-columns: 1fr; gap: 18px; }
  .past-projects-header > p { margin-top: 0; }
  .past-projects-grid { grid-auto-columns: calc((100% - 14px) / 2); }
  .discovery-cta { min-height: 400px; }
  .tpa-footer-inner { grid-template-columns: 1.35fr 1fr .7fr; }
  .tpa-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  :root { --wrap: min(100% - 30px, 1180px); }
  .header-inner { min-height: 82px; }
  .brand-copy small { display: none; }
  .nav-row { top: 82px; }
  .hero { padding-top: 64px; }
  .hero h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .hero-card { min-height: 340px; padding: 28px; }
  .services-grid, .insights-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .quote-panel { padding: 36px 28px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-bottom { flex-direction: column; }
  .video-hero { min-height: calc(100svh - 82px); }
  .video-hero h1 { font-size: clamp(3.3rem, 17vw, 5.4rem); }
  .video-hero-content { padding-bottom: 85px; }
  .video-hero-scroll { display: none; }
  .video-hero-overlay { background: linear-gradient(90deg, rgba(35,28,24,.78), rgba(35,28,24,.4)), linear-gradient(0deg, rgba(35,28,24,.7), transparent 60%); }
  .property-advisory-inner { width: 100%; }
  .property-advisory-logo { width: min(32vw, 130px); }
  .property-advisory-section .property-advisory-statement { width: 100%; }
  .property-advisory-section h2 { font-size: clamp(2rem, 9.5vw, 3.15rem); }
  .property-advisory-details { grid-template-columns: 1fr; gap: 42px; }
  .property-advisory-image { width: 100%; margin-top: 0; }
  .track-record-inner { width: min(100% - 30px, 1180px); }
  .studio-inner { width: 100%; padding-inline: 15px; }
  .studio-intro h2 { font-size: clamp(1.9rem, 9vw, 3rem); }
  .studio-gallery { grid-template-columns: 1fr; }
  .studio-placeholder { height: auto; }
  .tp-services-inner { width: min(100% - 30px, 1180px); }
  .tp-services-header h2 { font-size: clamp(3.4rem, 18vw, 5.4rem); }
  .tp-service-item { grid-template-columns: 42px 1fr 32px; gap: 12px; min-height: 105px; padding-inline: 0; }
  .tp-service-item:hover { padding-inline: 12px; }
  .tp-service-item h3 { font-size: clamp(1.35rem, 6.6vw, 2rem); }
  .past-projects-inner { width: min(100% - 30px, 1180px); }
  .past-projects-header h2 { font-size: clamp(2.6rem, 14vw, 4.4rem); }
  .past-projects-grid { grid-auto-columns: 100%; }
  .past-project-card { height: 430px; }
  .past-project-modal[open] { grid-template-columns: 1fr; overflow-y: auto; }
  .past-project-modal-image { min-height: 42svh; }
  .discovery-cta { min-height: 380px; }
  .discovery-cta-inner { width: min(100% - 30px, 1180px); }
  .discovery-cta-link { grid-template-columns: 1fr; }
  .discovery-cta-link h2 { font-size: clamp(2.15rem, 10vw, 3.4rem); }
  .discovery-cta-arrow { width: 62px; }
  .tpa-footer-inner { width: min(100% - 30px, 1180px); grid-template-columns: 1fr; gap: 30px; }
  .tpa-footer-brand { grid-column: auto; }
  .tpa-footer-bottom { flex-direction: column; margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-preloader::before,
  .site-preloader::after,
  .preloader-logo .brand-mark,
  .preloader-logo .custom-logo,
  .preloader-name,
  .preloader-word,
  .preloader-progress span { animation-duration: .01ms !important; animation-delay: 0ms !important; }
  .property-advisory-section h2,
  .property-advisory-image,
  .property-advisory-copy { opacity: 1; transform: none; transition: none; }
  .track-record-stat { opacity: 1; transform: none; transition: none; }
  .track-record-section::before { transform: scaleX(1); transition: none; }
  .track-record-orbit { opacity: 1; transform: none; transition: none; }
  .studio-intro,
  .studio-gallery,
  .studio-copy { opacity: 1; transform: none; transition: none; }
  .fullscreen-video { transform: none; will-change: auto; }
}
