html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --background-color: #f7f5f0;
    --surface-color: #ffffff;
    --primary-color: #315c55;
    --primary-dark-color: #24453f;
    --accent-color: #c7a66b;
    --text-color: #252525;
    --secondary-text-color: #666666;
    --border-color: #e4ded3;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.5;
    background-color: var(--background-color);
    color: var(--text-color);
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

button {
    color: inherit;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 1000;
    padding: 10px 16px;
    background-color: var(--primary-dark-color);
    color: var(--surface-color);
    border-radius: 6px;
    text-decoration: none;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
    padding: 14px clamp(24px, 5vw, 72px);
    background-color: rgb(255 255 255 / 94%);
    border-bottom: 1px solid rgb(199 166 107 / 35%);
    box-shadow: 0 8px 30px rgb(36 69 63 / 7%);
    backdrop-filter: blur(12px);
}

.site-header::after {
    content: "";
}

.main-navigation {
    display: flex;
    justify-content: center;
    gap: clamp(18px, 3vw, 38px);
}

.main-navigation a {
    position: relative;
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
}

.main-navigation a::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    content: "";
    transition: width 180ms ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-dark-color);
    text-decoration: none;
}

.brand img {
    display: block;
    width: 175px;
    height: 58px;
    object-fit: contain;
}

.brand-mark {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, var(--primary-color), var(--primary-dark-color));
    border: 2px solid var(--accent-color);
    border-radius: 50% 50% 46% 54%;
    box-shadow: 0 7px 18px rgb(36 69 63 / 22%);
    font-family: Georgia, Tahoma, serif;
    font-size: 29px;
    font-weight: bold;
}

.brand-copy {
    display: flex;
    flex-direction: column;
}

.brand-copy strong {
    font-size: 20px;
}

.brand-copy small {
    margin-top: 2px;
    color: #85704d;
    font-size: 11px;
}

.header-order-button,
.order-trigger {
    border: 0;
    cursor: pointer;
}

.header-order-button {
    min-height: 52px;
    padding: 13px 32px;
    color: #1d3933;
    background: linear-gradient(135deg, #e2c277, #c79b47);
    border-radius: 999px;
    font-size: 17px;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid #b88b39;
    box-shadow: 0 8px 22px rgb(165 122 42 / 28%);
}

.header-order-button:hover {
    color: #17302b;
    background: linear-gradient(135deg, #efd58f, #d4a957);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle > span:not(.visually-hidden) {
    display: block;
    width: 26px;
    height: 2px;
    margin: 5px;
    background: var(--primary-dark-color);
}

.main-navigation a:hover {
    color: var(--primary-color);
}

.main-navigation a:focus-visible {
    color: var(--primary-color);
    outline: 3px solid var(--primary-dark-color);
    outline-offset: 5px;
    border-radius: 2px;
}

.site-title:focus-visible {
    outline: 3px solid var(--primary-dark-color);
    outline-offset: 5px;
    border-radius: 2px;
}

.site-title {
    margin: 0;
    color: var(--primary-color);
    font-size: 28px;
    text-align: center;
    text-decoration: none;
}

section {
    padding: 100px 60px;
    text-align: center;
}

section h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

section p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 48px;
    min-height: min(760px, calc(100vh - 81px));
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 20%, rgb(199 166 107 / 17%), transparent 27%),
        linear-gradient(135deg, #f9f7f1, #eef3ef);
    text-align: right;
}

.hero::before {
    position: absolute;
    right: -70px;
    bottom: -120px;
    width: 310px;
    height: 310px;
    border: 1px solid rgb(199 166 107 / 35%);
    border-radius: 50%;
    content: "";
}

.hero-content {
    max-width: 650px;
}

.hero-title {
    max-width: 600px;
    margin: 14px 0 22px;
    color: var(--primary-dark-color);
    font-family: Tahoma, "Segoe UI", sans-serif;
    font-size: clamp(38px, 4.6vw, 64px);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.035em;
}

.hero-logo-heading {
    position: relative;
    margin: 4px 0 16px;
    padding-bottom: 12px;
}

.hero-logo-heading::after {
    position: absolute;
    right: 2%;
    bottom: 0;
    width: 96%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c79b47 16%, #f1d68e 50%, #c79b47 84%, transparent);
    border-radius: 999px;
    box-shadow: 0 0 10px rgb(199 155 71 / 42%);
    content: "";
    opacity: .72;
    transform: scaleX(0);
    transform-origin: right;
    animation: hero-logo-thread 5.5s cubic-bezier(.22, .8, .25, 1) 2s forwards;
}

.hero-logo-reveal {
    position: relative;
    display: block;
    width: min(100%, 520px);
    overflow: hidden;
    filter: drop-shadow(0 10px 16px rgb(32 76 67 / 12%));
    clip-path: inset(0 0 0 100%);
    animation:
        hero-logo-reveal 7s cubic-bezier(.16, .62, .2, 1) .35s forwards,
        hero-logo-settle 2s ease-out 6.4s both;
}

.hero-logo {
    display: block;
    width: 100%;
    height: auto;
}

.hero-logo-shine {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    filter: brightness(1.55) saturate(.8) drop-shadow(0 0 8px rgb(239 213 143 / 45%));
    clip-path: polygon(100% 0, 100% 0, 88% 100%, 88% 100%);
    animation: hero-logo-shine 3.5s ease-in-out 5.8s both;
    pointer-events: none;
}

@keyframes hero-logo-reveal {
    to { clip-path: inset(0 0 0 0); }
}

@keyframes hero-logo-settle {
    0% { transform: translateY(4px); }
    100% { transform: translateY(0); }
}

@keyframes hero-logo-shine {
    0% {
        opacity: 0;
        clip-path: polygon(100% 0, 100% 0, 88% 100%, 88% 100%);
    }
    20% { opacity: .65; }
    80% { opacity: .65; }
    100% {
        opacity: 0;
        clip-path: polygon(12% 0, 24% 0, 12% 100%, 0 100%);
    }
}

@keyframes hero-logo-thread {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }
    18% { opacity: .72; }
    100% {
        opacity: .72;
        transform: scaleX(1);
    }
}

.eyebrow {
    display: inline-block;
    color: #92763f;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: .04em;
}

.hero-description,
.about-description,
.contact-description {
    color: var(--secondary-text-color);
    line-height: 1.8;
}

.hero-description,
.contact-description {
    max-width: 600px;
}

.hero-visual {
    position: relative;
    width: 100%;
    margin: 0;
    isolation: isolate;
}

.hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid rgb(199 166 107 / 55%);
    border-radius: 160px 16px 160px 16px;
    box-shadow: 24px 26px 0 rgb(49 92 85 / 10%), 0 22px 55px rgb(36 69 63 / 20%);
}

.hero-slider {
    min-height: clamp(470px, 48vw, 650px);
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    margin: 0;
    opacity: 0;
    overflow: hidden;
    border-radius: 160px 16px 160px 16px;
    pointer-events: none;
    transform: scale(.985) translateX(-12px);
    transition: opacity 900ms ease, transform 1200ms cubic-bezier(.2, .7, .2, 1);
}

.hero-slide.is-active {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateX(0);
}

.hero-slide::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgb(8 29 24 / 82%) 100%);
    content: "";
}

.hero-slide.is-active .hero-image {
    animation: hero-image-drift 7s ease-out both;
}

.hero-slide figcaption {
    position: absolute;
    right: clamp(24px, 5vw, 50px);
    bottom: clamp(34px, 5vw, 52px);
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 12px;
    color: #fff;
    text-align: right;
    opacity: 0;
    transform: translateY(18px);
}

.hero-slide.is-active figcaption {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 600ms ease 350ms, transform 700ms ease 350ms;
}

.hero-slide figcaption span {
    grid-row: 1 / 3;
    align-self: center;
    color: var(--accent-color);
    font-size: 13px;
    font-weight: bold;
}

.hero-slide figcaption strong {
    font-size: clamp(20px, 2vw, 28px);
}

.hero-slide figcaption small {
    color: #dce5e2;
    font-size: 13px;
}

.hero-slider-controls {
    position: absolute;
    right: 50%;
    bottom: -22px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 12px;
    background: rgb(255 255 255 / 94%);
    border: 1px solid rgb(199 166 107 / 55%);
    border-radius: 999px;
    box-shadow: 0 12px 30px rgb(36 69 63 / 18%);
    transform: translateX(50%);
    backdrop-filter: blur(10px);
}

.slider-arrow {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    padding: 0;
    color: var(--primary-dark-color);
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
    color: #fff;
    background: var(--primary-color);
}

.slider-dots {
    display: flex;
    gap: 7px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    background: #b9c6c3;
    border: 0;
    border-radius: 99px;
    cursor: pointer;
    transition: width 250ms ease, background-color 250ms ease;
}

.slider-dot.is-active {
    width: 24px;
    background: var(--accent-color);
}

.hero-slider-progress {
    position: absolute;
    right: 13%;
    bottom: 0;
    z-index: 3;
    width: 74%;
    height: 2px;
    overflow: hidden;
}

.hero-slider-progress::after {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    content: "";
    transform-origin: right;
    animation: slider-progress 6s linear infinite;
}

.hero-slider.is-paused .hero-slider-progress::after {
    animation-play-state: paused;
}

.brand-story {
    display: grid;
    grid-template-columns: minmax(420px, 1.05fr) minmax(0, .95fr);
    gap: clamp(38px, 7vw, 90px);
    align-items: center;
    overflow: hidden;
    background: linear-gradient(110deg, rgb(255 255 255 / 94%), rgb(247 245 240 / 96%));
}

.brand-story-copy { max-width: 590px; }

.brand-story-copy h2 {
    margin: 10px 0 20px;
    color: var(--primary-dark-color);
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.55;
}

.brand-story-copy > p {
    margin: 0;
    color: var(--secondary-text-color);
    font-size: clamp(16px, 1.7vw, 18px);
    line-height: 2;
}

.brand-story-benefits {
    display: grid;
    gap: 13px;
    margin: 28px 0 30px;
    padding: 0;
    list-style: none;
}

.brand-story-benefits li {
    display: grid;
    grid-template-columns: minmax(145px, auto) 1fr;
    gap: 18px;
    align-items: center;
    padding: 11px 15px;
    background: rgb(255 255 255 / 70%);
    border-right: 3px solid var(--accent-color);
    border-radius: 8px;
}

.brand-story-benefits strong { color: var(--primary-dark-color); font-size: 14px; }
.brand-story-benefits span { color: var(--secondary-text-color); font-size: 13px; }
.brand-story-action { border: 0; cursor: pointer; }

.brand-story-visual {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    background: linear-gradient(145deg, #193a34, #315c55);
    border-radius: 24px 100px 24px 100px;
    box-shadow: 0 28px 65px rgb(36 69 63 / 22%);
    direction: ltr;
}

.story-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 330px;
    height: 330px;
    background: rgb(218 190 137 / 18%);
    border-radius: 50%;
    filter: blur(5px);
    transform: translate(-50%, -50%);
    animation: storyGlow 5s ease-in-out infinite;
}

.story-fabric {
    position: absolute;
    top: 160px;
    left: 48px;
    width: 138px;
    height: 180px;
    overflow: hidden;
    background: #b78b5a;
    border: 2px solid #e7c791;
    border-radius: 8px 28px;
    box-shadow: 14px 18px 0 rgb(17 47 41 / 35%);
    transform: rotate(-5deg);
    animation: storyFabric 7s ease-in-out infinite;
}

.story-fabric i {
    position: absolute;
    width: 160%;
    height: 1px;
    background: rgb(255 255 255 / 24%);
    transform: rotate(38deg);
}

.story-fabric i:nth-child(1) { top: 20px; left: -25px; }
.story-fabric i:nth-child(2) { top: 62px; left: -25px; }
.story-fabric i:nth-child(3) { top: 104px; left: -25px; }
.story-fabric i:nth-child(4) { top: 146px; left: -25px; }

.story-fabric span {
    position: absolute;
    bottom: 14px;
    left: 50%;
    padding: 6px 11px;
    color: #17342f;
    background: #fff1d2;
    border-radius: 20px;
    font-size: 10px;
    font-weight: bold;
    white-space: nowrap;
    transform: translateX(-50%);
}

.story-thread {
    position: absolute;
    top: 248px;
    left: 175px;
    width: calc(100% - 330px);
    height: 75px;
    border-top: 3px dashed #f1d59f;
    border-radius: 50%;
    animation: storyThread 7s linear infinite;
}

.story-needle {
    position: absolute;
    top: 224px;
    left: 50%;
    width: 4px;
    height: 58px;
    background: linear-gradient(#fff, #b8c6c3);
    border-radius: 5px;
    box-shadow: 0 0 18px rgb(255 241 210 / 55%);
    transform: rotate(52deg);
    animation: storyNeedle 7s ease-in-out infinite;
}

.story-needle::before {
    position: absolute;
    top: 6px;
    left: -2px;
    width: 4px;
    height: 8px;
    border: 2px solid #315c55;
    border-radius: 50%;
    content: "";
}

.story-shirt-photo {
    position: absolute;
    top: 74px;
    right: 43px;
    width: 230px;
    height: 310px;
    margin: 0;
    overflow: hidden;
    background: #193a34;
    border: 3px solid #e7c791;
    border-radius: 85px 85px 22px 22px;
    box-shadow: 0 24px 35px rgb(0 0 0 / 28%);
    opacity: .4;
    transform: translateY(12px) scale(.94);
    animation: storyShirt 7s ease-in-out infinite;
}

.story-shirt-photo::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgb(255 244 216 / 22%) 48%, transparent 66%);
    content: "";
    transform: translateX(-120%);
    animation: shirtLight 7s ease-in-out infinite;
}

.story-shirt-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 66% center;
    transform: scale(1.12);
    animation: shirtCamera 7s ease-in-out infinite;
}

.story-shirt-photo figcaption {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 1;
    padding: 7px 12px;
    color: #17342f;
    background: rgb(255 241 210 / 92%);
    border-radius: 20px;
    font-size: 10px;
    font-weight: bold;
}

.story-step {
    position: absolute;
    bottom: 28px;
    left: 50%;
    padding: 7px 13px;
    color: #fff1d2;
    background: rgb(17 47 41 / 78%);
    border: 1px solid rgb(231 199 145 / 40%);
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    opacity: .22;
    transform: translateX(-50%) translateY(8px);
}

.story-step-one { animation: storyStepOne 7s ease-in-out infinite; }
.story-step-two { animation: storyStepTwo 7s ease-in-out infinite; }
.story-step-three { animation: storyStepThree 7s ease-in-out infinite; }

@keyframes storyFabric {
    0%, 20%, 100% { transform: rotate(-5deg) scale(1); }
    35%, 88% { transform: rotate(-5deg) scale(.94); }
}

@keyframes storyThread { to { background-position: 60px 0; } }

@keyframes storyNeedle {
    0%, 18%, 100% { left: 39%; transform: rotate(52deg) translateY(0); }
    35% { left: 50%; transform: rotate(42deg) translateY(-12px); }
    58% { left: 61%; transform: rotate(58deg) translateY(8px); }
    78%, 90% { left: 68%; transform: rotate(48deg) translateY(-5px); }
}

@keyframes storyShirt {
    0%, 46% { opacity: .38; transform: translateY(12px) scale(.94); }
    60%, 90% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: .38; transform: translateY(12px) scale(.94); }
}

@keyframes shirtCamera {
    0%, 46% { transform: scale(1.16) translateX(2%); }
    60%, 90% { transform: scale(1.06) translateX(0); }
    100% { transform: scale(1.16) translateX(2%); }
}

@keyframes shirtLight {
    0%, 55% { transform: translateX(-120%); }
    82%, 100% { transform: translateX(120%); }
}

@keyframes storyGlow { 50% { transform: translate(-50%, -50%) scale(1.14); } }
@keyframes storyStepOne { 3%, 22% { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes storyStepTwo { 32%, 55% { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes storyStepThree { 64%, 90% { opacity: 1; transform: translateX(-50%) translateY(0); } }

@keyframes hero-image-drift {
    from { transform: scale(1.06); }
    to { transform: scale(1); }
}

@keyframes slider-progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-actions .order-trigger,
.contact-details .order-trigger {
    min-height: 56px;
    padding: 15px 38px;
    font-size: 18px;
    font-weight: bold;
    color: #1d3933;
    background: linear-gradient(135deg, #e2c277, #c79b47);
    border: 1px solid #b88b39;
    box-shadow: 0 10px 26px rgb(165 122 42 / 30%);
}

.hero-actions .order-trigger:hover,
.contact-details .order-trigger:hover {
    color: #17302b;
    background: linear-gradient(135deg, #efd58f, #d4a957);
    transform: translateY(-2px);
}

.text-link {
    padding: 0;
    color: var(--primary-dark-color);
    background: transparent;
    border: 0;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 30px;
    padding: 0;
    margin: 38px 0 0;
    list-style: none;
}

.trust-list li::before {
    margin-left: 8px;
    color: var(--accent-color);
    content: "◆";
    font-size: 10px;
}

.action-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    padding: 12px 28px;
    font-size: 16px;
    background-color: var(--primary-color);
    color: var(--surface-color);
    border-radius: 6px;
    text-decoration: none;
}

.action-link:hover {
    background-color: var(--primary-dark-color);
}

.action-link:focus-visible {
    outline: 3px solid var(--surface-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 6px var(--primary-dark-color);
}

.services {
    background-color: var(--surface-color);
}

.section-photo-strip {
    display: grid;
    grid-template-columns: .8fr 1.4fr .8fr;
    gap: 12px;
    width: 100%;
    max-width: 1100px;
    height: 250px;
    margin: 36px auto 40px;
}

.section-photo-strip figure {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: var(--primary-dark-color);
    border-radius: 16px;
    box-shadow: 0 14px 32px rgb(36 69 63 / 12%);
}

.section-photo-strip figure:nth-child(1) {
    transform: translateY(16px);
}

.section-photo-strip figure:nth-child(3) {
    transform: translateY(-12px);
}

.section-photo-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 450ms ease;
}

.section-photo-strip figure:hover img {
    transform: scale(1.045);
}

.section-photo-strip figcaption {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 6px 10px;
    color: #fff;
    background: rgb(24 52 47 / 82%);
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    backdrop-filter: blur(6px);
}

.order-photo-strip img,
.guides-photo-strip img {
    object-position: center;
}

.services-photo-strip,
.testimonials-photo-strip {
    margin-top: 48px;
}

.testimonials-photo-strip {
    max-width: 980px;
}

.contact-photo-wall {
    display: grid;
    grid-template-columns: 1.4fr .7fr .7fr;
    grid-template-rows: repeat(2, 180px);
    gap: 12px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 38px;
}

.contact-photo-wall figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 15px 34px rgb(36 69 63 / 13%);
}

.contact-photo-wall .contact-photo-main {
    grid-row: 1 / -1;
}

.contact-photo-wall img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 450ms ease;
}

.contact-photo-wall figure:hover img {
    transform: scale(1.04);
}

.order-methods {
    background: #fff;
}

.order-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 1120px;
    margin: 0 auto;
    text-align: right;
}

.order-method-card {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid var(--border-color);
    border-radius: 18px;
}

.order-method-card::before {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    content: "";
}

.order-method-local {
    background: linear-gradient(145deg, #f6f9f7, #edf3ef);
}

.order-method-local::before {
    background: var(--primary-color);
}

.order-method-remote {
    background: linear-gradient(145deg, #fbf8f0, #f4ecda);
}

.order-method-remote::before {
    background: var(--accent-color);
}

.method-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.method-number {
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--primary-dark-color);
    background: linear-gradient(145deg, #fffdf8, #eee5d2);
    border: 1px solid #d8bd83;
    border-radius: 20px;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 8px 18px rgb(74 57 25 / 10%);
}

.method-label {
    color: #8b713e;
    font-size: 12px;
    font-weight: bold;
}

.method-card-header h3 {
    margin: 5px 0 0;
    color: var(--primary-dark-color);
    font-size: clamp(24px, 3vw, 31px);
}

.method-intro {
    min-height: 96px;
    margin: 26px 0;
    color: var(--secondary-text-color);
    font-size: 16px;
    line-height: 1.9;
}

.method-steps {
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: method-step;
}

.method-steps li {
    position: relative;
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 14px;
    align-items: center;
    min-height: 62px;
    padding: 12px 42px 12px 0;
    border-top: 1px solid rgb(49 92 85 / 13%);
    counter-increment: method-step;
}

.method-steps li::before {
    position: absolute;
    right: 0;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #416a62;
    background: #f4f8f6;
    border: 1px solid #b9cec8;
    border-radius: 10px;
    content: counter(method-step);
    font-size: 12px;
    font-weight: bold;
}

.method-steps span {
    color: #8b713e;
    font-size: 13px;
    font-weight: bold;
}

.method-steps strong {
    color: var(--text-color);
    font-size: 14px;
    font-weight: 600;
}

.method-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.method-actions .action-link {
    border: 0;
    cursor: pointer;
}

.method-phone {
    color: var(--primary-dark-color);
    font-weight: bold;
    text-decoration: none;
}

.remote-order-link {
    color: #1d3933;
    background: linear-gradient(135deg, #e2c277, #c79b47);
}

.nationwide-note {
    color: #78643d;
    font-size: 13px;
    font-weight: bold;
}

.order-methods-note {
    max-width: 760px;
    margin: 36px auto 0;
    color: var(--secondary-text-color);
    font-size: 14px;
}

.section-title {
    color: var(--primary-color);
}

.guides {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f0ede5;
}

.measurement-animation {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(380px, 1.15fr);
    width: 100%;
    max-width: 1100px;
    min-height: 390px;
    margin-top: 42px;
    overflow: hidden;
    color: #fff;
    background: var(--primary-dark-color);
    border: 1px solid rgb(199 166 107 / 38%);
    border-radius: 22px;
    box-shadow: 0 22px 55px rgb(36 69 63 / 16%);
    text-decoration: none;
}

.measurement-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(30px, 5vw, 58px);
}

.measurement-kicker {
    margin-bottom: 14px;
    color: #e8cb94;
    font-size: 13px;
    font-weight: bold;
}

.measurement-copy h3 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(27px, 3.5vw, 42px);
    line-height: 1.5;
}

.measurement-copy p {
    margin: 0 0 24px;
    color: #dce5e2;
    font-size: 15px;
    line-height: 1.9;
}

.measurement-quick-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin: 0 0 24px;
    padding: 0;
    counter-reset: shirt-measure;
    list-style: none;
}

.measurement-quick-list li {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #e8efed;
    font-size: 12px;
}

.measurement-quick-list li::before {
    display: grid;
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--primary-dark-color);
    background: #edcf98;
    border-radius: 50%;
    content: counter(shirt-measure);
    counter-increment: shirt-measure;
    font-size: 10px;
    font-weight: bold;
}

.measurement-cta {
    padding-bottom: 5px;
    color: #edcf98;
    border-bottom: 1px solid rgb(237 207 152 / 55%);
    font-weight: bold;
}

.measurement-stage {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    background:
        radial-gradient(circle at 55% 44%, rgb(80 126 117 / 55%), transparent 43%),
        linear-gradient(145deg, #2e5951, #18342f);
    direction: ltr;
}

.measurement-grid {
    position: absolute;
    inset: 0;
    opacity: .13;
    background-image:
        linear-gradient(rgb(255 255 255 / 35%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 35%) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(to left, transparent, #000 30%, #000);
}

.tailor-form {
    position: absolute;
    top: 40px;
    left: 50%;
    width: 190px;
    height: 320px;
    transform: translateX(-50%);
}

.form-neck {
    position: absolute;
    top: 0;
    left: 77px;
    width: 36px;
    height: 35px;
    border: 2px solid #d7bd89;
    border-bottom: 0;
    border-radius: 16px 16px 5px 5px;
}

.form-body {
    position: absolute;
    top: 25px;
    left: 22px;
    width: 146px;
    height: 238px;
    background: linear-gradient(145deg, #eadcc0, #baa06f);
    border: 3px solid #f4dfb7;
    border-radius: 48% 48% 26% 26% / 25% 25% 14% 14%;
    clip-path: polygon(25% 0, 75% 0, 91% 24%, 70% 51%, 88% 100%, 12% 100%, 30% 51%, 9% 24%);
    box-shadow: inset 18px 0 28px rgb(255 255 255 / 22%), 0 22px 40px rgb(0 0 0 / 20%);
}

.form-body::after {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: rgb(87 64 32 / 20%);
    content: "";
}

.form-stand {
    position: absolute;
    bottom: 0;
    left: 92px;
    width: 5px;
    height: 65px;
    background: #d7bd89;
    box-shadow: -34px 62px 0 -1px #d7bd89, 34px 62px 0 -1px #d7bd89;
}

.measure-line {
    position: absolute;
    left: 50%;
    width: 210px;
    height: 25px;
    border-top: 4px solid #fff0b9;
    border-radius: 50%;
    opacity: .22;
    transform: translateX(-50%) scaleX(.3);
    transform-origin: center;
}

.measure-line::before,
.measure-line::after {
    position: absolute;
    top: -7px;
    width: 4px;
    height: 10px;
    background: #fff0b9;
    content: "";
}

.measure-line::before { left: 0; }
.measure-line::after { right: 0; }
.measure-chest { top: 126px; animation: measureChest 6s ease-in-out infinite; }
.measure-waist { top: 188px; animation: measureWaist 6s ease-in-out infinite; }

.measure-name,
.measure-value {
    position: absolute;
    top: -32px;
    padding: 4px 9px;
    color: #17342f;
    background: #fff4d8;
    border-radius: 20px;
    font-size: 11px;
    font-style: normal;
    font-weight: bold;
    white-space: nowrap;
}

.measure-name { left: 0; }
.measure-value { right: 0; min-width: 34px; text-align: center; }

.measure-height {
    position: absolute;
    top: 69px;
    right: 34px;
    width: 72px;
    height: 224px;
    opacity: .22;
    transform: translateY(25px);
    animation: measureHeight 6s ease-in-out infinite;
}

.height-rule {
    position: absolute;
    top: 0;
    right: 7px;
    width: 18px;
    height: 100%;
    border-block: 3px solid #fff0b9;
    border-right: 3px solid #fff0b9;
}

.measure-height .measure-name {
    top: 82px;
    right: 28px;
    left: auto;
}

.measure-height .measure-value {
    top: 116px;
    right: 28px;
}

.measurement-status {
    position: absolute;
    bottom: 18px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #dce5e2;
    font-size: 11px;
}

.measurement-status i {
    width: 7px;
    height: 7px;
    background: #edcf98;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgb(237 207 152 / 55%);
    animation: statusPulse 1.5s ease-out infinite;
}

@keyframes measureChest {
    0%, 8%, 100% { opacity: .18; transform: translateX(-50%) scaleX(.3); }
    16%, 30% { opacity: 1; transform: translateX(-50%) scaleX(1); }
    38%, 92% { opacity: .18; transform: translateX(-50%) scaleX(1); }
}

@keyframes measureWaist {
    0%, 34%, 100% { opacity: .18; transform: translateX(-50%) scaleX(.3); }
    44%, 58% { opacity: 1; transform: translateX(-50%) scaleX(1); }
    66%, 92% { opacity: .18; transform: translateX(-50%) scaleX(1); }
}

@keyframes measureHeight {
    0%, 62%, 100% { opacity: .18; transform: translateY(25px); }
    72%, 88% { opacity: 1; transform: translateY(0); }
}

@keyframes statusPulse {
    70%, 100% { box-shadow: 0 0 0 8px rgb(237 207 152 / 0%); }
}

.order-methods,
.services,
.portfolio,
.guides,
.about,
.testimonials,
.contact {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
}

.guides-grid,
.articles-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1100px;
    margin-top: 42px;
}

.guide-card {
    display: flex;
    min-height: 260px;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(25px, 4vw, 38px);
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgb(36 69 63 / 6%);
    text-align: right;
}

.guide-card-featured {
    color: #fff;
    background: var(--primary-dark-color);
    border-color: var(--primary-dark-color);
}

.guide-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #92713a;
    font-size: 13px;
    font-weight: bold;
}

.guide-card-featured .guide-label {
    color: #e8cb94;
}

.guide-card h2,
.guide-card h3 {
    margin: 0 0 14px;
    color: var(--primary-dark-color);
    font-size: clamp(21px, 2.2vw, 27px);
    line-height: 1.55;
}

.guide-card-featured h2,
.guide-card-featured h3 {
    color: #fff;
}

.guide-card h2 a,
.guide-card h3 a {
    color: inherit;
    text-decoration: none;
}

.guide-card p {
    margin: 0 0 20px;
    color: var(--secondary-text-color);
    font-size: 16px;
    line-height: 1.9;
}

.guide-card-featured p {
    color: #dce5e2;
}

.guide-link {
    margin-top: auto;
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

.guide-card-featured .guide-link {
    color: #edcf98;
}

.guides-all-link {
    margin-top: 32px;
}

.magazine-page {
    background: #f4f0e8;
}

.magazine-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr);
    gap: clamp(36px, 7vw, 90px);
    align-items: center;
    padding: clamp(70px, 9vw, 125px) clamp(24px, 7vw, 100px);
    color: #fff;
    background:
        radial-gradient(circle at 15% 20%, rgb(199 166 107 / 20%), transparent 28%),
        var(--primary-dark-color);
}

.magazine-hero h1 {
    max-width: 800px;
    margin: 12px 0 22px;
    color: #fff;
    font-size: clamp(38px, 5.3vw, 72px);
    line-height: 1.45;
}

.magazine-hero p {
    max-width: 720px;
    margin: 0;
    color: #dce5e2;
    font-size: 17px;
    line-height: 2;
}

.magazine-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 28px;
}

.magazine-topics span {
    padding: 7px 13px;
    color: #edcf98;
    border: 1px solid rgb(237 207 152 / 36%);
    border-radius: 30px;
    font-size: 12px;
}

.magazine-feature-image {
    position: relative;
    height: 520px;
    overflow: hidden;
    border: 1px solid rgb(237 207 152 / 45%);
    border-radius: 120px 22px 120px 22px;
    box-shadow: 0 30px 65px rgb(0 0 0 / 28%);
}

.magazine-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.magazine-feature-image:hover img {
    transform: scale(1.045);
}

.magazine-feature-image span {
    position: absolute;
    right: 24px;
    bottom: 24px;
    padding: 8px 14px;
    color: #17342f;
    background: #edcf98;
    border-radius: 30px;
    font-size: 12px;
    font-weight: bold;
}

.magazine-latest,
.magazine-library {
    padding: clamp(65px, 8vw, 105px) clamp(24px, 7vw, 100px);
}

.magazine-library {
    padding-top: 10px;
}

.magazine-section-heading {
    max-width: 1180px;
    margin: 0 auto 36px;
}

.magazine-section-heading > span {
    color: #92713a;
    font-size: 13px;
    font-weight: bold;
}

.magazine-section-heading h2 {
    margin: 7px 0 0;
    color: var(--primary-dark-color);
    font-size: clamp(30px, 4vw, 46px);
}

.magazine-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 1180px;
    margin: 0 auto;
}

.magazine-card {
    display: grid;
    grid-template-columns: 185px minmax(0, 1fr);
    min-height: 290px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: 0 15px 40px rgb(36 69 63 / 8%);
}

.magazine-card-large {
    grid-row: span 2;
    grid-template-columns: 1fr;
}

.magazine-card-image {
    min-height: 220px;
    overflow: hidden;
}

.magazine-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.magazine-card:hover .magazine-card-image img {
    transform: scale(1.045);
}

.magazine-card > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
}

.magazine-tag {
    color: #92713a;
    font-size: 11px;
    font-weight: bold;
}

.magazine-card time {
    margin-top: 5px;
    color: #8a8a8a;
    font-size: 10px;
}

.magazine-card h2 {
    margin: 10px 0;
    color: var(--primary-dark-color);
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.65;
}

.magazine-card h2 a {
    color: inherit;
    text-decoration: none;
}

.magazine-card p {
    margin: 0 0 18px;
    color: var(--secondary-text-color);
    font-size: 13px;
    line-height: 1.9;
}

.magazine-read {
    margin-top: auto;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
}

.magazine-library-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    max-width: 1180px;
    margin: 0 auto;
}

.magazine-library-grid a {
    position: relative;
    display: flex;
    min-height: 330px;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding: 22px;
    color: #fff;
    background: var(--primary-dark-color);
    border-radius: 16px;
    text-decoration: none;
}

.magazine-library-grid img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .58;
    transition: transform 500ms ease, opacity 500ms ease;
}

.magazine-library-grid a::after {
    position: absolute;
    inset: 38% 0 0;
    background: linear-gradient(transparent, rgb(18 44 39 / 95%));
    content: "";
}

.magazine-library-grid a:hover img {
    opacity: .72;
    transform: scale(1.045);
}

.magazine-library-grid span,
.magazine-library-grid strong {
    position: relative;
    z-index: 1;
}

.magazine-library-grid span {
    margin-bottom: 7px;
    color: #edcf98;
    font-size: 11px;
}

.magazine-library-grid strong {
    font-size: 18px;
    line-height: 1.7;
}

.magazine-newsletter {
    max-width: 1100px;
    margin: 10px auto 90px;
    padding: clamp(35px, 6vw, 65px);
    color: #fff;
    background: var(--primary-dark-color);
    border-radius: 24px;
    text-align: center;
}

.magazine-newsletter > span {
    color: #edcf98;
    font-size: 12px;
}

.magazine-newsletter h2 {
    margin: 10px 0;
    color: #fff;
    font-size: clamp(26px, 4vw, 42px);
}

.magazine-newsletter p {
    margin: 0 0 24px;
    color: #dce5e2;
}

.article-sources a {
    color: var(--primary-color);
    font-weight: bold;
}

.articles-page {
    min-height: calc(100vh - 150px);
}

.articles-hero {
    max-width: 880px;
    margin: 0 auto;
    padding: 90px 24px 30px;
    text-align: center;
}

.articles-hero h1,
.article-header h1 {
    margin: 12px 0 20px;
    color: var(--primary-dark-color);
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.45;
}

.articles-hero p,
.article-header p {
    color: var(--secondary-text-color);
    font-size: 18px;
    line-height: 2;
}

.articles-list {
    margin: 30px auto 90px;
    padding: 0 24px;
}

.article-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px clamp(20px, 5vw, 70px);
    background: #fff;
    border-bottom: 1px solid var(--border-color);
}

.article-topbar > a {
    color: var(--primary-dark-color);
    font-size: 21px;
    font-weight: bold;
    text-decoration: none;
}

.article-topbar nav {
    display: flex;
    gap: 22px;
}

.article-topbar nav a,
.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.article-layout {
    padding: clamp(40px, 7vw, 90px) 20px;
}

.article-content {
    max-width: 780px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 2.05;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 35px;
    color: var(--secondary-text-color);
    font-size: 14px;
}

.article-header {
    margin-bottom: 42px;
}

.article-hero-photo {
    position: relative;
    height: clamp(340px, 58vw, 520px);
    margin: 0 0 38px;
    overflow: hidden;
    background: var(--primary-dark-color);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgb(36 69 63 / 14%);
}

.article-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
}

.article-hero-photo figcaption,
.article-photo-pair figcaption {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 9px 12px;
    color: #fff;
    background: rgb(24 52 47 / 82%);
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.6;
    backdrop-filter: blur(6px);
}

.article-photo-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 38px 0;
}

.article-photo-pair figure {
    position: relative;
    height: 360px;
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
}

.article-photo-pair img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content h2 {
    margin: 42px 0 12px;
    color: var(--primary-dark-color);
    font-size: 28px;
}

.article-content h3 {
    margin: 28px 0 7px;
    color: var(--primary-dark-color);
    font-size: 21px;
}

.article-content p,
.article-content li {
    color: #444;
}

.article-content ul {
    padding-right: 24px;
}

.article-note,
.article-cta {
    margin: 34px 0;
    padding: 24px 28px;
    background: #f2eee4;
    border-right: 4px solid var(--accent-color);
    border-radius: 10px;
}

.article-cta {
    margin-top: 55px;
    padding: clamp(28px, 5vw, 45px);
    color: #fff;
    background: var(--primary-dark-color);
    border: 0;
}

.article-cta h2 {
    margin-top: 0;
    color: #fff;
}

.article-cta p {
    color: #dce5e2;
}

.article-cta .action-link {
    display: inline-block;
}

.measurement-table {
    overflow: hidden;
    margin: 25px 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.measurement-table > div {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.measurement-table > div:last-child {
    border: 0;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 50px auto 0;
}

.services-list .service-card {
    grid-column: span 2;
}

.services-list .service-card:nth-child(4) {
    grid-column-start: 2;
}

.service-card {
    overflow: hidden;
    padding: 0 0 32px;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.service-card {
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgb(36 69 63 / 12%);
}

.service-card-interactive {
    cursor: pointer;
}

.service-card-interactive:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 5px;
}

.service-card-cta {
    display: inline-block;
    margin-top: 24px;
    color: var(--primary-color);
    font-weight: bold;
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 48px;
}

.section-heading .section-title {
    margin: 12px 0;
}

.section-heading p {
    color: var(--secondary-text-color);
}

.portfolio {
    overflow: clip;
    background: #f1eee6;
}

.portfolio .section-heading {
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 16px;
    width: min(1200px, 100%);
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    margin: 0;
    aspect-ratio: 4 / 5;
    background: var(--primary-dark-color);
    border: 1px solid rgb(199 166 107 / 45%);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgb(36 69 63 / 10%);
}

.portfolio-item-large,
.portfolio-item-wide {
    grid-column: span 2;
    aspect-ratio: 8 / 5;
}

.portfolio-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 450ms ease, filter 450ms ease;
}

.portfolio-item:hover img {
    filter: saturate(1.08);
    transform: scale(1.045);
}

.portfolio-item::after {
    position: absolute;
    inset: 38% 0 0;
    background: linear-gradient(transparent, rgb(17 39 35 / 92%));
    content: "";
}

.portfolio-item figcaption {
    position: absolute;
    right: 20px;
    bottom: 19px;
    left: 20px;
    z-index: 1;
    color: #fff;
    text-align: right;
}

.portfolio-item figcaption span,
.portfolio-item figcaption strong {
    display: block;
}

.portfolio-item figcaption span {
    color: #e1c88f;
    font-size: 13px;
}

.portfolio-item figcaption strong {
    margin-top: 5px;
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.5;
}

.portfolio-controls {
    display: none;
}

.portfolio-controls button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    color: var(--primary-dark-color);
    background: #fff;
    border: 1px solid rgb(199 166 107 / 65%);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgb(36 69 63 / 10%);
    cursor: pointer;
    font-size: 20px;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.portfolio-controls button:hover,
.portfolio-controls button:focus-visible {
    color: #fff;
    background: var(--primary-color);
    transform: translateY(-2px);
}

.service-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.service-card h3 {
    margin: 24px 24px 16px;
    color: var(--primary-dark-color);
    font-size: 24px;
}

.service-card p {
    margin: 0 24px;
    color: var(--secondary-text-color);
    line-height: 1.8;
}

.about,
.contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 420px;
}

.about {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 70px;
    text-align: right;
}

.about-visuals {
    position: relative;
    width: 100%;
    min-height: 625px;
    max-width: 540px;
    margin: 0 auto;
}

.history-photo {
    position: absolute;
    overflow: hidden;
    margin: 0;
    padding: 8px 8px 28px;
    background: #eee4cf;
    border: 1px solid #c9b994;
    box-shadow: 0 16px 38px rgb(64 49 30 / 22%);
}

.history-photo-main {
    top: 18px;
    right: 4%;
    width: 70%;
    height: 500px;
    transform: rotate(3deg);
}

.history-photo-secondary {
    bottom: 18px;
    left: 3%;
    z-index: 1;
    width: 52%;
    height: 305px;
    transform: rotate(-5deg);
}

.history-photo img {
    display: block;
    width: 100%;
    height: 100%;
    filter: sepia(38%) saturate(72%) contrast(.96) brightness(.94);
    object-fit: cover;
}

.history-photo::after {
    position: absolute;
    right: 16px;
    bottom: 7px;
    color: #76694f;
    content: "خاطره‌ای از سال‌های دور";
    font-size: 10px;
    font-style: italic;
}

.history-badge {
    position: absolute;
    right: 7%;
    bottom: 52px;
    z-index: 2;
    display: flex;
    width: 120px;
    height: 120px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--primary-dark-color);
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 14px 34px rgb(36 69 63 / 28%);
    text-align: center;
}

.history-badge strong {
    color: #efd58f;
    font-family: Georgia, serif;
    font-size: 38px;
    line-height: 1;
}

.history-badge {
    font-size: 12px;
    line-height: 1.6;
}

.about-story {
    min-width: 0;
}

.about-card {
    max-width: 680px;
}

.about-card .section-title {
    margin: 12px 0 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.about-stats div {
    display: flex;
    min-height: 150px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.about-stats div:first-child {
    grid-column: 1 / -1;
}

.about-stats strong {
    color: var(--primary-color);
    font-family: Georgia, serif;
    font-size: 42px;
}

.about-stats span {
    color: var(--secondary-text-color);
}

.about-description {
    max-width: 750px;
    margin-right: auto;
    margin-left: auto;
}

.testimonials {
    background-color: var(--primary-dark-color);
}

.testimonials .section-title {
    color: var(--surface-color);
}

.testimonials-description {
    max-width: 650px;
    margin-right: auto;
    margin-left: auto;
    color: var(--surface-color);
    line-height: 1.8;
}

.testimonials-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 50px auto 0;
}

.testimonial-card {
    margin: 0;
    padding: 28px 24px;
    background-color: var(--surface-color);
    border-top: 4px solid var(--accent-color);
    border-radius: 12px;
    text-align: right;
}

.sample-label {
    display: inline-block;
    padding: 4px 10px;
    color: var(--secondary-text-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 12px;
}

.testimonial-rating {
    margin: 18px 0 12px;
    color: var(--accent-color);
    font-size: 20px;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    margin: 0;
}

.testimonial-card blockquote p {
    margin: 0 0 24px;
    color: var(--text-color);
    line-height: 1.9;
}

.testimonial-card figcaption {
    color: var(--primary-color);
    font-weight: bold;
}

.review-form-title {
    margin: 0;
    color: var(--primary-dark-color);
    font-size: 28px;
}

.review-form-description {
    margin: -8px 0 0;
    color: var(--secondary-text-color);
    line-height: 1.8;
}

.contact {
    background: #e9eee9;
}

.contact-panel {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    align-items: center;
    gap: 50px;
    width: 100%;
    max-width: 1100px;
    padding: clamp(32px, 5vw, 64px);
    color: #fff;
    background: var(--primary-dark-color);
    border: 1px solid var(--accent-color);
    border-radius: 18px;
    text-align: right;
    box-shadow: 0 24px 60px rgb(36 69 63 / 18%);
}

.contact-panel .section-title {
    margin: 12px 0 18px;
    color: #fff;
}

.contact-panel .contact-description {
    margin: 0;
    color: #d9e2df;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    padding-right: 30px;
    border-right: 1px solid rgb(199 166 107 / 50%);
}

.contact-details span {
    color: #d9e2df;
    font-size: 13px;
}

.contact-service-area {
    margin-bottom: 16px;
    color: #fff;
    font-size: 16px;
    font-style: normal;
}

.contact-details > a {
    margin-bottom: 15px;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.contact-details .action-link {
    background: var(--accent-color);
    color: #1f3934;
}

.order-dialog {
    width: min(680px, calc(100% - 32px));
    padding: clamp(30px, 5vw, 52px);
    background: #fbfaf7;
    border: 1px solid var(--accent-color);
    border-radius: 18px;
    box-shadow: 0 30px 90px rgb(11 28 25 / 35%);
    text-align: center;
}

.order-dialog::backdrop {
    background: rgb(12 31 27 / 72%);
    backdrop-filter: blur(4px);
}

.service-gallery-dialog {
    width: min(1040px, calc(100% - 32px));
    max-height: calc(100vh - 40px);
    padding: clamp(30px, 4vw, 50px);
    background: #f8f6f0;
    border: 1px solid var(--accent-color);
    border-radius: 20px;
    box-shadow: 0 30px 90px rgb(11 28 25 / 38%);
    text-align: center;
}

.service-gallery-dialog::backdrop {
    background: rgb(12 31 27 / 78%);
    backdrop-filter: blur(5px);
}

.service-gallery-dialog > h2 {
    margin: 10px 0;
    color: var(--primary-dark-color);
    font-size: clamp(28px, 4vw, 42px);
}

.service-gallery-dialog > p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--secondary-text-color);
    line-height: 1.8;
}

.service-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 34px 0;
}

.gallery-model-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 13px;
    text-align: right;
}

.gallery-model-card img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.gallery-model-card > div {
    padding: 18px;
}

.gallery-model-card h3 {
    margin: 0 0 7px;
    color: var(--primary-dark-color);
    font-size: 18px;
}

.gallery-model-card p {
    margin: 0;
    color: var(--secondary-text-color);
    font-size: 13px;
    line-height: 1.7;
}

.gallery-placeholder {
    display: flex;
    min-height: 330px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgb(199 166 107 / 9%), rgb(49 92 85 / 7%)),
        #fff;
    border: 1px dashed #bca574;
    text-align: center;
}

.gallery-placeholder-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    color: #90703a;
    background: linear-gradient(145deg, #fffdf8, #eee5d2);
    border: 1px solid #d8bd83;
    border-radius: 20px;
    font-size: 24px;
    box-shadow: 0 8px 18px rgb(74 57 25 / 9%);
}

.gallery-placeholder > div {
    padding-bottom: 0;
    text-align: center;
}

.gallery-order-button {
    border: 1px solid #b88b39;
}

.order-dialog h2 {
    margin: 10px 0;
    color: var(--primary-dark-color);
    font-size: 30px;
}

.order-dialog > p {
    color: var(--secondary-text-color);
}

.dialog-close {
    position: absolute;
    top: 14px;
    left: 18px;
    padding: 4px 10px;
    background: transparent;
    border: 0;
    font-size: 30px;
    cursor: pointer;
}

.order-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.order-option {
    display: flex;
    min-height: 190px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    color: var(--primary-dark-color);
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    transition: border-color 180ms ease, transform 180ms ease;
}

.order-option:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
}

.option-number {
    display: grid;
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    place-items: center;
    color: #fff;
    background: var(--primary-color);
    border-radius: 50%;
}

.order-option strong {
    font-size: 18px;
}

.order-option small {
    margin-top: 9px;
    color: var(--secondary-text-color);
    line-height: 1.7;
}

.dialog-phone-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 14px;
}

.dialog-phone-links a {
    color: var(--primary-color);
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
}

.contact-details {
    font-style: normal;
}

.booking-page {
    min-height: calc(100vh - 150px);
}

.booking {
    min-height: auto;
}

.booking-title {
    margin: 0 0 20px;
    color: var(--primary-dark-color);
    font-size: 40px;
}

.booking-description {
    max-width: 650px;
    margin: 0 auto 40px;
    color: var(--secondary-text-color);
    line-height: 1.8;
}

.appointment-form,
.review-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: right;
}

.review-form {
    margin-top: 50px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--text-color);
    font-weight: bold;
}

.optional-label {
    color: var(--secondary-text-color);
    font-size: 14px;
    font-weight: normal;
}

.form-group input:not([type="checkbox"]),
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font: inherit;
    background-color: var(--surface-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
    border-color: var(--primary-color);
    outline: 3px solid rgb(49 92 85 / 20%);
}

.form-note {
    margin: 0;
    color: var(--secondary-text-color);
    font-size: 14px;
    line-height: 1.8;
}

.form-group .checkbox-label {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    font-weight: normal;
    line-height: 1.7;
}

.checkbox-label input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 4px;
    accent-color: var(--primary-color);
}

.form-submit {
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.site-footer {
    padding: 24px;
    background-color: var(--primary-dark-color);
    color: var(--surface-color);
    text-align: center;
}

.site-footer small {
    font-size: 14px;
}


.advantages {
    position: relative;
    overflow: hidden;
    background: #faf7f1;
}

.advantages::before {
    content: "";
    position: absolute;
    top: -180px;
    left: -130px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(196, 155, 91, .2);
    border-radius: 50%;
    box-shadow: 0 0 0 55px rgba(196, 155, 91, .035);
    pointer-events: none;
}

.advantages-heading {
    position: relative;
    max-width: 720px;
    margin: 0 auto 44px;
    text-align: center;
}

.advantages-heading p {
    margin-top: 14px;
    color: var(--secondary-text-color);
    line-height: 2;
}

.advantages-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-card {
    min-height: 250px;
    padding: 26px 24px;
    border: 1px solid rgba(36, 69, 63, .13);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(36, 69, 63, .06);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.advantage-card:hover {
    border-color: rgba(196, 155, 91, .6);
    box-shadow: 0 18px 38px rgba(36, 69, 63, .1);
    transform: translateY(-5px);
}

.advantage-number {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 50%;
    background: #24453f;
    color: #d9ba80;
    font-size: 13px;
    font-weight: 800;
}

.advantage-card h3 {
    margin: 0 0 12px;
    color: #24453f;
    font-size: 21px;
}

.advantage-card p {
    margin: 0;
    color: #626660;
    line-height: 2;
}

.advantages-action {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1200px;
    margin: 18px auto 0;
    padding: 20px 24px;
    border-radius: 18px;
    background: #eee6da;
}

.advantages-action p {
    margin: 0;
    color: #4f5752;
}

.advantages-action strong {
    color: #24453f;
}

.advantages-action .action-link {
    flex: 0 0 auto;
}

.tailoring-inspiration {
    background: #193732;
    color: #fff;
}

.tailoring-inspiration .section-heading {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.tailoring-inspiration .section-title {
    color: #fff;
}

.tailoring-inspiration .section-heading p {
    color: rgba(255, 255, 255, .72);
}

.inspiration-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.inspiration-card {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    margin: 0;
    border-radius: 24px;
    background: #102723;
}

.inspiration-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.inspiration-card:hover img {
    transform: scale(1.035);
}

.inspiration-card::after {
    content: "";
    position: absolute;
    inset: 38% 0 0;
    background: linear-gradient(to top, rgba(7, 20, 18, .92), transparent);
    pointer-events: none;
}

.inspiration-card figcaption {
    position: absolute;
    z-index: 1;
    right: 24px;
    bottom: 22px;
    left: 24px;
    display: grid;
    gap: 5px;
}

.inspiration-card figcaption strong {
    font-size: 21px;
}

.inspiration-card figcaption span {
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
}

.inspiration-credit {
    margin: 18px auto 0;
    color: rgba(255, 255, 255, .55);
    font-size: 12px;
    text-align: center;
}

.inspiration-credit a {
    color: #d7b77c;
}

.faq {
    background:
        radial-gradient(circle at 12% 18%, rgba(196, 155, 91, .13), transparent 28%),
        linear-gradient(145deg, #f5f0e8 0%, #fbf8f2 55%, #f0e8dc 100%);
}

.faq-heading {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}

.faq-heading p {
    margin: 16px auto 0;
    color: #5f625d;
    line-height: 2;
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 14px;
    max-width: 1120px;
    margin: 0 auto;
}

.faq-item {
    overflow: hidden;
    border: 1px solid rgba(36, 69, 63, .14);
    border-radius: 18px;
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 12px 32px rgba(36, 69, 63, .06);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.faq-item[open] {
    border-color: rgba(196, 155, 91, .55);
    box-shadow: 0 16px 36px rgba(36, 69, 63, .1);
    transform: translateY(-2px);
}

.faq-item summary {
    position: relative;
    padding: 22px 24px 22px 62px;
    color: #24453f;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.8;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    left: 22px;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: #24453f;
    color: #fff;
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-50%);
    transition: transform .25s ease, background .25s ease;
}

.faq-item[open] summary::after {
    background: #b98a43;
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 24px 22px;
}

.faq-answer p {
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid rgba(36, 69, 63, .1);
    color: #555b57;
    line-height: 2;
}

.faq-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1120px;
    margin: 28px auto 0;
    padding: 24px 28px;
    border-radius: 20px;
    background: #24453f;
    color: #fff;
}

.faq-cta div {
    display: grid;
    gap: 6px;
}

.faq-cta strong {
    font-size: 20px;
}

.faq-cta span {
    color: rgba(255, 255, 255, .72);
}

.faq-cta .action-link {
    flex: 0 0 auto;
    border-color: #c49b5b;
    background: #c49b5b;
    color: #172f2b;
}

@media (max-width: 1050px) {
    .magazine-library-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .brand-story {
        grid-template-columns: 1fr;
    }

    .brand-story-copy {
        max-width: 760px;
    }

    .site-header {
        grid-template-columns: auto 1fr auto;
        gap: 16px;
        padding: 20px 24px;
    }

    .menu-toggle {
        display: block;
        grid-column: 3;
        grid-row: 1;
    }

    .main-navigation {
        display: none;
        grid-column: 1 / -1;
        grid-row: 2;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0;
        text-align: right;
    }

    .main-navigation.is-open {
        display: flex;
    }

    .main-navigation a {
        padding: 13px 4px;
        border-bottom: 1px solid var(--border-color);
    }

    .header-order-button {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }
}

@media (max-width: 768px) {
    .magazine-hero {
        grid-template-columns: 1fr;
    }

    .magazine-feature-image {
        height: 430px;
        border-radius: 70px 18px;
    }

    .magazine-grid {
        grid-template-columns: 1fr;
    }

    .magazine-card-large {
        grid-row: auto;
    }

    .magazine-newsletter {
        margin-inline: 24px;
    }

    .section-photo-strip {
        grid-template-columns: 1.15fr .85fr;
        grid-template-rows: repeat(2, 145px);
        height: auto;
        margin-block: 30px 36px;
    }

    .section-photo-strip .photo-wide {
        grid-row: 1 / -1;
    }

    .section-photo-strip figure:nth-child(1),
    .section-photo-strip figure:nth-child(3) {
        transform: none;
    }

    .contact-photo-wall {
        grid-template-columns: 1.25fr .75fr;
        grid-template-rows: repeat(2, 145px);
    }

    section {
        padding: 70px 24px;
    }

    section h2 {
        font-size: 32px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }

    .hero-image {
        border-radius: 100px 14px 100px 14px;
    }

    .hero-slider {
        min-height: clamp(390px, 86vw, 560px);
    }

    .hero-slide {
        border-radius: 100px 14px 100px 14px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-logo-reveal {
        margin-inline: auto;
    }

    .hero-image {
        max-width: 600px;
        margin: 0 auto;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .guides-grid,
    .articles-list {
        grid-template-columns: 1fr;
    }

    .measurement-animation {
        grid-template-columns: 1fr;
    }

    .measurement-stage {
        min-height: 360px;
    }

    .order-methods-grid {
        grid-template-columns: 1fr;
    }

    .method-intro {
        min-height: auto;
    }

    .about,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .about {
        gap: 38px;
    }

    .about-visuals {
        min-height: 600px;
    }

    .contact-details {
        padding: 25px 0 0;
        border-top: 1px solid rgb(199 166 107 / 50%);
        border-right: 0;
    }

    .testimonials-list {
        grid-template-columns: 1fr;
    }

    .appointment-form,
    .review-form {
        grid-template-columns: 1fr;
        padding: 28px 24px;
    }

    .form-group-full {
        grid-column: auto;
    }

    .order-options {
        grid-template-columns: 1fr;
    }

    .service-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .magazine-feature-image {
        height: 340px;
    }

    .magazine-card {
        grid-template-columns: 1fr;
    }

    .magazine-card-image {
        min-height: 210px;
    }

    .magazine-library-grid {
        grid-template-columns: 1fr;
    }

    .magazine-library-grid a {
        min-height: 260px;
    }

    .article-photo-pair {
        grid-template-columns: 1fr;
    }

    .article-photo-pair figure {
        height: 290px;
    }

    .measurement-quick-list {
        gap: 6px;
    }

    .section-photo-strip {
        gap: 7px;
        grid-template-rows: repeat(2, 112px);
    }

    .section-photo-strip figure,
    .contact-photo-wall figure {
        border-radius: 11px;
    }

    .section-photo-strip figcaption {
        right: 7px;
        bottom: 7px;
        padding: 4px 7px;
        font-size: 9px;
    }

    .contact-photo-wall {
        gap: 7px;
        grid-template-rows: repeat(2, 110px);
        margin-bottom: 26px;
    }

    .brand-story-visual {
        min-height: 410px;
        border-radius: 18px 55px;
    }

    .story-fabric {
        top: 130px;
        left: 18px;
        width: 105px;
        height: 145px;
    }

    .story-shirt-photo {
        top: 66px;
        right: 16px;
        width: 165px;
        height: 250px;
    }

    .story-thread {
        top: 212px;
        left: 100px;
        width: calc(100% - 195px);
    }

    .story-needle {
        top: 187px;
    }

    .brand-story-benefits li {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .site-header {
        padding: 13px 16px;
    }

    .brand-copy small {
        display: none;
    }

    .brand img {
        width: 120px;
        height: 46px;
    }

    .brand-copy strong {
        font-size: 16px;
    }

    .brand-mark {
        width: 43px;
        height: 43px;
        font-size: 24px;
    }

    .header-order-button {
        min-height: 44px;
        padding: 10px 18px;
        font-size: 14px;
    }

    .main-navigation {
        gap: 10px 14px;
    }

    .article-navigation {
        display: none;
    }

    .article-topbar {
        padding: 14px 18px;
    }

    .article-topbar nav {
        gap: 14px;
        font-size: 14px;
    }

    .article-layout {
        padding-inline: 18px;
    }

    .article-content {
        font-size: 16px;
    }

    .measurement-table > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    section {
        padding: 56px 18px;
    }

    section h2 {
        font-size: 28px;
    }

    .hero {
        min-height: auto;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .method-actions {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .method-steps li {
        grid-template-columns: 80px 1fr;
        padding-right: 38px;
    }

    .trust-list {
        justify-content: center;
        gap: 10px 18px;
    }

    .service-gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-model-card img {
        height: 280px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .about-visuals {
        min-height: 500px;
        max-width: 410px;
    }

    .history-photo-main {
        width: 72%;
        height: 405px;
    }

    .history-photo-secondary {
        width: 54%;
        height: 245px;
    }

    .history-badge {
        right: 4%;
        bottom: 30px;
        width: 100px;
        height: 100px;
    }

    .about-stats div:first-child {
        grid-column: auto;
    }

    .booking-title {
        font-size: 30px;
    }

    .appointment-form,
    .review-form {
        padding: 24px 18px;
    }

    .service-card {
        padding-bottom: 28px;
    }
}

@media (max-width: 1050px) {
    .advantages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .advantages-action {
        align-items: stretch;
        flex-direction: column;
        text-align: center;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .portfolio-item-large,
    .portfolio-item-wide {
        grid-column: span 2;
    }

    .inspiration-grid {
        grid-template-columns: 1fr;
    }

    .inspiration-card {
        min-height: 360px;
    }

    .faq-list {
        grid-template-columns: 1fr;
    }

    .faq-heading {
        margin-bottom: 30px;
    }

    .faq-cta {
        align-items: stretch;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .advantage-card {
        min-height: auto;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-item,
    .portfolio-item-large,
    .portfolio-item-wide {
        grid-column: auto;
        aspect-ratio: 4 / 5;
    }

    .inspiration-card {
        min-height: 320px;
        border-radius: 18px;
    }

    .faq-item summary {
        padding: 18px 18px 18px 54px;
        font-size: 16px;
    }

    .faq-item summary::after {
        left: 16px;
        width: 28px;
        height: 28px;
    }

    .faq-answer {
        padding: 0 18px 18px;
    }

    .faq-cta {
        padding: 22px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-slide,
    .hero-slide figcaption {
        transition-duration: 1ms;
    }

    .hero-slide.is-active .hero-image,
    .hero-slider-progress::after,
    .portfolio-grid {
        animation: none;
    }

    .hero-logo-reveal {
        clip-path: none;
        animation: none;
    }

    .hero-logo-shine {
        display: none;
        animation: none;
    }

    .hero-logo-heading::after {
        transform: scaleX(1);
        animation: none;
    }

    .measure-chest,
    .measure-waist,
    .measure-height,
    .measurement-status i {
        animation: none;
    }

    .measure-line {
        opacity: .8;
        transform: translateX(-50%) scaleX(1);
    }

    .measure-height {
        opacity: .8;
        transform: none;
    }

    .story-glow,
    .story-fabric,
    .story-thread,
    .story-needle,
    .story-shirt-photo,
    .story-shirt-photo::after,
    .story-shirt-photo img,
    .story-step {
        animation: none;
    }

    .story-shirt-photo {
        opacity: 1;
        transform: none;
    }

    .story-shirt-photo img {
        transform: scale(1.06);
    }

    .story-step-three {
        opacity: 1;
        transform: translateX(-50%);
    }
}

