/* Shared styles for the inner pages. index.html keeps its own inline copy of the same tokens. */
:root {
  --bg: #f5f2ed;
  --ink: #111111;
  --grey: #6b6b6b;
  --hair: #e2ded7;
  --margin: 48px;
  --serif: "Cormorant Garamond", Georgia, serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
body { background: var(--bg); color: var(--ink); font-family: Inter, system-ui, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; border-radius: 0; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

h1, h2, h3, .wordmark { font-family: var(--serif); font-weight: 300; letter-spacing: -0.01em; }
h1 { font-size: clamp(40px, 4.4vw, 64px); line-height: 1.04; text-wrap: balance; }
h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.06; }
h3 { font-size: 26px; line-height: 1.15; }
.prose p { max-width: 440px; }
.prose p + p { margin-top: 20px; }
.link { text-decoration: underline; text-underline-offset: 3px; transition: color 400ms ease; }
.link:hover { color: var(--grey); }
.muted { color: var(--grey); }

/* nav */
nav { height: 64px; padding: 0 var(--margin); display: flex; align-items: center; justify-content: space-between; }
.wordmark { font-size: 24px; line-height: 1; }
nav ul { list-style: none; display: flex; gap: 32px; font-size: 14px; }
nav ul a { transition: opacity 400ms ease; }
nav ul a:hover { opacity: 0.7; }
nav ul a[aria-current] { color: var(--grey); }
.menu-btn { display: none; }

/* page sections */
.page-head { padding: 96px var(--margin) 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.page-head h1 { grid-column: 1 / span 6; max-width: 13em; }
.page-head .prose { grid-column: 8 / -1; }
.block { padding: 160px var(--margin) 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.block > h2 { grid-column: 1 / span 5; max-width: 10em; }
.block > .body { grid-column: 7 / -1; }
.specs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; row-gap: 48px; }
.specs p { margin-top: 12px; max-width: 380px; }
.cta { margin-top: 48px; }

.btn { display: inline-block; background: var(--ink); color: var(--bg); border: 0; padding: 16px 40px; font-size: 13px; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: opacity 400ms ease; }
.btn:hover { opacity: 0.8; }

/* works */
.frame { position: relative; aspect-ratio: var(--r); overflow: hidden; background: var(--hair); }
.frame .layer { position: absolute; max-width: none; height: auto; width: var(--w); left: var(--l); top: var(--t); }
.sold { position: absolute; top: 20px; left: 20px; z-index: 2; padding: 6px 12px; background: var(--bg); color: var(--ink); font-size: 12px; line-height: 1; letter-spacing: 0.14em; text-transform: uppercase; }
.frame .tag { position: absolute; right: 14px; bottom: 12px; z-index: 2; font-size: 11px; line-height: 1; letter-spacing: 0.04em; color: rgba(255,255,255,0.78); text-shadow: 0 0 8px rgba(0,0,0,0.45); pointer-events: none; }
.plate { margin-top: 12px; font-size: 12px; line-height: 1.5; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); }
.plate span { display: inline-block; }
.work-page { padding: 64px var(--margin) 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.work-page figure { grid-column: 1 / span 6; }
.work-page figcaption { margin-top: 16px; font-size: 12px; line-height: 1.5; color: var(--grey); }
.work-page .text { grid-column: 8 / -1; }
.work-page .desc { margin-top: 40px; }
.work-page .after { margin-top: 40px; max-width: 440px; }
.more-works { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); column-gap: 24px; row-gap: 48px; align-items: start; }
.more-works a { display: block; transition: opacity 400ms ease; }
.more-works a:hover { opacity: 0.85; }
.more-works .title { margin-top: 16px; font-family: var(--serif); font-weight: 300; font-size: 24px; line-height: 1.1; }

/* about */
.portrait { aspect-ratio: 4 / 5; position: relative; overflow: hidden; background: var(--hair); }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 52% 62%; transform: scale(1.5); transform-origin: 52% 56%; }

/* commission form (same as the home page) */
.commission { padding: 160px var(--margin) 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.commission .lead { grid-column: 1 / span 5; }
.commission h3 { margin-top: 80px; font-size: 30px; line-height: 1.1; }
.steps { list-style: none; max-width: 320px; margin-top: 48px; display: grid; row-gap: 24px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; }
.steps .n { font-family: var(--serif); font-variant-numeric: lining-nums; font-weight: 300; font-size: 28px; line-height: 1; color: var(--grey); }
form { grid-column: 7 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; row-gap: 32px; align-content: start; }
.full { grid-column: 1 / -1; }
label { display: block; font-size: 12px; line-height: 1.4; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }
input, select, textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 0 12px; background: transparent; border: 0; border-bottom: 1px solid var(--grey); font-size: 16px; line-height: 1.4; letter-spacing: 0; text-transform: none; color: var(--ink); transition: border-color 400ms ease; }
::placeholder { font-size: 16px; color: var(--grey); opacity: 0.6; }
select:invalid { color: rgba(107,107,107,0.6); }
select option { color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 0; border-bottom-color: var(--ink); }
select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none' stroke='%236b6b6b' stroke-width='1'%3E%3Cpath d='M5 0v10M0 5h10'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; }
textarea { resize: none; height: 80px; }
.submit { padding-top: 8px; }
.submit .reply { margin-top: 16px; line-height: 1.5; color: var(--grey); }
.submit .fine, .submit .req { margin-top: 4px; font-size: 12px; line-height: 1.5; color: var(--grey); }
.submit .msg { margin-top: 16px; line-height: 1.5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* faq */
.faq .items { display: grid; row-gap: 28px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; font-family: var(--serif); font-weight: 300; font-size: 26px; line-height: 1.2; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--grey); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 14px; max-width: 520px; }
.faq details p + p { margin-top: 12px; }
.faq p a { text-decoration: underline; text-underline-offset: 3px; }

footer { margin-top: 160px; padding: 0 var(--margin) 48px; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 32px; font-size: 12px; }
footer a { transition: color 400ms ease; }
footer a:hover { color: var(--grey); }

@media (max-width: 1000px) {
  .page-head, .block, .commission, .work-page { display: block; }
  .page-head .prose, .block > .body, .work-page .text { margin-top: 40px; }
  .work-page figure { max-width: 560px; }
  form { margin-top: 64px; }
}
@media (max-width: 700px) {
  :root { --margin: 20px; }
  .wordmark { font-size: 20px; }
  .menu-btn { display: block; position: relative; z-index: 6; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; color: var(--ink); cursor: pointer; }
  .menu-btn span { position: absolute; left: 10px; width: 24px; height: 1px; background: currentColor; transition: transform 400ms ease, top 400ms ease; }
  .menu-btn span:first-child { top: 18px; }
  .menu-btn span:last-child { top: 25px; }
  .menu-open .menu-btn { color: var(--bg); }
  .menu-open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
  .menu-open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }
  .menu-open .wordmark { position: relative; z-index: 6; color: var(--bg); }
  nav ul { position: fixed; inset: 0; z-index: 5; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; padding: 0 var(--margin); background: #2f2822; color: var(--bg); opacity: 0; visibility: hidden; transition: opacity 400ms ease, visibility 0s linear 400ms; }
  nav ul a { font-family: var(--serif); font-weight: 300; font-size: 40px; line-height: 1.1; letter-spacing: -0.01em; }
  nav ul a[aria-current] { color: rgba(245,242,237,0.6); }
  .menu-open nav ul { opacity: 1; visibility: visible; transition: opacity 400ms ease; }
  .menu-open { overflow: hidden; }
  .page-head { padding-top: 56px; }
  .block, .commission { padding-top: 96px; }
  .specs { grid-template-columns: 1fr; row-gap: 32px; }
  .commission h3 { margin-top: 40px; }
  form { grid-template-columns: 1fr; margin-top: 48px; }
  .submit .btn { width: 100%; text-align: center; }
  .faq summary { font-size: 22px; }
  .work-page { padding-top: 32px; }
  .more-works { grid-template-columns: 1fr 1fr; row-gap: 32px; column-gap: 12px; }
  .more-works .title { font-size: 20px; }
  footer { margin-top: 120px; padding-bottom: 40px; flex-direction: column; align-items: flex-start; gap: 20px; }
  footer ul { gap: 24px; }
}
.work-page figure .studio { margin-top: 48px; width: 100%; height: auto; }
