/* Portfolio feature for the BOCW blog. */
.identity-studio {
  --studio-rule: #cccac4;
  --studio-muted: #54544e;
  --studio-ink: #1e1e1b;
  --studio-dark-surface: #20211f;
  color: var(--studio-ink);
}
.identity-studio * { min-width: 0; }
.identity-studio [id] { scroll-margin-top: 7rem; }
.identity-studio h1, .identity-studio h2, .identity-studio p,
.identity-studio dl, .identity-studio dd, .identity-studio ul { margin: 0; }
.identity-studio h2 {
  font-size: clamp(2rem, 3.55vw, 3.75rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.identity-studio p, .identity-studio dd {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--studio-muted);
}
.studio-hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 6rem);
  padding: .7rem 0 clamp(2.25rem, 4.3vw, 4.6rem);
}
.studio-opening h1 {
  font-size: clamp(3.2rem, 6.05vw, 6.45rem);
  line-height: .98;
  font-weight: 540;
  letter-spacing: -.067em;
}
.studio-opening h1 span, .studio-opening h1 em { display: block; }
.studio-opening h1 em {
  font-family: Georgia, 'Times New Roman', serif;
  color: #555650;
  font-weight: 400;
  letter-spacing: -.066em;
}
.identity-studio .studio-lead {
  padding-top: clamp(1.3rem, 2vw, 2rem);
  max-width: 35ch;
  font-size: clamp(1.0625rem, 1.45vw, 1.38rem);
  line-height: 1.45;
  letter-spacing: -.018em;
}
.studio-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.75rem; margin-top: 1.75rem; }
.studio-button {
  background: var(--studio-ink);
  color: #fff;
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.6rem;
  border: 1px solid var(--studio-ink);
  border-radius: 3px;
  font: inherit;
  font-weight: 600;
  line-height: 1.3;
}
.studio-button:hover { color: #fff; background: #464641; }
.studio-button:disabled { opacity: .6; cursor: default; }
.studio-text-link {
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: .35em;
  text-decoration-thickness: 1px;
  line-height: 1.5;
}
.studio-project-link { display: block; }
.studio-artboard {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2,minmax(0,1fr));
  gap: 5px;
  aspect-ratio: 1.5;
  overflow: hidden;
}
.studio-artboard img { width: 100%; height: 100%; display: block; object-fit: cover; }
.studio-main-art { grid-row: span 2; }
.studio-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .25rem 1rem;
  padding-top: .8rem;
}
.studio-caption strong { font-size: 1.22rem; font-weight: 600; letter-spacing: -.035em; }
.studio-caption span { font-size: .875rem; line-height: 1.45; color: var(--studio-muted); }
.studio-contents {
  display: flex;
  flex-flow: row wrap;
  gap: .35rem clamp(1.1rem, 3vw, 3rem);
  border-block: 1px solid var(--studio-rule);
  padding: .6rem 0;
}
.studio-contents a {
  display: inline-flex;
  align-items: center;
  min-height: 2.65rem;
  color: var(--studio-muted);
  font-size: .95rem;
}
.studio-contents a:hover, .studio-example-grid a:hover strong, .studio-project-link:hover strong { text-decoration: underline; text-underline-offset: .22em; }
.studio-work { padding-block: clamp(3rem, 6vw, 6rem); }
.studio-heading-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.studio-heading-row a { flex-shrink: 0; }
.studio-example-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1rem, 2vw, 2.2rem); }
.studio-scope, .studio-practical, .studio-quote {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  gap: clamp(2.25rem, 8vw, 9rem);
}
.studio-scope, .studio-practical, .studio-process { border-top: 1px solid var(--studio-rule); padding-block: clamp(2.75rem, 5vw, 5.1rem); }
.studio-section-intro p, .studio-practical section > p { margin-top: 1.3rem; max-width: 45ch; }
.studio-scope-list > div { padding-block: 1.4rem; border-top: 1px solid var(--studio-rule); }
.studio-scope-list > div:first-child { border-top: 0; padding-top: .15rem; }
.identity-studio dt { font-size: clamp(1.27rem, 1.65vw, 1.65rem); font-weight: 550; letter-spacing: -.038em; line-height: 1.2; }
.identity-studio dd { margin-top: .55rem; max-width: 56ch; }
[data-locale="tr"] :is(.studio-process, .studio-why) {
  --studio-ink: #f7f7f5;
  --studio-muted: #e0e2e1;
  color: var(--studio-ink);
  background: var(--studio-dark-surface);
  border-top-color: var(--studio-dark-surface);
  box-shadow: 0 0 0 100vmax var(--studio-dark-surface);
  clip-path: inset(0 -100vmax);
}
.studio-process dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1.5rem, 3vw, 4rem); margin-top: 2.15rem; }
.studio-process dl > div { border-top: 2px solid var(--studio-ink); padding-top: 1.15rem; }
.studio-practical h2 { font-size: clamp(1.8rem,2.7vw,2.9rem); }
.studio-files { list-style: none; padding: .85rem 0 0; }
.studio-files li { padding: .75rem 0; border-bottom: 1px solid var(--studio-rule); font-size: 1rem; line-height: 1.45; }
.studio-faq { margin-top: 1.25rem; border-top: 1px solid var(--studio-rule); }
.studio-faq details { border-bottom: 1px solid var(--studio-rule); }
.studio-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  list-style: none; cursor: pointer; padding: 1.15rem 0;
  font-size: 1.1rem; line-height: 1.35; font-weight: 550;
}
.studio-faq summary::-webkit-details-marker { display: none; }
.studio-faq summary::after { content: '+'; font-size: 1.5rem; font-weight: 400; }
.studio-faq details[open] summary::after { content: '−'; }
.studio-faq p { padding-bottom: 1.2rem; }
.studio-reading { display: inline-block; margin-top: 1.25rem; }
.studio-quote {
  background: var(--studio-dark-surface); color: #f9f8f4; padding: clamp(1.45rem, 4.5vw, 4.5rem);
  margin: .75rem 0 1.25rem; gap: clamp(2rem,5vw,6rem); border-radius: 3px;
}
.studio-quote h2 { max-width: 10ch; }
.studio-quote p { color: #d7d7d1; }
.studio-quote h2 + p { max-width: 34ch; margin-top: 1rem; }
.studio-contact-options { display: grid; justify-items: start; gap: .8rem; margin-top: 2rem; }
.studio-contact-options a:first-child { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.studio-quote a:hover { color: white; text-decoration: underline; }
.studio-form, .studio-form label { display: grid; }
.studio-form { gap: 1rem; align-content: start; }
.studio-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.studio-form label { gap: .45rem; font-size: .95rem; line-height: 1.4; color: #fff; }
.studio-form input, .studio-form select, .studio-form textarea, .studio-status textarea {
  font: inherit; font-size: 1rem; line-height: 1.45; width: 100%; color: #1c1c19; background: #f9f8f4;
  border: 1px solid #d5d4ce; border-radius: 2px; padding: .7rem .8rem; min-height: 2.85rem;
}
.studio-form textarea { resize: vertical; }
.studio-form select {
  appearance: none; padding-right: 2.25rem;
  background-image: linear-gradient(45deg,transparent 50%,#41423d 50%),linear-gradient(135deg,#41423d 50%,transparent 50%);
  background-position: calc(100% - 1.05rem) 52%,calc(100% - .77rem) 52%;
  background-size: .3rem .3rem; background-repeat: no-repeat;
}
.studio-form textarea::placeholder { color: #686862; }
.identity-studio .studio-form-help, .studio-status { font-size: .9rem; line-height: 1.5; }
.studio-form .studio-button { justify-self: start; color: #1e1e1b; border-color: #fff; background: #fff; }
.studio-form .studio-button:hover { background: #dddcd6; }
.studio-status:empty { display: none; }
.studio-status textarea { display: block; resize: vertical; margin: .65rem 0; }
.studio-status a { text-decoration: underline; }
.identity-studio :focus-visible { outline: 2px solid #2659f2; outline-offset: 4px; }
.studio-quote :focus-visible { outline-color: #a9c5ff; }
@media (max-width: 960px) {
  .studio-hero { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
  .studio-scope, .studio-practical { gap: 2.75rem; }
  .studio-field-row { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .studio-example-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .studio-hero, .studio-scope, .studio-practical, .studio-quote { grid-template-columns: 1fr; }
  .studio-hero { padding-top: 0; gap: 1.75rem; }
  .studio-opening h1 { font-size: clamp(3.25rem, 9.5vw, 4.8rem); }
  .studio-opening h1 span:nth-child(2), .studio-opening h1 em { display: inline; }
  .studio-actions { margin-top: 1.25rem; }
  .studio-contents { gap: .05rem 1.15rem; }
  .studio-contents a { min-height: 2.3rem; }
  .studio-scope, .studio-practical, .studio-quote { gap: 2.25rem; }
  .studio-process dl { grid-template-columns: 1fr; }
  .studio-contact-options { margin-top: 1.15rem; }
  .studio-quote h2 { max-width: none; }
}
@media (max-width: 660px) {
  .studio-hero { padding-bottom: 1.5rem; }
  .studio-heading-row { gap: .75rem; flex-wrap: wrap; }
  .studio-work { padding-block: 2.6rem; }
  .studio-form .studio-button { width: 100%; }
}
@media (max-width: 600px) {
  .studio-example-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.studio-why {
  border-top: 1px solid var(--studio-rule);
  padding-block: clamp(2.75rem, 5vw, 5.1rem);
}
.studio-why dl {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 4rem);
}
.studio-why dl > div { border-top: 2px solid var(--studio-ink); padding-top: 1rem; }
@media (max-width: 760px) {
  .studio-why dl { grid-template-columns: 1fr; }
}
