:root {
  --ink: #183f36;
  --muted: #4f6a62;
  --paper: #f7faf8;
  --mint: #e2efe7;
  --line: #d9e5de;
  --gold: #d5b777;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 115px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.75 Arial, sans-serif; }
a { color: inherit; }
h1, h2, h3, p { margin: 0 0 .7em; }
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(3.2rem, 6.5vw, 5.5rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); letter-spacing: -.025em; }
h3 { font-size: 1.45rem; }
.wrap { width: min(1140px, calc(100% - 40px)); margin: auto; }
header { position: sticky; top: 0; z-index: 5; background: #ffffffed; backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 8px 0; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 1rem; }
.nav-links a { text-decoration: none; }
.atlas-logo { position: relative; display: block; width: 108px; height: 80px; overflow: hidden; mix-blend-mode: multiply; flex: none; }
.atlas-logo img { position: absolute; width: 250px; height: auto; max-width: none; top: -75px; left: -76px; }
.button { display: inline-block; padding: 13px 25px; background: var(--ink); color: white; border-radius: 12px; font-weight: bold; text-decoration: none; box-shadow: 0 8px 20px #183f3620; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px #183f3633; }
.button.secondary { background: transparent; color: var(--ink); box-shadow: none; border: 1px solid #adc4b6; }
.hero-shell { background: radial-gradient(ellipse at 15% 40%, #cfe5d8 0, transparent 60%), linear-gradient(135deg, #f4f8f5, #e8f2ed); overflow: hidden; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 65px; padding: 76px 0 80px; }
.tag { font-size: .9rem; font-weight: bold; letter-spacing: .03em; margin-bottom: 18px; color: var(--muted); }
.hero p { max-width: 38ch; color: var(--muted); font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-art { position: relative; padding: 25px 0; }
.art-scene { background: linear-gradient(145deg, #215144, #11372e); border: 1px solid #42705d; border-radius: 38px 100px 38px 38px; box-shadow: 0 35px 60px #163d3430, inset 0 1px 0 #ffffff40; padding: 28px 26px 70px; transform: rotate(-3deg); }
.art-scene svg { display: block; width: 100%; height: auto; transform: rotate(3deg); }
.art-caption { color: #e2efe7; text-align: center; margin: 0; font-size: 1rem; }
.floating-note { position: absolute; bottom: 0; right: -15px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 35px #183f3626; padding: 18px 24px; width: 85%; }
.floating-note strong { display: block; font-size: 1.15rem; }
.floating-note span { color: var(--muted); font-size: .95rem; }
section { padding: 80px 0; }
.split { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.section-label { font-size: .9rem; font-weight: bold; color: var(--muted); margin-bottom: 16px; }
#about { background: white; }
.about-copy { border-right: 3px solid var(--gold); padding-right: 25px; }
.about-copy p:first-child { font-size: 1.3rem; font-weight: bold; }
.pain-box { padding: 50px; border-radius: 28px; background: var(--ink); color: white; box-shadow: 0 18px 40px #163d3417; position: relative; overflow: hidden; }
.pain-box::after { content: ''; position: absolute; width: 250px; height: 250px; border: 1px solid #ffffff18; border-radius: 50%; left: -100px; top: -120px; pointer-events: none; }
.pain-box p { color: #dce9e2; }
.pain-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pain-tags span { border: 1px solid #ffffff36; padding: 5px 14px; border-radius: 99px; font-size: .95rem; }
#fit { padding-top: 0; }
.fit-copy { background: white; border-radius: 22px; border: 1px solid var(--line); padding: 30px; box-shadow: 0 10px 28px #163d3408; }
#services { background: #e9f2ed; }
.section-head { max-width: 670px; margin-bottom: 32px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: 22px; padding: 30px; background: white; box-shadow: 0 8px 20px #183f3608; }
.service-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--mint); margin-bottom: 24px; }
.service-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--muted); margin: 0; }
.mortgage-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.mortgage-visual { background: linear-gradient(140deg, #d7e8dd, #edf5f0); border-radius: 28px; padding: 36px; border: 1px solid #cfdfd4; box-shadow: 12px 12px 0 #eef3ec; }
.mortgage-visual h3 { font-size: 1.6rem; }
.mortgage-row { padding: 16px 0; border-bottom: 1px solid #b9cec0; }
.mortgage-row:last-child { border: 0; padding-bottom: 0; }
.mortgage-row strong { display: block; }
.mortgage-row p { font-size: 1rem; color: var(--muted); margin: 0; }
.contact { background: #143d33; color: white; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.contact-intro { padding-top: 25px; }
.contact-intro p { color: #d6e8de; max-width: 32ch; }
.contact-intro .section-label { color: #d5b777; }
.contact-form { display: grid; gap: 8px; color: var(--ink); padding: 32px; box-shadow: 0 20px 45px #08271e40; }
.contact-form label { font-weight: bold; font-size: 1rem; }
.contact-form input, .contact-form textarea { width: 100%; min-width: 0; margin-bottom: 10px; padding: 12px; border: 1px solid #9fb8aa; border-radius: 10px; font: inherit; background: #f7faf8; color: var(--ink); }
.contact-form textarea { resize: vertical; }
.inquiry-topic { min-width: 0; margin: 0 0 12px; padding: 0; border: 0; }
.inquiry-topic legend { margin-bottom: 10px; font-size: 1rem; font-weight: bold; }
.topic-options { display: flex; flex-wrap: wrap; gap: 10px; }
.topic-options label { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid #9fb8aa; border-radius: 10px; cursor: pointer; }
.topic-options label:has(input:checked) { background: var(--mint); border-color: var(--ink); }
.topic-options input { width: auto; margin: 0; accent-color: var(--ink); }
.contact-form button { border: 0; font: inherit; font-weight: bold; cursor: pointer; }
.contact-form button:disabled { opacity: .6; cursor: wait; }
.contact-consent { display: flex; align-items: baseline; gap: 10px; margin: 7px 0 16px; font-size: .95rem; }
.contact-consent input { width: auto; flex: none; margin: 0; accent-color: var(--ink); }
.contact-consent label { font-weight: normal; }
#contact-result { margin: 0; font-size: 1rem; }
footer { padding: 25px 0; background: #0e2e26; color: #cddfd5; font-size: .9rem; }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; }
:focus-visible { outline: 3px solid #b98c36; outline-offset: 4px; }
@media (max-width: 760px) {
  .nav-links a:not(.button) { display: none; }
  .hero, .split, .mortgage-panel, .contact-layout, .cards { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 45px 0 50px; }
  .hero-art { width: min(100%, 430px); margin: 0 auto; }
  .floating-note { right: 0; }
  section { padding: 48px 0; }
  .pain-box { padding: 28px; }
  .contact-form { padding: 23px; }
  .mortgage-visual { padding: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
