/* Homepage typography and portrait. */
.home-page {
  --canvas: #faf9f5;
  --ink: #162f32;
  --muted: #495958;
  --wine: #98432e;
  --line: #d5dbd4;
}
.home-page .header-inner { min-height: 78px; }
.home-page .wordmark span { color: #b95736; }
.home-page .hero {
  grid-template-columns: minmax(0, 1fr) 35%;
  column-gap: clamp(50px, 7vw, 116px);
  row-gap: clamp(22px, 3vw, 42px);
  padding-block: clamp(46px, 5vw, 78px);
}
.home-page .hero-copy { align-self: end; }
.home-page .hero h1 {
  font-size: clamp(3rem, 5.6vw, 5.75rem);
  line-height: 1.06;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero-intro {
  max-width: 48ch;
  margin-top: 16px;
  font-size: clamp(1.125rem, 1.35vw, 1.25rem);
  line-height: 1.65;
}
.hero-intro p + p { margin-top: 16px; }
.home-page .hero .button { background: var(--ink); border-color: var(--ink); border-radius: 8px; }
.home-page .hero .button:hover { background: #305553; }
.home-page .hero-quote {
  align-self: start;
  justify-self: start;
  padding-left: 18px;
  border-color: #c17d5d;
}
.home-page .portrait {
  justify-self: center;
  width: min(100%, 335px);
  background: transparent;
  border-radius: 0;
}
.home-page .portrait img {
  width: 100%;
  height: auto;
  /* Show the top 90% of the 2451 × 3638 portrait. */
  aspect-ratio: 2451 / 3274;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  background: transparent;
  mix-blend-mode: multiply;
}

.home-page .ventures-section {
  padding: clamp(38px, 4vw, 64px) 0 clamp(44px, 5vw, 76px);
  border: 0;
  background: #f7f6f2;
}
.venture-lead { margin-bottom: clamp(22px, 2.4vw, 36px); }
.venture-lead p { max-width: 55ch; margin-top: 14px; line-height: 1.6; }
.venture-actions { display: flex; justify-content: flex-end; margin-top: clamp(18px, 2vw, 28px); }
.venture-shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(16px, 1.8vw, 28px);
  row-gap: clamp(12px, 1.2vw, 20px);
  align-items: start;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Margin establishes the shelf offsets independently of the short entry animation. */
.cover-slot { min-width: 0; margin-top: clamp(12px, 1.2vw, 19px); }
.cover-slot:nth-child(3n + 2) { margin-top: 0; }
.venture-poster {
  --paper: #d5e8de;
  --letter: #183c35;
  display: grid;
  align-content: space-between;
  justify-items: start;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 144px;
  aspect-ratio: 2.45;
  padding: clamp(16px, 1.65vw, 25px);
  border-radius: 12px;
  background: var(--paper);
  color: var(--letter);
  box-shadow: inset 0 0 0 1px rgb(20 30 26 / 8%), 0 8px 18px -14px #182f33;
  container-type: inline-size;
}
.venture-poster:hover { color: var(--letter); }
.venture-poster:focus-visible { outline: 3px solid #125c70; outline-offset: 5px; }
.poster-logo {
  z-index: 1;
  background: #fff;
  border-radius: 11px;
  padding: 7px;
  width: clamp(34px, 2.7vw, 42px);
  height: clamp(34px, 2.7vw, 42px);
  box-shadow: 0 2px 6px rgb(18 30 32 / 8%);
}
.poster-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }
.poster-name {
  max-width: 63%;
  z-index: 1;
  font: 600 clamp(1.45rem, 7.3cqw, 2.2rem)/1.08 var(--sans);
  letter-spacing: -.06em;
  overflow-wrap: anywhere;
}
.poster-art {
  position: absolute;
  width: 10em;
  height: 10em;
  right: 5%;
  top: 50%;
  translate: 0 -50%;
  font-size: clamp(7px, 2.55cqw, 16px);
  pointer-events: none;
  color: var(--letter);
}
.poster-art, .poster-art::before, .poster-art::after, .poster-art i, .poster-art i::before, .poster-art i::after { box-sizing: border-box; }
.poster-art::before, .poster-art::after, .poster-art i, .poster-art i::before, .poster-art i::after { position: absolute; }
.venture-poster.brand-usechooser { --paper: #b7dbf1; --letter: #15394f; }
/* Segments of the wheel and its fixed pointer. */
.brand-usechooser .poster-art::before {
  content: "";
  inset: 5%;
  border: .13em solid #183f56;
  border-radius: 50%;
  background: conic-gradient(from -20deg, #f9efc8 0 45deg, #ec9276 45deg 90deg, #568eef 90deg 135deg, #91cacf 135deg 180deg, #f9efc8 180deg 225deg, #ec9276 225deg 270deg, #568eef 270deg 315deg, #91cacf 315deg);
  box-shadow: .38em .38em 0 #648fa5;
}
.brand-usechooser .poster-art::after { content: ""; inset: 44%; border: .12em solid #183f56; border-radius: 50%; background: #fffaed; }
.brand-usechooser .poster-art i { z-index: 1; top: 0; left: 46%; border: .63em solid transparent; border-top: 1.55em solid #183f56; }
.venture-poster.brand-takil-in { --paper: #f8ad93; --letter: #492633; }
.brand-takil-in .poster-art::before {
  content: ""; inset: 8% 13% 9% 6%; border: .23em solid #582b3a; border-radius: 49% 41% 51% 44% / 48% 61% 40% 50%; transform: rotate(-19deg);
}
.brand-takil-in .poster-art::after { content: ""; inset: 10% 10% 9%; border: .1em dashed #754d48; border-radius: 50%; }
.brand-takil-in .poster-art i {
  z-index: 1; right: 3%; bottom: 2%; width: 2.5em; height: 3.1em; background: #58303e;
  clip-path: polygon(0 0, 96% 56%, 61% 62%, 81% 94%, 65% 100%, 45% 68%, 22% 91%); transform: rotate(-9deg);
}
.venture-poster.brand-deprem-verisi {
  --paper: #194f51; --letter: #f0f5e7;
  background-image: linear-gradient(to right, #ffffff09 1px, transparent 1px), linear-gradient(to bottom, #ffffff09 1px, transparent 1px);
  background-size: 30px 30px;
}
.brand-deprem-verisi .poster-art { right: 4%; }
.brand-deprem-verisi .poster-art::before {
  content: ""; inset: -20%; border-radius: 50%; background: repeating-radial-gradient(ellipse at 46% 55%, transparent 0 .77em, #acd2b6 .8em .86em, transparent .89em 1.18em); transform: rotate(-15deg) scaleY(.78);
}
.brand-deprem-verisi .poster-art i { top: 54%; left: 41%; width: 1.1em; height: 1.1em; border: .24em solid #fff6dc; border-radius: 50%; background: #ed895a; }
.venture-poster.brand-sinepati { --paper: #d8c8ee; --letter: #362b4e; }
.brand-sinepati .poster-art { transform: rotate(-12deg); }
.brand-sinepati .poster-art::before {
  content: ""; inset: 29% 4% 8%; border-radius: .22em; border: .16em solid #3d3152; background: #564668; box-shadow: .32em .35em 0 #a48bbb;
}
.brand-sinepati .poster-art::after, .brand-sinepati .poster-art i {
  content: ""; left: 4%; width: 92%; height: 15%; background: repeating-linear-gradient(125deg, #f8f0dc 0 1em, #40334f 1.04em 2.05em); border: .13em solid #40334f;
}
.brand-sinepati .poster-art::after { top: 28%; }
.brand-sinepati .poster-art i { top: 22%; transform-origin: 0 100%; transform: rotate(-16deg); }
.brand-sinepati .poster-art i::before {
  content: ""; width: 55%; height: .15em; left: 12%; top: 4.2em; background: #e9dabf; box-shadow: 0 .78em #e9dabf; transform: rotate(16deg); transform-origin: 0;
}
.venture-poster.brand-altin-fiyatlari { --paper: #f1d38e; --letter: #49381c; }
.brand-altin-fiyatlari .poster-art::before, .brand-altin-fiyatlari .poster-art::after, .brand-altin-fiyatlari .poster-art i {
  content: ""; width: 7em; height: 3.25em; border-radius: 50%; border: .13em solid #7b531b;
  background: radial-gradient(ellipse at center, transparent 56%, #c8983d 57% 60%, transparent 61%), #ffe4a0;
  box-shadow: 0 .45em #d9a541, 0 .58em #815e25;
}
.brand-altin-fiyatlari .poster-art::before { top: 58%; left: 3%; }
.brand-altin-fiyatlari .poster-art i { top: 43%; left: 24%; }
.brand-altin-fiyatlari .poster-art::after { top: 25%; left: 12%; transform: rotate(-10deg); }
.venture-poster.brand-upinsora { --paper: #303e60; --letter: #fcf0dd; }
.brand-upinsora .poster-art { transform: rotate(8deg); }
.brand-upinsora .poster-art::before {
  content: ""; inset: 10% 8% 8%; border: .12em solid #30354d; background: #fff3d9; box-shadow: .35em .35em #c5b89e, .44em .44em #35354b, .7em .7em #b0a790;
}
.brand-upinsora .poster-art::after { content: ""; background: #dc805d; left: 16%; top: 35%; width: 31%; height: 29%; }
.brand-upinsora .poster-art i { top: 22%; left: 16%; width: 68%; height: .28em; background: #394358; box-shadow: 0 .42em #394358; }
.brand-upinsora .poster-art i::before, .brand-upinsora .poster-art i::after {
  content: ""; background: repeating-linear-gradient(to bottom, #637074 0 .1em, transparent .13em .58em);
}
.brand-upinsora .poster-art i::before { inset: 1.25em 0 auto 54%; height: 3.2em; }
.brand-upinsora .poster-art i::after { top: 5em; width: 100%; height: 1.5em; }

.home-page .corporate { background: #e9eeea; padding-block: clamp(36px, 4.6vw, 68px); }
.home-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  column-gap: clamp(36px, 5vw, 64px);
}
.corporate-note { align-items: center; }
.corporate-note h2 { max-width: 14em; }
.corporate-note p { max-width: 43ch; font-size: clamp(1.075rem, 1.3vw, 1.25rem); line-height: 1.6; }
.home-page .closing { background: #263d3c; }
.home-page .closing .button { color: #263d3c; }
.home-page .site-footer { background: #efefe9; }

@media (prefers-reduced-motion: no-preference) {
  .cover-slot.is-arriving { animation: cover-arrival .46s ease-out backwards; }
  .cover-slot:nth-child(3n + 2).is-arriving { animation-delay: 55ms; }
  .cover-slot:nth-child(3n).is-arriving { animation-delay: 95ms; }
  @keyframes cover-arrival {
    from { opacity: .76; transform: translateY(9px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .venture-poster {
    animation: card-float var(--float-period, 6s) ease-in-out var(--float-delay, 0s) infinite;
  }
  .cover-slot:nth-child(even) { --float-period: 7s; }
  .cover-slot:nth-child(3n + 2) { --float-delay: -2s; }
  .cover-slot:nth-child(3n) { --float-delay: -4s; }
  @keyframes card-float {
    0%, 100% { transform: translateY(2.5px); }
    50% { transform: translateY(-2.5px); }
  }
  .venture-poster:focus-visible { animation-play-state: paused; }
  @media (hover: hover) {
    .venture-poster { transition: box-shadow .22s ease-out; }
    .venture-poster:hover {
      box-shadow: 0 12px 24px -14px rgb(22 37 37 / 28%);
    }
  }
}
@media (max-width: 960px) {
  .home-page .hero { column-gap: 36px; }
  .home-columns { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
}
@media (max-width: 900px) {
  .venture-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px clamp(14px, 2.4vw, 24px); }
  .cover-slot, .cover-slot:nth-child(3n + 2) { margin-top: 0; }
  .cover-slot:nth-child(odd) { margin-top: 12px; }
}
@media (max-width: 760px) {
  .home-page .header-inner { min-height: 70px; }
  .home-page .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 36px 42px; }
  .home-page .hero h1 { font-size: clamp(2rem, 10.3vw, 4.5rem); }
  .home-page .portrait { width: min(70%, 265px); }
  .home-page .hero-quote { width: fit-content; }
  .home-page .ventures-section { padding-block: 38px 54px; }
  .venture-lead { margin-bottom: 28px; }
  .venture-lead p { margin: 12px 0; }
  .home-columns { grid-template-columns: minmax(0, 1fr); }
  .corporate-note { row-gap: 14px; }
}
@media (max-width: 400px) {
  .venture-shelf { gap: 8px 12px; }
}
@container (max-width: 255px) {
  .poster-name { max-width: 100%; font-size: clamp(1.02rem, 9.8cqw, 1.45rem); }
  .poster-art { top: 12px; right: 10%; translate: 0; font-size: clamp(4.6px, 3.2cqw, 7.4px); }
  .poster-logo { width: 28px; height: 28px; padding: 5px; border-radius: 7px; }
}
@media (max-width: 570px) {
  .venture-poster { min-height: 108px; aspect-ratio: 1.55; padding: 12px; }
}
