/* Responsive refinements shared by the complete landing page. */
html {-webkit-text-size-adjust:100%;text-size-adjust:100%}
.site-header .tg-brand-studio {font:400 32px/1 var(--serif);letter-spacing:-.5px;color:var(--gold-dark)}
.site-header .tg-brand {gap:15px}
.personal-stories-gallery {min-width:0;width:100%;max-width:646px;justify-self:center}
.personal-stories-films {width:100%}
.personal-stories-hint {display:none}
.price-layout>*,.about-copy,.about-approach-copy,.personal-stories-copy,.booking-content,.form-row>label {min-width:0}
.personal-stories-copy {max-width:370px}
.personal-stories-copy h2 {font-size:clamp(42px,4.4vw,62px)}

/* Switch navigation before its links begin to compete with the logo. */
@media(max-width:1100px) {
  .site-header {display:flex;height:76px;justify-content:space-between;gap:24px}
  .site-header .tg-brand {margin-right:auto}
  .desktop-nav {display:none}
  .menu-toggle {display:block}
  .header-cta {min-height:44px;align-items:center}
  .mobile-nav a {min-height:48px}
}
@media(min-width:1101px) {.mobile-nav {display:none}}

/* Medium screens keep photo grids, while reading columns get more room. */
@media(max-width:850px) {
  :root {--gutter:clamp(22px,4vw,34px)}
  .button,.text-link {font-size:12px;min-height:44px}
  .button {min-height:48px}
  .eyebrow {font-size:10px;letter-spacing:1.5px}
  .section-heading>p,.portfolio-intro>p,.service-card>p,
  .lesson-copy>p:not(.eyebrow),.about-copy>p:not(.eyebrow):not(.about-lead),
  .about-approach-copy>p:not(.eyebrow):not(.about-approach-lead),
  .faq-heading>p:not(.eyebrow),.faq-list details>div,.booking-content>p:not(.eyebrow) {
    font-size:14px;line-height:1.8
  }
  .portfolio-tabs button {font-size:12px;min-height:48px}
  .portfolio-caption .caption-kicker {font-size:9px;letter-spacing:.8px;line-height:1.5;display:block}
  #portfolio-gallery-note {font-size:12px}
  #portfolio-gallery-count {font-size:12px}
  .services-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .service-card h3 {font-size:32px;min-height:0}
  .service-more {min-height:44px;font-size:12px}
  .about-section {grid-template-columns:1fr 1.15fr;gap:28px}
  .about-copy h2 {font-size:clamp(42px,6.2vw,54px)}
  .about-copy .button {font-size:12px;gap:14px}
  .about-continuation {gap:28px;grid-template-columns:1.2fr 1fr}
  .about-approach-copy h2 {font-size:42px}
  .about-approach-lead {font-size:27px;line-height:1.2}
  .personal-stories {grid-template-columns:1fr;gap:30px}
  .personal-stories-copy {max-width:540px}
  .personal-stories-copy h2 {font-size:48px}
  .personal-stories-films {max-width:none}
  .personal-story:nth-child(2) {margin-top:30px}
  .personal-story figcaption>span {font-size:9px}
  .lookbook-heading>p {font-size:13px;max-width:260px}
  .round-button {width:44px;height:44px}
  .lookbook-slide figcaption>span {font-size:9px}
  .faq-section {grid-template-columns:1fr;gap:26px}
  .faq-heading>p:not(.eyebrow) {max-width:500px}
  .faq-list summary {font-size:25px;gap:20px;min-height:60px}
  .booking-section {grid-template-columns:1fr 1.3fr;gap:26px}
  .booking-content h2 {font-size:44px}
  .booking-content .eyebrow {font-size:9px;letter-spacing:1.1px}
  #booking-form label {font-size:12px}
  #booking-form label small {font-size:11px}
  #booking-form input,#booking-form select,#booking-form textarea,.price-form .calc-guest select {font-size:16px;min-height:48px}
  #booking-form input::placeholder,#booking-form textarea::placeholder {font-size:14px}
  .form-row {grid-template-columns:1fr;gap:0}
  .form-notice {font-size:11px}
  .calc-option-title {font-size:12px}
  .calc-option-price {font-size:11px}
}

@media(max-width:700px) {
  .about-section,.about-continuation,.booking-section {grid-template-columns:1fr;gap:34px}
  .about-copy,.about-approach-copy,.booking-content {max-width:560px;width:100%;margin-inline:auto}
  .about-photos {width:min(100%,380px);height:390px;padding:0 100px 40px 0;margin-inline:auto}
  .about-small {width:43%}
  .about-photo-label {right:40px;font-size:8px}
  .about-approach-video {width:min(100%,300px);margin-inline:auto}
  .about-approach-video figcaption {font-size:24px}
  .about-approach-video figcaption>span {font-size:9px}
  .booking-image {height:340px;width:100%;max-width:560px;margin-inline:auto}
  .booking-content h2 {font-size:48px}
}

/* Phones: readable copy, full touch targets, and deliberate vertical layouts. */
@media(max-width:600px) {
  :root {--gutter:clamp(18px,5vw,26px)}
  html {scroll-padding-top:16px}
  .site-header {height:72px;gap:12px;padding-inline:var(--gutter)}
  .site-header .tg-brand {gap:11px}
  .site-header .tg-monogram {font-size:41px}
  .site-header .tg-brand-studio {font-size:28px;letter-spacing:-.4px}
  .menu-toggle {width:44px;height:44px}
  .mobile-nav {padding:10px var(--gutter) 20px}
  .mobile-nav a {font-size:29px;padding:4px 0;border-bottom:1px solid #d9c7af75}
  .hero-copy {padding:30px var(--gutter) 16px}
  .tg-hero-studio {font-size:9px;letter-spacing:1.1px;gap:9px}
  .tg-hero-title {font-size:clamp(60px,16vw,88px);letter-spacing:-2px;margin:24px 0 22px}
  .hero-description {font-size:14px;line-height:1.7;max-width:390px}
  .tg-location {font-size:10px;letter-spacing:1.4px;margin-top:14px}
  .hero-actions {gap:8px 16px;margin-top:18px}
  .hero-actions .button {font-size:12px;min-height:48px;padding:12px 18px;gap:14px}
  .hero-actions .text-link {font-size:12px;min-height:44px;gap:8px}
  .hero-visual {height:clamp(290px,82vw,360px)}
  .hero-visual>img {left:50%;transform:translateX(-50%);height:145%;bottom:-39%}
  .hero-footer {min-height:44px;height:auto;padding-block:12px;font-size:8px;letter-spacing:.7px;gap:12px}
  .hero-footer>span:first-child {max-width:150px}
  .hero-footer>span:nth-child(2) {font-size:8px;max-width:145px}
  .hero-edge-note {font-size:8px;right:12px}
  .section {padding:44px var(--gutter)}
  h2 {font-size:clamp(36px,10.7vw,46px);line-height:1.06}
  .section-topline {font-size:9px;gap:12px;letter-spacing:1.3px;margin-bottom:26px}
  .section-topline>span:last-child {font-size:8px;letter-spacing:.6px}
  .section-heading {margin-bottom:26px}
  .section-heading>p {margin-top:18px;max-width:380px}
  .portfolio-tabs {gap:0;justify-content:space-between;margin-bottom:24px}
  .portfolio-tabs button {font-size:12px;padding-inline:3px}
  .portfolio-intro h2 {font-size:42px}
  .portfolio-intro>p {max-width:460px}
  .portfolio-intro .text-link {font-size:12px;margin-top:10px}
  .portfolio-grid[data-layout] {gap:26px 12px}
  .portfolio-grid .portfolio-work .portfolio-caption h3 {font-size:clamp(22px,5.5vw,26px);line-height:1.12;overflow-wrap:anywhere}
  .portfolio-caption .caption-kicker {font-size:8px;letter-spacing:.65px}
  .portfolio-video-label {top:8px;left:8px;font-size:8px;padding:4px 6px}
  .portfolio-video-toggle {bottom:8px;right:8px}
  #portfolio-show-all {font-size:14px;border-radius:8px;min-height:56px}
  .portfolio-gallery-footer {padding-top:24px;margin-top:30px}
  #portfolio-gallery-note {margin-top:18px}
  .transformation-heading {display:block;margin-bottom:24px}
  .transformation-heading h2 {font-size:40px}
  .transformation-heading>p {font-size:14px;line-height:1.7;margin-top:16px;max-width:400px}
  .transformation-grid {grid-template-columns:1fr;gap:26px}
  .comparison-stage {border-radius:16px}
  .comparison-handle {width:44px;height:44px}
  .transformation-video {width:min(100%,280px);justify-self:center}
  .transformation-grid figcaption {font-size:24px;line-height:1.2}
  .transformation-grid figcaption>span {font-size:9px;line-height:1.6}
  .auto-gallery-heading h2,.video-gallery-heading h2 {font-size:clamp(34px,9vw,42px);line-height:1.08}
  .auto-gallery-card {width:clamp(160px,46vw,220px)}
  .auto-gallery-card .image-open {height:auto;aspect-ratio:2/3;border-radius:22px}
  .video-gallery-card {width:clamp(170px,48vw,235px);border-radius:22px}
  .auto-gallery-arrow,.video-gallery-arrow {width:44px;height:44px}
  .auto-gallery-footer,.video-gallery-footer {gap:10px;align-items:center;flex-wrap:wrap}
  .auto-gallery-footer>p,.video-gallery-footer>p {font-size:11px;line-height:1.6;max-width:calc(100% - 94px)}
  #auto-gallery-toggle,#video-gallery-toggle {font-size:11px;min-height:44px}
  .services-grid {grid-template-columns:1fr;border-bottom:0}
  .service-card,.service-card:nth-child(n) {display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px 16px;padding:23px 0;border:0;border-bottom:1px solid #d5c2a8;align-items:start}
  .service-number {grid-column:1;grid-row:1;margin:5px 0 0;font-size:23px}
  .service-card h3 {grid-column:2;margin:0;font-size:32px;line-height:1.06;min-height:0;letter-spacing:-.6px}
  .service-card h3 br {display:none}
  .service-card>p {grid-column:2;max-width:400px;margin:3px 0 0;font-size:14px;line-height:1.7}
  .service-more {grid-column:2;width:auto;min-width:128px;justify-self:start;gap:30px;min-height:44px;font-size:12px;margin-top:2px}
  .services-bottom {font-size:12px;gap:8px;text-align:center}
  .lesson-inner {padding:40px 0 230px}
  .lesson-section {background-size:auto 320px}
  .lesson-copy h2 {font-size:clamp(36px,10vw,45px)}
  .lesson-copy>p:not(.eyebrow) {max-width:420px}
  .lesson-points {font-size:11px;gap:8px 12px;margin-block:20px}
  .lesson-points span+span {padding-left:0;border:0}
  .lesson-points span {border-bottom:1px solid var(--line);padding-bottom:4px}
  .about-photos {height:clamp(320px,94vw,390px);padding-right:26%;max-width:380px}
  .about-copy h2 {font-size:clamp(48px,14vw,62px)}
  .about-lead {font-size:29px;line-height:1.2}
  .about-lead br {display:none}
  .about-copy .button {font-size:12px;padding-inline:18px;gap:14px}
  .about-signature span {font-size:12px}
  .about-approach-copy h2 {font-size:42px}
  .about-approach-lead {font-size:28px}
  .about-approach-video {width:min(100%,280px)}
  .brands-section {padding:34px var(--gutter)}
  .brands-intro .eyebrow {font-size:10px}
  .brands-section .demo-caption {font-size:11px;max-width:400px}
  .brand-logos {gap:26px 32px}
  .lookbook-heading {grid-template-columns:1fr;gap:18px}
  .lookbook-heading h2 {grid-column:1}
  .lookbook-heading>p {grid-column:1;grid-row:2;font-size:14px;max-width:390px}
  .slider-controls {grid-column:1;grid-row:3;justify-self:end;gap:14px}
  .slider-controls>span {display:block;font-size:11px}
  .lookbook-slide {flex-basis:72%;max-width:280px}
  .lookbook-slide .image-open {height:auto;aspect-ratio:3/4}
  .lookbook-slide:nth-child(even) .image-open {height:auto;aspect-ratio:3/4}
  .lookbook-slide:nth-child(even) {padding-top:0}
  .faq-list summary {font-size:24px;line-height:1.2;padding:19px 0}
  .faq-list details>div {padding-right:0}
  .price-section {padding-block:24px}
  .booking-section {padding:44px var(--gutter);gap:30px}
  .booking-image {height:330px}
  .booking-content h2 {font-size:clamp(40px,11.5vw,48px)}
  #booking-form label {margin-bottom:18px}
  #booking-form select {max-width:100%;text-overflow:ellipsis;padding-right:24px}
  #booking-form input[type=date] {width:100%;min-width:0;max-width:100%;appearance:none;-webkit-appearance:none}
  #booking-form input[type=date]::-webkit-date-and-time-value {text-align:left;min-height:1.5em}
  .form-submit {min-height:50px;font-size:13px}
  .site-footer {grid-template-columns:minmax(0,1fr) auto;gap:18px 14px;padding:30px var(--gutter) 20px}
  .site-footer .tg-brand {grid-column:1/-1}
  .site-footer .tg-brand-owner {font-size:22px}
  .site-footer .tg-brand-studio {font-size:9px}
  .site-footer .tg-monogram {font-size:43px}
  .site-footer>p {grid-column:1/-1;justify-self:start;max-width:none;font-size:28px;text-align:left}
  .site-footer>span,.footer-top {font-size:12px}
  .footer-top {display:inline-flex;align-items:center;min-height:44px}
  .footer-bottom {font-size:10px;gap:16px;line-height:1.6}
  .design-archive {font-size:11px}
  .design-archive summary,.version-switcher a {min-height:44px;align-items:center;display:inline-flex}
  .service-dialog {width:calc(100% - 28px);max-height:calc(100dvh - 32px);padding:52px 22px 24px;border-radius:12px;overscroll-behavior:contain}
  .service-dialog h2 {font-size:38px}
  .service-dialog>p:not(.eyebrow),.service-dialog li {font-size:14px}
  .lightbox {max-width:94vw;max-height:94dvh}
  .lightbox img {max-width:94vw;max-height:calc(94dvh - 100px)}
  .lightbox>p {font-size:24px;padding:14px 12px 0}
}

/* A peek of the second film makes the horizontal phone gallery discoverable. */
@media(max-width:480px) {
  .personal-stories {overflow:hidden;gap:26px}
  .personal-stories-copy h2 {font-size:clamp(38px,10.8vw,48px)}
  .personal-stories-copy .text-link {margin-top:20px}
  .personal-stories-gallery {max-width:none}
  .personal-stories-films {display:flex;gap:16px;width:calc(100% + var(--gutter));max-width:none;justify-self:start;margin-inline:0;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-right:var(--gutter);overscroll-behavior-x:contain;padding:0 var(--gutter) 12px 0;scrollbar-width:thin;scrollbar-color:#bda486 transparent}
  .personal-story {flex:0 0 min(78vw,280px);scroll-snap-align:start}
  .personal-story:nth-child(2) {margin-top:0}
  .personal-story-frame {border-radius:18px}
  .personal-story figcaption {font-size:26px;line-height:1.15;padding-top:14px}
  .personal-stories-hint {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;font-size:11px;line-height:1.6;color:var(--muted)}
  .personal-stories-hint span {font-size:24px}
  .price-section {padding:24px var(--gutter)}
  .price-heading h2 {font-size:32px}
  .price-form,.calc-summary {padding:14px}
  .price-form .calc-field-hint {font-size:10px;margin-left:4px}
  .calc-choices {gap:4px}
  .calc-look-options {gap:5px}
  .calc-option-body {padding:6px 3px;min-height:50px}
  .calc-option-title {font-size:12px;line-height:1.3}
  .calc-option-price {font-size:11px}
  .calc-look-options .calc-option-price {font-size:17px}
  .calc-guest-controls {display:grid;grid-template-columns:1fr 1fr;gap:6px}
  .calc-guest-controls button {padding:8px 5px;font-size:12px}
  .calc-guest {grid-template-columns:1fr;gap:3px;padding-right:0}
  .price-form .calc-guest select {font-size:16px;padding-inline:8px}
  .calc-summary-total {font-size:42px}
  .calc-summary-line {font-size:12px}
  .calc-summary .calc-book {font-size:13px;min-height:46px}
}
@media(max-width:360px) {
  .site-header .tg-brand-studio {font-size:26px;letter-spacing:-.4px}
  .site-header .tg-monogram {font-size:38px}
  .tg-hero-studio {font-size:8px;letter-spacing:.8px}
  .hero-actions {display:grid;grid-template-columns:1fr;width:100%;gap:4px}
  .hero-actions .button {width:100%;justify-content:space-between;padding-inline:20px}
  .hero-actions .text-link {justify-self:center}
  .section-topline>span:last-child {font-size:7px}
  .portfolio-intro h2 {font-size:39px}
  .service-card,.service-card:nth-child(n) {column-gap:12px;grid-template-columns:23px minmax(0,1fr)}
  .service-card h3 {font-size:30px}
  .price-form,.calc-summary {padding:12px}
  #calc-extra-options {column-gap:8px}
  .price-form legend {font-size:11px}
  .calc-option-title {font-size:11px}
  .calc-look-options .calc-option-title {font-size:12px}
  .calc-option-price {font-size:10px}
  .calc-look-options .calc-option-price {font-size:16px}
  .calc-guest-controls button {font-size:11px}
}
@media(prefers-reduced-motion:reduce) {.personal-stories-films {scroll-behavior:auto}}

/* Compact portfolio categories with fine, quiet outlines. */
.portfolio-tabs {display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px;margin:0 0 24px;padding:0;border:0;overflow:visible;max-width:100%}
.portfolio-tabs button {flex:0 1 auto;min-height:44px;padding:10px 19px;margin:0;border:1px solid #bfad98;border-radius:999px;background:transparent;color:#5b4938;font-size:14px;font-weight:500;line-height:1.2;letter-spacing:0;white-space:nowrap;box-shadow:none;transition:background .18s ease,border-color .18s ease,color .18s ease}
.portfolio-tabs button[aria-selected=true] {background:#eee4d6;color:#493a2d;border-color:#a98b68;box-shadow:none}
.portfolio-tabs button:focus-visible {outline:2px solid #9d7348;outline-offset:3px}
@media(hover:hover) {.portfolio-tabs button:hover {background:#f2eade;border-color:#a98b68;color:#493a2d}.portfolio-tabs button[aria-selected=true]:hover {background:#e8dac7}}
#portfolio-show-all {position:relative;isolation:isolate;width:auto;min-width:0;max-width:calc(100% - 32px);min-height:48px;padding:12px 26px;border:1.5px solid #a98b68;border-radius:999px;background:#eee4d6;color:#493a2d;font-size:14px;font-weight:600;line-height:1.4;box-shadow:none;transition:background .18s ease,border-color .18s ease}
#portfolio-show-all::before {content:'';position:absolute;inset:-2px;border:1.5px solid #a98b68;border-radius:inherit;pointer-events:none;opacity:0;animation:portfolio-button-ripple 3s ease-out infinite}
#portfolio-show-all::after {margin-left:10px;font-size:17px;animation:none}
#portfolio-show-all:hover {background:#e8dac7;border-color:#96734e;transform:none;box-shadow:none}
#portfolio-show-all[aria-expanded=true]::before {animation:none;opacity:0}
@keyframes portfolio-button-ripple {0% {transform:scale(1);opacity:0} 12% {opacity:.55} 75%,100% {transform:scale(1.22,1.7);opacity:0}}
@media(max-width:600px) {.portfolio-tabs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:22px}.portfolio-tabs button {min-width:0;min-height:44px;padding:10px 12px;font-size:13px}}
@media(prefers-reduced-motion:reduce) {.portfolio-tabs button,#portfolio-show-all {transition:none} #portfolio-show-all::before {animation:none;opacity:0}}

/* Persistent shortcuts stay within the phone's safe area. */
.floating-actions {position:fixed;z-index:20;left:0;right:0;bottom:calc(18px + env(safe-area-inset-bottom,0px));display:flex;align-items:flex-end;justify-content:space-between;padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px));pointer-events:none}
.floating-actions a {pointer-events:auto}
.floating-top {display:flex;flex-direction:column;align-items:center;gap:5px;flex:none;order:2;margin-left:auto;color:#705133}
.floating-top-icon {display:grid;place-items:center;width:44px;height:44px;border:1px solid #bfa98b;border-radius:50%;background:#fffdf9f5;box-shadow:0 3px 14px #493a2d12;transition:background .18s ease}
.floating-top-label {padding:2px 6px;border-radius:8px;background:#fffdf9ed;font-size:12px;font-weight:500;line-height:1.25}
.floating-top svg {width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.floating-whatsapp {display:flex;flex-direction:column;align-items:center;gap:7px;order:1;margin-right:auto;max-width:156px}
.floating-whatsapp-label {display:block;padding:5px 10px;border:1px solid #e4ddd2;border-radius:999px;background:#fffdf9f5;color:#414039;font-size:11px;font-weight:500;line-height:1.3;white-space:nowrap;box-shadow:0 2px 10px #27221d0a}
.floating-whatsapp-icon {display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#25d366;color:#fff;box-shadow:0 4px 16px #138b4933;transition:background .18s ease}
.floating-whatsapp-icon svg {width:34px;height:34px}
@media(hover:hover) {.floating-top:hover .floating-top-icon {background:#f0e5d6}.floating-whatsapp:hover .floating-whatsapp-icon {background:#1dbb5a}}
body.modal-open .floating-actions {visibility:hidden;pointer-events:none}
.site-footer {padding-bottom:calc(114px + env(safe-area-inset-bottom,0px))}
@media(max-width:600px) {.floating-actions {bottom:calc(14px + env(safe-area-inset-bottom,0px));padding-left:max(14px,env(safe-area-inset-left,0px));padding-right:max(14px,env(safe-area-inset-right,0px))}.floating-whatsapp-icon {width:52px;height:52px}.floating-whatsapp-icon svg {width:31px;height:31px}}
@media(prefers-reduced-motion:reduce) {.floating-top-icon,.floating-whatsapp-icon {transition:none}}

.cosmetics-films {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;width:min(100%,780px);margin:38px auto 0;text-align:left}
.cosmetics-film {margin:0;min-width:0}
.cosmetics-video-frame {width:100%;height:auto;aspect-ratio:9/16;border-radius:20px;background:#211e1a;box-shadow:0 12px 32px #493a2d18}
.cosmetics-video-frame video {position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}
.cosmetics-sound {display:block}
.cosmetics-film figcaption {padding:15px 4px 0;font:25px/1.25 var(--serif);color:var(--ink)}
@media(max-width:600px) {.cosmetics-films {grid-template-columns:1fr;max-width:360px;gap:28px;margin-top:28px}.cosmetics-video-frame {border-radius:16px}.cosmetics-film figcaption {font-size:24px}}
.lesson-videos {background:#faf7f2}
.lesson-slider-controls {display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.lesson-slider-controls[hidden] {display:none}
.lesson-slider-hint {font-size:13px;color:#716354}
.lesson-slider-auto {display:flex;align-items:center;gap:12px 18px;flex-wrap:wrap}
.lesson-slider-autoplay {min-height:44px;padding:9px 17px;border:1px solid #b6a187;border-radius:24px;background:#fffdf9;color:#493a2d;font-size:14px;cursor:pointer}
.lesson-slider-autoplay:focus-visible {outline:2px solid #493a2d;outline-offset:4px}
.lesson-slider-nav {display:flex;align-items:center;gap:16px}
.lesson-slider-arrow {display:grid;place-items:center;flex:none;width:48px;height:48px;padding:0;border:1px solid #b6a187;border-radius:50%;background:#fffdf9;color:#493a2d;cursor:pointer;transition:background .2s,color .2s,opacity .2s}
.lesson-slider-arrow svg {width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.lesson-slider-arrow:disabled {opacity:.3;cursor:default}
.lesson-slider-count {min-width:100px;text-align:center;font-size:12px;letter-spacing:1.5px;font-variant-numeric:tabular-nums;color:#493a2d}
.lesson-film-grid {display:flex;width:100%;gap:24px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#b6a187 transparent;padding-bottom:16px}
.lesson-film {flex:0 0 min(28%,320px);min-width:0;position:relative;display:flex;flex-direction:column;align-items:stretch;scroll-snap-align:start}
.lesson-slider-arrow:focus-visible,.lesson-film-grid:focus-visible {outline:2px solid #493a2d;outline-offset:4px}
@media(hover:hover) {.lesson-slider-arrow:not(:disabled):hover {background:#493a2d;color:#fffdf9}}
.lesson-film .portfolio-video-frame {width:100%;height:auto;aspect-ratio:9/16;flex:none;border-radius:18px;overflow:hidden;background:#27221d}
.lesson-film video {position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block}
.lesson-film .portfolio-caption {display:block;min-width:0;flex:1}
.lesson-film .portfolio-caption h3 {font-size:25px;line-height:1.15;overflow-wrap:break-word}
.lesson-sound,.cosmetics-sound {margin-top:12px;border:1px solid #b6a187;border-radius:24px;padding:10px 16px;min-height:44px;font-size:12px;background:#fffdf9;color:#493a2d;align-self:flex-start}
.lesson-sound[aria-pressed=true],.cosmetics-sound[aria-pressed=true] {background:#493a2d;color:white}
@media(max-width:900px) {.lesson-film-grid {gap:20px}.lesson-film {flex-basis:42%}}
@media(max-width:600px) {
  .lesson-slider-controls {flex-wrap:wrap;gap:14px;margin-bottom:20px}
  .lesson-slider-hint {font-size:12px}
  .lesson-slider-nav {width:100%;justify-content:space-between}
  .lesson-film-grid {gap:16px}
  .lesson-film {flex-basis:76%;max-width:300px}
  .lesson-film .portfolio-caption h3 {font-size:27px}
}
@media(prefers-reduced-motion:reduce) {.lesson-slider-arrow {transition:none}}

/* Center the category controls over the three photo columns, beside the intro. */
@media(min-width:851px) {
  .portfolio-tabs {margin-left:calc((100% + 18px)/4);justify-content:center}
}
@media(min-width:601px) and (max-width:850px) {
  .portfolio-tabs {justify-content:center}
}
