Files
vitareba/components/sections/Hero.module.css
GandClaude Opus 5 3e059f0818 chore: add a formatter (#83)
* chore: add a formatter, matching the style this repo already writes

singleQuote=false was chosen by counting this repo's own
imports, not by fleet decree. The fleet is genuinely split and the two repos
that already had a .prettierrc disagreed with each other, so there was no
standard to restore. Quote style does not cross repo boundaries; having a
gate does.

Markdown is ignored for now — prettier rewraps prose, which would bury the
real diff.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* style: format with prettier (304 files)

Mechanical. No behaviour change. This SHA is listed in
.git-blame-ignore-revs so `git blame` skips it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* chore: teach git blame to skip the reformat

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* style: format the two files the reformat pass missed

prettier --check flagged app/shared.module.css and lib/domain/clinicians.test.ts
on a branch whose whole point was that everything had been formatted. Re-running
the same command with the same version fixes both, so the rollout's write step
did not finish what it reported.

The rollout now runs --check straight after --write and refuses to open a PR
unless it comes back clean, so a partial reformat fails at the source instead of
in CI.

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-29 10:48:01 +00:00

258 lines
4.5 KiB
CSS

.hero {
display: grid;
grid-template-columns: 1fr;
min-height: 100vh;
}
.heroL {
background: var(--ink);
display: flex;
flex-direction: column;
justify-content: flex-end;
padding: 6rem 2rem 3rem;
position: relative;
overflow: hidden;
}
.heroL::before {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(ellipse at 30% 60%, var(--teal-20), transparent 60%);
}
.heroR {
background: var(--off);
display: flex;
flex-direction: column;
justify-content: flex-end;
padding: 3rem 2rem;
}
.eyebrow {
font-size: 0.72rem;
letter-spacing: 0.3em;
text-transform: uppercase;
color: var(--white-55);
margin-bottom: 1.8rem;
position: relative;
z-index: 1;
}
.title {
font-family: var(--font-cormorant), serif;
font-size: 2.4rem;
font-weight: 300;
line-height: 1.15;
color: var(--white);
position: relative;
z-index: 1;
}
.title em {
font-style: italic;
color: var(--teal);
}
.sub {
font-size: 0.88rem;
color: var(--white-62);
line-height: 1.9;
margin-top: 1.8rem;
max-width: 32rem;
position: relative;
z-index: 1;
}
.pills {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-top: 1.5rem;
position: relative;
z-index: 1;
}
.pill {
font-size: 0.68rem;
letter-spacing: 0.15em;
text-transform: uppercase;
padding: 0.4rem 0.9rem;
border: 1px solid var(--white-18);
color: var(--white-50);
border-radius: var(--radius-2xl);
}
.rightEyebrow {
font-size: 0.72rem;
letter-spacing: 0.3em;
text-transform: uppercase;
color: var(--muted);
margin-bottom: 1.2rem;
}
.rightTitle {
font-family: var(--font-cormorant), serif;
font-size: 1.8rem;
font-weight: 300;
line-height: 1.2;
color: var(--ink);
}
.rightTitle em {
font-style: italic;
color: var(--teal);
}
.rightSub {
font-size: 0.85rem;
color: var(--muted);
line-height: 1.85;
margin-top: 1.2rem;
max-width: 28rem;
}
.quoteBar {
font-family: var(--font-cormorant), serif;
font-style: italic;
font-size: 1.05rem;
color: var(--ink2);
border-left: 2px solid var(--teal);
padding-left: 1.2rem;
margin: 2rem 0;
line-height: 1.6;
}
.btns {
display: flex;
gap: 0.8rem;
margin-top: 1.5rem;
flex-wrap: wrap;
}
.btnDark {
background: var(--ink);
color: var(--white);
border: none;
padding: 0.75rem 1.8rem;
font-size: 0.68rem;
letter-spacing: 0.14em;
text-transform: uppercase;
cursor: pointer;
font-family: var(--font-dm-sans), sans-serif;
border-radius: var(--radius-xs);
transition: background var(--transition-normal);
}
.btnDark:hover {
background: var(--teal);
}
.btnOutline {
background: none;
border: 1px solid var(--border);
color: var(--ink2);
padding: 0.75rem 1.8rem;
font-size: 0.68rem;
letter-spacing: 0.14em;
text-transform: uppercase;
cursor: pointer;
font-family: var(--font-dm-sans), sans-serif;
border-radius: var(--radius-xs);
transition: all var(--transition-normal);
text-decoration: none;
display: inline-block;
}
.btnOutline:hover {
border-color: var(--teal);
color: var(--teal);
}
/* Mobile-only CTA block inside the dark hero panel */
.mobileCtas {
display: flex;
flex-direction: column;
gap: 0.75rem;
margin-top: 2rem;
position: relative;
z-index: 1;
}
.btnLight {
background: var(--white);
color: var(--ink);
padding: 0.9rem 1.8rem;
min-height: 2.75rem;
font-size: 0.72rem;
letter-spacing: 0.14em;
text-transform: uppercase;
text-align: center;
text-decoration: none;
font-family: var(--font-dm-sans), sans-serif;
border-radius: var(--radius-xs);
transition: background var(--transition-normal);
}
.btnLight:hover {
background: var(--teal);
color: var(--white);
}
.btnGhostLight {
border: 1px solid var(--white-30);
color: var(--white-90);
padding: 0.9rem 1.8rem;
min-height: 2.75rem;
font-size: 0.72rem;
letter-spacing: 0.14em;
text-transform: uppercase;
text-align: center;
text-decoration: none;
font-family: var(--font-dm-sans), sans-serif;
border-radius: var(--radius-xs);
transition:
border-color var(--transition-normal),
color var(--transition-normal);
}
.btnGhostLight:hover {
border-color: var(--white-60);
color: var(--white);
}
@media (max-width: 767px) {
.btnDark,
.btnOutline {
min-height: 2.75rem;
}
}
@media (min-width: 768px) {
.mobileCtas {
display: none;
}
}
@media (min-width: 768px) {
.hero {
grid-template-columns: 1fr 1fr;
}
.heroL {
padding: 8rem 4rem 5rem;
}
.heroR {
padding: 8rem 4rem 5rem;
}
.title {
font-size: 3.6rem;
}
.rightTitle {
font-size: 2.6rem;
}
}