/* ============================================================
   Cálma — inner pages (Shimma: about, classes, class,
   events, event, team, member, blog, post, products, product,
   contact, 404, style guide) + shared nav mega menu.
   Values measured on shimma.webflow.io at 1440 / 1247 / 390.
   ============================================================ */

/* ---------- nav ---------- */
.nav-menu { align-items: center; }
.btn.full { width: 100%; }

/* ---------- shared inner-page scaffolding ---------- */
body.inner { background: var(--page); }
.page-section { background: var(--alt); padding: 240px 0 160px; }
.page-title-block { width: 100%; max-width: 630px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.page-title-block.w660 { max-width: 660px; }
.page-title-block.w704 { max-width: 704px; }
.page-title-block.w797 { max-width: 797px; }
.page-title-block.mb60 { margin-bottom: 60px; }
.page-title-block.mb70 { margin-bottom: 70px; }
.page-title-block.mb80 { margin-bottom: 80px; }
.page-title { margin-top: 10px; font-size: 70px; color: var(--heading); }
.page-sub { margin-top: 10px; color: var(--text); }
.breadcrumb { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; font-size: 18px; line-height: 130%; font-weight: 500; text-transform: uppercase; color: var(--primary); }
.crumb-link { color: var(--badge); transition: color .3s; }
.crumb-link:hover { color: var(--primary); }
.breadcrumb.light { color: var(--light); }
.breadcrumb.light .crumb-link { color: rgba(255, 249, 241, .6); }
.breadcrumb.light .crumb-link:hover { color: var(--light); }
.hline.static, .hline.mb80 { transform: none; }
.hline.mb80 { margin-bottom: 80px; }
.center { text-align: center; }
.rich h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 28px; line-height: 110%; letter-spacing: -.01em; color: var(--heading); margin-bottom: 30px; }
.rich p { color: var(--text); line-height: 1.8em; margin-bottom: 80px; }
.rich > :last-child { margin-bottom: 0; }
.post-lead { color: var(--text); line-height: 1.9em; margin-bottom: 80px; }
.post-section { padding: 160px 0 80px; }
.single-image { position: relative; width: 100%; height: 690px; overflow: hidden; }
.single-image > img { width: 100%; height: 100%; object-fit: cover; }
.side-title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 28px; line-height: 110%; letter-spacing: -.01em; color: var(--heading); margin-bottom: 30px; }

/* ---------- ABOUT ---------- */
.about-hero { position: relative; height: 902px; padding-bottom: 140px; overflow: hidden; color: var(--light); isolation: isolate; }
.about-hero-video { position: absolute; inset: 0; z-index: -2; }
.about-hero-video video { width: 100%; height: 100%; object-fit: cover; }
.about-hero-linear { position: absolute; inset: 0; z-index: -1; background: rgba(84, 56, 18, .5); }
.about-hero-container { height: 100%; display: flex; justify-content: flex-end; align-items: flex-end; }
.about-hero-contents { width: 100%; max-width: 712px; text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.about-hero-contents .breadcrumb { justify-content: flex-end; }
.about-hero-title { margin: 10px 0 20px; font-size: 70px; color: var(--page); }
.about-hero-paragraph { max-width: 611px; }
.video-button { position: absolute; right: 18px; bottom: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.video-button svg { width: 24px; height: 24px; }
.video-button .i-play, .video-button.paused .i-pause { display: none; }
.video-button.paused .i-play { display: block; }

.about-split { padding: 160px 0; }
.about-split-layout { display: flex; align-items: flex-start; gap: 60px; }
.about-split-texts { position: sticky; top: 160px; flex: 0 0 calc(50% - 30px); display: flex; flex-direction: column; align-items: flex-start; }
.about-split-texts .badge { margin-bottom: 30px; }
.about-split-texts h2 { font-size: 70px; color: var(--heading); margin-bottom: 20px; }
.about-split-texts p { color: var(--text); margin-bottom: 30px; }
.about-split-images { flex: 1; display: flex; flex-direction: column; gap: 100px; }
.about-split-image { position: sticky; top: 160px; aspect-ratio: 675 / 448; overflow: hidden; }
.about-split-image img { width: 100%; height: 100%; object-fit: cover; }

.metrics-section { padding: 160px 0; }
.metrics-layout { display: flex; flex-direction: column; gap: 60px; }
.metrics-title-block { max-width: 700px; }
.metrics-title-block .badge { margin-bottom: 30px; }
.metrics-title-block h2 { font-size: 70px; color: var(--heading); margin-bottom: 20px; }
.metrics-title-block p { max-width: 611px; color: var(--text); margin-bottom: 33px; }
.metrics-widgets { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 217px; gap: 16px; }
.metrics-widget { background: var(--page); overflow: hidden; }
.metrics-widget.m-empty { background: transparent; }
.metrics-widget.m-tall { grid-column: 4; grid-row: 1 / span 2; }
.metrics-widget img { width: 100%; height: 100%; object-fit: cover; }
.metrics-counter { padding: 27px 27px 33px; display: flex; flex-direction: column; justify-content: space-between; color: var(--heading); }
.metrics-counter.m-dark { background: var(--primary); color: #fff; }
.metrics-number { display: flex; align-items: flex-start; font-family: var(--serif); font-size: 70px; line-height: 61px; font-weight: 400; letter-spacing: -.5px; }
.odo.big { height: 1.15em; margin: 0; font-family: var(--serif); font-style: normal; font-size: 70px; line-height: 1.15em; font-weight: 400; letter-spacing: -.5px; color: inherit; font-variant-numeric: lining-nums tabular-nums; }
.odo.big .col { transition-duration: 2.4s; }
.odo.big .col span { height: 1.15em; text-align: center; }
.metrics-number { font-variant-numeric: lining-nums; line-height: 1.15em; }
.metrics-counter-text { color: var(--text); text-transform: capitalize; }
.m-dark .metrics-counter-text { color: #fff; }

.vision-section { padding: 160px 0; background-color: #2E2016; background-image: radial-gradient(rgba(255, 249, 241, .1) 1.2px, transparent 1.6px); background-size: 24px 24px; color: #fff; }
.vision-title-wrap { max-width: 712px; margin: 0 auto 80px; text-align: center; }
.vision-subtitle { font-weight: 600; margin-bottom: 16px; text-transform: capitalize; }
.vision-title-wrap h2 { font-size: 70px; margin-bottom: 24px; }
.vision-title-wrap p { max-width: 611px; margin: 0 auto; }
.vision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vision-card { background: var(--page); color: var(--dark); text-align: center; padding: 30px; }
.vision-card .line-icon { width: 32px; height: 32px; margin: 0 auto 20px; color: var(--heading); }
.vision-card h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 110%; letter-spacing: -.01em; margin-bottom: 16px; }

/* ---------- CLASSES ---------- */
.class-section { padding-bottom: 140px; }
.class-section .page-title-block { margin-bottom: 60px; }
.class-section .class-cards { row-gap: 24px; }
.class-section .class-card { max-height: none; }

/* class single */
.label-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 80px; }
.label-key { color: var(--heading); font-weight: 400; margin-bottom: 20px; }
.label-value { font-family: var(--sans); font-size: 16px; line-height: 130%; font-weight: 500; letter-spacing: normal; color: var(--primary); }
.vline { flex: none; width: 3px; height: 60px; background: rgba(43, 29, 18, .1); }
.post-section .hline, .event-sidebar .hline, .time-table .hline, .blog-author .hline, .team-single .hline { background: rgba(43, 29, 18, .1); }
.class-details-block { display: flex; align-items: flex-start; gap: 63px; margin-bottom: 70px; }
.time-table { flex: 0 0 534px; background: #fff; padding: 30px; }
.time-widget { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 30px 0; }
.time-table .time-widget:last-child { padding-bottom: 0; }
.day-name { width: 100%; max-width: 111px; font-size: 24px; line-height: 100%; font-weight: 600; letter-spacing: -.02em; color: var(--heading); }
.time-icon { flex: none; width: 48px; height: 22px; color: var(--heading); }
.time-zone { font-size: 18px; line-height: 100%; font-weight: 600; letter-spacing: -.02em; color: var(--heading); white-space: nowrap; min-width: 9.4em; text-align: right; }
.class-details { flex: 1; max-width: 1022px; }
.rich-01 { margin-top: 80px; }
.rich-01 p, .rich-02 p { line-height: 1.9em; }
.post-cards { display: flex; justify-content: space-between; gap: 30px; background: #fff; padding: 40px 80px; }
.post-card { width: 100%; max-width: 245px; padding: 89px 0; }
.post-card-icon { width: 50px; height: 50px; margin-bottom: 16px; color: var(--heading); }
.post-card h4 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 28px; line-height: 28px; letter-spacing: -.01em; color: var(--heading); margin-bottom: 12px; }
.post-card p { color: var(--text); line-height: 150%; }
.vborder { flex: none; width: 1px; background: rgba(43, 29, 18, .3); }
.class-rich-wrap { max-width: 1022px; margin: 90px 0 0 auto; }
.rich-02 { margin: 80px 0; }
.rich-02 p { margin-bottom: 80px; }

/* ---------- EVENTS ---------- */
.events-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.events-card { background: var(--page); padding: 30px; display: flex; flex-direction: column; gap: 30px; }
.events-card .event-image { flex: none; }
.events-card .event-title-block { height: auto; flex: 1; gap: 16px; }
.single-hero .page-title-block { max-width: 760px; }
.event-section .event-text { color: var(--primary); }
a.event-image { display: block; }
.event-title { transition: opacity .3s; }
a.event-title:hover { opacity: .8; }
.event-hero-image .event-date-box { pointer-events: none; }
.event-post { padding-bottom: 160px; }
.event-post-layout { display: flex; justify-content: space-between; align-items: flex-start; gap: 64px; }
.event-sidebar { flex: 0 0 534px; position: sticky; top: 140px; background: #fff; padding: 30px; }
.event-sidebar .side-title { margin-bottom: 30px; }
.side-widget { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 30px 0; }
.side-widget.column { flex-direction: column; align-items: flex-start; padding-bottom: 30px; }
.side-label { font-size: 24px; line-height: 100%; font-weight: 600; letter-spacing: -.02em; color: var(--heading); white-space: nowrap; }
.side-value { color: var(--text); font-weight: 600; text-align: right; }
.side-details { color: var(--text); font-size: 16px; line-height: 1.7em; }
.event-post-wrapper { flex: 1; max-width: 1022px; }
.event-post-wrapper .post-lead { line-height: 1.8em; margin-bottom: 80px; }
.related-block { margin-top: 160px; display: flex; flex-direction: column; gap: 60px; }
.related-block .page-title { text-align: center; margin-top: 0; }
.related-cards { width: 100%; max-width: 1109px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.event-card.related-card { background: var(--alt); }

/* ---------- TEAM ---------- */
.team-section .page-title-block { margin-bottom: 60px; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.team-card-page .team-image-wrap { height: 511px; }
.team-card-page .team-name { color: var(--heading); }
.team-card-page .team-service { color: var(--text); }
.team-details-image { width: 100%; max-width: 770px; height: 511px; margin: 0 auto 143px; border: 15px solid var(--date-bg); overflow: hidden; }
.team-details-image img { width: 100%; height: 100%; object-fit: cover; }
/* team members without a photo yet: their initial on sand, in the heading face */
.team-monogram { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, var(--page), var(--alt) 75%); transition: transform .5s ease; }
.team-monogram span { font: 400 clamp(110px, 16vw, 200px)/1 var(--serif); color: var(--heading); opacity: .85; }
.team-image-wrap:is(:hover, :focus-within) .team-monogram { transform: scale(1.05); }
.team-middle { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 60px; }
.team-share { width: 100%; max-width: 300px; display: flex; flex-direction: column; gap: 20px; }
.team-label { width: 100%; max-width: 300px; color: var(--heading); font-size: 16px; line-height: 130%; text-transform: capitalize; }
.team-services { width: 100%; max-width: 886px; display: flex; justify-content: space-between; align-items: flex-start; }
.team-service-item { display: flex; flex-direction: column; gap: 20px; }
.team-service-text { font-family: var(--sans); font-size: 18px; line-height: 130%; font-weight: 500; letter-spacing: normal; color: var(--primary); }
.team-about { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 80px; }
.team-about-text { width: 100%; max-width: 886px; color: var(--text); line-height: 1.8em; }
.team-about-text p + p { margin-top: 1.2em; }

/* ---------- BLOG ---------- */
.blog-section .page-title-block { margin-bottom: 60px; }
.blog-cards { width: 100%; max-width: 1109px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.blog-card { background: var(--page); padding: 30px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 100px; align-items: start; }
.blog-card-title-block { max-width: 432px; }
.blog-card-date { color: var(--text); margin-bottom: 5px; }
.blog-card-title { display: block; max-width: 300px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 28px; line-height: 130%; letter-spacing: -.01em; color: var(--heading); margin-bottom: 10px; transition: opacity .3s; }
.blog-card-title:hover { opacity: .8; }
.blog-card .event-text { color: var(--text); }
.blog-post { padding-bottom: 80px; }
.blog-details-layout { display: flex; justify-content: space-between; align-items: flex-start; gap: 160px; }
.blog-author { flex: 0 0 330px; position: sticky; top: 140px; }
.author-row { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.author-avatar { display: flex; align-items: center; gap: 16px; }
.author-avatar img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.author-label, .author-name { color: var(--heading); font-size: 16px; line-height: 130%; }
.author-widget { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 17px 0; }
.author-share { margin-top: 70px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.author-share .socials { margin-top: 5px; }
.blog-details { flex: 1; max-width: 1070px; }
.blog-details .post-lead { line-height: 1.8em; margin-bottom: 80px; }
.blog-rich figure { margin: 0 0 80px; }
.blog-rich figure img { width: 100%; height: 526px; object-fit: cover; }
.blog-rich blockquote { margin: 0 0 80px; padding: 58px 36px; border-radius: 30px; background: var(--primary); color: #fff; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 28px; line-height: 110%; letter-spacing: -.02em; }

/* ---------- SHOP ---------- */
.page-title-block.caslon .page-title { font-family: var(--caslon); font-weight: 400; text-transform: capitalize; }
.page-title-block.caslon .page-title .it { font-weight: 400; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
.product-item { display: flex; flex-direction: column; gap: 30px; }
.product-top { background: #fff; padding: 20px; overflow: hidden; }
.product-tile { display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 80px; padding: 20px; text-align: center; background: var(--primary); color: #fff; transition: transform .7s cubic-bezier(.22,1,.36,1); }
.product-tile.light { background: var(--alt); color: var(--heading); }
.product-tile-logo { height: 19px; width: auto; }
.product-tile-name { font-family: var(--caslon); font-style: italic; font-weight: 400; font-size: 24px; line-height: 110%; letter-spacing: -.01em; }
.product-tile-sub { font-family: var(--caslon); font-style: italic; font-size: 14px; line-height: 130%; text-transform: capitalize; }
.product-price { color: var(--heading); font-size: 24px; line-height: 100%; font-weight: 500; letter-spacing: -.02em; margin-bottom: 5px; }
.product-name { color: var(--heading); font-size: 28px; line-height: 130%; font-weight: 600; letter-spacing: -.02em; text-transform: capitalize; }
.product-layout { display: grid; grid-template-columns: 1.21857fr 1fr; gap: 57px; }
.product-banner { background: var(--page); padding: 40px; display: flex; align-items: center; justify-content: center; }
.product-tile.details { width: 100%; gap: 100px; }
.product-tile.details .product-tile-name { font-size: 53px; }
.product-details { display: flex; flex-direction: column; gap: 24px; }
.product-crumbs .breadcrumb { justify-content: flex-start; }
.product-title { font-family: var(--caslon); font-weight: 400; font-size: 70px; line-height: 150%; letter-spacing: -.01em; color: var(--heading); margin: 10px 0; }
.product-price.big { font-family: var(--sans); margin: 0 0 30px; }
.product-description { color: var(--text); line-height: 1.7em; }
button.btn { cursor: pointer; font-family: var(--sans); }

/* ---------- CONTACT ---------- */
.contact-section .page-title-block { margin-bottom: 80px; }
.contact-title-wrap { margin-top: 15px; }
.contact-title-wrap .page-title { margin: 0 0 20px; }
.contact-sub { max-width: 627px; margin: 0 auto; color: var(--text); }
.contact-image { width: 100%; height: 685px; margin-bottom: 160px; overflow: hidden; }
.contact-image img { width: 100%; height: 100%; object-fit: cover; }
.contact-form-block { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.contact-details { width: 100%; max-width: 257px; position: sticky; top: 100px; }
.contact-label { display: block; font-family: var(--sans); font-size: 24px; line-height: 100%; font-weight: 600; letter-spacing: -.02em; color: var(--heading); margin-bottom: 25px; }
.contact-links { display: flex; flex-direction: column; gap: 5px; margin-bottom: 50px; }
.contact-links a { color: var(--text); transition: color .3s; }
.contact-links a:hover { color: var(--primary); }
.contact-form { width: 100%; max-width: 1135px; display: grid; grid-template-columns: 1fr 1fr; gap: 55px; }
.form-item { display: flex; flex-direction: column; }
.form-item.wide, .submit-wrap.wide { grid-column: 1 / -1; }
.input-field, .contact-select { width: 100%; border: 0; border-bottom: 1px solid rgba(43, 29, 18, .1); border-radius: 0; background: transparent; color: var(--heading); font: 400 18px/130% var(--sans); padding: 10px 0 30px; outline: none; transition: border-color .3s; }
.input-field:focus, .contact-select:focus { border-bottom-color: rgba(43, 29, 18, .4); }
.input-field::placeholder { color: var(--text); }
.contact-select { color: var(--text); cursor: pointer; -webkit-appearance: none; appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235C4C3B' stroke-width='1.4'/%3E%3C/svg%3E") right 4px top 18px / 12px 8px no-repeat; }
.textarea { min-height: 150px; resize: vertical; }
.submit-wrap { margin-top: -30px; }

/* ---------- 404 ---------- */
.utility-section { padding-top: 240px; }
.utility-content { max-width: 1069px; margin: 0 auto 160px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.not-found-title { font-family: var(--sans); font-size: 460px; line-height: 74%; font-weight: 500; letter-spacing: -.02em; color: var(--heading); margin-bottom: 48px; }
.not-found-details { font-family: var(--caslon); font-style: italic; font-size: 28px; line-height: 110%; color: var(--heading); margin-bottom: 36px; }

/* ---------- STYLE GUIDE ---------- */
.sg-section { padding: 285px 15px 160px; }
.sg-title-block { display: flex; flex-direction: column; gap: 80px; margin-bottom: 80px; }
.sg-title-block .page-title { text-align: center; }
.sg-section > .hline { margin: 80px 0; }
.sg-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.sg-label { position: sticky; top: 140px; width: 100%; max-width: 326px; display: flex; gap: 60px; font-family: var(--caslon); font-style: italic; font-size: 28px; line-height: 110%; color: var(--heading); }
.sg-panel { width: 100%; max-width: 1093px; background: var(--alt); padding: 60px; }
.sg-colors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sg-color { display: flex; flex-direction: column; gap: 26px; padding: 20px; border: 1px solid transparent; color: #121212; }
.sg-code { font-size: 22px; }
.sg-name { text-transform: capitalize; }
.c-primary { background: #33241A; color: #fff; } .c-alt { background: #E3D6BF; border-color: var(--brown); } .c-page { background: #F6F1E8; }
.c-heading { background: #47331E; color: #fff; } .c-dark { background: #2B1D12; color: #fff; } .c-white { background: #fff; }
.c-light { background: #FFF9F1; } .c-cursor { background: #EAD7BC; } .c-stroke { background: #A58A63; } .c-text { background: #5C4C3B; color: #fff; }
.sg-type { display: flex; flex-direction: column; gap: 0; }
.sg-type-head { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; align-items: center; background: var(--page); padding: 32px; margin-bottom: 60px; }
.sg-type-head .hline { margin: 28px 0; }
.sg-big { font-family: var(--serif); font-weight: 400; font-size: 83px; line-height: 100%; letter-spacing: -.01em; color: var(--heading); }
.sg-medium { font-family: var(--sans); font-size: 53px; line-height: 100%; font-weight: 500; letter-spacing: -.02em; text-transform: uppercase; color: var(--heading); }
.sg-aa { font-family: var(--serif); font-weight: 400; font-size: 208px; line-height: 100%; letter-spacing: -.01em; color: var(--heading); text-align: right; }
.sg-type-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; border-bottom: 1px solid rgba(43, 29, 18, .1); color: var(--heading); }
.sg-type-row.head { font-family: var(--serif); font-size: 18px; padding-top: 0; }
.sg-type-row > span { font-family: var(--serif); font-size: 18px; color: var(--text); }
.sg-weight { font-family: var(--serif); color: var(--text); font-size: 18px; margin-top: 8px; }
.sg-h1, .sg-h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 110%; }
.sg-h1 { font-size: 70px; } .sg-h2 { font-size: 44px; }
.sg-h3 { font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.sg-b1 { font-size: 24px; font-weight: 600; } .sg-b2 { font-weight: 400; } .sg-b3 { font-weight: 700; } .sg-b4 { font-size: 16px; font-weight: 400; }
.sg-buttons { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }

/* ============ Shimma 1280–1439 ============ */
@media (max-width: 1439px) {
  .class-section .class-cards { row-gap: 16px; }
  .about-hero { height: 900px; }
  .about-split-texts { flex-basis: 532px; }
  .about-split-image { aspect-ratio: 578 / 384; }
  .post-card { padding: 40px 0; }
  .event-post-layout { gap: 40px; }
  .event-sidebar { flex-basis: 500px; }
  .blog-details-layout { gap: 140px; }
  .not-found-title { font-size: 350px; }
  .product-item { gap: 16px; }
  .product-top { padding: 16px; }
  .product-tile { gap: 40px; }
  .product-tile.details { gap: 80px; }
  .product-tile.details .product-tile-name { font-size: 42px; }
  .product-name { font-size: 24px; }
  .sg-section { padding: 200px 15px 100px; }
  .sg-title-block { gap: 60px; margin-bottom: 60px; }
  .sg-section > .hline { margin: 60px 0; }
  .sg-label { max-width: 270px; gap: 32px; }
  .sg-panel { padding: 40px; }
  .sg-type-head { padding: 24px; margin-bottom: 48px; }
  .sg-big { font-size: 72px; } .sg-medium { font-size: 48px; } .sg-aa { font-size: 180px; }
}

/* ============ Shimma base (992–1279) ============ */
@media (max-width: 1279px) {
  .page-title, .about-hero-title, .about-split-texts h2, .metrics-title-block h2, .vision-title-wrap h2, .product-title { font-size: 44px; }
  .sg-h1 { font-size: 44px; } .sg-h2 { font-size: 28px; }
  .page-section { padding-top: 220px; }
  .page-title-block, .page-title-block.w660 { max-width: 400px; }
  .page-title-block.w660 { max-width: 450px; }
  .blog-section .page-title-block, .products-section .page-title-block { max-width: 512px; }
  .single-hero .page-title-block { max-width: 630px; }
  .team-single .page-title-block, .contact-section .page-title-block { max-width: 704px; }
  .contact-section .page-title-block { max-width: 797px; }
  .page-title-block.mb70 { margin-bottom: 40px; }
  .metrics-title-block { max-width: 688px; }
  .post-card { max-width: none; padding: 24px 0; }
  .post-card h4 { font-size: 22px; }
  .rich-02 p { margin-bottom: 60px; }
  .blog-details-layout { gap: 100px; }
  .team-card-page .team-image-wrap { height: 411px; }
  .sg-section { padding: 200px 15px 100px; }
  .sg-title-block { gap: 48px; margin-bottom: 48px; }
  .sg-section > .hline { margin: 48px 0; }
  .sg-label { max-width: 260px; gap: 24px; }
  .sg-panel { padding: 32px; }
  .sg-big { font-size: 48px; } .sg-medium { font-size: 34px; } .sg-aa { font-size: 172px; }
}

/* ============ tablet ============ */
@media (max-width: 991px) {
  .nav-menu { align-items: flex-start; }
  .nav-menu { max-height: calc(100vh - 140px); overflow-y: auto; }
  .page-section { padding: 160px 0 100px; }
  .class-section { padding-bottom: 100px; }
  .page-title-block.mb60, .page-title-block.mb80, .class-section .page-title-block, .team-section .page-title-block, .blog-section .page-title-block, .contact-section .page-title-block { margin-bottom: 40px; }
  .post-section { padding: 100px 0 40px; }
  .single-image { height: 500px; }
  .post-lead, .event-post-wrapper .post-lead, .blog-details .post-lead { margin-bottom: 40px; }
  .hline.mb80 { margin-bottom: 40px; }
  .rich p, .rich-02 p { margin-bottom: 40px; }
  .rich h2 { margin-bottom: 24px; }
  .about-hero { height: 800px; padding-bottom: 80px; }
  .about-hero-container { justify-content: flex-start; }
  .about-hero-contents { text-align: left; align-items: flex-start; }
  .about-hero-contents .breadcrumb { justify-content: flex-start; }
  .about-split, .metrics-section, .vision-section { padding: 100px 0; }
  .about-split-layout { flex-direction: column; gap: 40px; }
  .about-split-texts { position: static; flex: none; }
  .about-split-images { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .about-split-image { position: static; top: auto; aspect-ratio: 675 / 448; }
  .metrics-widgets { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 239px; }
  .metrics-widget.m-empty { display: none; }
  .metrics-widget.m-tall { grid-column: auto; grid-row: auto; }
  .metrics-counter { padding: 16px; }
  .metrics-number, .odo.big { font-size: 40px; }
  .vision-title-wrap { margin-bottom: 40px; }
  .vision-grid { grid-template-columns: 1fr 1fr; }
  .vision-card p, .vision-title-wrap p { font-size: 16px; }
  .label-row { margin-bottom: 40px; flex-wrap: wrap; }
  .label-key { margin-bottom: 12px; }
  .vline { height: 40px; }
  .class-details-block { flex-direction: column; gap: 32px; margin-bottom: 40px; }
  .time-table { flex: none; width: 100%; padding: 24px; }
  .time-widget { padding: 24px 0; }
  .time-icon { width: 42px; }
  .rich-01 { margin-top: 40px; }
  .post-cards { padding: 24px; }
  .post-card-icon { margin-bottom: 10px; }
  .class-rich-wrap { max-width: 100%; margin-top: 40px; }
  .rich-02 { margin: 40px 0; }
  .events-grid { gap: 16px; }
  .events-card { padding: 16px; gap: 16px; }
  .event-post { padding-bottom: 100px; }
  .event-post-layout { flex-direction: column; gap: 40px; }
  .event-sidebar { position: static; flex: none; width: 100%; }
  .related-block { margin-top: 60px; gap: 32px; }
  .related-cards { gap: 16px; }
  .team-grid { gap: 32px; }
  .team-card-page .team-image-wrap { height: 300px; border-width: 7px; }
  .team-details-image { height: 400px; border-width: 7px; margin-bottom: 60px; }
  .team-middle { flex-direction: column; gap: 40px; margin-bottom: 40px; }
  .team-services { max-width: none; justify-content: flex-start; gap: 80px; }
  .team-about { flex-direction: column; gap: 20px; margin-top: 40px; }
  .blog-cards { gap: 16px; }
  .blog-card { gap: 16px; padding: 16px; }
  .blog-card .event-image { height: 250px; }
  .blog-details-layout { flex-direction: column; gap: 40px; }
  .blog-author { position: static; flex: none; width: 100%; }
  .author-share { margin-top: 40px; }
  .blog-rich figure { margin-bottom: 40px; }
  .blog-rich figure img { height: 500px; }
  .blog-rich blockquote { border-radius: 24px; margin-bottom: 40px; padding: 32px; }
  .products-grid { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .product-layout { grid-template-columns: 1fr; gap: 24px; }
  .product-banner { padding: 16px; }
  .product-crumbs { display: none; }
  .product-title { margin-top: 0; }
  .contact-image { height: 500px; margin-bottom: 40px; }
  .contact-form-block { flex-direction: column; gap: 40px; }
  .contact-details { position: static; max-width: none; }
  .contact-form { gap: 24px; }
  .input-field, .contact-select { padding-bottom: 24px; }
  .textarea { min-height: 120px; }
  .submit-wrap { margin-top: 0; }
  .utility-section { padding-top: 160px; }
  .not-found-title { font-size: 220px; margin-bottom: 32px; }
  .sg-section { padding: 140px 15px 60px; }
  .sg-row { flex-direction: column; gap: 32px; }
  .sg-label { position: static; }
  .sg-colors { grid-template-columns: repeat(3, 1fr); }
}

/* ============ mobile landscape ============ */
@media (max-width: 767px) {
  .page-section { padding: 140px 0 80px; }
  .about-hero { height: 600px; padding-bottom: 60px; }
  .about-split, .metrics-section, .vision-section { padding: 60px 0; }
  .about-split-images { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .page-title, .about-hero-title, .about-split-texts h2, .metrics-title-block h2, .vision-title-wrap h2, .product-title { font-size: clamp(32px, 8vw, 40px); }
  .breadcrumb { font-size: 14px; }
  .single-image { height: 360px; }
  .label-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .vline { display: none; }
  .post-cards { flex-direction: column; gap: 0; }
  .vborder { width: 100%; height: 1px; }
  .events-grid { grid-template-columns: 1fr; }
  .team-grid { gap: 16px; }
  .blog-card { grid-template-columns: 1fr; }
  .blog-card .event-image { order: -1; }
  .metrics-widgets { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .metrics-number, .odo.big { font-size: 34px; }
  .vision-title-wrap { margin-bottom: 30px; }
  .vision-card { padding: 20px; }
  .team-card-page .team-image-wrap { height: 360px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-image { height: 400px; margin-bottom: 32px; }
  .order-item { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .order-price { grid-column: 2; }
  .order-qty { flex-wrap: wrap; }
  .blog-rich figure img { height: 320px; }
  .not-found-title { font-size: 160px; }
  .sg-colors { grid-template-columns: 1fr 1fr; }
  .sg-type-head { grid-template-columns: 1fr; }
  .sg-aa { text-align: left; font-size: 120px; }
}

/* ============ mobile portrait ============ */
@media (max-width: 479px) {
  .page-section { padding: 120px 0 60px; }
  .page-title, .about-hero-title, .about-split-texts h2, .metrics-title-block h2, .vision-title-wrap h2, .product-title { font-size: 33px; }
  .single-image { height: 280px; }
  .time-table { padding: 16px; }
  .time-widget { gap: 12px; }
  .day-name { font-size: 18px; }
  .time-widget .day-name { min-width: 0; flex: 0 0 111px; overflow-wrap: normal; }
  .time-zone { font-size: 14px; white-space: normal; line-height: 1.3; text-align: right; min-width: 0; flex: 1; }
  .time-icon { width: 30px; }
  .event-sidebar { padding: 20px; }
  .side-label { font-size: 18px; }
  .side-widget { flex-direction: column; align-items: flex-start; gap: 8px; }
  .side-value { text-align: left; }
  .about-hero { height: calc(var(--vh) * .7); }
  .about-split-images { grid-template-columns: 1fr; }
  .about-split-image { aspect-ratio: 675 / 448; }
  .metrics-widgets { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 12px; }
  .metrics-widget.m-img { height: 250px; }
  .metrics-counter { gap: 32px; }
  .metrics-number, .odo.big { font-size: 33px; }
  .team-grid { grid-template-columns: 1fr; }
  .vision-grid { grid-template-columns: 1fr; }
  .contact-image { height: 250px; }
  .products-grid { grid-template-columns: 1fr; }
  .product-tile.details .product-tile-name { font-size: 32px; }
  .team-details-image { height: 320px; border-width: 5px; }
  .team-card-page .team-image-wrap { height: 300px; border-width: 5px; }
  .team-services { gap: 40px; }
  .blog-rich blockquote { font-size: 22px; padding: 24px; }
  .not-found-title { font-size: 120px; }
  .sg-panel { padding: 16px; }
  .sg-colors { gap: 8px; }
  .sg-big { font-size: 36px; } .sg-medium { font-size: 24px; }
}

/* Shimma alternates the right-hand event cards to the dark primary tone */
.events-card:nth-child(even) { background: var(--primary); }
.events-card:nth-child(even) .event-title, .events-card:nth-child(even) .event-text { color: var(--light); }
.events-card:nth-child(even) .btn-outline { border-color: var(--light); color: var(--light); }


/* ---------- floating WhatsApp + call buttons (all v2 pages) ---------- */
.contact-fab { position: fixed; right: 24px; bottom: 24px; z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab { position: relative; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; box-shadow: 0 10px 24px rgba(43, 29, 18, .22); transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s; }
.fab svg { width: 26px; height: 26px; }
.fab-wa { background: #25D366; }
.fab-call { background: var(--primary); }
.fab:hover, .fab:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(43, 29, 18, .28); }
.fab-label { position: absolute; right: calc(100% + 12px); padding: 8px 14px; border-radius: 500px; background: var(--light); color: var(--dark); font-size: 14px; line-height: 1; font-weight: 600; white-space: nowrap; box-shadow: 0 6px 16px rgba(43, 29, 18, .12); opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .3s, transform .3s; }
.fab:hover .fab-label, .fab:focus-visible .fab-label { opacity: 1; transform: none; }
@media (max-width: 767px) {
  .contact-fab { right: 16px; bottom: 16px; gap: 10px; }
  .fab { width: 50px; height: 50px; }
  .fab svg { width: 23px; height: 23px; }
  .fab-label { display: none; }
}

.ticker-row { position: relative; z-index: 2; }

/* ---------- home: testimonials run as a continuous ticker ---------- */
.testimonials-marquee { overflow: hidden; }
.testimonials-track { display: flex; width: max-content; animation: testimonials-scroll 70s linear infinite; }
.testimonials-dup { display: contents; }
.testimonials-track .slide { flex: none; width: min(58vw, 900px); margin-right: 20px; }
@keyframes testimonials-scroll { to { transform: translateX(-50%); } }
@media (max-width: 991px) { .testimonials-track .slide { width: 80vw; } .testimonials-track { animation-duration: 50s; } }
@media (max-width: 479px) { .testimonials-track .slide { width: 86vw; } }

/* social pills carry icons (Instagram / WhatsApp / email) that roll up on hover */
.social-link .roll > span { display: flex; align-items: center; justify-content: center; }
.social-link svg { width: 20px; height: 20px; }

/* classes page: five styles (3 + 2 centred) and three ways to train */
.class-cards.five { grid-template-columns: repeat(6, 1fr); }
.class-cards.five .class-card { grid-column: span 2; }
.class-cards.five .class-card:nth-child(4) { grid-column: 2 / span 2; }
.class-types-title { margin: 120px auto 60px; }
.class-types-title .page-title { margin-top: 0; }
@media (max-width: 991px) {
  .class-cards.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .class-cards.five .class-card, .class-cards.five .class-card:nth-child(4) { grid-column: auto; }
  .class-types-title { margin: 72px auto 32px; }
}
@media (max-width: 767px) { .class-cards.five { grid-template-columns: 1fr; } }

/* ---------- hero: Get started + Take a tour ---------- */
.hero-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tour-btn { gap: 10px; cursor: pointer; font-family: var(--sans); }
.tour-play { width: 16px; height: 16px; flex: none; }
@media (max-width: 767px) {
  .hero-buttons { flex-wrap: nowrap; gap: 10px; }
  .hero-buttons .btn { height: 42px; padding: 8px 16px 6px; font-size: 13px; }
  .hero-buttons .tour-btn { gap: 7px; }
  .tour-play { width: 12px; height: 12px; }
}

/* ---------- studio tour player ---------- */
html.tour-open { overflow: hidden; }
.tour-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(28, 19, 12, .86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s ease; }
.tour-modal.show { opacity: 1; }
.tour-modal[hidden] { display: none; }
.tour-frame { position: relative; height: min(86vh, 860px); aspect-ratio: 9 / 16; max-width: 100%; transform: scale(.96); transition: transform .45s cubic-bezier(.22,1,.36,1); }
.tour-modal.show .tour-frame { transform: none; }
.tour-video { width: 100%; height: 100%; object-fit: cover; background: #000; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.tour-close { position: absolute; top: -16px; right: -16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--light); color: var(--dark); font: 400 28px/1 var(--sans); cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
@media (max-width: 767px) {
  .tour-modal { padding: 0; background: #000; }
  .tour-frame { width: 100%; height: 100%; aspect-ratio: auto; }
  .tour-video { border-radius: 0; object-fit: contain; }
  .tour-close { top: max(14px, env(safe-area-inset-top)); right: 14px; }
}

/* newsletter thank-you, replaces the form once saved */
.subscribe-thanks { padding: 20px 24px; border: 1px solid var(--primary); border-radius: 500px; color: var(--heading); font-size: 16px; }

/* ---------- floating review card (js/reviews.js), bottom-left on every page ---------- */
.review-pop { position: fixed; left: 24px; bottom: 24px; z-index: 94; width: 330px; opacity: 0; transform: translateY(24px) rotate(-2deg); transform-origin: bottom left; transition: opacity .5s ease, transform .6s cubic-bezier(.22,1,.36,1); pointer-events: none; }
.review-pop.show { opacity: 1; transform: none; pointer-events: auto; }
.review-pop-card { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 18px 20px 16px; border: 0; border-radius: 16px; background: var(--light); color: var(--dark); text-align: left; font-family: var(--sans); cursor: pointer; box-shadow: 0 18px 44px rgba(43, 29, 18, .18), 0 2px 8px rgba(43, 29, 18, .08); transform-origin: bottom left; }
.review-pop-card.out { animation: review-out .38s cubic-bezier(.55,0,.75,.4) both; }
.review-pop-card.in { animation: review-in .52s cubic-bezier(.22,1,.36,1) both; }
@keyframes review-out { to { opacity: 0; transform: translateX(-18px) translateY(6px) rotate(-7deg); } }
@keyframes review-in { from { opacity: 0; transform: translateX(26px) translateY(10px) rotate(6deg); } to { opacity: 1; transform: none; } }
.review-pop-stars { color: #E5A93A; font-size: 14px; letter-spacing: 2px; }
.review-pop-text { font-size: 15px; line-height: 1.45; font-weight: 400; color: var(--heading); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.review-pop-who { display: flex; align-items: center; gap: 10px; }
.review-pop-avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--alt); color: var(--heading); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.review-pop-who b { display: block; font-size: 14px; font-weight: 600; color: var(--dark); }
.review-pop-who small { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text); }
.review-pop-who small svg { width: 12px; height: 12px; }
.review-pop-close { position: absolute; top: -10px; right: -10px; z-index: 1; width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--primary); color: #fff; font: 400 18px/1 var(--sans); cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.review-pop-dots { display: flex; justify-content: center; gap: 5px; margin-top: 10px; }
/* impeccable-disable-next-line layout-transition -- 6px pager dot widens to an 18px pill; scaleX would overlap its neighbours */
.review-pop-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(43, 29, 18, .22); transition: width .3s ease, background .3s ease; }
.review-pop-dots i.on { width: 18px; border-radius: 3px; background: var(--primary); }
html.tour-open .review-pop { opacity: 0; pointer-events: none; }
@media (max-width: 767px) {
  .review-pop { left: 12px; bottom: 14px; width: calc(100vw - 92px); max-width: 320px; }
  .review-pop-card { padding: 14px 16px 12px; gap: 8px; }
  .review-pop-text { font-size: 13.5px; -webkit-line-clamp: 3; }
  .review-pop-dots { display: none; }
}

/* ---------- contact: find-the-studio card + note card ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: stretch; }
.visit-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: var(--primary); color: var(--light); }
.visit-photo { aspect-ratio: 16 / 10; overflow: hidden; }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transition: transform 1.2s cubic-bezier(.22,1,.36,1); }
.visit-card:hover .visit-photo img { transform: scale(1.04); }
.visit-body { display: flex; flex-direction: column; flex: 1; padding: 40px 44px 44px; }
.visit-body .badge { color: var(--cursor); margin-bottom: 14px; }
.visit-title { margin: 0 0 18px; font-size: 44px; color: var(--light); }
.visit-address { margin: 0 0 30px; color: rgba(255, 249, 241, .78); }
.visit-steps { margin: 0 0 36px; padding: 0; list-style: none; border-top: 1px solid rgba(255, 249, 241, .16); }
.visit-steps li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid rgba(255, 249, 241, .16); font-size: 17px; color: rgba(255, 249, 241, .9); }
.visit-steps li span { flex: none; min-width: 26px; font: 500 14px/24px var(--sans); color: var(--stroke); letter-spacing: .04em; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }

.note-card { display: flex; flex-direction: column; border-radius: 24px; background: var(--light); padding: 52px 56px; box-shadow: 0 30px 70px rgba(43, 29, 18, .07); }
.note-title { margin: 0 0 10px; font-size: 48px; color: var(--heading); }
.note-sub { margin: 0 0 36px; color: var(--text); }
.note-card .contact-form { max-width: none; gap: 22px 18px; margin-bottom: 40px; }
.field-label { display: block; margin-bottom: 10px; font: 500 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--badge); }
.note-card .input-field, .note-card .cselect-btn { padding: 16px 18px; border: 1px solid rgba(43, 29, 18, .12); border-radius: 14px; background: var(--page); font-size: 17px; font-weight: 300; transition: border-color .3s, background-color .3s, box-shadow .3s; }
.note-card .input-field:focus, .note-card .cselect-btn:focus-visible, .note-card .cselect.open .cselect-btn { border-color: var(--stroke); background: #fff; box-shadow: 0 0 0 4px rgba(165, 138, 99, .14); outline: none; }
.note-card .input-field::placeholder { color: rgba(92, 76, 59, .55); }
.note-card .textarea { min-height: 150px; resize: vertical; }
.note-card .cselect-list { top: calc(100% + 6px); }
.note-card .submit-wrap .btn { min-width: 220px; }
.note-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; border-top: 1px solid rgba(43, 29, 18, .1); }
.note-links { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 16px; color: var(--text); }
.note-links a { color: var(--heading); transition: color .3s; }
.note-links a:hover { color: var(--stroke); }
.note-card .submit-wrap { margin-top: 6px; }
@media (min-width: 992px) {
  .note-card .contact-form { flex: 1; grid-template-rows: auto auto 1fr auto; }
  .note-card .textarea { flex: 1; min-height: 180px; }
}
@media (max-width: 1199px) { .note-card { padding: 44px 40px; } .visit-body { padding: 34px 34px 38px; } }
@media (max-width: 991px) {
  .contact-grid { grid-template-columns: 1fr; }
  .visit-photo { aspect-ratio: 16 / 9; }
}
@media (max-width: 767px) {
  .contact-grid { gap: 16px; }
  .visit-card, .note-card { border-radius: 18px; }
  .visit-body { padding: 26px 22px 28px; }
  .visit-title { font-size: 34px; }
  .visit-steps li { font-size: 16px; gap: 14px; }
  .visit-actions .btn { flex: 1 1 auto; height: 46px; padding-inline: 18px; font-size: 14px; }
  .note-card { padding: 30px 20px; }
  .note-title { font-size: 36px; }
  .note-sub { margin-bottom: 26px; }
  .note-card .submit-wrap .btn { width: 100%; }
}

/* ---------- styled dropdown (js/select.js enhances .contact-select) ---------- */
.cselect { position: relative; }
.cselect select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.cselect-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0 30px; border: 0; border-bottom: 1px solid rgba(43, 29, 18, .1); background: none; font: 300 18px/130% var(--sans); color: var(--text); text-align: left; cursor: pointer; transition: border-color .3s; }
.cselect-btn.chosen { color: var(--heading); }
.cselect-btn:focus-visible, .cselect.open .cselect-btn { outline: none; border-bottom-color: rgba(43, 29, 18, .4); }
.cselect-btn svg { flex: none; width: 14px; height: 14px; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.cselect.open .cselect-btn svg { transform: rotate(180deg); }
.cselect-list { position: absolute; left: 0; right: 0; top: calc(100% - 18px); z-index: 20; margin: 0; padding: 8px; list-style: none; background: var(--light); border: 1px solid rgba(43, 29, 18, .1); border-radius: 14px; box-shadow: 0 22px 50px rgba(43, 29, 18, .16); opacity: 0; transform: translateY(-6px); visibility: hidden; transition: opacity .25s ease, transform .3s cubic-bezier(.22,1,.36,1), visibility 0s .3s; }
.cselect.open .cselect-list { opacity: 1; transform: none; visibility: visible; transition: opacity .25s ease, transform .3s cubic-bezier(.22,1,.36,1); }
.cselect-list li { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 9px; font-size: 16px; color: var(--heading); cursor: pointer; }
.cselect-list li[aria-selected="true"] { font-weight: 500; }
.cselect-list li[aria-selected="true"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.cselect-list li.active, .cselect-list li:hover { background: var(--alt); }
.cselect-list li.placeholder { display: none; }

/* Small card titles in the brand's body face (Jost). Italiana is a hairline display face: it reads
   beautifully at headline sizes but its thin strokes and joins break up at ~24px. */
.vision-card h3 { font-family: var(--sans); font-weight: 500; font-size: 20px; line-height: 1.25; letter-spacing: .01em; }
.post-card h4 { font-family: var(--sans); font-style: normal; font-weight: 500; font-size: 20px; line-height: 1.3; letter-spacing: .01em; }
@media (max-width: 1279px) { .post-card h4 { font-size: 18px; } }
.class-card-title { font-family: var(--sans); font-style: normal; font-weight: 500; font-size: 22px; line-height: 1.25; letter-spacing: .01em; }
@media (max-width: 1439px) { .class-card-title { font-size: 20px; } }
@media (max-width: 1279px) { .class-card-title { font-size: 18px; } }

/* ---------- home: Instagram reels strip ---------- */
.insta-section { padding: 160px 0; overflow: hidden; }
.insta-head { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; margin-bottom: 60px; }
.insta-head h2 { font-size: 70px; color: var(--heading); }
.insta-details { justify-self: end; max-width: 422px; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 35px; color: var(--text); }
.reel-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 max(15px, calc((100vw - 1650px) / 2 + 15px)); }
.reel-track::-webkit-scrollbar { display: none; }
.reel-card { position: relative; flex: 0 0 auto; width: 280px; aspect-ratio: 9 / 16; overflow: hidden; scroll-snap-align: start; background: var(--alt); color: #fff; }
.reel-card video { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.reel-link { display: block; width: 100%; height: 100%; color: inherit; }
.reel-card:hover video, .reel-link:focus-visible video { transform: scale(1.05); }
.reel-sound { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(43, 29, 18, .55); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: pointer; transition: background-color .3s, transform .3s; }
.reel-sound:hover { background: rgba(43, 29, 18, .8); transform: scale(1.06); }
.reel-sound:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.reel-sound svg { width: 20px; height: 20px; }
.reel-sound .i-on, .reel-sound[aria-pressed="true"] .i-off { display: none; }
.reel-sound[aria-pressed="true"] .i-on { display: block; }
.reel-sound[aria-pressed="true"] { background: rgba(255, 249, 241, .92); color: var(--primary); }
.reel-ig { position: absolute; top: 14px; right: 14px; z-index: 1; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 249, 241, .92); color: var(--primary); }
.reel-ig svg { width: 18px; height: 18px; }
.reel-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }  /* the reels carry their own captions */
@media (max-width: 1439px) { .reel-track { padding: 0 max(15px, calc((100vw - 1200px) / 2 + 15px)); } }
@media (max-width: 1279px) { .insta-section { padding: 100px 0; } .insta-head h2 { font-size: 44px; } .reel-card { width: 240px; } }
@media (max-width: 991px) {
  .insta-head { grid-template-columns: 1fr; margin-bottom: 32px; }
  .insta-details { justify-self: start; text-align: left; align-items: flex-start; gap: 20px; }
  .insta-head h2 { font-size: clamp(32px, 7vw, 44px); }
  .reel-card { width: 62vw; max-width: 260px; }
}

/* ---------- about: FAQs ---------- */
.faq-section { padding: 140px 0; background: var(--page); }
.faq-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
.faq-title-block { position: sticky; top: 140px; }
.faq-title-block h2 { margin: 0 0 20px; font-size: 56px; color: var(--heading); }
.faq-title-block p { max-width: 420px; margin: 0 0 36px; color: var(--text); }
.faq-list { border-top: 1px solid rgba(43, 29, 18, .14); }
.faq-item { border-bottom: 1px solid rgba(43, 29, 18, .14); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; cursor: pointer; list-style: none; font: 400 22px/1.3 var(--sans); color: var(--heading); transition: color .3s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--stroke); }
.faq-item summary:focus-visible { outline: 2px solid var(--stroke); outline-offset: 4px; border-radius: 4px; }
.faq-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(43, 29, 18, .18); color: var(--heading); transition: transform .45s cubic-bezier(.22,1,.36,1), background-color .3s, color .3s, border-color .3s; }
.faq-icon svg { width: 18px; height: 18px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--primary); border-color: var(--primary); color: var(--light); }
.faq-answer p { max-width: 640px; margin: 0; padding: 0 68px 30px 0; color: var(--text); }
.faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size .45s cubic-bezier(.22,1,.36,1), content-visibility .45s allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }
:root { interpolate-size: allow-keywords; }
@media (max-width: 1279px) { .faq-section { padding: 100px 0; } .faq-title-block h2 { font-size: 44px; } .faq-layout { gap: 50px; } }
@media (max-width: 991px) {
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .faq-title-block { position: static; }
}
@media (max-width: 767px) {
  .faq-section { padding: 72px 0; }
  .faq-title-block h2 { font-size: clamp(32px, 7vw, 44px); }
  .faq-item summary { padding: 22px 0; font-size: 18px; gap: 16px; }
  .faq-icon { width: 38px; height: 38px; }
  .faq-answer p { padding-right: 0; padding-bottom: 24px; }
}

/* ---------- classes: group schedule card ---------- */
.schedule-card { margin-top: 120px; padding: 64px 64px 56px; border-radius: 24px; background: var(--primary); color: var(--light); }
.schedule-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.schedule-head .badge { color: var(--cursor); margin-bottom: 14px; }
.schedule-head h2 { margin: 0 0 16px; font-size: 56px; color: var(--light); }
.schedule-head p { margin: 0; color: rgba(255, 249, 241, .75); }
.schedule-cols { display: grid; grid-template-columns: 1fr 1fr; max-width: 860px; margin: 0 auto; border: 1px solid rgba(255, 249, 241, .2); border-radius: 18px; overflow: hidden; }
.schedule-col + .schedule-col { border-left: 1px solid rgba(255, 249, 241, .2); }
.schedule-col h3 { margin: 0; padding: 20px 24px; font: 400 30px/1.1 var(--serif); letter-spacing: 0; text-align: center; color: var(--light); background: rgba(255, 249, 241, .06); border-bottom: 1px solid rgba(255, 249, 241, .2); }
.schedule-col ul { margin: 0; padding: 0; list-style: none; }
.schedule-col li { padding: 18px 24px; text-align: center; font-size: 19px; color: rgba(255, 249, 241, .92); border-bottom: 1px solid rgba(255, 249, 241, .12); font-variant-numeric: tabular-nums; }
.schedule-col li:last-child { border-bottom: 0; }
.schedule-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; margin-top: 40px; text-align: center; }
.schedule-foot p { margin: 0; color: rgba(255, 249, 241, .8); }
.schedule-foot strong { font-weight: 500; color: var(--light); }
@media (max-width: 991px) { .schedule-card { margin-top: 80px; padding: 48px 32px 44px; } .schedule-head h2 { font-size: 44px; } }
@media (max-width: 767px) {
  .schedule-card { margin-top: 56px; padding: 36px 16px 32px; border-radius: 18px; }
  .schedule-head { margin-bottom: 30px; }
  .schedule-head h2 { font-size: 36px; }
  .schedule-col h3 { padding: 16px 10px; font-size: 24px; }
  .schedule-col li { padding: 14px 8px; font-size: 15px; }
  .schedule-foot .btn { width: 100%; }
}

/* ---------- phones: hero text legibility over the video ---------- */
@media (max-width: 767px) {
  .hero-content { background: linear-gradient(180deg, rgba(28, 19, 12, 0) 30%, rgba(28, 19, 12, .5) 62%, rgba(28, 19, 12, .78) 100%); }
  .hero-content h1 { font-size: clamp(42px, 12.5vw, 56px); margin-bottom: 14px; -webkit-text-stroke: .45px currentColor; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
  .hero-content p { font-size: 17px; line-height: 1.45; font-weight: 400; margin-bottom: 28px; text-shadow: 0 1px 10px rgba(0, 0, 0, .55); }
  .about-hero-title { -webkit-text-stroke: .45px currentColor; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
  .about-hero-paragraph { font-weight: 400; text-shadow: 0 1px 10px rgba(0, 0, 0, .55); }
}

/* ---------- phones: taller instructor photos (heads stay in frame) and larger "Better together" ticker photos ---------- */
@media (max-width: 767px) {
  .expert-card .team-image-wrap { height: 400px; }
  .marquee-card { width: 260px; height: 253px; border-width: 10px; }
}
