:root {
  --paper: #f7f3ee;
  --ink: #132d4f;
  --gold: #b98254;
  --muted-gold: rgba(185, 130, 84, .55);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
}


/* =========================================================
   DESKTOP
   ========================================================= */

.page-shell {
  width: 100%;
  height: 100vh;
  height: 100dvh;

  display: grid;
  grid-template-columns: minmax(560px, 1.02fr) minmax(520px, .98fr);

  overflow: hidden;
}


/* ---------- LEFT PANEL ---------- */

.content-panel {
  position: relative;

  height: 100vh;
  height: 100dvh;

  padding:
    clamp(18px, 3vh, 44px)
    clamp(42px, 5.6vw, 92px)
    clamp(18px, 3vh, 36px);

  background: var(--paper);

  display: flex;
  flex-direction: column;

  overflow: hidden;
}


/* ---------- BRAND ---------- */

.brand {
  min-height: clamp(42px, 6vh, 58px);

  display: flex;
  justify-content: center;
  align-items: center;

  gap: 22px;
  text-align: center;

  flex-shrink: 0;
}

.brand-gem {
  width: clamp(36px, 5vh, 52px);

  position: absolute;
  left: 28px;
  top: clamp(18px, 3vh, 27px);

  transform: rotate(-13deg);
}

.brand-title {
  margin: 0;

  font-size: clamp(14px, 2vh, 25px);
  letter-spacing: .16em;
  font-weight: 600;
}

.brand-subtitle {
  margin: 2px 0 0;

  color: var(--gold);

  font-size: clamp(14px, 1.8vh, 23px);
  font-style: italic;
  letter-spacing: .08em;
}


/* ---------- ORNAMENTS ---------- */

.ornament,
.name-rule {
  display: flex;
  align-items: center;

  gap: 13px;
  color: var(--gold);

  flex-shrink: 0;
}

.ornament {
  margin:
    clamp(8px, 1.8vh, 16px)
    0
    clamp(10px, 2vh, 20px);
}

.ornament span,
.name-rule span {
  height: 1px;

  background: var(--muted-gold);

  flex: 1;
}

.ornament b,
.name-rule b {
  font-size: 13px;
  font-weight: 400;
}


/* ---------- NAME ---------- */

h1 {
  margin: 0;

  font-weight: 400;

  font-size: clamp(54px, 10.5vh, 110px);
  line-height: .83;
  letter-spacing: .015em;

  flex-shrink: 0;
}

.name-rule {
  width: 100%;

  margin:
    clamp(10px, 2vh, 20px)
    0
    clamp(10px, 1.8vh, 18px);
}


/* ---------- CREDENTIALS ---------- */

.credentials {
  margin: 0;
  margin-bottom: 64px;

  font-size: clamp(16px, 2.4vh, 25px);
  letter-spacing: .045em;

  flex-shrink: 0;
}

.credentials i {
  font-style: normal;
  padding: 0 .35em;
}


/* ---------- TEXT ---------- */

.copy {
  max-width: 780px;

  font-size: clamp(14px, 1.95vh, 20px);
  line-height: 1.3;
}

.copy p {
  margin:
    0
    0
    clamp(7px, 1.35vh, 14px);
}

.copy .lead {
  font-size: clamp(16px, 2.25vh, 23px);
  line-height: 1.28;
  letter-spacing: .025em;
}

.copy .quote {
  color: var(--gold);

  font-size: clamp(16px, 2.2vh, 22px);
  font-style: italic;
  line-height: 1.28;

  margin-top: clamp(7px, 1.3vh, 14px);
}


/* ---------- SOCIALS ---------- */

.socials {
  display: flex;
  align-items: center;

  width: min(100%, 680px);

  margin-top: clamp(10px, 2.2vh, 24px);

  flex-shrink: 0;
}

.socials a {
  min-width: 0;

  flex: 1;

  display: flex;
  align-items: center;

  gap: 13px;

  color: var(--ink);
  text-decoration: none;

  font-size: clamp(14px, 1.9vh, 18px);

  padding: 0 22px;

  border-left: 1px solid var(--muted-gold);
}

.socials a:first-child {
  border-left: 0;
  padding-left: 0;
}

.socials img {
  width: clamp(22px, 3vh, 29px);
  height: clamp(22px, 3vh, 29px);
}

.socials a:last-child img {
  width: 24px;
  height: 24px;
}

.socials a:hover span {
  color: var(--gold);
}


/* ---------- DECORATIVE GEM ---------- */

.corner-gem {
  width: clamp(40px, 6vh, 63px);

  position: absolute;

  left: 95px;
  bottom: clamp(15px, 2.5vh, 28px);

  transform: rotate(17deg);

  opacity: .95;
}


/* =========================================================
   PHOTO
   ========================================================= */

.photo-panel {
  position: relative;

  width: 100%;
  height: 100vh;
  height: 100dvh;

  min-height: 0;

  background: #d5d4cf;

  overflow: hidden;
}

.photo-panel > img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  /*
   * Delikatnie przesuwamy zdjęcie w górę,
   * żeby twarz była dobrze widoczna.
   */
  object-position: 50% 43%;
}


/* ---------- MENU ---------- */

.menu-button {
  position: absolute;

  top: 25px;
  right: 25px;

  width: 38px;
  height: 38px;

  border: 0;
  background: transparent;

  padding: 7px 3px;

  cursor: pointer;
}

.menu-button span {
  display: block;

  height: 1px;

  background: var(--gold);

  margin: 6px 0;
}


/* =========================================================
   NISKIE EKRANY DESKTOP
   np. 1366 × 768
   ========================================================= */

@media (min-width: 1051px) and (max-height: 800px) {

  .content-panel {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .brand {
    min-height: 40px;
  }

  .brand-gem {
    width: 36px;
    top: 16px;
  }

  .ornament {
    margin: 7px 0 10px;
  }

  h1 {
    font-size: clamp(50px, 9.5vh, 76px);
  }

  .name-rule {
    margin: 8px 0;
  }

  .credentials {
    margin-bottom: 9px;
  }

  .copy {
    font-size: clamp(13px, 1.85vh, 16px);
    line-height: 1.24;
  }

  .copy p {
    margin-bottom: 7px;
  }

  .copy .lead {
    font-size: clamp(15px, 2.1vh, 18px);
  }

  .copy .quote {
    font-size: clamp(15px, 2vh, 18px);
    margin-top: 5px;
  }

  .socials {
    margin-top: 10px;
  }

  .socials a {
    font-size: 14px;
  }

  .socials img {
    width: 22px;
    height: 22px;
  }

  .corner-gem {
    width: 40px;
    bottom: 14px;
  }
}


/* =========================================================
   TABLET / MOBILE
   tutaj scroll jest już normalny
   ========================================================= */

@media (max-width: 1050px) {

  html,
  body {
    min-height: 100%;
  }

  body {
    overflow-y: auto;
  }

  .page-shell {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: auto;

    overflow: visible;
  }

  .photo-panel {
    order: 1;

    width: 100%;
    height: 68vh;
    min-height: 500px;
  }

  .photo-panel > img {
    object-position: 50% 37%;
  }

  .content-panel {
    order: 2;

    width: 100%;
    height: auto;

    overflow: visible;

    padding: 42px 34px 52px;
  }

  .brand {
    justify-content: flex-start;

    text-align: left;

    padding-left: 62px;
  }

  .brand-gem {
    left: 31px;
    top: 34px;

    width: 44px;
  }

  h1 {
    font-size: clamp(70px, 18vw, 112px);
  }

  .name-rule {
    width: 100%;
  }

  .credentials {
    font-size: clamp(19px, 3vw, 25px);
  }

  .copy {
    font-size: 18px;
    line-height: 1.36;
  }

  .copy .lead,
  .copy .quote {
    font-size: 21px;
  }

  .socials {
    margin-top: 28px;
  }

  .corner-gem {
    display: none;
  }
}


/* =========================================================
   PHONE
   ========================================================= */

@media (max-width: 620px) {

  .photo-panel {
    height: 58vh;
    min-height: 380px;
  }

  .content-panel {
    padding: 30px 22px 38px;
  }

  .brand {
    min-height: 48px;

    padding-left: 50px;

    gap: 10px;
  }

  .brand-gem {
    left: 19px;
    top: 29px;

    width: 38px;
  }

  .brand-title {
    font-size: 14px;
  }

  .brand-subtitle {
    font-size: 15px;
  }

  .ornament {
    margin-top: 13px;
  }

  h1 {
    font-size: clamp(62px, 20vw, 92px);
  }

  .credentials {
    font-size: 18px;
    line-height: 1.5;
  }

  .copy {
    font-size: 18px;
  }

  .copy .lead,
  .copy .quote {
    font-size: 20px;
  }

  .copy br {
    display: none;
  }

  .socials {
    display: grid;
    grid-template-columns: 1fr;

    gap: 12px;
  }

  .socials a {
    border-left: 0;

    padding: 0;
  }
}