:root {
  color-scheme: only light;
  --ink: #102941;
  --navy: #10283e;
  --paper: #fcfaf5;
  --cream: #f6f2e9;
  --gold: #ba8f49;
  --muted: #485661;
  --rule: #dcd7cd;
  --serif: 'Path Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Path Sans', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body, h1, h2, h3, p, figure, ol { margin: 0; }
body { min-width: 290px; background-color:var(--paper, #fcfaf5); color:var(--ink, #102941); }
#main, .services, .process { background-color:var(--paper, #fcfaf5); color:var(--ink, #102941); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
section { scroll-margin-top: 1rem; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #b07e36; outline-offset: 5px; }
.shell { width: min(100% - clamp(2.5rem, 10.6vw, 10.5rem), 83rem); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: -7rem; left: 1rem; padding: .8rem 1.3rem; border-radius: .25rem; background: white; }
.skip:focus { top: .6rem; }
.icon { display: inline-block; flex: none; }
.mast { position: relative; z-index: 2; background: #fcf9f1; border-bottom: 1px solid #dcd4c2; }
.mast-inner { min-height: 5.15rem; display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 3rem); }
.brand { display: inline-flex; align-items: center; gap: .52rem; color: var(--ink); width: max-content; flex: none; }
.brand > img { height: 2.7rem; width: 2.4rem; }
.wordmark { display: flex; flex-direction: column; align-items: center; font: 400 1.68rem/.99 var(--serif); letter-spacing: -.062rem; white-space: nowrap; }
.brand-sub { margin-top: .36rem; display:flex; align-items:center; gap:.45rem; text-transform: uppercase; font: 600 .59rem/1 var(--sans); letter-spacing: .28em; padding-left: .17em; }
.brand-sub::before,.brand-sub::after { content: ''; width: 1.15rem; height: 1px; background: var(--gold); }
.desk-nav { display: flex; align-items: center; margin-left: auto; gap: clamp(1rem, 2.05vw, 2.45rem); }
.desk-nav a, #mobile-nav a { font-size: .93rem; font-weight: 550; }
.desk-nav a { position: relative; padding-block:.5rem; }
.desk-nav a::after { content:''; position:absolute; bottom:0; left:0; width:0; height:1px; background:var(--gold); transition:width .19s; }
.desk-nav a:hover::after { width:100%; }
.head-actions { display: flex; align-items:center; gap: clamp(.7rem, 1.6vw, 1.55rem); }
.lang { display:flex; align-items:center; gap:.15rem; font-size:.76rem; font-weight:500; letter-spacing:.035em; white-space:nowrap; }
.lang a { color: #505b65; padding: .6rem .25rem; }
.lang a[aria-current] { color:var(--ink); font-weight:750; }
.lang > span { color:#a3937c; font-weight:400; }
.lang a:hover { text-decoration:underline; }
.btn { border-radius:.37rem; padding: .88rem 1.3rem; border: 1px solid var(--ink); background: var(--navy); color: white; display:inline-flex; align-items:center; justify-content:center; gap:.63rem; font-size:.9375rem; font-weight:600; line-height:1.25; transition:background .2s, border-color .2s; }
.btn:hover { background:#27435b; border-color:#27435b; }
.btn .icon { width:1.05rem; height:1.05rem; }
.btn-header { min-height:2.6rem; padding:.62rem 1.12rem; color:var(--ink); background:transparent; border-color:#65717a; }
.btn-header:hover { background: var(--navy); color: white; }
#menu-toggle { background:none; border:0; padding:.5rem; height:2.7rem; display:none; }
#mobile-nav[hidden] { display:none; }
#mobile-nav { padding: .3rem 0 1.1rem; display:flex; align-items:flex-start; gap:.9rem; flex-direction:column; }
.hero { position: relative; isolation:isolate; overflow:hidden; background:#f7e9cc; }
.hero-art { position:absolute; inset:0; z-index:-2; background: url('assets/california-gold-path.jpg') center bottom / cover no-repeat; }
.hero-inner { min-height:clamp(31.5rem, 40.7vw, 42.5rem); display:flex; align-items:flex-start; }
.hero-copy { position:relative; padding-top:clamp(3.4rem, 4.8vw, 5.2rem); padding-bottom:5.65rem; max-width:42rem; }
.place { display:flex; gap:.7rem; align-items:center; color:#6b532c; font-size:.77rem; letter-spacing:.19em; line-height:1.4; text-transform:uppercase; font-weight:650; }
.place span { display:inline-block; width:2.3rem; height:2px; background: var(--gold); }
h1,h2,h3 { font-family:var(--serif); font-weight:400; }
.hero h1 { margin-top:1.25rem; font-size:clamp(4.9rem, 6.7vw, 7.15rem); line-height:.97; letter-spacing:-.06em; }
.hero h1 em, .contact h2 em { display:block; font-weight:400; }
.hero h1 em { letter-spacing:-.066em; }
.hero-intro { max-width:29.5rem; margin-top:1.42rem; font-size:clamp(1.04rem,1.23vw,1.25rem); line-height:1.53; color:#344654; }
.hero-actions { margin-top:1.65rem; display:flex; align-items:center; flex-wrap:wrap; gap:1.55rem; }
.btn-primary { min-height:3rem; padding-inline:1.22rem; }
.explore, .text-button, .map-link { display:inline-block; width:fit-content; background:none; border:0; border-bottom:1px solid #ad812f; color:var(--ink); font:600 .93rem/1.6 var(--sans); padding: 0 0 .08rem; }
.explore:hover,.text-button:hover { border-color: var(--ink); }
.hero-actions .explore { padding:.63rem .95rem; border:1px solid #a99169; border-radius:.37rem; background:#fbf5e6; }
.hero-actions .explore:hover { background:#fffaf0; border-color:#786039; }
.brief { background:#e8eff1; color:#233e50; border-bottom:1px solid #cbd7da; }
.brief-grid { display:grid; grid-template-columns:1.17fr 1fr .95fr .82fr; padding:1.5rem 0; }
.brief-item { display:flex; gap:.78rem; padding:0 clamp(.8rem,2.3vw,2.5rem); border-left:1px solid #bacacf; align-items:flex-start; }
.brief-item:first-child { padding-left:0; border:0; }
.brief-item:last-child { padding-right:0; }
.brief-item > .icon { width:1.28rem; height:1.28rem; color:#7b602f; margin-top:.04rem; }
.brief-label,.role { color:#73572d; text-transform:uppercase; font-size:.73rem; line-height:1.4; font-weight:600; letter-spacing:.125em; }
.brief-value { margin-top:.32rem; font-size:.94rem; line-height:1.5; color:#233e50; }
.brief-value a:hover { text-decoration:underline; text-underline-offset:.2em; }
.brief-sub { color:#355467; text-decoration:underline; text-decoration-color:#647c87; text-underline-offset:.21em; font-size:.87rem; }
.section { padding-block:clamp(4.3rem,6.2vw,7rem); }
.divided { display:grid; grid-template-columns:minmax(0, .84fr) minmax(0, 1.48fr); gap:clamp(3.3rem,7vw,7.2rem); }
.section h2 { font-size:clamp(2.6rem,4.1vw,4.55rem); line-height:1.02; letter-spacing:-.062em; }
.gold-dot { color:#aa7c36; }
.section-intro > p,.team-title > p { margin-top:1.15rem; font-size:1.035rem; line-height:1.65; max-width:23rem; color:var(--muted); }
.service-list { border-top:1px solid #a6a79e; }
.service { border-bottom:1px solid var(--rule); }
.service summary { display:flex; align-items:center; gap:1.15rem; position:relative; padding:1.45rem .06rem; list-style:none; cursor:pointer; }
.service summary::-webkit-details-marker { display:none; }
.service-symbol { display:grid; place-items:center; flex:none; width:2.68rem; height:2.68rem; border:1px solid #ded4be; border-radius:50%; color:#927039; background:#f7f2e6; }
.service-symbol .icon { width:1.42rem; height:1.42rem; stroke-width:1.35; }
.service-text { display:grid; gap:.32rem; }
.service-text strong { font:400 clamp(1.28rem,1.7vw,1.8rem)/1.15 var(--serif); letter-spacing:-.035em; }
.service-text > span { font-size:.93rem; color:var(--muted); line-height:1.45; }
.plus { margin-left:auto; width:1.5rem; height:1.5rem; flex:none; position:relative; color:#735d34; }
.plus::before,.plus::after { content:''; position:absolute; left:50%; top:50%; background:currentColor; width:.81rem; height:1.4px; transform:translate(-50%,-50%); }
.plus::after { transform:translate(-50%,-50%) rotate(90deg); }
details[open] .plus::after { transform:translate(-50%,-50%); }
.service summary:hover .service-symbol,.service[open] .service-symbol { background:#eee4ce; border-color:#ceba8e; }
.service-body { padding:0 2rem 1.65rem 3.95rem; }
.service-body p,.profile-copy p,.steps p,.contact p { font-size:1rem; line-height:1.68; color:var(--muted); }
.service-body button { margin-top:.82rem; }
.team { background:#f1ede3; border-top:1px solid #e8e1d2; border-bottom:1px solid #e2dccf; }
.team .shell { max-width:64rem; }
.team-title { display:flex; justify-content:space-between; align-items:flex-end; gap:3rem; margin-bottom:2.4rem; }
.team-title > p { max-width:21rem; margin-top:0; }
.team-layout { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(1.4rem,3vw,2.5rem); }
.team-profile { border:1px solid #dbd3c2; background:#fbf8f1; color:var(--ink); }
.team-photo { display:block; width:100%; height:auto; aspect-ratio:4/5; object-fit:cover; object-position:50% 25%; background:#e8e1d3; }
.profile-copy { border-top:2px solid #b89554; padding:clamp(1.25rem,2.2vw,2rem); }
.profile-copy .role { color:#785b2c; }
.profile-copy h3,.steps h3 { font-size:clamp(1.5rem,2.2vw,2.26rem); line-height:1.18; letter-spacing:-.042em; margin:.4rem 0 .55rem; }
.steps { list-style:none; padding:0; }
.steps li { display:flex; gap:1.3rem; position:relative; padding-bottom:1.6rem; }
.steps li:not(:last-child)::after { content:''; width:1px; background:#d3c5a6; position:absolute; top:2.4rem; bottom:.18rem; left:1.12rem; }
.steps li:last-child { padding-bottom:0; }
.step-number { display:grid; place-items:center; flex:none; width:2.32rem; height:2.32rem; border:1px solid #cdbd99; background:#f6f0e3; color:#87672f; border-radius:50%; font:400 1.12rem var(--serif); }
.steps h3 { margin:0 0 .4rem; font-size:1.5rem; }
.contact { background:#36576c; color:#fffdf8; }
.contact-grid { display:grid; grid-template-columns:1fr .86fr; align-items:center; gap:7vw; }
.contact h2 { font-size:clamp(3.2rem,4.8vw,5.1rem); }
.contact h2 em { color:#ffe2ac; }
.contact p { color:#f0f4f5; margin-top:1.2rem; max-width:29rem; }
.btn-light { background:#f3e9d5; color:var(--navy); border-color:#f3e9d5; margin-top:1.4rem; }
.btn-light:hover { background:#fff9e9; border-color:#fff9e9; }
.contact-info { border-left:1px solid #77919e; padding-left:clamp(2rem,5vw,6rem); display:grid; gap:1.5rem; }
.contact-info > div { display:flex; gap:1.1rem; }
.contact-info .icon { color:#f6d498; width:1.32rem; height:1.32rem; }
.contact-info h3 { font:600 .77rem/1.3 var(--sans); text-transform:uppercase; letter-spacing:.11em; color:#ffe2ac; padding-bottom:.45rem; }
.contact-info address { font-style:normal; line-height:1.5; }
.contact-info a:hover { text-decoration:underline; }
.contact-info .map-link { color:#f3e9d5; font-size:.87rem; margin-top:.4rem; }
.footer { padding:2.2rem 0 1.4rem; background:#f8f5ed; }
.footer-row { display:flex; align-items:center; gap:clamp(1.3rem,3.2vw,3.8rem); padding-bottom:1.7rem; }
.footer-row > p,.foot-top { font-size:.86rem; color:#465564; }
.foot-top { margin-left:auto; text-decoration:underline; text-underline-offset:3px; }
.fine { border-top:1px solid var(--rule); padding-top:1.2rem; display:flex; gap:3vw; color:#58636b; font-size:.795rem; line-height:1.65; }
.fine > div { white-space:nowrap; }.fine strong { font-weight:600; }
[lang=ru] .hero h1 { font-size:clamp(4rem,5.8vw,6.15rem); }
[lang=ru] .hero-intro { max-width:32rem; }
[lang=ru] .brief-grid { grid-template-columns:1.15fr 1.28fr .95fr .9fr; }
@media(min-width:1750px) { .hero-copy { padding-bottom:7rem; } }
@media(max-width:1070px) {
 .mast-inner { gap:1.25rem; }.desk-nav { gap:1.1rem; }.desk-nav a { font-size:.88rem; }
 .head-actions { gap:.85rem; }.brief-item { padding-inline:1.05rem; gap:.55rem; }
 .divided { gap:3.3rem; grid-template-columns:.85fr 1.45fr; }
 .hero-copy { padding-top:3.45rem; }.hero-intro { max-width:26rem; }
 .hero-art { background-position:center bottom; }
}
@media(max-width:900px) {
 .mast-inner { min-height:4.45rem; }.desk-nav { display:none; }.head-actions { margin-left:auto; }#menu-toggle { display:inline-grid; place-items:center; }
 .brief-item { padding-inline:.85rem; }.brief-item > .icon { display:none; }
 .brief-grid { grid-template-columns:1.16fr 1fr .95fr .82fr; }
 .hero h1 { font-size:clamp(4.4rem,8.4vw,5.4rem); }
 .hero-art { background-position:57% bottom; }
 .hero-art::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,rgba(250,238,211,.4),transparent 62%); }
 .service summary { gap:.8rem; }.divided { grid-template-columns:.8fr 1.25fr; gap:2.25rem; }
}
@media(max-width:700px) {
 .shell { width:calc(100% - 2.6rem); }
 .mast-inner { min-height:4.05rem; }.brand >img { width:1.9rem; height:2.22rem; }.brand { gap:.34rem; }.wordmark { font-size:1.37rem; }.brand-sub { font-size:.51rem; margin-top:.31rem; }
 .head-actions .btn-header { display:none; }.head-actions { gap:.5rem; }
 .hero { background:#faecd0; }
 .hero-art { inset:auto 0 0; height:clamp(12.3rem,46vw,18rem); background-size:100% 100%; background-position:center bottom; }
 .hero-art::after { background:linear-gradient(to bottom,#faecd0 0%,rgba(250,236,208,.22) 17%,transparent 36%); }
 .hero-inner { min-height:0; }.hero-copy { padding-top:2.4rem; padding-bottom:clamp(10.3rem,32vw,14.8rem); max-width:100%; }
 .place { font-size:.72rem; }.place span { width:1.7rem; }
 .hero h1 { font-size:clamp(3.72rem,10.9vw,5.05rem); margin-top:1.04rem; }
 [lang=ru] .hero h1 { font-size:clamp(3.2rem,9.5vw,4.5rem); }
 .hero-intro { font-size:1rem; max-width:26rem; margin-top:1.04rem; line-height:1.5; }
 .hero-actions { margin-top:1.14rem; gap:1.08rem; }
 .btn-primary { min-height:2.85rem; padding:.66rem .85rem; font-size:.9rem; gap:.4rem; }.explore { font-size:.88rem; }
 .brief-grid,[lang=ru] .brief-grid { grid-template-columns:1fr 1fr; gap:1.2rem 1.1rem; padding:1.3rem 0; }
 .brief-item,.brief-item:first-child { border:0; padding:0; gap:.46rem; }.brief-item >.icon { display:block; width:1.03rem; height:1.03rem; }.brief-label { font-size:.67rem; }.brief-value { font-size:.85rem; margin-top:.18rem; }.brief-sub { font-size:.8rem; }
 .section { padding-block:3.1rem; }.divided,.team-layout,.contact-grid { grid-template-columns:1fr; gap:1.65rem; }
 .section h2 { font-size:clamp(2.55rem,8vw,3.25rem); }.section-intro > p,.team-title > p { max-width:32rem; margin-top:.8rem; font-size:1rem; }
 .service summary { padding:1.12rem 0; gap:.75rem; }.service-symbol { width:2.32rem; height:2.32rem; }.service-symbol .icon { width:1.2rem; height:1.2rem; }
 .service-text strong { font-size:1.35rem; }.service-text > span { font-size:.9rem; }.service-body { padding:0 .4rem 1.25rem 3.08rem; }
 .team-title { display:block; margin-bottom:1.45rem; }.team-layout { gap:1.6rem; }
 .profile-copy h3 { font-size:1.9rem; }
 .contact-grid { gap:2.35rem; }.contact-info { border-left:0; border-top:1px solid #77919e; padding:1.7rem 0 0; gap:1.22rem; }
 .contact h2 { font-size:3.2rem; }.footer-row { flex-wrap:wrap; gap:1rem; }.footer-row > p { order:3; width:100%; }.fine { flex-direction:column; gap:.55rem; }
}
@media(max-width:365px) { .shell { width:calc(100% - 2rem); }.hero-actions { gap:.7rem; }.hero-actions .icon { display:none; }.brief-item > .icon { display:none; } }
@media(prefers-reduced-motion:reduce) { * { scroll-behavior:auto!important; transition:none!important; } }
