:root {
  --sky-50: #f5fbff;
  --sky-100: #e8f6ff;
  --sky-200: #cfeafb;
  --sky-300: #a9d9f3;
  --sky-500: #4ba9d7;
  --cream: #fbf7ef;
  --white: #ffffff;
  --ink: #263138;
  --muted: #66747c;
  --line: rgba(38, 49, 56, .13);
  --shadow: 0 24px 70px rgba(86, 123, 142, .14);
  --radius: 30px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 15px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 110px 0; }
.section-soft { background: var(--sky-50); }
.section-cream { background: var(--cream); }
.eyebrow { margin: 0 0 14px; color: #3c8eb8; font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.display, h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.07; letter-spacing: -.025em; }
h1 { margin: 0; font-size: clamp(3.2rem, 7.2vw, 7.1rem); }
h2 { margin: 0; font-size: clamp(2.3rem, 4.8vw, 4.8rem); }
h3 { margin: 0; font-size: clamp(1.35rem, 2.1vw, 2rem); }
p { margin: 0; }
.lead { max-width: 690px; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.28rem); }
.section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: end; margin-bottom: 56px; }
.section-head .lead { justify-self: end; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.88); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.nav-wrap { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { display: inline-flex; flex-direction: column; line-height: 1; flex-shrink: 0; }
.wordmark-main { font-family: var(--serif); font-size: 1.54rem; letter-spacing: .075em; }
.wordmark-sub { margin-top: 5px; color: var(--muted); font-size: .58rem; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.nav a { position: relative; font-size: .83rem; font-weight: 600; }
.nav a:not(.button)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--sky-500); transition: right .25s ease; }
.nav a:hover::after, .nav a[aria-current='page']::after { right: 0; }
.menu-button { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); }
.menu-button span, .menu-button::before, .menu-button::after { content: ''; display: block; width: 18px; height: 1px; margin: 4px auto; background: currentColor; transition: .2s ease; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 23px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: white; font-size: .86rem; font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(38,49,56,.16); }
.button-light { border-color: var(--sky-300); background: var(--sky-100); color: var(--ink); }
.button-white { border-color: white; background: white; color: var(--ink); }
.button-ghost { background: transparent; color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 700; border-bottom: 1px solid currentColor; }

.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--sky-50), var(--white) 56%, var(--cream)); }
.hero::before { content: ''; position: absolute; width: 560px; height: 560px; right: -220px; top: -200px; border: 1px solid var(--sky-300); border-radius: 50%; }
.hero-grid { min-height: calc(100svh - 86px); padding: 72px 0 58px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 70px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 .accent { color: #4e9fc7; font-style: italic; }
.hero-copy .lead { margin-top: 28px; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 28px; display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: .79rem; }
.hero-note::before { content: ''; width: 45px; height: 1px; background: var(--sky-500); }
.hero-visual { position: relative; min-height: 620px; }
.portrait-frame { position: absolute; inset: 0 58px 0 0; border-radius: 210px 210px 30px 30px; overflow: hidden; box-shadow: var(--shadow); background: var(--sky-100); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 40%; }
.studio-card { position: absolute; right: 0; bottom: 45px; width: 235px; padding: 25px; border: 1px solid rgba(255,255,255,.75); border-radius: 24px; background: rgba(255,255,255,.91); backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.studio-card small { display: block; color: var(--muted); font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; }
.studio-card strong { display: block; margin: 10px 0 18px; font-family: var(--serif); font-size: 1.33rem; font-weight: 400; line-height: 1.2; }
.swatches { display: flex; gap: 7px; }
.swatches i { width: 31px; height: 31px; border-radius: 50%; border: 3px solid white; box-shadow: 0 0 0 1px var(--line); }
.swatches i:nth-child(1){ background: var(--sky-200); }.swatches i:nth-child(2){ background: var(--cream); }.swatches i:nth-child(3){ background: #b8dceb; }

.trust-strip { border-block: 1px solid var(--line); }
.trust-items { min-height: 100px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.trust-items span { padding: 20px 28px; color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-align: center; text-transform: uppercase; border-right: 1px solid var(--line); }
.trust-items span:first-child { border-left: 1px solid var(--line); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { min-height: 350px; padding: 34px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-number { color: #5299bb; font-family: var(--serif); font-size: 1rem; }
.service-card h3 { margin-top: auto; }
.service-card p { margin: 18px 0 25px; color: var(--muted); }
.service-card .tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .7rem; }

.statement { padding: 90px 0; background: var(--sky-200); }
.statement blockquote { max-width: 980px; margin: 0 auto; font-family: var(--serif); font-size: clamp(2.1rem, 4.8vw, 5rem); line-height: 1.08; text-align: center; }
.statement em { color: #438eaf; }

.projects { display: grid; gap: 28px; }
.project-card { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 460px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.project-visual { position: relative; min-height: 380px; padding: 42px; display: grid; place-items: center; overflow: hidden; background: var(--project-bg, var(--sky-100)); }
.project-visual::before, .project-visual::after { content: ''; position: absolute; border: 1px solid rgba(38,49,56,.17); border-radius: 50%; }
.project-visual::before { width: 380px; height: 380px; left: -150px; top: -170px; }
.project-visual::after { width: 240px; height: 240px; right: -100px; bottom: -120px; }
.mockup { position: relative; z-index: 2; width: min(84%, 390px); padding: 52px 34px; border-radius: 8px; background: rgba(255,255,255,.89); box-shadow: 0 28px 60px rgba(38,49,56,.13); text-align: center; transform: rotate(-2deg); }
.mockup small { letter-spacing: .25em; text-transform: uppercase; }
.mockup b { display: block; margin: 17px 0; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 400; }
.project-copy { padding: clamp(36px, 6vw, 70px); display: flex; flex-direction: column; justify-content: center; }
.project-copy p { margin: 20px 0 30px; color: var(--muted); }
.project-meta { margin-bottom: 18px; color: #448dac; font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }

.about-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 90px; align-items: center; }
.about-image { position: relative; }
.about-image::after { content: ''; position: absolute; inset: 34px -24px -24px 34px; z-index: -1; border-radius: var(--radius); background: var(--sky-200); }
.about-image img { aspect-ratio: 4/5; width: 100%; object-fit: cover; object-position: 52% 42%; border-radius: var(--radius); }
.about-copy .lead { margin: 24px 0; }
.about-copy p:not(.lead) { color: var(--muted); }
.about-list { margin: 30px 0 36px; padding: 0; list-style: none; display: grid; gap: 12px; }
.about-list li { display: flex; gap: 13px; align-items: flex-start; }
.about-list li::before { content: '•'; color: var(--sky-500); font-size: 1.4rem; line-height: 1; }

.process-grid { margin-top: 55px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.process-step { min-height: 260px; padding: 34px; background: var(--white); }
.process-step span { color: #4c9cc0; font-family: var(--serif); font-size: 1rem; }
.process-step h3 { margin: 45px 0 14px; }
.process-step p { color: var(--muted); font-size: .9rem; }

.cta-band { padding: 86px 0; background: var(--sky-200); }
.cta-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 45px; align-items: center; }
.cta-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }

.page-hero { padding: 105px 0 85px; background: linear-gradient(135deg, var(--sky-50), white 65%, var(--cream)); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 50px; }
.page-hero h1 { font-size: clamp(3.1rem, 6vw, 6.2rem); }
.page-hero .lead { justify-self: end; }
.page-kicker { margin-top: 25px; color: var(--muted); }

.detail-list { display: grid; gap: 22px; }
.detail-card { display: grid; grid-template-columns: 90px .85fr 1.15fr; gap: 35px; align-items: start; padding: 45px 0; border-top: 1px solid var(--line); }
.detail-card:last-child { border-bottom: 1px solid var(--line); }
.detail-card > span { color: #4d99bb; font-family: var(--serif); }
.detail-card p { color: var(--muted); }
.detail-card ul { margin: 16px 0 0; padding-left: 18px; color: var(--muted); }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { padding: 35px; border-radius: 24px; background: var(--sky-50); }
.value-card h3 { margin-bottom: 14px; }
.value-card p { color: var(--muted); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card { overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: white; }
.blog-cover { min-height: 210px; padding: 30px; display: flex; align-items: flex-end; background: var(--sky-100); }
.blog-cover.alt { background: var(--cream); }
.blog-cover.sky { background: var(--sky-200); }
.blog-cover span { font-family: var(--serif); font-size: 2rem; line-height: 1.05; }
.blog-copy { padding: 27px; }
.blog-copy small { color: #4c95b7; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.blog-copy h3 { margin: 13px 0; }
.blog-copy p { color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.contact-aside { position: sticky; top: 125px; }
.contact-aside .lead { margin: 20px 0 35px; }
.contact-options { display: grid; gap: 12px; }
.contact-option { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--sky-50); }
.contact-option strong { display: block; font-family: var(--serif); font-size: 1.1rem; font-weight: 400; }
.contact-option span { color: var(--muted); font-size: .8rem; }
.form { padding: clamp(28px, 5vw, 54px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1/-1; }
.field label, .fieldset legend { font-size: .76rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 13px; background: white; padding: 14px 15px; color: var(--ink); outline: none; }
.field textarea { min-height: 145px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sky-500); box-shadow: 0 0 0 3px rgba(75,169,215,.12); }
.checkbox { grid-column: 1/-1; display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .78rem; }
.checkbox input { margin-top: 5px; }
.form .button { margin-top: 10px; }
.form-status { display: none; margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: #e8f7ed; color: #356c49; }
.form-status.visible { display: block; }

.legal-placeholder { max-width: 820px; padding: 38px; border: 1px dashed #d2b675; border-radius: 22px; background: #fffaf0; }
.legal-placeholder strong { display: block; margin-bottom: 12px; }
.legal-placeholder p + p { margin-top: 14px; }

.site-footer { background: #eef8fd; border-top: 1px solid var(--line); }
.footer-main { padding: 72px 0 45px; display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 60px; }
.footer-main .wordmark { margin-bottom: 20px; }
.footer-main p { max-width: 430px; color: var(--muted); }
.footer-title { margin-bottom: 16px; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { display: grid; gap: 8px; color: var(--muted); font-size: .87rem; }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { padding: 20px 0 30px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .nav { position: fixed; inset: 86px 0 auto; padding: 30px 20px 38px; display: none; flex-direction: column; align-items: flex-start; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { font-size: 1rem; }
  .menu-button { display: block; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-top: 65px; }
  .hero-copy { max-width: 750px; }
  .hero-visual { min-height: 680px; }
  .portrait-frame { right: 90px; }
  .section-head, .page-hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 35px; }
  .section-head .lead, .page-hero .lead { justify-self: start; }
  .card-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .project-card { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .detail-card { grid-template-columns: 50px 1fr; }
  .detail-card p, .detail-card ul { grid-column: 2; }
  .contact-aside { position: static; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 80px 0; }
  .nav-wrap { min-height: 76px; }
  .nav { top: 76px; }
  .wordmark-main { font-size: 1.33rem; }
  .hero-grid { padding-top: 52px; gap: 48px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-visual { min-height: 515px; }
  .portrait-frame { right: 24px; border-radius: 140px 140px 25px 25px; }
  .studio-card { width: 190px; padding: 20px; bottom: 20px; }
  .trust-items { grid-template-columns: 1fr 1fr; }
  .trust-items span { border-bottom: 1px solid var(--line); }
  .card-grid, .blog-grid, .values { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; }
  .process-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .detail-card { grid-template-columns: 1fr; gap: 15px; }
  .detail-card p, .detail-card ul { grid-column: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full, .checkbox { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr; gap: 35px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Bright blue editorial redesign */
::selection { background: #9fd7f5; color: var(--ink); }
body { background: #e4f4fe; }
.section { background: #e4f4fe; }
.section-soft { background: #d5edfb; }
.site-header { background: rgba(228,244,254,.93); border-color: rgba(38,49,56,.12); }
.hero { background: #d5edfb; }

/* M•AGNOVA / current site direction */
:root { --brand:#5b96b0; --deep:#233e4b; --paper:#f7fafb; --air:#e5f2f7; --cream:#f8f5ef; }
body { background:#fff; }
.site-header { background:rgba(255,255,255,.96); border-bottom:1px solid #d9e7ec; }
.nav-wrap { min-height:82px; }
.brand { display:inline-flex; align-items:center; flex-shrink:0; width:184px; }
.brand img { width:100%; height:auto; }
.nav { gap:clamp(14px,1.8vw,28px); }
.nav a { font-size:.9rem; }
.eyebrow { color:#4b8ba6; font-size:.78rem; }
.button { background:var(--deep); border-color:var(--deep); font-size:.93rem; }
.button-light { background:var(--air); border-color:#bddbe7; color:var(--deep); }
.button-outline { background:transparent; border-color:#b8d3dd; color:var(--deep); }
.section { background:#fff; }
.section-head { grid-template-columns:1.1fr .75fr; align-items:end; }
.section-head .lead { max-width:420px; }
.site-footer { background:var(--air); }
.site-footer .brand { width:218px; margin-bottom:16px; }

.home-hero { background:linear-gradient(120deg,#eaf6fa 0%,#f8fbfc 56%,#fff 100%); overflow:hidden; }
.home-hero-grid { display:grid; grid-template-columns:1.05fr .83fr; gap:clamp(48px,7vw,116px); min-height:650px; align-items:center; padding:64px 0 70px; }
.home-hero-copy h1 { max-width:800px; font-size:clamp(3.7rem,6.2vw,6.5rem); color:var(--deep); }
.home-hero-copy h1 em { color:var(--brand); font-weight:400; }
.home-hero-copy .lead { margin-top:28px; color:#435c68; font-size:clamp(1.13rem,1.7vw,1.35rem); }
.home-hero .hero-actions { margin-top:34px; }
.micro-note { max-width:460px; margin-top:26px; color:#657d87; font-size:.91rem; }
.home-portrait { position:relative; align-self:stretch; min-height:550px; margin:0; padding:0 0 18px 18px; }
.home-portrait::before { content:''; position:absolute; inset:32px -20px 0 0; background:#c7e1ec; border-radius:240px 240px 20px 20px; }
.home-portrait img { position:relative; width:100%; height:100%; max-height:620px; object-fit:cover; object-position:50% 17%; border-radius:240px 240px 18px 18px; box-shadow:0 20px 55px rgba(39,83,105,.13); }
.home-portrait figcaption { position:absolute; right:-10px; bottom:0; background:#fff; padding:13px 20px; color:var(--deep); font-size:.82rem; letter-spacing:.025em; }

.compact-intro { padding:80px 0; background:var(--cream); }
.compact-grid { display:grid; grid-template-columns:.62fr 1.3fr .95fr; gap:44px; align-items:start; }
.compact-grid h2 { font-size:clamp(2.1rem,3.7vw,3.7rem); }
.compact-grid > p:last-child { font-size:1.08rem; color:#52636b; }
.services-home { padding-top:100px; }
.offer-list { border-top:1px solid #c9dce4; }
.offer-row { display:grid; grid-template-columns:54px 1fr 1.2fr 34px; gap:22px; padding:28px 4px; align-items:center; border-bottom:1px solid #c9dce4; transition:background .2s ease,padding .2s ease; }
.offer-row:hover { background:#f2f9fb; padding-inline:16px; }
.offer-row > span { color:var(--brand); font-family:var(--serif); font-size:1.1rem; }
.offer-row h3 { font-size:clamp(1.35rem,2.1vw,1.9rem); }
.offer-row p { color:#536a75; font-size:.99rem; }
.offer-row b { font-size:1.25rem; font-weight:400; color:var(--brand); }

.work-home { background:#eaf5f9; }
.work-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.work-tile { display:block; min-width:0; background:#fff; border:1px solid #d4e3e9; }
.work-tile-wide { grid-column:span 2; display:grid; grid-template-columns:1.25fr .75fr; }
.work-art { display:grid; place-items:center; min-height:320px; padding:20px; background:#f6f1e9; overflow:hidden; }
.work-art img { display:block; width:100%; max-height:420px; object-fit:contain; }
.work-art-vertical { height:420px; background:#dceef6; }
.work-art-vertical img { width:auto; height:100%; max-height:none; aspect-ratio:.56; object-fit:cover; object-position:center; }
.work-caption { display:flex; justify-content:space-between; gap:20px; padding:28px 30px; align-items:end; }
.work-tile-wide .work-caption { align-self:center; }
.work-caption small { color:#4a8eab; font-size:.76rem; font-weight:700; letter-spacing:.13em; }
.work-caption h3 { margin:12px 0; font-size:clamp(1.75rem,2.8vw,3rem); }
.work-caption p { color:#526570; font-size:1rem; }
.work-caption > span { font-size:1.3rem; color:var(--brand); }
.section-end { margin-top:34px; display:flex; gap:28px; flex-wrap:wrap; }
.about-strip { padding:75px 0; background:var(--cream); }
.about-strip-grid { display:grid; grid-template-columns:1fr 1fr .45fr; gap:40px; align-items:end; }
.about-strip h2 { font-size:clamp(2.3rem,4.3vw,4.4rem); }
.about-strip p:not(.eyebrow) { color:#51646e; font-size:1.07rem; }
.home-last { padding:95px 0 110px; background:var(--deep); color:#fff; }
.home-last .container { max-width:960px; text-align:center; }
.home-last .eyebrow { color:#a9d6e8; }
.home-last h2 { font-size:clamp(2.7rem,5vw,5rem); }
.home-last p:not(.eyebrow) { max-width:650px; margin:22px auto 28px; color:#d3e4ea; font-size:1.1rem; }
.home-last .button { background:#fff; border-color:#fff; color:var(--deep); }

.portfolio-intro { padding:96px 0 76px; background:#eaf5f9; }
.portfolio-intro h1 { max-width:1000px; font-size:clamp(3.3rem,6vw,6rem); }
.portfolio-intro .lead { margin-top:22px; }
.case-section { padding:86px 0; }
.case-section.alt { background:#f2f8fa; }
.case-heading { display:flex; justify-content:space-between; gap:36px; align-items:end; margin-bottom:28px; }
.case-heading h2 { font-size:clamp(2.4rem,4.5vw,4.4rem); }
.case-heading p { max-width:440px; color:#546874; font-size:1.03rem; }
.case-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.case-gallery figure { margin:0; background:#fff; border:1px solid #d8e7ec; padding:15px; }
.case-gallery img { width:100%; aspect-ratio:10/7; object-fit:contain; }
.case-gallery figcaption { padding:10px 3px 2px; color:#5d6f78; font-size:.9rem; }
.case-gallery .smoke-img { aspect-ratio:.56; object-fit:cover; object-position:center; background:#d2eaf4; }
.portfolio-pdf { padding:70px 0; background:var(--cream); text-align:center; }
.portfolio-pdf h2 { margin-bottom:20px; }
.detail-card { scroll-margin-top:110px; }
.detail-card p,.detail-card li { font-size:1rem; }
.contact-hold { padding:40px; background:#edf6f9; border:1px solid #d0e4ec; }
.contact-hold h3 { margin-bottom:18px; }
.contact-hold p { color:#526670; font-size:1rem; }
.contact-hold p+p { margin-top:20px; }

@media (max-width:980px) {
 .home-hero-grid { grid-template-columns:1fr .8fr; gap:28px; }
 .home-hero-copy h1 { font-size:clamp(3.2rem,6vw,5rem); }
 .compact-grid,.about-strip-grid { grid-template-columns:1fr 1fr; }
 .compact-grid .eyebrow { grid-column:1/-1; }
 .about-strip-grid .text-link { grid-column:1/-1; }
 .offer-row { grid-template-columns:42px 1fr 28px; }
 .offer-row p { grid-column:2; }
 .offer-row b { grid-column:3; grid-row:1/3; }
}
@media (max-width:680px) {
 .brand { width:148px; }
 .home-hero-grid { grid-template-columns:1fr; padding:48px 0 44px; }
 .home-hero-copy h1 { font-size:clamp(3rem,12vw,4.2rem); }
 .home-portrait { min-height:420px; max-width:460px; }
 .home-portrait img { max-height:470px; }
 .compact-grid,.about-strip-grid,.work-grid,.case-gallery { grid-template-columns:1fr; }
 .work-tile-wide { grid-column:auto; display:block; }
 .section-head { grid-template-columns:1fr; gap:18px; }
 .work-art { min-height:240px; }
 .case-heading { display:block; }
 .case-heading p { margin-top:18px; }
 .offer-row { gap:12px; padding:22px 0; }
 .offer-row h3 { font-size:1.45rem; }
 .section-end { gap:20px; }
}
.hero::after { content: 'M•AGNOVA'; position: absolute; left: -1vw; bottom: -4.5vw; color: rgba(255,255,255,.45); font-family: var(--serif); font-size: clamp(7rem,16vw,15rem); line-height: 1; letter-spacing: -.06em; white-space: nowrap; pointer-events: none; }
.hero-copy::before { content: 'STUDIO / 01'; position: absolute; top: -44px; right: 4px; color: #478aac; font-size: .7rem; font-weight: 800; letter-spacing: .18em; writing-mode: vertical-rl; }
.statement { background: white; }
.page-hero { background: #d5edfb; }
.site-footer { background: #c9e8fa; }
.marquee { overflow: hidden; background: white; border-block: 1px solid var(--line); }
.marquee-track { min-height: 60px; display: flex; align-items: center; gap: 38px; width: max-content; animation: marquee 24s linear infinite; }
.marquee-track span { color: #4389aa; font-family: var(--serif); font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; }
.marquee-track i { width: 6px; height: 6px; border-radius: 50%; background: var(--sky-500); }
@keyframes marquee { to { transform: translateX(-50%); } }
.project-media { position: relative; min-height: 460px; overflow: hidden; background: var(--cream); }
.project-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.project-card:hover .project-media > img { transform: scale(1.025); }
.concept-label { position: absolute; top: 22px; left: 22px; z-index: 2; padding: 9px 13px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ink); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 8px 24px rgba(38,49,56,.09); }
.project-brand-panel { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; padding: 22px 25px; display: flex; align-items: end; justify-content: space-between; gap: 20px; border: 1px solid rgba(255,255,255,.75); border-radius: 20px; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); box-shadow: 0 15px 40px rgba(38,49,56,.12); }
.project-brand-panel small { display: block; color: var(--muted); font-size: .64rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.project-brand-panel b { display: block; margin-top: 4px; font-family: var(--serif); font-size: clamp(1.75rem,3.5vw,3rem); font-weight: 400; line-height: 1; }
.project-color-row { display: flex; gap: 6px; }
.project-color-row i { width: 25px; height: 25px; border: 2px solid white; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.project-color-row i:nth-child(1){background:#d6e8ed}.project-color-row i:nth-child(2){background:#f8f1e4}.project-color-row i:nth-child(3){background:#9fb8ae}
.project-card:nth-child(2) .project-color-row i:nth-child(1){background:#e4c99f}.project-card:nth-child(2) .project-color-row i:nth-child(2){background:#fff8e9}.project-card:nth-child(2) .project-color-row i:nth-child(3){background:#b7d6e8}
.project-card:nth-child(3) .project-color-row i:nth-child(1){background:#c8e5f4}.project-card:nth-child(3) .project-color-row i:nth-child(2){background:#f7f1e7}.project-card:nth-child(3) .project-color-row i:nth-child(3){background:#d7c6ac}

@media (max-width: 980px) {
  .nav { background: rgba(228,244,254,.99); }
}
@media (max-width: 680px) {
  h1 { font-size: clamp(3.25rem,16vw,4.6rem); }
  h2 { font-size: clamp(2.35rem,11vw,3.5rem); }
  .hero-grid { padding: 56px 0 40px; gap: 42px; }
  .hero-copy::before { position: static; display: block; margin-bottom: 12px; writing-mode: horizontal-tb; }
  .hero-copy .lead { margin-top: 22px; font-size: 1.05rem; }
  .hero-visual { min-height: 470px; margin-inline: -2px; }
  .portrait-frame { inset: 0 16px 0 0; border-radius: 130px 130px 24px 24px; }
  .portrait-frame img { object-position: 52% 38%; }
  .hero::after { bottom: 3px; font-size: 25vw; }
  .project-media { min-height: 390px; }
  .project-brand-panel { left: 14px; right: 14px; bottom: 14px; padding: 18px; }
  .project-color-row i { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* iPhone / in-app mobile correction */
.studio-card,
.project-brand-panel { backdrop-filter: none; -webkit-backdrop-filter: none; }
.studio-card { background: #ffffff; }
.project-brand-panel { background: #ffffff; }

@media (max-width: 680px) {
  .site-header { padding-top: 0; }
  .nav-wrap { min-height: 68px; }
  .nav { top: 68px; max-height: calc(100svh - 68px); overflow-y: auto; }
  .wordmark-main { font-size: 1.2rem; letter-spacing: .055em; }
  .wordmark-sub { font-size: .56rem; letter-spacing: .32em; }
  .hero-grid { padding-top: 42px; }
  .hero-visual { min-height: 0; width: 100%; aspect-ratio: 1 / 1; }
  .portrait-frame { position: relative; inset: auto; width: 100%; height: 100%; border-radius: 26px; }
  .portrait-frame img { width: 100%; height: 100%; object-fit: contain; object-position: center; background: #d5edfb; }
  .studio-card { display: none; }
  .hero::after { display: none; }
  .about-image img { aspect-ratio: 1 / 1; object-fit: contain; object-position: center; background: #d5edfb; }
}

/* Responsive M•AGNOVA pages */
.work-art-vertical img { aspect-ratio:auto; object-fit:contain; max-width:100%; }
.portfolio-reader { padding:clamp(34px,6vw,76px) 0 90px; background:#f2f8fa; }
.portfolio-reader-head { display:flex; justify-content:space-between; align-items:end; gap:24px; margin-bottom:22px; }
.portfolio-reader-head p { max-width:550px; color:#526670; }
.portfolio-reader-actions { display:flex; flex-wrap:wrap; gap:10px; }
.portfolio-frame { width:100%; height:min(80vh,900px); min-height:620px; background:#fff; border:1px solid #cfdee5; box-shadow:0 20px 50px rgba(35,62,75,.12); }
.portfolio-frame iframe { display:block; width:100%; height:100%; border:0; }
.portfolio-mobile-pages { display:none; }
.portfolio-note { margin-top:18px; color:#526670; font-size:.94rem; }
.portfolio-extra { padding:76px 0; background:#fff; }
.portfolio-extra h2 { font-size:clamp(2rem,4vw,3.6rem); }
.portfolio-extra .lead { margin:18px 0 30px; }
.portfolio-extra .case-gallery .smoke-img { height: min(70vh,720px); width:100%; aspect-ratio:auto; object-fit:contain; }

@media (max-width:1100px) {
  .home-hero-grid { grid-template-columns:1fr; gap:36px; min-height:0; padding:60px 0 70px; }
  .home-hero-copy { max-width:760px; }
  .home-hero-copy h1 { font-size:clamp(3.4rem,7vw,5.6rem); }
  .home-portrait { width:min(100%,430px); height:480px; min-height:0; justify-self:center; }
  .compact-grid { grid-template-columns:1fr; gap:15px; }
  .compact-grid .eyebrow { grid-column:auto; }
  .compact-grid h2,.compact-grid > p:last-child { max-width:720px; }
  .work-tile-wide { grid-template-columns:1fr; }
  .portfolio-reader-head { align-items:start; flex-direction:column; }
}
@media (max-width:980px) {
  .nav { top:82px; max-height:calc(100svh - 82px); overflow-y:auto; background:#fff; }
  .portfolio-frame { display:none; }
  .portfolio-mobile-pages { display:grid; gap:18px; }
  .portfolio-mobile-pages figure { margin:0; }
  .portfolio-mobile-pages img { display:block; width:100%; height:auto; background:#fff; box-shadow:0 8px 22px rgba(35,62,75,.12); }
  .portfolio-mobile-pages figcaption { padding:7px 2px 0; color:#526670; font-size:.82rem; }
}
@media (max-width:760px) {
  .container { width:calc(100% - 36px); }
  .section { padding:70px 0; }
  .section-head { grid-template-columns:1fr; gap:12px; margin-bottom:30px; }
  .section-head .lead { justify-self:start; }
  .about-strip-grid { grid-template-columns:1fr; gap:18px; }
  .about-strip-grid .text-link { grid-column:auto; }
  .work-grid,.case-gallery { grid-template-columns:1fr; }
  .work-tile-wide { grid-column:auto; }
  .portfolio-reader { padding-bottom:70px; }
  .portfolio-reader-actions { width:100%; }
  .portfolio-reader-actions .button { flex:1 1 170px; }
}
@media (max-width:680px) {
  .nav { top:68px; max-height:calc(100svh - 68px); }
  .home-hero-grid { padding:38px 0 50px; gap:35px; }
  .home-hero-copy h1 { font-size:clamp(2.65rem,10.2vw,3.7rem); overflow-wrap:normal; }
  .home-hero-copy .lead { margin-top:19px; font-size:1.05rem; }
  .home-hero .hero-actions { margin-top:25px; }
  .micro-note { margin-top:20px; font-size:.9rem; }
  .home-portrait { width:min(100%,380px); height:auto; aspect-ratio:4/5; padding:0 0 12px 12px; }
  .home-portrait::before { inset:22px 0 0 0; }
  .home-portrait img { height:100%; max-height:none; }
  .home-portrait figcaption { right:0; padding:9px 12px; }
  .compact-intro,.about-strip { padding:60px 0; }
  .compact-grid h2 { font-size:clamp(2rem,8vw,3rem); }
  .offer-row { grid-template-columns:33px minmax(0,1fr) 20px; gap:10px; align-items:start; }
  .offer-row h3 { font-size:1.28rem; line-height:1.22; }
  .offer-row p { font-size:.96rem; }
  .offer-row b { line-height:1.2; }
  .work-caption { padding:20px; }
  .work-art-vertical { height:460px; }
  .portfolio-intro { padding:54px 0 42px; }
  .portfolio-intro h1 { font-size:clamp(2.6rem,10vw,4rem); }
  .portfolio-extra { padding:58px 0; }
  .portfolio-extra .case-gallery .smoke-img { height:auto; max-height:none; }
  .home-last { padding:70px 0 80px; }
  .footer-main { padding-top:52px; }
}
@media (max-width:360px) {
  .container { width:calc(100% - 28px); }
  .home-hero-copy h1 { font-size:2.48rem; }
  .brand { width:138px; }
  .portfolio-reader-actions .button { width:100%; }
}
