@font-face { font-family: Instrument Serif; src: url('assets/instrument-serif.woff2') format('woff2'); font-display: swap; }
@font-face {
  font-family: Manrope; src: url('assets/manrope-ext.woff2') format('woff2'); font-display: swap; font-weight: 200 800;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: Manrope; src: url('assets/manrope.woff2') format('woff2'); font-display: swap; font-weight: 200 800;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Geist Mono'; src: local('Geist Mono Medium'), url('https://fonts.gstatic.com/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2') format('woff2'); font-display: swap; font-weight: 500;
}

:root {
  --ink: #17232e; --muted: #47596a; --ground: #f5f4ef; --glaze: #cce3ea; --accent: #245b77;
  --hero-ground: #f8f7f3; --hero-warm: #efd5c5; --hero-green: #e1e8d0; --work-ground: #eaf0f2;
  --paper: #f6f8f8; --glass: #f3f8f7ca; --line: #8199a36b; --edge: #ffffffa6;
  --desk: #ecdfc9; --desk-deep: #dbcaac; --tab-active: #172935; --tab-ink: #fff;
  --serif: 'Instrument Serif', Georgia, serif; --sans: Manrope, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22,.8,.24,1); --wrap: 1000px;
  color: var(--ink); background: var(--ground); font-family: var(--sans); scroll-behavior: smooth;
}
:root[data-palette="dune"] { --ground: #f1e9df; --glaze: #eddbc6; --hero-ground: #faf2e7; --hero-warm: #edc6ab; --hero-green: #e4dbcc; --work-ground: #f1e3d5; --accent: #835447; --paper: #fcf4e8; --glass: #fcf5e9d7; --line: #ab8b7075; --tab-active: #543d36; --desk: #efdac0; --desk-deep: #d9b294; }
:root[data-palette="jardin"] { --ground: #e6eee4; --glaze: #d4e6cf; --hero-ground: #f2f5eb; --hero-warm: #e7dfc1; --hero-green: #cedecc; --work-ground: #dfe9dd; --accent: #436a51; --paper: #f2f8ec; --glass: #f2f8eadb; --line: #829b7783; --tab-active: #304d3e; --desk: #e1e6ca; --desk-deep: #cbd3a7; }
:root[data-theme="night"] { color-scheme: dark; --ink: #eaf1f3; --muted: #b6c8d0; --ground: #14242e; --glaze: #253a52; --hero-ground: #182732; --hero-warm: #40333d; --hero-green: #2c453d; --work-ground: #1d303c; --accent: #afd3ec; --paper: #293e48; --glass: #233642e0; --line: #a8c7db44; --edge: #c0d6e32e; --tab-active: #e0edf0; --tab-ink: #1c3343; --desk: #413c39; --desk-deep: #282d33; }
:root[data-theme="night"][data-palette="dune"] { --ground: #2a242a; --glaze: #49373c; --accent: #f1c7b4; --glass: #3b2f36e0; }
:root[data-theme="night"][data-palette="jardin"] { --ground: #172923; --glaze: #2c4334; --accent: #c2e1c3; --glass: #243c35e0; }

* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; padding-bottom: 95px; background: var(--ground); transition: background-color .8s var(--ease), color .6s var(--ease); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.skip { position: absolute; z-index: 5; top: 12px; left: 12px; transform: translateY(-150%); background: var(--paper); padding: 10px; }
.skip:focus { transform: none; }
h1, h2, h3, p { margin: 0; }

.hero { position: relative; text-align: center; padding: clamp(66px,8vw,112px) 22px clamp(58px,7vw,94px); background: var(--hero-ground); }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 36% 92% at 22% 4%,var(--glaze),transparent 83%), radial-gradient(ellipse 34% 91% at 78% 30%,var(--hero-warm),transparent 83%), radial-gradient(ellipse 57% 74% at 50% 109%,var(--hero-green),transparent 78%); }
.intro { margin: auto; max-width: 800px; position: relative; }
.intro-heading { display: flex; align-items: center; justify-content: center; gap: clamp(12px,2vw,22px); }
.portrait { display: block; width: clamp(52px,6.25vw,78px); height: auto; aspect-ratio: 1; flex: none; object-fit: cover; border-radius: 24%; border: 3px solid var(--paper); transform: rotate(7deg); box-shadow: 0 7px 20px #17232e2b; }

.wrap { width: min(calc(100% - 48px),var(--wrap)); margin-inline: auto; }
.work { position: relative; padding: 0 0 20px; scroll-margin-top: 15px; background: linear-gradient(var(--work-ground),var(--ground) 800px); }
.section-line { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 15px; }
.section-line::before, .section-line::after { content: ''; height: 1px; background: linear-gradient(90deg,transparent,var(--line)); }
.section-line::after { transform: scaleX(-1); }
.section-line :is(h2,p) { border: 1px solid var(--line); background: var(--paper); border-radius: 99px; padding: 9px 16px; font: 500 13px/1.15 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.work-divider { position: relative; top: -19px; }
.work-divider h2 { padding: 10px 19px; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: block; width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.project-search { display: grid; grid-template-columns: 1fr minmax(230px,1.4fr); align-items: center; gap: 16px; margin: 7px 0 13px; padding: 13px 18px; background: var(--glass); border: 1px solid var(--edge); border-radius: 16px; scroll-margin-top: 18px; }
.project-search h3 { font: 560 15px/1.3 var(--sans); }
.project-search p { margin-top: 3px; color: var(--muted); font-size: 12px; }
.project-disclosure { max-width: 70ch; margin: 0 2px 18px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.search { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; background: var(--paper); color: var(--muted); border: 1px solid transparent; border-radius: 12px; box-shadow: inset 0 1px 3px #17232e0d; transition: background-color .22s ease, box-shadow .22s ease; }
.search:focus-within { background: color-mix(in srgb, var(--paper) 92%, var(--accent)); box-shadow: inset 0 2px 6px #17232e14, 0 2px 7px #17232e0c; }
.search:has(input:focus-visible) .icon { color: var(--accent); }
.search:has(input:focus-visible):not(:hover) { outline: 2px solid var(--accent); outline-offset: 4px; }
.search .icon { width: 18px; height: 18px; }
.search input { background: transparent; border: 0; padding: 7px 0; width: 100%; min-width: 0; color: var(--ink); font-size: 14px; }
.search input:focus-visible { outline: none; }
.search input::placeholder { color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: stretch; }
.project { --card: #dce8ec; --card-light: #f1f6f7; --halo: #fff; position: relative; isolation: isolate; border: 1px solid var(--edge); background: radial-gradient(125% 90% at 0 0,var(--card-light),var(--card)); border-radius: 27px; overflow: hidden; min-width: 0; transition: box-shadow .42s var(--ease), border-color .42s var(--ease); }
.project[data-sector="restaurants"] { --card: #ebd4c6; --card-light: #fbecdf; --halo: #ffc9a9; --frame: #66514f; }
.project[data-sector="hotels"] { --card: #cfdfe9; --card-light: #edf5f7; --halo: #c2f1ff; --frame: #405364; }
.project[data-sector="hotels"]:nth-child(even) { --card: #d6e2d4; --card-light: #eff6eb; --halo: #ddf6c5; --frame: #485e53; }
.project[data-sector="locations"] { --card: #e8d8ba; --card-light: #f7eed8; --halo: #ffe8a9; --frame: #52504a; }
.project[data-sector="artisans"] { --card: #e5d5e6; --card-light: #f7ecf6; --halo: #f4c1fc; --frame: #5a4e60; }
.project[data-sector="entreprises"] { --card: #d6dce9; --card-light: #eef0f8; --halo: #c0d1ff; --frame: #414b67; }
.project[data-sector="tourisme"] { --card: #d1e2ce; --card-light: #edf5e6; --halo: #ceefbc; --frame: #45594d; }
.project[data-sector="culture"] { --card: #f0d1db; --card-light: #fbeeef; --halo: #ffbad5; --frame: #655060; }
:root[data-theme="night"] .project { --card: #233946; --card-light: #304b5c; --halo: #6688a1; }
:root[data-theme="night"] .project[data-sector="hotels"]:nth-child(even) { --card: #293d38; --card-light: #3d554b; --halo: #739584; }
:root[data-theme="night"] .project[data-sector="restaurants"] { --card: #402d31; --card-light: #59424a; --halo: #ae6e70; }
:root[data-theme="night"] .project[data-sector="locations"] { --card: #3e392d; --card-light: #56513d; --halo: #a2905f; }
:root[data-theme="night"] .project[data-sector="artisans"], :root[data-theme="night"] .project[data-sector="culture"] { --card: #3a2f45; --card-light: #51415e; --halo: #88679d; }
:root[data-theme="night"] .project[data-sector="tourisme"] { --card: #293e35; --card-light: #3d5848; --halo: #80a98b; }
.project::after { content: ''; position: absolute; pointer-events: none; inset: 0; opacity: 0; background: radial-gradient(360px circle at var(--mx,50%) var(--my,22%),var(--halo),transparent 71%); transition: opacity .42s var(--ease); }
.project:focus-within::after { opacity: .7; }
:root[data-theme="night"] .project::after { mix-blend-mode: soft-light; }
.project-button { position: relative; z-index: 1; display: flex; flex-direction: column; text-align: left; width: 100%; height: 100%; color: inherit; text-decoration: none; }
.project-button:focus-visible { outline-offset: -5px; border-radius: inherit; }
.project-copy { padding: 27px 31px 23px; min-height: 174px; display: flex; flex-direction: column; align-items: flex-start; }
.project-type { font-size: 11px; font-weight: 570; line-height: 1.4; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.project h3 { font: 400 clamp(33px,4vw,46px)/.98 var(--serif); letter-spacing: -.025em; margin: 10px 0 7px; text-wrap: balance; }
.place { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.action { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); background: var(--glass); border-radius: 99px; padding: 7px 11px; font-size: 12px; font-weight: 590; margin-top: auto; transition: background .25s, border-color .25s; }
.action .icon { width: 15px; height: 15px; }
.project-button:is(:hover,:focus-visible) .action { background: var(--paper); border-color: var(--accent); }
.project-visual { display: block; overflow: hidden; margin-top: auto; width: 100%; aspect-ratio: 16 / 9; }
.project-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transform-origin: center 38%; transition: transform .65s var(--ease); }
@media (hover:hover) and (pointer:fine) {
  .project:hover { border-color: var(--line); box-shadow: 0 18px 38px #22364525, 0 3px 9px #22364515; }
  .project:hover::after { opacity: .88; }
  .project:hover .project-visual img { transform: scale(1.065); }
}
@media (prefers-reduced-motion:reduce) { .project:hover .project-visual img { transform: none; } }
.gallery.is-changing .project { animation: card-in .43s var(--ease) both; }
@keyframes card-in { from { opacity: .2; transform: translateY(11px) scale(.993); } }
.empty { padding: 65px 0; text-align: center; color: var(--muted); }
.empty button { border: 0; background: transparent; text-decoration: underline; }

.contact { margin-top: 78px; scroll-margin-top: 22px; }
.contact-desk { margin-top: 22px; padding: clamp(30px,6vw,70px); display: grid; grid-template-columns: 1fr minmax(230px,.8fr); gap: 40px; align-items: center; border-radius: 29px; background: radial-gradient(ellipse at 26% 14%,var(--desk),var(--desk-deep)); border: 1px solid var(--edge); }
.contact h2 { font: 400 clamp(43px,6vw,72px)/.98 var(--serif); letter-spacing: -.025em; }
.contact-copy p { margin-top: 15px; max-width: 340px; color: var(--muted); line-height: 1.55; }
.contact-booking { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; padding: 11px 15px; min-height: 44px; border-radius: 12px; background: var(--tab-active); color: var(--tab-ink); font-size: 14px; font-weight: 650; text-decoration: none; transition: box-shadow .22s ease, background-color .22s ease; }
.contact-booking:is(:hover,:focus-visible) { background: color-mix(in srgb, var(--tab-active) 85%, var(--accent)); box-shadow: 0 5px 16px #17232e25; }
.contact-booking .icon { width: 17px; height: 17px; }
.contact-booking .icon:last-child { width: 14px; height: 14px; }
.contact-methods { display: grid; gap: 8px; }
.contact-method { display: flex; align-items: center; gap: 13px; text-decoration: none; min-width: 0; padding: 12px; background: var(--glass); border: 1px solid var(--edge); border-radius: 11px; transition: background-color .2s, border-color .2s; }
.contact-method .icon { color: var(--accent); }
.contact-method strong, .contact-method span span { display: block; }
.contact-method strong { font-size: 14px; font-weight: 560; }
.contact-method span span { margin-top: 2px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.contact-method { scroll-margin-block: 34px 150px; }
.contact-method:is(:hover,:focus-visible,:target) { background: var(--paper); border-color: var(--line); }
.footer { display: flex; justify-content: space-between; gap: 18px; margin-top: 26px; padding: 13px 2px; color: var(--muted); font-size: 12px; }
.footer a { white-space: nowrap; text-underline-offset: 3px; }

.dock { position: fixed; z-index: 5; left: 50%; bottom: max(14px,env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; gap: 9px; width: max-content; max-width: calc(100% - 20px); align-items: stretch; }
.dock-part { display: flex; align-items: center; flex: none; padding: 5px; border: 1px solid var(--edge); border-radius: 17px; background: var(--glass); backdrop-filter: blur(24px) saturate(170%); box-shadow: 0 9px 25px #10233427,inset 0 1px 0 #ffffff38; transition: background-color .8s var(--ease); }
.dock-shortcuts { gap: 3px; }
.dock-icon, .clock { display: grid; place-items: center; position: relative; border: 0; width: 38px; height: 42px; background: transparent; border-radius: 11px; color: var(--ink); text-decoration: none; transition: background-color .2s; }
.dock-icon:is(:hover,:focus-visible), .clock:is(:hover,:focus-visible) { background: #8096a52c; }
.dock [data-tip]::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 9px); left: 50%; transform: translate(-50%,4px) scale(.96); padding: 5px 8px; border: 1px solid var(--edge); background: var(--tab-active); color: var(--tab-ink); border-radius: 7px; font-size: 11px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .18s, transform .22s var(--ease); z-index: 8; }
@media (hover:hover) { .dock [data-tip]:is(:hover,:focus-visible)::after { opacity: 1; transform: translate(-50%,0) scale(1); transition-delay: .16s; } }
.filter-shell { min-width: 0; flex: 1 1 auto; }
.filters { overflow-x: auto; scrollbar-width: none; overscroll-behavior-inline: contain; }
.filters::-webkit-scrollbar { display: none; }
.filter-track { position: relative; isolation: isolate; display: flex; min-width: max-content; align-items: center; gap: 5px; }
.filter-indicator { position: absolute; z-index: -1; inset: 0 auto 0 0; width: var(--indicator-width,0); transform: translateX(var(--indicator-x,0)); background: var(--tab-active); border-radius: 12px; transition: transform .32s var(--ease), width .32s var(--ease), background-color .5s; }
.filters button { border: 0; background: transparent; border-radius: 12px; padding: 8px 11px; min-height: 42px; flex: none; white-space: nowrap; color: var(--muted); font-size: 14px; font-weight: 550; transition: color .2s, background-color .25s; }
.filters button sup { margin-left: 5px; font-size: 10px; color: inherit; opacity: .82; vertical-align: baseline; }
.filters button[aria-pressed="true"] { color: var(--tab-ink); }
.filters button:not([aria-pressed="true"]):is(:hover,:focus-visible) { color: var(--ink); background: #869faf33; }
.filters button:focus-visible, .dock-part :is(a,button):focus-visible { outline-offset: -3px; }
.dock-controls { gap: 3px; }
.palette-control { position: relative; }
.palette-menu { position: absolute; bottom: calc(100% + 12px); right: -55px; min-width: 145px; z-index: 9; padding: 6px; background: var(--paper); border: 1px solid var(--edge); border-radius: 14px; box-shadow: 0 12px 28px #17304039; animation: menu-in .2s var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(5px) scale(.97); } }
.palette-menu p { padding: 6px 8px 4px; color: var(--muted); font-size: 11px; }
.palette-menu button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px 8px; text-align: left; background: transparent; border: 0; border-radius: 8px; font-size: 13px; }
.palette-menu button[aria-pressed="true"], .palette-menu button:hover { background: #7892a633; }
.palette-menu i, .clock i { width: 10px; height: 10px; border-radius: 50%; background: #8cbdce; border: 1px solid #20343a36; flex: none; }
.palette-menu [data-palette="dune"] i { background: #c99d82; }
.palette-menu [data-palette="jardin"] i { background: #a6b989; }
.theme-toggle { position: relative; width: 48px; height: 26px; flex: none; padding: 0; border: 1px solid #43759665; border-radius: 30px; background: linear-gradient(165deg,#75c5ee,#418ec5); box-shadow: inset 0 1px 4px #053a6454; transition: background .8s var(--ease); }
.theme-knob { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #ffe28a; box-shadow: 0 0 9px #fee799b5,inset -2px -2px 2px #d99d3b78; transition: transform .8s var(--ease), background .6s, box-shadow .6s; }
.theme-cloud { position: absolute; right: 4px; bottom: 4px; width: 17px; height: 7px; border-radius: 12px; background: #e9f7f8; transition: opacity .55s; }
.theme-cloud::before { content: ''; position: absolute; bottom: 2px; left: 4px; width: 8px; height: 8px; border-radius: 50%; background: inherit; }
.theme-toggle[aria-checked="true"] { background: radial-gradient(circle at 19% 36%,white 0 1px,transparent 1.5px),radial-gradient(circle at 35% 65%,white 0 1px,transparent 1.5px),#192847; }
.theme-toggle[aria-checked="true"] .theme-cloud { opacity: 0; }
.theme-toggle[aria-checked="true"] .theme-knob { transform: translateX(22px); background: #e1e5ee; box-shadow: inset -4px -3px 1px #a8b3c8; }
.clock { display: flex; align-items: center; justify-content: center; gap: 5px; width: auto; min-width: 51px; padding: 0 4px; font-size: 12px; font-variant-numeric: tabular-nums; }
.clock i { width: 6px; height: 6px; background: #75919c; border: 0; }
.clock[aria-pressed="true"] i { background: #49ae84; box-shadow: 0 0 0 3px #49ae8426; }

@media (max-width: 1290px) {
  .dock { display: grid; grid-template-columns: auto auto; justify-content: center; }
  .dock-shortcuts { justify-self: end; }
  .dock-controls { justify-self: start; }
  .filter-shell { grid-row: 1; grid-column: 1 / -1; justify-self: center; max-width: 100%; }
  .dock { width: min(970px,calc(100% - 20px)); grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .dock-shortcuts, .dock-controls { z-index: 1; }
  .palette-menu { bottom: calc(100% + 52px); }
  body { padding-bottom: 140px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 62px; }
  .wrap { width: calc(100% - 30px); }
  .project-search { grid-template-columns: 1fr; gap: 9px; padding: 12px; }
  .project-search > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
  .gallery { grid-template-columns: 1fr; gap: 13px; }
  .project-copy { padding: 23px 22px 20px; min-height: 148px; }
  .contact { margin-top: 60px; }
  .contact-desk { grid-template-columns: 1fr; gap: 26px; }
  .dock { bottom: max(8px,env(safe-area-inset-bottom)); gap: 5px; }
  .dock-part { border-radius: 13px; }
  .filters button { font-size: 13px; padding-inline: 10px; }
  .dock-icon { width: 35px; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
