/* The services gallery uses the same display type and image language as the portfolio. */
.service-studio {
  --studio-field: #19201e;
  --studio-ivory: #f8f6ed;
  --studio-muted: #c6ccc2;
  --studio-champagne: #e6cba7;
  --studio-rule: #414a43;
  --studio-accent: #e97358;
  background: var(--studio-field);
  color: var(--studio-ivory);
  scroll-margin-top: 0;
}
.studio-inner {
  padding-block: clamp(3.25rem, 5.8vw, 7.25rem) clamp(3.25rem, 5.1vw, 6.5rem);
}
.studio-header {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr);
  align-items: end;
  column-gap: clamp(1.6rem, 3.4vw, 4.25rem);
  margin-bottom: clamp(1.65rem, 2.65vw, 3.1rem);
}
.studio-kicker {
  color: #e1e3d9;
  margin-bottom: .8rem;
}
.studio-kicker::before {
  width: 2.2rem;
  height: 3px;
  background: var(--studio-accent);
}
.studio-heading h2 {
  color: var(--studio-ivory);
  font-size: clamp(3.7rem, 6.6vw, 7.8rem);
  line-height: .99;
  letter-spacing: -.075em;
  font-weight: 500;
  text-wrap: balance;
}
.studio-heading h2 em {
  color: var(--studio-champagne);
  font: italic 400 1.04em/.99 var(--serif);
  letter-spacing: -.072em;
}
.studio-intro {
  margin: 0 0 .22rem;
  max-width: 35ch;
  color: var(--studio-muted);
  font-size: clamp(1rem, 1.22vw, 1.28rem);
  line-height: 1.55;
  text-wrap: pretty;
}
.studio-board {
  display: grid;
  grid-template-areas: "panel selector";
  grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 3.4vw, 4.25rem);
  align-items: start;
}
.studio-selector {
  grid-area: selector;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.studio-tab {
  position: relative;
  display: grid;
  grid-template-columns: clamp(3.55rem, 5.1vw, 6rem) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(.65rem, 1.15vw, 1.35rem);
  width: 100%;
  min-height: clamp(4.95rem, 6.55vw, 7.25rem);
  padding: .65rem clamp(.65rem, .95vw, 1.15rem);
  background: transparent;
  color: var(--studio-ivory);
  text-align: start;
  border-bottom: 1px solid var(--studio-rule);
  transition: background-color .22s ease, color .22s ease;
}
.studio-tab:first-child { border-top: 1px solid var(--studio-rule); }
.studio-tab-thumb {
  display: block;
  height: clamp(3rem, 4.25vw, 4.85rem);
  overflow: hidden;
  background: #39413a;
}
.studio-tab-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.studio-tab-label {
  font-size: clamp(1.125rem, 1.55vw, 1.88rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.04em;
  text-wrap: pretty;
}
.studio-indicator {
  display: grid;
  place-items: center;
  width: clamp(1.45rem, 1.85vw, 2.15rem);
  aspect-ratio: 1;
  color: var(--studio-muted);
}
.studio-indicator::before,
.studio-indicator::after {
  content: "";
  grid-area: 1/1;
  width: 11px;
  height: 1.5px;
  background: currentColor;
}
.studio-indicator::after { transform: rotate(90deg); }
.studio-tab[aria-selected="true"] {
  z-index: 1;
  background: #f1e7d3;
  color: #222824;
  border-color: var(--studio-ivory);
}
.studio-tab[aria-selected="true"]::before {
  content: "";
  position: absolute;
  inset: -1px auto -1px 0;
  width: 3px;
  background: #b64637;
}
.studio-tab[aria-selected="true"] .studio-indicator::before {
  width: 8px;
  height: 8px;
  background: #aa382d;
  border-radius: 50%;
}
.studio-tab[aria-selected="true"] .studio-indicator::after { display: none; }
.studio-panel { grid-area: panel; min-width: 0; }
.studio-figure { position: relative; isolation: isolate; margin: 0; }
.studio-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1.77;
  background: #303933 center/cover no-repeat;
}
.studio-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.studio-frame::after {
  content: "";
  position: absolute;
  inset: 20% 0 0;
  background: linear-gradient(0deg, rgba(14,20,17,.88) 0%, rgba(15,18,16,.49) 25%, rgba(20,24,22,0) 60%);
  pointer-events: none;
}
.studio-credit {
  position: absolute;
  z-index: 1;
  inset: auto clamp(1rem, 1.75vw, 2.25rem) clamp(.9rem, 1.5vw, 1.75rem);
  display: grid;
  gap: 2px;
  justify-items: start;
  color: #fff;
  text-shadow: 0 1px 4px #1118;
}
.studio-venue {
  font-size: clamp(1.25rem, 2.15vw, 2.55rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -.05em;
}
.studio-photo-note {
  font-size: .85rem;
  line-height: 1.35;
  color: #faf9f1;
}
.studio-panel-copy { padding-top: clamp(1.05rem, 1.65vw, 1.9rem); }
.studio-title {
  color: var(--studio-ivory);
  font-weight: 500;
  font-size: clamp(1.75rem, 2.75vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -.06em;
  text-wrap: balance;
}
.studio-description {
  margin-top: .6rem;
  color: #d1d5ca;
  font-size: clamp(1rem, 1.1vw, 1.16rem);
  line-height: 1.56;
  max-width: 70ch;
  text-wrap: pretty;
}
.studio-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem clamp(.95rem, 1.5vw, 1.6rem);
  margin-top: 1.05rem;
}
.studio-enquire, .studio-wa, .studio-case {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.25;
  transition: background-color .2s, color .2s;
}
.studio-enquire {
  padding: .75rem 1.05rem;
  border-radius: 3px;
  background: var(--studio-ivory);
  color: #202622;
}
.studio-wa, .studio-case {
  color: var(--studio-ivory);
  text-decoration: underline;
  text-decoration-color: #8e9b8c;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.service-studio :is(button, a, [tabindex]):focus-visible {
  outline: 3px solid #f7be87;
  outline-offset: 3px;
  z-index: 2;
}
@media (hover: hover) {
  .studio-tab[aria-selected="false"]:hover { background: #29332d; }
  .studio-tab:hover .studio-tab-thumb img { transform: scale(1.055); }
  .studio-enquire:hover { background: #e7d5b9; }
  .studio-wa:hover, .studio-case:hover { color: var(--studio-champagne); text-decoration-color: currentColor; }
}
@media (min-width: 761px) and (max-width: 980px) {
  .studio-header, .studio-board { grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr); gap: 1.35rem; }
  .studio-frame { aspect-ratio: 1.49; }
  .studio-tab { padding-inline: .6rem; }
}
@media (max-width: 760px) {
  .studio-header { grid-template-columns: minmax(0, 1fr); gap: .85rem; margin-bottom: 1.35rem; }
  .studio-heading h2 { font-size: clamp(3.1rem, 9.6vw, 4.7rem); }
  .studio-intro { max-width: 46ch; line-height: 1.45; }
  .studio-board { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; }
  .studio-selector { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
  .studio-tab, .studio-tab:first-child {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 0;
    padding: 0;
    min-height: 0;
    background: #2b3530;
    border: 0;
  }
  .studio-tab-thumb { width: 100%; height: clamp(2rem, 7.5vw, 3.4rem); }
  .studio-tab-label {
    padding: .48rem .65rem .58rem;
    font-size: clamp(.92rem, 2.6vw, 1.12rem);
    line-height: 1.19;
    letter-spacing: -.019em;
  }
  .studio-tab .studio-indicator { display: none; }
  .studio-tab[aria-selected="true"] { background: #f1e7d3; }
  .studio-tab[aria-selected="true"]::before { inset: 0 auto 0 0; }
  .studio-tab:last-child {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 44px;
  }
  .studio-tab:last-child .studio-tab-thumb { width: clamp(3rem, 13vw, 6rem); align-self: stretch; height: auto; position: relative; flex: none; }
  .studio-tab:last-child .studio-tab-thumb img { position: absolute; inset: 0; }
  .studio-tab:last-child .studio-indicator { display: grid; margin-inline: auto .65rem; }
  .studio-frame { aspect-ratio: 1.67; }
  .studio-venue { font-size: 1.35rem; }
  .studio-credit { bottom: .8rem; }
  .studio-photo-note { font-size: .8rem; }
  .studio-description { line-height: 1.53; }
}
@media (prefers-reduced-motion: reduce) {
  .service-studio *, .service-studio *::before, .service-studio *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Long Turkish service names and image credits must fit a narrow column. */
.studio-heading, .studio-tab-label { min-width: 0; }
.studio-title, .studio-tab-label, .studio-credit { overflow-wrap: anywhere; }
.studio-photo-note { font-size: .875rem; }
@media (max-width: 359px) {
  .studio-heading h2 { font-size: 2.8rem; }
  .studio-actions { gap: .4rem 1rem; }
  .studio-enquire { max-width: 100%; }
}
