:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --ink: #181818;
  --muted: #6d6b67;
  --accent: #c52c20;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page {
  width: min(100%, 1500px);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 64px);
  display: grid;
  grid-template-columns: minmax(265px, 0.65fr) minmax(620px, 1.62fr);
  gap: clamp(36px, 5vw, 82px);
  align-items: center;
}

.identity {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  min-height: 520px;
}

.brand {
  position: relative;
  width: fit-content;
  padding-bottom: 11px;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(26px, 2.6vw, 42px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1;
  transform: scaleY(0.88);
  transform-origin: left top;
}

.brand::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 76%;
  height: 1px;
  background: #66645f;
}

.brand i {
  color: var(--accent);
  font-style: normal;
}

.intro {
  margin: auto 0;
}

.profession,
.status {
  margin: 0;
  font-weight: 300;
}

h1 {
  margin: 0;
  max-width: 470px;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.profession {
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 22px);
  letter-spacing: 0.025em;
  line-height: 1.35;
}

.profession span {
  margin: 0 0.3em;
  color: var(--accent);
}

.rule {
  width: 44px;
  height: 1px;
  margin: clamp(34px, 4.5vw, 58px) 0 28px;
  background: var(--accent);
}

.status {
  font-size: clamp(21px, 2vw, 28px);
  letter-spacing: 0.19em;
  line-height: 1.35;
  text-transform: uppercase;
}

.contact-line,
.facebook-line {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.035em;
  line-height: 1.5;
}

.contact-line {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.35em;
}

.contact-line > span {
  color: var(--ink);
}

.facebook-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
}

.facebook-icon {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: end center;
  flex: 0 0 20px;
  color: #fff;
  background: #1877f2;
  border-radius: 3px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 18px;
}

.email {
  color: var(--muted);
  text-decoration-color: color-mix(in srgb, var(--muted) 45%, transparent);
  text-underline-offset: 5px;
}

.email:hover,
.email:focus-visible {
  color: var(--accent);
}

.heritage-mark {
  width: clamp(68px, 6vw, 92px);
  height: auto;
  display: block;
  margin-top: clamp(14px, 1.6vw, 22px);
  mix-blend-mode: multiply;
}

.below-photos {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 28px);
  align-items: start;
  margin-top: 2px;
}

.below-photos .heritage-mark {
  justify-self: end;
  margin: 0;
}

.logo-under-portrait .heritage-mark {
  margin-right: auto;
  margin-left: 0;
}

.logo-under-bosfor .heritage-mark {
  margin-right: 0;
  margin-left: auto;
}

.artwork {
  display: grid;
  gap: clamp(14px, 2vw, 28px);
  align-items: start;
}

.variant-a .artwork,
.variant-b .artwork {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tile {
  position: relative;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  background: #e7e4de;
}

.tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.tile-painting img {
  object-position: center;
}

.tile-portrait img {
  object-position: 50% 23%;
}

@media (max-width: 980px) {
  .page {
    grid-template-columns: 1fr;
    gap: 46px;
    align-items: start;
  }

  .identity {
    min-height: 0;
  }

  .intro {
    margin: clamp(70px, 12vw, 120px) 0 58px;
  }

}

@media (min-width: 981px) and (max-aspect-ratio: 5/3) {
  .page {
    padding-block: 28px;
    grid-template-columns: minmax(240px, 0.52fr) minmax(0, 1.75fr);
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 24px 20px 44px;
    gap: 38px;
  }

  .intro {
    margin: 76px 0 48px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .status {
    font-size: 20px;
    letter-spacing: 0.14em;
  }

  .variant-a .artwork,
  .variant-b .artwork {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .heritage-mark {
    width: 74px;
  }

  .below-photos {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .contact-line,
  .facebook-line {
    font-size: 16px;
  }
}
