BS-011 Reconcile accepted homepage composition to approved reference

This commit is contained in:
rob
2026-11-10 16:41:09 +00:00
parent 4f3b75b2b4
commit 33e3413657
27 changed files with 773 additions and 132 deletions
+22
View File
@@ -0,0 +1,22 @@
import { expect, test } from '@playwright/test'
// Measured from assets/references/home-approved-direction.png (1024×1536).
// These are composition anchors, not acceptance of missing brand/media assets.
test('homepage composition stays aligned with approved desktop reference', async ({ page }, testInfo) => {
await page.setViewportSize({ width: 1024, height: 1536 })
await page.goto('/')
await page.evaluate(() => globalThis.document.fonts.ready)
const header = await page.getByRole('navigation', { name: 'Main navigation' }).boundingBox()
expect(Math.abs(header.height - 67)).toBeLessThanOrEqual(3)
const media = await page.getByRole('region', { name: 'Featured project' }).getByRole('img').boundingBox()
for (const [actual, reference] of [[media.x, 56], [media.y, 814], [media.width, 507], [media.height, 267]]) {
expect(Math.abs(actual - reference)).toBeLessThanOrEqual(8)
}
const closing = await page.getByRole('region', { name: 'Have a project in mind?' }).boundingBox()
expect(Math.abs(closing.x - 35)).toBeLessThanOrEqual(2)
expect(Math.abs(closing.y - 1287)).toBeLessThanOrEqual(15)
expect(Math.abs(closing.width - 954)).toBeLessThanOrEqual(3)
expect(Math.abs(closing.height - 203)).toBeLessThanOrEqual(6)
await page.screenshot({ path: testInfo.outputPath('homepage-reference-viewport.png') })
await page.screenshot({ path: testInfo.outputPath('homepage-reference-full.png'), fullPage: true })
})
+93
View File
@@ -0,0 +1,93 @@
Copyright 2020 The Poppins Project Authors (https://github.com/itfoundry/Poppins)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+4
View File
@@ -0,0 +1,4 @@
Poppins fonts, self-hosted under SIL Open Font License 1.1; see OFL-Poppins.txt.
Source: https://github.com/google/fonts/tree/main/ofl/poppins
Files: Poppins-Regular.ttf, Poppins-SemiBold.ttf, Poppins-Bold.ttf.
Typography is a visual approximation to the supplied concept, not a new approved brand decision. No external font requests at runtime.
@@ -1,7 +1,8 @@
.footer { border-top: 1px solid var(--site-line); padding-block: 1.75rem; color: var(--site-muted); font-size: .8rem; }
.footerRow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.4rem; }
.links { display: flex; gap: 1.5rem; a { color: var(--site-muted); text-decoration: none; } a:hover { color: var(--site-link); } }
.developerSlot { display: inline-flex; border-radius: .2rem; padding: .35rem .6rem; background: #F5F7FA; }
.developerLogo { display: block; width: 95px; height: auto; }
.footer { padding-block: 10px; color: var(--site-muted); font-size: 10px; background: var(--site-bg); }
.footer :global(.container) { width: calc(100% - 112px); max-width: 1280px; padding-inline: 0; }
.footerRow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.links { display: flex; gap: 18px; a { color: var(--site-muted); text-decoration: none; } a:hover { color: var(--site-link); } }
.developerSlot { display: inline-flex; border-radius: 2px; padding: 3px 5px; background: #F5F7FA; }
.developerLogo { display: block; width: 76px; height: auto; }
.copyright { margin: 0; }
@media (max-width: 575.98px) { .footerRow { justify-content: center; } .copyright { flex-basis: 100%; text-align: center; } }
@media (max-width: 767.98px) { .footer :global(.container) { width: calc(100% - 40px); } .footerRow { justify-content: center; } .copyright { flex-basis: 100%; text-align: center; } }
+24 -8
View File
@@ -1,14 +1,30 @@
.header {
padding-block: 1.3rem;
position: relative;
min-height: 67px;
padding: 0;
background: var(--site-bg);
border-bottom: 1px solid var(--site-line);
:global(.navbar-brand) { margin: 0; }
:global(.nav-link) { color: var(--site-text); font-size: .9rem; padding: .75rem 1rem !important; }
border-bottom: 0;
&::after { content: ''; position: absolute; height: 1px; bottom: 0; left: 35px; right: 35px; background: var(--site-line); }
:global(.container) { width: calc(100% - 112px); max-width: 1280px; min-height: 66px; padding-inline: 0; }
:global(.navbar-brand) { margin: 0; padding: 0; }
:global(.nav-link) { color: var(--site-text); font-size: 14px; line-height: 22px; padding: 10px 16px !important; }
:global(.nav-link:hover), :global(.nav-link.active) { color: var(--site-link); }
:global(.navbar-toggler) { border-color: var(--site-line); padding: .65rem; color: var(--site-text); line-height: 1; svg { width: 22px; height: 22px; } margin-left: auto; margin-right: .8rem; }
:global(.navbar-toggler) { border-color: var(--site-line); padding: 9px; color: var(--site-text); line-height: 1; svg { width: 22px; height: 22px; } margin-left: auto; margin-right: 12px; }
}
.navbarCollapse { justify-content: flex-end; margin-right: 24px; }
@media (min-width: 768px) and (max-width: 991.98px) {
.header :global(.container) { width: calc(100% - 64px); }
.header :global(.nav-link) { padding-inline: 9px !important; font-size: 12px; }
.navbarCollapse { margin-right: 12px; }
}
.navbarCollapse { justify-content: flex-end; margin-right: 1.25rem; }
@media (max-width: 767.98px) {
.header { padding-block: 1rem; :global(.navbar-collapse) { order: 5; flex-basis: 100%; } }
.navbarCollapse { margin: .8rem 0 0; }
.header {
padding-block: 10px;
&::after { left: 20px; right: 20px; }
:global(.container) { width: calc(100% - 40px); min-height: 43px; }
:global(.navbar-collapse) { order: 5; flex-basis: 100%; }
:global(.nav-link) { font-size: 15px; }
:global(.navbar-toggler) { padding: 8px; margin-right: 10px; }
}
.navbarCollapse { margin: 12px 0 0; }
}
+1 -1
View File
@@ -2,7 +2,7 @@ import { Link } from "react-router-dom";
import styles from "./Logo.module.scss";
export default function Logo() {
return <Link to="/" className={styles.link} aria-label="BortStack home — temporary text, approved logo pending">
<span className={styles.markPlaceholder} aria-hidden="true">Logo<br />pending</span>
<span className={styles.logo}>Bort<span>Stack</span></span>
<span className={styles.pending}>Logo pending</span>
</Link>;
}
+4 -3
View File
@@ -1,3 +1,4 @@
.link { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--site-text); line-height: 1.15; }
.logo { font-size: 1.7rem; font-weight: 750; letter-spacing: -.055em; span { color: var(--site-link); } }
.pending { margin-top: .3rem; font-size: .58rem; text-transform: uppercase; letter-spacing: .14em; color: var(--site-muted); }
.link { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; color: var(--site-text); line-height: 1; }
.logo { font-size: 29px; font-weight: 600; letter-spacing: -.045em; span { color: var(--site-link); } }
.markPlaceholder { display: grid; align-content: center; width: 43px; height: 39px; flex-shrink: 0; border: 1px dashed var(--bs-steel-blue); border-radius: 3px; text-align: center; font-size: 8px; line-height: 11px; color: var(--site-muted); letter-spacing: .025em; }
@media (max-width: 767.98px) { .link { gap: 8px; } .logo { font-size: 21px; } .markPlaceholder { width: 29px; height: 32px; font-size: 6px; line-height: 9px; } }
@@ -12,6 +12,7 @@ export default function ThemeToggle() {
setTheme(next);
}
return <button type="button" className="themeToggle" onClick={toggle} aria-label={`Switch to ${theme === "dark" ? "light" : "dark"} mode`}>
{theme === "dark" ? <FiSun aria-hidden="true" /> : <FiMoon aria-hidden="true" />}
<span className={theme === "dark" ? "themeChoice selected" : "themeChoice"}><FiMoon aria-hidden="true" /></span>
<span className={theme === "light" ? "themeChoice selected" : "themeChoice"}><FiSun aria-hidden="true" /></span>
</button>;
}
+12 -6
View File
@@ -1,3 +1,6 @@
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/Poppins-Regular.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/Poppins-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/Poppins-Bold.ttf") format("truetype"); }
:root,
[data-bs-theme="dark"] {
--site-bg: var(--bs-charcoal);
@@ -35,7 +38,7 @@ body {
margin: 0;
background: var(--site-bg);
color: var(--site-text);
font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
line-height: 1.65;
-webkit-font-smoothing: antialiased;
}
@@ -50,12 +53,15 @@ h1, h2, h3 { color: var(--site-text); font-weight: 650; line-height: 1.15; lette
.routePlaceholder h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
.routePlaceholder > p:not(.eyebrow) { color: var(--site-muted); max-width: 60ch; margin-block: 1.5rem; }
.themeToggle {
display: inline-grid; place-items: center; flex-shrink: 0;
width: 44px; height: 44px; padding: 0;
border: 1px solid var(--site-line); border-radius: 50%;
background: var(--site-surface); color: var(--site-text); font-size: 1.15rem;
position: relative; display: inline-flex; flex-shrink: 0; align-items: center;
width: 70px; height: 30px; padding: 1px; border-radius: 18px;
border: 1px solid var(--site-muted); background: transparent; color: var(--site-text);
&::before { content: ''; position: absolute; width: 1px; height: 28px; left: -28px; top: 0; background: var(--site-line); }
}
.themeToggle:hover { border-color: var(--site-link); color: var(--site-link); }
.themeChoice { display: grid; place-items: center; width: 33px; height: 26px; border-radius: 16px; svg { width: 16px; height: 16px; } }
.themeChoice.selected { background: var(--bs-steel-blue); color: #F5F7FA; }
.themeToggle:hover { border-color: var(--site-link); }
@media (max-width: 767.98px) { .themeToggle { width: 58px; height: 30px; &::before { display: none; } } .themeChoice { width: 27px; } }
.skipLink { position: fixed; z-index: 2000; top: .5rem; left: .5rem; padding: .75rem 1rem; color: #07151C; background: #26C6DA; transform: translateY(-200%); }
.skipLink:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--site-link); outline-offset: 4px; }
+17 -27
View File
@@ -4,15 +4,15 @@ import { FiArrowRight, FiCode, FiLayers, FiMail, FiMonitor, FiServer, FiTarget,
import styles from "./Homepage.module.scss";
const services = [
{ title: "Website Development", description: "Clear, responsive websites for businesses, research projects and online services.", icon: <FiMonitor aria-hidden="true" /> },
{ title: "Custom Software", description: "Web applications and specialised tools shaped around the way you work.", icon: <FiLayers aria-hidden="true" /> },
{ title: "APIs & Integration", description: "Backend services and integrations that connect your data, systems and workflows.", icon: <FiCode aria-hidden="true" /> },
{ title: "Managed Hosting", description: "Hosting, maintenance and updates, with a level of support agreed for your project.", icon: <FiServer aria-hidden="true" /> },
{ title: "Website Development", description: "Modern, responsive websites and web applications tailored to your needs.", icon: <FiMonitor aria-hidden="true" /> },
{ title: "Custom Software", description: "Bespoke applications that solve real problems and fit your workflow.", icon: <FiLayers aria-hidden="true" /> },
{ title: "APIs & Integration", description: "APIs and system integration to connect your data and services.", icon: <FiCode aria-hidden="true" /> },
{ title: "Managed Hosting", description: "Hosting, maintenance and technical support agreed for your project.", icon: <FiServer aria-hidden="true" /> },
];
const qualities = [
{ title: "End-to-end delivery", description: "A considered path from the first conversation to development and deployment.", icon: <FiZap aria-hidden="true" /> },
{ title: "Practical engineering", description: "Clear choices and maintainable software, focused on what your project needs.", icon: <FiTarget aria-hidden="true" /> },
{ title: "Ongoing support", description: "Hosting, maintenance and further development as your needs evolve.", icon: <FiUsers aria-hidden="true" /> },
{ title: "End-to-end delivery", description: "From initial idea to a fully deployed solution.", icon: <FiZap aria-hidden="true" /> },
{ title: "Practical engineering", description: "Focused, practical and maintainable software.", icon: <FiTarget aria-hidden="true" /> },
{ title: "Ongoing support", description: "Hosting, updates and technical assistance when you need it.", icon: <FiUsers aria-hidden="true" /> },
];
export default function Homepage() {
@@ -25,20 +25,12 @@ export default function Homepage() {
<p className={styles.intro}>Custom development, APIs, hosting and ongoing maintenance for businesses, research projects and online services.</p>
<Link to="/contact" className={`btn btn-primary btn-lg ${styles.primaryCta}`}>Discuss a Project <FiArrowRight aria-hidden="true" /></Link>
</div>
<div className={styles.illustration} aria-hidden="true">
<div className={styles.orbit} />
<div className={styles.diagram}>
<div className={styles.diagramTop}><i /><i /><i /><span /></div>
<div className={styles.diagramBody}>
<div className={styles.diagramSidebar}><span /><span /><span /><span /><span /></div>
<div className={styles.codeLines}>
{[72, 48, 85, 60, 36, 77, 54, 88, 46].map((width, i) => <span key={i} style={{ width: `${width}%` }} />)}
</div>
</div>
<div className={styles.heroArtwork} role="img" aria-label="Approved laptop and workspace hero artwork is missing">
<div className={styles.assetNotice}>
<FiImage aria-hidden="true" />
<span>Approved hero artwork pending</span>
<small>Laptop / workspace visual from the approved reference</small>
</div>
<div className={styles.diagramBase} />
<div className={styles.integration}><FiLayers /><span>Build. Connect. Maintain.</span></div>
<span className={styles.artCaption}>Decorative engineering illustration</span>
</div>
</section>
@@ -48,7 +40,7 @@ export default function Homepage() {
{services.map(({ title, description, icon }) => <Link className={styles.service} to="/services" key={title}>
<div className={styles.serviceIcon}>{icon}</div>
<div><h3>{title}</h3><p>{description}</p></div>
<FiArrowRight className={styles.serviceArrow} aria-hidden="true" />
</Link>)}
</div>
</section>
@@ -59,12 +51,11 @@ export default function Homepage() {
<div className={styles.projectPlaceholder} role="img" aria-label="Placeholder: genuine featured-project screenshot awaiting approval">
<FiImage aria-hidden="true" />
<span>Genuine project screenshot</span>
<small>Awaiting approved imagery</small>
<small>Featured project pending</small>
</div>
<div className={styles.workCopy}>
<p className={styles.pending}>Featured project pending</p>
<h3>A closer look<br />at the work.</h3>
<p>A selected project will be featured here once its details and genuine imagery are approved for publication.</p>
<h3>Featured work</h3>
<p>A selected project will appear here once its details and genuine imagery are approved for publication.</p>
<Link to="/projects" className={styles.textLink}>Visit Projects <FiArrowRight aria-hidden="true" /></Link>
</div>
</div>
@@ -80,9 +71,8 @@ export default function Homepage() {
</section>
<section className={styles.contact} aria-labelledby="contact-title">
<p className="eyebrow">Let’s build something useful</p>
<h2 id="contact-title">Have a project in mind?</h2>
<p>Start with the idea. We’ll work through the possibilities.</p>
<p>Let’s discuss your ideas and find the right solution.</p>
<Link to="/contact" className={`btn btn-primary btn-lg ${styles.primaryCta}`}><FiMail aria-hidden="true" /> Get in Touch</Link>
</section>
</Container>
+195 -51
View File
@@ -1,62 +1,206 @@
.homepage { overflow: clip; }
.homepage {
overflow: clip;
background: radial-gradient(ellipse at 80% 12%, var(--site-glow), transparent 29%);
:global(.container) { width: calc(100% - 112px); max-width: 1280px; padding-inline: 0; }
}
.hero {
display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 2rem;
padding-block: clamp(4rem, 7vw, 7rem) 5.5rem;
position: relative;
display: grid;
grid-template-columns: 1fr 1fr;
min-height: 414px;
padding-block: 44px 60px;
}
.heroCopy {
position: relative; z-index: 1;
:global(.eyebrow) { margin-bottom: 1.5rem; span { margin-left: .7rem; color: var(--site-line); } }
h1 { font-size: clamp(2.7rem, 4.6vw, 4.15rem); letter-spacing: -.05em; line-height: 1.08; margin-bottom: 1.65rem; span { color: var(--site-link); } }
position: relative;
z-index: 1;
width: 485px;
max-width: 110%;
:global(.eyebrow) {
margin: 0 0 19px;
font-size: 14px;
line-height: 22px;
letter-spacing: .15em;
span { margin-left: 7px; color: var(--bs-steel-blue); }
}
h1 {
font-size: clamp(48px, 4.88vw, 66px);
line-height: 1.08;
letter-spacing: -.035em;
font-weight: 700;
margin: 0 0 15px;
span { color: var(--site-link); white-space: nowrap; }
}
}
.intro { font-size: 1.13rem; line-height: 1.65; color: var(--site-muted); max-width: 44ch; margin-bottom: 2rem; }
.primaryCta { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; border-radius: .4rem; padding: .85rem 1.3rem; font-size: 1rem; svg { font-size: 1.15rem; } }
.illustration { position: relative; min-height: 350px; perspective: 1000px; display: grid; align-items: center; isolation: isolate; }
.orbit { position: absolute; inset: -8% -12%; z-index: -1; background: radial-gradient(ellipse at 55% 55%, var(--site-glow), transparent 67%); }
.diagram { width: 94%; height: 254px; background: var(--site-surface); border: 1px solid var(--bs-steel-blue); border-radius: 13px; transform: rotateY(-16deg) rotateX(9deg) rotateZ(-6deg); box-shadow: 12px 28px 60px #00000030, inset 0 0 40px var(--site-glow); overflow: hidden; }
.diagramTop { display: flex; align-items: center; gap: 7px; height: 35px; border-bottom: 1px solid var(--site-line); padding-inline: 14px; i { width: 5px; height: 5px; border-radius: 50%; background: var(--bs-steel-blue); } span { width: 22%; height: 4px; border-radius: 2px; background: var(--site-line); margin-left: auto; } }
.diagramBody { display: grid; grid-template-columns: 22% 1fr; height: calc(100% - 35px); }
.diagramSidebar { padding: 20px 12px; border-right: 1px solid var(--site-line); display: flex; flex-direction: column; gap: 13px; span { height: 3px; border-radius: 2px; background: var(--site-line); } span:nth-child(2) { background: var(--site-link); width: 70%; } }
.codeLines { padding: 24px; display: flex; flex-direction: column; gap: 13px; span { height: 4px; border-radius: 3px; background: var(--site-line); } span:nth-child(3n) { background: var(--bs-steel-blue); margin-left: 13px; } span:nth-child(4n) { background: var(--site-link); } }
.diagramBase { width: 95%; height: 10px; background: var(--site-line); border: 1px solid var(--bs-steel-blue); transform: rotateZ(-6deg) skewX(-35deg); position: absolute; top: 85%; left: -1%; border-radius: 0 0 8px 8px; }
.integration { display: flex; align-items: center; gap: .75rem; position: absolute; right: -1%; bottom: 0; border: 1px solid var(--site-line); background: var(--site-surface); padding: .9rem 1.1rem; border-radius: .45rem; color: var(--site-muted); font-size: .75rem; svg { font-size: 1.5rem; color: var(--site-link); } }
.artCaption { position: absolute; bottom: -1.8rem; right: 0; color: var(--site-muted); font-size: .6rem; letter-spacing: .025em; }
.sectionLabel { display: flex; align-items: center; gap: 1.5rem; font-size: .85rem; font-weight: 700; color: var(--site-link); text-transform: uppercase; letter-spacing: .16em; margin-bottom: 2rem; span { flex: 1; height: 1px; background: linear-gradient(90deg, var(--bs-steel-blue), var(--site-line)); } }
.services, .work, .why { padding-block: 1.5rem 3.5rem; }
.serviceGrid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; }
.service { display: grid; grid-template-columns: 70px 1fr 16px; gap: 1.4rem; padding-block: 1.5rem; border-bottom: 1px solid var(--site-line); color: var(--site-text); text-decoration: none;
h3 { font-size: 1.2rem; letter-spacing: -.025em; margin-bottom: .5rem; }
p { color: var(--site-muted); font-size: .95rem; line-height: 1.6; margin: 0; }
&:nth-last-child(-n+2) { border-bottom: 0; }
.intro {
font-size: 17px;
line-height: 25px;
color: var(--site-text);
max-width: 440px;
margin: 0 0 24px;
}
.primaryCta {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
padding: 10px 22px;
min-height: 43px;
font-size: 14px;
font-weight: 600;
line-height: 21px;
border-radius: 7px;
svg { width: 19px; height: 19px; }
}
.heroArtwork {
position: absolute;
top: 23px;
right: -56px;
width: 53%;
height: 365px;
display: flex;
align-items: center;
justify-content: center;
background: transparent;
}
.assetNotice {
display: flex;
flex-direction: column;
align-items: center;
gap: 9px;
max-width: 310px;
text-align: center;
padding: 25px;
border: 1px dashed var(--site-line);
border-radius: 8px;
color: var(--site-muted);
background: var(--site-surface);
svg { width: 30px; height: 30px; color: var(--site-link); }
span { font-size: 13px; }
small { font-size: 11px; line-height: 1.6; }
}
.sectionLabel {
display: flex;
align-items: center;
gap: 25px;
color: var(--site-link);
font-size: 17px;
line-height: 24px;
font-weight: 600;
letter-spacing: .14em;
text-transform: uppercase;
margin: 0 0 18px;
span { flex: 1; height: 1px; background: var(--bs-steel-blue); opacity: .8; }
}
.services { padding-block: 8px 36px; }
.serviceGrid { display: grid; grid-template-columns: 1.025fr .975fr; column-gap: 48px; }
.service {
display: grid;
grid-template-columns: 75px 1fr;
gap: 36px;
padding: 0 0 21px;
border-bottom: 1px solid var(--site-line);
text-decoration: none;
color: var(--site-text);
&:nth-child(odd) { padding-left: 24px; }
&:nth-last-child(-n+2) { padding-top: 20px; padding-bottom: 0; border-bottom: 0; }
h3 { font-size: 20px; line-height: 26px; letter-spacing: -.035em; font-weight: 600; margin: 0 0 3px; }
p { color: var(--site-text); font-size: 15px; line-height: 23px; margin: 0; }
&:hover h3 { color: var(--site-link); }
}
.serviceIcon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 15px; background: var(--site-surface); color: var(--site-link); svg { width: 32px; height: 32px; stroke-width: 1.4; } }
.serviceArrow { align-self: start; margin-top: .3rem; color: var(--site-muted); }
.workGrid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3.5rem; align-items: center; }
.projectPlaceholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; aspect-ratio: 1.65; border: 1px dashed var(--bs-steel-blue); border-radius: .75rem; background: radial-gradient(ellipse at bottom left, var(--site-glow), transparent 70%), var(--site-surface); color: var(--site-muted); svg { font-size: 2rem; color: var(--site-link); margin-bottom: .5rem; } span { font-size: .9rem; } small { font-size: .75rem; } }
.workCopy { h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1.2rem; } > p:not(.pending) { color: var(--site-muted); margin-bottom: 1.5rem; } }
.pending { display: inline-block; border: 1px solid var(--site-line); border-radius: 4px; padding: .25rem .55rem; color: var(--site-muted); font-size: .65rem; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 1rem; }
.textLink { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; font-size: .95rem; font-weight: 650; }
.qualityGrid { display: grid; grid-template-columns: repeat(3, 1fr); }
.quality { display: flex; align-items: start; gap: 1rem; padding-inline: 1.75rem; border-left: 1px solid var(--site-line); &:first-child { padding-left: 0; border: 0; } &:last-child { padding-right: 0; } > svg { flex-shrink: 0; width: 28px; height: 28px; color: var(--site-link); margin-top: .15rem; stroke-width: 1.5; } h3 { font-size: 1rem; margin-bottom: .5rem; } p { font-size: .87rem; color: var(--site-muted); line-height: 1.6; margin: 0; } }
.contact { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: 3.5rem 2rem; margin-block: 1rem 4.5rem; border: 1px solid var(--site-line); border-radius: 1rem; background: radial-gradient(ellipse at top right, var(--site-glow), transparent 65%), var(--site-surface);
&::after { content: ''; position: absolute; z-index: -1; inset: 60% -15% -80%; background: var(--site-glow); border-top: 1px solid var(--site-line); transform: rotate(-18deg); }
h2 { font-size: clamp(1.9rem, 3.7vw, 3rem); margin-bottom: .8rem; }
> p:not(:global(.eyebrow)) { color: var(--site-muted); margin-bottom: 1.8rem; }
.serviceIcon {
display: grid; place-items: center;
width: 75px; height: 75px;
border-radius: 17px;
background: var(--site-surface);
color: var(--site-link);
svg { width: 40px; height: 40px; stroke-width: 1.4; }
}
@media (max-width: 991.98px) {
.hero { gap: 1rem; } .illustration { min-height: 300px; } .diagram { height: 220px; }
.serviceGrid { column-gap: 2rem; } .service { grid-template-columns: 55px 1fr; gap: 1rem; } .serviceIcon { width: 55px; height: 55px; } .serviceArrow { display: none; }
.workGrid { gap: 2rem; } .quality { padding-inline: 1rem; gap: .7rem; }
.work { padding-block: 14px 32px; }
.workGrid { display: grid; grid-template-columns: 1.414fr 1fr; gap: 48px; align-items: start; }
.projectPlaceholder {
display: flex; flex-direction: column; align-items: center; justify-content: center;
gap: 9px;
aspect-ratio: 1.9;
border: 1px solid var(--site-line);
border-radius: 12px;
color: var(--site-muted);
background: radial-gradient(ellipse at 45% 85%, var(--site-glow), transparent 65%), var(--site-surface);
svg { width: 36px; height: 36px; color: var(--site-link); margin-bottom: 6px; }
span { font-size: 15px; }
small { font-size: 12px; }
}
.workCopy {
padding-top: 23px;
h3 { font-size: 27px; line-height: 35px; font-weight: 600; margin: 0 0 10px; }
p { font-size: 15px; line-height: 24px; color: var(--site-text); margin: 0 0 18px; }
}
.textLink { display: inline-flex; align-items: center; gap: 16px; font-size: 15px; line-height: 24px; font-weight: 600; text-decoration: none; }
.why { padding-block: 8px 46px; }
.qualityGrid { display: grid; grid-template-columns: repeat(3, 1fr); }
.quality {
display: flex; align-items: start; gap: 15px;
padding-inline: 32px;
border-left: 1px solid var(--site-line);
&:first-child { padding-left: 20px; border: 0; }
&:last-child { padding-right: 0; }
> svg { flex-shrink: 0; width: 34px; height: 34px; color: var(--site-link); margin-top: 4px; stroke-width: 1.5; }
h3 { font-size: 18px; line-height: 24px; letter-spacing: -.04em; font-weight: 600; margin: 0 0 4px; }
p { font-size: 14px; line-height: 22px; color: var(--site-text); margin: 0; }
}
.contact {
position: relative;
isolation: isolate;
overflow: hidden;
text-align: center;
padding: 25px 24px;
margin: 7px -21px 16px;
border: 1px solid var(--site-line);
border-radius: 16px;
background: radial-gradient(ellipse at 100% 0, var(--site-glow), transparent 62%), var(--site-surface);
&::before, &::after { content: ''; position: absolute; z-index: -1; pointer-events: none; border-top: 1px solid var(--site-line); background: var(--site-glow); }
&::before { width: 74%; height: 130%; left: -20%; top: 78%; transform: rotate(17deg); }
&::after { width: 90%; height: 190%; right: -31%; top: 70%; transform: rotate(-29deg); }
h2 { font-size: 40px; line-height: 48px; font-weight: 600; margin: 0 0 8px; letter-spacing: -.035em; }
> p { font-size: 18px; line-height: 27px; color: var(--site-text); margin: 0 0 24px; }
.primaryCta { min-height: 46px; font-size: 18px; padding-inline: 25px; gap: 10px; svg { width: 23px; height: 23px; } }
}
@media (min-width: 1200px) {
.hero { min-height: 465px; padding-top: 65px; }
.heroCopy { width: 620px; }
.intro { font-size: 19px; line-height: 29px; max-width: 510px; }
.heroArtwork { height: 410px; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
.homepage :global(.container) { width: calc(100% - 64px); }
.heroCopy { width: 440px; max-width: 120%; h1 { font-size: 43px; } }
.heroArtwork { right: -32px; width: 45%; }
.assetNotice { padding: 20px; max-width: 235px; }
.intro { max-width: 365px; font-size: 16px; line-height: 25px; }
.serviceGrid { column-gap: 30px; row-gap: 0; }
.service { grid-template-columns: 62px 1fr; gap: 18px; &:nth-child(odd) { padding-left: 0; } h3 { font-size: 17px; } p { font-size: 14px; } }
.serviceIcon { width: 62px; height: 62px; svg { width: 35px; height: 35px; } }
.workGrid { gap: 30px; }
.workCopy { padding-top: 6px; h3 { font-size: 24px; } }
.quality { padding-inline: 14px; gap: 10px; &:first-child { padding-left: 0; } h3 { font-size: 15px; } p { font-size: 13px; } > svg { width: 27px; height: 27px; } }
}
@media (max-width: 767.98px) {
.hero { grid-template-columns: 1fr; padding-block: 3.5rem 3rem; gap: 3rem; }
.heroCopy h1 { font-size: clamp(2.5rem, 8vw, 3.7rem); } .intro { max-width: 48ch; font-size: 1rem; }
.illustration { min-height: 280px; width: min(440px, 92%); margin: 0 auto 1rem; } .diagram { height: 220px; } .integration { bottom: 0; }
.homepage :global(.container) { width: calc(100% - 40px); }
.hero { grid-template-columns: 1fr; min-height: auto; padding-block: 38px 28px; }
.heroCopy { width: auto; max-width: 100%; h1 { font-size: clamp(32px, 7.4vw, 48px); } :global(.eyebrow) { font-size: 11px; margin-bottom: 14px; } }
.intro { font-size: 15px; line-height: 24px; margin-top: 18px; max-width: 42ch; }
.heroArtwork { position: relative; inset: auto; width: 100%; height: 220px; margin-top: 24px; }
.assetNotice { max-width: 290px; padding: 18px; }
.sectionLabel { font-size: 13px; line-height: 22px; gap: 15px; margin-bottom: 20px; }
.services, .work, .why { padding-block: 15px 28px; }
.serviceGrid, .workGrid, .qualityGrid { grid-template-columns: 1fr; }
.service { padding-block: 1.25rem; h3 { font-size: 1.1rem; } &:nth-last-child(2) { border-bottom: 1px solid var(--site-line); } }
.services, .work, .why { padding-block: 1.5rem 2rem; }
.sectionLabel { font-size: .75rem; gap: 1rem; margin-bottom: 1rem; }
.workGrid { gap: 1.5rem; } .workCopy h3 br { display: none; }
.quality { padding: 1.25rem 0; border-left: 0; border-bottom: 1px solid var(--site-line); &:first-child { border-bottom: 1px solid var(--site-line); } &:last-child { border-bottom: 0; } h3 { font-size: 1.05rem; } p { font-size: .95rem; } }
.contact { padding: 2.5rem 1.25rem; margin-block: .5rem 3rem; }
.service { grid-template-columns: 62px 1fr; gap: 20px; padding: 0 0 20px; &:nth-child(odd) { padding-left: 0; } &:nth-child(n+2) { padding-top: 20px; } &:nth-last-child(2) { border-bottom: 1px solid var(--site-line); padding-bottom: 20px; } h3 { font-size: 18px; line-height: 24px; } p { font-size: 14px; line-height: 22px; } }
.serviceIcon { width: 62px; height: 62px; border-radius: 14px; svg { width: 35px; height: 35px; } }
.workGrid { gap: 0; }
.workCopy { padding-top: 20px; h3 { font-size: 24px; } }
.projectPlaceholder { span { font-size: 13px; } }
.quality { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--site-line); gap: 15px; &:first-child { padding-left: 0; border-bottom: 1px solid var(--site-line); padding-top: 0; } &:last-child { border-bottom: 0; padding-bottom: 0; } h3 { font-size: 18px; } p { font-size: 14px; } }
.contact { margin: 5px -5px 16px; padding: 25px 17px; h2 { font-size: 28px; line-height: 35px; } > p { font-size: 15px; line-height: 24px; margin-bottom: 20px; } .primaryCta { font-size: 16px; } }
}
@media (max-width: 359.98px) {
.heroCopy h1 { font-size: 30px; }
}