@import url("tokens.css");

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ptx-warm-white);
  color: var(--ptx-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--ptx-blue); text-decoration: none; }
a:hover { color: var(--ptx-blue-deep); }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ptx-ink);
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 .28em;
}

h1 { font-size: clamp(2.35rem, 3.8vw, 3.55rem); }
h2 { font-size: clamp(1.9rem, 2.8vw, 2.65rem); }
h3 { font-size: clamp(1.4rem, 1.7vw, 1.75rem); font-weight: 400; }

p { margin: 0 0 .75em; }

.shell {
  width: min(var(--wide-max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.shell--text { width: min(var(--text-max), calc(100% - (var(--gutter) * 2))); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ptx-blue);
  margin: 0 0 .45rem;
}

.rule {
  width: 42px;
  height: 1px;
  background: var(--ptx-blue);
  border: 0;
  margin: .7rem 0 .85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 42px;
  padding: .65rem 1rem;
  border: 1px solid var(--ptx-blue);
  border-radius: 2px;
  background: var(--ptx-blue);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.btn:hover { background: var(--ptx-blue-deep); border-color: var(--ptx-blue-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--ptx-blue); }
.btn--ghost:hover { background: var(--ptx-blue); color: #fff; }
.btn--light { background: transparent; border-color: #fff; color: #fff; }
.btn--light:hover { background: #fff; color: var(--ptx-navy); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid rgba(216, 217, 215, .7);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 76px;
}

.site-logo { flex: 0 0 auto; line-height: 0; }
.site-logo__img { width: 128px; height: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
}

.site-nav ul { display: flex; align-items: center; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  color: var(--ptx-ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-nav a:hover { color: var(--ptx-blue); }
.site-nav .btn { color: #fff; }
.site-nav .btn:hover { color: #fff; }

.has-sub { position: relative; }
.has-sub > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: .5rem 0;
  background: #fff;
  border: 1px solid var(--ptx-line);
}
.has-sub:hover > ul, .has-sub:focus-within > ul { display: flex; }
.has-sub > ul a { display: block; padding: .7rem 1rem; }

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--ptx-line);
  background: #fff;
  min-height: 44px;
  padding: 0 .9rem;
  font: 500 12px/1 var(--font-sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 42%) 1fr;
  align-items: stretch;
  background: #fff;
  padding-top: var(--section-space);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 2.6vw, 2.4rem) clamp(1.25rem, 2.8vw, 2.75rem);
}

.hero__copy p { font-size: 18px; max-width: 34rem; color: var(--ptx-text); }
.audience {
  margin: .15rem 0 .9rem;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ptx-muted);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__media {
  position: relative;
  align-self: stretch;
  min-height: 520px;
  overflow: hidden;
  background: var(--ptx-cream);
}
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.section { padding: var(--section-space) 0; }
.section--cream { background: var(--ptx-cream); }
.section--white { background: #fff; }

.partnership {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1fr;
  gap: var(--grid-gap);
  align-items: center;
}
.partnership img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
}
.partnership__copy p { font-size: 16px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .9rem;
}
.service-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center 30%;
}
.service-card h3 { margin: .55rem 0 .1rem; font-family: var(--font-display); font-size: 1.45rem; }
.service-card span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ptx-muted);
}
.service-card a.more {
  display: inline-block;
  margin-top: .35rem;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.work-teaser {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 1.5rem;
  align-items: center;
}
.work-teaser__photos { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .7rem; align-items: stretch; }
.work-teaser__photos img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

.quote-band {
  background: var(--ptx-navy);
  color: #fff;
  padding: clamp(2rem, 3.5vw, 3rem) 0;
}
.quote-band blockquote {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  margin: 0 auto;
  max-width: 860px;
  text-align: left;
}
.quote-band p {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  line-height: 1.35;
  font-weight: 400;
  color: #fff;
  margin: 0;
}
.quote-mark {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: .7;
  color: #d7e3f2;
  margin-top: .15rem;
}
.quote-mark--close {
  display: inline-block;
  margin: 0 0 0 .2rem;
  line-height: .7;
  vertical-align: -0.15em;
}
.quote-band cite {
  display: block;
  margin-top: .75rem;
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #d5deea;
}

.closing {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ptx-ink);
  background: #efe8dc center/cover no-repeat;
}
.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(251, 250, 247, .5);
}
.closing__inner { position: relative; padding: 2.5rem 1.25rem; }
.closing .eyebrow { color: var(--ptx-muted); }
.closing .hero__actions { justify-content: center; }

.site-footer {
  background: #fff;
  color: var(--ptx-text);
  padding: 2.25rem 0 1rem;
  border-top: 1px solid var(--ptx-line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr .95fr .8fr 1.05fr;
  gap: 1.35rem;
}
.site-footer .site-logo__img { width: 132px; margin-bottom: .75rem; }
.logo-plate {
  display: inline-block;
  line-height: 0;
}
.logo-plate img { width: 132px; height: auto; }
.site-footer a { color: var(--ptx-blue); }
.site-footer h2 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ptx-navy);
  margin-bottom: .4rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 .4rem; }
.site-footer p { font-size: 14px; }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ptx-line);
  color: var(--ptx-muted);
  font-size: 12px;
}

.crumbs { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ptx-muted); margin-bottom: 1rem; }
.crumbs a { color: var(--ptx-muted); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.1rem, 2.4vw, 2.25rem);
  align-items: center;
}
.split img, .frame img { width: 100%; height: auto; }

.card-grid, .masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem 1rem;
}
.project-card { color: inherit; text-decoration: none; }
.project-card__link { color: inherit; text-decoration: none; display: block; }
.project-card__service { display: inline-block; margin-top: .15rem; font-size: 13px; }
.project-card img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; object-position: center; }
.project-card h3 { font-size: 1.35rem; margin: .7rem 0 .1rem; color: var(--ptx-ink); }
.project-card p { margin: 0; font-size: 13px; color: var(--ptx-muted); }
.project-card__place {
  margin-top: .15rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.loc-pin {
  margin-top: 1rem;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ptx-navy);
}
.loc-services {
  margin-top: .85rem;
  font-size: 13px;
  font-weight: 500;
}
.loc-more { margin: 1.4rem 0 0; text-align: center; }
.loc-trade {
  display: grid;
  grid-template-columns: .9fr 1.1fr .9fr;
  gap: var(--grid-gap);
  align-items: center;
}
.single-ptx_location .hero {
  padding-bottom: var(--section-space);
}
.single-ptx_location .hero + .section {
  padding-top: 0;
}
.single-ptx_location .hero__copy {
  justify-content: flex-start;
}
.single-ptx_location .hero__media {
  min-height: 0;
  align-self: stretch;
}
.single-ptx_location .hero__media img {
  object-fit: cover;
  object-position: center;
}
.single-ptx_location .split {
  align-items: start;
}
.single-ptx_location .split .loc-photo {
  order: -1;
}
.loc-photo { min-height: 440px; overflow: hidden; }
.loc-photo img,
.loc-photo--trade img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  object-position: center;
}
.loc-photo--trade { min-height: 360px; }
.loc-photo--trade img { min-height: 360px; }
.loc-benefits { list-style: none; margin: 0 0 1rem; padding: 0; }
.loc-benefits li {
  position: relative;
  margin: 0 0 .55rem;
  padding-left: 1.15rem;
  font-size: 15px;
}
.loc-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: .45rem;
  height: .45rem;
  border: 1.5px solid var(--ptx-blue);
  border-radius: 50%;
}
.loc-band {
  background: var(--ptx-navy);
  color: #fff;
  padding: clamp(2rem, 3.5vw, 3rem) 0;
}
.loc-band__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}
.loc-band blockquote {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  margin: 0;
}
.loc-band p { color: #fff; }
.loc-band .eyebrow { color: #d5deea; }
.loc-band h2 { color: #fff; }
.loc-band blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.35;
  margin: 0;
}
.loc-band cite {
  display: block;
  margin-top: .75rem;
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #d5deea;
}
.loc-bottom {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.loc-ready { padding-top: .2rem; }

.filters { display: flex; flex-wrap: wrap; gap: .6rem 1rem; margin: 1.5rem 0 2rem; }
.filters button {
  border: 0;
  background: none;
  padding: .4rem 0;
  font: 500 12px/1 var(--font-sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ptx-muted);
  cursor: pointer;
}
.filters button.is-active, .filters button:hover { color: var(--ptx-blue); }

.faq details {
  border-bottom: 1px solid var(--ptx-line);
  padding: .9rem 0;
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--ptx-ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ptx-blue); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .6rem 0 0; }

.form {
  display: grid;
  gap: .85rem;
}
.form label { display: grid; gap: .3rem; font-size: 13px; font-weight: 500; }
.form input, .form select, .form textarea {
  width: 100%;
  border: 1px solid var(--ptx-line);
  background: #fff;
  min-height: 46px;
  padding: .7rem .8rem;
  font: 400 15px/1.4 var(--font-sans);
  color: var(--ptx-ink);
  border-radius: 1px;
}
.form textarea { min-height: 140px; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.choices label { font-weight: 500; display: flex; align-items: center; gap: .4rem; }
.hp { position: absolute; left: -9999px; }

.notice { padding: .8rem 1rem; background: var(--ptx-soft-blue); margin-bottom: 1rem; }
.panel {
  background: var(--ptx-cream);
  padding: 1.5rem;
}
.values, .steps, .matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.value, .step, .matrix article {
  background: #fff;
  border: 1px solid var(--ptx-line);
  padding: 1.1rem;
}
.matrix img, .step img { width: 100%; height: auto; margin-bottom: .7rem; }
.brand-row {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--ptx-line);
}
.prose { max-width: 760px; }
.prose h2 { font-size: 2rem; margin-top: 1.6rem; }
.prose h3 { font-size: 1.35rem; margin: 1.4rem 0 .4rem; }
.prose h4 { font-size: 1.05rem; margin: 1rem 0 .35rem; }
.prose p { margin: 0 0 1rem; }
.prose a { color: var(--ptx-blue); text-underline-offset: .15em; }
.seo-program .hero__media img { object-fit: cover; }
.team-facts { color: var(--ptx-blue); font-size: 14px; letter-spacing: .02em; }
.team-portrait { width: calc(100% + 2.2rem); max-width: none; height: 280px; object-fit: cover; margin: -1.1rem -1.1rem .9rem; background: var(--ptx-navy); }
.team-list { margin: 0; padding-left: 1.1rem; }
.team-list li { margin: 0 0 .35rem; }
.seo-links { display: grid; gap: .7rem; margin: .4rem 0 0; padding: 0; list-style: none; }
.seo-links a { color: var(--ptx-blue); }
.entry-list { display: grid; gap: 2rem; }
.entry-list article { display: grid; grid-template-columns: 280px 1fr; gap: 1.5rem; }
.entry-list img { width: 100%; height: auto; }

.ptx-modal[hidden] { display: none; }
.ptx-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.ptx-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 39, 68, .55);
}
.ptx-modal__dialog {
  position: relative;
  width: min(640px, 100%);
  max-height: min(88vh, 820px);
  overflow: auto;
  background: var(--ptx-warm-white);
  border: 1px solid var(--ptx-line);
  padding: 1.15rem 1.25rem 1.4rem;
}
.ptx-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: .75rem;
}
.ptx-modal__header h2 { margin-bottom: 0; }
.ptx-modal__close {
  border: 0;
  background: transparent;
  color: var(--ptx-ink);
  font-size: 1.75rem;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}
body.ptx-modal-open { overflow: hidden; }

:focus-visible { outline: 2px solid var(--ptx-blue); outline-offset: 2px; }

.schedule-block {
  width: min(700px, 100%);
  margin: 1.5rem auto 0;
  text-align: center;
}
.schedule-login {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.schedule-frame {
  margin-inline: auto;
}
.schedule-frame iframe {
  display: block;
  width: 100%;
  height: 1500px;
  border: 1px solid var(--ptx-line);
  background: #fff;
}
.schedule-date {
  margin: 0;
  padding: .65rem 1rem;
  background: var(--ptx-navy);
  color: #fff;
  font-weight: 600;
  text-align: center;
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  text-align: left;
  font-size: 14px;
}
.schedule-table th,
.schedule-table td {
  padding: .45rem .7rem;
  border-bottom: 1px solid var(--ptx-line);
}
.schedule-table th {
  background: #111;
  color: #fff;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .hero, .partnership, .work-teaser, .split, .footer-grid, .brand-row, .loc-trade, .loc-band__grid, .loc-bottom { grid-template-columns: 1fr; }
  .service-grid, .card-grid, .masonry { grid-template-columns: 1fr 1fr; }
  .work-teaser__photos { grid-template-columns: 1fr; }
  .values, .steps, .matrix { grid-template-columns: 1fr 1fr; }
  .entry-list article { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 1rem 1.25rem 1.4rem;
    border-bottom: 1px solid var(--ptx-line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul, .has-sub > ul { flex-direction: column; align-items: flex-start; position: static; border: 0; display: flex; }
  .header-inner { min-height: 76px; }
  .hero__media { min-height: 0; height: 280px; }
  .hero__media img { position: absolute; max-height: none; }
  .service-grid, .card-grid, .masonry, .values, .steps, .matrix { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
