:root {
    --navy: #132d40;
    --blue: #246495;
    --muted: #697581;
    --line: #dce3e8;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}
body {
    margin: 0;
    color: var(--navy);
    background: #fff;
    font-family:
        Pretendard,
        -apple-system,
        sans-serif;
}
button,
a {
    -webkit-tap-highlight-color: transparent;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    font: inherit;
    color: inherit;
    cursor: pointer;
}
button:focus-visible,
a:focus-visible {
    outline: 3px solid #7bbcea;
    outline-offset: 5px;
}
button {
    border: 0;
}
p,
h1,
h2,
h3 {
    margin: 0;
}
.wrap {
    max-width: 1300px;
    margin: 0 auto;
    width: calc(100% - 100px);
}
.section {
    padding-top: 110px;
    padding-bottom: 110px;
}
.eyebrow {
    font-size: 12px;
    letter-spacing: 2.3px;
    font-weight: 600;
    margin-bottom: 25px;
}
.blue {
    color: var(--blue);
}
h2 {
    font-size: 36px;
    line-height: 1.45;
    letter-spacing: -1.3px;
    font-weight: 600;
}
.header {
    position: relative;
    z-index: 20;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    background: #fff;
    border-bottom: 1px solid #eef1f3;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}
.brand-symbol {
    font-size: 44px;
    font-weight: 600;
    line-height: 1;
    position: relative;
    border-bottom: 3px solid #5d95ae;
    padding: 0 5px;
    font-family: Georgia, serif;
}
.brand-symbol span {
    position: absolute;
    top: 2px;
    right: 0;
    width: 6px;
    height: 6px;
    background: #5d95ae;
}
.brand small {
    display: block;
    font-size: 10px;
    letter-spacing: 1px;
    margin-bottom: 3px;
}
.brand strong {
    display: block;
    font-size: 25px;
    letter-spacing: 1px;
    font-weight: 600;
}
.brand-en {
    padding-left: 10px;
    margin-left: 1px;
    border-left: 1px solid #d1d8dd;
    font-size: 12px;
    letter-spacing: 2px;
}
.nav {
    display: flex;
    height: 100%;
    gap: 42px;
}
.nav-group {
    position: relative;
    display: flex;
    align-items: center;
}
.nav-group > button {
    background: transparent;
    padding: 30px 5px;
    font-size: 16px;
    font-weight: 500;
}
.submenu {
    position: absolute;
    left: 50%;
    top: 95px;
    transform: translateX(-50%);
    min-width: 170px;
    padding: 15px;
    background: white;
    border-top: 2px solid var(--blue);
    box-shadow: 0 12px 24px #102a4010;
    display: none;
}
.submenu.is-open,
.nav-group:focus-within .submenu {
    display: grid;
}
.submenu button {
    text-align: left;
    padding: 12px 10px;
    background: transparent;
    font-size: 14px;
}
.submenu button:hover {
    background: #f0f5f8;
    color: var(--blue);
}
.header-contact {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 14px;
    border-bottom: 1px solid var(--navy);
    padding: 10px 0;
}
.header-contact svg {
    width: 17px;
}
.hamburger {
    display: none;
}
.hero {
    min-height: 610px;
    height: calc(100svh - 96px);
    max-height: 780px;
    position: relative;
    overflow: hidden;
    color: white;
    background: #16364e;
}
.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
}
.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #0b2634ed 0%,
        #0c283baa 48%,
        #16394b25 100%
    );
}
.hero-content {
    position: relative;
    padding-top: clamp(110px, 12vh, 160px);
}
.hero .eyebrow {
    color: #bdd0df;
}
h1 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -1.4px;
}
.hero-text {
    font-size: 17px;
    line-height: 1.9;
    color: #d2dee5;
    margin-top: 27px;
}
.hero-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 228px;
    padding: 16px 0;
    border-bottom: 1px solid #ffffff70;
    margin-top: 35px;
    font-size: 14px;
}
.hero-link svg {
    transition: transform 0.2s;
}
.hero-link:hover svg {
    transform: translateX(5px);
}
.hero-bottom {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    border-top: 1px solid #ffffff30;
    padding-top: 23px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #d3dce4;
}
.hero-bottom b {
    font-size: 16px;
    font-weight: 500;
    margin: 0 8px;
}
.hero-bottom i {
    font-style: normal;
    letter-spacing: 2px;
    margin-left: 13px;
}
.hero-bottom a {
    font-size: 10px;
    letter-spacing: 2px;
}
.hero-bottom a span {
    margin-left: 20px;
    font-size: 20px;
}
.hero-number {
    font-size: 15px;
}
.hero-number span {
    opacity: 0.5;
    margin-left: 10px;
}
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
}
.about-copy {
    padding-top: 34px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.95;
}
.about-copy p + p {
    margin-top: 17px;
}
.text-link {
    display: inline-flex;
    gap: 30px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #afbbc4;
    background: transparent;
    font-size: 14px;
    color: var(--navy);
}
.about .text-link {
    margin-top: 18px;
}
.services {
    background: #f1f5f7;
}
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 45px;
}
.section-heading > p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--muted);
    padding-bottom: 7px;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.service {
    text-align: left;
    background: transparent;
    padding: 30px 27px 15px;
    border-left: 1px solid #d4dde3;
    transition:
        background 0.2s,
        transform 0.2s;
}
.service:first-child {
    padding-left: 0;
    border-left: 0;
}
.service:last-child {
    padding-right: 0;
}
.service:hover {
    background: #e8eff4;
    transform: translateY(-4px);
}
.service-top {
    display: flex;
    justify-content: space-between;
    color: var(--blue);
    font-size: 12px;
}
.service-top svg {
    width: 20px;
}
.service-en {
    margin-top: 42px;
    color: #8293a0;
    font-size: 12px;
}
.service h3 {
    font-size: 25px;
    font-weight: 600;
    margin: 10px 0 18px;
}
.service > p:last-of-type {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
    min-height: 85px;
}
.service-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #d4dde3;
    font-size: 12px;
}
.team {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 90px;
}
.team-mark {
    min-height: 425px;
    background: #e7eef2;
    position: relative;
    overflow: hidden;
    padding: 35px;
}
.team-mark > span {
    font-size: 11px;
    letter-spacing: 4px;
    color: #708795;
}
.team-mark p {
    position: absolute;
    bottom: 35px;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.6;
}
.line-art {
    position: absolute;
    inset: 0;
    transform: rotate(-25deg);
}
.line-art i {
    position: absolute;
    border: 1px solid #8ba4b6;
    width: 180px;
    height: 550px;
    top: 0;
    left: 48%;
    background: linear-gradient(90deg, #a6bac800, #becdd960);
}
.line-art i:nth-child(2) {
    left: 63%;
    top: -50px;
}
.line-art i:nth-child(3) {
    left: 78%;
    top: 20px;
}
.team-copy > p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.9;
    color: var(--muted);
    margin-top: 24px;
}
.representative {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 25px 0;
    margin: 8px 0 15px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    color: var(--muted);
}
.representative strong {
    font-size: 21px;
    font-weight: 500;
    color: var(--navy);
}
.cases {
    background: #fafbfc;
}
.example {
    font-size: 12px;
    color: #87949e;
    padding-bottom: 10px;
}
.case-tabs {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid var(--line);
}
.case-tabs button {
    background: transparent;
    padding: 17px 0;
    color: #7c8993;
    border-bottom: 2px solid transparent;
}
.case-tabs button.active {
    color: var(--navy);
    border-color: var(--navy);
}
.case-detail {
    padding: 40px 0 0;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 100px;
}
.case-index {
    font-size: 10px;
    color: var(--blue);
    letter-spacing: 1.5px;
}
.case-detail h3 {
    white-space: pre-line;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 18px;
}
.case-detail p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--muted);
}
.case-detail > div:first-child p {
    margin-top: 20px;
    font-size: 12px;
}
.case-detail > div:last-child {
    padding-top: 28px;
}
.case-detail .text-link {
    margin-top: 22px;
}
.contact {
    color: white;
    background: var(--navy);
    padding: 90px 0;
}
.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}
.contact .eyebrow {
    color: #90b6d2;
}
.contact h2 {
    font-size: 38px;
}
.contact-inner > div > p:last-child {
    font-size: 15px;
    line-height: 1.8;
    color: #aebfc9;
    margin-top: 24px;
}
.contact-steps > div {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid #ffffff20;
    padding: 17px 0;
}
.contact-steps > div:first-child {
    padding-top: 0;
}
.contact-steps > div > span {
    font-size: 11px;
    padding-top: 5px;
    color: #8cb4cf;
}
.contact-steps small {
    display: block;
    margin-top: 9px;
    font-size: 13px;
    color: #aebfc9;
}
.contact-steps > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 15px 0;
}
.contact-steps .contact-note {
    font-size: 11px !important;
    margin-top: 4px !important;
}
.location {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}
.location-address {
    font-size: 15px;
    line-height: 1.9;
    color: var(--muted);
    max-width: 390px;
    margin: 25px 0 20px;
}
.location-panel {
    background: #f1f5f7;
    padding: 45px;
    border-top: 2px solid #4e7c9c;
}
.location-panel > span {
    font-size: 10px;
    letter-spacing: 2px;
    color: #7890a0;
}
.location-panel h3 {
    font-size: 25px;
    font-weight: 500;
    margin: 25px 0 12px;
}
.location-panel p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
}
.address-line {
    width: 45px;
    height: 1px;
    background: #a1b1bd;
    margin: 25px 0;
}
footer {
    background: #0e2130;
    color: #8fa0ac;
    padding: 48px 0 25px;
    font-size: 12px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-brand {
    font-size: 15px;
    color: #e1e7ec;
}
.footer-brand strong {
    font-size: 25px;
    font-weight: 500;
    margin-left: 7px;
}
.footer-brand span {
    margin-left: 20px;
    letter-spacing: 3px;
    font-size: 11px;
}
.footer-info {
    margin-top: 30px;
    line-height: 1.9;
}
.footer-info > span + span {
    margin-left: 22px;
}
.footer-info p {
    margin-top: 5px;
}
.footer-bottom {
    border-top: 1px solid #ffffff12;
    display: flex;
    justify-content: space-between;
    padding-top: 23px;
    margin-top: 30px;
    font-size: 10px;
}
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: #081c2ac9;
    backdrop-filter: blur(5px);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
}
.modal {
    position: relative;
    background: white;
    max-width: 600px;
    width: 100%;
    padding: 50px;
    max-height: 90svh;
    overflow-y: auto;
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    font-size: 30px;
}
.modal > p:not(.eyebrow) {
    line-height: 1.9;
    color: var(--muted);
    font-size: 15px;
    margin: 23px 0;
}
.modal ul {
    padding: 20px 0;
    list-style: none;
    border-top: 1px solid var(--line);
}
.modal li {
    padding: 9px 0;
    font-size: 14px;
}
.modal li::before {
    content: "—";
    color: var(--blue);
    margin-right: 14px;
}
.solid-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--navy);
    color: white;
    padding: 18px 25px;
    width: 100%;
    font-size: 14px;
}
@media (min-width: 1500px) {
    .header {
        padding-left: calc((100% - 1400px) / 2);
        padding-right: calc((100% - 1400px) / 2);
    }
}
@media (max-width: 1100px) {
    .nav {
        gap: 18px;
    }
    .brand-en {
        display: none;
    }
    .header {
        padding: 0 30px;
    }
    .wrap {
        width: calc(100% - 60px);
    }
    .about,
    .team,
    .location {
        gap: 45px;
    }
    .contact-inner,
    .case-detail {
        gap: 50px;
    }
    .service {
        padding-left: 18px;
        padding-right: 18px;
    }
}
@media (max-width: 767px) {
    html {
        scroll-padding-top: 0;
    }
    .header {
        height: 73px;
        padding: 0 22px;
    }
    .brand-symbol {
        font-size: 35px;
    }
    .brand strong {
        font-size: 21px;
    }
    .brand small {
        font-size: 9px;
    }
    .header-contact {
        margin-left: auto;
        margin-right: 22px;
        font-size: 12px;
        gap: 9px;
    }
    .hamburger {
        display: grid;
        gap: 7px;
        background: transparent;
        padding: 8px 0;
        width: 22px;
    }
    .hamburger span {
        height: 1px;
        background: var(--navy);
        width: 22px;
    }
    .nav {
        display: none;
        position: absolute;
        top: 73px;
        left: 0;
        right: 0;
        background: white;
        height: auto;
        padding: 12px 25px 25px;
        border-bottom: 1px solid var(--line);
    }
    .nav.mobile-open {
        display: block;
    }
    .nav-group {
        display: block;
    }
    .nav-group > button {
        width: 100%;
        text-align: left;
        padding: 15px 0;
        border-bottom: 1px solid #edf0f2;
    }
    .submenu {
        position: static;
        transform: none;
        border: 0;
        box-shadow: none;
        padding: 5px 0;
    }
    .submenu button {
        padding-left: 18px;
    }
    .wrap {
        width: calc(100% - 44px);
    }
    .section {
        padding-top: 65px;
        padding-bottom: 65px;
    }
    .hero {
        min-height: 610px;
        height: calc(90svh - 73px);
        max-height: 720px;
    }
    .hero-content {
        padding-top: 105px;
    }
    .hero-image {
        object-position: 62% center;
    }
    .hero-shade {
        background: linear-gradient(90deg, #0b2634e8, #0c283b90);
    }
    h1 {
        font-size: 30px;
        line-height: 1.6;
        letter-spacing: -1px;
    }
    .eyebrow {
        font-size: 10px;
        letter-spacing: 1.8px;
        margin-bottom: 22px;
    }
    .hero-text {
        font-size: 14px;
        margin-top: 23px;
    }
    .hero-link {
        font-size: 13px;
        width: 205px;
    }
    .hero-bottom {
        bottom: 24px;
    }
    .hero-bottom > span:first-child {
        display: none;
    }
    .hero-bottom a {
        font-size: 8px;
    }
    h2 {
        font-size: 28px;
        letter-spacing: -0.8px;
    }
    .about,
    .team,
    .location,
    .contact-inner,
    .case-detail {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .about-copy {
        padding-top: 0;
        font-size: 15px;
    }
    .section-heading {
        display: block;
        margin-bottom: 32px;
    }
    .section-heading > p {
        margin-top: 20px;
        font-size: 14px;
    }
    .service-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 25px;
    }
    .service {
        padding: 22px 16px 10px;
    }
    .service:nth-child(odd) {
        border-left: 0;
        padding-left: 0;
    }
    .service:nth-child(even) {
        padding-right: 0;
    }
    .service-en {
        margin-top: 30px;
        font-size: 10px;
    }
    .service h3 {
        font-size: 22px;
        margin-top: 8px;
    }
    .service > p:last-of-type {
        font-size: 13px;
        min-height: 85px;
    }
    .service-bottom {
        font-size: 11px;
        margin-top: 15px;
    }
    .team {
        gap: 35px;
    }
    .team-mark {
        min-height: 300px;
    }
    .team-mark p {
        font-size: 23px;
    }
    .example {
        display: inline-block;
        margin-top: 17px;
    }
    .case-tabs {
        justify-content: space-between;
        gap: 10px;
    }
    .case-tabs button {
        font-size: 13px;
    }
    .case-detail {
        padding-top: 28px;
        gap: 12px;
    }
    .case-detail h3 {
        font-size: 23px;
    }
    .case-detail > div:last-child {
        padding-top: 0;
    }
    .contact {
        padding: 65px 0;
    }
    .contact h2 {
        font-size: 30px;
    }
    .contact-inner {
        gap: 35px;
    }
    .location-panel {
        padding: 30px;
    }
    .footer-info > span {
        display: block;
    }
    .footer-info > span + span {
        margin-left: 0;
    }
    .footer-bottom {
        gap: 15px;
        font-size: 9px;
    }
    .modal {
        padding: 42px 25px 25px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        transition: none !important;
    }
}

/* TAXRO identity and monthly journal */
.brand-logo {
    display: block;
    width: 225px;
    height: auto;
}
.nav {
    gap: 28px;
}
.footer-brand {
    display: inline-flex;
    background: white;
    padding: 10px 15px;
}
.footer-brand img {
    display: block;
    width: 190px;
    height: auto;
}
.career-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.95;
}
.members {
    padding-top: 10px;
}
.member-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 35px;
}
.member {
    padding: 26px 0;
    border-top: 1px solid var(--line);
}
.member > span {
    color: var(--blue);
    font-size: 12px;
}
.member h3 {
    font-size: 23px;
    font-weight: 600;
    margin: 15px 0;
}
.member h3 small {
    font-size: 12px;
    font-weight: 400;
    margin-left: 14px;
    color: var(--muted);
}
.member p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
}
.magazine {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 90px;
    align-items: center;
}
.magazine-cover {
    background: #f0f3f5;
    padding: 32px 50px;
    display: block;
}
.magazine-cover img {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: 8px 12px 22px #17304120;
    transition: transform 0.2s;
}
.magazine-cover:hover img {
    transform: translateY(-5px);
}
.issue-label {
    font-size: 18px;
    font-weight: 500;
    margin-top: 25px;
}
.issue-label span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 9px;
    font-weight: 400;
}
.magazine-topics {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    font-size: 14px;
    color: var(--muted);
    line-height: 2.1;
}
.magazine-topics li::before {
    content: "—";
    margin-right: 12px;
    color: var(--blue);
}
.magazine-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}
.issue-note {
    font-size: 11px;
    color: #87949e;
    line-height: 1.8;
    margin-top: 22px;
}
.contact-phone {
    gap: 15px;
}
.contact-phone > span {
    color: #aebfc9;
    font-size: 12px;
}
.contact-phone strong {
    font-size: 28px;
    font-weight: 500;
    margin-left: auto;
}
.location-phone {
    display: block;
    margin: 0 0 15px;
    color: var(--blue);
    font-size: 16px;
}
.footer-info > span + span {
    margin-left: 22px;
}
@media (max-width: 1100px) {
    .brand-logo {
        width: 190px;
    }
    .nav {
        gap: 15px;
    }
    .nav-group > button {
        font-size: 14px;
    }
    .magazine {
        gap: 45px;
    }
    .magazine-cover {
        padding: 25px;
    }
}
@media (max-width: 767px) {
    .brand-logo {
        width: 155px;
    }
    .members {
        padding-top: 0;
    }
    .member-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0 22px;
    }
    .member h3 small {
        display: block;
        margin: 8px 0 0;
    }
    .magazine {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .magazine-cover {
        padding: 28px;
        max-width: 280px;
        margin: 0 auto;
        width: 100%;
    }
    .contact-phone {
        flex-wrap: wrap;
    }
    .contact-phone strong {
        font-size: 25px;
    }
    .footer-info > span + span {
        margin-left: 0;
    }
}

/* Main visual refinement */
.hero {
    background: #112e46;
}
.hero-image {
    object-position: 70% 58%;
    filter: saturate(0.65);
    animation: hero-reveal 1.5s ease-out;
}
.hero-shade {
    background: linear-gradient(
        90deg,
        #0a2139f5 0%,
        #102c45d6 36%,
        #153b5480 65%,
        #153b541c 100%
    );
}
.hero-content {
    z-index: 2;
}
.hero .eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #bad5e9;
}
.hero .eyebrow::before {
    content: "";
    width: 36px;
    height: 2px;
    background: #85cceb;
}
h1 {
    line-height: 1.6;
}
h1 em {
    font-style: normal;
    color: #91d4ef;
    position: relative;
}
h1 em::after {
    content: "";
    position: absolute;
    bottom: -3px;
    height: 1px;
    left: 0;
    right: 0;
    background: #91d4ef88;
}
.hero-text {
    color: #dce5ec;
}
.hero-actions {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-top: 36px;
}
.hero-primary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    color: #15364c;
    min-width: 230px;
    padding: 19px 23px;
    font-size: 14px;
    transition:
        background 0.2s,
        transform 0.2s;
}
.hero-primary:hover {
    background: #c6e7f5;
    transform: translateY(-3px);
}
.hero-secondary {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 11px;
    color: #b6cbd9;
}
.hero-secondary span {
    font-size: 21px;
    letter-spacing: 0.5px;
    color: white;
}
.hero-architecture {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-architecture span {
    position: absolute;
    height: 140%;
    width: 220px;
    top: -20%;
    right: 9%;
    transform: skewX(-22deg);
    border: 1px solid #ffffff24;
    background: linear-gradient(0deg, #ffffff00, #ffffff07);
}
.hero-architecture span:nth-child(2) {
    right: 25%;
    width: 130px;
    border-color: #ffffff16;
}
.hero-architecture span:nth-child(3) {
    right: -7%;
    width: 160px;
    background: #aed7ef0c;
}
.hero-caption {
    position: absolute;
    top: 31%;
    right: 7%;
    color: #ffffff7a;
    font-size: clamp(25px, 3.4vw, 50px);
    font-weight: 500;
    letter-spacing: 2px;
    line-height: 1.25;
    text-align: right;
}
.hero-caption span {
    color: #d4ecf7;
}
.hero-bottom {
    z-index: 2;
}
.expertise-bar {
    background: #19394f;
    color: #cbd9e3;
}
.expertise-bar .wrap {
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 85px;
}
.expertise-bar .wrap > span {
    flex: 1.4;
    font-size: 13px;
}
.expertise-bar strong {
    margin-left: 16px;
    color: #8dc4df;
    letter-spacing: 2px;
    font-weight: 500;
}
.expertise-bar a {
    flex: 1;
    text-align: center;
    border-left: 1px solid #ffffff1c;
    font-size: 14px;
    padding: 9px;
    transition: color 0.2s;
}
.expertise-bar a:hover {
    color: #91d4ef;
}
.about {
    position: relative;
}
.about::before {
    content: "TAXRO";
    position: absolute;
    left: -18px;
    top: 35px;
    color: #eef3f6;
    font-size: 100px;
    letter-spacing: 9px;
    z-index: -1;
    font-weight: 600;
}
.highlight {
    color: #23658e;
}
.services {
    background:
        radial-gradient(ellipse at 95% 5%, #dceaf3 0, transparent 55%),
        linear-gradient(135deg, #f1f6f8, #eaf1f5);
}
.service {
    position: relative;
}
.service-art {
    width: 80px;
    height: 68px;
    color: #50819e;
    display: block;
    margin-top: 28px;
}
.service-en {
    margin-top: 22px;
}
.service:hover .service-art {
    color: #166491;
}
.service:hover {
    background: #ffffff82;
}
.team-mark {
    background: linear-gradient(140deg, #14384e, #275c78);
    color: white;
}
.team-mark > span {
    color: #a7cbdc;
}
.line-art i {
    border-color: #a3c7dc55;
    background: linear-gradient(90deg, #a6bac800, #becdd924);
}
.contact {
    background:
        radial-gradient(ellipse at 95% 0%, #285670 0%, transparent 65%),
        linear-gradient(115deg, #112d42, #16394f);
    position: relative;
}
@keyframes hero-reveal {
    from {
        transform: scale(1.04);
        opacity: 0.5;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
@media (max-width: 1100px) {
    .hero-caption {
        font-size: 32px;
        right: 4%;
        opacity: 0.7;
    }
}
@media (max-width: 767px) {
    .hero {
        min-height: 650px;
    }
    .hero-content {
        padding-top: 92px;
    }
    .hero-shade {
        background: linear-gradient(90deg, #0a2139ed, #102c45a8);
    }
    .hero-caption {
        right: 22px;
        top: auto;
        bottom: 100px;
        font-size: 20px;
        opacity: 0.55;
    }
    .hero-actions {
        gap: 18px;
        flex-wrap: wrap;
        margin-top: 30px;
    }
    .hero-primary {
        min-width: 205px;
        padding: 16px 18px;
        font-size: 13px;
    }
    .hero-secondary span {
        font-size: 18px;
    }
    .hero-architecture span {
        width: 120px;
    }
    .expertise-bar .wrap {
        flex-wrap: wrap;
        padding: 20px 0;
        min-height: 110px;
    }
    .expertise-bar .wrap > span {
        flex-basis: 100%;
        margin-bottom: 20px;
        font-size: 12px;
    }
    .expertise-bar a {
        font-size: 12px;
        padding: 0 5px;
    }
    .expertise-bar a:nth-child(2) {
        border-left: 0;
        text-align: left;
    }
    .about::before {
        top: 22px;
        left: 0;
        font-size: 68px;
    }
    .service-art {
        width: 65px;
        height: 55px;
        margin-top: 23px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero-image {
        animation: none;
    }
}

/* Reference main composition and consultation */
.nav {
    gap: 38px;
}
.nav-group > button {
    font-size: 18px;
    font-weight: 500;
}
.submenu button {
    font-size: 15px;
}
.hero {
    height: calc(100svh - 96px);
    min-height: 650px;
    max-height: 860px;
}
.hero-content {
    padding-top: clamp(110px, 15vh, 165px);
}
.hero-branch-phones {
    display: flex;
    align-items: center;
    gap: 36px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.hero-branch-phones > a {
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.hero-branch-phones span {
    font-size: 13px;
    color: #c1d2df;
}
.hero-branch-phones strong {
    font-size: 26px;
    font-weight: 500;
}
.hero-branch-phones .hero-request {
    flex-direction: row;
    align-items: center;
    background: white;
    color: var(--navy);
    padding: 17px 20px;
    gap: 24px;
    font-size: 14px;
}
.services {
    padding-top: 100px;
    padding-bottom: 100px;
}
.request-section {
    background: #f8fafb;
    border-top: 1px solid #e3e9ed;
}
.request-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
}
.request-heading > p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.8;
    margin-top: 20px;
}
.request-phones {
    margin-top: 40px;
}
.request-phones a {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}
.request-phones span {
    font-size: 13px;
    color: var(--muted);
}
.request-phones strong {
    font-size: 28px;
    font-weight: 500;
}
.request-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
}
.request-form label > span {
    color: #337dab;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 25px;
}
.request-form input:not([type="checkbox"]),
.request-form select,
.request-form textarea {
    width: 100%;
    margin-top: 12px;
    padding: 15px;
    border: 1px solid #ccd7de;
    border-radius: 0;
    background: white;
    color: var(--navy);
    font: inherit;
    font-weight: 400;
}
.request-form textarea {
    resize: vertical;
    min-height: 130px;
}
.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
    outline: 2px solid #78accb;
    outline-offset: 1px;
}
.privacy-notice {
    margin-top: 20px;
    background: #edf2f5;
    padding: 15px;
    font-size: 12px;
    color: #6c7984;
    line-height: 1.8;
}
.request-form .privacy-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 17px;
    font-size: 13px;
    font-weight: 400;
}
.privacy-check input {
    width: 17px;
    height: 17px;
    accent-color: var(--navy);
}
.request-submit {
    margin-top: 25px;
    background: var(--navy);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 18px 30px;
    min-width: 220px;
    font-size: 15px;
}
.form-notice {
    font-size: 13px;
    line-height: 1.8;
    margin-top: 15px;
    color: var(--blue);
}
.quick-menu {
    position: fixed;
    right: 22px;
    bottom: 35px;
    z-index: 30;
    display: flex;
    flex-direction: column;
    width: 70px;
    box-shadow: 0 4px 20px #142c4020;
}
.quick-menu a,
.quick-menu button {
    background: white;
    color: var(--navy);
    min-height: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #dfe6eb;
}
.quick-menu a > span {
    font-size: 26px;
    line-height: 1;
}
.quick-menu small {
    font-size: 11px;
}
.quick-menu .quick-kakao {
    background: #fee500;
    color: #381e1e;
    border-color: #fee500;
}
@media (max-width: 1100px) {
    .nav {
        gap: 20px;
    }
    .nav-group > button {
        font-size: 17px;
    }
    .request-layout {
        gap: 40px;
    }
    .hero-caption {
        opacity: 0.5;
    }
}
@media (max-width: 767px) {
    .nav-group > button {
        font-size: 17px;
    }
    .hero {
        min-height: 690px;
        height: calc(95svh - 73px);
    }
    .hero-content {
        padding-top: 85px;
    }
    .hero-branch-phones {
        gap: 22px;
        margin-top: 28px;
    }
    .hero-branch-phones strong {
        font-size: 21px;
    }
    .hero-branch-phones .hero-request {
        font-size: 13px;
        padding: 14px 18px;
    }
    .hero-caption {
        bottom: 90px;
        font-size: 17px;
        opacity: 0.4;
    }
    .services {
        padding: 65px 0;
    }
    .request-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .request-phones {
        display: flex;
        gap: 22px;
        margin-top: 20px;
    }
    .request-phones a {
        flex: 1;
    }
    .request-phones strong {
        font-size: 21px;
    }
    .form-row {
        gap: 14px;
    }
    .request-form label {
        font-size: 13px;
    }
    .request-form input:not([type="checkbox"]),
    .request-form select {
        padding: 13px 10px;
    }
    .request-submit {
        width: 100%;
    }
    .quick-menu {
        width: 56px;
        right: 10px;
        bottom: 20px;
    }
    .quick-menu a,
    .quick-menu button {
        min-height: 57px;
        gap: 4px;
    }
    .quick-menu small {
        font-size: 9px;
    }
}

/* Visual direction: clear blue, architectural imagery, dimensional surfaces */
:root {
    --navy: #152443;
    --blue: #2462e9;
}
.header {
    height: 100px;
    border-bottom: 0;
    background: #fff;
}
.header-contact {
    color: #245fe3;
    border-color: #245fe3;
}
.hero {
    color: #152443;
    background: radial-gradient(
        ellipse at 30% 15%,
        #fff 0%,
        #f1f5ff 42%,
        #d9e7ff 100%
    );
    height: 720px;
    min-height: 650px;
    max-height: none;
    isolation: isolate;
}
.hero-image {
    left: 54%;
    top: 40px;
    width: 46%;
    height: calc(100% - 110px);
    object-position: 56% center;
    border-radius: 180px 0 0 20px;
    filter: saturate(0.8) contrast(1.07);
    box-shadow: -22px 24px 60px #3466ba20;
}
.hero-shade {
    left: 54%;
    top: 40px;
    bottom: 70px;
    border-radius: 180px 0 0 20px;
    background: linear-gradient(180deg, #16388c05, #09214ad9);
}
.hero-content {
    padding-top: 125px;
}
.hero .eyebrow {
    color: #426fd1;
    font-size: 11px;
}
.hero .eyebrow::before {
    background: #316ce9;
}
h1 {
    font-size: 40px;
    line-height: 1.6;
    font-weight: 650;
}
h1 em {
    color: #2462e9;
}
h1 em::after {
    bottom: 0;
    height: 9px;
    background: #2462e919;
    z-index: -1;
}
.hero-text {
    color: #66768e;
    font-size: 17px;
}
.hero-branch-phones {
    gap: 28px;
    max-width: 520px;
}
.hero-branch-phones > a:not(.hero-request) {
    padding: 0 20px 0 0;
    border-right: 1px solid #a9bfdf;
}
.hero-branch-phones span {
    color: #70809a;
    font-size: 12px;
}
.hero-branch-phones strong {
    color: #152443;
    font-size: 23px;
}
.hero-branch-phones .hero-request {
    background: #2462e9;
    color: white;
    flex-basis: 215px;
    margin-top: 4px;
    justify-content: space-between;
    box-shadow: 0 8px 25px #2462e935;
    transition: transform 0.2s;
}
.hero-request:hover {
    transform: translateY(-4px);
}
.hero-caption {
    color: #ffffffa6;
    right: 5%;
    top: 52%;
    font-size: 37px;
    z-index: 1;
}
.hero-caption span {
    color: white;
}
.hero-architecture {
    display: none;
}
.hero-orbits {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}
.hero-orbits i {
    position: absolute;
    width: 1000px;
    height: 290px;
    border: 1px solid #689af64a;
    border-radius: 50%;
    bottom: -80px;
    left: -160px;
    transform: rotate(-18deg);
}
.hero-orbits i:nth-child(2) {
    bottom: -45px;
    left: -150px;
}
.hero-orbits i:nth-child(3) {
    bottom: -10px;
    left: -140px;
}
.hero-bottom {
    color: #587391;
    border-color: #6c94cf30;
    bottom: 24px;
    padding-top: 18px;
}
.hero-bottom > span:first-child {
    color: #314b70;
}
.hero-bottom a {
    color: #4b6990;
}
.services {
    position: relative;
    background: #fff;
    padding: 105px 0 110px;
    overflow: hidden;
}
.services::before {
    content: "EXPERTISE";
    position: absolute;
    right: -8px;
    top: 10px;
    font-size: clamp(65px, 12vw, 180px);
    letter-spacing: 4px;
    color: #f4f6fb;
    font-weight: 600;
    pointer-events: none;
}
.services > .wrap {
    position: relative;
}
.section-heading h2 {
    font-size: 36px;
    font-weight: 600;
}
.expertise-highlight {
    color: #2462e9;
}
.service-grid {
    gap: 20px;
    margin-top: 52px;
}
.service,
.service:first-child,
.service:last-child {
    padding: 30px 26px 24px;
    border: 1px solid #e1e8f4;
    border-radius: 18px;
    background: linear-gradient(145deg, #f6f9ff, #eaf0ff);
    box-shadow: 0 10px 24px #26456f08;
    overflow: hidden;
}
.service:nth-child(2) {
    background: linear-gradient(145deg, #f1faff, #e1f2fa);
}
.service:nth-child(3) {
    background: linear-gradient(145deg, #f3f1ff, #ece7fa);
}
.service:nth-child(4) {
    background: linear-gradient(145deg, #eff9f9, #e0f2f0);
}
.service-top {
    color: #4a76bd;
}
.service-art {
    width: 104px;
    height: 86px;
    margin-top: 26px;
    padding: 10px;
    background: linear-gradient(145deg, #fff, #ecf2ff);
    border-radius: 16px;
    color: #3664c2;
    box-shadow:
        7px 9px 0 #7495ce18,
        0 7px 18px #40649a10;
    transform: rotate(-5deg);
    transition: transform 0.3s;
}
.service-en {
    color: #7890ac;
    margin-top: 30px;
}
.service h3 {
    font-size: 26px;
}
.service > p:last-of-type {
    color: #62718a;
}
.service-bottom {
    border-color: #cad7e8;
}
.service:hover {
    transform: translateY(-9px);
    box-shadow: 0 20px 36px #315bad18;
    background: #eaf1ff;
}
.service:hover .service-art {
    transform: rotate(0) translateY(-3px);
}
.service:nth-child(2):hover {
    background: #dff3fc;
}
.service:nth-child(3):hover {
    background: #eae5ff;
}
.service:nth-child(4):hover {
    background: #ddf4ee;
}
.request-section {
    position: relative;
    border: 0;
    background:
        radial-gradient(ellipse at 5% 20%, #2359b5 0%, transparent 48%),
        linear-gradient(120deg, #142d55, #0d1d37);
    color: #fff;
    padding: 100px 0;
}
.request-section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 5px;
    background: linear-gradient(90deg, #89cae6, #3674ee, #26bfa2);
}
.request-heading .eyebrow {
    color: #8cb8ff;
}
.request-heading h2 {
    font-size: 38px;
}
.request-heading > p:not(.eyebrow) {
    color: #b8cae3;
}
.request-phones span {
    color: #a5bfdf;
}
.request-phones a {
    border-color: #ffffff25;
}
.request-phones strong {
    font-size: 30px;
    color: #fff;
}
.request-form {
    background: white;
    color: #152443;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 20px 50px #050f2440;
}
.request-form input:not([type="checkbox"]),
.request-form select,
.request-form textarea {
    background: #f7f9fd;
    border: 1px solid #dce4f0;
    border-radius: 6px;
}
.request-submit {
    width: 100%;
    background: #2462e9;
    border-radius: 6px;
    transition: background 0.2s;
}
.request-submit:hover {
    background: #164ac1;
}
.privacy-notice {
    background: #f1f5fc;
    border-radius: 6px;
}
.form-notice:empty {
    margin: 0;
}
.quick-menu {
    border-radius: 12px;
    overflow: hidden;
    right: 20px;
}
.quick-menu a {
    background: #1e365c;
    color: white;
    border-color: #1e365c;
}
footer {
    background: #09162c;
}
@media (max-width: 1100px) {
    h1 {
        font-size: 35px;
    }
    .hero-content {
        padding-top: 125px;
    }
    .hero-caption {
        font-size: 30px;
    }
    .hero-branch-phones {
        max-width: 460px;
        gap: 20px;
    }
    .hero-branch-phones strong {
        font-size: 21px;
    }
    .service-grid {
        gap: 14px;
    }
    .service,
    .service:first-child,
    .service:last-child {
        padding: 25px 18px;
    }
    .request-form {
        padding: 27px;
    }
}
@media (max-width: 767px) {
    .header {
        height: 73px;
    }
    .hero {
        height: auto;
        min-height: 910px;
    }
    .hero-content {
        padding-top: 55px;
    }
    .hero .eyebrow {
        font-size: 9px;
        letter-spacing: 1.4px;
        gap: 10px;
    }
    h1 {
        font-size: 30px;
        line-height: 1.6;
    }
    .hero-text {
        font-size: 14px;
        margin-top: 18px;
    }
    .hero-branch-phones {
        margin-top: 25px;
        gap: 18px;
    }
    .hero-branch-phones strong {
        font-size: 20px;
    }
    .hero-branch-phones > a:not(.hero-request) {
        padding-right: 15px;
    }
    .hero-branch-phones .hero-request {
        flex-basis: 190px;
        padding: 14px 18px;
    }
    .hero-image {
        top: 485px;
        left: 22px;
        width: calc(100% - 44px);
        height: 335px;
        border-radius: 70px 10px 10px 10px;
    }
    .hero-shade {
        top: 485px;
        left: 22px;
        right: 22px;
        bottom: auto;
        height: 335px;
        border-radius: 70px 10px 10px 10px;
    }
    .hero-caption {
        top: 660px;
        bottom: auto;
        right: 45px;
        font-size: 23px;
        opacity: 1;
    }
    .hero-bottom {
        bottom: 25px;
    }
    .services {
        padding: 65px 0;
    }
    .services::before {
        top: 18px;
    }
    .section-heading h2 {
        font-size: 28px;
    }
    .service-grid {
        gap: 16px;
        margin-top: 32px;
    }
    .service,
    .service:first-child,
    .service:last-child {
        padding: 22px 16px;
        border: 1px solid #e1e8f4;
        border-radius: 12px;
    }
    .service-art {
        width: 74px;
        height: 64px;
        margin-top: 20px;
        border-radius: 12px;
    }
    .service h3 {
        font-size: 23px;
    }
    .service-en {
        font-size: 10px;
    }
    .request-section {
        padding: 65px 0;
    }
    .request-heading h2 {
        font-size: 30px;
    }
    .request-phones strong {
        font-size: 23px;
    }
    .request-form {
        padding: 25px 20px;
        border-radius: 12px;
    }
    .quick-menu {
        right: 10px;
    }
}
@media (max-width: 370px) {
    h1 {
        font-size: 27px;
    }
    .hero-branch-phones strong {
        font-size: 18px;
    }
}

/* Plain, upright expertise icons */
.service-art,
.service:hover .service-art {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    transform: none;
    transition: none;
}
.service-art path {
    stroke-width: 2.8;
}

/* Custom tax service icon family */
.service-art,
.service:hover .service-art {
    color: #243c68;
    width: 108px;
    height: 86px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
}
.service-art path,
.service-art circle,
.service-art rect {
    stroke: currentColor;
    stroke-width: 2.8;
}
.service-art [stroke="none"] {
    stroke: none;
}
.service-art .icon-accent {
    stroke: #2b6de9;
}
.service-art .icon-fill {
    fill: #2b6de9;
}
@media (max-width: 767px) {
    .service-art,
    .service:hover .service-art {
        width: 88px;
        height: 72px;
    }
}

/* Softer resting colors; original color intensity on hover */
.service,
.service:first-child,
.service:last-child {
    background: linear-gradient(145deg, #fcfdff, #f6f8ff);
}
.service:nth-child(2) {
    background: linear-gradient(145deg, #fcfeff, #f3faff);
}
.service:nth-child(3) {
    background: linear-gradient(145deg, #fdfcff, #f7f4ff);
}
.service:nth-child(4) {
    background: linear-gradient(145deg, #fcfefe, #f2faf8);
}
.service:hover,
.service:focus-visible {
    background: linear-gradient(145deg, #f6f9ff, #eaf0ff);
}
.service:nth-child(2):hover,
.service:nth-child(2):focus-visible {
    background: linear-gradient(145deg, #f1faff, #e1f2fa);
}
.service:nth-child(3):hover,
.service:nth-child(3):focus-visible {
    background: linear-gradient(145deg, #f3f1ff, #ece7fa);
}
.service:nth-child(4):hover,
.service:nth-child(4):focus-visible {
    background: linear-gradient(145deg, #eff9f9, #e0f2f0);
}

/* Larger typography */
body {
    font-size: 17px;
}
.nav-group > button {
    font-size: 20px;
}
.submenu button {
    font-size: 17px;
}
.header-contact {
    font-size: 16px;
}
.hero .eyebrow {
    font-size: 13px;
}
.hero-text {
    font-size: 19px;
}
.hero-branch-phones span {
    font-size: 14px;
}
.hero-branch-phones strong {
    font-size: 25px;
}
.hero-branch-phones .hero-request {
    font-size: 16px;
}
.section-heading h2 {
    font-size: 39px;
}
.section-heading > p {
    font-size: 17px;
}
.eyebrow {
    font-size: 14px;
}
.service-top {
    font-size: 14px;
}
.service-en {
    font-size: 14px;
}
.service h3 {
    font-size: 29px;
}
.service > p:last-of-type {
    font-size: 17px;
}
.service-bottom {
    font-size: 14px;
}
.request-heading > p:not(.eyebrow) {
    font-size: 18px;
}
.request-phones span {
    font-size: 15px;
}
.request-form label {
    font-size: 16px;
}
.privacy-notice {
    font-size: 14px;
}
.request-form .privacy-check {
    font-size: 15px;
}
.request-submit {
    font-size: 17px;
}
.form-notice {
    font-size: 15px;
}
footer {
    font-size: 14px;
}
.footer-bottom {
    font-size: 12px;
}
.quick-menu small {
    font-size: 12px;
}
.modal > p:not(.eyebrow) {
    font-size: 17px;
}
.modal li {
    font-size: 16px;
}
.solid-button,
.text-link {
    font-size: 16px;
}
@media (max-width: 1100px) {
    .nav-group > button {
        font-size: 19px;
    }
}
@media (max-width: 767px) {
    .nav-group > button {
        font-size: 19px;
    }
    .header-contact {
        font-size: 14px;
        margin-right: 16px;
    }
    h1 {
        font-size: 32px;
    }
    .hero .eyebrow {
        font-size: 10px;
    }
    .hero-text {
        font-size: 16px;
    }
    .hero-branch-phones strong {
        font-size: 21px;
    }
    .hero-branch-phones .hero-request {
        font-size: 15px;
    }
    .section-heading h2 {
        font-size: 30px;
    }
    .section-heading > p {
        font-size: 16px;
    }
    .service h3 {
        font-size: 25px;
    }
    .service-en {
        font-size: 12px;
    }
    .service > p:last-of-type {
        font-size: 15px;
    }
    .service-bottom {
        font-size: 12px;
    }
    .request-heading h2 {
        font-size: 32px;
    }
    .request-form label {
        font-size: 15px;
    }
    .privacy-notice,
    .request-form .privacy-check {
        font-size: 13px;
    }
    .footer-bottom {
        font-size: 11px;
    }
    .quick-menu small {
        font-size: 10px;
    }
}

/* Consultation on a light flowing background */
.request-section {
    background: radial-gradient(
        ellipse at 15% 10%,
        #ffffff 0%,
        #f9fbff 35%,
        #edf4ff 100%
    );
    color: #152443;
    overflow: hidden;
}
.request-section::before {
    display: none;
}
.request-waves {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.request-layout {
    position: relative;
    z-index: 1;
}
.request-heading .eyebrow {
    color: #2462e9;
}
.request-heading > p:not(.eyebrow) {
    color: #687c98;
}
.request-phones span {
    color: #687c98;
}
.request-phones strong {
    color: #152443;
}
.request-phones a {
    border-color: #cddcef;
}
.request-form {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}
.request-form input:not([type="checkbox"]),
.request-form select,
.request-form textarea {
    background: #ffffffd9;
    border-color: #cad8ec;
}
.privacy-notice {
    background: #ffffff80;
    border: 1px solid #d4e1f0;
}
.request-submit {
    box-shadow: 0 8px 22px #2462e922;
}
@media (max-width: 767px) {
    .request-form {
        padding: 0;
        border-radius: 0;
    }
}

/* White footer logo on the dark background */
.footer-brand {
    background: transparent;
    padding: 0;
}
.footer-brand img {
    filter: brightness(0) invert(1);
}

/* Header aligned with the main content container */
.header {
    padding-left: max(50px, calc((100% - 1300px) / 2));
    padding-right: max(50px, calc((100% - 1300px) / 2));
}
@media (max-width: 1100px) {
    .header {
        padding-left: 30px;
        padding-right: 30px;
    }
}
@media (max-width: 767px) {
    .header {
        padding-left: 22px;
        padding-right: 22px;
    }
}

/* Image-focused hero with uncluttered lower edge */
.hero-image {
    object-position: center;
    filter: none;
    top: 35px;
    height: calc(100% - 70px);
    border-radius: 120px 0 0 24px;
    box-shadow: -20px 20px 55px #5073a524;
}
.hero-shade {
    top: 35px;
    bottom: 35px;
    border-radius: 120px 0 0 24px;
    background: linear-gradient(90deg, #d7e6ff10, transparent 45%);
}
@media (max-width: 767px) {
    .hero {
        min-height: 865px;
    }
    .hero-image {
        top: 485px;
        height: 335px;
        border-radius: 65px 12px 12px 12px;
    }
    .hero-shade {
        top: 485px;
        bottom: auto;
        height: 335px;
        border-radius: 65px 12px 12px 12px;
    }
}

/* Refined hero frame, preserving the existing photograph */
.hero {
    background: radial-gradient(
        ellipse at 16% 12%,
        #ffffff 0%,
        #f7faff 43%,
        #eaf2ff 100%
    );
}
.hero-image {
    left: 54%;
    top: 55px;
    width: calc(46% - max(50px, calc((100% - 1300px) / 2)));
    height: calc(100% - 110px);
    border-radius: 100px 24px 100px 24px;
    object-position: 60% center;
    box-shadow:
        18px 20px 0 #c5d9f53b,
        0 22px 55px #193d6720;
}
.hero-shade {
    left: 54%;
    right: max(50px, calc((100% - 1300px) / 2));
    top: 55px;
    bottom: 55px;
    border-radius: 100px 24px 100px 24px;
    background: linear-gradient(180deg, #16388c00 45%, #10295160);
}
.hero-orbits {
    opacity: 0.5;
}
@media (max-width: 1100px) and (min-width: 768px) {
    .hero-image {
        left: 56%;
        width: calc(44% - 30px);
        border-radius: 75px 18px 75px 18px;
    }
    .hero-shade {
        left: 56%;
        right: 30px;
        border-radius: 75px 18px 75px 18px;
    }
}
@media (max-width: 767px) {
    .hero-image {
        left: 22px;
        top: 485px;
        width: calc(100% - 44px);
        height: 335px;
        border-radius: 60px 16px 60px 16px;
        box-shadow: 9px 12px 0 #c5d9f53b;
    }
    .hero-shade {
        left: 22px;
        right: 22px;
        top: 485px;
        bottom: auto;
        height: 335px;
        border-radius: 60px 16px 60px 16px;
    }
}

/* Hero photograph extends to the right edge */
@media (min-width: 768px) {
    .hero-image {
        width: 46%;
        border-radius: 100px 0 0 24px;
        box-shadow: -16px 20px 55px #193d6718;
    }
    .hero-shade {
        right: 0;
        border-radius: 100px 0 0 24px;
    }
}
@media (min-width: 768px) and (max-width: 1100px) {
    .hero-image {
        width: 44%;
        border-radius: 75px 0 0 18px;
    }
    .hero-shade {
        border-radius: 75px 0 0 18px;
    }
}

/* Independent subpages */
.sub-hero {
    padding: 70px 0;
    background: linear-gradient(115deg, #edf4ff, #f8fbff 60%, #dfebfa);
    position: relative;
    overflow: hidden;
}
.sub-hero::after {
    content: "TAXRO";
    position: absolute;
    right: 7%;
    bottom: -20px;
    font-size: 140px;
    font-weight: 600;
    color: #c8d9f12e;
    letter-spacing: 8px;
}
.sub-hero h1 {
    font-size: 40px;
    position: relative;
    z-index: 1;
}
.sub-hero .eyebrow {
    color: #4e75b4;
    margin-bottom: 12px;
}
.sub-hero .wrap > p:last-child {
    margin-top: 12px;
    color: #6d8099;
    font-size: 17px;
}
.sub-tabs {
    border-bottom: 1px solid #dce5f0;
    background: white;
}
.sub-tabs .wrap {
    display: flex;
}
.sub-tabs a {
    padding: 23px 32px;
    font-size: 18px;
    border-bottom: 3px solid transparent;
}
.sub-tabs a.active {
    color: #2462e9;
    border-color: #2462e9;
}
.sub-content {
    padding: 0 0 90px;
}
.breadcrumbs {
    display: flex;
    gap: 13px;
    justify-content: flex-end;
    color: #8795a7;
    font-size: 13px;
    padding: 24px 0 55px;
}
.greeting-layout,
.representative-page {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: start;
}
.greeting-art {
    position: relative;
    overflow: hidden;
    border-radius: 80px 15px 15px 15px;
    height: 500px;
}
.greeting-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.greeting-art span {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: white;
    font-size: 32px;
    letter-spacing: 5px;
}
.sub-prose {
    font-size: 17px;
    color: #6d7b8d;
    line-height: 2;
}
.sub-prose p {
    margin-top: 20px;
}
.greeting-sign {
    font-size: 15px;
    margin-top: 30px;
}
.greeting-sign strong {
    display: block;
    font-size: 21px;
    font-weight: 500;
    margin-top: 10px;
}
.sub-heading {
    margin-bottom: 35px;
}
.sub-heading > p:last-child {
    color: #6d7b8d;
    margin-top: 16px;
    line-height: 1.8;
}
.sub-phone-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}
.sub-phone-grid a {
    padding: 32px;
    background: #f2f6fd;
    border-top: 2px solid #2462e9;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.sub-phone-grid span {
    color: #647992;
}
.sub-phone-grid strong {
    font-size: 30px;
    font-weight: 500;
}
.consult-process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 45px 0;
}
.consult-process > div {
    border-top: 1px solid #dce5f0;
    padding-top: 25px;
}
.consult-process span {
    color: #2462e9;
    font-size: 14px;
}
.consult-process h3 {
    margin: 15px 0;
    font-size: 21px;
    font-weight: 500;
}
.consult-process p {
    color: #728097;
    font-size: 16px;
    line-height: 1.8;
}
.sub-request-form {
    max-width: 800px;
    margin: 55px auto 0;
    padding: 35px;
    background: #f6f9ff;
    border-radius: 15px;
}
.location-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}
.location-cards article {
    border: 1px solid #dce5f0;
    padding: 35px;
    border-radius: 12px;
}
.branch-heading {
    background: #f2f6fd;
    padding: 25px;
}
.branch-heading span {
    color: #7992b5;
    font-size: 12px;
    letter-spacing: 2px;
}
.branch-heading h3 {
    font-size: 26px;
    font-weight: 500;
    margin-top: 14px;
}
.location-cards dl {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 20px 10px;
    margin: 30px 0;
    line-height: 1.8;
    font-size: 16px;
}
.location-cards dt {
    color: #8392a7;
}
.location-cards dd {
    margin: 0;
}
.sub-blue-link {
    display: inline-block;
    color: #2462e9;
    border-bottom: 1px solid #2462e9;
    padding: 10px 0;
}
.person-identity {
    background: linear-gradient(145deg, #173969, #245fa0);
    color: white;
    padding: 60px 40px;
    border-radius: 60px 12px 12px 12px;
}
.person-identity > span {
    font-size: 13px;
    letter-spacing: 4px;
    color: #a7c8f4;
}
.person-identity h2 {
    margin-top: 60px;
    font-size: 40px;
}
.person-identity p {
    margin: 18px 0 35px;
    color: #c5d8ee;
}
.career-timeline {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}
.career-timeline li {
    padding: 17px 0;
    border-bottom: 1px solid #dce5f0;
    font-size: 19px;
}
.people-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.people-grid article {
    background: #f7faff;
    border-top: 2px solid #7aa2d7;
    padding: 30px;
}
.person-branch {
    color: #2462e9;
    font-size: 14px;
}
.people-grid h3 {
    font-size: 27px;
    font-weight: 500;
    margin: 20px 0;
}
.people-grid h3 small {
    display: block;
    font-size: 14px;
    margin-top: 10px;
    color: #75859b;
}
.people-grid ul {
    list-style: none;
    padding: 0;
    color: #6e7e95;
    font-size: 15px;
    line-height: 2;
}
.partners {
    margin-top: 55px;
    border-top: 1px solid #dce5f0;
    padding-top: 30px;
}
.partners h3 {
    font-size: 24px;
    font-weight: 500;
}
.partners > div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 25px;
}
.partners strong {
    font-size: 22px;
    font-weight: 500;
}
.partners span {
    display: block;
    font-size: 15px;
    color: #75859b;
    margin-top: 10px;
}
.service-intro {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 70px;
    align-items: center;
}
.service-intro > p {
    color: #708098;
    line-height: 1.9;
    font-size: 18px;
}
.sub-work-list {
    margin-top: 55px;
}
.sub-work-list h3,
.work-process h3 {
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 25px;
}
.sub-work-list > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.sub-work-list article {
    background: #f2f6fd;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 22px;
}
.sub-work-list span {
    color: #2462e9;
    font-size: 13px;
}
.sub-work-list h4 {
    margin: 0;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.6;
}
.work-process {
    margin-top: 50px;
}
.work-process ol {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-left: 22px;
}
.work-process li {
    padding: 12px;
    font-size: 16px;
}
.work-process p {
    color: #8392a7;
    font-size: 15px;
    margin-top: 25px;
}
.journal-page {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 70px;
    align-items: center;
}
.journal-page img {
    width: 100%;
    display: block;
    box-shadow: 10px 15px 30px #16386820;
}
.journal-page h2 {
    margin: 18px 0;
}
.journal-page p {
    color: #7a8ba3;
}
.journal-page ul {
    padding-left: 20px;
    line-height: 2.2;
    color: #64758e;
    margin: 25px 0;
}
.journal-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
.journal-links a {
    padding: 15px 20px;
    background: #2462e9;
    color: white;
    font-size: 16px;
}
.journal-links a:last-child {
    background: #eef4ff;
    color: #2462e9;
}
.sub-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: #152f56;
    color: white;
    margin-top: 70px;
    padding: 35px;
    border-radius: 12px;
}
.sub-cta h3 {
    font-size: 23px;
    font-weight: 500;
}
.sub-cta p {
    margin-top: 12px;
    color: #b9cde7;
    font-size: 15px;
}
.sub-cta > a {
    background: white;
    color: #19375e;
    padding: 15px 22px;
    font-size: 16px;
    white-space: nowrap;
}
@media (max-width: 767px) {
    .sub-hero {
        padding: 45px 0;
    }
    .sub-hero h1 {
        font-size: 32px;
    }
    .sub-hero::after {
        font-size: 85px;
    }
    .sub-hero .wrap > p:last-child {
        font-size: 14px;
    }
    .sub-tabs .wrap {
        overflow-x: auto;
    }
    .sub-tabs a {
        padding: 18px 14px;
        font-size: 15px;
        white-space: nowrap;
    }
    .breadcrumbs {
        font-size: 11px;
        gap: 8px;
        padding-bottom: 35px;
    }
    .greeting-layout,
    .representative-page,
    .service-intro,
    .journal-page {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .greeting-art {
        height: 270px;
    }
    .sub-prose {
        font-size: 16px;
    }
    .sub-phone-grid {
        gap: 15px;
    }
    .sub-phone-grid a {
        padding: 22px 15px;
    }
    .sub-phone-grid strong {
        font-size: 21px;
    }
    .consult-process {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .sub-request-form {
        padding: 24px 18px;
    }
    .location-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .location-cards article {
        padding: 25px;
    }
    .person-identity {
        padding: 40px 30px;
    }
    .person-identity h2 {
        margin-top: 35px;
    }
    .people-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .partners > div {
        grid-template-columns: 1fr;
    }
    .sub-work-list > div {
        grid-template-columns: 1fr;
    }
    .work-process ol {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .journal-page > a {
        max-width: 270px;
        margin: auto;
    }
    .sub-cta {
        flex-direction: column;
        align-items: start;
        padding: 27px;
    }
    .sub-cta h3 {
        font-size: 20px;
    }
    .sub-cta p {
        font-size: 13px;
        line-height: 1.8;
    }
}

/* Tax information boards */
.board-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 35px 0 20px;
    color: #728199;
    font-size: 15px;
}
.board-toolbar strong {
    color: #2462e9;
}
.board-toolbar form {
    display: flex;
    gap: 8px;
}
.board-toolbar input,
.board-toolbar select {
    border: 1px solid #d4dfed;
    background: white;
    color: #314363;
    padding: 11px 14px;
    font: inherit;
    border-radius: 0;
}
.board-toolbar button {
    background: #18345c;
    color: white;
    padding: 11px 20px;
    font-size: 15px;
}
.board-table {
    border-top: 2px solid #233b60;
}
.board-row {
    display: grid;
    grid-template-columns: 80px 1fr 80px 140px;
    align-items: center;
    gap: 15px;
    padding: 24px 15px;
    border-bottom: 1px solid #e0e7f0;
    font-size: 16px;
}
.board-row > span,
.board-row > time {
    text-align: center;
    color: #7d8ba0;
    font-size: 14px;
}
.board-head {
    background: #f6f8fc;
    padding: 18px 15px;
}
.board-row > strong {
    font-size: 18px;
    font-weight: 500;
}
a.board-row:hover {
    background: #f6f9ff;
}
.board-row .attachment-badge {
    display: inline-block;
    font-size: 11px;
    color: #3065bf;
}
.board-empty {
    text-align: center;
    padding: 80px 20px;
    color: #8a97a9;
    border-bottom: 1px solid #e0e7f0;
    font-size: 17px;
}
.board-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.board-pagination span {
    background: #18345c;
    color: white;
    padding: 10px 16px;
}
.board-view-heading {
    padding-bottom: 25px;
    border-bottom: 2px solid #233b60;
    margin-bottom: 40px;
}
.board-view-heading > span {
    color: #2462e9;
    font-size: 14px;
}
.board-view-heading h2 {
    margin: 15px 0;
    font-size: 32px;
}
.board-view-heading p {
    color: #8a97a9;
    font-size: 14px;
}
.board-view .journal-page h3 {
    font-size: 25px;
    font-weight: 500;
}
.board-view .journal-links {
    margin-top: 25px;
}
.board-view-bottom {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #e0e7f0;
    text-align: center;
}
.board-view-bottom a {
    display: inline-block;
    padding: 14px 35px;
    background: #18345c;
    color: white;
    font-size: 16px;
}
@media (max-width: 767px) {
    .board-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .board-toolbar form {
        flex-wrap: wrap;
    }
    .board-toolbar select {
        width: 100%;
    }
    .board-toolbar input {
        min-width: 0;
        width: calc(100% - 77px);
    }
    .board-row {
        grid-template-columns: 1fr 45px;
        padding: 20px 10px;
        gap: 12px;
    }
    .board-head {
        display: none;
    }
    .board-row > span:first-child {
        display: none;
    }
    .board-row > strong {
        font-size: 16px;
        line-height: 1.7;
    }
    .board-row time {
        grid-column: 1 / -1;
        text-align: left;
        font-size: 12px;
    }
    .board-view-heading h2 {
        font-size: 25px;
    }
}

/* Consultation links integrated with the subpage content */
.sub-cta {
    margin-top: 40px;
    padding: 30px 0 0;
    border-top: 1px solid #dce5f0;
    border-radius: 0;
    background: transparent;
    color: #152443;
}
.sub-cta p {
    color: #71829a;
}
.sub-cta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sub-cta-actions > a,
.sub-cta-actions > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 14px 22px;
    border-radius: 5px;
    font-size: 16px;
    white-space: nowrap;
}
.sub-cta-actions > a {
    background: #2462e9;
    color: white;
}
.sub-cta-actions .sub-kakao-button {
    background: #fee500;
    color: #381e1e;
}
.sub-cta-actions > a:hover {
    background: #194fc6;
}
.sub-cta-actions .sub-kakao-button:hover {
    background: #f4db00;
}
@media (max-width: 767px) {
    .sub-cta {
        padding: 25px 0 0;
        gap: 22px;
    }
    .sub-cta-actions {
        width: 100%;
        gap: 10px;
    }
    .sub-cta-actions > a,
    .sub-cta-actions > button {
        flex: 1;
        padding: 13px 12px;
        font-size: 14px;
    }
}

/* Full width consultation and member photo slots */
.sub-request-form {
    max-width: none;
    width: 100%;
}
.member-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #eaf0f7;
    overflow: hidden;
    margin-bottom: 25px;
    border-radius: 6px;
}
.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.member-photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #a1b2c8;
}
.member-photo-placeholder svg {
    width: 100px;
    height: 100px;
    fill: #bbc8d8;
    stroke: none;
}
.member-photo-placeholder span {
    margin-top: 14px;
    font-size: 16px;
}
.person-identity {
    padding: 30px;
}
.person-identity .member-photo {
    margin-bottom: 28px;
}
.person-identity h2 {
    margin-top: 24px;
}
@media (max-width: 767px) {
    .people-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .people-grid article {
        padding: 18px;
    }
    .people-grid h3 {
        font-size: 23px;
    }
    .people-grid ul {
        font-size: 13px;
    }
    .member-photo-placeholder svg {
        width: 65px;
        height: 65px;
    }
    .person-identity .member-photo {
        max-width: 270px;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width: 420px) {
    .people-grid {
        grid-template-columns: 1fr;
    }
    .people-grid .member-photo {
        max-width: 270px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Expanded visual treatment for expertise pages */
.service-intro {
    position: relative;
    padding: 42px;
    gap: 55px;
    background: linear-gradient(130deg, #f4f8ff, #edf3fc);
    border-radius: 18px;
    overflow: hidden;
    border-top: 3px solid #417aea;
}
.service-intro-1 {
    background: linear-gradient(130deg, #f2faff, #eaf5fb);
}
.service-intro-2 {
    background: linear-gradient(130deg, #f6f4ff, #f0edfb);
}
.service-intro-3 {
    background: linear-gradient(130deg, #f1faf8, #eaf6f3);
}
.service-intro h2 {
    font-size: 32px;
    line-height: 1.6;
}
.service-intro-note {
    position: relative;
    padding: 20px 0 20px 30px;
    border-left: 1px solid #cedcec;
}
.service-note-label {
    font-size: 11px;
    letter-spacing: 2px;
    color: #7f9abf;
}
.service-intro-note p {
    font-size: 17px;
    line-height: 1.9;
    color: #63758d;
    margin-top: 18px;
    position: relative;
    z-index: 1;
}
.service-intro-number {
    position: absolute;
    right: -5px;
    top: -30px;
    font-size: 130px;
    color: #3369b009;
    font-weight: 600;
    pointer-events: none;
}
.sub-work-list {
    margin-top: 55px;
}
.sub-work-list > div {
    gap: 18px;
}
.sub-work-list article {
    background: #fff;
    border: 1px solid #e0e7f0;
    border-radius: 10px;
    padding: 27px;
    transition:
        border-color 0.2s,
        background 0.2s;
}
.sub-work-list article:hover {
    border-color: #93b3e5;
    background: #f8faff;
}
.sub-work-list article > span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #edf3fe;
    font-size: 12px;
}
.sub-work-list h4 {
    flex: 1;
    font-size: 18px;
}
.sub-work-list article > svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: #6b94cc;
}
.work-process {
    margin-top: 60px;
    padding: 38px;
    background: #f7f9fc;
    border-radius: 18px;
}
.process-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
}
.process-heading .eyebrow {
    font-size: 11px;
    margin-bottom: 12px;
}
.process-heading h3 {
    margin: 0;
    font-size: 27px;
}
.process-heading > p {
    margin: 0;
    font-size: 15px;
    color: #7a8a9f;
}
.work-process ol {
    padding: 0;
    margin: 35px 0 0;
    list-style: none;
    gap: 18px;
}
.work-process li {
    position: relative;
    padding: 25px 19px;
    background: white;
    border: 1px solid #e1e8f2;
    border-radius: 12px;
}
.work-process li:not(:last-child)::after {
    content: "›";
    position: absolute;
    right: -15px;
    top: 95px;
    width: 12px;
    color: #8fa7c8;
    font-size: 25px;
    z-index: 1;
}
.process-step {
    color: #8b9db5;
    font-size: 11px;
    letter-spacing: 1px;
}
.process-icon {
    color: #346bd1;
    margin: 20px 0;
}
.process-icon svg {
    display: block;
    width: 48px;
    height: 48px;
}
.work-process h4 {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.7;
    margin: 0;
}
.work-process li p {
    font-size: 14px;
    line-height: 1.8;
    margin: 12px 0 0;
    color: #8190a5;
}
.work-process .process-caption {
    margin-top: 25px;
    font-size: 13px;
    color: #8b9ab0;
}
@media (max-width: 1100px) {
    .service-intro {
        padding: 32px;
        gap: 35px;
    }
    .work-process {
        padding: 30px;
    }
    .work-process ol {
        grid-template-columns: 1fr 1fr;
    }
    .work-process li::after {
        display: none;
    }
}
@media (max-width: 767px) {
    .service-intro {
        padding: 28px 22px;
        gap: 22px;
        border-radius: 12px;
    }
    .service-intro h2 {
        font-size: 27px;
    }
    .service-intro-note {
        padding: 20px 0 0;
        border-left: 0;
        border-top: 1px solid #cedcec;
    }
    .service-intro-note p {
        font-size: 16px;
    }
    .sub-work-list article {
        padding: 22px 18px;
        gap: 16px;
    }
    .sub-work-list h4 {
        font-size: 16px;
    }
    .work-process {
        padding: 26px 18px;
        border-radius: 12px;
    }
    .process-heading {
        display: block;
    }
    .process-heading h3 {
        font-size: 24px;
    }
    .process-heading > p {
        margin-top: 15px;
        font-size: 14px;
    }
    .work-process ol {
        gap: 12px;
        margin-top: 25px;
    }
    .work-process li {
        padding: 20px 14px;
    }
    .process-icon svg {
        width: 40px;
        height: 40px;
    }
    .work-process h4 {
        font-size: 15px;
    }
    .work-process li p {
        font-size: 13px;
    }
}

.nav-group > a {
    display: block;
    padding: 30px 5px;
    font-size: 20px;
    font-weight: 500;
}
.submenu a {
    display: block;
    padding: 12px 10px;
    font-size: 17px;
}
.nav-group:hover .submenu,
.nav-group:focus-within .submenu {
    display: grid;
}
.photo-missing::after {
    content: "프로필 사진";
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #99abc3;
}
.taxro-board-content {
    line-height: 1.9;
}
.taxro-board-content img {
    max-width: 100%;
    height: auto;
}
.taxro-inquiry-item {
    padding: 25px 0;
    border-bottom: 1px solid #ddd;
    line-height: 1.9;
}
.taxro-captcha,
.taxro-editor {
    margin-top: 25px;
}
.sub-request-form textarea {
    width: 100%;
}
@media (max-width: 767px) {
    .nav-group > a {
        padding: 15px 0;
        font-size: 19px;
    }
}

/* Responsive completion: tablet 1024px / mobile 767px / compact 480px */
main,
.header,
footer {
    min-width: 0;
}
.wrap > *,
.form-row > *,
.service-grid > *,
.request-layout > *,
.people-grid > *,
.service-intro > * {
    min-width: 0;
}
.taxro-board-content,
.sub-prose,
.taxro-inquiry-item {
    overflow-wrap: anywhere;
}
.taxro-board-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}
@media (max-width: 1024px) {
    .header {
        height: 80px;
        padding-left: 30px;
        padding-right: 30px;
    }
    .header-contact {
        margin-left: auto;
        margin-right: 24px;
    }
    .hamburger {
        display: grid;
        gap: 7px;
        background: transparent;
        padding: 12px 0;
        width: 24px;
    }
    .hamburger span {
        width: 24px;
        height: 2px;
        background: #152443;
    }
    .nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        height: auto;
        max-height: calc(100dvh - 80px);
        overflow-y: auto;
        background: #fff;
        padding: 12px 30px 25px;
        border-bottom: 1px solid #dce5f0;
        box-shadow: 0 14px 20px #15244310;
    }
    .nav.mobile-open {
        display: block;
    }
    .nav-group {
        display: block;
    }
    .nav-group > button,
    .nav-group > a {
        display: block;
        width: 100%;
        text-align: left;
        padding: 16px 0;
        font-size: 18px;
        border-bottom: 1px solid #edf1f6;
    }
    .submenu {
        position: static;
        transform: none;
        box-shadow: none;
        border: 0;
        padding: 7px 12px;
        background: #f6f9ff;
        display: none;
    }
    .nav-group:hover .submenu,
    .nav-group:focus-within .submenu {
        display: none;
    }
    .nav-group.is-open .submenu {
        display: grid;
    }
    .submenu a {
        padding: 12px 10px;
        font-size: 16px;
    }
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
    .service,
    .service:first-child,
    .service:last-child {
        padding: 26px;
        border: 1px solid #e1e8f4;
    }
    .service > p:last-of-type {
        min-height: 65px;
    }
    .request-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .request-phones {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        margin-top: 20px;
    }
    .request-phones a {
        padding: 18px 0;
    }
    .people-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .greeting-layout,
    .representative-page {
        gap: 35px;
    }
    .sub-cta {
        flex-wrap: wrap;
        gap: 22px;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .hero {
        height: 720px;
        min-height: 720px;
    }
    .hero-content {
        padding-top: 100px;
    }
    .hero h1 {
        font-size: 32px;
    }
    .hero-text {
        max-width: 48%;
        font-size: 17px;
    }
    .hero-branch-phones {
        max-width: 46%;
        gap: 22px;
    }
    .hero-branch-phones > a:not(.hero-request) {
        border-right: 0;
        padding-right: 0;
    }
    .hero-branch-phones strong {
        font-size: 23px;
    }
    .hero-image {
        left: 56%;
        width: 44%;
    }
    .hero-shade {
        left: 56%;
        right: 0;
    }
    .service-intro {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .service-intro-note {
        border-left: 0;
        border-top: 1px solid #cedcec;
        padding: 22px 0 0;
    }
}
@media (max-width: 767px) {
    .wrap {
        width: calc(100% - 40px);
    }
    .header {
        height: 73px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .nav {
        top: 73px;
        max-height: calc(100dvh - 73px);
        padding-left: 20px;
        padding-right: 20px;
    }
    .hero-image {
        left: 20px;
        width: calc(100% - 40px);
    }
    .hero-shade {
        left: 20px;
        right: 20px;
    }
    .hero .eyebrow {
        letter-spacing: 1px;
        font-size: 10px;
    }
    .service-grid {
        gap: 14px;
    }
    .service,
    .service:first-child,
    .service:last-child {
        padding: 22px 16px;
    }
    .service > p:last-of-type {
        min-height: 90px;
    }
    .sub-hero .wrap > p:last-child,
    .section-heading > p {
        line-height: 1.8;
    }
    .location-cards dl {
        grid-template-columns: 44px minmax(0, 1fr);
    }
    .sub-tabs a {
        flex: 0 0 auto;
    }
    .sub-request-form {
        padding: 24px 18px;
    }
    .request-submit {
        min-width: 0;
    }
    .taxro-editor,
    .taxro-editor iframe {
        max-width: 100%;
    }
    .footer-bottom {
        flex-wrap: wrap;
        line-height: 1.8;
    }
    footer .wrap {
        padding-right: 42px;
    }
}
@media (max-width: 480px) {
    .brand-logo {
        width: 140px;
    }
    .header-contact {
        font-size: 13px;
        margin-right: 16px;
    }
    .hero h1 {
        font-size: clamp(25px, 7vw, 31px);
        letter-spacing: -1px;
    }
    .hero-text {
        font-size: 15px;
    }
    .hero-branch-phones {
        gap: 18px;
    }
    .hero-branch-phones strong {
        font-size: 19px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .request-phones,
    .sub-phone-grid,
    .people-grid,
    .service-grid,
    .work-process ol {
        grid-template-columns: 1fr;
    }
    .service > p:last-of-type {
        min-height: 0;
    }
    .member-photo {
        max-width: 270px;
        margin-left: auto;
        margin-right: auto;
    }
    .sub-cta-actions {
        flex-wrap: wrap;
    }
    .sub-cta-actions > a,
    .sub-cta-actions > button {
        min-width: 130px;
    }
    .greeting-layout h2,
    .service-intro h2 {
        font-size: 26px;
    }
    .board-toolbar input {
        width: calc(100% - 77px);
    }
    .quick-menu {
        width: 48px;
        right: 8px;
        bottom: 16px;
    }
    .quick-menu a,
    .quick-menu button {
        min-height: 52px;
    }
}

/* Company details and mobile readability (desktop type sizes preserved) */
.footer-company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}
.footer-company-grid .footer-info > span {
    display: block;
    margin-left: 0;
}
@media (max-width: 767px) {
    body { font-size: 17px; }
    .hero-text { font-size: 18px; line-height: 1.9; }
    .hero .eyebrow { font-size: 12px; }
    .hero-branch-phones span { font-size: 16px; }
    .hero-branch-phones strong { font-size: 23px; }
    .hero-branch-phones .hero-request { font-size: 17px; }
    .service > p:last-of-type { font-size: 18px; line-height: 1.85; }
    .service h3 { font-size: 27px; }
    .service-en, .service-top { font-size: 15px; }
    .service-bottom { font-size: 16px; }
    .section-heading > p, .sub-hero .wrap > p:last-child { font-size: 17px; }
    .eyebrow { font-size: 14px; }
    .sub-tabs a { font-size: 18px; }
    .breadcrumbs { font-size: 14px; flex-wrap: wrap; }
    .sub-prose, .service-intro-note p, .service-intro > p { font-size: 18px; line-height: 1.95; }
    .people-grid ul, .people-grid h3 small { font-size: 17px; }
    .person-branch, .greeting-sign { font-size: 16px; }
    .sub-work-list h4 { font-size: 18px; }
    .work-process h4 { font-size: 18px; }
    .work-process li p, .process-heading > p, .work-process .process-caption { font-size: 16px; }
    .process-step, .process-heading .eyebrow { font-size: 14px; }
    .request-form label, .request-form input, .request-form select, .request-form textarea { font-size: 17px; }
    .privacy-notice, .request-form .privacy-check { font-size: 16px; line-height: 1.8; }
    .request-heading > p:not(.eyebrow), .consult-process p { font-size: 18px; }
    .request-phones span, .sub-phone-grid span { font-size: 17px; }
    .request-phones strong, .sub-phone-grid strong { font-size: 24px; }
    .location-cards dl, .location-phone, .location-address { font-size: 17px; }
    .sub-cta p { font-size: 17px; line-height: 1.8; }
    .sub-cta-actions > a, .sub-cta-actions > button { font-size: 17px; }
    .board-toolbar, .board-row > span, .board-row time { font-size: 16px; }
    .board-row > strong { font-size: 18px; }
    footer { font-size: 16px; line-height: 1.9; }
    .footer-bottom { font-size: 14px; }
    .footer-company-grid { grid-template-columns: 1fr; gap: 10px; }
    .hero { min-height: 970px; }
    .hero-image, .hero-shade { top: 585px; }
    .hero-branch-phones { max-width: none; }
}

/* Subpage visual: architectural lines and soft curved highlights */
.sub-hero {
    isolation: isolate;
    background: radial-gradient(ellipse at 85% 25%, #dbe9ff 0%, transparent 52%),
        linear-gradient(115deg, #f4f8ff, #edf4ff 65%, #e5effd);
}
.sub-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    right: -60px;
    top: -145px;
    width: 660px;
    height: 480px;
    border: 1px solid #86aee53d;
    border-radius: 50%;
    transform: rotate(-22deg);
    box-shadow: 0 24px 0 -1px #edf4ff, 0 25px 0 #86aee534,
        0 49px 0 -1px #edf4ff, 0 50px 0 #86aee52e,
        0 74px 0 -1px #edf4ff, 0 75px 0 #86aee525;
}
.sub-hero::after {
    bottom: -36px;
    right: 7%;
    color: #9bbbe51f;
    text-shadow: 1px 0 #bfd3ee;
    opacity: .6;
}
.sub-hero > .wrap {
    position: relative;
    z-index: 1;
    border-left: 3px solid #6291dc;
    padding-left: 25px;
}
@media (max-width: 767px) {
    .sub-hero::before {
        right: -210px;
        top: -80px;
        width: 400px;
        height: 270px;
        opacity: .65;
    }
    .sub-hero::after {
        right: 10px;
        bottom: -20px;
        font-size: 80px;
    }
    .sub-hero > .wrap {
        padding-left: 17px;
        border-left-width: 2px;
    }
}

/* Current navigation and full-height mobile menu */
.nav-group.active > button,
.submenu a.active {
    color: #2462e9;
    font-weight: 700;
}
.sub-tabs a.active {
    font-weight: 700;
}
@media (max-width: 1024px) {
    body.taxro-menu-open {
        overflow: hidden;
    }
    .taxro-menu-open .header {
        position: fixed;
        inset: 0 0 auto;
        width: 100%;
        z-index: 1000;
    }
    .nav.mobile-open {
        height: calc(100vh - 80px);
        height: calc(100dvh - 80px);
        max-height: none;
        box-sizing: border-box;
        background: #fff;
        overscroll-behavior: contain;
        padding-bottom: max(30px, env(safe-area-inset-bottom));
        box-shadow: none;
        border-bottom: 0;
    }
    .nav .submenu {
        background: #fff;
    }
}
@media (max-width: 767px) {
    .nav.mobile-open {
        height: calc(100vh - 73px);
        height: calc(100dvh - 73px);
    }
}

/* Footer account links and primary menu destinations */
.footer-account {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-left: auto;
}
.footer-account a {
    color: #c5d3e7;
    font-size: 14px;
}
.footer-account a:hover,
.footer-account a:focus-visible {
    color: #fff;
    text-decoration: underline;
}
.nav-group.active > .nav-primary {
    color: #2462e9;
    font-weight: 700;
}
.nav-group > .nav-expand {
    display: none;
}
@media (max-width: 1024px) {
    .nav-group > .nav-primary {
        padding-right: 52px;
    }
    .nav-group > .nav-expand {
        position: absolute;
        top: 0;
        right: 0;
        display: grid;
        place-items: center;
        width: 48px;
        height: 58px;
        padding: 0;
        border: 0;
        background: transparent;
        font-size: 24px;
    }
    .nav-group.is-open > .nav-expand span {
        transform: rotate(180deg);
    }
}

/* Consistent native select sizing, including iOS Safari */
select:not([multiple]) {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    min-height: 52px;
    height: 52px;
    padding: 0 42px 0 16px;
    border: 1px solid #cbd9ed;
    border-radius: 6px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23314363' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    color: #243653;
    font-family: inherit;
    font-size: 17px;
    line-height: normal;
}
.request-form select:not([multiple]),
.board-toolbar select:not([multiple]) {
    height: 52px;
    min-height: 52px;
    padding: 0 42px 0 16px;
}
.request-form input:not([type="checkbox"]):not([type="hidden"]):not([type="file"]),
.board-toolbar input,
.board-toolbar button {
    min-height: 52px;
    box-sizing: border-box;
}
select:focus-visible {
    outline: 2px solid #2462e9;
    outline-offset: 2px;
}
/* Captcha card: image, entry field and refresh */
.request-form #captcha {
    display: grid !important;
    grid-template-columns: minmax(0, 220px) 48px;
    justify-content: start;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    margin: 24px 0 8px;
    padding: 20px;
    box-sizing: border-box;
    border: 1px solid #dce5f2;
    border-radius: 12px;
    background: #fff;
    text-align: left;
}
.request-form #captcha::before {
    content: "자동등록 방지";
    grid-column: 1 / -1;
    color: #243653;
    font-size: 16px;
    font-weight: 600;
}
.request-form #captcha #captcha_mp3 {
    display: none !important;
}
.request-form #captcha #captcha_img {
    grid-column: 1 / -1;
    position: static !important;
    float: none !important;
    display: block;
    width: 160px;
    height: 60px;
    margin: 0;
    border: 1px solid #e1e8f2;
    border-radius: 6px;
    background: #fff;
    object-fit: contain;
}
.request-form #captcha #captcha_key {
    grid-column: 1;
    grid-row: 3;
    position: static !important;
    float: none !important;
    width: 100% !important;
    min-width: 0;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 14px;
    border: 1px solid #cbd9ed;
    border-radius: 6px;
    background: #fff;
    color: #243653;
    font-size: 20px;
    letter-spacing: 4px;
}
.request-form #captcha #captcha_reload {
    grid-column: 2;
    grid-row: 3;
    position: relative !important;
    inset: auto !important;
    float: none !important;
    width: 48px !important;
    height: 52px !important;
    margin: 0 !important;
    border: 1px solid #d4dfed;
    border-radius: 6px;
    background: #f1f5fc !important;
    cursor: pointer;
}
.request-form #captcha #captcha_reload::after {
    content: "↻";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #2462e9;
    font-size: 28px;
    line-height: 1;
}
.request-form #captcha #captcha_info {
    grid-column: 1 / -1;
    position: static !important;
    float: none !important;
    margin: 0;
    color: #6b7890;
    font-size: 14px;
    line-height: 1.6;
    white-space: normal;
}
@media (max-width: 767px) {
    select:not([multiple]),
    .request-form select:not([multiple]),
    .board-toolbar select:not([multiple]) {
        height: 52px;
        min-height: 52px;
        font-size: 17px;
    }
    .board-toolbar form {
        align-items: stretch;
    }
    .board-toolbar input,
    .board-toolbar button {
        height: 52px;
    }
    .request-form #captcha {
        padding: 16px;
        grid-template-columns: minmax(0, 1fr) 48px;
        gap: 12px;
    }
    .request-form #captcha #captcha_info {
        font-size: 15px;
    }
}

/* Captcha alignment and native mobile audio controls */
.request-form #captcha {
    grid-template-columns: minmax(120px, 1fr) minmax(0, 1fr) 52px;
}
.request-form #captcha audio,
.request-form #captcha #captcha_mp3,
.request-form #captcha .captcha_mp3,
.request-form #captcha [id*="captcha_audio"] {
    display: none !important;
}
.request-form #captcha #captcha_img {
    grid-column: 1;
    grid-row: 2;
    width: 100% !important;
    height: 56px !important;
    box-sizing: border-box;
    object-fit: contain;
    object-position: center;
}
.request-form #captcha #captcha_key {
    grid-column: 2;
    grid-row: 2;
    height: 56px !important;
    min-height: 56px;
    text-align: center;
}
.request-form #captcha #captcha_reload {
    grid-column: 3;
    grid-row: 2;
    width: 52px !important;
    height: 56px !important;
    text-indent: 0 !important;
    overflow: hidden;
    font-size: 0 !important;
    color: transparent;
    background-image: none !important;
}
.request-form #captcha #captcha_reload::after {
    content: "";
    inset: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232462e9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7v5h-5M4 17v-5h5'/%3E%3Cpath d='M6.1 7a7 7 0 0 1 11.6-1L20 9M4 15l2.3 3A7 7 0 0 0 17.9 17'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
}
@media (max-width: 767px) {
    .request-form #captcha {
        grid-template-columns: minmax(0, 1fr) 52px;
    }
    .request-form #captcha #captcha_img {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100% !important;
        height: 56px !important;
        object-position: center;
    }
    .request-form #captcha #captcha_key {
        grid-column: 1;
        grid-row: 3;
    }
    .request-form #captcha #captcha_reload {
        grid-column: 2;
        grid-row: 3;
    }
}

/* Keep the refresh icon centered independently of native button styles. */
.request-form #captcha #captcha_reload {
    display: block !important;
    padding: 0 !important;
    box-sizing: border-box;
    line-height: 1 !important;
}
.request-form #captcha #captcha_reload::after {
    display: block;
    inset: auto !important;
    top: 50% !important;
    left: 50% !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translate(-50%, -50%) !important;
    background-position: center;
    background-size: 24px 24px;
}

/* Single circular refresh arrow */
.request-form #captcha #captcha_reload::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232462e9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10a8 8 0 1 0-1.6 7.8'/%3E%3Cpath d='M20 4v6h-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 24px 24px !important;
}
@media (max-width: 1024px) {
    .nav-group > .nav-primary {
        display: flex;
        align-items: center;
        box-sizing: border-box;
        height: 60px;
        padding: 0 56px 0 0;
    }
    .nav-group > .nav-expand {
        display: grid;
        place-items: center;
        box-sizing: border-box;
        top: 8px;
        right: 0;
        width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0;
        line-height: 1;
        aspect-ratio: 1;
    }
    .nav-group > .nav-expand span {
        display: block;
        width: 10px;
        height: 10px;
        margin: -5px 0 0;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        font-size: 0;
        transform: rotate(45deg);
    }
    .nav-group.is-open > .nav-expand span {
        margin-top: 5px;
        transform: rotate(225deg);
    }
}

/* Preserve supplied portrait proportions inside uniform photo slots. */
.member-photo {
    aspect-ratio: 4 / 5;
    background: #f1f3f6;
}
.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
@media (max-width: 767px) {
    .member-photo {
        aspect-ratio: 4 / 5;
    }
    .person-identity .member-photo {
        width: 100%;
        max-width: 270px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Edited white-background portraits: identical export size and aspect ratio. */
.member-photo {
    aspect-ratio: 4 / 5;
    background: #fff;
}
.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Mobile consultation link and three-line menu / close control. */
.mobile-nav-contact {
    display: none;
}
@media (max-width: 1024px) {
    .header > .header-contact {
        display: none;
    }
    .header > .hamburger {
        position: relative;
        display: block;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        margin-left: auto;
        padding: 0;
        background: transparent;
    }
    .hamburger span {
        position: absolute;
        left: 10px;
        width: 24px;
        height: 2px;
        margin: 0;
        background: #152443;
        transition: transform 0.2s, opacity 0.2s, top 0.2s;
    }
    .hamburger span:nth-child(1) {
        top: 14px;
    }
    .hamburger span:nth-child(2) {
        top: 21px;
    }
    .hamburger span:nth-child(3) {
        top: 28px;
    }
    .hamburger[aria-expanded="true"] span:nth-child(1) {
        top: 21px;
        transform: rotate(45deg);
    }
    .hamburger[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }
    .hamburger[aria-expanded="true"] span:nth-child(3) {
        top: 21px;
        transform: rotate(-45deg);
    }
    .nav .mobile-nav-contact {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 52px;
        margin-top: 28px;
        padding: 12px 20px;
        border-radius: 8px;
        box-sizing: border-box;
        background: #2462e9;
        color: #fff;
        font-size: 18px;
        font-weight: 600;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hamburger span {
        transition: none;
    }
}

/* Mobile main: clear typography, gentle motion and persistent consultation. */
.mobile-bottom-actions {
    display: none;
}
@keyframes taxro-copy-enter {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes taxro-city-drift {
    from {
        transform: scale(1.02) translateX(0);
    }
    to {
        transform: scale(1.09) translateX(-1%);
    }
}
@media (max-width: 767px) {
    html {
        scroll-padding-top: 90px;
    }
    body {
        padding-top: 73px;
        padding-bottom: calc(70px + env(safe-area-inset-bottom));
    }
    .header {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1000;
        width: 100%;
        height: 73px;
        box-sizing: border-box;
        background: #fff;
        box-shadow: 0 3px 18px #1524430a;
    }
    .hero {
        position: relative;
        height: auto;
        min-height: 0;
        max-height: none;
        overflow: hidden;
        background: linear-gradient(155deg, #fff 5%, #f2f7ff 70%, #dceaff);
    }
    .hero .hero-content {
        position: relative;
        z-index: 3;
        top: auto;
        left: auto;
        transform: none;
        padding-top: 42px;
        padding-bottom: 310px;
    }
    .hero h1 {
        margin-top: 18px;
        font-size: clamp(26px, 7.1vw, 36px);
        font-weight: 650;
        line-height: 1.65;
        letter-spacing: -1.3px;
        animation: taxro-copy-enter 0.85s both;
        animation-delay: 0.12s;
    }
    .hero-customer {
        color: #2462e9;
        font-weight: 700;
    }
    .hero .hero-text {
        margin-top: 20px;
        color: #566780;
        font-size: 17px;
        line-height: 1.9;
        letter-spacing: -0.6px;
        animation: taxro-copy-enter 0.85s both;
        animation-delay: 0.3s;
    }
    .hero-taxro {
        color: #087b8a;
        font-weight: 700;
    }
    .hero .hero-branch-phones {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 16px;
        width: 100%;
        max-width: none;
        margin-top: 26px;
        animation: taxro-copy-enter 0.85s both;
        animation-delay: 0.48s;
    }
    .hero .hero-branch-phones > a:not(.hero-request) {
        min-width: 0;
        padding: 12px 0;
        border-top: 1px solid #bdcfe9;
    }
    .hero .hero-branch-phones span {
        font-size: 15px;
        line-height: 1.6;
        font-weight: 600;
    }
    .hero .hero-branch-phones strong {
        margin-top: 4px;
        font-size: 14px;
        line-height: 1.5;
        font-weight: 500;
        letter-spacing: 0;
        white-space: nowrap;
    }
    .hero .hero-branch-phones .hero-request {
        display: none;
    }
    .hero .hero-image {
        position: absolute;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 345px;
        max-width: none;
        object-fit: cover;
        object-position: center 57%;
        border-radius: 0;
        box-shadow: none;
        animation: taxro-city-drift 18s ease-in-out infinite alternate;
        transform-origin: center bottom;
    }
    .hero .hero-shade {
        position: absolute;
        inset: auto 0 0;
        width: 100%;
        height: 345px;
        border-radius: 0;
        background: linear-gradient(180deg, #f2f7ff 0%, #f2f7ffb3 12%, transparent 45%, #15244314 100%);
        z-index: 2;
        pointer-events: none;
    }
    .hero .hero-orbits,
    .hero .hero-architecture {
        display: none;
    }
    .mobile-bottom-actions {
        position: fixed;
        inset: auto 0 0;
        z-index: 1100;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-bottom: env(safe-area-inset-bottom);
        background: #18345c;
        box-shadow: 0 -4px 24px #15244320;
    }
    .mobile-bottom-actions > a,
    .mobile-bottom-actions > button {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        min-width: 0;
        height: 70px;
        padding: 10px 4px;
        border: 0;
        border-radius: 0;
        box-sizing: border-box;
        background: #18345c;
        color: #fff;
        font: inherit;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
    }
    .mobile-bottom-actions > :first-child {
        background: #2462e9;
    }
    .mobile-bottom-actions > .quick-kakao {
        background: #fee500;
        color: #302517;
    }
    .mobile-bottom-actions svg {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }
    .quick-menu {
        bottom: calc(84px + env(safe-area-inset-bottom));
    }
    .quick-menu > .quick-kakao {
        display: none;
    }
    .taxro-menu-open .mobile-bottom-actions,
    .taxro-menu-open .quick-menu {
        visibility: hidden;
    }
}
@media (max-width: 360px) {
    .hero .hero-content {
        padding-top: 30px;
    }
    .hero .hero-text {
        font-size: 16px;
    }
    .mobile-bottom-actions > a,
    .mobile-bottom-actions > button {
        font-size: 14px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero h1,
    .hero .hero-text,
    .hero .hero-branch-phones,
    .hero .hero-image {
        animation: none;
    }
}

/* Logo blue, line-by-line hero motion and scroll entrance effects. */
:root {
    --taxro-logo-blue: #1c2c5c;
}
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
}
.hero .hero-customer {
    color: #2462e9;
    font-weight: 700;
}
.hero .hero-taxro {
    color: var(--taxro-logo-blue);
    font-weight: 700;
}
.hero h1 {
    animation: none;
}
.hero-copy-line {
    display: block;
    animation: taxro-copy-enter 1.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-copy-line:nth-child(1) {
    animation-delay: 0.2s;
}
.hero-copy-line:nth-child(2) {
    animation-delay: 0.75s;
}
.hero-copy-line:nth-child(3) {
    animation-delay: 1.3s;
}
.hero .hero-text {
    animation: taxro-copy-enter 1.8s 1.85s both;
}
.hero .hero-branch-phones {
    animation: taxro-copy-enter 1.8s 2.3s both;
}
.taxro-reveal {
    opacity: 0;
    translate: 0 24px;
    transition:
        opacity 0.7s ease var(--taxro-reveal-delay, 0ms),
        translate 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--taxro-reveal-delay, 0ms);
}
.taxro-reveal.taxro-is-visible {
    opacity: 1;
    translate: 0 0;
}
@media (max-width: 767px) {
    .header {
        position: fixed;
        top: 0;
    }
    .taxro-reveal {
        translate: 0 18px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero-copy-line,
    .hero .hero-text,
    .hero .hero-branch-phones {
        animation: none;
    }
    .taxro-reveal {
        opacity: 1;
        translate: none;
        transition: none;
    }
}

/* Separate mobile copy and city image so the contact row cannot overlap. */
.hero-media {
    display: contents;
}
@media (max-width: 767px) {
    .hero {
        display: flex;
        flex-direction: column;
    }
    .hero .hero-content {
        order: 1;
        flex: 0 0 auto;
        height: auto;
        min-height: 0;
        padding-bottom: 28px;
    }
    .hero-media {
        display: block;
        position: relative;
        order: 2;
        flex: 0 0 310px;
        width: 100%;
        height: 310px;
        overflow: hidden;
        isolation: isolate;
    }
    .hero .hero-media .hero-image {
        inset: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 0;
        object-position: center 58%;
        z-index: 0;
    }
    .hero .hero-media .hero-shade {
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        background: linear-gradient(180deg, #f2f7ff 0%, #f2f7ff99 12%, transparent 36%);
    }
    .hero .hero-branch-phones > a:not(.hero-request) {
        border-right: 0;
        border-left: 0;
        border-bottom: 0;
        border-top: 1px solid #bdcfe9;
        padding: 12px 0 0;
        gap: 4px;
    }
    .hero .hero-branch-phones span {
        color: #536783;
    }
    .hero .hero-branch-phones strong {
        color: #152443;
        margin-top: 0;
    }
}
@media (max-width: 360px) {
    .hero-media {
        flex-basis: 280px;
        height: 280px;
    }
}

/* Consultation method/date and verified professional details. */
.request-form .inquiry-visit-field[hidden] {
    display: none !important;
}
.request-form input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 100%;
    height: 52px;
    min-width: 0;
    padding: 0 14px;
    box-sizing: border-box;
    border: 1px solid #cbd9ed;
    border-radius: 6px;
    background: #fff;
    color: #243653;
    font: inherit;
    text-align: left;
}
.inquiry-visit-field small {
    display: block;
    margin-top: 8px;
    color: #6b7890;
    font-size: 14px;
    line-height: 1.6;
}
.member-email {
    display: block;
    margin-top: 16px;
    color: #2462e9;
    font-size: 16px;
    overflow-wrap: anywhere;
}
.expert-affiliation {
    margin: 14px 0;
    color: #243653;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.6;
}
.expert-careers {
    color: #6b7890;
    line-height: 1.8;
}
@media (max-width: 767px) {
    .request-form input[type="date"] {
        height: 52px;
        font-size: 17px;
    }
    .member-email,
    .expert-affiliation,
    .inquiry-visit-field small {
        font-size: 16px;
    }
}

/* October content update: headings, email panels and mobile spacing. */
.greeting-keyword {
    color: #2462e9;
}
.service-intro h2 .highlight {
    display: inline-block;
    white-space: nowrap;
    font-size: clamp(20px, 2.05vw, 29px);
}
.member-photo + .member-email {
    display: block;
    margin: 12px 0 18px;
    font-size: 15px;
    overflow-wrap: anywhere;
}
@media (max-width: 767px) {
    body {
        padding-bottom: 0;
    }
    .quick-menu {
        bottom: calc(20px + env(safe-area-inset-bottom));
    }
    .footer-info .footer-fax,
    .footer-info .footer-email {
        display: block;
        margin: 8px 0 0;
        overflow-wrap: anywhere;
    }
    .service-intro h2 .highlight {
        font-size: clamp(14px, 4vw, 25px);
        letter-spacing: -0.05em;
    }
}

/* Keep the email readable against the representative's blue profile panel. */
.person-identity .member-email,
.person-identity .member-email:visited {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.55);
    text-underline-offset: 4px;
}
.person-identity .member-email:hover,
.person-identity .member-email:focus-visible {
    color: #fff;
    text-decoration-color: #fff;
}

/* Mobile only: use the fixed consultation bar instead of the page CTA. */
@media (max-width: 767px) {
    .sub-cta {
        display: none;
    }
    body {
        padding-bottom: calc(70px + env(safe-area-inset-bottom));
    }
    .quick-menu {
        bottom: calc(90px + env(safe-area-inset-bottom));
    }
}
