Files
oc-site/style.css
T

200 lines
9.6 KiB
CSS

:root {
--paper: #f5f2ec;
--paper-2: #efeae1;
--navy: #1c1c2e;
--navy-2: #25253c;
--ink: #1f1c1a;
--ink-soft: #6b655c;
--cream: #f5f2ec;
--cream-soft: rgba(245, 242, 236, 0.66);
--amber: #e89b1c;
--amber-deep: #c47f12;
--line: rgba(31, 28, 26, 0.13);
--line-dark: rgba(245, 242, 236, 0.16);
--max: 1100px;
--nav-h: 64px;
}
* { 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: 18px;
line-height: 1.7;
-webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.wrap.narrow { max-width: 820px; }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.12; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: 4rem; letter-spacing: -0.015em; }
h2 { font-size: 2.6rem; }
h3 { font-size: 1.4rem; }
h1 em, h2 em { font-style: italic; font-weight: 600; color: var(--amber); }
p { margin: 0 0 1.1em; }
strong { font-weight: 700; color: inherit; }
/* Eyebrow with amber dash */
.eyebrow {
font-family: 'DM Sans', sans-serif; font-size: 0.74rem; font-weight: 700;
text-transform: uppercase; letter-spacing: 0.16em; color: var(--amber);
margin: 0 0 22px; display: flex; align-items: center;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--amber); margin-right: 16px; flex: none; }
/* Brand logo — CSS mask so it flips with currentColor */
.logo-mark {
display: block; width: 172px; height: 38px; 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-glass 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(245, 242, 236, 0.72); border-bottom-color: var(--line); color: var(--ink); }
.nav.on-dark { background: rgba(28, 28, 46, 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: 26px; font-family: 'DM Sans', sans-serif; font-size: 0.8rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }
.nav-links a { color: inherit; text-decoration: none; opacity: 0.78; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-phone { font-weight: 700; opacity: 1 !important; white-space: nowrap; }
.nav-cta {
background: var(--amber); color: #fff !important; opacity: 1 !important;
padding: 9px 18px; border-radius: 3px; border: 1px solid var(--amber);
}
.nav-cta:hover { background: var(--amber-deep); border-color: var(--amber-deep); }
a.tel { text-decoration: none; }
/* Bands */
.band { padding: 104px 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: 42em; margin-top: -0.2em; color: var(--ink-soft); }
.band.dark .section-intro { color: var(--cream-soft); }
/* Hero (light, airy) */
.hero { background: var(--paper); padding: 168px 0 120px; }
.hero h1 { max-width: 13em; margin-bottom: 0.35em; }
.lead { font-size: 1.35rem; line-height: 1.6; color: var(--ink-soft); max-width: 30em; margin-bottom: 2.2em; }
.actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.actions.center { justify-content: center; }
.btn {
display: inline-block; font-family: 'DM Sans', sans-serif; font-size: 0.82rem; font-weight: 700;
text-transform: uppercase; letter-spacing: 0.08em;
background: var(--amber); color: #fff; padding: 15px 28px; border-radius: 3px;
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: inherit; border: none; padding: 15px 4px;
border-bottom: 1px solid currentColor; border-radius: 0; opacity: 0.85;
}
.btn.link:hover { background: transparent; opacity: 1; }
.call { font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: var(--ink-soft); margin: 22px 0 0; }
.call a.tel { color: var(--amber-deep); font-weight: 700; 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: 16em; color: var(--cream-soft) !important; }
.statement-line em { color: #fff; font-style: normal; font-weight: 700; }
.statement p { color: var(--cream-soft); max-width: 40em; }
.statement .emph { color: #fff; }
/* Generic light band emphasis */
.band.light p { color: var(--ink-soft); }
.band.light .bridge-link a { color: var(--amber-deep); font-weight: 700; text-decoration: none; font-family: 'DM Sans', sans-serif; font-size: 0.92rem; border-bottom: 1px solid currentColor; }
.bridge-link { margin-top: 1.6em; }
/* Service cards */
.services { background: var(--paper); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 44px 0 0; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--paper); padding: 32px 28px; }
.card.feature { background: var(--paper-2); }
.card-tag { font-family: 'DM Sans', sans-serif; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--amber-deep); font-weight: 700; margin: 0 0 14px; }
.card h3 { margin-bottom: 0.5em; }
.card p { font-size: 0.98rem; color: var(--ink-soft); }
.card .outcome { color: var(--ink); font-weight: 500; font-style: italic; margin-bottom: 0; margin-top: 1em; }
.reassure { margin-top: 36px; font-style: italic; color: var(--ink-soft); }
/* Diagram */
.triangles { display: block; width: 100%; max-width: 720px; height: auto; margin: 40px auto 0; }
/* Who — hairline-separated rows */
.people { margin: 40px 0; border-top: 1px solid var(--line); }
.person { padding: 30px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.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-weight: 700; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; border-bottom: 1px solid currentColor; }
.person-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--ink) !important; margin: 0; }
.creed {
font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.7rem; line-height: 1.4;
margin: 1.6em 0 0; padding-left: 26px; border-left: 3px 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: 16em; margin-left: auto; margin-right: auto; }
.contact p:not(.actions) { max-width: 36em; color: var(--ink-soft); }
.actions.center { margin: 2em 0 0.8em; }
.promise { font-style: italic; color: var(--ink-soft); font-size: 0.95rem; }
/* Footer — navy anchor with giant "open" watermark */
.site-footer { padding: 0; background: var(--navy); position: relative; min-height: 380px; display: flex; align-items: flex-end; }
.footer-watermark {
position: absolute; left: 50%; bottom: -8%; transform: translateX(-50%);
width: 130%; height: 88%; pointer-events: none;
background-color: var(--navy-2);
-webkit-mask: url(assets/brand/oc-mark.svg) no-repeat center / contain;
mask: url(assets/brand/oc-mark.svg) no-repeat center / contain;
}
.footer-inner { position: relative; width: 100%; padding: 56px 32px; }
.footer-brand { width: 188px; height: 42px; background-color: var(--cream); margin-bottom: 20px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; font-family: 'DM Sans', sans-serif; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.footer-nav a { color: var(--cream-soft); text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.footer-call { margin: 0 0 18px; }
.footer-call a.tel { color: var(--amber); font-weight: 700; font-family: 'DM Sans', sans-serif; }
.footer-legal { font-family: 'DM Sans', sans-serif; font-size: 0.78rem; color: rgba(245, 242, 236, 0.45); margin: 0; max-width: 52em; }
/* Focus visibility */
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 3px; }
/* 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: 130px 0 84px; }
.band { padding: 76px 0; }
}
@media (max-width: 600px) {
body { font-size: 17px; }
.wrap { padding: 0 22px; }
.logo-mark { width: 146px; }
.nav-links a:not(.nav-cta):not(.nav-phone) { display: none; }
}