/* One Plus Media — site styles
   Palette taken from the logo: brand orange #F08200 and charcoal #333333. */
@font-face {
  font-family: 'Plus Jakarta Sans'; src: url('fonts/plus-jakarta-sans.woff2') format('woff2');
  font-weight: 200 800; font-style: normal; font-display: swap;
}
:root {
  --orange: #F08200;
  --orange-text: #A85800;   /* orange for text on white, passes AA */
  --ink: #333333;
  --ink-soft: #5C5F66;
  --paper: #FFFFFF;
  --mist: #EEF0F2;
  --line: #D8DBE0;
  --wrap: 1200px;
  --gut: clamp(20px, 5vw, 56px);
  --wide: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink);
  font-family: var(--wide); font-size: 16px; line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); font-weight: 750; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.45rem, 2.5vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Buttons and links */
.btn {
  display: inline-block; background: var(--orange); color: var(--ink); text-decoration: none;
  font-weight: 700; padding: 0.8em 1.5em; border-radius: 999px; border: 0;
  font-size: .95rem; font-family: inherit; cursor: pointer; transition: background .2s;
}
.btn:hover { background: #FF9A26; }
.btn-sm { padding: 0.55em 1.15em; font-size: 0.9rem; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.link:hover { color: var(--orange-text); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { width: 150px; height: auto; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 34px; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.site-nav > ul > li > a:not(.btn) { display: inline-block; padding: 26px 0; border-bottom: 3px solid transparent; }
.site-nav a[aria-current="page"]:not(.btn), .site-nav .has-sub.is-active > a { border-bottom-color: var(--orange); }
.site-nav a:not(.btn):hover { color: var(--orange-text); }
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { display: none; }
.sub {
  list-style: none; margin: 0; padding: 10px 0; position: absolute; top: calc(100% + 26px); left: -20px; min-width: 220px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -20px rgba(51,51,51,.35);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.sub a { display: block; padding: 9px 20px; font-weight: 500; }
.sub a[aria-current] { color: var(--orange-text); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 0; }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 2px; background: var(--ink); position: relative; margin: 0 auto; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero — the logo's split "O" becomes the page's signature */
.hero { padding: clamp(48px, 8vw, 110px) 0 clamp(56px, 8vw, 120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 10ch; }
.hero .lead { font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 34ch; margin: 28px 0 36px; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.hero-mark { position: relative; aspect-ratio: 1; display: grid; grid-template-columns: 1fr 1fr; border-radius: 50%; overflow: hidden; }
.half { height: 100%; }
.half-fill { background: var(--orange); }
.half-photo { background-size: cover; background-position: 72% center; filter: grayscale(.15) contrast(1.05); }
@media (prefers-reduced-motion: no-preference) {
  .half-fill { animation: slideL .9s cubic-bezier(.2,.7,.2,1) both; }
  .half-photo { animation: slideR .9s .08s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes slideL { from { transform: translateX(-100%); } }
  @keyframes slideR { from { transform: translateX(100%); } }
}

/* Section scaffolding */
section { padding: clamp(56px, 8vw, 104px) 0; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.split-head { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 6vw, 96px); align-items: start; margin-bottom: 48px; }
.split-head p { margin: 0; color: var(--ink-soft); max-width: 60ch; }
.prose p { max-width: 62ch; }
.statement { font-size: clamp(1.2rem, 1.9vw, 1.55rem); font-weight: 600; line-height: 1.35; margin: 0; }
.section-title { margin-bottom: 40px; }
.svc-body .statement { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.45; }
.intro { border-top: 1px solid var(--line); padding-top: clamp(56px, 8vw, 100px); }

/* Service index — a list, set large */
.svc-index { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.svc-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px; align-items: center; gap: 24px;
  padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.svc-name { font-size: clamp(1.25rem, 2.3vw, 1.85rem); font-weight: 700; line-height: 1.1; transition: color .2s; }
.svc-tags { color: var(--ink-soft); font-size: .92rem; }
.svc-go { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); position: relative; transition: background .2s, border-color .2s; }
.svc-go::after { content: ""; position: absolute; inset: 0; margin: auto; width: 9px; height: 9px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: translateX(-2px) rotate(45deg); }
.svc-row:hover .svc-name { color: var(--orange-text); }
.svc-row:hover .svc-go { background: var(--orange); border-color: var(--orange); }
.services-home { background: var(--mist); }
.services-home .svc-index { border-top-color: var(--ink); }

/* Process — a real sequence, so it is numbered */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px; }
.step { counter-increment: step; }
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 20px; }
.step h3::before { content: counter(step); display: inline-grid; place-items: center; width: 2em; height: 2em; margin-right: .6em; border-radius: 50%; background: var(--ink); color: #fff; font-size: .8rem; vertical-align: .15em; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: .93rem; margin: 0; }

/* Clients */
.clients { border-top: 1px solid var(--line); }
.logo-wall { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.logo-wall li { flex: 0 0 calc((100% - 5 * 12px) / 6); height: 120px; display: flex; align-items: center; justify-content: center; padding: 20px 26px; background: var(--mist); }
.logo-wall img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.logo-wall li:hover img { filter: none; opacity: 1; }

/* CTA band */
.cta-band { background: var(--orange); }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 16px 48px; align-items: end; }
.cta-inner h2 { max-width: 18ch; }
.cta-inner p { grid-column: 1; margin: 0; max-width: 52ch; }
.cta-inner .btn { grid-column: 2; grid-row: 1 / span 2; align-self: center; }

/* Inner page head */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
.page-head .lead { font-size: 1.05rem; color: var(--ink-soft); margin: 20px 0 0; max-width: 56ch; }
.crumbs ol { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--orange-text); }

.wide-photo { margin: clamp(48px, 7vw, 88px) 0 0; }
.wide-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

/* Service detail items */
.svc-items { background: var(--mist); }
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; }
.items li { padding: 28px 0 28px 30px; border-top: 1px solid var(--line); position: relative; }
.items li::before { content: ""; position: absolute; left: 0; top: 34px; width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(90deg, var(--orange) 50%, var(--ink) 50%); }
.items h3 { margin-bottom: 8px; }
.items p { margin: 0; color: var(--ink-soft); font-size: .93rem; }
.more { background: var(--paper); }

/* Services overview */
.svc-overview .wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; }
.svc-summary { padding: 44px 0; border-top: 2px solid var(--ink); }
.svc-summary h2 a { text-decoration: none; } .svc-summary h2 a:hover { color: var(--orange-text); }
.svc-summary .svc-tags { margin: 10px 0 18px; }
.mini { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mini li { font-size: .88rem; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 88px); }
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 20px; }
.form input, .form textarea {
  display: block; width: 100%; margin-top: 8px; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink);
  background: var(--mist); border: 1px solid transparent; border-bottom: 2px solid var(--ink-soft); padding: 14px 16px; border-radius: 0;
}
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: var(--orange); background: #fff; border-color: var(--line) var(--line) var(--orange); }
.form [aria-invalid="true"] { border-bottom-color: #C0392B; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 16px; font-weight: 600; min-height: 1.6em; }
.form-status.ok { color: #1E7A46; } .form-status.err { color: #B03A2E; }
.contact-info dl { margin: 0 0 32px; display: grid; grid-template-columns: auto 1fr; gap: 14px 24px; }
.contact-info dt { font-weight: 700; } .contact-info dd { margin: 0; }
.contact-info a { text-decoration-color: var(--orange); text-underline-offset: 4px; }
.map { aspect-ratio: 4 / 3; background: var(--mist); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer { background: var(--ink); color: #D6D7DA; padding: 64px 0 28px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.f-brand img { width: 170px; margin-bottom: 18px; }
.f-h { font-size: 1rem; color: #fff; margin-bottom: 16px; }
.f-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.f-list a { text-decoration: none; } .f-list a:hover { color: var(--orange); }
.f-bottom { margin-top: 56px; font-size: .85rem; color: #A9ABB0; }
.f-bottom p { margin: 0; padding-top: 24px; border-top: 1px solid #4A4C52; }

/* Responsive */
@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .logo-wall li { flex-basis: calc((100% - 3 * 12px) / 4); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 76px 0 0 0; background: #fff; padding: 12px var(--gut) 40px; overflow-y: auto; display: none; }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > ul > li { border-bottom: 1px solid var(--line); }
  .site-nav > ul > li > a:not(.btn) { display: block; padding: 18px 0; font-size: 1.25rem; border: 0; }
  .site-nav a[aria-current="page"]:not(.btn) { color: var(--orange-text); }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { display: block; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
  .sub-toggle span { display: block; width: 10px; height: 10px; margin: 0 auto; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
  .sub-toggle[aria-expanded="true"] span { transform: rotate(-135deg); }
  .sub { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; display: none; }
  .has-sub:hover .sub { display: none; }
  .sub.open, .has-sub:hover .sub.open { display: block; }
  .sub a { padding: 10px 0; }
  .nav-cta { border: 0 !important; padding-top: 24px; }
  .nav-cta .btn { display: block; text-align: center; font-size: 1.05rem; padding: 14px; }
  .hero-grid, .split, .split-head, .contact-grid, .cta-inner { grid-template-columns: 1fr; }
  .hero-mark { max-width: 420px; width: 100%; justify-self: end; order: -1; }
  .hero h1 { max-width: none; }
  .split-head { align-items: start; gap: 16px; }
  .cta-inner .btn { grid-column: 1; grid-row: auto; justify-self: start; }
  .items, .svc-overview .wrap { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr 40px; }
  .svc-tags { grid-column: 1; grid-row: 2; font-size: .92rem; }
  .svc-go { grid-row: 1 / span 2; grid-column: 2; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .steps { grid-template-columns: 1fr; }
  .logo-wall li { flex-basis: calc((100% - 2 * 12px) / 3); height: 96px; padding: 16px; }
  .row2 { grid-template-columns: 1fr; }
}

/* ---------- Mobile refinements ---------- */
@media (max-width: 860px) {
  .header-inner { height: 64px; }
  .site-nav { inset: 64px 0 0 0; }
  .brand img { width: 132px; }
  section { padding: 52px 0; }
  .intro { padding-top: 48px; }
  .hero { padding: 28px 0 48px; }
  .hero-grid { gap: 28px; }
  .hero-mark { max-width: 240px; justify-self: start; }
  .hero .lead { margin: 18px 0 26px; }
  .hero-actions { gap: 20px; }
  .split, .split-head { gap: 14px; }
  .split-head { margin-bottom: 28px; }
  .page-head { padding: 32px 0 28px; }
  .crumbs ol { margin-bottom: 16px; font-size: .82rem; }
  .svc-row { padding: 18px 0; gap: 4px 16px; }
  .svc-go { width: 34px; height: 34px; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .step { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; }
  .step img { margin: 0; aspect-ratio: 1; }
  .step h3 { margin-bottom: 6px; }
  .items li { padding: 20px 0 20px 26px; }
  .items li::before { top: 25px; width: 12px; height: 12px; }
  .svc-summary { padding: 32px 0; }
  .wide-photo { margin-top: 36px; }
  .wide-photo img { aspect-ratio: 4 / 3; }
  .cta-inner { gap: 14px; }
  .contact-info dl { gap: 10px 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .f-brand { grid-column: 1 / -1; }
  .f-brand img { width: 140px; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .site-footer { padding-top: 48px; }
  .f-bottom { margin-top: 36px; }
}
@media (max-width: 560px) {
  h1 { font-size: 2rem; }
  .page-head h1 { font-size: 1.9rem; }
  h2 { font-size: 1.4rem; }
  .svc-name { font-size: 1.2rem; }
  .statement { font-size: 1.1rem; }
  .svc-body .statement { font-size: 1.05rem; }
  .hero-mark { max-width: 200px; }
  .logo-wall { gap: 8px; }
  .logo-wall li { flex-basis: calc((100% - 2 * 8px) / 3); height: 76px; padding: 12px; }
  .logo-wall img { max-height: 40px; }
  .cta-inner .btn { width: 100%; text-align: center; }
  .hero-actions .btn { flex: 1 1 auto; text-align: center; }
}
