/* Your visual customizations go here. The reference styles remain in index.html
   and the captured component modules, preserving the original appearance. */

:root {
  --font-ui: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

body { font-family: var(--font-ui); }

.x-widget { position: fixed; top: 104px; left: 562px; z-index: 4; width: 360px; max-height: calc(100dvh - 228px); overflow: auto; border-radius: 16px; background: #fff; color: #20252e; box-shadow: 0 18px 48px #0004; font: 14px/1.5 var(--font-ui); animation: notebook-enter .3s 3.6s both; }
.x-widget blockquote { margin: 0; padding: 24px; }
.x-widget blockquote p { margin: 0 0 20px; font-size: 20px; line-height: 1.4; }
.x-widget blockquote a { display: block; margin-top: 6px; color: #3168d5; text-decoration: none; }
.x-widget blockquote a:hover { text-decoration: underline; }
.x-widget a:focus-visible { outline: 2px solid #3269ff; outline-offset: 4px; }
.x-widget .twitter-tweet-rendered { margin: 0 !important; }
.x-widget iframe { width: 100% !important; max-width: 100%; min-width: 0; }
@media (min-width: 810px) and (max-width: 1100px) {
  #notebook-widget:not(.blog-widget-collapsed) { width: calc((100vw - 204px) / 2); }
  .x-widget { top: 82px; left: calc(52px + (100vw - 204px) / 2); width: calc((100vw - 204px) / 2); max-height: calc(100dvh - 206px); }
}
@media (max-width: 809.98px) {
  .x-widget { top: 70px; left: 16px; width: calc(100% - 32px); max-width: 486px; }
  .x-widget[data-mobile-mounted] { position: relative; top: auto; left: auto; flex: none; width: 100%; max-height: none; margin: 0 auto 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .x-widget { animation: none; }
}

/* Captured Framer styles include inline font families and font-specific features. */
body :is(.framer-text, .framer-text *, [style*="font-family"], button, input, textarea, select, label) {
  font-family: var(--font-ui) !important;
}
body :is(.framer-text, .framer-text *) { font-feature-settings: normal !important; }
body :is(pre, code, kbd, samp), body :is(pre, code, kbd, samp) * {
  font-family: var(--font-mono) !important;
}

/* The clock must size to the native font's metrics instead of the captured width. */
.framer-8BTMb [data-framer-name="date"] { width: max-content !important; }

.privacy-notice { position: fixed; left: 24px; bottom: 24px; z-index: 10000; box-sizing: border-box; width: 296px; max-width: calc(100vw - 48px); padding: 16px; border: 1px solid #ffffffb3; border-radius: 16px; background: #fffffff5; color: #202124; box-shadow: 0 8px 32px #0003; font: 14px/1.5 var(--font-ui); }
.privacy-notice p { margin: 0 0 12px; }
.privacy-notice-actions { display: flex; gap: 8px; }
.privacy-notice button { flex: 1; min-height: 40px; padding: 8px 12px; border: 0; border-radius: 8px; background: #eeeef0; color: #202124; font: 500 13px/20px var(--font-ui); cursor: pointer; }
.privacy-notice button[data-choice="accepted"] { background: #202124; color: white; }
.privacy-notice button:hover { background: #dedee2; }
.privacy-notice button[data-choice="accepted"]:hover { background: #3a3b40; }
.privacy-notice button:focus-visible { outline: 2px solid #3269ff; outline-offset: 3px; }
@media (max-width: 809.98px) {
  .privacy-notice { left: 12px; bottom: calc(108px + env(safe-area-inset-bottom)); max-width: calc(100vw - 24px); }
  .privacy-notice button { min-height: 44px; }
}

@media (max-width: 809.98px) {
  [data-framer-name="Mobile-Icons"] { flex-direction: column !important; align-items: center !important; justify-content: flex-start !important; overflow-y: auto !important; overflow-x: hidden !important; gap: 24px !important; padding: 24px 16px !important; }
  [data-framer-name="Mobile-Icons"] [data-framer-name="Grid"] { flex: none !important; width: 100% !important; height: auto !important; grid-auto-rows: auto !important; grid-template-rows: none !important; }
}

.personal-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 12px; width: 100%; flex: none; }
.personal-gallery img { display: block; width: 100%; height: auto; }
@media (max-width: 809.98px) {
  .personal-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  body:has([data-framer-name="Gallery-section"]) :is(#notebook-widget, .x-widget) { visibility: hidden; }
}

.contact-location { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
.contact-location-pin { flex: none; }

/* Apple includes transparent padding around its app icons. */
img[src="/assets/apple-messages.png"],
img[src="/assets/apple-photos.png"],
img[src="/assets/apple-finder.png"] {
  transform: scale(1.25);
}

.project-shortcut { order: 3; }
.project-logo { display: grid; place-items: center; width: 78px; height: 78px; border-radius: 18px; background: #fff; overflow: hidden; box-shadow: 0 1px 4px #0003; }
.project-logo img { width: 100%; height: 100%; object-fit: contain; }
.project-logo-strique { background: #f5f1ff; }
.project-logo-strique img { width: 44%; height: 70%; }
.project-logo-pullfocus { background: #0d0c0a; }
.editor-window.projects-window { width: 792px; height: 630px; min-width: 340px; min-height: 320px; resize: both; }
.editor-titlebar.projects-titlebar { background: #fff; justify-content: flex-start; }
.project-breadcrumb { display: flex; gap: 12px; margin-left: 202px; font-size: 14px; }
.project-breadcrumb span:not(:last-child) { color: #888; }
.projects-layout { display: flex; flex: 1; min-height: 0; }
.projects-sidebar { flex: 0 0 186px; padding: 20px 10px; border-right: 1px solid #e7e7e9; }
.projects-label { margin: 0 0 14px; color: #888; font-size: 14px; }
.projects-sidebar button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 8px 12px; border: 0; border-radius: 8px; background: transparent; color: #202124; text-align: left; font: 14px/20px var(--font-ui); cursor: pointer; }
.projects-sidebar button:hover, .projects-sidebar button[aria-current] { background: #f4f4f5; }
.project-nav-logo { display: grid; place-items: center; flex: 0 0 22px; height: 22px; border-radius: 5px; overflow: hidden; }
.project-nav-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.project-content { flex: 1; min-width: 0; overflow: auto; padding: 24px; line-height: 1.5; }
.project-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.project-heading h2 { font-size: 24px; font-weight: 500; margin: 0; }
.project-heading a { color: #3269ff; text-decoration: none; font-size: 14px; flex-shrink: 0; }
.project-heading a:hover { text-decoration: underline; }
.project-content p { margin: 8px 0 24px; color: #555; font-size: 16px; }
.project-category { margin: 28px 0; }
.project-category > span { color: #888; }
.project-category p { margin: 2px 0 0; }
.project-cover { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 12px; }
.project-content h3 { font-size: 18px; font-weight: 500; margin: 28px 0 8px; }
.project-services { margin: 0 0 16px; padding-left: 20px; color: #555; font-size: 15px; }
.project-services li + li { margin-top: 8px; }
.project-content .project-photo-caption, .project-photo-gallery figcaption { margin: 8px 0 20px; color: #666; font-size: 13px; line-height: 1.5; }
.project-photo-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; align-items: start; }
.project-photo-gallery figure { margin: 0; }
.project-photo-gallery img { display: block; width: 100%; height: auto; border-radius: 10px; }
.project-photo-gallery-strique { grid-template-columns: minmax(0, 1fr); }

.project-content a:focus-visible { outline: 2px solid #3574d4; outline-offset: 4px; }

.project-case-study { container-type: inline-size; }
.project-case-study .project-role { margin: 6px 0 20px; font-size: 13px; color: #62626b; }
.project-case-study .project-summary { margin: 0 0 10px; color: #202124; font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -.6px; text-wrap: balance; }
.project-case-study h3 { margin-top: 36px; font-size: 20px; letter-spacing: -.3px; }
.project-case-study h4 { margin: 0 0 6px; font-size: 15px; line-height: 1.4; font-weight: 600; color: #202124; }
.project-case-study a { color: #2455c7; text-underline-offset: 3px; }
.project-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 24px 0 10px; padding: 0; border: 1px solid #e5e5ea; border-radius: 12px; overflow: hidden; background: #fafafa; }
.project-metrics > div { display: flex; flex-direction: column; gap: 7px; min-width: 0; padding: 16px 14px; border-right: 1px solid #e5e5ea; }
.project-metrics > div:nth-child(3n) { border-right: 0; }
.project-metrics > div:nth-child(n+4) { border-top: 1px solid #e5e5ea; }
.project-metrics dt { color: #555; font-size: 12px; line-height: 1.4; }
.project-metrics dd { order: -1; margin: 0; color: #202124; font-size: 28px; line-height: 1; letter-spacing: -.8px; font-weight: 650; font-variant-numeric: tabular-nums; }
.project-case-study .project-source-note { margin: 8px 0 20px; color: #686870; font-size: 12px; line-height: 1.5; }
.project-client-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0; margin: 16px 0 12px; gap: 18px 12px; }
.project-client-grid li { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; text-align: center; }
.project-client-grid img { width: 100%; height: 42px; object-fit: contain; }
.project-client-grid span { color: #62626b; font-size: 10px; line-height: 1.3; }
.project-result { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-top: 1px solid #e5e5ea; }
.project-result-metric strong { display: block; color: #202124; font-size: 32px; line-height: 1.1; font-weight: 600; letter-spacing: -1px; }
.project-result-metric span { display: block; margin-top: 8px; font-size: 12px; line-height: 1.4; color: #62626b; }
.project-result p, .project-timeline p, .project-process p { margin: 0 0 8px; font-size: 14px; }
.project-result .project-result-method { color: #686870; font-size: 13px; }
.project-result a, .project-funding a { display: inline-block; padding: 6px 0; font-size: 13px; }
.project-funding { margin: 18px 0 32px; padding: 22px; background: #f5f6f8; border: 1px solid #e5e5ea; border-radius: 12px; }
.project-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .7px; text-transform: uppercase; color: #62626b; }
.project-funding h3 { margin: 10px 0; font-size: 24px; line-height: 1.25; }
.project-funding p { margin: 0 0 10px; font-size: 14px; }
.project-timeline, .project-process { list-style: none; padding: 0; margin: 20px 0 28px; }
.project-timeline li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; }
.project-timeline li > div { border-left: 1px solid #dedee3; padding: 0 0 24px 18px; }
.project-timeline li:last-child > div { padding-bottom: 0; }
.project-year { color: #62626b; font: 13px/21px var(--font-mono); }
.project-process li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 1px solid #e5e5ea; }
.project-step-number { color: #777; font: 12px/21px var(--font-mono); }
.project-sources { margin-top: 28px; padding-top: 16px; border-top: 1px solid #e5e5ea; }
.project-sources a { display: block; width: fit-content; padding: 6px 0; font-size: 12px; }
@container (max-width: 420px) {
  .project-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-metrics > div:nth-child(n) { border-right: 1px solid #e5e5ea; border-top: 0; }
  .project-metrics > div:nth-child(2n) { border-right: 0; }
  .project-metrics > div:nth-child(n+3) { border-top: 1px solid #e5e5ea; }
  .project-client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .project-client-grid img { height: 46px; }
  .project-result { grid-template-columns: 86px minmax(0, 1fr); gap: 14px; }
  .project-funding { padding: 18px; }
}

.editor-shortcut {
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font: 16px/20px var(--font-ui);
  cursor: pointer;
}

.editor-shortcut-image {
  display: block;
  width: 78px;
  height: 78px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 1px 4px #0003;
}

.editor-shortcut-image img { width: 100%; height: 100%; }
.editor-shortcut:focus-visible { outline: 2px solid white; outline-offset: 5px; border-radius: 10px; }

.editor-window {
  position: fixed;
  inset: 0;
  margin: auto;
  width: 640px;
  height: 400px;
  max-width: calc(100vw - 48px);
  max-height: calc(100dvh - 96px);
  padding: 0;
  border: 1px solid #0002;
  border-radius: 16px;
  background: #fff;
  color: #202124;
  box-shadow: 0 24px 80px #0005;
  overflow: hidden;
  font-family: var(--font-ui);
}

.editor-window[open] { display: flex; flex-direction: column; }
.editor-window::backdrop { background: #0002; }
.editor-window:focus { outline: none; }
.editor-titlebar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  height: 48px;
  background: #f5f5f6;
  border-bottom: 1px solid #e9e9eb;
  cursor: grab;
  user-select: none;
  touch-action: none;
}
.editor-titlebar:active { cursor: grabbing; }
.editor-titlebar h2 { margin: 0; font-size: 14px; font-weight: 500; }
.window-close {
  position: absolute;
  left: 8px;
  top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4.965517px;
  box-sizing: border-box;
  width: 64px;
  height: 44px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}
.window-close-circle, .window-close-square { flex: none; width: 12px; height: 12px; }
.window-close-circle { border-radius: 50%; background: var(--token-34d58044-5fb0-4480-9bc8-4e91d499d8e6, #000); }
.window-close-square { border-radius: 2px; background: var(--token-1000dd73-bde8-4ac7-9fb1-7ba3d170cea9, #4d4d4d); }
.window-close-triangle { flex: none; width: 14px; height: 11px; overflow: visible; color: var(--token-9cc04b5f-ee86-408f-9949-819c181d79aa, #8c8c8c); }
.editor-toolbar { display: flex; gap: 4px; padding: 8px 20px; border-bottom: 1px solid #efeff1; }
.editor-format { width: 36px; height: 32px; border: 0; border-radius: 6px; background: transparent; color: #555; font-size: 15px; cursor: pointer; }
.editor-format:hover { background: #f3f3f5; }
.editor-format[aria-pressed="true"] { background: #e7edf8; color: #1c54aa; }
.editor-format-bold { font-weight: 700; }
.editor-format-italic { font-style: italic; }
.editor-format-underline { text-decoration: underline; }
.editor-window button:focus-visible { outline: 2px solid #3574d4; outline-offset: 2px; }
.editor-content { flex: 1; min-height: 0; padding: 28px 32px; overflow: auto; outline: none; font-size: 24px; line-height: 1.6; overflow-wrap: anywhere; cursor: text; }
.editor-content p { margin: 0 0 1em; }
.editor-content p:last-child { margin-bottom: 0; }

.editor-window.profile-editor { width: 840px; height: 680px; }
.profile-editor .editor-toolbar { flex-wrap: wrap; align-items: center; }
.editor-text-style { height: 32px; max-width: 110px; padding: 0 6px; border: 1px solid #e4e4e7; border-radius: 6px; background: #fff; color: #555; font: 13px var(--font-ui); }
.profile-editor .editor-content { padding: 28px 32px; font-size: 16px; line-height: 1.65; }
.profile-editor .editor-content h1 { margin: 0 0 6px; font-size: 36px; line-height: 1.2; font-weight: 600; letter-spacing: -1px; }
.profile-editor .editor-content h2 { clear: both; margin: 28px 0 12px; font-size: 23px; line-height: 1.3; font-weight: 600; }
.profile-editor .editor-content h3 { margin: 20px 0 6px; font-size: 18px; line-height: 1.4; font-weight: 500; }
.profile-editor .editor-role { color: #777; margin-bottom: 24px; }
.profile-editor .editor-location { color: #555; font-size: 14px; }
.profile-editor .editor-portrait { float: right; display: block; width: 224px; max-width: 44%; height: auto; margin: 0 0 24px 28px; border-radius: 12px; }
.profile-editor .editor-content a { color: #3269ff; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 809.98px) {
  .project-logo { width: 68px; height: 68px; border-radius: 16px; }
  .editor-window.projects-window { min-width: 0; min-height: 0; height: 680px; resize: none; }
  .project-breadcrumb { margin-left: 84px; gap: 8px; font-size: 13px; }
  .projects-layout { flex-direction: column; }
  .projects-sidebar { display: flex; gap: 4px; flex: none; padding: 8px; border-right: 0; border-bottom: 1px solid #e7e7e9; }
  .projects-label { display: none; }
  .projects-sidebar button { justify-content: center; padding: 8px 4px; gap: 5px; min-height: 44px; font-size: 11px; white-space: nowrap; }
  .project-nav-logo { flex-basis: 18px; height: 18px; }
  .project-content { padding: 20px; }
  .editor-shortcut { justify-self: center; align-self: start; font-size: 13px; line-height: 18px; }
  .editor-shortcut-image { width: 68px; height: 68px; border-radius: 16px; }
  .editor-window { max-width: calc(100vw - 24px); max-height: calc(100dvh - 80px); }
  .editor-titlebar, .editor-titlebar:active { cursor: default; }
  .editor-content { padding: 24px; font-size: 21px; }
  .editor-format { width: 44px; height: 36px; }
  .profile-editor .editor-toolbar { padding: 8px 12px; }
  .profile-editor .editor-text-style { max-width: 96px; font-size: 12px; }
  .profile-editor .editor-format { width: 36px; }
  .profile-editor .editor-content { padding: 24px; font-size: 16px; }
  .profile-editor .editor-content h1 { font-size: 30px; }
  .profile-editor .editor-portrait { float: none; width: 224px; max-width: 100%; margin: 20px auto 24px; }
}

@media (min-width: 810px) {
  [data-framer-name="Desktop-icons"] {
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  [data-framer-name="Desktop-icons"] [data-desktop-icon] {
    position: absolute !important;
    z-index: 2 !important;
    left: var(--desktop-icon-left, 24px) !important;
    top: var(--desktop-icon-top, 16px) !important;
    right: auto !important;
    bottom: auto !important;
    width: 96px !important;
    height: 106px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    cursor: grab;
    touch-action: none;
  }

  [data-framer-name="Desktop-icons"] [data-dragging="true"] {
    cursor: grabbing;
    z-index: 3 !important;
  }
}

@media (min-width: 810px) {
  [data-framer-name="Contact"] [data-framer-name="Top-Nav"],
  [data-framer-name="Contact"] [data-framer-name="Top-Indicators"] { cursor: grab; touch-action: none; user-select: none; }
  [data-framer-name="Contact"] [data-framer-name="Top-Nav"]:active,
  [data-framer-name="Contact"] [data-framer-name="Top-Indicators"]:active { cursor: grabbing; }
}

@media (min-width: 810px) {
  /* Desktop windows must not intercept clicks on other apps through a backdrop. */
  [data-framer-name="Contact-Overlay"], [data-framer-name="Gallery-Overlay"] { pointer-events: none !important; }
}
