/* onepage.css — the single-page preview (Pages/onepage, layout l_onepage).
   Minimal layout, themed on the logo's blue (#224085 — same as css/brand.css).
   Self-hosted Open Sans; sentence case throughout (no text-transform). */
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/open-sans/open-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/open-sans/open-sans-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/open-sans/open-sans-600.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/open-sans/open-sans-800.woff2') format('woff2'); }

:root {
  --op-blue: #224085;       /* the logo */
  --op-blue-dark: #1B3268;
  --op-blue-deep: #142650;
  --op-blue-light: #6F83B0;
  --op-tint: #E9ECF3;
  --op-ink: #14214a;        /* headings: near-black navy */
  --op-text: #42485a;
  --op-muted: #6b7286;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body.op-body { margin: 0; font-family: 'Open Sans', system-ui, sans-serif; color: var(--op-text); background: #fff; line-height: 1.7; }
a { color: inherit; }
img { max-width: 100%; }
.op-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header — logo blue bar, logo on a white patch */
.op-header { position: sticky; top: 0; z-index: 50; background: var(--op-blue); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.op-header-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.op-logo { display: inline-flex; background: #fff; padding: 6px 12px; border-radius: 3px; }
.op-logo img { height: 40px; display: block; }
.op-nav { display: flex; align-items: center; gap: 36px; }
.op-nav a { color: #dfe5f2; text-decoration: none; font-size: .85rem; font-weight: 600; letter-spacing: .08em; }
.op-nav a:hover { color: #fff; }
.op-nav a.op-nav-cta { color: var(--op-blue); background: #fff; border: 1px solid #fff; padding: 9px 22px; }
.op-nav a.op-nav-cta:hover { background: transparent; color: #fff; }
.op-nav-toggle, .op-burger { display: none; }

/* Hero — photo under a blue wash */
.op-hero { position: relative; min-height: calc(100vh - 72px); display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background-size: cover; background-position: center; }
.op-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 38, 80, .72) 0%, rgba(34, 64, 133, .66) 100%); }
.op-hero-in { position: relative; max-width: 760px; padding: 80px 24px; }
.op-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.12; margin: 0 0 24px; color: #fff; }
.op-hero p { font-size: 1.05rem; color: #e6ebf5; max-width: 560px; margin: 0 auto 36px; }
.op-scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: #d5dcec; font-size: 1.1rem; }
.op-light { font-weight: 400; }
h1 strong, h2 strong { font-weight: 800; }
.op-section h2 strong { color: var(--op-blue); }

.op-btn { display: inline-block; padding: 14px 40px; font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-decoration: none; transition: background .2s, color .2s; }
.op-btn-light { background: #fff; color: var(--op-blue); border: 1px solid #fff; }
.op-btn-light:hover { background: transparent; color: #fff; }

/* Sections */
.op-section { padding: 110px 0; }
.op-eyebrow { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .22em; color: var(--op-blue); margin-bottom: 14px; }
.op-eyebrow-light { color: #b9c5e0; }
.op-section h2, .op-contact h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.15; color: var(--op-ink); margin: 0; }
.op-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 72px; }
.op-intro { margin: 0; font-size: 1.02rem; }

/* Numbered service cards: 4 + 3, last row centred; blue rule on top */
.op-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 2px; }
.op-card { flex: 0 0 calc(25% - 2px); border-top: 3px solid var(--op-blue); padding: 40px 28px 48px; transition: background .2s; }
.op-card:hover { background: var(--op-tint); }
.op-num { font-size: .75rem; font-weight: 800; letter-spacing: .1em; color: var(--op-blue); }
.op-card h3 { font-size: 1.12rem; font-weight: 600; color: var(--op-ink); margin: 20px 0 14px; line-height: 1.35; }
.op-card p { font-size: .9rem; margin: 0; color: var(--op-muted); }

/* Story band — pale logo-blue tint */
.op-story { display: grid; grid-template-columns: 1fr 1fr; background: var(--op-tint); min-height: 640px; }
.op-story-text { padding: 100px 64px 100px max(24px, calc((100vw - 1120px) / 2 + 24px)); align-self: center; }
.op-story blockquote { margin: 0; padding-left: 24px; border-left: 4px solid var(--op-blue); font-style: italic; font-size: clamp(1.4rem, 2.3vw, 1.95rem); line-height: 1.4; color: var(--op-ink); }
.op-story hr { border: 0; border-top: 1px solid #c9d1e3; margin: 40px 0 32px; }
.op-story p { font-size: .95rem; }
.op-story-img { background-size: cover; background-position: center; min-height: 420px; }
.op-facts { display: flex; gap: 48px; margin-top: 36px; }
.op-facts strong { display: block; font-size: 2.2rem; font-weight: 800; color: var(--op-blue); line-height: 1; }
.op-facts span { font-size: .8rem; color: var(--op-muted); }

/* Projects */
.op-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.op-project { display: block; text-decoration: none; color: var(--op-text); }
.op-project-img { aspect-ratio: 4 / 5; background-size: cover; background-position: center; border-bottom: 4px solid var(--op-blue); transition: opacity .2s; }
.op-project:hover .op-project-img { opacity: .85; }
.op-project-meta { display: flex; justify-content: space-between; gap: 12px; font-size: .75rem; letter-spacing: .06em; color: var(--op-muted); margin-top: 20px; }
.op-project h3 { font-size: 1.2rem; font-weight: 600; color: var(--op-ink); margin: 8px 0 4px; }
.op-project:hover h3 { color: var(--op-blue); }
.op-status { font-size: .8rem; color: var(--op-blue); font-weight: 600; }

/* Contact — solid logo blue */
.op-contact { background: var(--op-blue); color: #d5dcec; padding: 110px 0; }
.op-contact h2 { color: #fff; }
.op-contact .op-split { align-items: start; margin-bottom: 0; }
.op-contact-lead { margin: 24px 0 36px; }
.op-offices { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; }
.op-office h3 { color: #fff; font-size: 1rem; font-weight: 600; margin: 0 0 4px; }
.op-office h3 em { font-style: normal; font-size: .7rem; font-weight: 600; letter-spacing: .08em; color: var(--op-blue); background: #fff; padding: 2px 7px; margin-left: 6px; vertical-align: middle; }
.op-office p { margin: 0 0 4px; font-size: .88rem; }
.op-office a { color: #fff; font-size: .88rem; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.op-office a:hover { border-color: #fff; }

/* Footer — deep navy under the blue */
.op-footer { background: var(--op-blue-deep); color: #a9b5d2; font-size: .8rem; }
.op-footer-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.op-footer a { color: #dfe5f2; }

.op-btn-blue { background: var(--op-blue); color: #fff; border: 1px solid var(--op-blue); cursor: pointer; font-family: inherit; }
.op-btn-blue:hover { background: var(--op-blue-dark); border-color: var(--op-blue-dark); color: #fff; }
.op-btn-blue:disabled { opacity: .7; cursor: default; }
.op-section-tint { background: var(--op-tint); }
.op-h2-gap { margin-bottom: 48px !important; }

/* Client words (shown only once a testimonial is published) */
.op-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.op-quote { margin: 0; background: #fff; border-top: 3px solid var(--op-blue); padding: 32px 28px; }
.op-quote blockquote { margin: 0 0 24px; font-style: italic; color: var(--op-ink); }
.op-quote figcaption { display: flex; align-items: center; gap: 12px; font-size: .85rem; color: var(--op-muted); }
.op-quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.op-quote figcaption strong { color: var(--op-ink); }

/* Contact us: words + offices beside the form */
.op-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.op-contact .op-offices { margin-top: 8px; gap: 24px 32px; }
.op-form-card { background: #fff; color: var(--op-text); padding: 40px; box-shadow: 0 18px 50px rgba(10, 20, 50, .25); }
.op-form-card h3 { margin: 0 0 20px; font-size: 1.3rem; font-weight: 600; color: var(--op-ink); }
.op-field { display: block; margin-bottom: 16px; }
.op-field span { display: block; font-size: .82rem; font-weight: 600; color: var(--op-ink); margin-bottom: 6px; }
.op-field span em { font-style: normal; font-weight: 400; color: var(--op-muted); }
.op-field input, .op-field select, .op-field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--op-ink); background: #fff;
  border: 1px solid #c9d1e3; border-radius: 2px; padding: 10px 12px;
}
.op-field textarea { resize: vertical; min-height: 120px; }
.op-field input:focus, .op-field select:focus, .op-field textarea:focus { outline: 2px solid var(--op-blue); outline-offset: 0; border-color: var(--op-blue); }
.op-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.op-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.op-form-error { background: #fdecec; border-left: 4px solid #b42318; color: #7a1a12; padding: 10px 14px; margin-bottom: 16px; font-size: .9rem; }
.op-form-done { text-align: center; padding: 48px 12px; }
.op-form-done i { font-size: 2.6rem; color: var(--op-blue); }
.op-form-done h3 { margin: 16px 0 8px; }
.op-form-done p { margin: 0; }
[hidden] { display: none !important; }

/* Inner pages: a project, image credits, not found */
.op-page { padding-top: 56px; }
.op-page h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; color: var(--op-ink); margin: 0 0 20px; }
.op-narrow { max-width: 860px; }
.op-back { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--op-blue); text-decoration: none; margin-bottom: 32px; }
.op-back:hover { text-decoration: underline; }
.op-project-page { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.op-project-page-img { aspect-ratio: 4 / 3; background-size: cover; background-position: center; border-bottom: 4px solid var(--op-blue); }
.op-project-facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 0 0 24px; }
.op-project-facts dt { font-size: .75rem; letter-spacing: .06em; color: var(--op-muted); }
.op-project-facts dd { margin: 2px 0 0; font-weight: 600; color: var(--op-ink); }
.op-pre { white-space: pre-wrap; margin: 0 0 32px; }
.op-table-wrap { overflow-x: auto; margin-top: 32px; }
.op-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.op-table th { text-align: left; font-size: .75rem; letter-spacing: .06em; color: var(--op-muted); font-weight: 600; border-bottom: 2px solid var(--op-blue); padding: 8px 12px 8px 0; }
.op-table td { border-bottom: 1px solid #dfe4ef; padding: 10px 12px 10px 0; vertical-align: top; }
.op-table a { color: var(--op-blue); }

/* Tablet */
@media (max-width: 991px) {
  .op-card { flex-basis: calc(50% - 2px); }
  .op-split, .op-story, .op-contact-grid, .op-project-page { grid-template-columns: 1fr; }
  .op-story-text { padding: 72px 24px; }
  .op-projects { grid-template-columns: 1fr 1fr; }
  .op-quotes { grid-template-columns: 1fr; }
  .op-contact-grid, .op-project-page { gap: 40px; }
}
/* Phone */
@media (max-width: 680px) {
  .op-burger { display: block; color: #fff; font-size: 1.3rem; cursor: pointer; padding: 8px; }
  .op-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--op-blue); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .op-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
  .op-nav a.op-nav-cta { margin-top: 14px; text-align: center; }
  .op-nav-toggle:checked ~ .op-nav { display: flex; }
  .op-section, .op-contact { padding: 72px 0; }
  .op-split { margin-bottom: 40px; gap: 20px; }
  .op-card { flex-basis: 100%; padding: 28px 4px 36px; }
  .op-projects, .op-offices, .op-field-row { grid-template-columns: 1fr; }
  .op-facts { gap: 28px; }
  .op-form-card { padding: 28px 20px; }
}
