/* Connor Feeney portfolio, homepage prototype (Variation A).
   Per-project sizes, positions and hover values are grouped under "PRODUCTS" so they are easy to tune. */
@font-face{font-family:"Inter";src:url("fonts/Inter-Regular.otf") format("opentype");font-weight:400;font-display:swap}
@font-face{font-family:"Inter";src:url("fonts/Inter-Medium.otf") format("opentype");font-weight:500;font-display:swap}
@font-face{font-family:"Inter";src:url("fonts/Inter-Bold.otf") format("opentype");font-weight:700;font-display:swap}
@font-face{font-family:"Inter Display";src:url("fonts/InterDisplay-Bold.otf") format("opentype");font-weight:700;font-display:swap}

:root{
  --ground:#F1F0ED; --ink:#111; --grey:#7D7D7D; --ghost:#E4E4E1; --line:#BEBEBE; --orange:#E26018;
  --max:clamp(1200px,71vw,1420px);   /* content width grows a little on large screens (was 1200px) */ --pad:clamp(20px,8.33vw,120px);
  --gap:124px;            /* vertical space between projects */
  --gutter:clamp(72px,4.5vw,86px);          /* space between a frame and its text */
  --ease:cubic-bezier(.2,.7,.2,1); --dur:300ms;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:clip}
body{margin:0;background:var(--ground);color:var(--ink);font-family:"Articulat CF","Inter",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.45;overflow-x:clip;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
h1,h2,h3,p{margin:0}
main,.site-header,.site-footer{max-width:calc(var(--max) + 2*var(--pad));margin:0 auto;padding-left:var(--pad);padding-right:var(--pad)}

/* Header */
.site-header{display:flex;justify-content:space-between;align-items:flex-start;padding-top:32px}
.wordmark{display:flex;flex-direction:column;font-weight:700;font-size:12.5px;line-height:15px;letter-spacing:.01em}
.dots{display:flex;gap:4px;margin-top:5px}
.dots i{width:7px;height:7px;border:1px solid var(--ink);border-radius:50%;transition:background var(--dur) var(--ease),border-color var(--dur) var(--ease)}
.dots i.on{background:var(--orange);border-color:var(--orange)}
nav{display:flex;font-size:12.5px;text-transform:uppercase;letter-spacing:.02em;margin-top:6px}
nav a{color:#969696;padding:2px 18px;border-left:1px solid var(--line)}
nav a:first-child{border-left:0}
nav a:last-child{padding-right:0}
nav a.is-current,nav a:hover,nav a:focus-visible{color:var(--ink)}

/* Intro */
.intro{padding:64px 0 42px}
.intro h1{font-family:"Inter Display","Inter",sans-serif;font-size:40px;line-height:1.1;letter-spacing:-.015em}
.intro p{color:var(--grey);margin-top:8px}

/* Gallery */
.gallery{display:flex;flex-direction:column;gap:var(--gap);overflow-x:clip}
.project{display:grid;align-items:end;column-gap:var(--gutter);outline:none}
.project.left.wide{grid-template-columns:57.5% 1fr}
.project.left.tall{grid-template-columns:40.5% 1fr}
.project.right.wide{grid-template-columns:1fr 57.5%}
.project.right.tall{grid-template-columns:1fr 40.5%}
.project.right .plate{grid-column:2;grid-row:1}
.project.right .meta{grid-column:1;grid-row:1;text-align:right;align-items:flex-end}

.plate{position:relative}
.wide .plate{aspect-ratio:690/460}
.tall .plate{aspect-ratio:486/560}
.plate::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.05;mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E")}
/* The frame never moves. .cut crops the outer and bottom edges and lets the product escape on the inner and top edges. */
.cut{position:absolute;inset:0;z-index:1}
.left .cut{clip-path:inset(-160px -160px 0 0)}
.right .cut{clip-path:inset(-160px 0 0 -160px)}
.left .cut.cut-top{clip-path:inset(0 -160px 0 0)}
/* --e = hover (0 to 1). --a = how far the product is out: hover, or a small rest amount near the middle of the screen.
   --d = where the project sits on screen (-1 below centre, 1 above), used for the scroll drift. */
.project{--e:0;--a:0;--d:0;--px:0;--py:0;--lean:3.5px;--drift:10px;--narrow:10%;--tx:0px;--ty:0px;--s:.09}
.plate::before{content:"";position:absolute;inset:0;background:var(--bg)}
.left .plate::before,.left .plate::after{clip-path:inset(0 calc(var(--narrow)*var(--e)) 0 0)}
.right .plate::before,.right .plate::after{clip-path:inset(0 0 0 calc(var(--narrow)*var(--e)))}
.product{position:absolute;height:auto;max-width:none;will-change:transform;
  transform:translate3d(calc(var(--tx)*var(--a) + var(--px)*var(--lean)*var(--e)),calc(var(--ty)*var(--a) + var(--py)*calc(var(--lean)*.7)*var(--e) - var(--d)*var(--drift)),0) scale(calc(1 + var(--s)*var(--a)));
  filter:drop-shadow(-12px 22px 26px rgba(20,22,26,calc(.30*var(--a))))}
.project.right .product{filter:drop-shadow(12px 22px 26px rgba(20,22,26,calc(.30*var(--a))))}

/* Text */
.meta{display:flex;flex-direction:column;align-items:flex-start}
.rule{display:none}
.right .rule{transform-origin:right}
.num{font-family:"Inter Display","Inter",sans-serif;font-weight:700;font-size:clamp(72px,7.8vw,112px);line-height:.86;color:color-mix(in srgb,var(--ink) calc(var(--e)*30%),var(--ghost));letter-spacing:-.02em;margin:0 -4px 14px}
.meta h2{font-family:"Inter Display","Inter",sans-serif;font-size:24px;line-height:1.15;letter-spacing:-.01em}
.meta{transform:translateX(calc(var(--e)*-6px))}
.right .meta{transform:translateX(calc(var(--e)*6px))}
.kind{color:var(--grey);font-size:13.5px;margin-top:5px}
/* The description block opens upward on hover, lifting the number and title */
.reveal{overflow:hidden;max-height:calc(var(--e)*150px);opacity:var(--e)}
.desc{color:#2E2E2E;font-size:15px;line-height:1.45;margin-top:12px;max-width:38ch}
.more{display:flex;gap:18px;align-items:baseline;margin-top:10px;font-size:12.5px;color:var(--grey);opacity:.85;flex-wrap:wrap}
.right .more{justify-content:flex-end}
.more .view{display:inline-block;color:var(--ink);opacity:.85;font-weight:500;white-space:nowrap;transform:translateX(calc((1 - var(--e))*-10px));transform-origin:left center;transition:scale .35s var(--ease),opacity .35s var(--ease),color .35s var(--ease)}
.right .more .view{transform-origin:right center}
.more .view:hover{scale:1.08;opacity:1;color:#000}
@media (prefers-reduced-motion:reduce){.more .view{transition:none}.more .view:hover{scale:1}}

/* ---------- PRODUCTS: backgrounds, rest position, hover ---------- */
/* Plate backgrounds: "Signature bloom" (2026-11-13). Each plate is tinted from its product, with a soft white bloom (--gx, --gy) and a darker fall-off at the bottom.
   Previous plain greys are kept in Future_Ideas/plate_backgrounds.html as option 01. */
.plate-selfscope{--gx:46%;--gy:34%;--bg:radial-gradient(60% 55% at var(--gx) var(--gy),rgba(255,255,255,.72) 0%,transparent 72%),radial-gradient(90% 80% at 100% 100%,rgba(150,180,222,.58) 0%,transparent 70%),radial-gradient(70% 70% at 100% 0%,rgba(200,190,230,.5) 0%,transparent 70%),radial-gradient(130% 95% at 50% 125%,rgba(0,0,0,.22),transparent 62%),linear-gradient(200deg,#e6e6ee,#c8cdd8)} /* option 4, blue with soft lilac (Connor 2026-11-16); old in Future_Ideas/styles_before_selfscope_gradient_backup.css */
.plate-aeg{--gx:58%;--gy:40%;--bg:radial-gradient(60% 55% at var(--gx) var(--gy),rgba(255,255,255,.72) 0%,transparent 72%),radial-gradient(90% 80% at 0% 100%,rgba(232,170,130,.42) 0%,transparent 70%),radial-gradient(130% 95% at 50% 125%,rgba(0,0,0,.22),transparent 62%),linear-gradient(160deg,#e9e3de,#d2c7be)}
.plate-fractalight{--gx:70%;--gy:62%;--bg:radial-gradient(60% 55% at var(--gx) var(--gy),rgba(255,255,255,.72) 0%,transparent 72%),radial-gradient(90% 80% at 50% 110%,rgba(214,188,148,.5) 0%,transparent 70%),radial-gradient(130% 95% at 50% 125%,rgba(0,0,0,.22),transparent 62%),linear-gradient(200deg,#e7e5e1,#cdcac5)}
.plate-orbit{--gx:74%;--gy:30%;--bg:radial-gradient(60% 55% at var(--gx) var(--gy),rgba(255,255,255,.72) 0%,transparent 72%),radial-gradient(90% 80% at 100% 100%,rgba(236,192,162,.4) 0%,transparent 70%),radial-gradient(130% 95% at 50% 125%,rgba(0,0,0,.22),transparent 62%),linear-gradient(160deg,#e6e6e3,#cbcbc7)}
.plate-fluvium{--gx:72%;--gy:52%;--bg:radial-gradient(60% 55% at var(--gx) var(--gy),rgba(255,255,255,.72) 0%,transparent 72%),radial-gradient(90% 80% at 0% 100%,rgba(212,182,138,.5) 0%,transparent 70%),radial-gradient(130% 95% at 50% 125%,rgba(0,0,0,.22),transparent 62%),linear-gradient(200deg,#e8e2d9,#d0c5b6)}

.p-selfscope{width:97.4%;left:0;top:10.6%;transform-origin:0% 60%}
.p-aeg{width:81.7%;left:10.4%;bottom:-2.2%;transform-origin:62% 100%}
.p-fractalight{width:97.9%;left:0;top:-27.1%;transform-origin:0% 22%}
.p-orbit{width:120%;left:4.1%;top:1.6%;transform-origin:100% 80%}
.p-fluvium{width:87.2%;left:0;bottom:-2.2%;transform-origin:0% 100%}

/* Hover pop, set midway 2026-11-13 after a larger trial (was selfscope .075, aeg .10, fractalight .10, orbit .07, fluvium .11) */
#selfscope{--tx:0px;--ty:-15px;--s:.092}
#aeg{--tx:-29px;--ty:0px;--s:.125}
#fractalight{--tx:0px;--ty:-10px;--s:.112}
#orbit-1{--tx:0px;--ty:-15px;--s:.085}
#fluvium-mensa{--tx:0px;--ty:0px;--s:.125}
.project:focus-visible .plate{outline:2px solid var(--ink);outline-offset:6px}

/* Other Work, About, Contact */
.other{padding-top:calc(var(--gap) + 16px)}
.other>h2,.about h2,.site-footer h2{font-family:"Inter Display","Inter",sans-serif;font-size:24px;letter-spacing:-.01em}
.other-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px;margin-top:24px;transition:grid-template-columns .6s var(--ease)}
.slot{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;background:linear-gradient(200deg,#E9E9E6,#D9D9D6);color:#9A9A9A;font-size:12.5px}
.tile h3{font-size:15px;margin-top:12px}
.about{display:grid;grid-template-columns:40.5% 1fr;gap:var(--gutter);align-items:end;padding-top:var(--gap)}
.slot.portrait{aspect-ratio:1173/1004}
.slot{overflow:hidden}.slot img{width:100%;height:100%;object-fit:cover;display:block}
.other-grid .slot{aspect-ratio:auto;height:calc((min(100vw - 2*var(--pad),var(--max)) - 48px)/3*.667)}
.other-grid .slot img{transition:transform .6s var(--ease)}
.other-grid .tile{min-width:0}
.bio{max-width:62ch;margin-top:12px;color:#333}
.placeholder{color:#9A9A9A;margin-top:10px}
.site-footer{display:flex;justify-content:space-between;align-items:flex-end;padding-top:var(--gap);padding-bottom:40px}
.copy{color:var(--grey);font-size:12.5px}

/* Touch and small screens: one column, descriptions always visible, no pop-out */
@media (hover:none){.project{--e:1!important;--a:0!important;--px:0!important;--py:0!important;--narrow:0%;--drift:8px}.product{filter:none!important}.num{color:var(--ghost)}.meta,.right .meta{transform:none}.reveal{max-height:none}.more .view{transform:none}}
@media (max-width:760px){
  :root{--gap:64px}
  .intro{padding:40px 0 28px}.intro h1{font-size:32px}
  .project,.project.left.wide,.project.left.tall,.project.right.wide,.project.right.tall{grid-template-columns:1fr;row-gap:18px}
  .project.right .plate,.project.right .meta{grid-column:1}
  .project.right .plate{grid-row:1}.project.right .meta{grid-row:2;text-align:left;align-items:flex-start}
  .cut,.left .cut,.right .cut,.left .cut.cut-top{clip-path:inset(0)}
  .num{font-size:56px;margin-bottom:8px}
  .meta h2{font-size:21px}
  .project{--e:1!important;--a:0!important;--px:0!important;--py:0!important;--narrow:0%;--drift:8px}.product{filter:none!important}.num{color:var(--ghost)}.meta,.right .meta{transform:none}.reveal{max-height:none}.more .view{transform:none}.rule{display:none}
  .other-grid{grid-template-columns:1fr}
  .about{grid-template-columns:1fr;row-gap:20px}
  .site-footer{flex-direction:column;align-items:flex-start;gap:28px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.dots i{transition:none}.project{--drift:0px;--lean:0px}}

/* Cursor: the normal pointer, with a slow ring that trails it. Only on mouse devices. */
.cursor-ring,.cursor-dot{display:none}
@media (hover:hover) and (pointer:fine){
  html.has-cursor .cursor-dot{display:none!important}
  html.has-cursor .cursor-ring,html.has-cursor .cursor-dot{display:flex;position:fixed;left:0;top:0;z-index:50;pointer-events:none;opacity:0}
  html.has-cursor.cursor-live .cursor-ring,html.has-cursor.cursor-live .cursor-dot{opacity:1}
  .cursor-ring{width:34px;height:34px;margin:-17px 0 0 -17px;border:1px solid rgba(17,17,17,.6);border-radius:50%;will-change:transform;box-shadow:0 0 0 1px rgba(255,255,255,.35)}
  .cursor-ring span{display:none}
  .cursor-dot{width:6px;height:6px;margin:-3px 0 0 -3px;background:var(--ink);border-radius:50%;will-change:transform;box-shadow:0 0 0 1.5px rgba(255,255,255,.85);transition:opacity .2s}
}

/* Contact links: same behaviour as the top navigation, plus a small lift to black */
.contact-links{display:flex;gap:28px;margin-top:12px}
.contact-link{display:inline-block;color:#9A9A9A;transform-origin:left center;transition:color .35s var(--ease),transform .35s var(--ease)}
.contact-link:hover,.contact-link:focus-visible{color:var(--ink);transform:scale(1.07)}
@media (prefers-reduced-motion:reduce){.contact-link{transition:none}.contact-link:hover,.contact-link:focus-visible{transform:none}}

@media (hover:hover) and (min-width:761px){
  .other-grid:has(.tile:nth-child(1):hover){grid-template-columns:1.3fr .85fr .85fr}
  .other-grid:has(.tile:nth-child(2):hover){grid-template-columns:.85fr 1.3fr .85fr}
  .other-grid:has(.tile:nth-child(3):hover){grid-template-columns:.85fr .85fr 1.3fr}
}
@media (max-width:760px){.other-grid .slot{height:auto;aspect-ratio:3/2}}
/* Top navigation expands slightly like the contact links */
nav a{display:inline-block;transition:color .35s var(--ease),transform .35s var(--ease)}
nav a:hover,nav a:focus-visible{transform:scale(1.07)}
@media (prefers-reduced-motion:reduce){nav a{transition:none}nav a:hover,nav a:focus-visible{transform:none}}


/* Film grain, homepage only (2026-11-13). One fixed, static layer above the page and below the cursor ring. It does not move or repaint on scroll. */
body:not(.cs)::after{content:"";position:fixed;inset:0;z-index:40;pointer-events:none;opacity:.055;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1.6 -.55'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23g)'/%3E%3C/svg%3E")}
@media print{body:not(.cs)::after{display:none}}

/* Sizes (2026-11-13). Homepage about 10% smaller than the midway trial; project pages back to the original 1200px layout Connor preferred. */
body:not(.cs){--max:clamp(1080px,64vw,1280px)}
body.cs{--max:1200px;--gutter:72px}

/* Selfscope (2026-11-13): about 10% of the arm cropped off on the left, and the frame narrowed by the same amount so the product keeps its place near the right edge.
   Image size on screen is unchanged; it scales from the cropped left edge. */
@media (min-width:761px){
  .project#selfscope{grid-template-columns:51.75% 1fr}
  #selfscope .plate{aspect-ratio:621/460}
}
#selfscope .p-selfscope{width:108.2%;left:-10.8%;transform-origin:10% 60%}

/* Homepage ground (2026-11-13, option 1+2, his final pick): soft light falloff from the top, darker sides, fine 24px dot grid. Fixed to the screen. No cursor effect. */
body:not(.cs){background:
  radial-gradient(circle,rgba(0,0,0,.085) 1px,transparent 1.3px) 0 0/24px 24px,
  radial-gradient(110% 60% at 50% -5%,rgba(255,255,255,.85) 0%,rgba(255,255,255,0) 62%),
  radial-gradient(70% 90% at -10% 60%,rgba(214,210,202,.55) 0%,transparent 60%),
  radial-gradient(70% 90% at 110% 60%,rgba(214,210,202,.55) 0%,transparent 60%),
  var(--ground);background-attachment:fixed}

/* Brand font (2026-11-15): Montserrat, matching Connor's logo board. Used only for the header lockup and the homepage hero. */
@font-face{font-family:"Montserrat";font-weight:600;font-style:normal;font-display:swap;src:url(fonts/Montserrat-600.woff2) format("woff2")}
@font-face{font-family:"Montserrat";font-weight:700;font-style:normal;font-display:swap;src:url(fonts/Montserrat-700.woff2) format("woff2")}
@font-face{font-family:"Montserrat";font-weight:800;font-style:normal;font-display:swap;src:url(fonts/Montserrat-800.woff2) format("woff2")}
/* Header lockup: CF mark and CF DESIGNS wordmark, after the logo board. The mark is about 2.4 times the height of the capitals
   (a little smaller than on the board, so the two read as one unit at this small size), with one mark-bar of space between them. */
.wordmark{flex-direction:row;align-items:center;gap:12px}
.wordmark .wm-logo{width:25px;height:auto;flex:none;transition:transform .5s cubic-bezier(.3,1.7,.5,1)}
.wordmark .wm-name{white-space:nowrap;font-family:"Montserrat","Inter",sans-serif;font-weight:700;font-size:13.5px;line-height:1;letter-spacing:.2em;text-transform:uppercase;margin-right:-.2em}
.wordmark:hover .wm-logo{transform:rotate(-8deg) scale(1.06)}
@media (max-width:520px){nav{font-size:11px}nav a{padding:2px 9px}.wordmark{gap:8px}.wordmark .wm-logo{width:21px}.wordmark .wm-name{font-size:11px;letter-spacing:.14em;margin-right:-.14em}}

/* Project years (2026-11-15): shown under each status line, and under the Other Work descriptions. */
.status .yr{display:block;margin-top:3px;color:var(--grey);font-variant-numeric:tabular-nums}
.tile .yr{font-size:12.5px;color:var(--grey);margin-top:2px;font-variant-numeric:tabular-nums}

/* Wider homepage column (2026-11-15, Connor): the content edge sits halfway between the old column edge and the
   opening section's old edge (the page padding). Previous value: --max:clamp(1080px,64vw,1280px). */
body:not(.cs){--max:calc((100vw - var(--sbw,0px) - 2*var(--pad) + clamp(1080px,64vw,1280px))/2)}

/* Project pages use the same column width as the homepage (2026-11-15, Connor: headers must match across pages).
   Same formula as the homepage rule above, using the page width (100%) so no scrollbar measurement is needed.
   Previous value: body.cs{--max:1200px}. Delete this line to go back. */
body.cs{--max:calc((100% - 2*var(--pad) + clamp(1080px,64vw,1280px))/2)}

/* Column width, all pages (2026-11-15, Connor: the wider column made images too large). Halfway between the wide
   column above and the original project-page width (1200px). Delete these two lines to go back to the wide column. */
body:not(.cs){--max:calc(((100vw - var(--sbw,0px) - 2*var(--pad) + clamp(1080px,64vw,1280px))/2 + 1200px)/2)}
body.cs{--max:calc(((100% - 2*var(--pad) + clamp(1080px,64vw,1280px))/2 + 1200px)/2)}

/* Contact footer v2 (2026-11-16): small labels over each link, clear gap between them, email copy button, external arrow on LinkedIn. */
.contact-list{display:flex;flex-wrap:wrap;gap:20px 64px;margin-top:18px}
.contact-item{display:flex;flex-direction:column;gap:6px}
.contact-lab{font-size:11px;text-transform:uppercase;letter-spacing:.09em;color:var(--grey)}
.contact-row{display:flex;align-items:baseline;gap:14px}
.contact-list .contact-link{color:#262626;font-size:16px;letter-spacing:-.005em}
.contact-list .contact-link:hover,.contact-list .contact-link:focus-visible{color:var(--orange);transform:none}
.contact-ext{display:inline-block;margin-left:5px;font-size:.85em;transition:transform .35s var(--ease)}
.contact-link:hover .contact-ext,.contact-link:focus-visible .contact-ext{transform:translate(2px,-2px)}
.contact-copy{font:inherit;font-size:11px;text-transform:uppercase;letter-spacing:.09em;color:var(--grey);background:none;border:0;border-bottom:1px solid #cfcfcb;padding:0 0 1px;cursor:pointer;transition:color .25s ease,border-color .25s ease}
.contact-copy:hover,.contact-copy:focus-visible{color:var(--ink);border-color:var(--ink)}
.contact-copy.done{color:var(--orange);border-color:var(--orange)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

