:root {
    --accent: #263BC0;
    --ink: #171F50;
    --tint: #EDF0FF;
    --muted: #4D5678;
    --line: #CBD2ED;
    --field-line: #8292BE;
    --footer: #182577;
    --footer-ink: #F8F9FF;
    --footer-line: #6472BC;
    --heading: Chivo, sans-serif;
    --paper: #FFFFFF;
    --focus: #263BC0;
    --heading-track: -.052em;
    --button-radius: 30px;
    --heading-weight: 720;
}

:root {
    color-scheme: light;
    scroll-padding-top: 28px;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 18px/1.65 "DM Sans", sans-serif;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 {
    font-family: var(--heading);
    font-weight: var(--heading-weight, 650);
    letter-spacing: var(--heading-track, -.047em);
    line-height: 1.08;
    text-wrap: balance;
}
h1 { font-size: clamp(42px, 6.1vw, 91px); }
h2 { font-size: clamp(32px, 4vw, 57px); }
h3 { font-size: clamp(23px, 2.4vw, 29px); letter-spacing: -.027em; }
p { max-width: 66ch; }
p + p { margin-top: 17px; }
figcaption { color: var(--muted); margin-top: 10px; font-size: 16px; line-height: 1.5; }
.container { width: min(1240px, calc(100% - 88px)); margin-inline: auto; }
.section { padding-block: clamp(60px, 8vw, 110px); }
.section-heading { margin-bottom: 35px; }
.section-heading p, .page-title p { margin-top: 17px; color: var(--muted); }
.section-heading p { max-width: 56ch; }
.text-link { color: var(--accent); font-weight: 700; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: var(--button-radius, 6px);
    background: var(--accent);
    color: white;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    text-align: center;
}
.button:hover, input[type=submit]:hover { filter: brightness(.9); }
.skip-link { position: absolute; z-index: 99; top: -100px; left: 14px; padding: 10px 14px; background: white; color: var(--ink); }
.skip-link:focus { top: 12px; }
.studio-header { background: var(--paper); position: relative; z-index: 5; border-bottom: 1px solid var(--line); }
.nav-row { min-height: 82px; display: flex; gap: 34px; align-items: center; }
.brand { margin-right: auto; flex: 0 0 auto; }
.brand img, .footer-brand img { width: clamp(148px, 15vw, 210px); height: auto; }
.menu { display: flex; align-items: center; gap: 27px; }
.menu a { text-decoration: none; font-size: 17px; }
.menu a[aria-current], .menu a:hover { text-decoration: underline; color: var(--accent); }
.menu-toggle { display: none; }
.nav-cta { min-height: 46px; font-size: 16px; }

.hero { padding-block: clamp(45px, 6.5vw, 94px); }
.hero-kicker { font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.hero h1 + p { margin-top: 23px; font-size: clamp(18px, 1.65vw, 22px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 17px 23px; margin-top: 25px; }
.hero-layout { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); align-items: center; gap: clamp(26px, 4vw, 60px); }
.hero figure img, .about figure img { width: 100%; }

.services, .page-title { background: var(--tint); }
.services-layout, .faq-layout { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(30px, 6vw, 92px); }
.service-list, .faq-list { border-top: 1px solid var(--line); }
.service, .faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.service summary, .faq summary { display: flex; gap: 15px; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.service summary h3 { font-size: 24px; }
summary span { color: var(--accent); font-size: 24px; }
details[open] summary span { transform: rotate(45deg); }
.service p, .faq details p { margin-top: 12px; color: var(--muted); }
.faq summary { font-weight: 700; font-size: 20px; }

.plan-layout { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.plan {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 17px;
    padding: 24px;
    border: 1px solid var(--line);
    background: var(--paper);
}
.plan.popular { border: 2px solid var(--accent); padding: 23px; }
.plan-label { display: block; color: var(--muted); font-size: 16px; margin-bottom: 9px; }
.plan-intro p { margin-top: 12px; }
.plan-intro h3 { text-wrap: wrap; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 10px; }
.plan-price strong { font-family: var(--heading); font-size: 40px; line-height: 1.15; letter-spacing: -.04em; color: var(--accent); }
.plan-price span { color: var(--muted); font-size: 16px; }
.plan-features { list-style: none; margin: 0; padding: 15px 0 0; border-top: 1px solid var(--line); }
.plan-features li { position: relative; padding-left: 17px; margin-bottom: 7px; font-size: 17px; }
.plan-features li::before { content: ""; position: absolute; left: 1px; top: .73em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.plan .button { margin-top: auto; padding-inline: 12px; }
.plan-note { margin-top: 24px; color: var(--muted); }

.process { background: var(--tint); }
.steps, .principles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.steps li, .principles-grid article { border-top: 1px solid var(--line); padding-top: 21px; }
.step-number { display: inline-block; font: 700 33px/1 var(--heading); color: var(--accent); margin-bottom: 13px; }
.steps p, .principles-grid p { margin-top: 12px; color: var(--muted); }
.page-title { padding-block: clamp(48px, 7vw, 94px); }
.page-title h1 { font-size: clamp(39px, 6.1vw, 83px); }
.page-title p { font-size: 20px; }
.about-layout, .business-layout, .contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 88px); }
.about-layout { align-items: center; }
.about-layout h2, .business-layout h2 { margin-bottom: 17px; }
.about-layout .text-link { display: inline-block; margin-top: 19px; }
.principles { padding-top: 0; }
.business { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.business p { margin: 0; }
.business a { overflow-wrap: anywhere; }
.contact-layout { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
.form-panel { min-width: 0; }
.form-panel h2, .contact-info h2 { font-size: clamp(29px, 3.2vw, 44px); margin-bottom: 18px; }
.contact-info .response { padding-block: 20px; margin-block: 18px; border-block: 1px solid var(--line); }
.contact-info h3 { font-size: 23px; margin-bottom: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.form-grid p { margin: 0; max-width: none; }
.form-grid .full { grid-column: 1/-1; }
.wpcf7 label { display: block; font-weight: 650; }
.wpcf7-form-control-wrap { display: block; margin-top: 7px; }
.wpcf7 input:not([type=submit]), .wpcf7 textarea, .wpcf7 select {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--field-line);
    border-radius: 4px;
    background: white;
    color: var(--ink);
    line-height: 1.45;
    min-height: 47px;
}
.wpcf7 textarea { height: 150px; resize: vertical; }
.wpcf7 input[type=submit] { padding: 12px 20px; border: 0; border-radius: var(--button-radius, 6px); background: var(--accent); color: white; cursor: pointer; min-height: 48px; font-weight: 700; }
.wpcf7 input::placeholder, .wpcf7 textarea::placeholder { color: var(--muted); }
.form-privacy, .form-note, .submit-row { margin-top: 18px; }
.form-note, .form-privacy { font-size: 16px; color: var(--muted); }
.pd-selected-plan { background: var(--tint); border-left: 4px solid var(--accent); padding: 15px 17px; margin-bottom: 20px; display: flex; justify-content: space-between; gap: 15px; }
.pd-selected-plan div { display: flex; flex-direction: column; }
.pd-selected-plan div:last-child { text-align: right; }
.pd-selected-plan span { font-size: 16px; }
.pd-selected-plan strong { font-size: 20px; }
.wpcf7-not-valid-tip { font-size: 16px; }
.wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 12px; }
.policy { max-width: 820px; }
.policy h2 { font-size: 30px; margin: 27px 0 12px; }
.policy ul { padding-left: 25px; max-width: 64ch; }
.policy a { overflow-wrap: anywhere; }
.error-links { padding-block: 40px; }

.studio-footer { padding: 57px 0 26px; background: var(--footer); color: var(--footer-ink); }
.footer-callout { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 35px; border-bottom: 1px solid var(--footer-line); }
.footer-callout h2 { font-size: clamp(32px, 4.3vw, 61px); }
.footer-callout .button { flex-shrink: 0; }
.footer-grid { display: grid; grid-template-columns: 1.05fr .6fr .9fr 1.15fr; gap: 26px; padding-block: 34px; }
.footer-grid nav { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-grid h3 { margin-bottom: 4px; font-size: 21px; }
.footer-brand p { margin-top: 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px 20px; border-top: 1px solid var(--footer-line); padding-top: 19px; font-size: 16px; }

.studio-mernima .sketchbook { background: #FAF8FF; }
.studio-mernima .sketchbook h1 { font-size: clamp(45px, 5.15vw, 78px); }
.studio-mernima .hero figure img { border-radius: 7px; }
.studio-mernima .services { background: var(--paper); }
.studio-mernima .pricing { background: var(--tint); }
.studio-mernima .plan { border-radius: 12px; }
.studio-mernima .process { background: var(--paper); }

.studio-medhali .workshop { padding-top: clamp(42px, 5vw, 76px); background: #F8F8EF; }
.workshop-masthead { display: grid; grid-template-columns: minmax(0, 1.26fr) minmax(0, .74fr); align-items: end; gap: 14px 40px; margin-bottom: 34px; }
.workshop-masthead .hero-kicker { grid-column: 1/-1; margin-bottom: 0; }
.workshop-masthead h1 { grid-row: span 2; font-size: clamp(44px, 5.8vw, 85px); }
.workshop-masthead h1 + p { margin: 0; }
.workshop-masthead .hero-actions { margin-top: 0; }
.studio-medhali .pricing .plan-layout { display: block; border-top: 1px solid var(--line); }
.studio-medhali .plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .6fr) minmax(0, 1.16fr) minmax(0, .74fr); align-items: start; gap: 23px; padding: 24px 0; border: 0; border-bottom: 1px solid var(--line); }
.studio-medhali .plan.popular { background: var(--tint); padding-inline: 16px; border-bottom-color: var(--accent); }
.studio-medhali .plan .button { align-self: center; margin-top: 0; }
.studio-medhali .plan-features { border-top: 0; border-left: 1px solid var(--line); padding: 0 0 0 17px; }
.studio-medhali .plan-price { flex-direction: column; }
.studio-medhali .footer-callout .button { background: #E3EBCF; color: #203727; }
.studio-medhali .footer-grid .business .text-link { color: #E3EBCF; }
.studio-medhali .process .process-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 70px; }
.studio-medhali .steps { grid-template-columns: 1fr; }
.studio-medhali .steps li { display: flex; gap: 16px; }

.studio-omawid .lookbook { padding-block: 34px 42px; }
.lookbook-frame { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); background: #182577; color: white; }
.lookbook-copy { align-self: center; padding: clamp(25px, 4vw, 55px); }
.lookbook-copy .hero-kicker { color: #FFD7C4; }
.lookbook-copy h1 { font-size: clamp(45px, 5.65vw, 84px); }
.lookbook-copy .button { margin-top: 24px; background: #FFBB9D; color: #172159; }
.lookbook-frame figure { align-self: center; }
.lookbook-frame figcaption { padding: 0 15px 13px; color: #EDF0FF; }
.lookbook-caption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.studio-omawid .plan-layout { grid-template-columns: 1fr 1fr; gap: 20px; }
.studio-omawid .plan { background: #F5F7FF; border-top: 5px solid var(--accent); padding: 26px; }
.studio-omawid .plan.popular { background: #FFF1EA; border-color: #BD462D; border-width: 5px 1px 1px; }
.studio-omawid .services-layout { grid-template-columns: 1fr; gap: 25px; }
.studio-omawid .services-intro .section-heading { margin-bottom: 12px; }
.studio-omawid .service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; }

@media (max-width: 1070px) {
    .container { width: calc(100% - 56px); }
    .nav-row { gap: 22px; }
    .menu { gap: 18px; }
    .plan-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .studio-medhali .plan { grid-template-columns: minmax(0, 1fr) minmax(0, .65fr) minmax(0, 1fr); }
    .studio-medhali .plan .button { grid-column: 1/-1; justify-self: start; }
}
@media (max-width: 820px) {
    .nav-row { min-height: 70px; gap: 10px; }
    .nav-cta { display: none; }
    .menu-toggle { display: inline-flex; align-items: center; gap: 9px; padding: 7px 11px; min-height: 44px; border: 1px solid var(--field-line); border-radius: 5px; background: var(--paper); color: var(--accent); cursor: pointer; }
    .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); padding: 10px 27px; border-bottom: 1px solid var(--line); }
    .menu-open .menu { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .menu a { display: block; padding: 10px 0; }
    .services-layout, .faq-layout, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
    .services-intro .section-heading { margin-bottom: 15px; }
    .hero-layout, .workshop-masthead, .lookbook-frame { grid-template-columns: 1fr; }
    .workshop-masthead h1 { grid-row: auto; }
    .lookbook-copy h1 br { display: none; }
    .lookbook-copy h1 { text-wrap: wrap; }
    .lookbook-copy h1 br::after { content: " "; }
    .studio-medhali .process .process-layout { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 600px) {
    .container { width: calc(100% - 36px); }
    h1, .studio-mernima .sketchbook h1, .workshop-masthead h1, .lookbook-copy h1 { font-size: clamp(37px, 10vw, 60px); }
    .hero-kicker { margin-bottom: 11px; }
    .hero h1 + p { margin-top: 15px; }
    .workshop-masthead h1 + p { margin-top: 0; }
    .hero-actions { margin-top: 18px; }
    .hero-actions .text-link { line-height: 1.4; }
    .lookbook-copy { padding: 24px; }
    .lookbook-caption { display: grid; }
    .plan-layout, .studio-omawid .plan-layout, .studio-omawid .service-list, .steps, .principles-grid,
    .about-layout, .business-layout, .form-grid { grid-template-columns: 1fr; }
    .form-grid .full { grid-column: auto; }
    .studio-medhali .plan { grid-template-columns: 1fr; gap: 14px; }
    .studio-medhali .plan-price { flex-direction: row; }
    .studio-medhali .plan-features { padding: 11px 0 0; border-left: 0; border-top: 1px solid var(--line); }
    .studio-medhali .plan .button { justify-self: stretch; }
    .steps li { display: flex; gap: 16px; }
    .step-number { flex: 0 0 23px; }
    .footer-callout { flex-direction: column; align-items: flex-start; }
    .footer-brand, .footer-grid .business { grid-column: 1/-1; }
}
