/* @fonts:start */
@font-face{font-family:'Instrument Serif';font-style:italic;font-weight:400;font-display:swap;src:url(../wspolne/fonts/instrument-serif-latinext-italic-400.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Instrument Serif';font-style:italic;font-weight:400;font-display:swap;src:url(../wspolne/fonts/instrument-serif-latin-italic-400.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Instrument Serif';font-style:normal;font-weight:400;font-display:swap;src:url(../wspolne/fonts/instrument-serif-latinext-normal-400.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Instrument Serif';font-style:normal;font-weight:400;font-display:swap;src:url(../wspolne/fonts/instrument-serif-latin-normal-400.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Hanken Grotesk';font-style:italic;font-weight:100 900;font-display:swap;src:url(../wspolne/fonts/hanken-grotesk-latinext-italic.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Hanken Grotesk';font-style:italic;font-weight:100 900;font-display:swap;src:url(../wspolne/fonts/hanken-grotesk-latin-italic.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:100 900;font-display:swap;src:url(../wspolne/fonts/hanken-grotesk-latinext-normal.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:100 900;font-display:swap;src:url(../wspolne/fonts/hanken-grotesk-latin-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* @fonts:end */

:root {
  --bg: #0e0c0b;
  --ink: #f2eee6;
  --paper: #f2eee6;
  --muted: #a49d93;
  --accent: #c7362b;
  --safelight: #c7362b;
  --tray: #1b1816;
  --display: 'Instrument Serif', Georgia, serif;
  --body: 'Hanken Grotesk', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--bg);
}

.skip-link:focus {
  top: 12px;
}

.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px var(--gutter);
  background: rgba(14, 12, 11, 0.86);
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 400 1.6rem/1 var(--display);
  text-decoration: none;
}

.brand-light {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--safelight);
  box-shadow: 0 0 14px var(--safelight);
}

.bar-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.bar-nav a,
.bar-call {
  text-decoration: none;
  font-size: 0.95rem;
}

.bar-nav a:hover {
  color: var(--accent);
}

.bar-call {
  padding: 8px 14px;
  border: 1px solid var(--muted);
  border-radius: 999px;
}

.hero {
  display: grid;
  gap: 40px;
  align-items: center;
  min-height: 92svh;
  padding: 40px var(--gutter) 80px;
}

.tray {
  padding: clamp(14px, 3vw, 28px);
  background: var(--tray);
  border-radius: 6px;
  box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.6);
}

.print {
  width: 100%;
  border: 10px solid var(--paper);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.hero-title {
  margin: 0;
  max-width: 13em;
  font: 400 clamp(2.6rem, 6.4vw, 5.6rem)/1 var(--display);
  letter-spacing: -0.01em;
}

.hero-lead {
  max-width: 34em;
  margin: 22px 0 0;
  color: var(--muted);
}

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

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font: 600 1rem var(--body);
  text-decoration: none;
  transition: transform 0.12s var(--ease), color 0.3s;
}

.btn::before {
  content: "";
  position: absolute;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  z-index: -1;
  width: 260%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--fill);
  translate: -50% -50%;
  scale: 0;
  transition: scale 0.5s var(--ease);
}

.btn:hover::before {
  scale: 1;
}

.btn:active {
  transform: translateY(2px);
}

.btn-safe {
  --fill: var(--paper);
  background: var(--safelight);
  border-color: var(--safelight);
  color: var(--paper);
}

.btn-safe:hover {
  color: var(--bg);
}

.btn-paper {
  --fill: var(--safelight);
  color: var(--paper);
}

.section-title {
  margin: 0;
  font: 400 clamp(2.4rem, 5vw, 4.2rem)/1 var(--display);
}

.section-lead {
  max-width: 36em;
  margin: 14px 0 0;
  color: var(--muted);
}

.sheet {
  position: relative;
  padding: 100px var(--gutter);
  background: #161311;
}

.frames {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 40px 0 0;
  padding: 26px;
  list-style: none;
  background: #1f1b18;
  border-block: 14px solid #0a0908;
  background-image: repeating-linear-gradient(90deg, transparent 0 22px, #0a0908 22px 34px);
  background-size: 100% 10px;
  background-repeat: repeat-x;
}

.frame {
  position: relative;
  cursor: zoom-in;
}

.frame img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.frame-wide {
  grid-column: 1 / -1;
}

.frame-wide img {
  aspect-ratio: 21 / 9;
}

.frame-mark {
  position: absolute;
  left: 6px;
  top: -20px;
  font-size: 0.75rem;
  color: #e7a24a;
  letter-spacing: 0.05em;
}

.loupe {
  position: absolute;
  z-index: 5;
  width: 190px;
  height: 190px;
  border: 6px solid #2a2522;
  border-radius: 50%;
  background-repeat: no-repeat;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.6), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.loupe.is-on {
  opacity: 1;
}

.sessions {
  padding: 100px var(--gutter);
}

.line {
  height: 2px;
  margin: 50px 0 -4px;
  background: #5a524a;
}

.drying {
  display: grid;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hanging {
  position: relative;
  padding: 34px 24px 26px;
  background: var(--paper);
  color: var(--bg);
  transform-origin: 50% 0;
  rotate: var(--sway, 0deg);
  transition: rotate 0.6s var(--ease);
}

.hanging:nth-child(2) {
  --sway: 1.2deg;
}

.hanging:nth-child(3) {
  --sway: -0.8deg;
}

.hanging:hover {
  rotate: 0deg;
}

.peg {
  position: absolute;
  left: 50%;
  top: -14px;
  width: 14px;
  height: 34px;
  margin-left: -7px;
  border-radius: 3px;
  background: linear-gradient(90deg, #b88a55, #d9b07c, #a87a46);
}

.hanging h3 {
  margin: 0;
  font: 400 2.2rem/1 var(--display);
}

.hanging p {
  margin: 12px 0 0;
}

.price {
  font-weight: 700;
  color: var(--accent);
}

.calendar {
  display: grid;
  gap: 40px;
  padding: 100px var(--gutter);
  background: #161311;
}

.month {
  max-width: 460px;
  padding: 22px;
  border: 1px solid #3a342f;
}

.month-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.month-name {
  margin: 0;
  font: 400 1.6rem var(--display);
  text-transform: capitalize;
}

.month-step {
  width: 44px;
  height: 44px;
  border: 1px solid #3a342f;
  background: none;
  color: var(--ink);
  font-size: 1.3rem;
  cursor: pointer;
}

.month-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-top: 16px;
}

.day {
  min-height: 44px;
  border: 0;
  background: #221e1b;
  color: var(--ink);
  font: 500 0.95rem var(--body);
  cursor: pointer;
}

.day:disabled {
  background: transparent;
  color: #5a524a;
  text-decoration: line-through;
  cursor: not-allowed;
}

.day.is-picked {
  background: var(--safelight);
}

.day-label {
  padding: 6px 0;
  font-size: 0.75rem;
  text-align: center;
  color: var(--muted);
}

.month-pick {
  margin: 16px 0;
  color: var(--muted);
}

.steps {
  padding: 100px var(--gutter);
}

.step-list {
  display: grid;
  gap: 30px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step-list li {
  counter-increment: step;
  padding-top: 18px;
  border-top: 1px solid #3a342f;
}

.step-list li::before {
  content: counter(step);
  font: 400 2.4rem/1 var(--display);
  color: var(--accent);
}

.step-list h3 {
  margin: 8px 0 0;
  font: 600 1.2rem var(--body);
}

.step-list p {
  margin: 6px 0 0;
  color: var(--muted);
}

.darkroom {
  position: relative;
  overflow: hidden;
  padding: 120px var(--gutter);
  text-align: center;
}

.safelight {
  position: absolute;
  inset: -40% -10% auto;
  height: 120%;
  background: radial-gradient(closest-side, rgba(199, 54, 43, 0.5), transparent 70%);
  pointer-events: none;
}

.darkroom > * {
  position: relative;
}

.darkroom .section-lead {
  margin-inline: auto;
}

.darkroom-phone {
  display: block;
  margin-top: 30px;
  font: 400 clamp(2.6rem, 8vw, 5.4rem)/1 var(--display);
  text-decoration: none;
}

.darkroom-mail,
.darkroom-place {
  display: block;
  margin-top: 12px;
}

.foot {
  padding: 40px var(--gutter);
  border-top: 1px solid #2a2522;
  color: var(--muted);
  font-size: 0.9rem;
}

.sig {
  display: inline-flex;
  margin-top: 14px;
  padding: 8px 14px;
  border: 1px solid #3a342f;
  border-radius: 2px;
  font-size: 0.85rem;
  text-decoration: none;
}

.sig b {
  color: var(--ink);
}

.sig:hover {
  border-color: var(--safelight);
}

.is-developing {
  filter: brightness(var(--exposure, 1)) contrast(var(--contrast, 1));
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .frames {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .frame-tall {
    grid-row: span 2;
  }

  .frame-tall img {
    aspect-ratio: auto;
    height: 100%;
  }

  .frame-wide {
    grid-column: span 2;
  }

  .drying {
    grid-template-columns: repeat(3, 1fr);
  }

  .calendar {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .step-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 700px) {
  .bar-nav {
    display: none;
  }

  .bar-call {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hanging {
    rotate: 0deg;
  }
}
