/* Studio palette and type */
:root {
  --ink: #191c19;
  --chalk: #eceae2;
  --sage: #c8d2af;
  --muted: #b3b7aa;
  --rule: #464b42;
  --space: clamp(20px, 4.2vw, 88px);
  --serif: "Iowan Old Style", Baskerville, "Palatino Linotype", Georgia, serif;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0; background: var(--ink); color: var(--chalk); font: 16px/1.55 "Segoe UI", Arial, sans-serif }
a { color: inherit; text-decoration: none }
button, input, textarea { font: inherit; color: inherit }
button { background: transparent; border: 0; cursor: pointer }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #9cba6e; outline-offset: 3px }
h1, h2, h3, p, figure { margin: 0 }
h1, h2, h3 { font-weight: 400; letter-spacing: -.06em; line-height: 1.04 }
h2 { font-size: clamp(43px, 5vw, 88px) }
em { font: italic 1.02em/.98 var(--serif); letter-spacing: -.055em }
header, nav, .brand, .sectionHead, .cardCaption, figcaption, footer, .galleryHead, .galleryFoot, .controls { display: flex; align-items: center; justify-content: space-between }
header { padding: 15px var(--space); gap: 24px; border-bottom: 1px solid var(--rule) }
.brand { gap: 10px; font-size: 15px; font-weight: 600; line-height: .99; letter-spacing: -.055em }
.brandMark { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid #abc093; border-radius: 50% 50% 0 50%; color: var(--sage); font: italic 29px var(--serif) }
nav { gap: clamp(20px, 3vw, 64px) }
nav a, .contactLink, .coverLink, .lineBtn, .primary { font-size: 14px }
nav a:hover, .lineBtn:hover { text-decoration: underline; text-underline-offset: 5px }
.contactLink, .primary { background: var(--sage); color: #1c2419; border-radius: 50px; padding: 10px 19px }
.contactLink span, .primary b { margin-left: 12px }
.eyebrow, .coverPicker small, .coverCaption small, .card small, #category { display: block; font: 500 10px/1.5 "Courier New", monospace; text-transform: uppercase; letter-spacing: .16em }
.cover { display: grid; grid-template-columns: 38% 62%; min-height: min(720px, 76svh); border-bottom: 1px solid var(--rule) }
.intro { padding: clamp(42px, 5vw, 100px) 2vw 26px var(--space); display: flex; flex-direction: column; align-items: start; background: radial-gradient(ellipse at 0 75%, #333b2e, transparent 80%) }
.eyebrow { color: var(--muted) }
.intro h1 { margin-top: clamp(36px, 4vw, 80px); font-size: clamp(54px, 5.55vw, 120px); letter-spacing: -.07em }
.intro em { color: var(--sage) }
.intro p { margin: 22px 0 24px; max-width: 32ch; color: #c6c9c0; font-size: clamp(14px, 1.12vw, 20px) }
.coverLink { display: flex; gap: 22px; align-items: center; border-bottom: 1px solid #8d9883; padding-bottom: 5px }
.coverPicker { margin-top: auto; padding-top: 40px }
.coverPicker small { color: var(--muted); margin-bottom: 9px }
#featuredTabs, #thumbs { display: flex; gap: 7px }
#featuredTabs button, #thumbs button { padding: 2px; border: 1px solid transparent }
#featuredTabs button[aria-pressed=true], #thumbs button[aria-pressed=true] { border-color: var(--sage) }
#featuredTabs img { width: clamp(48px, 4.5vw, 90px); aspect-ratio: 1.65; object-fit: cover; display: block }
.coverView { position: relative; min-width: 0 }
#featureLink { position: absolute; inset: 0; overflow: hidden }
#heroPhoto { width: 100%; height: 100%; display: block; object-fit: cover }
.coverCaption { position: absolute; bottom: 22px; right: 22px; display: flex; align-items: center; gap: 28px; padding: 13px 15px 13px 20px; background: #181c19e8; backdrop-filter: blur(16px); border: 1px solid #fff4 }
.coverCaption small { color: var(--sage) }
.coverCaption strong { font: 500 20px/1.4 "Segoe UI", sans-serif; letter-spacing: -.04em }
.coverCaption b, .cardCaption>span { border: 1px solid #8d9587; border-radius: 50%; width: 33px; height: 33px; display: grid; place-items: center; font-weight: 400 }
.section { padding: clamp(58px, 7vw, 135px) var(--space) }
.section .eyebrow { margin-bottom: 14px }
.sectionHead { align-items: end; margin-bottom: 32px; gap: 16px }
.viewModes { display: flex; padding: 3px; border: 1px solid var(--rule); border-radius: 24px }
.viewModes button { padding: 6px 14px; border-radius: 19px; font-size: 13px }
.viewModes button[aria-pressed=true] { background: var(--chalk); color: var(--ink) }
.grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px var(--space); align-items: start }
.card { min-width: 0; display: block }
.crop { overflow: hidden }
.crop img { display: block; width: 100%; aspect-ratio: 1.66; object-fit: cover; transition: transform .5s ease }
.card:nth-child(even) .crop img { aspect-ratio: 1.44 }
.card:hover .crop img { transform: scale(1.025) }
.cardCaption { padding: 13px 0; gap: 14px }
.cardCaption small { color: var(--muted); font-size: 10px }
.cardCaption h3 { font-size: clamp(23px, 2.4vw, 44px); margin-top: 5px }
.cardCaption>span { flex: none }
.indexView { display: block }
.indexView .card { display: flex; gap: 20px; align-items: center; border-top: 1px solid var(--rule); padding: 9px 0 }
.indexView .crop img { width: 96px; height: 62px }
.indexView .cardCaption { flex: 1 }
.studio, .contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: center }
.studio { background: #dddcd0; color: #252922 }
.studio p:first-child { margin-top: 0 }
.studio .eyebrow { color: #58624f }
.studio p, details p { max-width: 52ch; margin-top: 18px }
#servicii { display: grid; grid-template-columns: 35% 1fr; column-gap: 6vw; align-content: start }
#servicii .eyebrow { grid-column: 1; grid-row: 1 }
#servicii h2 { grid-column: 1; grid-row: 2; align-self: start }
#serviceList { grid-column: 2; grid-row: 1 / 4 }
details { border-top: 1px solid var(--rule); padding: 19px 0 }
details:last-child { border-bottom: 1px solid var(--rule) }
summary { display: flex; gap: 13px; align-items: center; list-style: none; cursor: pointer; font-size: clamp(18px,1.8vw,32px); letter-spacing: -.035em }
summary::-webkit-details-marker { display: none }
summary small { margin-left: auto; font: 12px "Segoe UI",sans-serif; white-space: nowrap; color: var(--muted) }
summary:after { content: "+"; color: var(--sage) }
details[open] summary:after { content: "−" }
details p { color: var(--muted); margin-bottom: 12px }
.lineBtn { display: inline-block; border-bottom: 1px solid currentColor; padding: 4px 0 }
.contact { background: #30382e; align-items: start }
.contact .lineBtn { margin-top: 25px }
form { display: grid; gap: 15px }
label, form small { font-size: 13px; color: #d3d8cc }
input, textarea { display: block; width: 100%; background: transparent; border: 0; border-bottom: 1px solid #778170; padding: 7px 0; border-radius: 0 }
textarea { resize: vertical }
.primary { justify-self: start }
footer { padding: 24px var(--space); color: var(--muted); font-size: 12px }
dialog { width: min(1160px, 96vw); max-height: 94svh; background: var(--ink); color: var(--chalk); border: 1px solid var(--rule); padding: 18px }
dialog::backdrop { background: #0a0d09ed }
body:has(dialog[open]) { overflow: hidden }
.galleryHead h2 { font-size: 30px; margin: 3px 0 12px }
#galleryPhoto { display: block; width: 100%; height: 53svh; object-fit: contain; background: #121511 }
#thumbs { margin: 9px 0; padding: 2px; overflow-x: auto }
#thumbs img { display: block; width: 52px; height: 34px; object-fit: cover }
.galleryFoot { gap: 15px; font-size: 14px }
.controls { gap: 10px; white-space: nowrap }
.controls button, #closeGallery { border: 1px solid var(--rule); border-radius: 50%; width: 37px; height: 37px }
@media(max-width:760px) {
  header { flex-wrap: wrap; gap: 12px; padding-top: 12px; padding-bottom: 10px }
  nav { order: 3; width: 100%; border-top: 1px solid var(--rule); padding-top: 9px; justify-content: start; gap: 23px }
  nav a, .contactLink { font-size: 13px }
  .cover { grid-template-columns: 1fr }
  .intro { display: grid; grid-template-columns: 1fr auto; align-items: start; padding: 27px var(--space) }
  .intro .eyebrow, .intro h1, .intro p { grid-column: 1/-1 }
  .intro h1 { font-size: clamp(53px,11vw,78px); margin-top: 12px }
  .intro h1 em { display: inline-block }
  .intro p { max-width: 43ch; margin: 14px 0 20px }
  .coverPicker { padding: 0; margin: 0; align-self: center }
  .coverLink { align-self: center; justify-self: start; gap: 8px; font-size: 13px }
  .coverPicker small { display: none }
  #featuredTabs { gap: 2px }
  #featuredTabs img { width: 38px; height: 28px }
  .coverView { min-height: 330px; height: 45svh }
  .coverCaption { right: 12px; bottom: 12px; padding: 8px 12px; gap: 14px }
  .sectionHead { align-items: start; flex-direction: column }
  .grid, .studio, .contact { grid-template-columns: 1fr; gap: 26px }
  #servicii { display: block }
  #serviceList { margin-top: 28px }
  .galleryFoot { flex-wrap: wrap }
  .galleryFoot .controls { margin-left: auto }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto }
  .crop img { transition: none }
}

.primary:disabled { opacity: .65; cursor: default }

.headerActions { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 28px) }
.languages { display: flex; align-items: center; font: 12px/1.2 Arial, sans-serif; letter-spacing: .04em }
.languages a { padding: 9px 4px; color: var(--muted) }
.languages a[aria-current] { color: var(--chalk); text-decoration: underline; text-underline-offset: 4px }
.languages span { color: var(--muted) }
@media (max-width: 400px) { .headerActions { gap: 5px } .contactLink { padding: 8px 10px } }
