:root {
    --bg: #f8f1ef;
    --bg-soft: #f3e7e4;
    --surface: rgba(255, 255, 255, 0.9);
    --surface-strong: #ffffff;
    --text: #342d2c;
    --muted: #766867;
    --line: rgba(79, 58, 56, 0.12);
    --accent: #c59b96;
    --accent-deep: #c59b96;
    --accent-soft: #efe0de;
    --shadow: 0 18px 44px rgba(38, 28, 27, 0.06);
    --radius-xl: 40px;
    --radius-lg: 28px;
    --radius-md: 22px;
    --radius-sm: 16px;
    --container: min(1160px, calc(100vw - 32px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--text);
    overflow-x: hidden;
    background: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.page-shell {
    min-height: 100vh;
    overflow-x: clip;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(79, 58, 56, 0.08);
}

.nav-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    margin-right: auto;
}

.brand-name {
    display: inline-block;
    font-family: "Cinzel", serif;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: clamp(1.35rem, 1.75vw, 1.75rem);
    line-height: 1;
    color: var(--text);
}

.site-nav,
.lang-switcher,
.carousel-controls,
.studio-toolbar-actions,
.studio-submit-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-nav a,
.lang-switcher a {
    padding: 10px 14px;
    color: var(--muted);
    transition: 180ms ease;
}

.site-nav {
    margin-left: auto;
    justify-content: flex-end;
}

.lang-switcher {
    margin-left: 18px;
}

.lang-switcher-nav {
    display: none;
}

.site-nav a:hover,
.site-nav a.active,
.lang-switcher a:hover,
.lang-switcher a.active {
    background: transparent;
    color: var(--accent-deep);
}

.site-nav a {
    position: relative;
    font-weight: 600;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    border-radius: 999px;
    background: transparent;
    transition: background 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
    background: var(--accent);
}

.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 8px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    margin: 5px 0;
    border-radius: 999px;
    background: var(--text);
}

.home-visual,
.hero,
.page-hero,
.content-section,
.metrics-section,
.cta-section {
    padding: 36px 0 48px;
}

.page-hero {
    padding-top: 64px;
}

.page-hero-compact {
    padding-bottom: 18px;
}

.home-visual {
    padding-top: 28px;
    padding-bottom: 0;
}

.home-visual .container {
    overflow: hidden;
}

.home-visual-frame {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-xl);
    background: #ffffff;
    border: 1px solid rgba(197, 155, 150, 0.14);
    box-shadow: var(--shadow);
}

.home-visual-frame img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-visual-caption {
    margin: 14px 8px 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.hero-grid,
.metrics-grid,
.feature-grid,
.service-grid,
.blog-grid,
.footer-grid,
.split-layout,
.studio-hero-grid,
.studio-layout {
    display: grid;
    gap: 24px;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 14px;
    align-items: start;
}

.hero-copy h1,
.page-hero h1,
.feature-card h2,
.service-card h2,
.blog-card h2,
.studio-sidebar-head h3,
.studio-section h3,
.studio-toolbar h2,
.studio-login-card h2,
.studio-cropper-head h3 {
    font-family: "Cormorant Garamond", serif;
    letter-spacing: -0.04em;
}

.hero-copy h1,
.page-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(2.55rem, 4.7vw, 4.1rem);
    line-height: 0.98;
    max-width: 12ch;
}

.hero-text,
.page-hero p,
.content-section p,
.cta-card p,
.footer-copy,
.footer-contact p {
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.76;
}

.hero-copy {
    max-width: 860px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent-deep);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 800;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button,
.carousel-button,
.studio-upload {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.carousel-button:hover {
    transform: translateY(-2px);
}

.button-primary,
.carousel-button {
    border: 0;
    background: var(--accent);
    color: #ffffff;
    box-shadow: none;
}

.carousel-button:disabled {
    opacity: 0.45;
    cursor: default;
    transform: none;
}

.button-secondary,
.studio-upload {
    border: 1px solid var(--line);
    background: #ffffff;
    color: var(--text);
}

.hero-panel {
    position: relative;
    min-height: auto;
    display: grid;
    place-items: start;
    padding-top: 140px;
}

.panel-card,
.metric-card,
.feature-card,
.highlight-card,
.service-card,
.blog-card,
.cta-card,
.studio-login-card,
.studio-sidebar,
.studio-editor,
.studio-stat,
.studio-section,
.studio-preview-card,
.studio-cropper-dialog {
    overflow: hidden;
    border: 1px solid rgba(197, 155, 150, 0.14);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.panel-card {
    position: relative;
    z-index: 2;
    max-width: 420px;
    padding: 30px;
    border-radius: var(--radius-xl);
}

.panel-label {
    margin: 0 0 12px;
    font-size: 1.2rem;
    font-weight: 800;
}

.panel-body {
    margin: 0;
}

.panel-orb {
    position: absolute;
    right: 10px;
    bottom: -24px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 155, 150, 0.2), rgba(197, 155, 150, 0.03) 58%, transparent 72%);
    filter: blur(18px);
}

.metrics-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: -8px;
}

.metric-card {
    padding: 30px;
    border-radius: var(--radius-lg);
    background: #fcfbfb;
}

.metric-card strong {
    display: block;
    margin-bottom: 10px;
    font-family: "Cormorant Garamond", serif;
    font-size: 2.5rem;
}

.section-heading,
.carousel-header {
    margin-bottom: 22px;
}

.feature-grid,
.service-grid,
.blog-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
}

.feature-card,
.service-card,
.blog-card {
    border-radius: var(--radius-lg);
}

.feature-card,
.service-card {
    padding: 30px;
}

.feature-card h2,
.service-card h2,
.blog-card h2 {
    margin: 0 0 12px;
    font-size: 2rem;
}

.narrow {
    max-width: 760px;
}

.split-layout {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
}

.highlight-card {
    padding: 30px;
    border-radius: var(--radius-xl);
}

.highlight-list {
    margin: 0;
    padding-left: 22px;
    color: var(--muted);
    line-height: 1.9;
}

.service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 54px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: rgba(197, 155, 150, 0.16);
    color: var(--accent-deep);
    font-weight: 800;
}

.blog-grid {
    gap: 24px;
}

.blog-card {
    padding: 0;
}

.blog-card-link a {
    display: block;
    height: 100%;
}

.blog-image,
.post-cover {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.blog-image {
    height: 220px;
    border-bottom: 1px solid var(--line);
}

.blog-card-body {
    padding: 24px;
}

.text-link {
    display: inline-flex;
    margin-top: 14px;
    font-weight: 800;
    color: var(--accent-deep);
}

.carousel-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.carousel-copy {
    max-width: 620px;
    margin: 0;
}

.blog-carousel {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: calc((100% - 44px) / 3);
    gap: 22px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.blog-carousel::-webkit-scrollbar {
    display: none;
}

.blog-carousel .carousel-card {
    width: auto !important;
    min-width: 0;
    max-width: none;
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 34px;
    border-radius: var(--radius-xl);
    background: #fcfbfb;
}

.post-hero .narrow {
    max-width: 980px;
}

.post-hero h1 {
    max-width: 15ch;
}

.post-back-link {
    margin-bottom: 18px;
}

.post-content {
    padding: 2px 0;
    max-width: 860px;
}

.post-content p {
    margin: 0 0 20px;
    font-size: 1.04rem;
    line-height: 1.95;
}

.about-hero-grid,
.materials-grid,
.materials-inline-card {
    display: grid;
    gap: 24px;
}

.about-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: start;
}

.about-copy {
    max-width: 700px;
}

.about-copy h1 {
    max-width: 8ch;
}

.about-body-copy {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.about-side {
    display: grid;
    gap: 18px;
    align-self: start;
}

.about-photo-frame {
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(197, 155, 150, 0.14);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.about-photo-frame img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.materials-inline-card {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
    align-items: stretch;
    padding: 30px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(197, 155, 150, 0.14);
    background: #fcfbfb;
    box-shadow: var(--shadow);
}

.materials-inline-copy h2,
.material-card h2 {
    margin: 0 0 10px;
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    letter-spacing: -0.04em;
}

.materials-inline-copy p,
.material-card p,
.material-update-box p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.materials-inline-copy {
    display: grid;
    gap: 14px;
    align-content: start;
}

.materials-inline-preview {
    align-self: stretch;
}

.materials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
}

.material-card {
    display: grid;
    gap: 16px;
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(197, 155, 150, 0.14);
    background: #fcfbfb;
    box-shadow: var(--shadow);
}

.material-card-link {
    padding: 0;
}

.material-card-link a {
    display: block;
    height: 100%;
}

.material-thumb {
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
}

.material-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.material-card-body {
    display: grid;
    gap: 14px;
    padding: 24px;
}

.material-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(197, 155, 150, 0.16);
    color: var(--accent-deep);
    font-weight: 800;
}

.video-placeholder,
.material-update-box {
    display: grid;
    place-items: center;
    min-height: 220px;
    padding: 24px;
    border-radius: 24px;
    border: 1px dashed rgba(197, 155, 150, 0.4);
    background:
        linear-gradient(180deg, rgba(197, 155, 150, 0.1), rgba(197, 155, 150, 0.04)),
        #ffffff;
    text-align: center;
}

.video-placeholder span {
    max-width: 26ch;
    color: var(--muted);
    line-height: 1.7;
}

.material-list {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.8;
}

.material-update-box {
    place-items: start;
    align-content: start;
    text-align: left;
    gap: 10px;
}

.material-update-box strong {
    color: var(--accent-deep);
}

.material-player-card {
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(197, 155, 150, 0.14);
    background: #fcfbfb;
    box-shadow: var(--shadow);
}

.material-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f4efee;
}

.material-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.material-video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.material-content {
    max-width: 860px;
}

.site-footer {
    margin-top: 24px;
    padding: 34px 0 46px;
    background: rgba(255, 255, 255, 0.88);
    border-top: 1px solid rgba(79, 58, 56, 0.08);
}

.footer-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
}

.footer-brand {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 800;
}

.footer-contact span {
    font-weight: 700;
    color: var(--text);
}

.studio-link {
    display: inline-flex;
    margin-top: 14px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    opacity: 0.22;
    text-transform: uppercase;
    transition: opacity 180ms ease;
}

.studio-link:hover {
    opacity: 0.62;
}

.post-layout {
    padding-bottom: 30px;
}

.post-shell {
    display: grid;
    gap: 22px;
    max-width: 860px;
    margin: 0 auto;
}

.post-cover {
    aspect-ratio: 16 / 9;
    max-height: 420px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow);
    background: var(--surface);
}

.post-content {
    padding: 6px 0;
}

.post-content p {
    margin: 0 0 18px;
}

.contact-form-card {
    display: grid;
    gap: 20px;
    padding: 32px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(197, 155, 150, 0.14);
    background: #fcfbfb;
    box-shadow: var(--shadow);
}

.contact-form-copy h2 {
    margin: 0 0 8px;
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
}

.contact-form-copy p {
    margin: 0;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-form-grid label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-weight: 700;
}

.contact-form-grid input,
.contact-form-grid textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    padding: 15px 16px;
    font: inherit;
    color: var(--text);
}

.contact-form-message {
    grid-column: 1 / -1;
}

.contact-form-grid button {
    justify-self: start;
}

.studio-shell,
.studio-editor-form,
.studio-library,
.studio-fields,
.studio-cover-grid,
.studio-cropper-controls {
    display: grid;
    gap: 18px;
}

.studio-hero {
    padding-bottom: 18px;
}

.studio-hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: stretch;
}

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

.studio-stat {
    display: grid;
    gap: 6px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: #ffffff;
}

.studio-stat strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.8rem;
}

.studio-stat span {
    color: var(--muted);
}

.studio-login-card {
    display: grid;
    gap: 20px;
    max-width: 560px;
    padding: 34px;
    border-radius: var(--radius-xl);
}

.studio-login-form {
    max-width: 420px;
}

.studio-layout {
    grid-template-columns: 330px minmax(0, 1fr);
    align-items: start;
}

.studio-sidebar,
.studio-editor {
    border-radius: var(--radius-xl);
}

.studio-sidebar {
    position: sticky;
    top: 104px;
    padding: 22px;
}

.studio-editor {
    padding: 24px;
}

.studio-sidebar-head,
.studio-toolbar,
.studio-section-head,
.studio-cropper-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.studio-sidebar-head h3,
.studio-section h3,
.studio-toolbar h2,
.studio-login-card h2,
.studio-cropper-head h3 {
    margin: 0;
    font-size: 2.1rem;
}

.studio-sidebar-head span,
.studio-section-head p,
.studio-library-item p,
.studio-helper,
.studio-cropper-controls p,
.studio-toolbar-copy p {
    color: var(--muted);
}

.studio-toolbar {
    flex-wrap: wrap;
}

.studio-toolbar-copy p,
.studio-toolbar-copy h2 {
    margin: 0;
}

.studio-library-item {
    display: grid;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
}

.studio-library-item.is-active {
    border-color: rgba(197, 155, 150, 0.55);
    box-shadow: 0 12px 34px rgba(107, 77, 72, 0.08);
}

.studio-library-link {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.studio-library-link img {
    width: 84px;
    height: 64px;
    border-radius: 16px;
    object-fit: cover;
}

.studio-library-link strong,
.studio-preview-card h4 {
    display: block;
    margin: 0 0 6px;
    font-size: 1rem;
}

.studio-delete-button {
    justify-self: end;
    border: 0;
    background: transparent;
    color: var(--accent-deep);
    font-weight: 800;
    cursor: pointer;
}

.studio-form label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-weight: 700;
}

.studio-form input,
.studio-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    padding: 15px 16px;
    font: inherit;
    color: var(--text);
}

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

.studio-body-field {
    min-height: 360px;
}

.studio-section {
    padding: 24px;
    border-radius: var(--radius-lg);
}

.studio-fields-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.studio-cover-grid {
    grid-template-columns: minmax(0, 1.2fr) 290px;
    align-items: start;
}

.studio-cover-preview {
    overflow: hidden;
    border-radius: 24px;
    background: var(--bg-soft);
    aspect-ratio: 16 / 9;
}

.studio-cover-preview img,
.studio-preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.studio-cover-controls {
    display: grid;
    gap: 14px;
    align-content: start;
}

.studio-upload {
    cursor: pointer;
}

.studio-upload input {
    display: none;
}

.studio-tabs {
    display: inline-flex;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(197, 155, 150, 0.18);
}

.studio-tab {
    border: 0;
    background: transparent;
    border-radius: 999px;
    padding: 12px 18px;
    font: inherit;
    font-weight: 800;
    color: var(--muted);
    cursor: pointer;
}

.studio-tab.is-active {
    background: #ffffff;
    color: var(--text);
    box-shadow: 0 8px 24px rgba(107, 77, 72, 0.08);
}

.studio-language-panel {
    display: none;
    margin-top: 18px;
}

.studio-language-panel.is-active {
    display: block;
}

.studio-preview-card {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border-radius: 24px;
    background: #ffffff;
}

.studio-preview-card img {
    border-radius: 18px;
    aspect-ratio: 16 / 10;
}

.studio-submit-row {
    flex-wrap: wrap;
}

.studio-alert {
    margin: 0;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(197, 155, 150, 0.18);
    color: var(--accent-deep);
    font-weight: 700;
}

.studio-alert-error {
    background: rgba(143, 110, 105, 0.16);
}

.studio-cropper {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    padding: 24px;
}

.studio-cropper[hidden] {
    display: none;
}

.studio-cropper-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(42, 31, 30, 0.52);
    backdrop-filter: blur(8px);
}

.studio-cropper-dialog {
    position: relative;
    z-index: 1;
    width: min(920px, calc(100vw - 32px));
    padding: 24px;
    border-radius: var(--radius-xl);
}

.studio-close {
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.studio-cropper-stage {
    margin: 20px 0;
}

.studio-crop-area {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    background:
        linear-gradient(45deg, rgba(255,255,255,0.14) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.14) 75%),
        linear-gradient(45deg, rgba(255,255,255,0.14) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.14) 75%),
        #dfd0ce;
    background-size: 28px 28px;
    background-position: 0 0, 14px 14px;
    touch-action: none;
}

.studio-crop-area img {
    position: absolute;
    top: 0;
    left: 0;
    user-select: none;
    -webkit-user-drag: none;
    transform-origin: top left;
    cursor: grab;
}

.studio-crop-area img.is-dragging {
    cursor: grabbing;
}

.studio-cropper-controls input[type="range"] {
    padding: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 960px) {
    .hero-grid,
    .metrics-grid,
    .feature-grid,
    .service-grid,
    .blog-grid,
    .footer-grid,
    .about-hero-grid,
    .materials-grid,
    .materials-inline-card,
    .split-layout,
    .studio-hero-grid,
    .studio-layout,
    .studio-fields-compact,
    .studio-cover-grid,
    .studio-preview-card {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        min-height: auto;
        place-items: start;
        padding-top: 0;
    }

    .cta-card,
    .carousel-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .blog-carousel {
        grid-auto-columns: calc((100% - 22px) / 2);
    }

    .studio-sidebar {
        position: static;
    }
}

@media (max-width: 760px) {
    .home-visual,
    .hero,
    .page-hero,
    .content-section,
    .metrics-section,
    .cta-section {
        padding: 24px 0 32px;
    }

    .page-hero {
        padding-top: 28px;
    }

    .home-visual {
        padding-top: 18px;
        padding-bottom: 4px;
    }

    .home-visual-frame {
        border-radius: 28px;
    }

    .home-visual-caption {
        margin: 10px 4px 0;
        font-size: 0.84rem;
    }

    .nav-wrap {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 16px 0 14px;
    }

    .brand {
        width: 100%;
        justify-content: center;
        margin-right: 0;
        text-align: center;
    }

    .nav-toggle {
        display: block;
        margin: 0 auto;
        order: 2;
        padding: 10px 14px;
        border-radius: 999px;
        border: 1px solid rgba(197, 155, 150, 0.22);
        background: #ffffff;
    }

    .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-top: 12px;
        order: 4;
        gap: 6px;
    }

    .site-nav.is-open {
        display: flex;
        padding: 14px;
        border: 1px solid rgba(197, 155, 150, 0.16);
        border-radius: 24px;
        background: #ffffff;
        box-shadow: var(--shadow);
    }

    .site-nav a {
        border-radius: 14px;
        text-align: center;
        padding: 12px 16px;
    }

    .lang-switcher {
        order: 4;
        width: 100%;
        margin-left: 0;
        justify-content: flex-start;
    }

    .lang-switcher-desktop {
        display: none;
    }

    .lang-switcher-nav {
        display: flex;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .brand-name {
        font-size: 1.18rem;
    }

    .hero-copy h1,
    .page-hero h1 {
        font-size: clamp(1.84rem, 8.2vw, 2.42rem);
        line-height: 1.02;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .eyebrow {
        margin-bottom: 14px;
        font-size: 0.72rem;
        letter-spacing: 0.12em;
    }

    .hero-text,
    .page-hero p,
    .content-section p,
    .cta-card p {
        font-size: 0.96rem;
        line-height: 1.7;
    }

    .hero-text {
        margin-bottom: 8px;
    }

    .post-hero h1 {
        max-width: 100%;
    }

    .post-back-link {
        margin-bottom: 12px;
    }

    .hero-actions {
        margin-top: 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .hero-actions .button {
        width: 100%;
        min-height: 50px;
    }

    .hero-panel {
        margin-top: 4px;
        padding-top: 0;
    }

    .panel-card {
        max-width: none;
        width: 100%;
    }

    .carousel-header {
        gap: 14px;
        margin-bottom: 16px;
    }

    .carousel-controls {
        width: 100%;
        justify-content: flex-start;
        gap: 8px;
    }

    .carousel-button {
        min-width: 54px;
        min-height: 48px;
        padding: 0 16px;
    }

    .panel-card,
    .feature-card,
    .service-card,
    .cta-card,
    .metric-card,
    .highlight-card,
    .blog-card-body,
    .studio-login-card,
    .studio-sidebar,
    .studio-editor,
    .studio-section,
    .studio-cropper-dialog {
        padding: 22px;
    }

    .blog-image {
        height: 168px;
    }

    .material-thumb img {
        height: 168px;
    }

    .post-cover {
        max-height: 280px;
    }

    .about-photo-frame img {
        height: 240px;
    }

    .about-body-copy {
        margin-top: 12px;
    }

    .blog-carousel {
        grid-auto-columns: 86%;
        gap: 14px;
    }

    .studio-library-link {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(100vw - 24px, 1160px);
    }

    .brand-name {
        font-size: 1.05rem;
        letter-spacing: 0.015em;
    }

    .hero-copy h1,
    .page-hero h1 {
        font-size: clamp(1.72rem, 7.6vw, 2.18rem);
        max-width: 100%;
    }

    .panel-card,
    .feature-card,
    .service-card,
    .cta-card,
    .metric-card,
    .highlight-card,
    .blog-card-body {
        padding: 20px;
    }

    .metric-card strong {
        font-size: 2.15rem;
    }

    .blog-carousel {
        grid-auto-columns: 90%;
    }
}
