/* Pacific Field & Construction — site styles */
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-var.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --deep: #0F3D4C;
  --deep-2: #0B2F3B;
  --teal: #1F7A7A;
  --teal-dk: #186464;
  --mint: #8FD0C6;
  --sand: #EEE8DC;
  --sand-2: #E2DACB;
  --ink: #10242C;
  --body: #34474F;
  --line: #D5DDDF;
  --white: #fff;
  --r: 6px;
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Manrope", system-ui, sans-serif; font-size: 17px; line-height: 1.6; color: var(--body); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 750; }
h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--white); padding: 8px 14px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }

.kicker { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: .9em; }
.kicker--light { color: var(--mint); }
.lede { font-size: 1.15rem; max-width: 60ch; }
.fine { font-size: .9rem; color: #5D6F76; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; min-height: 48px; padding: 0 22px; border-radius: var(--r); font-weight: 700; font-size: .98rem; text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn--teal { background: var(--teal); color: var(--white); }
.btn--teal:hover { background: var(--teal-dk); }
.btn--line { border-color: var(--deep); color: var(--deep); }
.btn--line:hover { background: var(--deep); color: var(--white); }
.btn--white { background: var(--white); color: var(--deep); }
.btn--white:hover { background: var(--sand); }
.arrowlink { font-weight: 700; text-decoration: none; }
.arrowlink::after { content: " \2192"; }

/* utility + masthead */
.utility { background: var(--sand); font-size: .82rem; color: var(--body); }
.utility__row { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.utility__links { display: flex; gap: 22px; }
.utility a { color: var(--deep); text-decoration: none; font-weight: 600; }
.utility a:hover { text-decoration: underline; }
.masthead { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.masthead__row { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 24px; }
.masthead__logo img { width: 260px; height: auto; }
.sitenav { display: flex; align-items: center; gap: 28px; }
.sitenav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.sitenav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 650; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.sitenav a:not(.btn):hover, .sitenav a[aria-current="page"] { border-bottom-color: var(--teal); }
.navbtn { display: none; }

/* hero */
.hero { padding: 64px 0 0; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__copy h1 { margin-bottom: .35em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__media { position: relative; margin: 0; }
.hero__media::before { content: ""; position: absolute; inset: 36px -24px -24px 36px; background: var(--sand); border-radius: var(--r); z-index: -1; }
.hero__media img { border-radius: var(--r); aspect-ratio: 6 / 7; object-fit: cover; width: 100%; }
.hero__media figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(15,61,76,.88); color: var(--white); font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 4px; }
.scopebar { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 72px; border-top: 1px solid var(--line); }
.scopebar span { padding: 22px 0; font-weight: 700; color: var(--deep); border-right: 1px solid var(--line); padding-left: 20px; }
.scopebar span:first-child { padding-left: 0; }
.scopebar span:last-child { border-right: 0; }

/* blocks */
.block { padding: 96px 0; }
.block--sand { background: var(--sand); }
.block__head { max-width: 720px; margin-bottom: 48px; }
.trades { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.trade a { display: block; text-decoration: none; color: inherit; }
.trade img { aspect-ratio: 16 / 11; object-fit: cover; width: 100%; border-radius: var(--r); margin-bottom: 18px; transition: transform .35s; }
.trade a:hover img { transform: translateY(-4px); }
.trade h3 { display: flex; justify-content: space-between; border-top: 2px solid var(--deep); padding-top: 14px; }
.trade h3::after { content: "\2192"; color: var(--teal); }
.trade p { font-size: .95rem; }

.sequence { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.sequence__media img { border-radius: var(--r); aspect-ratio: 5 / 6; object-fit: cover; width: 100%; }
.steps { list-style: none; counter-reset: s; margin: 28px 0 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 26px 140px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--sand-2); align-items: baseline; }
.steps li::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--teal); transform: translateY(1px); }
.steps strong { color: var(--ink); }

.split-list { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.sectorlist { margin: 0; }
.sectorlist div { padding: 22px 0; border-top: 1px solid var(--line); }
.sectorlist dt { font-weight: 750; color: var(--ink); font-size: 1.12rem; margin-bottom: 4px; }
.sectorlist dd { margin: 0; }

.careers-band { background: var(--deep); color: #CFE0E2; }
.careers-band__grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: stretch; }
.careers-band__img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 9 / 10; }
.careers-band__copy { padding: 80px 0 80px 64px; align-self: center; }
.careers-band h2 { color: var(--white); }

.cta { background: var(--deep-2); color: #C5D7DA; padding: 56px 0; }
.cta__row { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.cta h2 { color: var(--white); margin: 0; font-size: 1.6rem; }
.cta p { margin: 0; }

/* inner pages */
.pagehead { padding: 80px 0 64px; background: var(--sand); }
.pagehead--photo { position: relative; background: var(--deep); color: #DCE8EA; overflow: hidden; padding: 120px 0 88px; }
.pagehead__bg { position: absolute; inset: 0; }
.pagehead__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.pagehead--photo .wrap { position: relative; }
.pagehead--photo h1 { color: var(--white); }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.jump a { background: var(--white); color: var(--deep); text-decoration: none; font-weight: 700; padding: 8px 16px; border-radius: var(--r); font-size: .9rem; }
.svc { padding: 88px 0; scroll-margin-top: 100px; }
.svc--alt { background: #F7F5F0; }
.svc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.svc__img { border-radius: var(--r); aspect-ratio: 7 / 5; object-fit: cover; width: 100%; }
.ticks { list-style: none; padding: 0; margin: 20px 0; columns: 2; column-gap: 28px; }
.ticks li { padding: 6px 0 6px 26px; position: relative; break-inside: avoid; font-size: .96rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 13px; width: 14px; height: 8px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.sector-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 40px; }
.sector img { border-radius: var(--r); aspect-ratio: 19 / 12; object-fit: cover; width: 100%; margin-bottom: 20px; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.principles h2 { font-size: 1.2rem; padding-top: 16px; border-top: 3px solid var(--teal); }
.placeholder { background: var(--white); border: 1px dashed var(--teal); padding: 14px 18px; border-radius: var(--r); font-size: .92rem; }
.roletable { width: 100%; border-collapse: collapse; font-size: .98rem; }
.roletable th, .roletable td { text-align: left; padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.roletable thead th { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); border-bottom: 2px solid var(--deep); }
.roletable tbody th { color: var(--ink); width: 18%; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--r); padding: 32px; }
.contact-card--plain { background: var(--sand); border-color: var(--sand); }
.bigmail { font-size: 1.35rem; font-weight: 800; overflow-wrap: anywhere; }
.bigmail a { color: var(--deep); }

/* footer */
.foot { background: var(--sand); color: var(--body); padding: 56px 0 0; font-size: .95rem; border-top: 4px solid var(--teal); }
.foot__top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; }
.foot__top img { width: 250px; }
.foot__mail { text-align: right; }
.foot__mail span { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.foot__mail a { font-size: clamp(1.1rem, 2.4vw, 1.6rem); font-weight: 800; color: var(--deep); text-decoration: none; overflow-wrap: anywhere; }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 22px 24px; border-top: 1px solid var(--sand-2); border-bottom: 1px solid var(--sand-2); }
.foot__links a { color: var(--ink); font-weight: 650; text-decoration: none; }
.foot__links a:hover { color: var(--teal); }
.foot__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 24px; font-size: .82rem; color: #5D6F76; }
.demo { color: var(--teal-dk); font-weight: 600; }

/* responsive */
@media (max-width: 1080px) {
  .navbtn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); cursor: pointer; }
  .navbtn__icon, .navbtn__icon::before, .navbtn__icon::after { display: block; width: 20px; height: 2px; background: var(--deep); position: relative; transition: transform .2s; }
  .navbtn__icon::before, .navbtn__icon::after { content: ""; position: absolute; left: 0; }
  .navbtn__icon::before { top: -6px; } .navbtn__icon::after { top: 6px; }
  .navbtn[aria-expanded="true"] .navbtn__icon { background: transparent; }
  .navbtn[aria-expanded="true"] .navbtn__icon::before { transform: translateY(6px) rotate(45deg); }
  .navbtn[aria-expanded="true"] .navbtn__icon::after { transform: translateY(-6px) rotate(-45deg); }
  .sitenav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 24px 24px; gap: 8px; box-shadow: 0 18px 30px -20px rgba(16,36,44,.4); }
  .sitenav.is-open { display: flex; }
  .sitenav ul { flex-direction: column; gap: 0; }
  .sitenav a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .sitenav__cta { justify-content: center; margin-top: 12px; }
  .trades { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .utility__row > span:first-child { display: none; }
  .utility__row { justify-content: flex-end; }
  .hero__grid, .sequence, .split-list, .svc__grid, .careers-band__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__media::before { inset: 20px -12px -12px 20px; }
  .hero__media img { aspect-ratio: 4 / 3; }
  .scopebar { grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .scopebar span { padding-left: 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .svc--alt .svc__grid > img { order: -1; }
  .careers-band__img { aspect-ratio: 16 / 10; }
  .careers-band__copy { padding: 8px 0 64px; }
  .cta__row { grid-template-columns: 1fr; gap: 16px; }
  .steps li { grid-template-columns: 26px 1fr; }
  .steps li span { grid-column: 2; }
  .sector-grid, .contact-grid { grid-template-columns: 1fr; }
  .roletable thead { display: none; }
  .roletable tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .roletable th, .roletable td { display: block; border: 0; padding: 3px 0; width: auto !important; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .utility__links a:last-child { display: none; }
  .masthead__row { min-height: 72px; }
  .masthead__logo img { width: 210px; }
  .block { padding: 64px 0; }
  .trades, .principles { grid-template-columns: 1fr; }
  .foot__mail { text-align: left; }
  .ticks { columns: 1; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
