/* ayln.studio — tek fotoğraf, tek sayfa · brand: #AF342E red · #351A00 brown · #E9E4DE cream */

:root {
  --cream: #E9E4DE;
  --brown: #351A00;
  --red: #AF342E;
  --edge: clamp(20px, 4vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font: 400 clamp(1.0625rem, 1rem + 0.3vw, 1.25rem)/1.55 "Open Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, p { margin: 0; }
a { color: inherit; text-decoration: underline 1.5px transparent; text-underline-offset: 5px; transition: text-decoration-color .2s ease, color .2s ease; }
a:hover, a:focus-visible { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
::selection { background: var(--red); color: var(--cream); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* Hero: one photograph, the logo, one line */
.hero {
  position: relative;
  height: 100svh; min-height: 520px;
  overflow: hidden;
  background: var(--brown);
  color: var(--cream);
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: settle 2.4s cubic-bezier(.2, .7, .1, 1) both;
}
@keyframes settle { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
.hero-logo {
  position: absolute; z-index: 1;
  top: clamp(28px, 6vh, 64px); left: 50%; transform: translateX(-50%);
}
.hero-logo img { display: block; width: clamp(150px, 15vw, 250px); height: auto; }

/* About: the studio in one paragraph */
.about {
  padding: clamp(96px, 14vw, 200px) var(--edge);
  max-width: 1200px; margin: 0 auto;
}
.about-text {
  font-size: clamp(1.375rem, 1.1rem + 1.3vw, 2.25rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  max-width: 46ch;
}
.about-links { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px 40px; }
.about-links a { text-decoration-color: rgba(53, 26, 0, .35); }
.about-links a:hover, .about-links a:focus-visible { color: var(--red); text-decoration-color: currentColor; }

.foot {
  padding: 24px var(--edge) 32px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 14px;
}

@media (max-width: 700px) {
}

@media (prefers-reduced-motion: reduce) {
  .hero-img { animation: none; }
}
