
* {
    font-family: 'Shippori Mincho', serif;
}

/* English text uses Inter font */
.font-inter {
    font-family: 'Inter', sans-serif;
}

.hero-text {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-curve {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, transparent 40%, rgba(254, 243, 235, 0.9) 60%);
    clip-path: ellipse(80% 70% at 100% 100%);
}

.about-bg {
    background: linear-gradient(160deg, #FFF9F5 0%, #FEF3EB 30%, #FDEADB 70%, rgba(229, 141, 93, 0.2) 100%);
}

.about-arch-outer {
    position: absolute;
    top: 120px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.about-arch-bg {
    position: absolute;
    top: 60px;
    left: -10%;
    width: 120%;
    height: 100%;
    background: linear-gradient(90deg, #F3F6F5 0%, #FFDBAE 100%);
    border-radius: 50% 50% 0 0 / 12% 12% 0 0;
    z-index: 1;
}

.about-arch-bg-2 {
    position: absolute;
    top: 0;
    left: -5%;
    width: 110%;
    height: 100%;
    background: linear-gradient(90deg, rgba(243, 246, 245, 0.6) 0%, rgba(255, 219, 174, 0.4) 100%);
    border-radius: 50% 50% 0 0 / 8% 8% 0 0;
    z-index: 0;
}

.about-heading {
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.about-image {
    width: clamp(300px, 36vw, 469px);
    aspect-ratio: 469 / 670;
}

.about-image-img {
    object-position: center;
}

/* Mobile: match text height and crop from bottom */
@media (max-width: 768px) {
    .about-text-content {
        display: block;
    }

    .about-image-wrapper {
        align-self: start;
    }

    .about-image {
        width: 100%;
        aspect-ratio: unset;
        /* Height will be set dynamically by JavaScript */
    }

    .about-image-img {
        object-position: top;
    }
}

.btn-outline-thick-shadow {
    position: relative;
    background: #FFF;
    color: #DF7535;
    transition: all 0.3s ease;
    border: none;
    z-index: 1;
    box-shadow: 0px 4px 2px rgba(0, 0, 0, 0.25);
}

.btn-outline-thick-shadow::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 4px;
    background: linear-gradient(90deg, #DF7135 0%, #FFC2A0 100%);
    -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

.btn-outline-thick-shadow:hover {
    background: linear-gradient(90deg, #DF7535, #FFC2A0);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0px 6px 4px rgba(0, 0, 0, 0.25);
}

.btn-outline-thick-shadow:hover::before {
    opacity: 0;
}

/* Updated Service Section Styles - Cheek Effect */
.service-gradient-bg {
    position: absolute;
    top: 50%;
    right: -30%;
    width: 90vw;
    height: 50%;
    transform: translateY(-50%);
    background: radial-gradient(
    circle,
    rgba(255, 200, 180, 0.4),
    rgba(255, 200, 180, 0) 65%
    );
    filter: blur(50px);
    pointer-events: none;
}

.pair-gradient-bg {
    position: absolute;
    top: 50%;
    left: -30%;
    width: 90vw;
    height: 50%;
    transform: translateY(-50%);
    background: radial-gradient(
    circle,
    rgba(255, 204, 180, 0.45),
    rgba(255, 204, 180, 0) 65%
    );
    filter: blur(55px);
    pointer-events: none;
    z-index: 0;
}

.service-title-text {
    letter-spacing: 0.05em;
    font-family: 'Shippori Mincho', serif;
    background: linear-gradient(90deg, #EBC8B4 0%, #DF7135 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23FFF9F5' d='M0,40 C360,80 720,0 1080,40 C1260,60 1380,50 1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
}

.step-curve {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.step-curve svg {
    width: 100%;
    height: 100%;
}

.news-tag {
    background: #DF7535;
}

.news-card {
    border-radius: 40px;
    background: #FFF;
    box-shadow: 8px 8px 16px 0 rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.btn-outline-thick {
    position: relative;
    background: #FFF;
    color: #DF7535;
    transition: all 0.3s ease;
    border: none;
    z-index: 1;
}

.btn-outline-thick::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 4px;
    background: linear-gradient(135deg, #DF7535, #E58D5D);
    -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

.btn-outline-thick:hover {
    background: linear-gradient(135deg, #DF7535, #E58D5D);
    color: white;
}

.btn-outline-thick:hover::before {
    opacity: 0;
}

.btn-outline {
    border: 1.5px solid #DF7535;
    color: #DF7535;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #DF7535;
    color: white;
}

.btn-fill {
    background: linear-gradient(135deg, #DF7535, #E58D5D);
    color: white;
    transition: all 0.3s ease;
}

.btn-fill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(223, 117, 53, 0.4);
}

.gallery-img-lg {
    width: clamp(180px, 20vw, 293px);
    aspect-ratio: 293 / 395;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-img-sm {
    width: clamp(125px, 14vw, 203px);
    aspect-ratio: 203 / 302;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* iOS and mobile: taller gallery images */
@media (max-width: 768px) {
    .gallery-img-lg {
        aspect-ratio: 293 / 550;
    }

    .gallery-img-sm {
        aspect-ratio: 203 / 450;
    }
}

.gallery-img-lg:hover,
.gallery-img-sm:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.recruit-overlay {
    background: linear-gradient(180deg, rgba(60, 60, 70, 0.85), rgba(50, 50, 60, 0.9));
}

.floating {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 4.5s ease forwards;
}

@keyframes fadeIn {
    to {
    opacity: 1;
    transform: translateY(0);
    }
}

/* Scroll-triggered fade-in animation */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.scroll-fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .scroll-fade-in {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #DF7535;
    margin: 12px auto 0;
}

.header-container {
    border-radius: 32px;
    border: 2px solid #FFFBFB;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-tab {
    border-radius: 32px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: black;
    font-weight: bold;
    font-family: "Inter", sans-serif;
}
