
:root {
  --pc-ink: #101010;
  --pc-paper: #fff;
  --pc-muted: #747474;
  --pc-line: rgba(16,16,16,.14);
  --pc-soft: #f4f4f2;
  --pc-max: 1280px;
  --pc-pad: clamp(22px, 5vw, 72px);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--pc-paper) !important;
  color: var(--pc-ink) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -.01em;
}

/* Strip Cassiopeia back to a clean canvas */
.container-header {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 112px;
  padding: 24px var(--pc-pad);
  background: var(--pc-paper) !important;
  background-image: none !important;
  box-shadow: none !important;
  border-bottom: 1px solid var(--pc-line);
  color: var(--pc-ink) !important;
  z-index: 20;
}

.container-header > .grid-child {
  width: auto;
  margin: 0;
}

.container-header .navbar-brand {
  margin: 0 !important;
  padding: 0 !important;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--pc-ink) !important;
  text-decoration: none;
}

.pc-brand-mark {
  display: block;
  width: 34px !important;
  height: 64px !important;
  object-fit: contain;
}

.brand-logo::after {
  content: "PENCRAFT";
  display: block;
  font-size: 15px;
  line-height: 1;
  font-weight: 650;
  letter-spacing: .19em;
}

.pc-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.4vw, 52px);
  font-size: 14px;
}

.pc-nav a {
  position: relative;
  color: var(--pc-ink);
  text-decoration: none;
}

.pc-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transition: right .28s ease;
}

.pc-nav a:hover::after,
.pc-nav a:focus-visible::after {
  right: 0;
}

.site-grid {
  display: block !important;
  max-width: none !important;
  margin: 0 !important;
}

.container-component {
  display: block !important;
  max-width: none !important;
  margin: 0 !important;
}

.container-component > .mod-breadcrumbs__wrapper,
.container-component > main,
.container-sidebar-right {
  display: none !important;
}

.main-bottom.card,
.main-bottom .card-body {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.main-bottom .mod-custom {
  width: 100%;
}

/* Hero */
.pc-hero {
  position: relative;
  min-height: calc(100vh - 112px);
  display: flex;
  align-items: center;
  padding: clamp(72px, 12vh, 150px) var(--pc-pad);
  border-bottom: 1px solid var(--pc-line);
  overflow: hidden;
}

.pc-hero::after {
  content: "P";
  position: absolute;
  right: -0.06em;
  bottom: -.24em;
  z-index: -1;
  font-size: clamp(360px, 55vw, 920px);
  line-height: .7;
  font-weight: 800;
  letter-spacing: -.09em;
  color: rgba(16,16,16,.025);
  pointer-events: none;
}

.pc-hero-inner {
  width: min(1100px, 100%);
}

.pc-kicker {
  margin: 0 0 28px !important;
  color: var(--pc-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.pc-hero h1 {
  max-width: 1120px;
  margin: 0 !important;
  font-size: clamp(56px, 9.1vw, 142px);
  line-height: .89;
  font-weight: 650;
  letter-spacing: -.068em;
  text-wrap: balance;
}

.pc-lead {
  max-width: 750px;
  margin: clamp(38px, 6vw, 72px) 0 0 !important;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.3;
  letter-spacing: -.025em;
  color: #393939;
}

/* Services */
.pc-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 var(--pc-pad);
  border-bottom: 1px solid var(--pc-line);
}

.pc-service {
  position: relative;
  min-height: 330px;
  padding: 54px clamp(24px, 3vw, 50px) 62px 0;
}

.pc-service + .pc-service {
  padding-left: clamp(24px, 3vw, 50px);
  border-left: 1px solid var(--pc-line);
}

.pc-service h2 {
  margin: 0 0 80px !important;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.pc-service p {
  max-width: 330px;
  margin: 0 !important;
  font-size: 20px;
  line-height: 1.35;
  color: #3f3f3f;
}

/* Shared sections */
.pc-section {
  padding: clamp(90px, 11vw, 170px) var(--pc-pad);
  border-bottom: 1px solid var(--pc-line);
}

.pc-section-label {
  margin-bottom: clamp(60px, 8vw, 110px);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .21em;
  text-transform: uppercase;
  color: var(--pc-muted);
}

.pc-work-head h2,
.pc-about h2,
.pc-contact h2 {
  margin: 0;
  font-size: clamp(46px, 7vw, 104px);
  line-height: .96;
  font-weight: 600;
  letter-spacing: -.058em;
}

.pc-work-head {
  max-width: 1100px;
  margin-bottom: clamp(70px, 10vw, 140px);
}

.pc-projects {
  border-top: 1px solid var(--pc-ink);
}

.pc-project {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  gap: 34px;
  align-items: start;
  padding: 38px 0 42px;
  border-bottom: 1px solid var(--pc-line);
  transition: padding .25s ease;
}

.pc-project:hover {
  padding-left: 12px;
}

.pc-project-no,
.pc-project-tag {
  padding-top: 8px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pc-muted);
}

.pc-project-body h3 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1;
  font-weight: 560;
  letter-spacing: -.04em;
}

.pc-project-body p {
  max-width: 760px;
  margin: 0;
  color: #4b4b4b;
  font-size: 17px;
}

.pc-about {
  background: var(--pc-soft);
}

.pc-about-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(60px, 10vw, 160px);
  align-items: start;
}

.pc-about-copy {
  padding-top: 12px;
}

.pc-about-copy p {
  max-width: 620px;
  font-size: 19px;
  color: #3f3f3f;
}

.pc-about-copy .pc-about-lead {
  margin-top: 0;
  margin-bottom: 34px;
  font-size: clamp(25px, 2.5vw, 36px);
  line-height: 1.22;
  letter-spacing: -.032em;
  color: var(--pc-ink);
}

.pc-contact {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pc-contact-inner p {
  margin: 40px 0 24px;
  font-size: 19px;
  color: var(--pc-muted);
}

.pc-contact-link {
  display: inline-block;
  margin-top: 30px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--pc-ink);
  color: var(--pc-ink);
  font-size: clamp(22px, 2.4vw, 34px);
  letter-spacing: -.025em;
  text-decoration: none;
}

.pc-contact-link span {
  display: inline-block;
  margin-left: 8px;
  transition: transform .2s ease;
}

.pc-contact-link:hover span {
  transform: translate(4px, -4px);
}

/* Footer */
.pc-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 30px;
  align-items: center;
  padding: 36px var(--pc-pad);
  background: var(--pc-ink);
  color: #fff;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pc-footer-brand {
  font-weight: 700;
  letter-spacing: .2em;
}

.pc-footer-copy,
.pc-footer-year {
  opacity: .65;
}

/* Reveal */
.pc-reveal {
  opacity: 1;
  transform: none;
}

.pc-js .pc-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s cubic-bezier(.2,.75,.25,1),
              transform .75s cubic-bezier(.2,.75,.25,1);
}

.pc-js .pc-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pc-reveal,
  .pc-js .pc-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .pc-project,
  .pc-nav a::after,
  .pc-contact-link span {
    transition: none;
  }
}

@media (max-width: 820px) {
  .container-header {
    min-height: 92px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .pc-brand-mark {
    width: 27px !important;
    height: 52px !important;
  }

  .brand-logo::after {
    font-size: 12px;
  }

  .pc-nav {
    gap: 16px;
    font-size: 12px;
  }

  .pc-nav a:nth-child(2),
  .pc-nav a:nth-child(3) {
    display: none;
  }

  .pc-hero {
    min-height: 76vh;
  }

  .pc-services {
    grid-template-columns: 1fr;
  }

  .pc-service {
    min-height: auto;
    padding: 42px 0 46px !important;
  }

  .pc-service + .pc-service {
    border-left: 0;
    border-top: 1px solid var(--pc-line);
  }

  .pc-service h2 {
    margin-bottom: 32px !important;
  }

  .pc-project {
    grid-template-columns: 42px 1fr;
    gap: 16px;
  }

  .pc-project-tag {
    grid-column: 2;
    padding-top: 0;
  }

  .pc-about-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .pc-footer {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 520px) {
  :root { --pc-pad: 20px; }

  .brand-logo::after {
    content: "PENCRAFT";
    letter-spacing: .12em;
  }

  .pc-hero h1 {
    font-size: clamp(48px, 15vw, 76px);
  }

  .pc-hero::after {
    display: none;
  }

  .pc-work-head h2,
  .pc-about h2,
  .pc-contact h2 {
    font-size: clamp(42px, 13vw, 68px);
  }
}


/* ==============================
   Pencraft Front 1.1 refinements
   ============================== */

.container-header {
  position: sticky;
  top: 0;
}

.pc-hero-inner {
  animation: pcHeroIn .9s cubic-bezier(.2,.75,.25,1) both;
}

@keyframes pcHeroIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.pc-service {
  cursor: default;
  transition: background-color .24s ease, padding-left .24s ease;
}

.pc-service:hover {
  background: rgba(16,16,16,.018);
}

.pc-service-arrow {
  display: inline-block;
  margin-left: 8px;
  opacity: .35;
  transition: transform .2s ease, opacity .2s ease;
}

.pc-service:hover .pc-service-arrow {
  transform: translateX(5px);
  opacity: 1;
}

.pc-project {
  color: inherit;
  text-decoration: none;
}

.pc-project:visited {
  color: inherit;
}

.pc-project:hover {
  color: inherit;
}

.pc-project-arrow {
  display: inline-block;
  margin-left: .12em;
  font-size: .7em;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity .2s ease, transform .2s ease;
}

.pc-project:hover .pc-project-arrow,
.pc-project:focus-visible .pc-project-arrow {
  opacity: 1;
  transform: none;
}

.pc-project:hover .pc-project-tag,
.pc-project:focus-visible .pc-project-tag {
  color: var(--pc-ink);
}

.pc-about-copy {
  max-width: 560px;
  justify-self: end;
}

.pc-about-copy p {
  max-width: 540px;
}

.pc-about-copy .pc-about-lead {
  max-width: 520px;
}

.pc-contact-link {
  transition: letter-spacing .2s ease, border-color .2s ease;
}

.pc-contact-link:hover,
.pc-contact-link:focus-visible {
  letter-spacing: -.015em;
}

.pc-nav a:focus-visible,
.pc-project:focus-visible,
.pc-contact-link:focus-visible {
  outline: 2px solid var(--pc-ink);
  outline-offset: 5px;
}

@media (max-width: 820px) {
  .pc-about-copy {
    max-width: none;
    justify-self: auto;
  }

  .pc-project-arrow {
    opacity: .55;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pc-hero-inner {
    animation: none;
  }

  .pc-service,
  .pc-service-arrow,
  .pc-project-arrow,
  .pc-contact-link {
    transition: none !important;
  }
}


/* Pencraft Front 1.2 — content coherence */
.pc-about-link {
  display: inline-block;
  margin-top: 18px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--pc-ink);
  font-size: 16px;
  text-decoration: none;
}

.pc-about-link:hover,
.pc-about-link:focus-visible {
  border-bottom-width: 2px;
}

@media (min-width: 1100px) {
  .pc-work {
    padding-top: 140px;
    padding-bottom: 145px;
  }

  .pc-about {
    padding-top: 135px;
    padding-bottom: 140px;
  }
}


/* =================================
   Pencraft Front 1.2.1 — mobile UX
   ================================= */

.pc-nav-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  padding: 10px 0 10px 14px;
  background: transparent;
  color: var(--pc-ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.pc-nav-toggle-icon {
  display: inline-flex;
  width: 19px;
  height: 12px;
  margin-left: 9px;
  flex-direction: column;
  justify-content: space-between;
  vertical-align: middle;
}

.pc-nav-toggle-icon i {
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform-origin: center;
  transition: transform .2s ease, opacity .2s ease;
}

.container-header.pc-menu-open .pc-nav-toggle-icon i:first-child {
  transform: translateY(5.25px) rotate(45deg);
}

.container-header.pc-menu-open .pc-nav-toggle-icon i:last-child {
  transform: translateY(-5.25px) rotate(-45deg);
}

.pc-skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 999999;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--pc-ink);
  color: #fff;
  text-decoration: none;
}

.pc-skip-link:focus {
  transform: translateY(0);
}

.pc-hero h1,
.pc-work-head h2,
.pc-about h2,
.pc-contact h2 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.pc-hero-wording > span {
  display: inline;
}

@media (max-width: 820px) {
  .container-header {
    position: sticky;
    flex-wrap: nowrap;
  }

  .pc-nav-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .pc-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    padding: 12px var(--pc-pad) 20px;
    grid-template-columns: 1fr;
    gap: 0;
    background: rgba(255,255,255,.98);
    border-top: 1px solid var(--pc-line);
    border-bottom: 1px solid var(--pc-line);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .container-header.pc-menu-open .pc-nav {
    display: grid;
  }

  .pc-nav a,
  .pc-nav a:nth-child(2),
  .pc-nav a:nth-child(3) {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 7px 0;
    border-bottom: 1px solid var(--pc-line);
    font-size: 18px;
  }

  .pc-nav a:last-child {
    border-bottom: 0;
  }

  .pc-nav a::after {
    display: none;
  }

  .pc-nav a[aria-current="page"] {
    font-weight: 650;
  }
}

@media (max-width: 520px) {
  .pc-hero h1 {
    max-width: 100%;
    font-size: clamp(38px, 12vw, 58px);
    line-height: .94;
    letter-spacing: -.055em;
    text-wrap: initial;
  }

  .pc-hero-wording {
    display: block;
  }

  .pc-hero-wording > span {
    display: block;
    white-space: nowrap;
  }

  .pc-hero {
    min-height: auto;
    padding-top: 82px;
    padding-bottom: 90px;
  }

  .pc-lead {
    margin-top: 34px !important;
    font-size: 19px;
    line-height: 1.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pc-nav-toggle-icon i {
    transition: none;
  }
}


/* Pencraft Front 1.2.2 — accent for "kultury" in the homepage hero */
.pc-hero-accent {
  color: #e00000;
}


/* Pencraft Front 1.2.3 — safe hero rendering */
.pc-hero-wording {
  display: inline;
}

.pc-hero-accent {
  color: #e00000 !important;
}

@media (max-width: 520px) {
  .pc-hero-wording {
    display: block;
  }

  .pc-hero-wording > span {
    display: block;
    white-space: nowrap;
  }
}


/* Pencraft Front 1.2.4 — consistent keyboard focus */
.pc-nav-toggle:focus-visible,
.pc-nav a:focus-visible,
.pc-about-link:focus-visible,
.pc-contact-link:focus-visible,
.pc-project:focus-visible,
.pc-skip-link:focus-visible {
  outline: 3px solid #101010;
  outline-offset: 4px;
}

#pc-main-content:focus {
  outline: none;
}


/* Pencraft Front 1.2.6 — reflow / narrow screens */
@media (max-width: 520px) {
  .pc-section {
    padding-left: var(--pc-pad);
    padding-right: var(--pc-pad);
  }

  .pc-project {
    min-width: 0;
  }

  .pc-project-body,
  .pc-project-body h3,
  .pc-project-body p {
    min-width: 0;
    overflow-wrap: break-word;
  }

  .pc-contact-link {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .pc-footer {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 360px) {
  :root {
    --pc-pad: 18px;
  }

  .brand-logo {
    gap: 12px;
  }

  .brand-logo::after {
    font-size: 11px;
  }

  .pc-hero h1 {
    font-size: 37px;
    line-height: .97;
    letter-spacing: -.045em;
  }

  .pc-hero-wording > span {
    white-space: normal;
  }

  .pc-work-head h2,
  .pc-about h2,
  .pc-contact h2 {
    font-size: 38px;
    line-height: 1;
    letter-spacing: -.045em;
  }
}


/* Pencraft Front 1.2.7 — current navigation state */
.pc-nav a[aria-current="page"] {
  font-weight: 650;
}

.pc-nav a[aria-current="page"]::after {
  right: 0;
}


/* =========================================
   Pencraft Front 1.2.8 — conversion path
   ========================================= */

.pc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  margin-top: clamp(34px, 5vw, 58px);
}

.pc-hero-primary,
.pc-hero-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  color: var(--pc-ink);
  text-decoration: none;
}

.pc-hero-primary {
  gap: 14px;
  padding: 14px 18px 14px 20px;
  border: 1px solid var(--pc-ink);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.01em;
  transition: background-color .2s ease, color .2s ease;
}

.pc-hero-primary:hover,
.pc-hero-primary:focus-visible {
  background: var(--pc-ink);
  color: #fff;
}

.pc-hero-primary span {
  transition: transform .2s ease;
}

.pc-hero-primary:hover span,
.pc-hero-primary:focus-visible span {
  transform: translateX(4px);
}

.pc-hero-secondary {
  padding: 14px 0 11px;
  border-bottom: 1px solid currentColor;
  font-size: 15px;
}

.pc-hero-primary:focus-visible,
.pc-hero-secondary:focus-visible,
.pc-services-next a:focus-visible,
.pc-work-more a:focus-visible,
.pc-footer a:focus-visible,
.pc-contact-direct a:focus-visible {
  outline: 3px solid var(--pc-ink);
  outline-offset: 4px;
}

.pc-services-next {
  display: flex;
  justify-content: flex-end;
  gap: 24px 38px;
  padding: 22px var(--pc-pad) 26px;
  border-bottom: 1px solid var(--pc-line);
}

.pc-services-next a,
.pc-work-more a {
  color: var(--pc-ink);
  font-size: 14px;
  text-decoration: none;
}

.pc-services-next a span,
.pc-work-more a span {
  display: inline-block;
  margin-left: 7px;
  transition: transform .2s ease;
}

.pc-services-next a:hover span,
.pc-services-next a:focus-visible span,
.pc-work-more a:hover span,
.pc-work-more a:focus-visible span {
  transform: translateX(4px);
}

.pc-work-more {
  display: flex;
  justify-content: flex-end;
  margin-top: 38px;
}

.pc-work-more a {
  max-width: 560px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 16px;
  line-height: 1.45;
}

.pc-contact-inner {
  max-width: 1050px;
}

.pc-contact-inner > p:not(.pc-contact-direct) {
  max-width: 720px;
}

.pc-contact-direct {
  margin: 24px 0 0 !important;
  color: var(--pc-muted);
  font-size: 14px !important;
}

.pc-contact-direct a {
  color: var(--pc-ink);
  text-underline-offset: 4px;
}

.pc-footer-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pc-footer-copy a {
  color: inherit;
  text-decoration: none;
}

.pc-footer-copy a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 820px) {
  .pc-services-next {
    justify-content: flex-start;
  }

  .pc-work-more {
    justify-content: flex-start;
  }

  .pc-footer-copy {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .pc-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .pc-hero-primary {
    justify-content: space-between;
    width: 100%;
  }

  .pc-hero-secondary {
    align-self: flex-start;
  }

  .pc-services-next {
    flex-direction: column;
    gap: 12px;
    padding-top: 18px;
    padding-bottom: 20px;
  }

  .pc-work-more a {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pc-hero-primary,
  .pc-hero-primary span,
  .pc-services-next a span,
  .pc-work-more a span {
    transition: none;
  }
}


/* Pencraft Front 1.2.9 — stable sticky header
   Header stays the same size before and after scroll. */
.container-header,
body.pc-scrolled .container-header {
  min-height: 112px;
  padding-top: 24px;
  padding-bottom: 24px;
  background: var(--pc-paper) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.pc-brand-mark,
body.pc-scrolled .pc-brand-mark {
  width: 34px !important;
  height: 64px !important;
}

.brand-logo::after,
body.pc-scrolled .brand-logo::after {
  font-size: 15px;
}

@media (max-width: 820px) {
  .container-header,
  body.pc-scrolled .container-header {
    min-height: 92px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .pc-brand-mark,
  body.pc-scrolled .pc-brand-mark {
    height: 54px !important;
  }

  .brand-logo::after,
  body.pc-scrolled .brand-logo::after {
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .brand-logo::after,
  body.pc-scrolled .brand-logo::after {
    font-size: 11px;
  }
}
