/* ==========================================================================
   Artetto front page
   One place gets the boldness: the hero. Everything else stays quiet.
   ========================================================================== */

/* ---------- Shared section rhythm ---------- */
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--flush-top { padding-top: 0; }

.section__head { max-width: 62ch; margin-bottom: clamp(32px, 5vw, 64px); }
.section__head--row {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
}
.section__title {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -.025em;
  margin-bottom: .45em;
}
.section__title--wide { max-width: 18ch; margin-bottom: clamp(28px, 4vw, 52px); }
.section__head--row .section__title { margin-bottom: 0; max-width: 16ch; }
.section__lead { max-width: 52ch; margin: 0; font-size: 1.1875rem; color: var(--artetto-slate); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(24px, 4vw, 64px) 0 clamp(40px, 6vw, 80px);
  overflow: clip;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(20px, 3vw, 32px);
  padding: 8px 18px 8px 14px;
  border-radius: var(--artetto-radius-button);
  background: var(--artetto-mist);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.2;
}
.hero__label-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--artetto-coral); flex: none; }

.hero__title {
  margin: 0 0 clamp(20px, 3vw, 32px);
  font-size: clamp(3.4rem, 7.3vw, 6.4rem);
  line-height: .92;
  letter-spacing: -.03em;
  word-spacing: .04em;
  font-weight: 700;
}
.hero__line { position: relative; display: block; white-space: nowrap; }
/* The Turkish capital İ carries a dot above it, so the headline lines need a little more air. */
.artetto-lang-tr .hero__title { line-height: 1.05; }
.hero__line--2 { color: var(--artetto-violet); }
/* The coral dot repeats the dot inside the logo and replaces each full stop. */
.hero__dot {
  display: inline-block;
  width: .15em; height: .15em;
  margin-left: .06em;
  border-radius: 50%;
  background: var(--artetto-coral);
}

.hero__lead { max-width: 46ch; margin: 0 0 clamp(24px, 3vw, 36px); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(24px, 3vw, 36px); }
.hero__points { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0; padding: 0; list-style: none; font-size: .9688rem; font-weight: 500; }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points svg { width: 20px; height: 20px; color: var(--artetto-violet); flex: none; stroke-width: 2.6; }

/* ---------- Hero stage: prompt is typed, artwork appears, products arrive ---------- */
.stage { position: relative; width: 100%; max-width: 580px; aspect-ratio: 1 / 1.02; margin-inline: auto; }
.stage__disc { position: absolute; inset: 3%; border-radius: 50%; background: var(--artetto-mist); }
.stage__sun { position: absolute; top: 5%; left: 0; width: 15%; aspect-ratio: 1; border-radius: 50%; background: var(--artetto-sun); }
.stage__dot { position: absolute; left: 44%; bottom: 3%; width: 6.5%; aspect-ratio: 1; border-radius: 50%; background: var(--artetto-coral); }

.stage__canvas {
  --r: -3deg;
  position: absolute;
  left: 10%; top: 6%;
  width: 56%;
  padding: 3.2%;
  border-radius: var(--artetto-radius-card);
  background: var(--artetto-white);
  box-shadow: var(--artetto-shadow-lg);
  transform: rotate(var(--r));
  animation: stage-canvas .8s cubic-bezier(.2, .8, .2, 1) both;
}
.stage__art { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 12px; }
.stage__prompt {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 3.4%;
  padding: 6px 6px 6px 12px;
  border-radius: var(--artetto-radius-button);
  background: var(--artetto-mist);
  font-size: clamp(.6875rem, 1.15vw, .8125rem);
  font-weight: 500;
  line-height: 1.2;
}
.stage__prompt svg { width: 16px; height: 16px; color: var(--artetto-violet); flex: none; }
.stage__typed {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  clip-path: inset(0 100% 0 0);
  animation: stage-type 1.5s steps(30, end) .8s forwards;
}
.stage__prompt b {
  flex: none;
  padding: 7px 12px;
  border-radius: var(--artetto-radius-button);
  background: var(--artetto-violet);
  color: var(--artetto-white);
  font-size: .75rem;
  font-weight: 600;
}

.stage__tile {
  --r: 0deg;
  position: absolute;
  padding: 2.4% 2.4% 3%;
  border-radius: var(--artetto-radius-card);
  background: var(--artetto-white);
  box-shadow: var(--artetto-shadow);
  transform: rotate(var(--r));
  text-align: center;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1;
  animation: stage-pop .7s cubic-bezier(.3, 1.35, .5, 1) both;
}
.stage__tile svg { display: block; width: 100%; height: auto; }
.stage__tile span { display: block; margin-top: 2px; }
.stage__tile--mug { --r: 5deg; right: 0; top: 30%; width: 35%; background: var(--artetto-violet-light); animation-delay: 3.1s; }
.stage__tile--tee { --r: -5deg; left: 0; bottom: 4%; width: 32%; background: var(--artetto-sun); animation-delay: 3.3s; }
.stage__tile--poster { --r: 3deg; right: 10%; bottom: 3%; width: 29%; animation-delay: 3.5s; }

.stage__chip {
  --r: 0deg;
  position: absolute;
  right: 4%; top: 7%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: var(--artetto-radius-button);
  background: var(--artetto-ink);
  color: var(--artetto-cream);
  font-size: clamp(.6875rem, 1.2vw, .8125rem);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--artetto-shadow);
  animation: stage-pop .6s cubic-bezier(.3, 1.35, .5, 1) 3.8s both;
}
.stage__chip-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--artetto-coral); color: var(--artetto-ink); }
.stage__chip-icon svg { width: 15px; height: 15px; stroke-width: 2.6; }

/* Artwork layers rise one after another once the prompt is typed. */
.a-sun, .a-peak, .a-snow, .a-hill, .a-dot { animation: stage-rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.a-sun { animation-delay: 2.35s; }
.a-peak--1 { animation-delay: 2.5s; }
.a-peak--2 { animation-delay: 2.65s; }
.a-snow { animation-name: stage-fade; animation-delay: 3.1s; }
.a-hill { animation-delay: 2.8s; }
.a-dot { animation-name: stage-fade; animation-delay: 3.2s; }

@keyframes stage-canvas { from { opacity: 0; transform: translateY(28px) rotate(var(--r)) scale(.97); } to { opacity: 1; transform: rotate(var(--r)); } }
@keyframes stage-type { to { clip-path: inset(0 0 0 0); } }
@keyframes stage-rise { from { opacity: 0; transform: translateY(70px); } to { opacity: 1; transform: none; } }
@keyframes stage-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes stage-pop { from { opacity: 0; transform: translateY(26px) rotate(var(--r)) scale(.85); } to { opacity: 1; transform: rotate(var(--r)); } }

@media (prefers-reduced-motion: reduce) {
  .stage__canvas, .stage__tile, .stage__chip, .stage__typed,
  .a-sun, .a-peak, .a-snow, .a-hill, .a-dot { animation: none !important; }
  .stage__typed { clip-path: none; }
}

@media (max-width: 640px) {
  .stage__chip { right: 0; top: 15%; }
  .stage__prompt b { display: none; }
}

@media (max-width: 959px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(3.4rem, 15.5vw, 6rem); }
  .stage { max-width: 480px; }
}

/* ==========================================================================
   How it works: one rule through three steps, no cards
   ========================================================================== */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.steps::before {
  content: '';
  position: absolute;
  left: 22px; right: 0; top: 21px;
  height: 2px;
  background: var(--artetto-ink);
}
.step { position: relative; padding-top: 0; }
.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--artetto-violet);
  color: var(--artetto-white);
  font-family: var(--artetto-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}
.step--3 .step__num { background: var(--artetto-coral); color: var(--artetto-ink); }
.step__art {
  display: grid;
  place-items: center;
  height: clamp(180px, 22vw, 240px);
  margin-bottom: 20px;
  border-radius: var(--artetto-radius-card);
  background: var(--artetto-mist);
}
.step--2 .step__art { background: var(--artetto-sun); }
.step--3 .step__art { background: var(--artetto-violet-light); }
.step__art svg { width: auto; height: 84%; }
.step h3 { margin-bottom: .3em; }
.step p { margin: 0; max-width: 34ch; color: var(--artetto-slate); }

@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .steps::before { left: 21px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .step { padding-left: 72px; }
  .step__num { position: absolute; left: 0; top: 0; margin: 0; }
  .step__art { height: 190px; }
}

/* ==========================================================================
   Two ways to start
   ========================================================================== */
.ways { display: grid; grid-template-columns: 7fr 5fr; gap: 20px; }
.way {
  position: relative;
  display: flex;
  min-height: 440px;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--artetto-radius-card);
  overflow: hidden;
}
.way__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; max-width: 34ch; }
.way h3 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); letter-spacing: -.02em; line-height: 1.04; margin-bottom: .4em; }
.way p { margin-bottom: 0; }
.way--ai { background: var(--artetto-violet); color: var(--artetto-white); }
.way--ai h3 { color: var(--artetto-white); }
.way--up { background: var(--artetto-mist); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 30px; padding: 0; list-style: none; }
.chips li {
  padding: 8px 15px;
  border: 1.5px solid currentColor;
  border-radius: var(--artetto-radius-button);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.25;
}
.way--ai .chips li { border-color: rgba(255, 255, 255, .6); }
.way--up .chips li { border-color: rgba(21, 19, 43, .35); }
.way__body .btn { margin-top: auto; }
.way__art { position: absolute; right: -2%; bottom: -6%; width: clamp(170px, 24vw, 270px); transform: rotate(6deg); }
.way--ai .way__art { right: 2%; width: clamp(200px, 27vw, 310px); transform: rotate(8deg); }
.way--up .way__art { right: -8%; bottom: -4%; transform: rotate(-7deg); }
.way__art svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 22px 28px rgba(21, 19, 43, .28)); }

@media (max-width: 900px) {
  .ways { grid-template-columns: 1fr; }
  .way { min-height: 0; padding-bottom: 210px; }
  .way__art { width: 190px !important; right: 4% !important; bottom: -22px !important; }
}

/* ==========================================================================
   Products: tiles of different sizes and colors
   ========================================================================== */
.shop { background: var(--artetto-mist); }
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 16px;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 20px 20px 18px;
  border-radius: var(--artetto-radius-card);
  background: var(--artetto-white);
  color: var(--artetto-ink);
  text-decoration: none;
  overflow: hidden;
  transition: transform .2s ease;
}
.tile:hover { color: var(--artetto-ink); transform: translateY(-5px); }
.tile:focus-visible { outline-offset: 4px; border-radius: var(--artetto-radius-card); }
.tile__art { flex: 1; display: grid; place-items: center; min-height: 0; padding: 4px 0 10px; }
.tile__art svg { width: min(100%, 170px); height: auto; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.tile:hover .tile__art svg { transform: rotate(-4deg) scale(1.05); }
.tile__meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.tile__text { display: block; }
.tile__title { display: block; font-family: var(--artetto-font-display); font-size: 1.4rem; font-weight: 600; line-height: 1.15; letter-spacing: -.015em; }
.tile__sub { display: block; margin-top: 2px; font-size: .9375rem; }
.tile__go {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--artetto-ink);
  color: var(--artetto-cream);
  transition: transform .2s ease;
}
.tile:hover .tile__go { transform: translateX(3px); }
.tile__go svg { width: 20px; height: 20px; }

.tile--mug { grid-column: span 2; grid-row: span 2; background: var(--artetto-violet-light); }
.tile--mug .tile__art svg { width: min(100%, 330px); }
.tile--mug .tile__title { font-size: 1.9rem; }
.tile--tee { background: var(--artetto-sun); }
.tile--poster { background: var(--artetto-white); }
.tile--case { background: var(--artetto-cream); }
.tile--tote { background: var(--artetto-violet-light); }
.tile--logo {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: clamp(16px, 4vw, 56px);
  min-height: 0;
  padding: 16px clamp(20px, 3vw, 36px) 16px 16px;
  background: var(--artetto-ink);
  color: var(--artetto-cream);
}
.tile--logo:hover { color: var(--artetto-cream); }
.tile--logo .tile__art { flex: none; padding: 0; }
.tile--logo .tile__art svg { width: 150px; }
.tile--logo .tile__meta { flex: 1; align-items: center; }
.tile--logo .tile__title { font-size: 1.9rem; }
.tile--logo .tile__go { background: var(--artetto-coral); color: var(--artetto-ink); }

.home-products { margin-top: clamp(48px, 6vw, 80px); }
.home-products h3 { font-size: 1.6rem; margin-bottom: 20px; }

@media (max-width: 960px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile { min-height: 250px; }
  .tile--mug { grid-column: 1 / -1; grid-row: auto; }
  .tile--mug .tile__art svg { width: min(100%, 230px); }
}
@media (max-width: 520px) {
  .tiles { gap: 12px; }
  .tile { min-height: 220px; padding: 16px 16px 14px; }
  .tile__title { font-size: 1.15rem; }
  .tile__sub { font-size: .875rem; }
  .tile__go { width: 38px; height: 38px; }
  .tile--logo { flex-direction: column; align-items: flex-start; padding: 16px; }
  .tile--logo .tile__meta { width: 100%; }
}

/* ==========================================================================
   AI logos (dark)
   ========================================================================== */
.logos { background: var(--artetto-ink); color: var(--artetto-mist); }
.logos .section__title { color: var(--artetto-cream); }
.logos .section__lead { color: var(--artetto-mist); margin-bottom: 28px; }
.logos__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 7vw, 112px); }
.checks { margin: 0 0 36px; padding: 0; list-style: none; }
.checks li { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-weight: 500; color: var(--artetto-cream); }
.check { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--artetto-coral); color: var(--artetto-ink); }
.check svg { width: 16px; height: 16px; stroke-width: 3; }

.marks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 28px; }
.mark-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: clamp(26px, 4vw, 44px) 16px clamp(22px, 3vw, 32px);
  border-radius: var(--artetto-radius-card);
  background: var(--artetto-cream);
  color: var(--artetto-ink);
  font-family: var(--artetto-font-display);
  font-size: 1.15rem;
  font-weight: 600;
}
.mark-card svg { width: clamp(64px, 8vw, 92px); height: auto; }
.mark-card:nth-child(even) { transform: translateY(28px); }
.marks__note { grid-column: 1 / -1; margin: 28px 0 0; font-size: .875rem; color: var(--artetto-violet-light); }

@media (max-width: 900px) {
  .logos__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Benefits: plain columns with a rule on top
   ========================================================================== */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); }
.benefit { padding-top: 24px; border-top: 2px solid var(--artetto-ink); }
.benefit svg { width: 40px; height: 40px; margin-bottom: 18px; color: var(--artetto-violet); stroke-width: 1.8; }
.benefit h3 { margin-bottom: .3em; }
.benefit p { margin: 0; color: var(--artetto-slate); font-size: 1rem; }
@media (max-width: 960px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .benefits { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--artetto-header-h) + 32px); }
.faq { border-top: 2px solid var(--artetto-ink); }
.faq__item { border-bottom: 1px solid var(--artetto-slate); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-family: var(--artetto-font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.01em;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--artetto-violet); }
.faq__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--artetto-mist);
  color: var(--artetto-violet);
  transition: transform .25s ease, background-color .25s ease, color .25s ease;
}
.faq__icon svg { width: 20px; height: 20px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--artetto-violet); color: var(--artetto-white); }
.faq__item p { max-width: 56ch; margin: 0; padding: 0 60px 26px 0; color: var(--artetto-ink); }
@media (max-width: 900px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .faq__item p { padding-right: 0; }
}

/* ==========================================================================
   Closing call to action
   ========================================================================== */
.cta-section { padding-bottom: 0; }
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 104px) clamp(24px, 6vw, 96px);
  border-radius: var(--artetto-radius-card);
  background: var(--artetto-violet);
  color: var(--artetto-white);
}
.cta__body { position: relative; z-index: 1; max-width: 700px; }
.cta h2 { color: var(--artetto-white); font-size: clamp(2.2rem, 4.8vw, 3.8rem); line-height: 1.02; letter-spacing: -.025em; margin-bottom: .4em; }
.cta p { margin: 0 0 32px; font-size: 1.1875rem; max-width: 40ch; }
.cta__buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.cta__shape { position: absolute; border-radius: 50%; }
.cta__shape--sun { right: 9%; top: -14%; width: clamp(110px, 20vw, 280px); aspect-ratio: 1; background: var(--artetto-sun); }
.cta__shape--coral { right: 22%; bottom: 12%; width: clamp(28px, 4.5vw, 64px); aspect-ratio: 1; background: var(--artetto-coral); }
.cta__shape--light { right: -6%; bottom: -26%; width: clamp(180px, 34vw, 480px); aspect-ratio: 1; background: var(--artetto-violet-light); }
@media (max-width: 700px) {
  .cta__shape--sun { right: -8%; top: -10%; }
  .cta__shape--coral { display: none; }
  .cta__body { padding-top: 80px; }
}
