/*
Theme Name: FirstTech Corporate
Description: An independent block theme for First Modern Technology Contracting Company.
Version: 2.0.0
Requires at least: 6.8
Requires PHP: 8.0
Text Domain: firsttech-corporate
License: GNU General Public License v2 or later
*/
:root {
	--ft-green: var(--wp--preset--color--green);
	--ft-dark: var(--wp--preset--color--dark);
	--ft-gold: var(--wp--preset--color--gold);
	--ft-paper: var(--wp--preset--color--paper);
	--ft-white: var(--wp--preset--color--white);
	--ft-ink: var(--wp--preset--color--ink);
	--ft-muted: var(--wp--preset--color--muted);
	--ft-body: var(--wp--preset--font-family--body);
	--ft-rule: color-mix(in srgb, var(--ft-green), transparent 82%);
	--ft-line-light: color-mix(in srgb, var(--ft-white), transparent 77%);
	--ft-edge: clamp(22px, 6.1vw, 98px);
	--ft-anchor-space: 135px;
}
html { scroll-padding-top: var(--ft-anchor-space); }
body { margin: 0; }
.wp-site-blocks { padding: 0; }
.ft-shell { width: min(1260px, calc(100% - var(--ft-edge) * 2)); margin-inline: auto; }
.ft-section { padding-block: clamp(62px, 7.35vw, 106px); }
.ft-shell :is(p,h1,h2,h3) { margin: 0; }
.ft-shell p + p { margin-top: .85em; }
.ft-shell h2 { text-wrap: balance; }
.ft-shell .ft-label { margin: 0 0 15px; font: 600 .78rem/1.15 var(--ft-body); text-transform: uppercase; letter-spacing: .17em; display: flex; align-items: center; gap: 10px; }
.ft-label::before { content: ""; width: 24px; height: 2px; flex: 0 0 auto; background: var(--ft-gold); }
.ft-shell :is(a,button,input,select,textarea):focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.ft-shell .wp-block-buttons { gap: 10px; }
.ft-shell .wp-block-button__link { transition: background-color .18s, color .18s, border-color .18s; }
.ft-shell .wp-block-button__link:hover { background: var(--ft-green); color: var(--ft-white); }
.ft-shell .is-style-outline .wp-block-button__link { border: 1px solid currentColor; padding: .76rem 1.18rem; color: inherit; background: transparent; }
.ft-shell .is-style-outline .wp-block-button__link:hover { background: var(--ft-green); color: var(--ft-white); border-color: var(--ft-green); }

/* Shared navigation and contact strip */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 10; }
body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 32px); }
body.admin-bar [id]:target { scroll-margin-top: var(--wp-admin--admin-bar--height, 32px); }
.ft-header { background: var(--ft-white); color: var(--ft-dark); border-bottom: 1px solid var(--ft-rule); }
.ft-topbar { background: var(--ft-dark); color: var(--ft-white); font-size: .84rem; }
.ft-topbar-row, .ft-topbar-contact { display: flex; align-items: center; gap: 22px; }
.ft-topbar-row { justify-content: space-between; min-height: 32px; }
.ft-topbar-contact p + p { margin-top: 0; padding-left: 22px; border-left: 1px solid var(--ft-line-light); }
.ft-topbar a { text-decoration: none; }
.ft-topbar a:hover, .ft-footer a:hover { text-decoration: underline; text-underline-offset: .24em; }
.ft-header-row { min-height: 88px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.ft-brand { width: fit-content; }
.ft-brand .ft-logo { width: 70px; margin: 0; }
.ft-logo img { width: 100%; height: auto; aspect-ratio: 478 / 504; object-fit: contain; display: block; }
.ft-navigation { color: var(--ft-dark); font-size: 1rem; font-weight: 600; gap: clamp(20px, 2.85vw, 42px); }
.ft-navigation a:hover { color: var(--ft-green); text-decoration: underline; text-underline-offset: .3em; }
.ft-navigation .wp-block-navigation__submenu-container { border: 1px solid var(--ft-rule) !important; border-top: 2px solid var(--ft-gold) !important; min-width: 244px !important; }
.ft-header-row > .wp-block-buttons { justify-self: end; }
.ft-navigation .ft-menu-quote { display: none; }

/* Hero */
.ft-hero { position: relative; isolation: isolate; overflow: hidden; color: var(--ft-white); background: var(--ft-dark); }
.ft-hero .ft-hero-photo { margin: 0; position: absolute; inset: 0 0 0 31%; z-index: -2; }
.ft-hero-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 55% 51%; }
.ft-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, var(--ft-dark) 31%, color-mix(in srgb, var(--ft-dark), transparent 5%) 35%, color-mix(in srgb, var(--ft-dark), transparent 39%) 55%, color-mix(in srgb, var(--ft-dark), transparent 94%) 82%); pointer-events: none; }
.ft-hero-shell { display: grid; align-items: center; min-height: clamp(510px, 42.2vw, 655px); padding-block: 62px; box-sizing: border-box; }
.ft-hero-copy { max-width: 620px; }
.ft-hero .ft-label { color: var(--ft-gold); margin-bottom: 20px; }
.ft-hero h1 { line-height: 1.065; }
.ft-hero h1 em { display: block; font-style: normal; color: var(--ft-gold); }
.ft-hero .ft-hero-summary { margin: 20px 0 29px; font-size: clamp(1.1rem, 1.5vw, 1.23rem); max-width: 425px; color: color-mix(in srgb, currentColor, transparent 8%); }
.ft-hero .wp-block-button__link:hover { background: var(--ft-white); color: var(--ft-dark); }
.ft-hero .is-style-outline .wp-block-button__link { border-color: color-mix(in srgb, var(--ft-white), transparent 48%); }
.ft-hero .is-style-outline .wp-block-button__link:hover { border-color: var(--ft-white); }

/* Core services */
.ft-section-heading { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(22px, 5vw, 76px); align-items: end; margin-bottom: clamp(27px, 3.5vw, 47px); }
.ft-section-heading h2 { text-wrap: initial; }
.ft-section-heading > p { max-width: 352px; color: var(--ft-muted); }
.ft-services { background: var(--ft-white); }
.ft-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.15vw, 30px); }
.ft-card { display: flex; flex-direction: column; background: var(--ft-paper); border-bottom: 2px solid var(--ft-rule); transition: border-color .25s; }
.ft-card:target, .ft-card:focus-within, .ft-card:hover { border-color: var(--ft-gold); }
.ft-card:target { outline: 2px solid var(--ft-green); outline-offset: 4px; }
.ft-card-image { margin: 0; aspect-ratio: 1.64; overflow: hidden; }
.ft-card-image img, .ft-about-photo img, .ft-about-detail img, .ft-project-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ft-card-image img { transition: transform .4s ease; }
.ft-card:hover .ft-card-image img, .ft-card:focus-within .ft-card-image img { transform: scale(1.04); }
.ft-card-copy { display: flex; flex-direction: column; align-items: start; flex: 1; padding: clamp(18px, 2.1vw, 30px); }
.ft-card-copy p { color: var(--ft-muted); margin-top: 10px; }
.ft-card-copy .ft-service-link { margin-top: auto; padding-top: 20px; font-size: .97rem; font-weight: 600; color: var(--ft-green); }
.ft-service-link a { display: inline-flex; align-items: baseline; gap: 8px; text-underline-offset: 4px; }
.ft-service-link a span { transition: transform .18s; }
.ft-service-link a:hover span, .ft-service-link a:focus-visible span { transform: translateX(3px); }

/* Company introduction */
.ft-about { background: var(--ft-paper); }
.ft-about-grid { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: clamp(34px, 7.5vw, 110px); }
.ft-about-media { position: relative; padding: 0 11% 7% 0; }
.ft-about-photo { margin: 0; aspect-ratio: 1.03; overflow: hidden; }
.ft-about-photo img { object-position: 52% 52%; }
.ft-about-detail { position: absolute; inset: auto 0 0 auto; width: 51%; aspect-ratio: 1.58; border: 6px solid var(--ft-paper); margin: 0; }
.ft-about-copy h2 { margin-bottom: 22px; font-size: clamp(1.87rem, 3.06vw, 3rem); text-wrap: balance; }
.ft-about-copy p { color: var(--ft-muted); max-width: 490px; }
.ft-about-copy .ft-label { color: var(--ft-green); }
.ft-about-copy .wp-block-buttons { margin-top: 24px; }

/* Delivery and company values */
.ft-icon-engineering { --ft-icon: url("assets/icons/engineering.svg"); }
.ft-icon-supply { --ft-icon: url("assets/icons/supply.svg"); }
.ft-icon-installation { --ft-icon: url("assets/icons/installation.svg"); }
.ft-icon-testing { --ft-icon: url("assets/icons/testing.svg"); }
.ft-icon-commissioning { --ft-icon: url("assets/icons/commissioning.svg"); }
.ft-icon-handover { --ft-icon: url("assets/icons/handover.svg"); }
.ft-icon-safety { --ft-icon: url("assets/icons/safety.svg"); }
.ft-icon-partnership { --ft-icon: url("assets/icons/partnership.svg"); }
.ft-delivery { background: var(--ft-green); color: var(--ft-white); }
.ft-delivery .ft-section-heading > p { color: color-mix(in srgb, currentColor, transparent 10%); }
.ft-steps { --ft-connector: color-mix(in srgb, var(--ft-white), transparent 63%); list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 0; margin: 0; gap: 0; }
.ft-steps li { position: relative; display: grid; justify-items: start; gap: 11px; padding: 0 8px 0 0; font-size: 1rem; font-weight: 600; }
.ft-steps li::before { content: ""; z-index: 1; width: 64px; height: 64px; grid-row: 1; grid-column: 1; border: 1px solid var(--ft-line-light); border-radius: 50%; background: var(--ft-green); }
.ft-steps li::after { content: ""; z-index: 2; grid-row: 1; grid-column: 1; margin: 17px 0 0 17px; width: 32px; height: 32px; background: var(--ft-gold); mask: var(--ft-icon) center / contain no-repeat; }
.ft-steps li:not(:last-child) { background: linear-gradient(var(--ft-connector), var(--ft-connector)) 64px 32px / calc(100% - 64px) 1px no-repeat; }
.ft-steps li::marker { color: transparent; }
.ft-values { background: var(--ft-white); }
.ft-values-layout { display: grid; grid-template-columns: .83fr 1.17fr; gap: clamp(25px, 7vw, 100px); align-items: start; }
.ft-values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ft-value { background: var(--ft-paper); padding: clamp(16px, 2vw, 26px); min-width: 0; }
.ft-value::before { content: ""; display: block; width: 32px; height: 32px; margin-bottom: 15px; background: var(--ft-green); mask: var(--ft-icon) center / contain no-repeat; }
.ft-value h3 { font-size: var(--wp--preset--font-size--heading-small); line-height: 1.27; }
.ft-value p { color: var(--ft-muted); margin-top: 8px; font-size: 1rem; }

/* Inquiry and shared footer */
.ft-inquiry { background: var(--ft-dark); color: var(--ft-white); }
.ft-inquiry-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(30px, 7.4vw, 105px); }
.ft-inquiry .ft-label { color: var(--ft-gold); }
.ft-inquiry-copy h2 { margin-bottom: 19px; text-wrap: initial; max-width: 400px; }
.ft-inquiry-copy > p { max-width: 325px; }
.ft-inquiry-copy .ft-inquiry-email { margin-top: 23px; }
.ft-inquiry-copy .ft-inquiry-phone { margin-top: 6px; }
.ft-inquiry-copy a { font-weight: 600; text-underline-offset: 4px; }
.ft-form-shell { background: var(--ft-white); color: var(--ft-ink); padding: clamp(20px, 3vw, 44px); border-top: 3px solid var(--ft-gold); }
.ft-form { display: grid; gap: 15px; }
.ft-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.ft-form label { display: grid; gap: 5px; font-weight: 600; font-size: .97rem; min-width: 0; }
.ft-form :is(input:not([type=checkbox]), select, textarea) { width: 100%; box-sizing: border-box; border: 1px solid #849895; border-radius: 2px; color: var(--ft-ink); background: var(--ft-white); font: 400 1rem var(--ft-body); padding: 9px 11px; min-height: 45px; }
.ft-form textarea { resize: vertical; }
.ft-form :is(input,select,textarea):focus-visible { outline-color: var(--ft-green); outline-offset: 2px; }
.ft-form .ft-form-consent { display: flex; align-items: start; gap: 9px; font-weight: 400; margin-block: 1px; }
.ft-form-consent input { accent-color: var(--ft-green); margin-top: 6px; }
.ft-form button { justify-self: start; border: 1px solid var(--ft-gold); border-radius: 2px; background: var(--ft-gold); color: var(--ft-dark); padding: .76rem 1.18rem; font: 600 1rem var(--ft-body); cursor: pointer; transition: background-color .18s, color .18s; }
.ft-form button:hover { background: var(--ft-green); color: var(--ft-white); border-color: var(--ft-green); }
.ft-form .ft-form-status { border-left: 3px solid var(--ft-gold); background: var(--ft-paper); padding: 10px 12px; }
.ft-footer { background: color-mix(in srgb, var(--ft-dark), var(--ft-ink) 40%); color: var(--ft-white); border-top: 1px solid var(--ft-line-light); padding-block: 51px 23px; }
.ft-footer-grid { display: grid; grid-template-columns: 1.25fr 1fr .85fr 1fr; gap: clamp(18px, 3vw, 45px); }
.ft-footer .ft-brand .ft-logo { width: 86px; }
.ft-footer h2 { font-family: var(--ft-body); font-size: .87rem; font-weight: 600; letter-spacing: .105em; text-transform: uppercase; margin: 6px 0 15px; }
.ft-footer a { text-decoration: none; }
.ft-footer p { font-size: 1rem; color: color-mix(in srgb, var(--ft-white), transparent 13%); overflow-wrap: anywhere; }
.ft-footer-company > p { max-width: 235px; margin-top: 13px; }
.ft-footer-column p + p { margin-top: 6px; }
.ft-footer-base { display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid var(--ft-line-light); margin-top: 35px; padding-top: 15px; }
.ft-footer-base p { font-size: .88rem; }
.ft-footer-base p + p { margin: 0; }

/* Unpublished patterns for approved project and relationship material */
.ft-experience h2 { margin-bottom: 23px; }
.ft-project-card { background: var(--ft-paper); max-width: 480px; }
.ft-project-image { aspect-ratio: 1.65; }
.ft-project-copy { padding: 21px 25px; }
.ft-project-copy p { margin-top: 8px; }
.ft-client-gallery { margin-top: 25px; gap: 24px; }
.ft-client-gallery img { object-fit: contain; }

@media (max-width: 960px) {
	.ft-header-row { gap: 15px; }
	.ft-navigation { gap: 19px; }
	.ft-hero::after { background: linear-gradient(90deg, var(--ft-dark) 31%, color-mix(in srgb, var(--ft-dark), transparent 16%) 52%, color-mix(in srgb, var(--ft-dark), transparent 88%)); }
	.ft-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	:root { --ft-anchor-space: 108px; }
	.ft-topbar-row { min-height: 29px; justify-content: end; }
	.ft-topbar-location { display: none; }
	.ft-topbar-contact { gap: 12px; font-size: .78rem; }
	.ft-topbar-contact p + p { padding-left: 12px; }
	.ft-header-row { grid-template-columns: 1fr auto; min-height: 65px; }
	.ft-brand .ft-logo { width: 52px; }
	.ft-header-row > .wp-block-buttons { display: none; }
	.ft-navigation button[aria-haspopup="dialog"] { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
	.ft-navigation .wp-block-navigation__responsive-container.is-menu-open { padding: 28px var(--ft-edge); }
	.ft-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { align-items: flex-start; }
	.ft-navigation .wp-block-navigation__responsive-container.is-menu-open .ft-menu-quote { display: flex; margin-top: 8px; background: var(--ft-gold); padding: 8px 12px; }
	.ft-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; }
	.ft-hero { display: flex; flex-direction: column-reverse; }
	.ft-hero::after { display: none; }
	.ft-hero .ft-hero-photo { position: static; aspect-ratio: 1.52; overflow: hidden; }
	.ft-hero-photo img { object-position: 55% 47%; }
	.ft-hero-shell { min-height: 0; padding-block: 40px 35px; }
	.ft-hero .ft-label { margin-bottom: 15px; }
	.ft-hero .ft-hero-summary { margin: 16px 0 22px; }
	.ft-hero .wp-block-button__link, .ft-hero .is-style-outline .wp-block-button__link { font-size: .92rem; padding: .65rem .72rem; }
	.ft-section-heading, .ft-about-grid, .ft-values-layout, .ft-inquiry-grid { grid-template-columns: 1fr; gap: 15px; }
	.ft-about-grid, .ft-values-layout, .ft-inquiry-grid { gap: 27px; }
	.ft-about-copy { grid-row: 1; }
	.ft-card-grid { grid-template-columns: 1fr; gap: 19px; }
	.ft-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
	.ft-steps li:nth-child(3n) { background: none; }
	.ft-steps li { font-size: .94rem; overflow-wrap: anywhere; }
}
@media (min-width: 600px) and (max-width: 760px) {
	.ft-navigation .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.ft-navigation .wp-block-navigation__responsive-container:not(.is-menu-open):not(.hidden-by-default) { display: none; }
}
@media (max-width: 410px) {
	.ft-values-grid, .ft-form-row { grid-template-columns: 1fr; }
	.ft-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ft-steps li:nth-child(3n):not(:last-child) { background: linear-gradient(var(--ft-connector), var(--ft-connector)) 64px 32px / calc(100% - 64px) 1px no-repeat; }
	.ft-steps li:nth-child(2n) { background: none; }
	.ft-footer-grid { gap: 23px 15px; }
}
@media (prefers-reduced-motion: reduce) {
	.ft-shell *, .ft-shell *::before, .ft-shell *::after { transition-duration: 0s !important; }
	.ft-card:hover .ft-card-image img, .ft-card:focus-within .ft-card-image img { transform: none; }
}

/* Interior pages use the approved homepage palette and typography. */
.ft-inner-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ft-dark); color: var(--ft-white); }
.ft-inner-hero-shell { display: grid; align-items: center; min-height: 290px; padding-block: clamp(46px, 6vw, 82px); box-sizing: border-box; }
.ft-inner-hero-has-photo .ft-inner-hero-shell { min-height: clamp(360px, 33vw, 510px); }
.ft-inner-hero-copy { max-width: min(490px, 46vw); }
.ft-inner-hero:not(.ft-inner-hero-has-photo) .ft-inner-hero-copy { max-width: 650px; }
.ft-inner-hero-copy .ft-label { color: var(--ft-gold); }
.ft-inner-hero h1 { font-size: clamp(2rem, 4.15vw, 3.85rem); text-wrap: balance; }
.ft-inner-hero .ft-inner-lead { margin-top: 16px; max-width: 420px; color: color-mix(in srgb, var(--ft-white), transparent 9%); }
.ft-inner-hero .wp-block-buttons { margin-top: 24px; }
.ft-inner-hero .wp-block-button__link:hover { background: var(--ft-white); color: var(--ft-dark); }
.ft-inner-hero .ft-breadcrumb { color: color-mix(in srgb, var(--ft-white), transparent 14%); font-size: .92rem; margin-bottom: clamp(21px, 3vw, 37px); }
.ft-breadcrumb a { text-underline-offset: .2em; }
.ft-breadcrumb span[aria-hidden] { margin-inline: 4px; }
.ft-inner-hero .ft-inner-hero-photo { position: absolute; inset: 0 0 0 52%; z-index: -1; margin: 0; }
.ft-inner-hero-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 55%; }
.ft-inner-hero-has-photo::after { content: ""; position: absolute; z-index: -1; inset: 0 0 0 52%; pointer-events: none; background: linear-gradient(90deg, color-mix(in srgb, var(--ft-dark), transparent 32%), transparent 32%); }
.ft-inner-split { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(25px, 7vw, 86px); align-items: start; }
.ft-inner-copy h2 { text-wrap: initial; }
.ft-inner-copy p, .ft-history-card p:not(.ft-history-year), .ft-capability p { color: var(--ft-muted); }
.ft-inner-copy h2 + p { margin-top: 16px; }
.ft-inner-copy .wp-block-buttons { margin-top: 20px; }
.ft-vision-card, .ft-topic-index { background: var(--ft-paper); border-top: 2px solid var(--ft-gold); padding: clamp(21px, 3vw, 40px); }
.ft-vision-card h3 + p, .ft-capability h3 + p { margin-top: 10px; }
.ft-history, .ft-overview-integration, .ft-capabilities, .ft-contact { background: var(--ft-paper); }
.ft-history-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 5vw, 65px); margin-top: 28px; }
.ft-history-card { border-top: 1px solid var(--ft-rule); padding-top: 16px; }
.ft-history-card .ft-history-year { color: var(--ft-green); font-size: clamp(1.65rem, 2.8vw, 2.5rem); font-weight: 600; line-height: 1.15; margin-bottom: 12px; }
.ft-history-card h3 + p { margin-top: 8px; }
.ft-principles h2, .ft-technical-intro h2, .ft-capabilities h2, .ft-related h2, .ft-overview-services h2, .ft-history h2 { text-wrap: initial; }
.ft-capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); margin-top: clamp(23px, 3vw, 39px); }
.ft-principle-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ft-capability { background: var(--ft-white); border: 1px solid var(--ft-rule); border-top: 2px solid var(--ft-green); padding: clamp(20px, 2.7vw, 37px); overflow-wrap: anywhere; }
.ft-capability:target { border-top-color: var(--ft-gold); }
.ft-capability ul { padding-inline-start: 1.1em; margin: 13px 0 0; }
.ft-capability li + li { margin-top: 3px; }
.ft-capability li::marker { color: var(--ft-green); }
.ft-topic-links { display: flex; flex-wrap: wrap; gap: 6px 11px; margin-top: 13px; }
.ft-topic-links p + p { margin-top: 0; }
.ft-topic-links a { display: block; font-size: .95rem; font-weight: 600; color: var(--ft-green); text-underline-offset: 3px; }
.ft-related .ft-card-grid, .ft-overview-services .ft-card-grid { margin-top: clamp(23px, 3vw, 39px); }
.ft-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ft-page-cta { background: var(--ft-green); color: var(--ft-white); padding-block: clamp(39px, 5.2vw, 70px); }
.ft-page-cta-row { display: flex; justify-content: space-between; align-items: center; gap: 23px; }
.ft-page-cta h2 { text-wrap: initial; font-size: clamp(1.65rem, 3vw, 2.75rem); }
.ft-page-cta .wp-block-button__link:hover { background: var(--ft-white); color: var(--ft-dark); }
.ft-contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(24px, 6vw, 80px); align-items: start; }
.ft-contact-details { overflow-wrap: anywhere; }
.ft-contact-details h2, .ft-contact-form h2 { text-wrap: initial; margin-bottom: 15px; }
.ft-contact-company { font-weight: 600; }
.ft-contact-details a { text-underline-offset: .25em; }
.ft-contact-photo { margin: 25px 0 0; aspect-ratio: 1.85; }
.ft-contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.ft-contact-form > p { color: var(--ft-muted); margin-bottom: 19px; }
.ft-policy-body { max-width: 770px; }
.ft-policy-section + .ft-policy-section, .ft-policy-section + .ft-draft-note { margin-top: 32px; }
.ft-policy-section h2, .ft-policy-body .ft-draft-note h2 { font-size: var(--wp--preset--font-size--subheading); text-wrap: initial; margin-bottom: 9px; }
.ft-draft-note { background: var(--ft-paper); border-inline-start: 3px solid var(--ft-gold); padding: 17px 20px; color: var(--ft-ink); }
.ft-experience-query li { background: var(--ft-paper); min-width: 0; }
.ft-experience-query .wp-block-post-title, .ft-experience-query .wp-block-post-excerpt { padding: 10px 16px; }
.ft-experience-query .wp-block-query-pagination { margin-top: 23px; }
.ft-project-meta { font-size: .94rem; color: var(--ft-muted); }
.ft-project-copy h4 { margin: 16px 0 8px; }
.ft-project-copy ul { padding-inline-start: 1.2em; }
.ft-client-gallery .wp-block-image { width: clamp(105px, 16vw, 155px); height: 72px; margin: 0; }
.ft-client-gallery .wp-block-image img { width: 100%; height: 100%; }

@media (max-width: 760px) {
	.ft-inner-hero-has-photo { display: flex; flex-direction: column; }
	.ft-inner-hero-has-photo .ft-inner-hero-shell, .ft-inner-hero-shell { min-height: 0; }
	.ft-inner-hero-copy { max-width: 100%; }
	.ft-inner-hero .ft-inner-hero-photo { position: static; aspect-ratio: 1.65; }
	.ft-inner-hero-has-photo::after { display: none; }
	.ft-inner-split, .ft-capability-grid, .ft-principle-grid, .ft-related-grid, .ft-contact-grid { grid-template-columns: 1fr; }
	.ft-page-cta-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
	.ft-history-grid { grid-template-columns: 1fr; }
}
