/* elenapasiphae.com new site, LOCAL MOCKUP. Round 2 (2026-11-15): styled exactly like the Creative Profile
   (source: work/docs/2026-11-05-creative-profile-new/world-1v-vertical-light.html). Paper ground, Dark text, no big titles,
   Object Sans Heavy caps labels, italic captions with a soft line, sunrise only for page numbers and the symbol. */
@font-face { font-family: "DeFonte"; src: url("fonts/DeFonte reduced Normale.ttf") format("truetype"); font-display: block; }
@font-face { font-family: "Object Sans"; src: url("fonts/ObjectSans-Regular.otf") format("opentype"); font-weight: 400; font-display: block; }
@font-face { font-family: "Object Sans"; src: url("fonts/ObjectSans-Slanted.otf") format("opentype"); font-weight: 400; font-style: italic; font-display: block; }
@font-face { font-family: "Object Sans"; src: url("fonts/ObjectSans-Heavy.otf") format("opentype"); font-weight: 700; font-display: block; }

/* Default = the Creative Profile: Paper and Dark. The switch gives the dark version. */
:root { --dark: #171514; --white: #FFFFFF; --paper: #EFEBE4; --sunrise: #E05028;
  --bg: var(--paper); --fg: var(--dark); --line: rgba(23,21,20,0.25); --gap: 15px;
  /* Round 4, her rule "it needs space": wide margins, big vertical rhythm. */
  --side: 9vw; --air: 20vh; --air-s: 9vh; }
:root[data-theme="dark"] { --bg: var(--dark); --fg: var(--white); --line: rgba(255,255,255,0.25); }
@media (max-width: 700px) { :root { --side: 24px; --gap: 10px; --air: 11vh; --air-s: 6vh; } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; }
body { background: var(--bg); color: var(--fg); font-family: "Object Sans", sans-serif; font-size: 14px; line-height: 1.6;
  transition: background-color .5s ease, color .5s ease; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a, .lk { border-bottom: 1px solid var(--line); transition: border-color .2s; }
p a:hover, .lk:hover { border-color: currentColor; }
.wm { font-family: "DeFonte", serif; letter-spacing: 0.10em; font-weight: 400; white-space: nowrap; line-height: 1; }
.cap { font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; font-size: 11px; line-height: 1.5; }
.soft { opacity: 0.6; }
.i { font-style: italic; }
.num { color: var(--sunrise); font-size: 10px; letter-spacing: .1em; }
.lab { font-size: 13px; line-height: 1.5; }
main { min-height: 70vh; }

/* Header */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 24px var(--side); color: var(--fg); background: var(--bg); transition: color .5s ease, background-color .5s ease; }
.hdr .wm { font-size: 17px; transition: opacity .4s ease; }
.hdr-r { display: flex; gap: 30px; align-items: center; }
.hdr nav { display: flex; gap: 30px; }
.hdr nav a { opacity: .55; transition: opacity .2s; }
.hdr nav a:hover, .hdr nav a.on { opacity: 1; }
.sw { width: 22px; height: 22px; border: 1px solid currentColor; border-radius: 50%; background: none; color: inherit; cursor: pointer;
  display: grid; place-items: center; opacity: .7; }
.sw::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; clip-path: inset(0 0 0 50%); }
:root[data-theme="dark"] .sw::after { clip-path: inset(0 50% 0 0); }
.burger { display: none; background: none; border: 0; color: inherit; cursor: pointer; }
body.hidewm:not(.wmon) .hdr .wm { opacity: 0; pointer-events: none; }
body.oncover .hdr { color: #fff; background: transparent; text-shadow: 0 0 6px rgba(0,0,0,.6); }
body.oncover .hdr nav a { opacity: .9; }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--bg); color: var(--fg); display: none; flex-direction: column; justify-content: center;
  gap: 22px; padding: 0 var(--side); }
.menu a { font-size: 13px; }
body.menu-open .menu { display: flex; }
body.menu-open .hdr { background: var(--bg); color: var(--fg); text-shadow: none; }
@media (max-width: 700px) {
  .hdr { padding: 18px var(--side); height: 60px; }
  .hdr .wm { font-size: 15px; }
  .hdr nav { display: none; }
  .burger { display: block; }
  .hdr-r { gap: 16px; }
}

/* Footer, like the Profile's closing page: base line, wordmark, rights line, page number */
/* 2026-11-16, her words: "the bottom of the pages looks wrong ... all this is too close together": more air inside the
   footer and between its parts, a hairline above it to separate it from the page. */
.foot { margin: calc(var(--air) * 1.3) var(--side) 0; padding: 56px 0 56px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 40px; }
/* Closing section (her ask 2026-11-16): a full band in the brand's dark, like the Profile's closing page, with its own air. */
.foot { display: block; margin: calc(var(--air) * 1.3) 0 0; padding: 14vh var(--side) 48px; border-top: 0;
  background: var(--fg); color: var(--bg); }
.foot a { color: inherit; }
.foot .f-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap;
  padding-bottom: 9vh; border-bottom: 1px solid color-mix(in srgb, var(--bg) 25%, transparent); }
.foot .f-wm { font-size: clamp(34px, 5.2vw, 76px); text-align: left; }
.foot .f-base { font-size: 10px; }
.foot .f-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 40px 9vw; padding: 9vh 0 12vh; }
.foot .f-h { font-size: 10px; margin-bottom: 18px; opacity: .6; }
.foot .f-cols .lab { line-height: 2; }
.foot .f-cols a { opacity: .85; } .foot .f-cols a:hover { opacity: 1; }
.foot .f-bot { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; font-size: 11px; }
@media (max-width: 700px) {
  .foot { padding: 10vh var(--side) 40px; }
  .foot .f-top { flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: 7vh; }
  .foot .f-cols { grid-template-columns: 1fr; gap: 40px; padding: 7vh 0 9vh; }
  .foot .f-bot { flex-direction: column-reverse; gap: 14px; }
}
.foot .l { display: flex; flex-direction: column; gap: 22px; }
.foot .links { display: flex; gap: 32px; }
.foot .links a { opacity: .6; } .foot .links a:hover { opacity: 1; }
.foot .wm { font-size: 15px; text-align: center; }
.foot .r { text-align: right; display: flex; flex-direction: column; gap: 22px; align-items: flex-end; }
.foot .r p { font-size: 11px; }
@media (max-width: 700px) { .foot { grid-template-columns: 1fr; gap: 36px; padding: 44px 0 48px; } .foot .wm { text-align: left; margin: 0; } .foot .r { align-items: flex-start; text-align: left; } }

/* Section label, as on the Profile pages (ABOUT, SERVICES, CONTACT), with room above and below */
.top { padding-top: calc(var(--air) + 60px); }
.label { margin: 0 var(--side) var(--air-s); }
@media (max-width: 700px) { .top { padding-top: calc(var(--air) + 40px); } }

/* Reveal */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s ease; }
.rv.in { opacity: 1; transform: none; }

/* Home: the Profile cover, moving */
.cover { position: relative; }
.cstage { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #000; }
.cstage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.cstage img.on { opacity: 1; }
.over { position: absolute; inset: 0; color: #fff; pointer-events: none; text-shadow: 0 0 12px rgba(0,0,0,.55); }
.over .name { position: absolute; left: 0; right: 0; top: 16vh; text-align: center; font-size: clamp(30px, 3.6vw, 52px); }
.over .bl, .over .br { position: absolute; bottom: 30px; letter-spacing: .08em; text-shadow: 0 0 6px rgba(0,0,0,.85); }
.over .bl { left: var(--side); } .over .br { right: var(--side); text-align: right; }
.homework { padding: var(--air) var(--side) 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.homework ul { list-style: none; max-width: 520px; }
.homework li a { border-top: 1px solid var(--line); padding: 14px 0; display: block; transition: opacity .2s; }
.homework li:last-child a { border-bottom: 1px solid var(--line); }
.homework li a:hover { opacity: .6; }
.homework .more { display: inline-block; margin-top: 26px; }
@media (max-width: 700px) { .over .name { font-size: 9vw; top: 22vh; } .over .bl { display: none; } .over .br { left: var(--side); text-align: left; }
  .homework { grid-template-columns: 1fr; gap: 20px; } }

/* Work: one project per row, alternating left and right, each with room around it */
/* Work page, her ask 2026-11-16 "like the creative profile": rows of two covers at one height, even gap, centred block */
.wgrid { padding: 0 var(--side); display: flex; flex-direction: column; gap: calc(var(--air-s) * .7);
  max-width: calc(1100px + 2 * var(--side)); margin: 0 auto; }
.wrow { display: flex; gap: var(--gap); align-items: flex-start; }
.wrow.one { justify-content: center; }
.wrow.one .tile { flex: none !important; width: calc(50% - var(--gap) / 2); }
.tile { display: block; min-width: 0; }
.tile img { width: 100%; height: auto; transition: opacity .4s; }
.tile:hover img { opacity: .85; }
.tile .lab { margin-top: 10px; }
@media (max-width: 700px) { .wrow { flex-direction: column; gap: var(--air-s); } .tile, .wrow.one .tile { flex: none !important; width: 100%; } }
/* Left / right with equal sizes and the text beside (her ask 2026-11-16) */
.wgrid:has(.alt) { gap: var(--air); }
.tile.alt { display: flex; align-items: flex-end; gap: 36px; width: 100%; }
.tile.alt.r { flex-direction: row-reverse; text-align: right; }
.tile.alt .ph { position: relative; display: block; flex: none; max-width: 62%; }
.tile.alt img { display: block; width: auto; height: 62vh; max-width: 100%; object-fit: contain; }
.tile.alt .side { max-width: 280px; }
.tile.alt .lab { margin-top: 0; }
@media (max-width: 700px) {
  .tile.alt, .tile.alt.r { flex-direction: column; align-items: flex-start; text-align: left; gap: 10px; }
  .tile.alt .ph { max-width: 100%; width: 100%; }
  .tile.alt img { width: 100%; height: auto; max-width: 100%; }
}
/* One project per row (her word): every cover whole at one shared height, centred, caption under, big air between */
.wgrid:has(.solo) { gap: var(--air); }
.wrow.solo { justify-content: center; }
.wrow.solo .tile { flex: none !important; width: auto; }
.wrow.solo .tile img { width: auto; height: auto; max-width: 100%; max-height: 72vh; }
@media (max-width: 700px) { .wrow.solo .tile { width: 100%; } .wrow.solo .tile img { width: 100%; max-height: none; } }

/* Project page: caption first, small; pictures whole in a rhythm of pair, single left, single right, with air between */
.pcap { margin: 0 var(--side) var(--air-s); }
/* Round 7: the Creative Profile system. One block, one even gap both ways, pairs at one height, nothing scattered. */
.gallery { padding: 0 var(--side); display: flex; flex-direction: column; gap: var(--gap); max-width: calc(1100px + 2 * var(--side)); margin: 0 auto; }
.grow { display: flex; gap: var(--gap); width: 100%; }
.grow img { width: 100%; height: auto; display: block; }
.grow figure { min-width: 0; }
.grow.one figure { flex: 1; }
.grow.one.tall { justify-content: center; }
.grow.one.tall figure { flex: none; width: calc(50% - var(--gap) / 2); }
.pcap { max-width: 1100px; }
.label.pcap { margin-bottom: var(--air-s); }
/* Modelling: one block per photographer, credit under its block, air between blocks */
.gallery.grp + .gallery.grp { margin-top: var(--air-s); }
.gcred { margin-top: 2px; }
@media (min-width: 1100px) { .pcap { margin-left: max(var(--side), calc((100% - 1100px) / 2)); } }
.pnav { display: flex; justify-content: space-between; padding: var(--air) var(--side) 0; gap: 20px; }
.pnav a:last-child { text-align: right; }
.pnav a .i { display: block; margin-top: 4px; }
@media (max-width: 700px) { .grow.one.tall figure { width: 75%; } }

/* Services: Profile page 3 */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; padding: 0 var(--side); align-items: start; }
.svc figure .lab { margin-top: 12px; }
.svc .blocks > div { margin-bottom: var(--air-s); max-width: 460px; }
.svc .blocks .cap { display: block; margin-bottom: 6px; font-size: 10px; }
@media (max-width: 700px) { .svc { grid-template-columns: 1fr; gap: var(--air-s); } }

/* About: Profile page 2 */
/* Round 5: pages that open on a picture start closer to the header */
.top.tight { padding-top: calc(var(--air-s) + 60px); }
@media (max-width: 700px) { .top.tight { padding-top: calc(var(--air-s) + 50px); } }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; padding: 0 var(--side); align-items: center; }
/* Both sides of the lens: two pictures, staggered, with air */
.sides { display: grid; grid-template-columns: 40% 46%; justify-content: space-between; padding: var(--air) var(--side) 0; align-items: start; }
.sides .b { margin-top: 22vh; }
.sides .lab { margin-top: 12px; }
.onward { display: flex; gap: 30px; justify-content: center; padding-top: var(--air); }
@media (max-width: 700px) { .sides { grid-template-columns: 1fr; gap: var(--air-s); padding-top: var(--air); } .sides .b { margin-top: 0; width: 82%; margin-left: auto; } }
/* Contact opens on a big picture beside the details */
.chero { display: grid; grid-template-columns: 50% 1fr; gap: 7vw; padding: 0 var(--side) var(--air); align-items: center; }
.chero figure img { width: auto; max-width: 100%; max-height: 80vh; height: auto; }  /* whole, never cropped (Profile rule) */
.chero figure .lab { margin-top: 10px; }
.chero .info { padding: 0; grid-template-columns: 1fr; gap: 44px; }
.chero .info li:first-child a { font-size: 18px; }
@media (max-width: 700px) { .chero { grid-template-columns: 1fr; gap: var(--air-s); } .chero figure img { max-height: none; width: 100%; } }
.about figure { width: 82%; }
.about figure .lab { margin-top: 8px; text-align: right; font-size: 11px; }
.about .sym { width: 28px; height: auto; margin-bottom: var(--air-s); }
.about .txt p.i { max-width: 440px; margin-bottom: 16px; }
.about .base { margin-top: var(--air-s); letter-spacing: .08em; }
@media (max-width: 700px) { .about { grid-template-columns: 1fr; gap: var(--air-s); } .about figure { width: 100%; } }

/* Contact: Profile page 11, then the film strip as the closer */
.info { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 8vw; padding: 0 var(--side) var(--air); max-width: 1000px; }
.info .cap { margin-bottom: 10px; font-size: 10px; }
.info ul { list-style: none; }
.info li { line-height: 1.8; }
.strip { position: relative; }
.sstage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; padding: 110px 0 40px; }
.track { display: flex; gap: 6vw; margin: auto 0; padding-left: var(--side); will-change: transform; align-items: flex-start; }
.track figure { flex: none; }
.track img { height: 48vh; width: auto; max-width: none; }
.track .lab { margin-top: 12px; }
.prog { margin: 0 var(--side); height: 1px; background: var(--line); position: relative; }
.prog i { position: absolute; left: 0; top: 0; height: 1px; width: 0; background: var(--fg); }
@media (max-width: 700px) { .info { grid-template-columns: 1fr; gap: 30px; } .sstage { padding: 80px 0 26px; } .track { gap: 14vw; } .track img { height: 44vh; } }

/* Terms: like the legal documents */
.terms { padding: 0 var(--side); max-width: calc(640px + var(--side)); }
.terms .lead { margin-bottom: var(--air-s); }
.terms .cl { margin-bottom: 26px; }
.terms .cl .cap { display: block; font-size: 10px; margin-bottom: 4px; }
.terms .cl .num { margin-right: 10px; }
.terms .ver { margin-top: var(--air-s); font-size: 12px; }

/* Mockup label (not part of the design) */
.mock { position: fixed; left: 10px; bottom: 10px; z-index: 60; font: 11px/1.3 system-ui, sans-serif; letter-spacing: 0;
  background: rgba(0,0,0,.55); color: #fff; padding: 5px 8px; border-radius: 4px; pointer-events: none; }

/* Review numbers (her ask 2026-11-16), only present while REVIEW = True in build.py */
figure, .tile { position: relative; }
.rn { position: absolute; top: 8px; left: 8px; z-index: 5; min-width: 30px; padding: 3px 8px; border-radius: 14px; text-align: center;
  background: #E05028; color: #fff; font: 700 14px/1.4 "Object Sans", sans-serif; box-shadow: 0 1px 4px rgba(0,0,0,.35); pointer-events: none; }

/* Closing section, final word (placed last so older footer rules cannot override it) */
footer.foot p.f-wm { font-size: clamp(34px, 5.2vw, 76px); text-align: left; margin: 0; }
footer.foot { padding: 14vh var(--side) 48px; }
@media (max-width: 700px) { footer.foot { padding: 10vh var(--side) 40px; } footer.foot p.f-wm { font-size: 34px; } }

/* Her words 2026-11-16: "logo too big": the closing wordmark back near the header's size */
footer.foot p.f-wm { font-size: 22px; }
@media (max-width: 700px) { footer.foot p.f-wm { font-size: 20px; } }
footer.foot .f-top { align-items: baseline; padding-bottom: 7vh; }
/* her words 2026-11-16: "you can make the logo a tad bigger now" */
footer.foot p.f-wm { font-size: 28px; }
@media (max-width: 700px) { footer.foot p.f-wm { font-size: 24px; } }
/* her words 2026-11-16: "make my logo on the navbar a little bigger" (17 -> 21 px desktop, 15 -> 18 px phone) */
.hdr .wm { font-size: 21px; }
@media (max-width: 700px) { .hdr .wm { font-size: 18px; } }

/* Her words 2026-11-16: "when someone enables dark mode the closing sections should stay dark too, not reverse".
   Fixed brand colours (Dark ground, Paper text) in both modes; in dark mode a hairline marks where it starts. */
footer.foot { background: #171514; color: #EFEBE4; }
footer.foot .f-top { border-bottom-color: rgba(239, 235, 228, 0.25); }
:root[data-theme="dark"] footer.foot { border-top: 1px solid rgba(255, 255, 255, 0.18); }
footer.foot p a { border-bottom: 0; }  /* same in both modes */

/* About: the sea backdrop above the closing section (her idea 2026-11-16). Full width, picture 4 framed on the
   glistening sea at the top of the frame, 50% opacity, sitting directly on the dark closing band. */
.seaband { margin: var(--air) 0 calc(-1 * var(--air) * 1.3); height: 42vh; overflow: hidden; }
.seaband img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; opacity: .5; display: block; }
.seaband .rn { display: none; }
@media (max-width: 700px) { .seaband { height: 26vh; } }
/* phone: zoom in so the band shows only the glistening sea, not the camera */
@media (max-width: 700px) { .seaband { height: 22vh; } .seaband img { width: 220%; max-width: none; margin-left: -70%; height: auto; } }
/* her words 2026-11-16: "make the crop lower? so the camera/nose is visible? maybe thicker too?" */
.seaband { height: 62vh; }
.seaband img { object-position: 50% 16%; }
@media (max-width: 700px) { .seaband { height: 38vh; } .seaband img { width: 140%; margin-left: -20%; height: 100%; object-fit: cover; object-position: 50% 14%; } }
/* band picture now 70 (wide golden ripples): show it centred, no zoom tricks needed */
.seaband { height: 50vh; }
.seaband img { object-position: 50% 50%; }
@media (max-width: 700px) { .seaband { height: 30vh; } .seaband img { width: 100%; margin-left: 0; object-position: 50% 50%; } }
/* her words 2026-11-16: "can you make the band thicker?" */
.seaband { height: 75vh; }
@media (max-width: 700px) { .seaband { height: 45vh; } }
/* her words 2026-11-16: "make the band a little more visible" (50% -> 70%) */
.seaband img { opacity: .7; }
/* her pick 2026-11-16: "lets do 1. white symbol": her white symbol (work/docs/assets/symbol/symbol-light.png), centred,
   full strength, nothing next to it (brand rule: nothing touches the symbol) */
.seaband { position: relative; }
.seaband img.sb-sym { position: absolute; left: 50%; top: 50%; width: 64px; height: auto; transform: translate(-50%, -50%);
  opacity: 1; object-fit: contain; margin: 0; }
@media (max-width: 700px) { .seaband img.sb-sym { width: 48px; margin-left: 0; } }
/* her words 2026-11-16: "i want it smaller" (64 -> 40 px desktop, 48 -> 32 px phone) */
.seaband img.sb-sym { width: 40px; }
@media (max-width: 700px) { .seaband img.sb-sym { width: 32px; } }

/* her words 2026-11-16: "remove the changing titles from homepage, no need" (the project caption bottom left of the cover) */
#capline { display: none; }

/* her catch 2026-11-16: a thin light line between the band and the closing section on the phone (rounding of the two
   opposite margins). The band now sits flush on the closing section with no margins to round. */
.seaband { margin-bottom: 0; }
body[data-page="about"] footer.foot { margin-top: 0; }
body[data-page="about"] main { padding-bottom: 0; margin-bottom: 0; }

/* 2026-11-16 check after her catch on About: the closing section started at a fractional pixel on some phones (soft grey
   edge row), and in dark mode it had a grey hairline on top. Whole-pixel start, no hairline. */
footer.foot { margin-top: 240px; }
@media (max-width: 700px) { footer.foot { margin-top: 128px; } }
:root[data-theme="dark"] footer.foot { border-top: 0; }
body[data-page="about"] footer.foot { margin-top: 0; }
/* (2026-11-17: removed the general img[width][height] height:auto rule; it overrode set heights such as the Contact strip and the Work covers. Pictures keep proportion through their own rules.) */

/* Home list as full-width rows (her yes 2026-11-16): label above, then name / line / year between thin lines */
.homework { grid-template-columns: 1fr; gap: 28px; }
.homework ul.hrows { max-width: none; }
.homework .hrow { display: grid; grid-template-columns: minmax(180px, 1.1fr) 2.4fr 90px; gap: 32px; align-items: baseline; padding: 18px 0; }
.homework .hrow span:last-child { text-align: right; }
@media (max-width: 700px) {
  .homework .hrow { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .homework .hrow span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .homework .hrow span:last-child { grid-row: 1; grid-column: 2; }
}
.tile.alt .ph { overflow: hidden; }  /* a zoomed cover stays inside its frame */

/* 2026-11-17 her catch "page about and page services has broken down": since pictures carry width/height, any picture
   without a set height must keep its proportion. :where() keeps this weaker than every set height (strip, covers, band). */
:where(img[width][height]) { height: auto; }

/* 55 on the phone only: the shape of the computer frame, so the phone shows the crop she approved on the computer */
/* 2026-11-18, her words: "i want it exactly the same crop placement as the computer view". Her computer (1920x1080 at 150%) shows
   this cover in a 3:2 box; the phone used 682/558 (the box of a big 1440x900 screen), which showed more. The box is now 3:2 on
   every screen, so the crop she approved is the same everywhere. */
.tile.alt img[src*="me-14"] { aspect-ratio: 3 / 2 !important; width: 100%; height: auto; max-width: calc(62vh * 1.5); }
@media (max-width: 700px) { .tile.alt img[src*="me-14"] { max-width: 100%; } }

/* About on the phone only (her ask 2026-11-17): the portrait becomes a soft background behind the text, a little haze. */
@media (max-width: 700px) {
  .about { position: relative; display: block; padding: 0; margin: 0 0 var(--air-s); overflow: hidden; }
  .about figure { position: absolute; inset: 0; width: 100% !important; margin: 0; z-index: 0; }
  .about figure img { width: 100%; height: 100% !important; object-fit: cover; object-position: 50% 40%; opacity: .32; }
  .about figure .lab { position: absolute; right: var(--side); bottom: 14px; margin: 0; z-index: 2; opacity: .8; }
  .about .txt { position: relative; z-index: 1; padding: 16vh var(--side) 16vh; }
}

/* Contact, her words 2026-11-17: email not bigger than the tag; thinner gaps between the strip pictures */
.chero .info li:first-child a { font-size: inherit; }
.track { gap: 2vw; }
@media (max-width: 700px) { .track { gap: 4vw; } }

/* Services, her words 2026-11-17: "make image in services smaller so its the same height as the text". Desktop: the picture
   is scaled (never cropped) to the height of the three service blocks; caption under it. Phone unchanged. */
@media (min-width: 701px) {
  .svc { align-items: stretch; }
  .svc .blocks > div:last-of-type { margin-bottom: 0; }
  .svc figure { position: relative; min-height: 0; }
  .svc figure img { position: absolute; top: 0; left: 0; height: calc(100% - 34px); width: auto; max-width: 100%; object-fit: contain; object-position: left top; }
  .svc figure .lab { position: absolute; left: 0; bottom: 0; margin: 0; }
}

/* Project form on Contact (2026-11-17): calm, Profile style, thin lines, no boxes */
.pform { padding: var(--air) var(--side) 0; max-width: calc(820px + 2 * var(--side)); }
.pform > .cap { margin-bottom: var(--air-s); }
.pform form { display: flex; flex-direction: column; gap: 28px; }
.pform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.pform label { display: flex; flex-direction: column; gap: 8px; }
.pform label .cap { font-size: 10px; }
.pform input, .pform select, .pform textarea { font: inherit; font-size: 14px; color: var(--fg); background: transparent; border: 0;
  border-bottom: 1px solid var(--line); padding: 8px 0; border-radius: 0; outline: none; width: 100%; }
.pform select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.pform select option { color: #171514; }
.pform textarea { resize: vertical; border: 1px solid var(--line); padding: 10px 12px; }
.pform input:focus, .pform select:focus, .pform textarea:focus { border-color: var(--fg); }
.pform button { align-self: flex-start; background: none; border: 1px solid var(--fg); color: var(--fg); padding: 12px 30px; cursor: pointer; }
.pform button:hover { background: var(--fg); color: var(--bg); }
.pform .hp { position: absolute; left: -9999px; }
.pform .pnote:empty { display: none; }
@media (max-width: 700px) { .pform .row2 { grid-template-columns: 1fr; } }

/* form above the strip and smaller (her words 2026-11-17) */
.pform { padding: 0 var(--side) var(--air); max-width: calc(560px + 2 * var(--side)); }
.pform > .cap { margin-bottom: 26px; }
.pform form { gap: 18px; }
.pform .row2 { gap: 18px 28px; }
.pform label { gap: 4px; }
.pform input, .pform select { padding: 5px 0; font-size: 13px; }
.pform textarea { font-size: 13px; padding: 8px 10px; }
.pform textarea[rows] { height: 96px; }
.pform button { padding: 9px 22px; font-size: 10px; }

/* About: the black symbol after the portrait and text (her ask 2026-11-17); white in dark mode. Space before the closing. */
.aboutsym { display: flex; justify-content: center; padding: var(--air) 0 0; }
.aboutsym img { width: 30px; height: auto; }
.aboutsym .sym-l { display: none; }
:root[data-theme="dark"] .aboutsym .sym-d { display: none; }
:root[data-theme="dark"] .aboutsym .sym-l { display: block; }
.aboutsym .rn { display: none; }
body[data-page="about"] footer.foot { margin-top: var(--air); }

/* her words 2026-11-17: "too much blank space between start a project and film strip" */
.pform { padding-bottom: 0; }
.sstage { padding-top: 90px; }
.track { margin: 4vh 0 auto; }
@media (max-width: 700px) { .sstage { padding-top: 76px; } .track { margin: 3vh 0 auto; } }
/* About on the phone, her words 2026-11-17: "enlarged so it takes up more space, its okay if its cropped on the sides" */
@media (max-width: 700px) { .about { min-height: 92vh; display: flex; align-items: center; } .about .txt { padding: 12vh var(--side); } }

/* her words 2026-11-17: "too much white blank space below film strip, cut it in half" and "start a project in the middle on the computer" */
.sstage { height: auto; padding-bottom: 0; }
.track { margin: 4vh 0 0; }
.prog { margin-top: 32px; }
body[data-page="contact"] footer.foot { margin-top: 200px; }
@media (max-width: 700px) { body[data-page="contact"] footer.foot { margin-top: 110px; } }
@media (min-width: 701px) {
  .pform { margin-left: auto; margin-right: auto; }
  .pform > .cap { text-align: center; }
  .pform button { align-self: center; }
  .pform .pnote { text-align: center; }
}

/* 2026-11-17 second try at "cut the blank below the strip in half": the stage stays one screen tall (so nothing empty shows
   while it moves), the pictures are larger so they fill it, and the closing section comes sooner. */
.sstage { height: 100vh; }
.track img { height: 62vh; }
body[data-page="contact"] footer.foot { margin-top: 60px; }
@media (max-width: 700px) { .track img { height: 58vh; } body[data-page="contact"] footer.foot { margin-top: 40px; } }
/* "Start a project" button at the bottom of Work and Services, to the form on Contact (her ask 2026-11-17) */
.cta { display: flex; justify-content: center; padding: var(--air) var(--side) 0; }
.cta a { border: 1px solid var(--fg); padding: 12px 28px; font-size: 10px; transition: background .2s, color .2s; }
.cta a:hover { background: var(--fg); color: var(--bg); }
#start { scroll-margin-top: 110px; }  /* land on the form below the top bar */

/* About richer (her yes 2026-11-17): facts line under "Crete, Greece", and the camera picture under the text column */
.about .facts { margin-top: 14px; line-height: 1.9; }
.aboutcam { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; padding: var(--air-s) var(--side) 0; }
.aboutcam figure { max-width: 520px; }
.aboutcam figure .lab { margin-top: 8px; text-align: right; font-size: 11px; }
@media (max-width: 700px) { .aboutcam { grid-template-columns: 1fr; padding-top: 0; } .aboutcam > span { display: none; } }

/* home: symbol closes the Work list (her ask 2026-11-17), less empty space before the closing section */
.homesym { padding-top: 14vh; }
body[data-page="home"] footer.foot { margin-top: 14vh; }
/* Send button, her word "wonky": the letter spacing pushed the word left; balanced now, same height as a field line */
.pform button { padding: 10px 20px 10px calc(20px + 0.18em); line-height: 1; display: inline-flex; align-items: center; justify-content: center; min-width: 96px; }
.svcsym { padding-top: 12vh; }
body[data-page="services"] footer.foot { margin-top: 14vh; }

/* About, her words 2026-11-17: "i dont like how its empty on the left on the computer" -> picture 45 centred on its own;
   "on the phone symbol has a little too much space" -> tighter around the symbol on phones */
.aboutcam { display: flex; justify-content: center; }
.aboutcam > span { display: none; }
.aboutcam figure { width: 46%; max-width: 620px; }
@media (max-width: 700px) {
  .aboutcam figure { width: 100%; }
  body[data-page="about"] .aboutsym { padding-top: 7vh; }
  body[data-page="about"] footer.foot { margin-top: 7vh; }
  .homesym, .svcsym { padding-top: 8vh; }
}
.ctsym { padding-top: 6vh; }
body[data-page="contact"] footer.foot { margin-top: 10vh; }
@media (max-width: 700px) { .ctsym { padding-top: 5vh; } body[data-page="contact"] footer.foot { margin-top: 7vh; } }

/* her words 2026-11-17: 45 bigger on the computer; the Contact symbol "not centered" (it sat low: more space above than
   below) and too much blank on the phone. The space left under the strip inside its screen now equals the space under
   the symbol, so the symbol sits in the middle; phone pictures a bit taller so there is less blank. */
@media (min-width: 701px) { .aboutcam figure { width: 62%; max-width: 860px; } }
.ctsym { padding-top: 0; }
body[data-page="contact"] footer.foot { margin-top: calc(34vh - 123px); }
@media (max-width: 700px) {
  .track img { height: 64vh; }
  .ctsym { padding-top: 0; }
  body[data-page="contact"] footer.foot { margin-top: calc(33vh - 109px); }
}

/* "For" choice, her words 2026-11-17: no "ugly old computer blue boxes". Four quiet choices in her type, no dropdown. */
.pform .pfor { display: flex; flex-direction: column; gap: 10px; }
.pform .pfor > .cap { font-size: 10px; }
.pform .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pform .chips label { display: inline-flex; flex-direction: row; gap: 0; cursor: pointer; }
.pform .chips input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pform .chips span { border: 1px solid var(--line); padding: 7px 14px; font-size: 13px; transition: border-color .2s, background .2s, color .2s; }
.pform .chips label:hover span { border-color: var(--fg); }
.pform .chips input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pform .chips input:focus-visible + span { outline: 1px solid var(--fg); outline-offset: 2px; }
.pform .row2:has(.pfor) { grid-template-columns: 1fr; }
/* phone: less blank around the Contact symbol (taller strip pictures, same space above and below the symbol) */
@media (max-width: 700px) { .track img { height: 72vh; } body[data-page="contact"] footer.foot { margin-top: calc(25vh - 109px); } }

/* audit 2026-11-17: as the cover scrolls away, its bottom line rose into the top bar and overlapped the menu. It fades first. */
.over .br { transition: opacity .25s; }
body.coverend .over .br, body.coverend .over .name { opacity: 0; }
.rates { text-align: center; padding-top: var(--air-s); margin-bottom: -6vh; }  /* her yes 2026-11-17, words from her Creative Profile */

/* 2026-11-18, her yes: one line per consulting product on Services; the privacy line under the form */
.svc .prods { display: block; margin-top: 12px; }
.svc .prods > span { display: block; margin-top: 6px; }
.pform .privacy { margin-top: 14px; }
.terms .cl { scroll-margin-top: 110px; }
.pform .privacy { text-align: center; }

/* HOME GALLERY, her ask 2026-11-18: 3 rows of 3 under the Work list, one shared height per row, pictures whole */
.homegal { padding: var(--air-s) var(--side) 0; display: flex; flex-direction: column; gap: var(--gap); }
.homegal a { display: block; min-width: 0; }
.homegal img { width: 100%; height: auto; display: block; transition: opacity .3s; }
.homegal a:hover img { opacity: .85; }

/* her words 2026-11-18 "looks too small" on the phone: each row's widest picture full width on top, the other two side by side under it */
@media (max-width: 700px) {
  .homegal .grow { flex-wrap: wrap; }
  .homegal .grow a.wide { order: -1; flex: 0 0 100% !important; }
}

/* 2026-11-18, her words: "can you make picture in services big relatively to the text just like about page is?"
   Replaces the 2026-11-17 "same height as the text" rule above: the picture is shown like the About portrait
   (82% of its column, whole), the service text centred beside it. */
@media (min-width: 701px) {
  .svc { align-items: center; }
  .svc figure { position: static; width: 82%; }
  .svc figure img { position: static; width: 100%; height: auto; max-width: 100%; }
  .svc figure .lab { position: static; margin-top: 12px; }
}
/* then her words 2026-11-18 'it looks smaller': same size as About in numbers, but the Services text is longer, so the picture fills its whole column */
@media (min-width: 701px) { .svc figure { width: 100%; } }
