3661d41eee
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
200 lines
9.7 KiB
CSS
200 lines
9.7 KiB
CSS
:root {
|
|
--paper: #f7f4ef;
|
|
--paper-2: #efebe3;
|
|
--navy: #0f1729;
|
|
--navy-2: #1a2336;
|
|
--ink: #0f1729;
|
|
--ink-soft: #4a5468;
|
|
--gray: #374151;
|
|
--gray-line: #6b7280;
|
|
--cream: #f7f4ef;
|
|
--cream-soft: rgba(247, 244, 239, 0.62);
|
|
--amber: #e89b1c;
|
|
--amber-deep: #c47f12;
|
|
--line: rgba(15, 23, 41, 0.12);
|
|
--line-dark: rgba(247, 244, 239, 0.16);
|
|
--max: 1100px;
|
|
--nav-h: 66px;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
html { scroll-behavior: smooth; }
|
|
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
|
|
[id] { scroll-margin-top: 84px; }
|
|
|
|
body {
|
|
margin: 0;
|
|
background: var(--paper);
|
|
color: var(--ink);
|
|
font-family: 'Lora', Georgia, serif;
|
|
font-size: 16px;
|
|
line-height: 1.8;
|
|
-webkit-font-smoothing: antialiased;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.wrap { width: 100%; max-width: 1920px; margin: 0 auto; padding: 0 48px; }
|
|
.wrap.narrow { max-width: 1920px; }
|
|
.hero-col { max-width: 600px; }
|
|
.band.light p:not(.section-intro):not(.outcome) { max-width: 42em; }
|
|
|
|
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 400; line-height: 1.08; margin: 0 0 0.5em; color: var(--ink); }
|
|
h1 { font-size: 3.8rem; letter-spacing: -0.01em; }
|
|
h2 { font-size: 2.6rem; letter-spacing: -0.01em; }
|
|
h3 { font-size: 1.45rem; line-height: 1.2; }
|
|
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--amber); }
|
|
p { margin: 0 0 1.2em; }
|
|
strong { font-weight: 500; color: var(--ink); }
|
|
|
|
/* Eyebrow with amber dash */
|
|
.eyebrow {
|
|
font-family: 'DM Sans', sans-serif; font-size: 0.66rem; font-weight: 400;
|
|
text-transform: uppercase; letter-spacing: 0.18em; color: var(--amber);
|
|
margin: 0 0 24px; display: flex; align-items: center;
|
|
}
|
|
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--amber); margin-right: 18px; flex: none; }
|
|
|
|
/* Brand logo — CSS mask so it flips with currentColor */
|
|
.logo-mark {
|
|
display: block; width: 168px; height: 36px; background-color: currentColor;
|
|
-webkit-mask: url(assets/brand/oc-logo.svg) no-repeat left center / contain;
|
|
mask: url(assets/brand/oc-logo.svg) no-repeat left center / contain;
|
|
}
|
|
|
|
/* Adaptive frosted nav */
|
|
.nav {
|
|
position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
|
|
display: flex; align-items: center;
|
|
backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
|
|
border-bottom: 1px solid transparent;
|
|
transition: background-color .35s ease, border-color .35s ease, color .35s ease;
|
|
}
|
|
.nav-row { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 16px; }
|
|
.nav.on-light { background: rgba(247, 244, 239, 0.78); border-bottom-color: var(--line); color: var(--ink); }
|
|
.nav.on-dark { background: rgba(15, 23, 41, 0.55); border-bottom-color: var(--line-dark); color: var(--cream); }
|
|
.wordmark { display: flex; align-items: center; color: inherit; text-decoration: none; }
|
|
.nav-links { display: flex; align-items: center; gap: 28px; font-family: 'DM Sans', sans-serif; font-size: 0.72rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.13em; }
|
|
.nav-links a { color: inherit; text-decoration: none; opacity: 0.72; transition: opacity .2s; }
|
|
.nav-links a:hover { opacity: 1; }
|
|
.nav-phone { opacity: 1 !important; white-space: nowrap; }
|
|
.nav-cta {
|
|
background: var(--amber); color: #fff !important; opacity: 1 !important;
|
|
padding: 9px 21px; border-radius: 2px; border: 1px solid var(--amber); letter-spacing: 0.13em;
|
|
}
|
|
.nav-cta:hover { background: var(--amber-deep); border-color: var(--amber-deep); }
|
|
a.tel { text-decoration: none; }
|
|
|
|
/* Bands */
|
|
.band { padding: 112px 0; position: relative; overflow: hidden; }
|
|
.band.light { background: var(--paper); color: var(--ink); }
|
|
.band.dark { background: var(--navy); color: var(--cream); }
|
|
.band.dark h1, .band.dark h2, .band.dark h3 { color: #fff; }
|
|
.section-intro { max-width: 40em; margin-top: -0.1em; color: var(--ink-soft); }
|
|
.band.dark .section-intro { color: var(--cream-soft); }
|
|
|
|
/* Hero */
|
|
.hero { background: var(--paper); padding: 176px 0 128px; }
|
|
.hero h1 { margin-bottom: 0.35em; }
|
|
.lead { font-size: 1.25rem; line-height: 1.7; color: var(--ink-soft); margin-bottom: 2.4em; }
|
|
|
|
.actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
|
|
.actions.center { justify-content: center; }
|
|
.btn {
|
|
display: inline-block; font-family: 'DM Sans', sans-serif; font-size: 0.68rem; font-weight: 400;
|
|
text-transform: uppercase; letter-spacing: 0.13em;
|
|
background: var(--amber); color: #fff; padding: 11px 22px; border-radius: 2px;
|
|
text-decoration: none; border: 1px solid var(--amber); transition: background-color .2s, border-color .2s;
|
|
}
|
|
.btn:hover { background: var(--amber-deep); border-color: var(--amber-deep); }
|
|
.btn.link {
|
|
background: transparent; color: var(--gray); border: none; border-radius: 0;
|
|
padding: 0 0 2px; font-size: 0.78rem; letter-spacing: 0.08em; border-bottom: 1px solid var(--gray-line);
|
|
}
|
|
.btn.link:hover { background: transparent; color: var(--ink); }
|
|
.call { font-family: 'DM Sans', sans-serif; font-size: 0.84rem; color: var(--ink-soft); margin: 24px 0 0; }
|
|
.call a.tel { color: var(--amber-deep); white-space: nowrap; border-bottom: 1px solid currentColor; }
|
|
|
|
/* Navy statement band */
|
|
.statement .motif {
|
|
position: absolute; left: -180px; top: -120px; width: 620px; height: 620px; border-radius: 50%;
|
|
background: var(--navy-2); pointer-events: none;
|
|
}
|
|
.statement .wrap { position: relative; }
|
|
.statement-line { font-size: 2.7rem; line-height: 1.25; max-width: 17em; color: var(--cream-soft) !important; }
|
|
.statement-line em { color: #fff; font-style: normal; }
|
|
.statement p { color: var(--cream-soft); max-width: 38em; }
|
|
.statement .emph { color: #fff; }
|
|
|
|
/* Light band body */
|
|
.band.light p { color: var(--ink-soft); }
|
|
.band.light .bridge-link a { color: var(--amber-deep); text-decoration: none; font-family: 'DM Sans', sans-serif; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; border-bottom: 1px solid currentColor; }
|
|
.bridge-link { margin-top: 1.8em; }
|
|
|
|
/* Service cards */
|
|
.services { background: var(--paper); }
|
|
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 48px 0 0; background: var(--line); border: 1px solid var(--line); }
|
|
.card { background: var(--paper); padding: 34px 30px; }
|
|
.card.feature { background: var(--paper-2); }
|
|
.card-tag { font-family: 'DM Sans', sans-serif; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--amber-deep); font-weight: 400; margin: 0 0 16px; }
|
|
.card h3 { margin-bottom: 0.5em; }
|
|
.card p { font-size: 0.94rem; color: var(--ink-soft); }
|
|
.card .outcome { color: var(--ink); font-style: italic; margin-bottom: 0; margin-top: 1.1em; }
|
|
.reassure { margin-top: 40px; font-style: italic; color: var(--ink-soft); }
|
|
|
|
/* Diagram */
|
|
.triangles { display: block; width: 100%; max-width: 720px; height: auto; margin: 44px auto 0; }
|
|
|
|
/* Who — hairline-separated rows */
|
|
.people { margin: 44px 0; border-top: 1px solid var(--line); }
|
|
.person { padding: 32px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 2fr; gap: 36px; }
|
|
.person p { color: var(--ink-soft); margin: 0 0 0.7em; }
|
|
.person p:last-child { margin-bottom: 0; }
|
|
.person a { color: var(--amber-deep); text-decoration: none; font-family: 'DM Sans', sans-serif; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; border-bottom: 1px solid currentColor; }
|
|
.person-name { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 400; color: var(--ink) !important; margin: 0; }
|
|
.creed {
|
|
font-family: 'Playfair Display', serif; font-style: italic; font-weight: 400; font-size: 1.8rem; line-height: 1.4;
|
|
margin: 1.8em 0 0; padding-left: 28px; border-left: 2px solid var(--amber); color: var(--ink); max-width: 24em;
|
|
}
|
|
|
|
/* Contact */
|
|
.contact { text-align: center; }
|
|
.contact .eyebrow { justify-content: center; }
|
|
.contact .section-intro, .contact p { margin-left: auto; margin-right: auto; }
|
|
.contact h2 { max-width: 15em; margin-left: auto; margin-right: auto; }
|
|
.contact p:not(.actions) { max-width: 34em; color: var(--ink-soft); }
|
|
.actions.center { margin: 2.2em 0 0.8em; }
|
|
.promise { font-style: italic; color: var(--ink-soft); font-size: 0.95rem; }
|
|
|
|
/* Footer — the full bg "open" logo dictates the size (aspect 4:1, no clip, no padding); content overlaid low-left */
|
|
.site-footer { padding: 0; background: var(--navy); position: relative; overflow: hidden; }
|
|
.footer-watermark { display: block; width: 100%; height: auto; opacity: 0.06; pointer-events: none; }
|
|
.footer-inner { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 22px; }
|
|
@media (max-width: 760px) {
|
|
.footer-watermark { position: absolute; left: 0; right: 0; bottom: 0; }
|
|
.footer-inner { position: relative; padding: 44px 0 26px; }
|
|
}
|
|
.footer-brand { width: 128px; height: 27px; background-color: var(--cream); margin-bottom: 10px; }
|
|
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; font-family: 'DM Sans', sans-serif; font-size: 0.7rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.13em; margin-bottom: 9px; }
|
|
.footer-nav a { color: var(--cream-soft); text-decoration: none; }
|
|
.footer-nav a:hover { color: #fff; }
|
|
.footer-legal { font-family: 'DM Sans', sans-serif; font-size: 0.72rem; line-height: 1.55; color: rgba(247, 244, 239, 0.4); margin: 0; max-width: 46em; }
|
|
|
|
/* Focus */
|
|
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
|
|
|
|
/* Responsive */
|
|
@media (max-width: 860px) {
|
|
h1 { font-size: 2.7rem; }
|
|
h2 { font-size: 2rem; }
|
|
.statement-line { font-size: 2rem; }
|
|
.cards { grid-template-columns: 1fr; }
|
|
.person { grid-template-columns: 1fr; gap: 10px; }
|
|
.hero { padding: 134px 0 88px; }
|
|
.band { padding: 80px 0; }
|
|
}
|
|
@media (max-width: 600px) {
|
|
.wrap { padding: 0 22px; }
|
|
.logo-mark { width: 146px; }
|
|
.nav-links a:not(.nav-cta) { display: none; }
|
|
}
|