/*
Theme Name: PIE Operating
Theme URI: https://pieoperating.com/
Author: PIE Operating, LLC
Author URI: https://pieoperating.com/
Description: A custom, responsive, three-page corporate WordPress theme for PIE Operating, LLC. Built for a static oil and gas exploration and production website with no blog or comments.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pie-operating
Tags: custom-logo, custom-menu, one-column, accessibility-ready
*/

:root {
  --pie-ink: #081923;
  --pie-ink-soft: #102b3a;
  --pie-navy: #143446;
  --pie-steel: #49606d;
  --pie-steel-light: #78909c;
  --pie-copper: #c7832b;
  --pie-copper-dark: #9b5f19;
  --pie-gold: #e4b66a;
  --pie-red: #cf0f32;
  --pie-red-dark: #9f102a;
  --pie-paper: #f7f6f2;
  --pie-sand: #eee8dc;
  --pie-white: #fff;
  --pie-border: #d8dfe2;
  --pie-text: #243743;
  --pie-muted: #60717b;
  --pie-success: #24734a;
  --pie-error: #a3292f;
  --pie-shadow-sm: 0 12px 28px rgba(8, 25, 35, .08);
  --pie-shadow-md: 0 24px 60px rgba(8, 25, 35, .14);
  --pie-shadow-lg: 0 38px 90px rgba(5, 19, 29, .24);
  --pie-radius-sm: 4px;
  --pie-radius: 10px;
  --pie-radius-lg: 18px;
  --pie-shell: 1200px;
  --pie-content: 800px;
  --pie-header-height: 116px;
  --pie-transition: 180ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 170px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--pie-text); background: var(--pie-paper); font-family: Arial, Helvetica, sans-serif; font-size: 17px; line-height: 1.7; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img, picture, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
a { color: var(--pie-red-dark); }
a:hover { color: var(--pie-red); }
h1, h2, h3, h4 { margin: 0 0 .58em; color: var(--pie-ink); font-family: Georgia, Cambria, "Times New Roman", serif; font-weight: 700; line-height: 1.12; }
h1 { font-size: clamp(2.65rem, 5.4vw, 5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 3.7vw, 3.4rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.62rem); }
p { margin: 0 0 1.28em; }
ul, ol { margin-top: 0; }
address { font-style: normal; }
.site-shell { width: min(calc(100% - 48px), var(--pie-shell)); margin-inline: auto; }
.site-main { overflow: hidden; }
.section { position: relative; padding-block: clamp(78px, 9vw, 126px); }
.section--paper { background: var(--pie-paper); }
.section--white { background: var(--pie-white); }
.section--sand { background: var(--pie-sand); }
.section--dark { color: rgba(255,255,255,.82); background: var(--pie-ink); }
.section--pattern::after { position: absolute; inset: 0; content: ""; pointer-events: none; background: url("assets/images/chevron-pattern.svg") center/220px; opacity: .32; }
.section--pattern > * { position: relative; z-index: 1; }
.lead { color: var(--pie-ink-soft); font-family: Georgia, Cambria, "Times New Roman", serif; font-size: clamp(1.16rem, 2vw, 1.38rem); line-height: 1.63; }
.section-title { max-width: 790px; }
.section-title--light { color: var(--pie-white); }
.section-heading { max-width: 780px; margin-bottom: 50px; }
.section-heading--center { margin-right: auto; margin-left: auto; text-align: center; }
.section-heading--center .section-kicker { justify-content: center; }
.section-kicker, .hero-eyebrow { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; color: var(--pie-red-dark); font-size: .76rem; font-weight: 900; letter-spacing: .17em; line-height: 1.35; text-transform: uppercase; }
.section-kicker::before, .hero-eyebrow::before { width: 38px; height: 3px; content: ""; background: linear-gradient(90deg, var(--pie-red), var(--pie-copper)); }
.section-kicker--light { color: var(--pie-gold); }
.section-kicker--light::before { background: var(--pie-gold); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { top: 8px; left: 8px; z-index: 99999; width: auto; height: auto; padding: 12px 18px; clip: auto !important; color: var(--pie-white); background: var(--pie-ink); }
:focus-visible { outline: 3px solid var(--pie-gold); outline-offset: 3px; }

/* Header */
.site-header { position: relative; z-index: 100; background: var(--pie-white); box-shadow: 0 1px 0 rgba(8,25,35,.09); }
.utility-bar { min-height: 36px; color: rgba(255,255,255,.84); background: var(--pie-ink); font-size: .76rem; font-weight: 700; letter-spacing: .095em; line-height: 1.2; text-transform: uppercase; }
.utility-bar__inner { display: flex; min-height: 36px; align-items: center; justify-content: space-between; gap: 24px; }
.utility-bar p { margin: 0; }
.utility-bar__details { display: flex; align-items: center; gap: 14px; }
.utility-bar__divider { width: 1px; height: 14px; background: rgba(255,255,255,.22); }
.utility-bar a { display: inline-flex; align-items: center; gap: 7px; color: var(--pie-white); text-decoration: none; }
.utility-bar a:hover { color: var(--pie-gold); }
.utility-bar svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.primary-header { position: relative; min-height: var(--pie-header-height); background: rgba(255,255,255,.985); transition: box-shadow var(--pie-transition); }
.primary-header__inner { display: flex; min-height: var(--pie-header-height); align-items: center; gap: 36px; }
.site-header.is-scrolled .primary-header { box-shadow: 0 14px 34px rgba(8,25,35,.08); }
.primary-navigation { flex: 1 1 auto; }
.menu { padding: 0; margin: 0; list-style: none; }
.primary-menu, .primary-navigation > .menu { display: flex; align-items: center; gap: clamp(22px, 3vw, 46px); }
.primary-menu a, .primary-navigation > .menu a { position: relative; display: block; padding: 16px 0; color: var(--pie-ink); font-size: .86rem; font-weight: 800; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.primary-menu a::after, .primary-navigation > .menu a::after { position: absolute; right: 0; bottom: 7px; left: 0; height: 3px; content: ""; background: linear-gradient(90deg, var(--pie-red), var(--pie-copper)); transform: scaleX(0); transform-origin: right center; transition: transform var(--pie-transition); }
.primary-menu a:hover::after, .primary-menu .current-menu-item > a::after, .primary-menu .current_page_item > a::after, .primary-navigation > .menu a:hover::after, .primary-navigation > .menu .current-menu-item > a::after, .primary-navigation > .menu .current_page_item > a::after { transform: scaleX(1); transform-origin: left center; }
.primary-menu .current-menu-item > a, .primary-menu .current_page_item > a { color: var(--pie-red-dark); }
.site-brand { flex: 0 0 auto; }
.site-brand__link { display: block; text-decoration: none; }
.header-brand { width: clamp(170px, 18vw, 220px); margin-left: auto; padding: 5px; background: var(--pie-white); border: 1px solid #e4e7e8; border-bottom: 4px solid var(--pie-copper); box-shadow: 0 10px 26px rgba(8,25,35,.12); }
.header-brand .site-brand__image { width: 100%; height: auto; }
.menu-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; padding: 0; color: var(--pie-ink); background: transparent; border: 1px solid var(--pie-border); border-radius: var(--pie-radius-sm); }
.menu-toggle__lines { display: grid; width: 22px; gap: 5px; }
.menu-toggle__lines span { display: block; height: 2px; background: currentColor; transition: transform var(--pie-transition), opacity var(--pie-transition); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons and links */
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 12px; padding: 14px 23px; color: var(--pie-white); background: var(--pie-red); border: 1px solid var(--pie-red); border-radius: var(--pie-radius-sm); font-size: .79rem; font-weight: 900; letter-spacing: .085em; line-height: 1.1; text-decoration: none; text-transform: uppercase; transition: transform var(--pie-transition), background var(--pie-transition), border-color var(--pie-transition), color var(--pie-transition), box-shadow var(--pie-transition); }
.button:hover { color: var(--pie-white); background: var(--pie-red-dark); border-color: var(--pie-red-dark); box-shadow: 0 12px 26px rgba(159,16,42,.23); transform: translateY(-2px); }
.button svg, .text-link svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--pie-transition); }
.button:hover svg, .text-link:hover svg { transform: translateX(4px); }
.button--outline-light { color: var(--pie-white); background: transparent; border-color: rgba(255,255,255,.58); }
.button--outline-light:hover { color: var(--pie-ink); background: var(--pie-white); border-color: var(--pie-white); }
.button--light { color: var(--pie-ink); background: var(--pie-white); border-color: var(--pie-white); }
.button--light:hover { color: var(--pie-white); background: var(--pie-red); border-color: var(--pie-red); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--pie-red-dark); font-size: .83rem; font-weight: 900; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }

/* Home hero */
.home-hero { position: relative; display: flex; min-height: 730px; flex-direction: column; justify-content: space-between; color: var(--pie-white); background-color: var(--pie-ink); background-image: linear-gradient(90deg, rgba(3,15,23,.93) 0%, rgba(6,25,36,.79) 43%, rgba(9,31,42,.35) 72%, rgba(9,31,42,.1) 100%), url("assets/images/pie-hero.jpg"); background-position: center; background-size: cover; isolation: isolate; }
.home-hero::before { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(180deg, rgba(2,12,18,.2), transparent 45%, rgba(2,12,18,.16)); }
.home-hero__pattern { position: absolute; top: 20px; right: -70px; z-index: -1; width: min(67vw, 1020px); height: 360px; background: url("assets/images/industry-pattern.svg") center right/contain no-repeat; opacity: .38; }
.home-hero__inner { display: flex; flex: 1 1 auto; align-items: center; padding-block: clamp(76px, 10vw, 126px) 90px; }
.home-hero__content { max-width: 840px; }
.home-hero .hero-eyebrow { color: var(--pie-gold); }
.home-hero .hero-eyebrow::before { background: var(--pie-gold); }
.home-hero h1 { max-width: 940px; margin-bottom: 24px; color: var(--pie-white); font-size: clamp(3rem, 6.4vw, 5.85rem); text-wrap: balance; text-shadow: 0 8px 30px rgba(0,0,0,.23); }
.home-hero__intro { max-width: 750px; margin-bottom: 0; color: rgba(255,255,255,.87); font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.65; }
.home-hero__rail { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.18); background: rgba(6,24,35,.9); backdrop-filter: blur(9px); }
.hero-profile { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-profile__item { position: relative; min-height: 118px; padding: 27px 28px; border-left: 1px solid rgba(255,255,255,.13); }
.hero-profile__item:last-child { border-right: 1px solid rgba(255,255,255,.13); }
.hero-profile__item::before { position: absolute; top: -1px; left: 0; width: 58px; height: 3px; content: ""; background: var(--pie-copper); }
.hero-profile__label { display: block; margin-bottom: 7px; color: var(--pie-gold); font-size: .68rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.hero-profile strong { display: block; color: var(--pie-white); font-family: Georgia, Cambria, "Times New Roman", serif; font-size: 1.05rem; line-height: 1.25; }

/* Home sections */
.intro-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.05fr); gap: clamp(48px,8vw,110px); align-items: start; }
.intro-grid__copy { padding-top: 7px; }
.focus-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.focus-card, .principle-card { position: relative; min-height: 370px; padding: 38px 34px; overflow: hidden; background: var(--pie-white); border: 1px solid var(--pie-border); border-top: 4px solid var(--pie-copper); box-shadow: var(--pie-shadow-sm); transition: transform var(--pie-transition), box-shadow var(--pie-transition), border-color var(--pie-transition); }
.focus-card:hover, .principle-card:hover { border-color: rgba(199,131,43,.55); box-shadow: var(--pie-shadow-md); transform: translateY(-6px); }
.focus-card::after { position: absolute; right: -25px; bottom: -35px; width: 140px; height: 140px; content: ""; background: url("assets/images/chevron-pattern.svg") center/cover; opacity: .25; transform: rotate(12deg); }
.focus-card__number { position: absolute; top: 22px; right: 25px; color: rgba(20,52,70,.13); font-family: Georgia, serif; font-size: 3.3rem; font-weight: 700; }
.icon-badge { display: grid; width: 76px; height: 76px; place-items: center; margin-bottom: 28px; color: var(--pie-navy); background: var(--pie-sand); border: 1px solid #ddd3c1; border-radius: 50%; }
.icon-badge svg { width: 49px; height: 49px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.focus-card h3, .principle-card h3 { margin-bottom: 15px; }
.focus-card p, .principle-card p { position: relative; z-index: 1; margin-bottom: 0; color: var(--pie-muted); }
.operating-section { overflow: hidden; }
.operating-section__art { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,25,35,.97), rgba(8,25,35,.84)), url("assets/images/pie-inner-hero.jpg") center/cover; opacity: .96; }
.operating-section__art::after { position: absolute; inset: 0; content: ""; background: url("assets/images/industry-pattern.svg") right 25%/min(920px,75vw) auto no-repeat; opacity: .14; }
.operating-grid { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(400px,.85fr); gap: clamp(54px,8vw,110px); align-items: center; }
.operating-copy p { max-width: 680px; }
.region-stack { display: grid; gap: 18px; }
.region-card { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 25px; padding: 28px; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.15); border-left: 4px solid var(--pie-copper); backdrop-filter: blur(8px); }
.region-card__icon { display: grid; width: 82px; height: 82px; place-items: center; color: var(--pie-gold); background: rgba(255,255,255,.07); border-radius: 50%; }
.region-card__icon svg { width: 57px; height: 57px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.region-card__eyebrow { color: var(--pie-gold); font-size: .67rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.region-card h3 { margin: 4px 0 7px; color: var(--pie-white); font-size: 1.65rem; }
.region-card p { margin: 0; color: rgba(255,255,255,.72); font-size: .94rem; line-height: 1.55; }
.approach-grid { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.08fr); gap: clamp(55px,8vw,110px); align-items: start; }
.approach-panel { position: sticky; top: 30px; padding: 44px; background: rgba(255,255,255,.62); border: 1px solid rgba(155,95,25,.2); box-shadow: var(--pie-shadow-sm); }
.approach-list { padding: 0; margin: 0; list-style: none; counter-reset: none; }
.approach-list li { display: grid; grid-template-columns: 66px 1fr; gap: 24px; padding: 29px 0; border-bottom: 1px solid rgba(20,52,70,.18); }
.approach-list li:first-child { padding-top: 0; }
.approach-list li > span { display: grid; width: 52px; height: 52px; place-items: center; color: var(--pie-white); background: var(--pie-navy); font-family: Georgia, serif; font-weight: 700; border-radius: 50%; }
.approach-list h3 { margin-bottom: 7px; font-size: 1.35rem; }
.approach-list p { margin: 0; color: var(--pie-muted); }

/* Inner pages */
.inner-hero { position: relative; min-height: 475px; display: flex; align-items: center; overflow: hidden; color: var(--pie-white); background-color: var(--pie-ink); background-image: linear-gradient(90deg, rgba(4,16,24,.94) 0%, rgba(8,28,40,.76) 55%, rgba(8,28,40,.28) 100%), url("assets/images/pie-inner-hero.jpg"); background-position: center; background-size: cover; }
.inner-hero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 40%, rgba(3,14,21,.38)); }
.inner-hero__pattern { position: absolute; right: -80px; bottom: -55px; width: min(850px,70vw); height: 330px; background: url("assets/images/industry-pattern.svg") right bottom/contain no-repeat; opacity: .22; }
.inner-hero__inner { position: relative; z-index: 1; padding-block: 80px; }
.inner-hero h1 { max-width: 870px; color: var(--pie-white); font-size: clamp(2.8rem,5.8vw,5.25rem); text-wrap: balance; }
.inner-hero__inner > p:last-child { max-width: 700px; color: rgba(255,255,255,.82); font-size: 1.18rem; }
.inner-hero .hero-eyebrow { color: var(--pie-gold); }
.inner-hero .hero-eyebrow::before { background: var(--pie-gold); }
.breadcrumbs { display: flex; align-items: center; gap: 10px; margin-bottom: 34px; color: rgba(255,255,255,.63); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.breadcrumbs a { color: var(--pie-white); text-decoration: none; }
.company-overview { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(330px,.62fr); gap: clamp(55px,8vw,110px); align-items: start; }
.company-facts { overflow: hidden; background: var(--pie-white); border: 1px solid var(--pie-border); box-shadow: var(--pie-shadow-md); }
.company-facts__title { padding: 20px 25px; color: var(--pie-white); background: var(--pie-navy); font-size: .76rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.company-facts dl { margin: 0; }
.company-facts dl > div { padding: 18px 25px; border-bottom: 1px solid var(--pie-border); }
.company-facts dl > div:last-child { border-bottom: 0; }
.company-facts dt { margin-bottom: 3px; color: var(--pie-muted); font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.company-facts dd { margin: 0; color: var(--pie-ink); font-family: Georgia, serif; font-size: 1.05rem; font-weight: 700; }
.principles-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.principle-card { min-height: 340px; padding: 31px 27px; }
.principle-card .icon-badge { width: 64px; height: 64px; }
.principle-card .icon-badge svg { width: 43px; height: 43px; }
.values-section { overflow: hidden; }
.values-section__pattern { position: absolute; inset: 0; background: url("assets/images/industry-pattern.svg") center bottom/1100px auto no-repeat; opacity: .08; }
.values-grid { position: relative; display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1fr); gap: clamp(50px,8vw,105px); }
.values-list article { display: grid; grid-template-columns: 58px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.values-list article:first-child { padding-top: 0; }
.values-list article > span { color: var(--pie-gold); font-family: Georgia, serif; font-size: 1.65rem; font-weight: 700; }
.values-list h3 { margin-bottom: 8px; color: var(--pie-white); }
.values-list p { margin: 0; color: rgba(255,255,255,.7); }
.footprint-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1fr); gap: clamp(55px,8vw,110px); }
.footprint-list { display: grid; gap: 18px; }
.footprint-list article { display: grid; grid-template-columns: 82px 1fr; gap: 24px; padding: 26px 28px; background: rgba(255,255,255,.7); border: 1px solid rgba(20,52,70,.14); }
.footprint-list article > span { display: grid; width: 66px; height: 66px; place-items: center; color: var(--pie-white); background: var(--pie-navy); font-family: Georgia, serif; font-size: 1.35rem; font-weight: 700; }
.footprint-list h3 { margin-bottom: 6px; }
.footprint-list p { margin: 0; color: var(--pie-muted); }

/* Contact */
.contact-layout { display: grid; grid-template-columns: minmax(310px,.7fr) minmax(0,1.2fr); gap: clamp(45px,7vw,90px); align-items: start; }
.contact-sidebar { display: grid; gap: 18px; }
.contact-intro { margin-bottom: 12px; }
.contact-detail-card { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 25px; background: var(--pie-white); border: 1px solid var(--pie-border); box-shadow: var(--pie-shadow-sm); }
.contact-detail-card__icon { display: grid; width: 50px; height: 50px; place-items: center; color: var(--pie-white); background: var(--pie-navy); border-radius: 50%; }
.contact-detail-card__icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-detail-card h3 { margin: 0 0 7px; font-size: 1.18rem; }
.contact-detail-card address span { display: block; }
.contact-detail-card .text-link { margin-top: 12px; }
.contact-phone { color: var(--pie-ink); font-family: Georgia, serif; font-size: 1.35rem; font-weight: 700; text-decoration: none; }
.contact-form-card { padding: clamp(30px,5vw,54px); background: var(--pie-white); border-top: 5px solid var(--pie-copper); box-shadow: var(--pie-shadow-md); }
.contact-form-card__heading { margin-bottom: 30px; }
.contact-form-card__heading h2 { font-size: clamp(1.8rem,3vw,2.7rem); }
.form-alert { padding: 16px 18px; margin-bottom: 25px; border-left: 4px solid; }
.form-alert--success { color: #155b38; background: #e6f4ec; border-color: var(--pie-success); }
.form-alert--error { color: #7b1f25; background: #f9e8e9; border-color: var(--pie-error); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; margin-bottom: 7px; color: var(--pie-ink); font-size: .78rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.form-field input, .form-field select, .form-field textarea { width: 100%; color: var(--pie-text); background: #fbfcfc; border: 1px solid #bfc9ce; border-radius: var(--pie-radius-sm); }
.form-field input, .form-field select { min-height: 52px; padding: 11px 13px; }
.form-field textarea { min-height: 170px; padding: 13px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 0; border-color: var(--pie-copper); box-shadow: 0 0 0 3px rgba(199,131,43,.18); }
.form-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.form-submit-row p { max-width: 430px; margin: 0; color: var(--pie-muted); font-size: .78rem; line-height: 1.5; }
.button:disabled { cursor: wait; opacity: .72; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.office-map-section { padding-block: 0 100px; background: var(--pie-paper); }
.office-map-card { min-height: 410px; display: flex; align-items: center; padding: clamp(35px,6vw,70px); color: var(--pie-white); background: linear-gradient(90deg, rgba(8,25,35,.96), rgba(8,25,35,.48)), url("assets/images/contact-map-bg.jpg") center/cover; box-shadow: var(--pie-shadow-lg); }
.office-map-card__content { max-width: 660px; }
.office-map-card h2 { color: var(--pie-white); }
.office-map-card p { color: rgba(255,255,255,.78); }

/* Footer */
.site-footer { color: rgba(255,255,255,.72); background: #07151e; }
.footer-cta { background: linear-gradient(100deg, var(--pie-red-dark), var(--pie-red) 55%, #c85e31); }
.footer-cta__inner { display: flex; min-height: 230px; align-items: center; justify-content: space-between; gap: 45px; padding-block: 42px; }
.footer-cta h2 { max-width: 730px; margin: 0; color: var(--pie-white); font-size: clamp(1.8rem,3.4vw,3rem); }
.footer-main { display: grid; grid-template-columns: 1.3fr .55fr .85fr; gap: clamp(35px,6vw,85px); padding-block: 76px; }
.footer-brand { width: min(245px,100%); padding: 6px; margin-bottom: 24px; background: var(--pie-white); border-bottom: 4px solid var(--pie-copper); }
.footer-brand .site-brand__image { width: 100%; height: auto; }
.footer-company p { max-width: 440px; }
.footer-heading { margin-bottom: 22px; color: var(--pie-white); font-family: Arial, Helvetica, sans-serif; font-size: .74rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.footer-menu li, .footer-navigation > .menu li { margin-bottom: 10px; }
.footer-menu a, .footer-navigation > .menu a { color: rgba(255,255,255,.76); text-decoration: none; }
.footer-menu a:hover, .footer-navigation > .menu a:hover { color: var(--pie-gold); }
.footer-contact address { margin-bottom: 17px; }
.footer-contact address span { display: block; }
.footer-contact > a { display: flex; align-items: center; gap: 10px; margin: 13px 0; color: rgba(255,255,255,.82); text-decoration: none; }
.footer-contact > a:hover { color: var(--pie-gold); }
.footer-contact svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.11); }
.footer-bottom__inner { display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 25px; }
.footer-bottom p { margin: 0; font-size: .75rem; }

/* Generic content and 404 */
.prose { max-width: var(--pie-content); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin-top: 1.5em; }
.prose img { height: auto; }
.not-found-section { min-height: 620px; display: grid; place-items: center; padding-block: 90px; background: var(--pie-sand); }
.not-found-card { max-width: 850px; padding: clamp(35px,7vw,80px); text-align: center; background: var(--pie-white); box-shadow: var(--pie-shadow-md); }
.not-found-card .section-kicker { justify-content: center; }
.error-code { margin: 0; color: rgba(20,52,70,.14); font-family: Georgia, serif; font-size: clamp(5rem,15vw,10rem); font-weight: 700; line-height: .8; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-right: auto; margin-left: auto; }
.alignwide { width: min(100%,1100px); max-width: none; margin-right: auto; margin-left: auto; }
.alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }

@media (max-width: 1060px) {
  :root { --pie-header-height: 102px; }
  .header-brand { width: 176px; }
  .primary-menu, .primary-navigation > .menu { gap: 25px; }
  .principles-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .operating-grid { grid-template-columns: minmax(0,.9fr) minmax(360px,.8fr); gap: 50px; }
  .footer-main { grid-template-columns: 1.2fr .55fr .9fr; gap: 44px; }
}
@media (max-width: 900px) {
  .site-shell { width: min(calc(100% - 38px),var(--pie-shell)); }
  .home-hero { min-height: 760px; }
  .hero-profile { grid-template-columns: repeat(2,1fr); }
  .hero-profile__item:nth-child(3), .hero-profile__item:nth-child(4) { border-top: 1px solid rgba(255,255,255,.13); }
  .intro-grid, .approach-grid, .company-overview, .values-grid, .footprint-grid, .contact-layout { grid-template-columns: 1fr; }
  .approach-panel { position: relative; top: auto; }
  .focus-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .focus-card:last-child { grid-column: 1 / -1; min-height: 330px; }
  .operating-grid { grid-template-columns: 1fr; }
  .region-stack { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .region-card { align-items: start; grid-template-columns: 1fr; }
  .contact-sidebar { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-intro { grid-column: 1 / -1; }
  .footer-cta__inner { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-company { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  :root { --pie-header-height: 88px; }
  html { scroll-padding-top: 110px; }
  .utility-bar__message { display: none; }
  .utility-bar__inner { justify-content: flex-end; }
  .primary-header__inner { position: relative; justify-content: space-between; gap: 16px; }
  .menu-toggle { display: inline-flex; order: 1; }
  .header-brand { width: 145px; margin-left: auto; order: 2; }
  .primary-navigation { position: absolute; top: calc(100% + 1px); right: 0; left: 0; z-index: 120; display: none; max-height: calc(100vh - 124px); overflow-y: auto; background: var(--pie-white); border-top: 1px solid var(--pie-border); box-shadow: 0 24px 44px rgba(8,25,35,.18); }
  .primary-navigation.is-open { display: block; }
  .primary-menu, .primary-navigation > .menu { display: grid; width: min(calc(100% - 38px),var(--pie-shell)); padding-block: 18px 26px; margin-inline: auto; gap: 0; }
  .primary-menu li, .primary-navigation > .menu li { border-bottom: 1px solid var(--pie-border); }
  .primary-menu a, .primary-navigation > .menu a { padding: 17px 4px; font-size: .88rem; }
  .primary-menu a::after, .primary-navigation > .menu a::after { bottom: -1px; }
  .home-hero__inner { align-items: flex-start; padding-top: 72px; }
  .inner-hero { min-height: 420px; }
}
@media (max-width: 650px) {
  body { font-size: 16px; }
  .site-shell { width: min(calc(100% - 30px),var(--pie-shell)); }
  .utility-bar__details > span:first-child, .utility-bar__divider { display: none; }
  .home-hero { min-height: 780px; background-position: 63% center; }
  .home-hero__inner { padding-block: 62px 70px; }
  .home-hero h1 { font-size: clamp(2.7rem,13vw,4.2rem); }
  .home-hero__intro { font-size: 1rem; }
  .hero-profile__item { min-height: 105px; padding: 22px 17px; }
  .hero-profile strong { font-size: .93rem; }
  .section { padding-block: 72px; }
  .focus-grid, .principles-grid, .region-stack, .contact-sidebar, .form-grid { grid-template-columns: 1fr; }
  .focus-card:last-child { grid-column: auto; }
  .focus-card, .principle-card { min-height: 0; }
  .company-facts { width: 100%; }
  .values-list article { grid-template-columns: 45px 1fr; gap: 16px; }
  .contact-intro { grid-column: auto; }
  .contact-form-card { padding: 28px 20px; }
  .form-submit-row { align-items: flex-start; flex-direction: column; }
  .footer-cta__inner { min-height: 0; }
  .footer-main { grid-template-columns: 1fr; padding-block: 58px; }
  .footer-company { grid-column: auto; }
  .footer-bottom__inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 20px; }
  .office-map-section { padding-bottom: 70px; }
  .office-map-card { min-height: 430px; }
}
@media (max-width: 430px) {
  .header-brand { width: 128px; }
  .hero-profile__label { font-size: .59rem; }
  .hero-profile strong { font-size: .84rem; }
  .inner-hero__inner { padding-block: 58px; }
  .contact-detail-card { padding: 20px; grid-template-columns: 44px 1fr; gap: 13px; }
  .contact-detail-card__icon { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
@media print {
  .site-header, .site-footer, .button, .office-map-section, .home-hero__rail { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .home-hero, .inner-hero, .section--dark { min-height: 0; color: #000; background: #fff !important; }
  .home-hero h1, .inner-hero h1, .section-title--light { color: #000; }
  .section { padding-block: 24pt; }
}
