/* Shared narrow-screen layout for Yeni Bir Site's marketing and inquiry pages. */
@media (max-width: 1180px) {
  :root { --mobile-header: 72px; }
  html { scroll-padding-top: calc(var(--mobile-header) + 16px); }
  .header-inner { min-height: var(--mobile-header); gap: 16px; }
  .header .brand { width: clamp(146px, 42vw, 190px); }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 86px; min-height: 44px; padding: 10px 14px; font-size: 14px; }
  .header .nav { display: none; position: fixed; inset: var(--mobile-header) 0 auto; max-height: calc(100vh - var(--mobile-header)); max-height: calc(100dvh - var(--mobile-header)); overflow-y: auto; overscroll-behavior: contain; padding: 12px max(16px, env(safe-area-inset-left)) calc(16px + env(safe-area-inset-bottom)); background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 14px 22px #16243a14; gap: 0; flex-direction: column; align-items: stretch; }
  .header .nav.open { display: flex; }
  .header .nav > a { min-height: 48px; display: flex; align-items: center; padding: 12px 16px; font-size: 15px; border-bottom: 1px solid var(--line); }
  .header .nav .nav-cta { justify-content: center; margin-top: 12px; border-bottom: 0; }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 900px) {
  .brief-layout { grid-template-columns: 1fr; }
  .brief-summary { position: static; grid-row: 1; padding: 24px; }
  .brief-form > .brief-summary { margin-bottom: 24px; }
  .brief-summary .summary-price { font-size: 30px; color: white; line-height: 1.3; }
  .brief-summary .summary-price small { font-size: 12px; line-height: 1.6; margin-top: 8px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  main, section, .wrap, .hero-copy, .hero-art, .case-body > *, .brief-layout > *, .article-layout > * { min-width: 0; }
  h1, h2, h3, .eyebrow, .project-title, .demo-card-title, .concept-card-title { overflow-wrap: anywhere; }
  .eyebrow { font-size: 10px; line-height: 1.7; letter-spacing: .08em; }
  .btn { min-height: 48px; font-size: 14px; padding: 13px 18px; gap: 14px; white-space: normal; text-align: center; }
  .text-link, .screenshot-link, .breadcrumb { display: inline-flex; align-items: center; min-height: 44px; line-height: 1.6; font-size: 13px; }
  .filter-row button, .demo-filters button, .concept-filter-row button, .sector-filters button, .journal-filters button, .article-share { min-height: 44px; font-size: 12px; padding: 10px 14px; }
  .demo-search input, .concept-search input, .sector-search input, .journal-search input, .brief-step input:not([type=checkbox]), .brief-step select, .brief-step textarea { font-size: 16px; min-height: 48px; max-width: 100%; }
  .hero { padding: 30px 0 38px; }
  .hero h1 { font-size: clamp(38px, 10vw, 60px); line-height: 1.1; margin: 18px 0 22px; }
  .hero-copy > p { font-size: 15px; line-height: 1.8; }
  .hero .actions { align-items: stretch; gap: 12px; margin-top: 24px; }
  .hero .actions .btn { flex: 1 1 100%; }
  .hero .actions .text-link { justify-content: center; width: 100%; }
  .hero-foot { flex-wrap: wrap; font-size: 11px; gap: 8px 14px; line-height: 1.6; }
  .hero-art { height: auto; aspect-ratio: 1.32; width: 100%; max-width: 520px; padding-top: 10px; margin-top: 8px; }
  .hero-main { width: 92%; }
  .hero-mini { width: 58%; bottom: 0; right: 0; }
  .pixel-spark { right: 0; }
  .section { padding: 44px 0; }
  .section-heading { gap: 24px; margin-bottom: 26px; }
  .section-heading h2 { font-size: clamp(29px, 8vw, 38px); line-height: 1.18; }
  .section-heading p, .project > p, .case-block p, .service-row p, .step p, .about p { font-size: 14px; line-height: 1.85; }
  .project-grid { gap: 30px; }
  .project-visual { padding: 20px 18px 0; }
  .project-title { min-height: 48px; gap: 12px; }
  .project-title h3 { font-size: 25px; line-height: 1.2; }
  .project-meta { font-size: 11px; flex-wrap: wrap; gap: 8px; }
  .filter-row { gap: 8px; }
  .portfolio-intro .breadcrumb { margin-bottom: 16px; }
  .portfolio-title-row h1 { font-size: clamp(38px, 10.5vw, 62px); }
  .portfolio-index > a { padding: 16px 10px; gap: 8px; align-items: flex-start; }
  .portfolio-index > :first-child { padding-left: 0; }
  .portfolio-index b { font-size: 30px; flex: none; line-height: 1.2; }
  .portfolio-index span { font-size: 12px; min-width: 0; line-height: 1.6; }
  .demo-card-meta { flex-wrap: wrap; gap: 8px; font-size: 11px; }
  .demo-card-meta > span:first-child { max-width: 100%; }
  .demo-card-meta > span:last-child { font-size: 10px; }
  .demo-card-body, .demo-home-grid .demo-card-body { padding: 20px; }
  .demo-card-body > p { font-size: 15px; }
  .demo-tags span { font-size: 11px; }
  .demo-detail-link { min-height: 48px; font-size: 14px; align-items: center; }
  .demo-result-count, .demo-disclosure, .demo-visual-note, .demo-boundary, .case-note { font-size: 12px; line-height: 1.8; }
  .gallery-more .btn { width: 100%; }
  .sector-bridge { gap: 12px; padding: 18px 14px; }
  .sector-bridge > span:nth-child(2) { min-width: 0; }
  .sector-bridge-count { font-size: 30px; flex: none; }
  .sector-bridge-arrow { font-size: 20px; flex: none; }
  .sector-bridge strong { font-size: 17px; }
  .sector-bridge > span:nth-child(2) > span { font-size: 12px; }
  .concept-project-bridge > span { font-size: 12px; }
  .studio-images { align-items: start; }
  .product-crop { height: auto; aspect-ratio: 1; }
  .product-crop img, .product-crop.cord img { object-fit: contain; }
  .studio-piece figcaption, .studio-note { font-size: 12px !important; line-height: 1.8; }
  .package { padding: 26px; }
  .package-label { font-size: 12px; min-height: 0; margin-bottom: 12px; line-height: 1.7; }
  .package h3 { font-size: 26px; min-height: 0; }
  .package .price { font-size: 34px; }
  .package .price.quote { font-size: 29px; }
  .package .price-note { font-size: 12px; min-height: 0; line-height: 1.7; }
  .package .image-count { font-size: 13px; padding: 14px; gap: 10px; }
  .package ul { font-size: 14px; line-height: 1.8; }
  .package li { padding-top: 9px; padding-bottom: 9px; }
  .package .btn { min-height: 48px; font-size: 14px; padding: 13px; }
  .package .recommend { font-size: 10px; }
  .pricing-note, .delivery-note p { font-size: 13px; line-height: 1.8; }
  .compare, .compare-wrap, .article-table { min-width: 0; max-width: 100%; }
  .compare-wrap, .article-table { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .compare-wrap table, .article-table table { font-size: 13px; }
  .compare summary, .faq-list summary { min-height: 48px; font-size: 15px; line-height: 1.6; }
  .faq-list p { font-size: 14px; line-height: 1.8; }
  .process-grid { gap: 28px; }
  .step h3 { line-height: 1.25; }
  .case-hero h1, .demo-case-heading h1, .concept-case-heading h1 { font-size: clamp(31px, 8.5vw, 45px); line-height: 1.15; }
  .case-shot, .case-shot.tillo { padding: 18px 12px 0; }
  .case-shot img { height: auto; }
  .case-body { gap: 24px; }
  .feature-list { font-size: 14px; }
  .other-links { gap: 10px; }
  .other-links a { min-height: 44px; display: flex; align-items: center; font-size: 13px; }
  .demo-facts strong { font-size: 14px; }
  .capability-grid h3 { font-size: 19px; line-height: 1.4; }
  .portfolio-cta h2, .contact-start h2 { font-size: clamp(29px, 8vw, 38px); line-height: 1.2; }
  .portfolio-cta .btn, .contact-start .btn { width: 100%; }
  .portfolio-cta p, .contact-start p { font-size: 14px; line-height: 1.8; }
  .footer-main { flex-direction: column; gap: 22px; }
  .footer-brand { width: min(200px, 100%); }
  .footer p { font-size: 12px; }
  .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: none; gap: 4px 18px; justify-content: start; }
  .footer-links a { display: flex; align-items: center; min-height: 44px; font-size: 13px; }
  .footer-bottom { flex-wrap: wrap; font-size: 11px; align-items: center; }
  .footer-bottom a { min-height: 44px; display: inline-flex; align-items: center; }
  .dialog { width: calc(100% - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
  .dialog-inner { padding: 54px 22px 24px; }
  .dialog-close { width: 44px; height: 44px; right: 10px; top: 8px; }
  .dialog h2 { font-size: 28px; }
  .dialog p, .dialog ul { font-size: 14px; line-height: 1.8; }
  .dialog .btn { width: 100%; }
  .brief-hero { padding: 24px 0 30px; }
  .brief-hero .breadcrumb { margin-bottom: 14px; }
  .brief-hero h1 { font-size: clamp(35px, 9vw, 48px); line-height: 1.13; }
  .brief-hero p { font-size: 15px; line-height: 1.8; }
  .brief-step { padding: 22px 18px; }
  .brief-step label, .brief-step legend { font-size: 14px; }
  .brief-step .brief-consent { font-size: 13px; padding: 8px 0; }
  .brief-consent input { margin-top: 3px; }
  .brief-step .brief-fields { grid-template-columns: 1fr; }
  .brief-step .field-wide { grid-column: auto; }
  .feature-choices { grid-template-columns: 1fr; }
  .feature-choices label { min-height: 48px; padding: 13px; }
  .brief-data-note, .brief-summary-note, .brief-step small { font-size: 12px !important; line-height: 1.8; }
  .brief-step textarea { min-height: 140px; resize: vertical; }
  .brief-status { overflow-wrap: anywhere; font-size: 14px; }
  .brief-reference, #brief-reference { overflow-wrap: anywhere; }
  .sector-card-description, .sector-feature-list { font-size: 14px; }
  .sector-card-links .btn, .sector-card-links .text-link { min-height: 48px; font-size: 13px; }
  .concept-card-content > p:not(.concept-card-category) { font-size: 14px; line-height: 1.8; }
  .concept-card-links { font-size: 13px; flex-wrap: wrap; }
  .article-body p, .article-body li { font-size: 16px; line-height: 1.85; }
  .article-heading h1 { font-size: clamp(32px, 8.5vw, 44px); line-height: 1.2; }
  .article-subtitle { font-size: 16px; }
  .article-label { flex-wrap: wrap; }
  .article-toc nav a { min-height: 44px; display: flex; align-items: center; font-size: 13px; padding: 10px 0; }
  .article-project-links a { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; }
  .article-sources li a { overflow-wrap: anywhere; }
  .journal-title h1 { font-size: clamp(40px, 11vw, 57px); }
  .journal-card-meta, .featured-meta { flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .packages-grid, .process-grid, .studio-images, .capability-grid { grid-template-columns: minmax(0, 1fr); }
  .packages-grid { gap: 28px; }
  .studio-images { max-width: 340px; }
  .studio-piece:nth-child(2) { margin-top: 12px; }
  .brief-summary { padding: 22px; }
  .brief-summary h2 { font-size: 26px; }
  .brief-summary .summary-price { margin-top: 14px; }
  .brief-summary-note { margin-top: 16px; padding-top: 14px; }
  .client-strip .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .sector-card-links { align-items: stretch; flex-direction: column; gap: 6px; }
  .sector-card-links .text-link { justify-content: center; }
}

@media (hover: none) and (pointer: coarse) {
  .btn:hover, .demo-card:hover { transform: none; }
}

/* Studio identity and the homepage project spread. */
:root {
  --studio-paper: #f6f4ed;
  --studio-ink: #222820;
  --studio-accent: #ad4027;
}
.header .installment-bar { background: #25302a; }
.header .installment-bar-label { color: #f5c6ab; }
.header { border-bottom: 1px solid #d9dbd1; }
.hero, main .studio-intro {
  background: var(--studio-paper);
  color: var(--studio-ink);
  padding: clamp(40px, 5vw, 84px) 0;
}
.hero .hero-grid, .studio-intro .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 90px);
  align-items: center;
}
.hero .eyebrow, .studio-intro .eyebrow { color: #54594f; letter-spacing: .12em; }
.hero .eyebrow::before, .studio-intro .eyebrow::before {
  width: 25px; height: 2px; background: var(--studio-accent);
}
.hero .hero-copy h1, .studio-intro .hero-copy h1 {
  color: var(--studio-ink);
  font-size: clamp(46px, 5.2vw, 83px);
  line-height: 1.01;
  letter-spacing: -.067em;
  margin: 24px 0;
}
.hero .hero-copy h1 em, .studio-intro .hero-copy h1 em {
  color: var(--studio-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12em;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.065em;
}
.hero .hero-copy > p, .studio-intro .hero-copy > p { color: #53594f; line-height: 1.65; max-width: 54ch; }
.hero-copy .installment-hero-chip { padding: 5px 12px; border-radius: 50px; background: #eceadd; border-color: #d7d5c8; }
.hero .btn-coral, .studio-intro .btn-coral { background: var(--studio-ink); border-color: var(--studio-ink); color: #fff; border-radius: 5px; }
.hero-copy .hero-foot { border-top: 1px solid #cbcfc3; padding-top: 15px; margin-top: 25px; gap: 4px 14px; flex-wrap: wrap; color: #575d52; }
.hero-copy .hero-foot span + span::before { margin-inline-end: 12px; color: var(--studio-accent); }
.work-spread {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.04;
  width: 100%;
  background: #dce0d1;
  background-image: linear-gradient(130deg, #e4e6dc, #cdd3bf);
  overflow: hidden;
  border: 1px solid #c9cebf;
}
.work-spread::before {
  content: ""; position: absolute; inset: 5%; border: 1px solid #9ba58e;
}
.spread-print {
  position: absolute; display: flex; flex-direction: column;
  box-sizing: border-box; padding: 1.7%; background: #fffdf5;
  color: var(--studio-ink); text-decoration: none;
  box-shadow: 4px 14px 23px -10px #30342466;
  transition: transform .22s ease;
}
.spread-print img { display: block; width: 100%; height: auto; aspect-ratio: .89; object-fit: cover; }
.spread-print span { display: flex; align-items: center; justify-content: space-between; gap: 5px; padding: 5% 2% 2%; }
.spread-print b { font: 500 clamp(16px, 2.25vw, 36px)/1.05 Georgia, serif; letter-spacing: -.05em; }
.spread-print i { font: normal 17px/1 Arial, sans-serif; }
.spread-baycar { width: 61%; inset-inline-start: 7%; top: 9%; transform: rotate(-7deg); }
.spread-inci { width: 44%; inset-inline-end: 5%; bottom: 7%; transform: rotate(7deg); background: #28312b; color: #fffdf5; }
.spread-inci img { aspect-ratio: .83; }
.spread-print:hover, .spread-print:focus-visible { z-index: 2; transform: rotate(0) translateY(-3px); }
.spread-print:focus-visible { outline: 3px solid #ad4027; outline-offset: 3px; }
#referanslar { background: #f0f1e9; }
.project .project-visual, .demo-card, .concept-card { border-radius: 5px; }
.project .project-title h3 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.04em; }
#paketler { background: #fbfaf6; }
.packages-grid .package { border-radius: 5px; border-top: 3px solid #adb5a4; }
.packages-grid .package.featured { background: #f1f3e8; border-color: #8a977f; }
.packages-grid .package.featured .recommend { background: #334131; color: #fff; }
.packages-grid .package.discuss, .installment-spotlight, .footer { background: #263129; }
#work .work-thumb { width: 100%; aspect-ratio: 1.65; object-fit: cover; display: block; margin-bottom: 16px; }
@media (max-width: 800px) {
  .hero .hero-grid, .studio-intro .hero-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .hero .hero-copy h1, .studio-intro .hero-copy h1 { font-size: clamp(46px, 9vw, 70px); }
  .work-spread { max-width: 600px; margin-inline: auto; aspect-ratio: 1.43; }
  .spread-baycar { width: 47%; inset-inline-start: 9%; top: 9%; }
  .spread-inci { width: 35%; inset-inline-end: 10%; bottom: 8%; }
  .spread-print b { font-size: clamp(15px, 3.3vw, 26px); }
}
@media (max-width: 520px) {
  .hero, main .studio-intro { padding: 28px 0; }
  .hero .hero-copy h1, .studio-intro .hero-copy h1 { margin: 15px 0; }
  .hero .actions { align-items: center; gap: 10px 15px; }
  .hero .actions .btn, .hero .actions .text-link { width: auto; flex: 0 1 auto; }
  .hero .actions .btn { padding-inline: 14px; }
  .hero .hero-foot { margin-top: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .spread-print { transition: none; }
}
.portfolio-intro, .case-hero, .brief-hero { background: var(--studio-paper); }
.portfolio-intro .portfolio-title-row h1 em, .brief-hero h1 em {
  color: var(--studio-accent); font-family: Georgia, serif; font-style: italic; font-weight: 400;
}
.portfolio-intro .portfolio-index { border-color: #c6cebd; }
.portfolio-index a:hover { background: #e6eadf; }
.case-hero .case-shot { border-radius: 5px; }
.case-hero h1, .portfolio-intro h1, .brief-hero h1 { color: var(--studio-ink); letter-spacing: -.06em; }
#paketler .section-heading, #referanslar .section-heading { border-top: 1px solid #bbc1b3; padding-top: clamp(20px, 3vw, 38px); }
#referanslar .circle-arrow { color: #344132; border-color: #a8b4a1; }
