/* Taking Shape Studios house style (takingshapestudios.com styles.css): the whole page on the logo's brown taupe,
   cream text, Jost Light, uppercase letter-spaced labels, square outlined buttons, a cream header bar for the logo.
   Shared by the layout page and the 360 walkthrough. */
:root {
  --brand: #776c66; --on: #f7f4f0; --on-soft: rgba(247, 244, 240, .82); --on-faint: rgba(247, 244, 240, .6);
  --rule: rgba(247, 244, 240, .26); --paper: #f2eee9; --ink: #2b2725; --night: #221f1d;
  --gutter: clamp(16px, 4vw, 48px); --max: 1280px;
}
/* the studio's site is one colour whatever the device's light/dark setting: the taupe stays exact */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --brand: #776c66; }
}
:root[data-theme="dark"] { --brand: #776c66; }

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Jost", system-ui, sans-serif; font-weight: 300; line-height: 1.6; background: var(--brand);
  color: var(--on); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
button:focus-visible, a:focus-visible { outline: 1px solid var(--on); outline-offset: 3px; }

/* header: cream bar, logo and name, the two pages as nav */
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px var(--gutter); background: rgba(242, 238, 233, .98); color: var(--ink); box-shadow: 0 1px 0 rgba(43, 39, 37, .14); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; text-transform: uppercase;
  letter-spacing: .16em; font-size: .78rem; font-weight: 400; white-space: nowrap; }
.brand img { width: 24px; height: auto; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 400;
  padding: 8px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.nav a:hover { opacity: .6; }
.nav a[aria-current="page"] { border-bottom-color: var(--ink); }
@media (max-width: 560px) { .brand span { display: none; } .nav { gap: 16px; } }

/* intro */
.intro { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(20px, 3vw, 32px); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 400; color: var(--on-soft); margin-bottom: 14px; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 300; line-height: 1.08; letter-spacing: -0.02em; max-width: 20ch; margin-bottom: 16px; }
.lede { max-width: 60ch; color: var(--on-soft); font-size: clamp(1rem, 1.3vw, 1.1rem); }
.lede a { color: var(--on); }

/* the viewer and its panel */
main { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(260px, 1fr); gap: clamp(24px, 3.5vw, 56px);
  align-items: start; max-width: var(--max); margin: 0 auto; padding: 12px var(--gutter) clamp(56px, 8vw, 104px); }
@media (max-width: 900px) { main { grid-template-columns: 1fr; } }
.stage { position: relative; background: var(--night); overflow: hidden; }
.summary { margin-top: 14px; font-size: .95rem; color: var(--on-soft); }
.summary b { color: var(--on); font-weight: 400; }

/* view tabs: square outlined pills, the chosen one filled cream */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tabs button { border: 1px solid var(--rule); background: transparent; padding: 8px 16px; cursor: pointer;
  text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 400; transition: background .2s, color .2s, border-color .2s; }
.tabs button:hover { border-color: var(--on); }
.tabs button[aria-pressed="true"] { background: var(--on); color: var(--brand); border-color: var(--on); }

/* option groups, as the site's configurator panel */
aside { display: grid; gap: 22px; }
.group { padding: 0 0 18px; border-bottom: 1px solid var(--rule); }
.group h2 { font-size: .72rem; font-weight: 400; text-transform: uppercase; letter-spacing: .18em; color: var(--on-soft); margin-bottom: 12px; }
.opts { display: grid; gap: 8px; }
.opts button { text-align: left; border: 1px solid var(--rule); background: transparent; padding: 10px 14px; cursor: pointer;
  font-size: .95rem; transition: background .2s, color .2s, border-color .2s; }
.opts button:hover { border-color: var(--on); }
.opts button[aria-pressed="true"] { background: var(--on); color: var(--brand); border-color: var(--on); font-weight: 400; }
.opts button small { display: block; font-size: .8rem; color: var(--on-faint); margin-top: 2px; }
.opts button[aria-pressed="true"] small { color: rgba(119, 108, 102, .9); }
.note { border-left: 1px solid var(--on); padding: 4px 0 4px 14px; font-size: .88rem; color: var(--on-soft); }
.note[hidden] { display: none; }
.small { font-size: .82rem; color: var(--on-faint); }
.btn { display: inline-block; justify-self: start; padding: 14px 24px; border: 1px solid var(--on); background: var(--on); color: var(--brand);
  text-decoration: none; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 400; transition: background .2s, color .2s; }
.btn:hover { background: transparent; color: var(--on); }

/* footer */
.site-footer { display: flex; align-items: center; gap: 12px; padding: 28px var(--gutter); border-top: 1px solid var(--rule);
  font-size: .8rem; color: var(--on-soft); }
.site-footer img { width: 18px; height: auto; opacity: .9; }
