/*
Theme Name: Corporate.ee — Grey & Gold
Theme URI: https://corporate.ee/
Author: Capital Gate
Description: Editorial, editable block theme for Corporate.ee, a Capital Gate business division.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: corporate-ee
Tags: block-themes, full-site-editing, one-column, wide-blocks
*/
:root { --cg-grey: var(--wp--preset--color--graphite, #58585a); --cg-gold: var(--wp--preset--color--gold, #c2b59b); --cg-gold-deep: var(--wp--preset--color--gold-text, #92805d); --cg-gold-display: var(--wp--preset--color--gold-display, #9a855a); --cg-ink: #3f3f43; --cg-muted: var(--wp--preset--color--muted, #707074); --cg-border: #dededc; --cg-soft: var(--wp--preset--color--soft-grey, #f5f5f4); --cg-gold-wash: #eee9df; --cg-deep: var(--wp--preset--color--deep-grey, #47474b); }
html { scroll-behavior: smooth; }
body { margin:0; background:#fff; }
body, body .editor-styles-wrapper { font-family: 'DM Sans',Arial,sans-serif; }
body .wp-site-blocks { padding:0; }
body .wp-site-blocks > * { margin-block-start:0; }
.cg-site { width:100%; max-width:none!important; margin:0!important; padding:0!important; background:#fff; color:var(--cg-grey); font-family:'DM Sans',Arial,sans-serif; font-size:16px; font-weight:400; line-height:1.5; -webkit-font-smoothing:antialiased; overflow:clip; }
.cg-site, .cg-site * { box-sizing:border-box; }
.cg-site a { color:inherit; text-decoration:none; }
.cg-site a:focus-visible { outline:2px solid var(--cg-gold-deep); outline-offset:5px; }
.cg-site .cg-shell { width:min(1450px,calc(100% - 112px))!important; max-width:none!important; margin-inline:auto!important; }
.cg-site p, .cg-site h1, .cg-site h2, .cg-site h3 { margin-block-start:0; }
.cg-site .wp-block-group { margin-block-start:0; }
.cg-site .cg-header { background:white; }
.cg-site .cg-navrow { min-height:96px; display:flex; align-items:center; justify-content:space-between; gap:30px; }
.cg-site .cg-wordmark { margin:0; font-family:Manrope,Arial,sans-serif; font-size:27px; font-weight:800; letter-spacing:-1.9px; line-height:1.2; }
.cg-site .cg-wordmark strong { color:var(--cg-grey); }
.cg-site .cg-wordmark em { color:var(--cg-gold-deep); font-style:normal; }
.cg-site .cg-nav-links { display:flex; gap:38px; align-items:center; }
.cg-site .cg-nav-link { margin:0; color:var(--cg-muted); font-size:12px; font-weight:700; letter-spacing:.13em; text-transform:uppercase; }
.cg-site .cg-nav-contact { border-bottom:1px solid var(--cg-gold); padding-bottom:8px; color:var(--cg-ink); }
.cg-site .cg-intro { padding-block:62px 43px; display:flex; align-items:flex-end; justify-content:space-between; gap:30px; }
.cg-site .cg-eyebrow { color:var(--cg-gold-deep); text-transform:uppercase; font-size:11px; font-weight:700; letter-spacing:.22em; margin:0 0 22px; }
.cg-site .cg-hero-headline { font:500 clamp(68px,8.4vw,148px)/1.02 Manrope,Arial,sans-serif; letter-spacing:-.079em; margin:0; color:var(--cg-grey); }
.cg-site .cg-hero-headline em { font-style:normal; color:var(--cg-gold-display); }
.cg-site .cg-intro-right { width:258px; max-width:100%; flex:none; padding-bottom:13px; margin:0; color:var(--cg-muted); font-size:14px; line-height:1.7; }
.cg-site .cg-hero { position:relative; height:min(58vw,710px); min-height:400px; background:var(--cg-soft); overflow:hidden; box-shadow:0 26px 65px -56px #58585a80; }
.cg-site .cg-hero-image { width:100%;height:100%; margin:0; }
.cg-site .cg-hero-image img { display:block; width:100%; height:100%; object-fit:cover; object-position:center center; }
.cg-site .cg-hero-tag, .cg-site .cg-hero-count { position:absolute; bottom:32px; margin:0; color:white; font-weight:700; text-shadow:0 1px 11px #262626aa; }
.cg-site .cg-hero-tag { left:35px; font-size:11px; letter-spacing:.19em; }
.cg-site .cg-hero-count { right:35px; font-size:12px; }
.cg-site .cg-choices { padding-block:122px 125px; }
.cg-site .cg-sectionbar { display:flex; justify-content:space-between; align-items:center; gap:18px; }
.cg-site .cg-section-id { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.16em; color:var(--cg-gold-deep); margin:0; }
.cg-site .cg-section-note { color:var(--cg-muted); font-size:12px; margin:0; }
.cg-site .cg-section-headline, .cg-site .cg-services-headline, .cg-site .cg-contact-headline { font:500 clamp(40px,5.4vw,88px)/1.12 Manrope,Arial,sans-serif; letter-spacing:-.065em; color:var(--cg-grey); }
.cg-site .cg-section-headline { max-width:920px; margin:28px 0 55px; }
.cg-site .cg-choice-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.cg-site .cg-choice-card { min-height:245px; border:1px solid var(--cg-border); background:#fff; padding:34px 38px; display:flex; flex-direction:column; justify-content:space-between; overflow:hidden; position:relative; isolation:isolate; transition:background .3s,border-color .3s,transform .3s; }
.cg-site .cg-choice-card:hover { background:var(--cg-soft); transform:translateY(-4px); border-color:var(--cg-gold); }
.cg-site .cg-choice-card-primary { background:var(--cg-gold); border-color:var(--cg-gold); }
.cg-site .cg-choice-card-primary:hover { background:#b6a585; border-color:#b6a585; }
.cg-site .cg-card-kicker { display:flex; justify-content:space-between; margin:0; font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--cg-ink); }
.cg-site .cg-card-kicker span { font-size:24px; font-weight:400; letter-spacing:0; line-height:1; }
.cg-site .cg-buttons { margin:0; display:block; }
.cg-site .cg-choice-button { display:block; width:100%; margin:0; }
.cg-site .cg-choice-button .wp-block-button__link { display:block; position:relative; background:none!important; color:var(--cg-grey)!important; padding:0!important; border:none!important; border-radius:0!important; text-align:left; font:500 clamp(24px,2.75vw,43px)/1.18 Manrope,Arial,sans-serif; letter-spacing:-.055em; max-width:475px; width:100%; overflow:visible; box-shadow:none!important; }
.cg-site .cg-choice-card-primary .wp-block-button__link { color:var(--cg-ink)!important; }
.cg-site .cg-choice-card::after { content:'';position:absolute; inset:0; background:linear-gradient(110deg,transparent 15%,#ffffff66 50%,transparent 85%);transform:translateX(-120%);pointer-events:none; }
.cg-site .cg-choice-card.cg-is-moving::after { animation:cg-sweep .8s cubic-bezier(.2,.7,.2,1) both; }
.cg-site .cg-services { background:var(--cg-soft); padding:115px 0 130px; scroll-margin-top:24px; }
.cg-site .cg-services-heading { display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin:24px 0 64px; }
.cg-site .cg-services-headline { margin:0; }
.cg-site .cg-services-intro { color:var(--cg-muted); font-size:15px; line-height:1.7; max-width:320px; margin:0; padding-bottom:9px; }
.cg-site .cg-service-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid var(--cg-border); border-left:1px solid var(--cg-border); }
.cg-site .cg-service-card { min-height:252px; padding:32px 31px; border-right:1px solid var(--cg-border);border-bottom:1px solid var(--cg-border);scroll-margin-top:24px;transition:background .25s; }
.cg-site .cg-service-card:hover { background:var(--cg-gold-wash); }
.cg-site .cg-service-number { margin:0; color:var(--cg-gold-deep); font-size:12px; }
.cg-site .cg-service-name { font:600 22px/1.25 Manrope,Arial,sans-serif; letter-spacing:-.045em; margin:54px 0 12px; color:var(--cg-grey); }
.cg-site .cg-service-copy { color:var(--cg-muted); font-size:13px; line-height:1.7; max-width:300px; margin:0; }
.cg-site .cg-service-card.cg-is-arriving { animation:cg-arrive 1.3s ease-out; }
.cg-site .cg-statement { padding:135px 0 145px; text-align:center; }
.cg-site .cg-statement .cg-eyebrow { margin-bottom:33px; }
.cg-site .cg-statement-headline { max-width:1140px; margin:0 auto; font:500 clamp(34px,5.1vw,75px)/1.25 Manrope,Arial,sans-serif; letter-spacing:-.06em; color:var(--cg-grey); }
.cg-site .cg-statement-headline strong { color:var(--cg-gold-display); font-weight:500; }
.cg-site .cg-contact { padding:103px 0 110px; background:var(--cg-deep); color:#fff; }
.cg-site .cg-contact .cg-section-id { color:var(--cg-gold); }
.cg-site .cg-contact-headline { color:#fff; max-width:970px; margin:42px 0 48px; }
.cg-site .cg-contact-button .wp-block-button__link { display:inline-flex; border:1px solid var(--cg-gold)!important; border-radius:2px!important; background:transparent!important; color:#fff!important; padding:22px 27px!important; font:700 13px/1.4 'DM Sans',Arial,sans-serif;letter-spacing:.06em;transition:background .25s,color .25s; }
.cg-site .cg-contact-button .wp-block-button__link:hover { background:var(--cg-gold)!important; color:var(--cg-ink)!important; }
.cg-site .cg-footer { padding:66px 0 30px; background:white; border-top:1px solid var(--cg-gold); }
.cg-site .cg-footer-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr;gap:55px; }
.cg-site .cg-footer-label { color:var(--cg-gold-deep);font-size:10px;letter-spacing:.2em;text-transform:uppercase;font-weight:700;margin:0 0 14px; }
.cg-site .cg-footer-copy { color:var(--cg-muted);font-size:13px;line-height:1.9;margin:0; }
.cg-site .cg-footer-copy a { text-decoration:underline; text-decoration-color:var(--cg-gold); text-underline-offset:4px; }
.cg-site .cg-parent-logo { width:min(340px,100%); margin:0 0 27px; }
.cg-site .cg-parent-logo img { display:block;width:100%;height:auto; }
.cg-site .cg-footer-unit:not(:first-child) { padding-top:8px; }
.cg-site .cg-legal { border-top:1px solid var(--cg-border);margin-top:58px;padding-top:23px;display:flex;justify-content:space-between;gap:24px; }
.cg-site .cg-legal-text { color:var(--cg-muted);font-size:11px;margin:0; }
.cg-site .cg-reveal { opacity:1;transform:none; }
.cg-site .cg-reveal.cg-will-reveal {opacity:0;transform:translateY(20px);transition:opacity .7s ease,transform .7s ease;}
.cg-site .cg-reveal.cg-will-reveal.cg-visible {opacity:1;transform:none;}
.cg-basic-page { padding:80px 24px; max-width:960px!important; margin-inline:auto!important; }
@keyframes cg-sweep { to {transform:translateX(120%);} }
@keyframes cg-arrive { 0%,100% {background:transparent;} 35% {background:var(--cg-gold-wash);} }
@media (max-width:900px) {
.cg-site .cg-shell { width:calc(100% - 48px)!important; }
.cg-site .cg-navrow { min-height:78px; }
.cg-site .cg-nav-links { gap:18px; }
.cg-site .cg-intro { padding-top:45px;display:block; }
.cg-site .cg-intro-right { padding-top:20px; }
.cg-site .cg-hero { height:62vw;min-height:350px; }
.cg-site .cg-choices,.cg-site .cg-services { padding-block:80px; }
.cg-site .cg-services-heading { display:block; }
.cg-site .cg-services-intro {margin-top:20px;}
.cg-site .cg-service-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
.cg-site .cg-footer-grid { grid-template-columns:1fr 1fr;gap:35px; }
.cg-site .cg-footer-brand {grid-column:1/-1;}
}
@media (max-width:580px) {
.cg-site .cg-shell { width:calc(100% - 36px)!important; }
.cg-site .cg-wordmark { font-size:23px; }
.cg-site .cg-nav-link:not(.cg-nav-contact) { display:none; }
.cg-site .cg-intro { padding:37px 0 27px; }
.cg-site .cg-hero-headline { font-size:clamp(53px,13vw,90px); }
.cg-site .cg-intro-right { font-size:13px; }
.cg-site .cg-hero { height:510px;min-height:0; }
.cg-site .cg-hero-image img { object-position:63% center; }
.cg-site .cg-hero-tag { left:19px;bottom:21px;font-size:9px;letter-spacing:.15em; }
.cg-site .cg-hero-count {right:19px;bottom:21px;}
.cg-site .cg-choices {padding:73px 0;}
.cg-site .cg-section-headline {font-size:45px;margin-bottom:35px;}
.cg-site .cg-sectionbar {align-items:flex-start;}
.cg-site .cg-section-note {max-width:140px;text-align:right;}
.cg-site .cg-choice-grid {grid-template-columns:1fr;gap:12px;}
.cg-site .cg-choice-card {min-height:215px;padding:27px;}
.cg-site .cg-choice-button .wp-block-button__link {font-size:30px;}
.cg-site .cg-services {padding:76px 0;}
.cg-site .cg-services-headline {font-size:49px;}
.cg-site .cg-services-heading {margin-bottom:34px;}
.cg-site .cg-service-grid {grid-template-columns:1fr;}
.cg-site .cg-service-card {min-height:195px;padding:23px 27px;}
.cg-site .cg-service-name {margin-top:31px;}
.cg-site .cg-statement {padding:97px 0;}
.cg-site .cg-statement-headline {font-size:37px;}
.cg-site .cg-contact {padding:76px 0 80px;}
.cg-site .cg-contact-headline {font-size:51px;}
.cg-site .cg-footer {padding:48px 0 26px;}
.cg-site .cg-footer-grid {grid-template-columns:1fr;gap:32px;}
.cg-site .cg-footer-brand {grid-column:auto;}
.cg-site .cg-parent-logo {width:min(310px,100%);}
.cg-site .cg-legal {gap:12px;flex-direction:column;margin-top:38px;}
}
@media(prefers-reduced-motion:reduce) {
html {scroll-behavior:auto;}
.cg-site .cg-reveal.cg-will-reveal {opacity:1;transform:none;transition:none;}
.cg-site .cg-choice-card,.cg-site .cg-service-card,.cg-site .cg-contact-button .wp-block-button__link {transition:none;}
.cg-site .cg-choice-card:hover {transform:none;}
.cg-site .cg-is-moving::after,.cg-site .cg-is-arriving {animation:none;}
}
/* Keep editing comfortable in Gutenberg: show elements instead of hiding them during scroll effects. */
.editor-styles-wrapper .cg-reveal.cg-will-reveal {opacity:1!important;transform:none!important;}
