/* ==========================================================================
   pribylinec.com — Strategic Marketing for the AI Era
   Static rebuild of the Squarespace design: editorial serif, black / paper /
   sky-blue, diagonal section cuts, isometric footer.
   ========================================================================== */

:root {
  --serif-display: 'Fraunces', Georgia, serif;   /* closest free match to the Canela-style hairline serif */
  --serif-text:    'Fraunces', Georgia, serif;
  --sans:          'Manrope', Arial, sans-serif;

  --black: #000;
  --header: #2a2829;
  --cyan:  #07d5ef;
  --ink:   #131313;
  --paper: #dfe0db;
  --blue:  #9fe7f3;   /* light tint of the cyan hue — large surfaces */
  --blue-text: #bcebf3;   /* About copy on black — same hue as the accent */
  --dark:  #191919;       /* contact band */

  --gutter: clamp(24px, 4vw, 80px);
  --indent: clamp(0px, 11.8vw, 240px);  /* hero/intro left inset from the screenshot */
  --col: 700px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-optical-sizing: auto;
  font-size: 16px;
  font-weight: 350;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif-display); font-weight: 400; margin: 0; }
p { margin: 0 0 1em; }
a { color: inherit; }

.btn {
  display: inline-block;
  padding: 9px 62px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  transition: transform .15s, opacity .15s;
}
.btn:hover { transform: translateY(-1px); opacity: .92; }
.btn--dark { background: var(--black); color: #fff; }
.btn--blue { background: var(--cyan); color: #0b2126; }

.wordmark {
  /* logo face — Fraunces at display optical size, same voice as the headlines;
     the cyan slash carries the be/on heritage */
  font-family: var(--serif-display);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 144;
  font-size: 32px;
  font-weight: 350;
  letter-spacing: .01em;
  color: #fff;
  text-decoration: none;
}
.slash { color: var(--cyan); font-weight: 560; }
/* in the wordmark the slash gets its own cut: full weight at a low optical size,
   so the strokes are genuinely bold instead of hairline */
.wordmark .slash, .footer__mark-name .slash {
  font-weight: 700;
  font-variation-settings: 'opsz' 32;
}
.wordmark--dark { color: var(--ink); }

/* --- Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  background: var(--header);
  color: #fff;
  padding: 48px var(--gutter) 26px;
}



.nav { display: flex; align-items: center; justify-content: space-between; }
.nav__links { display: flex; align-items: center; gap: 38px; }
.nav__links a {
  font-family: var(--serif-display);
  font-size: 16px;
  letter-spacing: .03em;
  text-transform: lowercase;
  text-decoration: none;
  color: #fff;
}
.nav__links a:hover { color: var(--cyan); }
.nav__in svg { width: 17px; height: 17px; fill: #fff; display: block; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 34px;
  padding: 4px 6px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  transition: transform .25s, opacity .2s;
}
.nav--open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__burger span:nth-child(2) { opacity: 0; }
.nav--open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__in:hover svg { fill: var(--cyan); }

.hero h1 {
  margin: clamp(90px, 11.5vw, 230px) 0 0 var(--indent);
  font-size: clamp(46px, 5.65vw, 116px);
  font-weight: 300;
  line-height: 1.16;
  letter-spacing: 0;
}

/* --- Intro (paper, blue highlight) ------------------------------------------ */
.intro { padding: 26px var(--gutter) 110px calc(var(--gutter) + var(--indent)); }

.intro__highlight {
  font-family: var(--serif-display);
  font-size: clamp(21px, 1.95vw, 41px);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 1.1em;
}
.intro__highlight mark {
  background: var(--cyan);
  color: var(--ink);
  padding: .1em .28em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.intro__body {
  max-width: 600px;
  font-size: clamp(15px, 1.05vw, 20px);
  line-height: 1.5;
  margin-bottom: 3.2em;
}

/* --- About (black diagonal band, light-blue type) ---------------------------- */
.about {
  --band-clip: polygon(0 120px, 18.5% 120px, 18.5% 55px, 100% 0,
                       100% calc(100% - 150px), 60.5% calc(100% - 10px),
                       60.5% calc(100% - 48px), 0 100%);
  position: relative;
  margin-top: -10px;
  padding: 170px var(--gutter) 220px;
  color: var(--blue-text);
}
/* blue sheet behind, black sheet on top pulled up 12px — the blue edge that
   peeks out along the slanted bottom is the accent line from the original */
.about::before, .about::after {
  content: "";
  position: absolute;
  z-index: 0;
  clip-path: var(--band-clip);
}
.about::before { inset: 0; background: var(--cyan); }
.about::after  { inset: 0 0 12px 0; background: var(--black); }
.about__content { position: relative; z-index: 1; max-width: 480px; }

/* oversized p/ monogram between the text column and the portrait, straddling
   the band's bottom edge into the Services section; cyan works on both backgrounds */
.about .mono {
  position: absolute;
  right: 4vw;
  top: 60px;
  font-family: var(--serif-display);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 144;
  font-weight: 350;
  font-size: clamp(430px, 37vw, 720px);
  line-height: .8;
  color: rgba(7, 213, 239, .30);
  pointer-events: none;
  user-select: none;
  z-index: 1;   /* behind the portrait — the media wrapper comes later in the DOM */
}
.about .mono .slash { color: rgba(7, 213, 239, .92); font-weight: 350; }

/* soft cyan beam from the upper right — the source of the portrait's rim light */
.about__beam {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: radial-gradient(ellipse 42% 58% at 86% 8%, rgba(7, 213, 239, .17), transparent 72%);
  pointer-events: none;
}

/* editorial portrait: the figure runs to the band's bottom edge and is cropped
   by the same diagonal clip as the band itself — standing behind the section */
.about__media {
  position: absolute;
  z-index: 1;
  inset: 0 0 12px 0;
  clip-path: var(--band-clip);
  pointer-events: none;
}
.about__photo {
  position: absolute;
  right: 6vw;
  bottom: 0;
  height: clamp(460px, 46vw, 880px);
  width: auto;
  user-select: none;
}

.about h2 {
  font-size: clamp(48px, 5.6vw, 72px);
  color: #a8e5ef;
  margin-bottom: 34px;
  max-width: 900px;
}
.about p { font-size: 17px; margin-bottom: 1.2em; }
.about b { font-weight: 650; color: #d6f4f8; }

/* --- Services (paper) -------------------------------------------------------- */
.services { padding: 40px var(--gutter) 90px; }

.services h2 {
  font-size: clamp(54px, 6.5vw, 84px);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 14px;
  margin-bottom: 40px;
  max-width: 900px;
}

.svc {
  display: flex;
  gap: 60px;
  max-width: 900px;
  padding-bottom: 44px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--ink);
}
.svc h3 { flex: 0 0 320px; font-size: 30px; font-weight: 600; line-height: 1.2; }
.svc__text { max-width: 520px; font-size: 17px; }
.svc__hook { font-family: var(--serif-text); font-style: italic; font-size: 19px; color: #3c3c3a; }
.svc--start h3 { font-weight: 500; font-style: italic; }
.svc + .btn { margin-top: 6px; }

/* --- Work (sky-blue band with glow) ------------------------------------------ */
.work {
  position: relative;
  z-index: 1;              /* keeps the blue bottom diagonal above the dark contact band */
  padding: 140px var(--gutter) 150px;
  color: #14212b;
}
/* black outline sheet behind, blue sheet inset 8px at the top — the thin black
   edge along the zig-zag top, as in the original */
.work::before, .work::after {
  content: "";
  position: absolute;
  z-index: 0;
  clip-path: polygon(0 46px, 48% 6px, 100% 40px,
                     100% calc(100% - 26px), 53% 100%, 0 calc(100% - 20px));
}
.work::before { inset: 0; background: var(--black); }
.work::after {
  inset: 9px 0 7px 0;
  background: radial-gradient(ellipse 60% 55% at 48% 40%, #d8f5fa 0%, var(--blue) 70%);
}
.work__content { position: relative; z-index: 1; }

/* the beon medallion: white disc, slash cut out — the band colour shows through */
.work__medal {
  position: absolute;
  z-index: 1;
  top: 140px;
  right: var(--gutter);
  width: 84px;
  height: 84px;
}

.work h2 {
  font-size: clamp(40px, 4.6vw, 60px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #1c1c1c;
  margin-bottom: 60px;
  max-width: 700px;
}

.work__label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #27424f;
  margin: 0 0 .8em;
}
.work__now { max-width: 620px; font-size: 18px; margin-bottom: 2.6em; }
.work__now b, .clients b { font-weight: 600; }

/* collapsible beon block */
.beon {
  max-width: 900px;
  border-top: 1px solid rgba(0,0,0,.28);
  border-bottom: 1px solid rgba(0,0,0,.28);
}
.beon summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 16px 0;
  cursor: pointer;
}
.beon summary::-webkit-details-marker { display: none; }
.beon__logo { height: 26px; width: auto; display: block; align-self: center; }
.beon__desc { flex: 1; font-size: 14px; color: #27424f; }
.beon__toggle {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  align-self: center;
  transition: transform .25s;
}
.beon[open] .beon__toggle { transform: rotate(45deg); }
.beon[open] summary { border-bottom: 1px solid rgba(0,0,0,.28); }

.clients { list-style: none; margin: 0; padding: 0 0 6px; max-width: 900px; }
.clients--roles {
  padding: 0;
  margin-bottom: 3em;
  border-top: 1px solid rgba(0,0,0,.28);
  grid-auto-rows: auto;
}
.clients--roles li { grid-template-columns: 250px 190px 1fr; }
.clients--roles li:last-child { border-bottom: 1px solid rgba(0,0,0,.28); }
.clients li {
  display: grid;
  grid-template-columns: 250px 130px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,.28);
}
.clients li:last-child { border-bottom: 0; }
.clients b { font-family: var(--serif-display); font-size: 21px; }
.clients i {
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #27424f;
}
.clients span { font-size: 15px; }

/* --- Contact (dark, glow from the blue band above) ---------------------------- */
.contact {
  position: relative;
  margin-top: -70px;
  padding: 170px var(--gutter) 130px;
  background:
    radial-gradient(ellipse 55% 30% at 50% 0%, rgba(255,255,255,.14), transparent 70%),
    var(--dark);
  color: #fff;
}
.contact h2 { font-size: clamp(44px, 5.4vw, 68px); line-height: 1.15; margin-bottom: 26px; }
.contact p { max-width: 460px; font-size: 19px; margin-bottom: 2.2em; }

/* --- Footer (isometric pattern) ----------------------------------------------- */
.footer {
  background-color: #f1f1ed;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='300'%3E%3Cpath d='M130 0 260 75 130 150 0 75Z' fill='%23fafaf7'/%3E%3Cpath d='M0 75 130 150 130 300 0 225Z' fill='%23ecece8' /%3E%3Cpath d='M130 150 260 75 260 225 130 300Z' fill='%23e3e3df'/%3E%3C/svg%3E");
  background-size: 260px 300px;
  color: var(--ink);
  font-size: 16px;
}
.footer__inner { padding: 44px var(--gutter) 40px; }
.footer .wordmark { display: inline-block; margin-bottom: 6px; }
.footer__tag {
  font-family: var(--serif-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 2.4em;
}
.footer p { margin-bottom: 1.4em; max-width: 420px; }
.footer b { font-weight: 600; }
.footer a { color: var(--ink); }
.footer__in { display: inline-block; margin: 4px 0 14px; }
.footer__in svg { width: 26px; height: 26px; fill: var(--ink); }
.footer__c { font-size: 15px; }
.footer__mark-name {
  font-family: var(--serif-display);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 144;
  font-size: 22px;
  font-weight: 350;
  letter-spacing: .01em;
}

/* --- Responsive ---------------------------------------------------------------- */
@media (max-width: 1000px) {
  .about .mono { display: none; }
  .about { padding: 150px var(--gutter) 330px; }
  .about__photo {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    height: 340px;
  }
}

@media (max-width: 760px) {
  :root { --indent: 0px; }
  .work__medal { width: 48px; height: 48px; top: 110px; }
  .hero h1 { margin-top: 70px; }

  /* rolldown menu behind the burger */
  .nav { position: relative; }
  .nav__burger { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 20;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    background: var(--header);
    border: 1px solid #3d3c3b;
    border-radius: 10px;
    padding: 18px 22px;
    min-width: 170px;
  }
  .nav--open .nav__links { display: flex; }
  .nav__links a { font-size: 19px; padding: 6px 0; }

  .about {
    --band-clip: polygon(0 72px, 18% 72px, 18% 34px, 100% 0,
                         100% calc(100% - 90px), 60% calc(100% - 8px),
                         60% calc(100% - 34px), 0 100%);
  }

  .svc { flex-direction: column; gap: 14px; }
  .svc h3 { flex: none; }
  .svc h3 br { display: none; }

  .clients li { grid-template-columns: 1fr; gap: 2px; padding: 16px 0; }

  .contact { margin-top: -40px; }
}
