/* Headline's split lead, topic grid, image and card markup, adapted to Bootstrap.
   Upstream: github.com/TryGhost/Headline (MIT), e707219. */
@font-face {
    font-family: Lora;
    src: url('../cms-themes/headline/fonts/lora-medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}
.tech-site--online {
    --paper: #faf9f5;
    --ink: #1b201b;
    --accent: #a33712;
    --orange: #e96026;
    --muted: #555b52;
    --line: #c8cac1;
    --ot-serif: Lora, Georgia, serif;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Helvetica Neue', Arial, sans-serif;
}
.ot-frame { max-width: 1392px; padding-inline: clamp(1.1rem, 5vw, 5.25rem); }
.ot-header { border-bottom: 1px solid var(--ink); }
.ot-masthead { min-height: 5.15rem; padding-block: .8rem; gap: .5rem 2rem; }
.ot-brand { display: inline-flex; align-items: center; gap: .65rem; color: inherit; font-size: clamp(1.65rem,2.6vw,2.15rem); font-weight: 750; letter-spacing: -.07em; line-height: 1.05; text-decoration: none; }
.ot-emblem { display: inline-block; width: 1em; aspect-ratio: 1; flex: none; background: var(--orange); clip-path: polygon(45% 0,55% 0,57% 30%,77% 8%,85% 15%,68% 39%,98% 34%,100% 44%,71% 52%,97% 66%,92% 75%,64% 64%,73% 93%,63% 97%,50% 69%,37% 97%,27% 93%,36% 64%,8% 75%,3% 66%,29% 52%,0 44%,2% 34%,32% 39%,15% 15%,23% 8%,43% 30%); }
.ot-nav { gap: clamp(.7rem,2.4vw,2.2rem); }
.ot-nav .nav-link { color: var(--ink); font-size: 1rem; padding: .4rem .1rem; }
.ot-nav .nav-link:is(:hover,[aria-current]) { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: .55em; }
.ot-cover { margin-top: clamp(1.4rem,3.6vw,3.5rem); border: 1px solid var(--ink); background: #eceee5; }
.ot-cover-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(1.7rem,4.1vw,4rem); }
.ot-cover-art { position: relative; overflow: hidden; background: #ee742b; min-height: clamp(22rem,32vw,32rem); }
.ot-cover-art img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.tech-site--online .tech-kicker { color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font: 650 .8rem/1.5 ui-monospace, Menlo, Consolas, monospace; }
.ot-cover-kicker { margin-bottom: clamp(1.1rem,2vw,2rem); display: inline-flex; gap: .65rem; align-items: center; }
.ot-cover-kicker:before { content: ''; background: currentColor; width: 1.45rem; height: 2px; }
.tech-site--online :is(h1,h2,h3) { font-family: var(--ot-serif); font-weight: 500; letter-spacing: -.048em; line-height: 1.12; color: var(--ink); }
.ot-cover h1 { font-size: clamp(3.45rem,5.65vw,5.25rem); line-height: 1.04; margin: 0; }
.ot-standfirst { font-size: clamp(1.05rem,1.3vw,1.2rem); line-height: 1.5; max-width: 36ch; margin: 1.4rem 0 1.65rem; color: #393e36; }
.ot-button { border-radius: 2px; padding: .78rem 1.35rem; font-size: 1rem; font-weight: 600; --bs-btn-color: #fff; --bs-btn-bg: var(--ink); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #393f37; --bs-btn-active-color: #fff; --bs-btn-active-bg: #393f37; }
.ot-stories { padding: clamp(2.6rem,4.4vw,4rem) 0; }
.ot-section-head { display:flex; align-items:center; gap: 1.2rem; margin-bottom: clamp(1.3rem,2.5vw,2rem); }
.ot-section-head:after { content:''; border-bottom: 1px solid var(--ink); flex: 1; }
.ot-section-head h2, .ot-directory h2 { margin: 0; font-size: clamp(2rem,3.5vw,3.1rem); }
.gh-topic-content { --bs-gutter-x: clamp(1.5rem,4vw,4rem); }
.gh-card-link { display: flex; align-items: flex-start; gap: clamp(1rem,2vw,1.5rem); }
.gh-card-image { flex: none; width: 35%; margin: 0; }
.gh-card-image img { width: 100%; height: auto; aspect-ratio: 1.18; object-fit: cover; }
.gh-card-title { font-size: clamp(1.42rem,2vw,1.95rem); margin: 0; }
.gh-card-title a { color: var(--ink); text-decoration: none; }
.gh-card-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .12em; }
.gh-card-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: .55rem 0 0; color: var(--muted); font-size: 1rem; }
.gh-card-footer { margin-top: .65rem; font-size: .82rem; color: var(--accent); }
.ot-directory { padding-inline: clamp(1.35rem,3.4vw,3rem); background: #eceee5; border-block: 1px solid var(--ink); }
.ot-directory-item + .ot-directory-item { padding-top: 1.5rem; border-top: 1px solid var(--line); margin-top: 1.5rem; }
.ot-directory h3 { font-size: clamp(1.5rem,2.6vw,2rem); }
.ot-directory p, .tech-site--online .tech-lead { color: var(--muted); }
.tech-site--online .tech-text-link, .tech-site--online .tech-prose a, .tech-site--online .tech-topics a, .tech-site--online .tech-pager a { color: var(--accent); font-weight: 550; text-underline-offset: .22em; }
.ot-footer { margin-top: clamp(2.5rem,5vw,5rem); padding-block: 2.25rem; color: var(--paper); background: var(--ink); }
.ot-footer a { color: inherit; }
.ot-footer small { color: #d4d7cd; }
.tech-site--online .tech-page-head h1 { max-width: 20ch; margin-block: .7rem 1.3rem; font-size: clamp(2.7rem,5.75vw,5.5rem); }
.tech-site--online .tech-page-head .tech-text-link { display: inline-block; margin-bottom: 1.5rem; }
.tech-site--online .tech-card h2, .tech-site--online .tech-callout h2 { font-size: clamp(1.65rem,3vw,2.7rem); }
.tech-site--online .tech-steps { margin-top: 1.8rem; }
.tech-site--online .tech-steps article { padding-top: 1rem; border-top: 2px solid var(--orange); }
.tech-site--online .tech-callout { display:flex; gap: 1.5rem; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.tech-site--online .tech-callout div { max-width: 58ch; }
@media (max-width: 991.98px) {
    .ot-cover-copy { padding: clamp(1.5rem,4vw,3rem); }
    .ot-cover h1 { max-width: 16ch; font-size: clamp(3.4rem,8vw,5rem); }
    .ot-standfirst { max-width: 54ch; }
    .ot-cover-art { min-height: 0; aspect-ratio: 2.05; }
}
@media (max-width: 575.98px) {
    .ot-masthead { min-height: 0; flex-direction: column; align-items: flex-start; padding-block: 1rem .7rem; }
    .ot-nav { gap: 1.3rem; }
    .ot-nav .nav-link { font-size: .96rem; }
    .ot-cover-art { aspect-ratio: 1.6; }
    .gh-card-image { width: 31%; }
}

/* Digital studio direction. The reading cards keep their Headline markup. */
.tech-site--online {
    --paper: #f6f9ff;
    --ink: #122444;
    --accent: #3558bf;
    --orange: #80dfcd;
    --muted: #465675;
    --line: #d6e1f3;
    --ot-serif: 'Helvetica Neue', Arial, sans-serif;
}
.ot-masthead { min-height: 5rem; }
.ot-brand { letter-spacing: -.065em; }
.ot-emblem { background: #5274e8; }
.ot-nav .nav-link:is(:hover,[aria-current]) { text-decoration-color: #5274e8; }
.ot-header { border-color: var(--line); background: #fff; }
.ot-cover {
    background: #132953;
    color: #f6f9ff;
    border: 0;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 20px 52px -30px #2d4a8580;
}
.ot-cover h1 { color: inherit; font-size: clamp(2.85rem,5.3vw,5.05rem); line-height: 1.02; font-weight: 720; max-width: 12ch; }
.tech-site--online .ot-cover-kicker { color: #a9eade; }
.ot-standfirst { color: #e2eaf9; max-width: 42ch; }
.ot-cover-art { background: #20365e; }
.ot-cover .ot-button { --bs-btn-bg: #a9eade; --bs-btn-color: #102544; --bs-btn-hover-bg: #c1f2e9; --bs-btn-hover-color: #102544; border-radius: .5rem; }
.ot-secondary { color: #fff; text-decoration-color: #a9eade; text-underline-offset: .25rem; }
.ot-secondary:hover { color: #a9eade; }
.ot-directory { background: #e9f0ff; border: 0; border-radius: 1rem; }
.ot-section-head::after { border-color: var(--line); }
.ot-directory-item h3, .gh-card-title { font-family: Lora, Georgia, serif; }
.tech-site--online .technology-expanded--faq { background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding-inline: clamp(1.1rem,3.5vw,3rem); }
.tech-site--online .technology-expanded header p { color: var(--muted); }
@media (max-width: 991.98px) {
    .ot-cover h1 { max-width: 15ch; }
}

/* Studio homepage */
.tech-site--online { --accent: #304acb; --line: #dce3f3; --ink: #161f3b; background: #fbfcff; }
.ot-header .navbar { gap: 1rem; }
.ot-header-cta { flex: none; }
.ot-cover { background: #e9edff; color: var(--ink); margin-top: clamp(1rem,3vw,2.6rem); }
.ot-cover-copy { padding-block: clamp(2.5rem,7vw,6.8rem); }
.ot-cover h1 { color: var(--ink); }
.tech-site--online .ot-cover-kicker { color: #304acb; }
.ot-cover .ot-button, .studio-primary { --bs-btn-color: #fff; --bs-btn-bg: #304acb; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #243cae; --bs-btn-active-color: #fff; --bs-btn-active-bg: #243cae; --bs-btn-padding-y: .65rem; --bs-btn-padding-x: 1.2rem; --bs-btn-font-weight: 650; }
.ot-header .studio-primary { --bs-btn-padding-y: .5rem; }
.ot-cover .ot-secondary { color: #273d9f; text-decoration-color: #7182d8; }
.ot-cover .ot-standfirst { color: #364263; }
.ot-cover-art { background: #d9e3ff; }
.ot-cover-art img { object-position: 63% center; }
.studio-section { padding-block: clamp(3.2rem,7vw,6.5rem); }
.studio-section h2 { font-size: clamp(2rem,4vw,3.65rem); font-weight: 720; line-height: 1.06; margin-bottom: .8rem; }
.studio-section h3 { font-size: clamp(1.22rem,2vw,1.72rem); font-weight: 670; }
.studio-intro { max-width: 62ch; line-height: 1.65; color: var(--muted); font-size: 1.08rem; }
.studio-section-heading { max-width: 52rem; margin: 0 auto 2rem; text-align: center; }
.studio-section-heading p { margin-inline: auto; }
.studio-photo { display: block; width: 100%; height: auto; border-radius: 1rem; object-fit: cover; aspect-ratio: 1.36; }
.studio-section--approach { border-top: 1px solid var(--line); }
.studio-tabs { margin-top: 1.65rem; gap: .15rem; }
.studio-tabs .nav-link { color: #3043a2; font-weight: 640; }
.studio-section--intro .tab-pane { padding-top: 1.05rem; line-height: 1.66; }
.studio-section--intro .tab-pane p { max-width: 63ch; margin-bottom: 0; }
.studio-checks { display: grid; gap: .85rem; padding: 0; margin: 1.5rem 0; list-style: none; }
.studio-checks li { display: grid; grid-template-columns: 1.65rem 1fr; column-gap: .5rem; }
.studio-checks li::before { content: '✓'; grid-row: span 2; color: #304acb; font-weight: 750; }
.studio-checks span { color: var(--muted); }
.studio-carousel { max-width: 70rem; margin-inline: auto; }
.studio-slide { border-radius: 1rem; background: #edf1ff; overflow: hidden; }
.studio-slide--image { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.studio-slide img { display: block; width: 100%; height: 100%; min-height: 17rem; max-height: 25rem; object-fit: cover; }
.studio-slide-copy { padding: clamp(1.35rem,4vw,3.4rem); align-self: center; font-size: 1.07rem; }
.studio-slide-copy :last-child { margin-bottom: 0; }
.studio-carousel-actions { display: flex; justify-content: center; gap: .6rem; margin-top: 1rem; }
.studio-outline { --bs-btn-color: #304acb; --bs-btn-border-color: #9faee4; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #304acb; }
.studio-section--consultation { background: #202f6a; border-radius: 1rem; color: white; padding-inline: clamp(1.4rem,5vw,5rem); scroll-margin-top: 1.25rem; }
.studio-section--consultation h2, .studio-section--consultation .studio-intro { color: inherit; }
.studio-brief { padding: clamp(1.1rem,3.4vw,2rem); background: white; border-radius: .75rem; color: var(--ink); }
.studio-brief label { font-weight: 650; }
.studio-brief label span { font-weight: 400; }
.studio-brief .studio-brief-status { color: #2a5062; }
.studio-milestones { margin: 0; padding: 0; list-style: none; }
.studio-milestones li { border-bottom: 1px solid var(--line); border-left: 3px solid #7187ed; padding: .7rem 1rem; margin-bottom: .75rem; }
.studio-milestones p { margin: 0; }
.studio-role { background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 1.35rem; }
.studio-section--questions { padding-top: 1.7rem; }
.studio-section--questions .studio-slide { max-width: 50rem; margin-inline: auto; }
.studio-section--next { border-radius: 1rem; background: #e9edff; text-align: center; padding-inline: 1.25rem; }
.studio-section--next .studio-section-heading { margin-bottom: 1.1rem; }
.ot-footer { background: #17244c; }
.ot-footer nav a, .ot-footer .col-6 a { display: block; margin-top: .35rem; }
.ot-footer .studio-footer-actions { padding-bottom: 1.35rem; border-bottom: 1px solid #727fa8; }
.ot-footer .studio-footer-actions a { display:block; margin-top: .35rem; }
@media(max-width: 767.98px) {
    .studio-slide--image { grid-template-columns: 1fr; }
    .studio-slide img { aspect-ratio: 1.85; min-height: 0; }
    .ot-header .navbar { align-items: flex-start; }
    .ot-header-cta { display: none; }
}

.studio-facts { margin-top: clamp(1.6rem,4vw,3.5rem); margin-bottom: 0; text-align: center; }
.studio-facts > div { background: #edf1ff; border-block: 1px solid #d7dff3; padding: 1rem .65rem; }
.studio-facts dt { font-size: 2.2rem; color: #304acb; line-height: 1.15; }
.studio-facts dd { margin: .25rem 0 0; color: var(--muted); }
.studio-progress { margin-bottom: 1rem; color: #243cae; }
.studio-progress label, .studio-progress span { display: block; font-weight: 650; }
.studio-progress progress { display: block; width: 100%; height: 1.2rem; margin-block: .35rem; accent-color: #304acb; }
.studio-milestones input { vertical-align: .08em; cursor: pointer; }

.studio-inner-header {
    margin-block: clamp(1.2rem,3vw,2.6rem) clamp(1.7rem,4vw,3.5rem);
    padding: clamp(1.5rem,5vw,4.5rem);
    background: linear-gradient(120deg,#e9edff 28%,#dce5ff 100%);
    border: 1px solid #dbe2fb;
    border-radius: 1.2rem;
}
.studio-inner-header .breadcrumb { margin-bottom: clamp(1.25rem,3vw,2.25rem); }
.studio-inner-header .breadcrumb a { color: var(--accent); }
.studio-inner-header h1 { font-size: clamp(2.8rem,6vw,5.4rem); line-height: 1.03; font-weight: 730; max-width: 19ch; }
.studio-inner-header .tech-lead { color: var(--muted); margin: 1.1rem 0 0; }
.studio-inner-header time { display: block; margin-top: 1rem; color: var(--muted); }
.studio-service-cover, .tech-site--online .tech-article-image { display: block; width: 100%; height: auto; max-height: 33rem; aspect-ratio: 1.95; object-fit: cover; border-radius: 1rem; margin-bottom: 2rem; }
.studio-service-row .tech-block { border-color: var(--line); }
.studio-service-row .technology-expanded--service-notes .row > * { width: 100%; }
.studio-service-row .technology-expanded--service-notes header p { max-width: 65ch; }
.studio-service-row .technology-expanded--service-notes { padding-block: 2.5rem; }
.studio-service-row .tech-steps { grid-template-columns: 1fr; gap: 1rem; }
.studio-side-card { border: 1px solid var(--line); padding: 1.45rem; background: #fff; border-radius: 1rem; }
.studio-side-card h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: .8rem; }
.studio-side-card a[aria-current="page"] { background: #edf1ff; border-radius: .35rem; color: var(--accent); font-weight: 650; }
.studio-archive-row { margin-bottom: 2.5rem; }
.studio-archive-row .tech-topics { margin: 0; display: grid; gap: .5rem; }
.studio-archive-row .tech-topics a { padding: .4rem .65rem; }
.studio-article-list { display: grid; gap: 1.6rem; }
.studio-article-list .tech-card { border: 1px solid var(--line); background: #fff; border-radius: 1rem; overflow: hidden; }
.studio-article-list .tech-card img { margin: 0; aspect-ratio: 2.1; }
.studio-archive-copy { padding: clamp(1.25rem,3vw,2.25rem); }
.studio-archive-copy h2 { font-size: clamp(1.55rem,3.2vw,2.45rem); }
@media (min-width: 992px) {
    .studio-rail { position: sticky; top: 1.5rem; }
}
