:root {
  --derm-ink: #343033;
  --derm-charcoal: #282326;
  --derm-wine: #6f3f48;
  --derm-rose: #aa6f68;
  --derm-terracotta: #b77663;
  --derm-sand: #e9ddd2;
  --derm-nude: #f2eae3;
  --derm-paper: #fbf8f4;
  --derm-white: #ffffff;
  --derm-gray: #746e70;
  --derm-line: #ddd4ce;
  --derm-display: "Gilda Display", Georgia, serif;
  --derm-body: "Outfit", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; background: var(--derm-paper); color: var(--derm-ink); font-family: var(--derm-body); font-size: 16px; line-height: 1.65; overflow-x: hidden; }
body, button, a { -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.derm-shell { width: min(1240px, calc(100% - 96px)); margin: 0 auto; }
.skip-link { position: fixed; z-index: 1000; top: -80px; left: 18px; padding: 10px 15px; background: var(--derm-white); color: var(--derm-charcoal); border: 1px solid var(--derm-line); transition: top .2s; }
.skip-link:focus { top: 14px; }

.derm-demo-bar { min-height: 34px; padding: 7px 42px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--derm-charcoal); color: #e8dcda; font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.derm-demo-bar a { padding-bottom: 1px; border-bottom: 1px solid rgba(255,255,255,.34); }

.derm-header { position: sticky; z-index: 50; top: 0; background: rgba(251,248,244,.94); border-bottom: 1px solid transparent; backdrop-filter: blur(15px); transition: border-color .25s, box-shadow .25s; }
.derm-header.scrolled { border-color: var(--derm-line); box-shadow: 0 8px 28px rgba(52,48,51,.06); }
.derm-header-inner { min-height: 86px; display: flex; align-items: center; gap: 30px; }
.derm-brand { min-width: 260px; display: flex; flex-direction: column; line-height: 1.05; }
.derm-brand strong { font: 400 18px/1.1 var(--derm-display); letter-spacing: .005em; }
.derm-brand small { margin-top: 6px; color: #8b7878; font-size: 8px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.derm-header nav { margin-left: auto; display: flex; align-items: center; gap: clamp(17px, 1.8vw, 30px); }
.derm-header nav a { color: #6f696b; font-size: 12px; transition: color .2s; }
.derm-header nav a:hover, .derm-header nav a:focus-visible { color: var(--derm-wine); }
.derm-header-cta { min-height: 42px; padding: 10px 17px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--derm-wine); color: var(--derm-wine); font-size: 11px; font-weight: 500; letter-spacing: .03em; transition: background .2s, color .2s; }
.derm-header-cta:hover, .derm-header-cta:focus-visible { background: var(--derm-wine); color: var(--derm-white); }
.menu-toggle { width: 42px; height: 42px; padding: 0; display: none; position: relative; border: 1px solid var(--derm-line); background: transparent; cursor: pointer; }
.menu-toggle span { width: 18px; height: 1px; display: block; position: absolute; left: 50%; top: 50%; background: var(--derm-charcoal); transform-origin: center; transition: transform .2s; }
.menu-toggle span:first-child { transform: translate(-50%, -4px); }
.menu-toggle span:last-child { transform: translate(-50%, 4px); }

.derm-hero { min-height: 740px; position: relative; overflow: hidden; background: linear-gradient(90deg, var(--derm-paper) 0 63%, var(--derm-nude) 63% 100%); }
.derm-hero::before { content: ""; position: absolute; width: 32vw; height: 32vw; min-width: 420px; min-height: 420px; right: -16vw; bottom: -18vw; border-radius: 50%; border: 1px solid rgba(170,111,104,.15); }
.derm-hero-layout { min-height: 740px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; position: relative; }
.derm-hero-copy { max-width: 720px; padding: 86px 72px 96px 0; }
.derm-eyebrow, .derm-label { margin: 0 0 26px; color: var(--derm-rose); font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.derm-label.light { color: #d8b9b5; }
.derm-hero h1 { max-width: 700px; margin: 0; font: 400 clamp(54px, 5.3vw, 80px)/.98 var(--derm-display); letter-spacing: -.035em; }
.derm-hero h1 em { display: block; color: var(--derm-terracotta); font-style: italic; font-weight: 400; }
.derm-hero-copy > p:not(.derm-eyebrow) { max-width: 565px; margin: 34px 0 0; color: #716a6c; font-size: 16px; font-weight: 300; line-height: 1.75; }
.derm-actions { margin-top: 42px; display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.derm-button { min-height: 52px; padding: 14px 21px; display: inline-flex; align-items: center; justify-content: center; gap: 34px; background: var(--derm-wine); color: var(--derm-white); border: 1px solid var(--derm-wine); font-size: 12px; font-weight: 500; letter-spacing: .02em; transition: background .2s, border-color .2s, transform .2s; }
.derm-button:hover, .derm-button:focus-visible { background: var(--derm-charcoal); border-color: var(--derm-charcoal); transform: translateY(-2px); }
.derm-button span { font-size: 16px; }
.derm-text-link { padding-bottom: 5px; display: inline-flex; align-items: center; gap: 10px; border-bottom: 1px solid #baaaa5; color: #5e585a; font-size: 12px; font-weight: 500; }
.derm-hero-image { width: min(470px, 91%); height: 610px; margin: 0 0 0 auto; position: relative; align-self: end; overflow: visible; }
.derm-hero-image::before { content: ""; position: absolute; inset: -24px 34px 24px -24px; border: 1px solid rgba(183,118,99,.28); }
.derm-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 24%; position: relative; filter: saturate(.88) contrast(.98); }
.derm-hero-image figcaption { position: absolute; left: -38px; bottom: 35px; padding: 15px 18px; display: flex; flex-direction: column; gap: 5px; background: rgba(255,252,248,.94); box-shadow: 0 14px 38px rgba(76,52,55,.11); color: #8a6c68; font-size: 8px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.derm-hero-line { position: absolute; left: 0; bottom: 0; width: 63%; height: 1px; background: var(--derm-line); }

.derm-section-intro { display: grid; grid-template-columns: 170px 1.4fr .75fr; gap: 62px; align-items: end; }
.derm-section-intro h2, .derm-care-title h2, .derm-structure-panel h2, .derm-about-copy h2, .derm-contact-panel h2 { margin: 0; font: 400 clamp(39px, 4vw, 60px)/1.04 var(--derm-display); letter-spacing: -.03em; }
.derm-section-intro > p:last-child { margin: 0 0 3px; color: #766f71; font-size: 14px; font-weight: 300; }

.derm-treatments { padding: 136px 0 128px; background: var(--derm-white); }
.derm-treatment-grid { margin: 84px 0 0 232px; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--derm-line); }
.derm-treatment-grid article { min-height: 190px; padding: 30px 34px 30px 0; border-top: 1px solid var(--derm-line); }
.derm-treatment-grid article:not(:nth-child(3n+1)) { padding-left: 34px; border-left: 1px solid var(--derm-line); }
.derm-treatment-grid h3 { margin: 0 0 15px; font: 400 23px/1.2 var(--derm-display); letter-spacing: -.015em; }
.derm-treatment-grid p { max-width: 315px; margin: 0; color: #7a7475; font-size: 13px; font-weight: 300; }

.derm-care { padding: 130px 0; background: var(--derm-wine); color: var(--derm-white); position: relative; overflow: hidden; }
.derm-care::after { content: ""; position: absolute; width: 430px; height: 430px; right: -250px; top: -250px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); }
.derm-care-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; position: relative; }
.derm-care-title h2 { max-width: 590px; }
.derm-care-title > p:last-child { max-width: 530px; margin: 31px 0 0; color: #e2cecc; font-size: 15px; font-weight: 300; }
.derm-care-list { border-top: 1px solid rgba(255,255,255,.22); }
.derm-care-list article { padding: 31px 0 30px; display: grid; grid-template-columns: .7fr 1fr; gap: 35px; border-bottom: 1px solid rgba(255,255,255,.22); }
.derm-care-list h3 { margin: 0; font: 400 22px/1.25 var(--derm-display); }
.derm-care-list p { margin: 0; color: #dfcdcb; font-size: 13px; font-weight: 300; }

.derm-structure { padding: 138px 0; background: var(--derm-paper); }
.derm-structure-frame { height: 690px; position: relative; }
.derm-structure-frame > img { width: 78%; height: 100%; margin-left: auto; object-fit: cover; object-position: center; }
.derm-structure-panel { width: min(480px, 44%); padding: 58px 53px; position: absolute; left: 0; top: 50%; transform: translateY(-50%); background: var(--derm-white); box-shadow: 0 26px 72px rgba(70,53,54,.12); }
.derm-structure-panel h2 { font-size: clamp(35px, 3.35vw, 50px); }
.derm-structure-panel > p:not(.derm-label) { margin: 24px 0 0; color: #777072; font-size: 14px; font-weight: 300; }
.derm-structure-panel ul { margin: 34px 0 0; padding: 0; list-style: none; }
.derm-structure-panel li { padding: 12px 0; border-top: 1px solid var(--derm-line); color: #5d5658; font-size: 12px; }
.derm-structure-panel li::before { content: ""; width: 5px; height: 5px; margin-right: 12px; display: inline-block; vertical-align: 1px; background: var(--derm-rose); }

.derm-about { padding: 140px 0; background: var(--derm-nude); }
.derm-about-layout { display: grid; grid-template-columns: 1.08fr .72fr; align-items: center; gap: 110px; }
.derm-about-copy { max-width: 700px; }
.derm-about-copy h2 { margin-bottom: 27px; }
.derm-about-lead { margin: 0 0 20px; color: var(--derm-wine); font: 400 23px/1.45 var(--derm-display); }
.derm-about-copy > p:not(.derm-label):not(.derm-about-lead) { max-width: 630px; margin: 0; color: #6f686a; font-weight: 300; }
.derm-facts { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #d7c8c1; }
.derm-facts span { padding: 15px 20px 15px 0; border-bottom: 1px solid #d7c8c1; color: #61595b; font-size: 11px; }
.derm-facts span:nth-child(even) { padding-left: 24px; border-left: 1px solid #d7c8c1; }
.derm-about-image { width: 390px; height: 510px; margin: 0 0 0 auto; position: relative; }
.derm-about-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: saturate(.84); }
.derm-about-image figcaption { position: absolute; left: -24px; bottom: 22px; padding: 12px 15px; background: rgba(255,252,248,.93); color: #8b7471; font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }

.derm-contact { padding: 98px 0; background: var(--derm-paper); }
.derm-contact-panel { min-height: 390px; padding: 68px 72px; display: grid; grid-template-columns: 1.15fr .65fr; align-items: center; gap: 100px; background: var(--derm-charcoal); color: var(--derm-white); position: relative; overflow: hidden; }
.derm-contact-panel::after { content: ""; position: absolute; width: 340px; height: 340px; right: -220px; bottom: -220px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); }
.derm-contact-panel h2 { max-width: 650px; }
.derm-contact-panel > div:last-child > p { margin: 0 0 28px; color: #cfc4c5; font-size: 14px; font-weight: 300; }
.derm-button.light { background: var(--derm-white); border-color: var(--derm-white); color: var(--derm-charcoal); }
.derm-button.light:hover, .derm-button.light:focus-visible { background: var(--derm-sand); border-color: var(--derm-sand); }

.derm-footer { padding: 64px 0 25px; background: #1e1b1d; color: #e3dcdd; }
.derm-footer-main { padding-bottom: 48px; display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.derm-footer .derm-brand small { color: #967f82; }
.derm-footer-contacts { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.derm-footer-contacts a, .derm-footer-contacts .derm-contact-item { display: inline-flex; align-items: center; gap: 9px; color: #bdb1b3; font-size: 11px; }
.derm-footer-contacts svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.derm-footer-notices { padding-top: 22px; display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid rgba(255,255,255,.12); color: #827477; font-size: 9px; letter-spacing: .07em; text-transform: uppercase; }
.derm-footer-notices p { margin: 0; }
.derm-footer-notices a { color: #b5a8aa; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .72s ease, transform .72s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 1120px) {
  .derm-shell { width: min(100% - 60px, 1080px); }
  .derm-header nav { gap: 15px; }
  .derm-header nav a { font-size: 10px; }
  .derm-header-cta { display: none; }
  .derm-hero-copy { padding-right: 48px; }
  .derm-section-intro { grid-template-columns: 130px 1.25fr .7fr; gap: 40px; }
  .derm-treatment-grid { margin-left: 170px; }
  .derm-care-layout { gap: 72px; }
  .derm-structure-panel { padding: 48px 42px; }
  .derm-about-layout { gap: 72px; }
  .derm-about-image { width: 340px; }
  .derm-contact-panel { padding: 60px 52px; gap: 70px; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 84px; }
  .derm-demo-bar { padding-inline: 26px; }
  .derm-header-inner { min-height: 72px; }
  .derm-brand { min-width: 0; margin-right: auto; }
  .derm-header nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 20px 30px 30px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--derm-paper); border-top: 1px solid var(--derm-line); border-bottom: 1px solid var(--derm-line); box-shadow: 0 16px 28px rgba(52,48,51,.08); }
  .derm-header nav.open { display: flex; }
  .derm-header nav a { padding: 12px 0; border-bottom: 1px solid var(--derm-line); font-size: 13px; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }
  .derm-hero { background: linear-gradient(180deg, var(--derm-paper) 0 52%, var(--derm-nude) 52% 100%); }
  .derm-hero-layout { padding: 72px 0 0; grid-template-columns: 1fr; }
  .derm-hero-copy { max-width: 740px; padding: 0 0 76px; }
  .derm-hero-image { width: min(580px, 86%); height: 650px; margin-left: auto; margin-right: auto; }
  .derm-hero-line { width: 100%; }
  .derm-treatments, .derm-care, .derm-structure, .derm-about { padding-block: 102px; }
  .derm-section-intro { grid-template-columns: 1fr; gap: 10px; }
  .derm-section-intro > p:last-child { max-width: 600px; margin-top: 18px; }
  .derm-treatment-grid { margin: 66px 0 0; grid-template-columns: 1fr 1fr; }
  .derm-treatment-grid article:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .derm-treatment-grid article:nth-child(even) { padding-left: 34px; border-left: 1px solid var(--derm-line); }
  .derm-treatment-grid article:nth-child(odd) { padding-right: 34px; }
  .derm-care-layout { grid-template-columns: 1fr; gap: 65px; }
  .derm-care-title { max-width: 700px; }
  .derm-structure-frame { height: auto; }
  .derm-structure-frame > img { width: 100%; height: 540px; }
  .derm-structure-panel { width: calc(100% - 70px); margin: -90px 0 0 auto; position: relative; top: auto; transform: none; }
  .derm-about-layout { grid-template-columns: 1fr 300px; gap: 55px; }
  .derm-about-image { width: 300px; height: 455px; }
  .derm-contact-panel { grid-template-columns: 1fr 1fr; gap: 55px; }
  .derm-footer-main { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .derm-shell { width: calc(100% - 40px); }
  .derm-demo-bar { padding: 8px 14px; justify-content: center; font-size: 8px; text-align: center; }
  .derm-demo-bar > span { display: none; }
  .derm-brand strong { font-size: 16px; }
  .derm-brand small { max-width: 220px; font-size: 7px; }
  .derm-hero-layout { padding-top: 56px; }
  .derm-hero-copy { padding-bottom: 62px; }
  .derm-eyebrow { margin-bottom: 22px; font-size: 8px; }
  .derm-hero h1 { font-size: clamp(45px, 13vw, 59px); }
  .derm-hero-copy > p:not(.derm-eyebrow) { margin-top: 26px; font-size: 15px; }
  .derm-actions { margin-top: 34px; align-items: flex-start; flex-direction: column; gap: 19px; }
  .derm-button { width: 100%; justify-content: space-between; }
  .derm-hero-image { width: 94%; height: 510px; }
  .derm-hero-image::before { inset: -14px 18px 14px -14px; }
  .derm-hero-image figcaption { left: -5%; bottom: 22px; }
  .derm-treatments, .derm-care, .derm-structure, .derm-about { padding-block: 78px; }
  .derm-section-intro h2, .derm-care-title h2, .derm-structure-panel h2, .derm-about-copy h2, .derm-contact-panel h2 { font-size: 39px; }
  .derm-treatment-grid { margin-top: 50px; grid-template-columns: 1fr; }
  .derm-treatment-grid article, .derm-treatment-grid article:nth-child(even), .derm-treatment-grid article:nth-child(odd) { min-height: 0; padding: 25px 0; border-left: 0; }
  .derm-care-list article { grid-template-columns: 1fr; gap: 10px; }
  .derm-structure-frame > img { height: 360px; }
  .derm-structure-panel { width: calc(100% - 18px); margin-top: -45px; padding: 38px 28px; }
  .derm-about-layout { grid-template-columns: 1fr; gap: 62px; }
  .derm-about-image { width: min(330px, 92%); height: 450px; margin-left: auto; margin-right: auto; }
  .derm-facts { grid-template-columns: 1fr; }
  .derm-facts span:nth-child(even) { padding-left: 0; border-left: 0; }
  .derm-contact { padding: 72px 0; }
  .derm-contact-panel { min-height: 0; padding: 48px 28px; grid-template-columns: 1fr; gap: 34px; }
  .derm-footer { padding-top: 50px; }
  .derm-footer-contacts { align-items: flex-start; flex-direction: column; gap: 17px; }
  .derm-footer-notices { flex-direction: column; gap: 7px; }
}

@media (max-width: 380px) {
  .derm-shell { width: calc(100% - 30px); }
  .derm-brand small { display: none; }
  .derm-hero h1 { font-size: 43px; }
  .derm-hero-image { height: 470px; }
  .derm-section-intro h2, .derm-care-title h2, .derm-structure-panel h2, .derm-about-copy h2, .derm-contact-panel h2 { font-size: 35px; }
}
