/* ahmetaytar.com
   One stylesheet for the studio page and every project page under it.
   Same art direction as the product screenshots: one dark ground, one accent,
   type doing most of the work. */
:root {
  --bg:      #100F0E;
  --raise:   #171614;
  --line:    #27241F;
  --text:    #F4F1EB;
  --muted:   #9A948B;
  --dim:     #6E6960;
  --accent:  #F2700F;
  --paper:   #FBFAF8;
  --maxw:    920px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font: 17px/1.62 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* header */
.top { border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5;
       background: rgba(16,15,14,.86); backdrop-filter: saturate(140%) blur(12px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.015em;
         text-decoration: none; font-size: 16px; }
.brand img { width: 22px; height: 22px; border-radius: 6px; }
.top nav { display: flex; gap: 22px; font-size: 15px; color: var(--muted); }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--text); }

/* hero */
.hero { padding: 86px 0 20px; }
.eyebrow { font-size: 12.5px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase;
           color: var(--accent); margin-bottom: 18px; }
h1 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
     font-size: 52px; line-height: 1.04; letter-spacing: -.032em; font-weight: 700; max-width: 17ch; }
.lede { margin-top: 20px; font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 56ch; }
.actions { margin-top: 30px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn { display: inline-block; background: var(--accent); color: #140F09; text-decoration: none;
       font-weight: 640; font-size: 16px; padding: 13px 24px; border-radius: 9px;
       letter-spacing: -.01em; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); font-weight: 500; }
.note { font-size: 14.5px; color: var(--dim); }

/* sections */
section { padding: 64px 0; border-top: 1px solid var(--line); }
section.plain { border-top: 0; }
h2 { font-size: 30px; letter-spacing: -.024em; font-weight: 660; line-height: 1.15; }
h2 + .sub { margin-top: 11px; color: var(--muted); font-size: 17.5px; max-width: 58ch; }
h3 { font-size: 18px; font-weight: 620; letter-spacing: -.012em; margin-bottom: 6px; }

/* steps */
.steps { margin-top: 34px; display: grid; gap: 1px; background: var(--line);
         border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.step { background: var(--raise); padding: 22px 24px; display: grid;
        grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.step b { color: var(--accent); font-size: 14px; font-weight: 700; padding-top: 2px; }
.step p { color: var(--muted); font-size: 16px; }

/* figures */
figure { margin: 34px 0 0; }
figure img { display: block; width: 100%; height: auto; border-radius: 12px;
             border: 1px solid var(--line); }
figcaption { margin-top: 11px; font-size: 14.5px; color: var(--dim); }

/* cards */
.cards { margin-top: 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.card { background: var(--raise); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* facts list */
.facts { margin-top: 26px; display: grid; gap: 12px; }
.fact { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start;
        font-size: 16.5px; color: var(--muted); }
.fact i { font-style: normal; color: var(--accent); }
.fact b { color: var(--text); font-weight: 600; }

/* project list on the studio page */
.projects { margin-top: 30px; display: grid; gap: 14px; }
.project { display: block; text-decoration: none; background: var(--raise);
           border: 1px solid var(--line); border-radius: 13px; padding: 24px 26px; }
.project:hover { border-color: #3A352E; }
.project .row { display: flex; align-items: center; gap: 12px; }
.project img { width: 30px; height: 30px; border-radius: 8px; }
.project .name { font-size: 19px; font-weight: 640; letter-spacing: -.015em; }
.project .meta { margin-left: auto; font-size: 13.5px; color: var(--dim); }
.project p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.soon { background: transparent; border-style: dashed; }
.soon .name { color: var(--dim); }

/* prose for the privacy page */
.prose { padding: 56px 0 40px; }
.prose h2 { font-size: 21px; margin: 34px 0 10px; }
.prose p, .prose li { color: var(--muted); font-size: 16.5px; }
.prose ul { margin: 10px 0 0 20px; }
.prose li { margin-bottom: 7px; }
.prose strong { color: var(--text); font-weight: 600; }
.updated { color: var(--dim); font-size: 14.5px; margin-top: 10px; }

footer { border-top: 1px solid var(--line); padding: 30px 0 46px; color: var(--dim); font-size: 14.5px; }
footer .wrap { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .spacer { margin-left: auto; }

@media (max-width: 720px) {
  h1 { font-size: 36px; }
  .cards { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  h2 { font-size: 25px; }
  /* The nav crowded the name on a phone, and none of its links are worth
     that. The page is short enough to scroll. */
  .top nav { display: none; }
  /* Five panes side by side are unreadable at 390px. Let the reader pan the
     image instead of pretending it fits. */
  .proofscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .proofscroll img { width: 900px; max-width: none; }
  .step { grid-template-columns: 30px 1fr; gap: 12px; padding: 18px 18px; }
  footer .wrap { gap: 10px; }
  footer .spacer { margin-left: 0; }
}

/* product page: the panel beside its explanation */
.panelrow { margin-top: 34px; display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.panelrow .panelshot { margin: 0; }
.panelrow .panelshot img { border-radius: 12px; }
.panelcopy p { color: var(--muted); font-size: 16.5px; margin-top: 10px; }
@media (max-width: 720px) { .panelrow { grid-template-columns: 1fr; } }
