:root {
  --paper: #E4E1D9;
  --sand: #D8CDBF;
  --ink: #4b4741;
  --line: rgba(75, 71, 65, .24);
  --serif: "Prata", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: #8f806d transparent; }
html::-webkit-scrollbar { width: 3px; height: 3px; }
html::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-thumb { background: #8f806d; border-radius: 3px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 14.5px; font-weight: 400; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
p { line-height: 1.62; }
h1, h2, .footer-name { font-family: var(--serif); font-weight: 400; }
address { font-style: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.page-loader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-content: center;
  justify-items: center; gap: 26px; background: #dcd5c7;
  opacity: 1; visibility: visible; transition: opacity .3s ease, visibility .3s ease;
}
.page-loader img { width: 64px; height: auto; object-fit: contain; }
.loader-track { width: 128px; height: 2px; overflow: hidden; background: rgba(73,73,66,.16); }
.loader-track span { display: block; width: 100%; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; animation: loader-fill .55s ease forwards; }
body.is-loaded .page-loader { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes loader-fill { to { transform: scaleX(1); } }

.site-header {
  height: 116px; padding: 0 clamp(28px, 3.8vw, 72px);
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 20; isolation: isolate; background: transparent;
  transition: height .35s ease, padding-block .35s ease, background-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.92) 52%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.92) 52%, transparent 100%);
  transition: background .35s ease, backdrop-filter .35s ease;
}
.site-header--overlay {
  position: fixed; inset: 0 0 auto; width: 100%;
  background: transparent;
}
.site-header.is-scrolled {
  position: fixed; inset: 0 0 auto; width: 100%; height: auto;
  padding-block: 10px;
  background: transparent; box-shadow: none;
}
.site-header.is-scrolled::before {
  background: linear-gradient(to bottom, rgba(228,225,217,.86) 0%, rgba(228,225,217,.52) 48%, rgba(228,225,217,0) 100%);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.contact-body .site-header:not(.is-scrolled) nav a { color: #fff; }
.site-header nav { display: flex; align-items: center; gap: clamp(44px, 6vw, 95px); font-family: var(--serif); font-size: 16.5px; }
.site-header nav a { position: relative; padding: 14px 0; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 7px; height: 1px; background: currentColor; transition: right .35s ease; }
.site-header nav a:hover::after, .site-header nav a[aria-current="page"]::after { right: 0; }
.site-header nav .nav-instagram { display: none; }
.logo-link { line-height: 0; }
.logo-link img { width: 58px; height: auto; object-fit: contain; transition: width .35s ease; }
.site-header.is-scrolled .logo-link img { width: 46px; }
.brand-mark {
  width: 58px; height: 72px; display: inline-grid; place-items: center;
  border: 2px solid currentColor; border-radius: 50%;
  font: 36px/1 var(--serif); letter-spacing: -7px; padding-right: 7px;
}
.brand-mark--large { width: 72px; height: 88px; font-size: 44px; }
.menu-toggle { display: none; }

.about-hero {
  min-height: min(78vh, 890px); position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center;
  
}
.about-hero::before {
  content: ""; position: absolute; inset: -12px; z-index: -1;
  background: url("../img/main_visual.jpg") center/cover no-repeat;
  
  filter: blur(15px); transform: scale(1.035); transition: filter 1.35s ease, transform 1.35s ease;
}
body.is-loaded .about-hero::before { filter: blur(0); transform: scale(1); }
.hero-brand { text-align: center; margin-top: -5vh; }
.hero-brand img { width: 80px; height: auto; margin: 0 auto; object-fit: contain; }
.hero-brand h1 { margin: 20px 0 0; font-size: clamp(23px, 1.75vw, 32px); }
.hero-kicker { position: absolute; left: 0; right: 0; bottom: 14%; margin: 0 auto; text-align: center; font-size: clamp(13px, 1.08vw, 17px); }
.section-pad { padding: clamp(90px, 12vw, 180px) max(8vw, 32px); }
.about-story { min-height: 670px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8vw; background: var(--paper); }
.story-copy { max-width: 560px; justify-self: center; }
.story-copy h2 { font-size: clamp(22px, 1.9vw, 32px); margin: 0 0 48px; }
.story-copy p { margin: 0 0 24px; }
.story-images { align-self: stretch; display: grid; grid-template-columns: 1.1fr .9fr; gap: 12px; min-height: 480px; margin-right: -8vw; }

.site-footer {
  min-height: 470px; background: url("../img/footer_bg.jpg") center/cover no-repeat;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  text-align: center; padding: 95px 24px 46px; gap: 20px;
}
.footer-logo { width: 58px; height: auto; margin-bottom: auto; object-fit: contain; transform: translateY(44px); }
.footer-name { margin: 0; font-size: 16px; }
.site-footer address { font-size: 13px; line-height: 1.55; }

.service-lead {
  height: 100vh; height: 100svh; height: 100dvh;
  max-height: 100vh; max-height: 100svh; max-height: 100dvh;
  display: grid; grid-template-columns: 1fr 1fr; background: var(--sand); overflow: hidden;
}
.service-lead-image { height: 100%; min-height: 0; }
.service-lead-copy { padding: 50px clamp(44px, 7vw, 130px); display: flex; flex-direction: column; }
.service-lead-copy h1 { font-size: 28px; margin: 176px 0 0; }
.service-lead-copy .service-text { margin-top: auto; margin-bottom: 30px; }
.service-text { max-width: 560px; }
.service-text h2 { font-size: 24px; margin: 0 0 28px; }
.service-text p { font-size: 14.5px; margin: 0 0 15px; }
.service-row {
  min-height: 620px;
  padding-block: clamp(85px, 10vw, 155px);
  padding-inline: max(6vw, calc((100vw - 900px) / 2));
  display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: center; gap: clamp(56px, 7vw, 90px);
}
.service-row .service-text { max-width: 440px; justify-self: center; }
.service-row--skinpen { background: #D8CDBF; }
.service-row--image-left { grid-template-columns: 330px minmax(0, 1fr); }
.service-row--image-left img { grid-column: 1; grid-row: 1; }
.service-row--image-left .service-text { grid-column: 2; }
.service-row img { width: 330px; height: 360px; justify-self: center; }
.looking-ahead {
  min-height: 355px; display: grid; place-items: center;  text-align: center; /*color: #f7f3ec;*/
  background: url("../img/service_bottom.jpg");   background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.looking-ahead-copy { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
.looking-ahead h2 { font-size: 22px; margin: 0 0 18px; }
.looking-ahead p { font-size: 12px; }

.contact-intro {
  height: 100vh; height: 100svh; height: 100dvh;
  max-height: 100vh; max-height: 100svh; max-height: 100dvh;
  display: grid; grid-template-columns: 54% 46%; overflow: hidden;
}
.contact-intro > img { grid-column: 2; height: 100%; min-height: 0; }
.contact-copy { grid-column: 1; grid-row: 1; align-self: end; max-width: 720px; padding: 0 clamp(42px, 7vw, 95px) 45px; }
.contact-copy h1 { font-size: 24px; margin: 0 0 34px; }
.contact-copy p { margin: 0 0 12px; max-width: 650px; }
.outline-button {
  margin-top: 28px; width: fit-content; min-width: 310px; border: 1px solid var(--line);
  padding: 17px 14px; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--serif); transition: color .3s, background .3s;
}
.outline-button:hover { background: var(--ink); color: var(--paper); }
.section-divider { height: 5px; background: var(--sand); }
.visit-section { min-height: 745px; display: grid; grid-template-columns: 40% 60%; }
.visit-details { padding: clamp(90px, 16vw, 260px) 6vw 55px 4vw; display: flex; flex-direction: column; justify-content: flex-end; gap: 72px; }
.visit-details > div { display: grid; grid-template-columns: 230px 1fr; gap: 40px; }
.visit-details h2 { font-size: 21px; margin: 0; }
.visit-details p, .visit-details address { font-size: 13px; margin: 0; }
.visit-details address span { color: #94938d; }

@media (min-width: 721px) {
  .services-page .service-text p,
  .services-page .looking-ahead p,
  .contact-page .contact-copy p,
  .contact-page .visit-details p,
  .contact-page .visit-details address {
    font-size: 14.5px;
  }
}

.reveal { opacity: 0; transform: translateY(24px); }
.reveal.is-visible { animation: reveal-up .9s cubic-bezier(.22,.61,.36,1) both; }
.reveal.is-visible.delay-1 { animation-delay: .18s; }
@keyframes reveal-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.focus-image { filter: blur(14px); transform: scale(1.025); transition: filter 1.35s ease, transform 1.35s ease; }
body.is-loaded .focus-image { filter: blur(0); transform: scale(1); }

.back-to-top {
  position: fixed; right: clamp(18px, 2.5vw, 42px); bottom: clamp(18px, 2.5vw, 38px); z-index: 18;
  width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink); background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 28px rgba(73, 73, 66, .13); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background-color .25s ease;
}
.back-to-top::before {
  content: ""; width: 10px; height: 10px; border-top: 1.5px solid currentColor; border-left: 1.5px solid currentColor;
  transform: translateY(3px) rotate(45deg);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #fff; }

@media (max-width: 980px) {
  .site-header { height: 92px; }
  .site-header.is-scrolled { height: auto; padding-block: 10px; }
  .brand-mark { width: 46px; height: 57px; font-size: 28px; }
  .logo-link img { width: 52px; }
  .service-row, .service-row--image-left { padding: 90px 8vw; grid-template-columns: 1fr 320px; gap: 7vw; }
  .service-row--image-left { grid-template-columns: 320px 1fr; }
  .service-row img { height: 360px; }
  .visit-details { padding: 130px 5vw 50px; }
  .visit-details > div { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 720px) {
  body { font-size: 14px; }
  .site-header { height: 78px; padding: 0 22px; }
  .site-header.is-scrolled { height: auto; padding-block: 9px; }
  .site-header--overlay:not(.is-scrolled) { background: transparent; }
  .logo-link img { width: 40px; }
  .site-header.is-scrolled .logo-link img { width: 34px; }
  .page-loader img { width: 48px; }
  .page-loader { gap: 20px; }
  .loader-track { width: 108px; }
  .menu-toggle { width: 38px; height: 38px; border: 0; background: transparent; display: grid; place-content: center; gap: 7px; z-index: 2; }
  .menu-toggle > span:not(.sr-only) { width: 24px; height: 1px; display: block; background: var(--ink); transition: transform .35s ease, opacity .35s ease; }
  .contact-body .site-header:not(.is-scrolled) nav.is-open a { color: var(--ink); }
  .menu-toggle.is-open > span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle.is-open > span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .site-header nav {
    position: fixed; inset: 0; padding: 90px 10vw; background: rgba(228,225,217,.97);
    flex-direction: column; justify-content: center; gap: 28px; font-size: 21px; opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .4s ease, visibility .4s ease;
  }
  .site-header nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
  .site-header nav .nav-instagram {
    position: absolute; left: 50%; bottom: 42px; display: grid; width: 37px; height: 37px;
    padding: 4px; place-items: center; transform: translateX(-50%);
  }
  .site-header nav .nav-instagram::after { display: none; }
  .nav-instagram svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.25; }
  .nav-instagram .instagram-dot { fill: currentColor; stroke: none; }
  body.menu-open { overflow: hidden; }
  .about-hero { min-height: 670px; }
  .about-hero::before { background-image: url("../img/main_visual_mobile.jpg"); background-position: center; }
  .hero-brand { margin-top: -16vh; }
  .hero-kicker { left: 10vw; right: 10vw; bottom: 12%; text-align: center; }
  .about-story { grid-template-columns: 1fr; min-height: 0; gap: 82px; padding: 112px 0 118px; }
  .story-copy { justify-self: stretch; }
  .story-copy { max-width: none; padding: 0 9vw; }
  .story-copy h2 { margin-bottom: 40px; }
  .story-copy p { line-height: 1.78; margin-bottom: 26px; }
  .story-images {
    position: relative;
    display: block;
    width: 84%;
    height: 82vw;
    min-height: 0;
    margin: 0 auto;
  }
  .story-images img {
    position: absolute;
    width: 47%;
    height: 72%;
    object-fit: cover;
  }
  .story-images img:first-child {
    top: 0;
    left: 0;
  }
  .story-images img:last-child {
    right: 0;
    bottom: 0;
    width: 42%;
  }
  .site-footer { min-height: 350px; padding-top: 68px; padding-bottom: 34px; gap: 16px; }
  .footer-logo { width: 36px; transform: translateY(36px); }

  .service-lead {
    grid-template-columns: 1fr; grid-template-rows: auto auto;
    height: auto; max-height: none; overflow: visible; background: #D8CDBF;
  }
  .service-lead-image { height: min(78vw, 420px); min-height: 0; }
  .service-lead-copy { min-height: 0; padding: 48px 9vw 92px; overflow: visible; }
  .service-lead-copy h1 { margin: 0 0 42px; }
  .service-lead-copy .service-text { margin: 0; }
  .service-lead-copy .service-text h2 { margin-bottom: 28px; }
  .service-lead-copy .service-text p { margin-bottom: 18px; }
  .service-row, .service-row--image-left {
    min-height: 0; padding: 92px 0; grid-template-columns: 1fr; gap: 48px;
  }
  .service-row img, .service-row--image-left img {
    grid-column: 1; grid-row: 1; width: 82%; justify-self: center;
  }
  .service-row .service-text, .service-row--image-left .service-text { grid-column: 1; grid-row: 2; }
  .service-row img { height: min(72vw, 390px); }
  .service-row .service-text { width: 82%; max-width: 440px; justify-self: center; }
  .service-text { max-width: 560px; }
  .service-text h2 { margin-bottom: 28px; }
  .service-text p { line-height: 1.78; margin-bottom: 18px; }
  .looking-ahead { min-height: 320px; padding: 44px 9vw; }

  .contact-intro {
    grid-template-columns: 1fr; grid-template-rows: auto auto;
    height: auto; max-height: none; min-height: 0; overflow: visible;
  }
  .contact-intro > img { grid-column: 1; grid-row: 1; height: min(82vw, 440px); min-height: 0; }
  .contact-copy {
    grid-column: 1; grid-row: 2; align-self: stretch;
    padding: 58px 9vw 76px; overflow: visible;
  }
  .contact-copy h1 { margin-bottom: 24px; }
  .contact-copy .outline-button { margin-top: 20px; }
  .outline-button { min-width: 0; width: 100%; }
  .visit-section { grid-template-columns: 1fr; }
  .visit-section > img { min-height: 560px; }
  .visit-details { min-height: 650px; padding: 105px 9vw; gap: 118px; }
  .back-to-top { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
