317 lines
26 KiB
CSS
317 lines
26 KiB
CSS
/* Grace Salmoun — a light, asymmetric architectural gallery. */
|
|
:root {
|
|
--background: #f5f7f8;
|
|
--surface: #ffffff;
|
|
--surface-soft: #eaf0f4;
|
|
--foreground: #142c3d;
|
|
--muted: #587080;
|
|
--primary: #087eaf;
|
|
--primary-hover: #05658e;
|
|
--primary-dark: #0b263b;
|
|
--border: rgba(32, 106, 146, .14);
|
|
--border-strong: rgba(32, 106, 146, .28);
|
|
--inverse: #ffffff;
|
|
--inverse-muted: #c6dce9;
|
|
--studio-accent: #29a9dc;
|
|
--studio-night: #0b263b;
|
|
--font-display: "Segoe UI", Arial, sans-serif;
|
|
--font-display-ar: "Segoe UI", Tahoma, Arial, sans-serif;
|
|
--font-body: "Segoe UI", Tahoma, Arial, sans-serif;
|
|
--section-space: clamp(3.5rem, 5vw, 5.5rem);
|
|
--container: 1240px;
|
|
--studio-radius: 12px;
|
|
}
|
|
[data-theme="dark"] {
|
|
--background: #091827; --surface: #10263a; --surface-soft: #153148;
|
|
--foreground: #edf7ff; --muted: #aec5d6; --primary: #68c8ee;
|
|
--primary-hover: #a5e3fa; --primary-dark: #061421;
|
|
--border: rgba(128,195,230,.16); --border-strong: rgba(128,195,230,.32);
|
|
--inverse: #f0f8ff; --inverse-muted: #c6dce9;
|
|
}
|
|
body, [data-theme="dark"] body { background-image: none; }
|
|
h1,h2,h3,.display-face { font-weight: 500; }
|
|
.site-header, [data-theme="dark"] .site-header { background: color-mix(in srgb, var(--background) 92%, transparent); border-bottom-color: var(--border); }
|
|
.site-header[data-scrolled="true"], [data-theme="dark"] .site-header[data-scrolled="true"] { background: color-mix(in srgb, var(--background) 96%, transparent); }
|
|
.site-header-title { font-weight: 600; font-size: 20px; letter-spacing: -.04em; }
|
|
.site-header-subtitle { font-size: .6875rem; letter-spacing: .08em; font-weight: 400; }
|
|
.site-header-control { border-radius: 50%; }
|
|
.site-header-logo { background: transparent; }
|
|
.site-header-nav-link { font-size: .8125rem; }
|
|
.mobile-nav-dialog {
|
|
inset-inline-start: auto;
|
|
width: min(100%, 440px);
|
|
padding: max(20px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
|
|
border-inline-start: 1px solid var(--border);
|
|
}
|
|
.mobile-nav-head { padding-block-end: 16px; }
|
|
.mobile-nav-brand { font-size: 1.125rem; font-weight: 600; }
|
|
.mobile-nav-close { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; }
|
|
.mobile-nav-primary { flex: 0 0 auto; align-items: start; margin-block-start: 24px; }
|
|
.mobile-nav-list { display: grid; gap: 6px; }
|
|
.mobile-nav-link { min-height: 60px; padding: 10px 14px; border: 1px solid transparent; border-radius: 10px; font-size: 1.125rem; line-height: 1.5; }
|
|
.mobile-nav-link::before { display: block; font-size: .75rem; font-family: var(--font-body); color: var(--muted); direction: ltr; }
|
|
.mobile-nav-link-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
|
|
.mobile-nav-link-line { width: 18px; flex-shrink: 0; }
|
|
.mobile-nav-link:hover, .mobile-nav-link[data-active="true"] { background: var(--surface-soft); border-color: var(--border); color: var(--primary); }
|
|
body[data-mobile-nav-open="true"] .reading-progress { visibility: hidden; }
|
|
.section-label { font-size: .75rem; letter-spacing: .1em; }
|
|
.section-title { font-size: var(--type-section); line-height: 1.3; font-weight: 500; max-width: 28ch; text-wrap: balance; }
|
|
.section-heading-line { width: 24px; background: var(--studio-accent); }
|
|
.section-heading-label-row { margin-bottom: 14px; }
|
|
.studio-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--studio-accent); box-shadow: 0 0 0 5px #29a9dc16; }
|
|
.gallery-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; margin-block-start: 24px; padding: clamp(24px, 4vw, 48px); border-radius: 20px; background: #0b263b; color: #f5f9fc; border: 1px solid #244054; }
|
|
.gallery-hero-copy { padding-block: 20px; min-width: 0; }
|
|
.gallery-eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: #bdcfdd; font-size: .75rem; letter-spacing: .05em; }
|
|
.gallery-eyebrow > span:not(.studio-dot) { color: #7394aa; }
|
|
.gallery-hero h1 { color: #fff; font-size: var(--type-display); letter-spacing: -.035em; line-height: 1.18; margin-block: 22px 18px; font-weight: 500; text-wrap: balance; overflow-wrap: anywhere; }
|
|
.gallery-hero h1 > span { color: #8bd4f1; }
|
|
[dir="rtl"] .gallery-hero h1 { line-height: 1.4; letter-spacing: normal; font-weight: 600; }
|
|
.gallery-hero-description { font-size: .9375rem; line-height: 1.8; color: #c0d1de; max-width: 52ch; text-wrap: pretty; }
|
|
.gallery-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 30px; }
|
|
.gallery-primary-link { display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 12px 20px; min-height: 48px; border-radius: 8px; background: #087eaf; color: #fff; font-size: .875rem; font-weight: 600; transition: background .25s, transform .25s; }
|
|
.gallery-primary-link:hover { background: #05658e; transform: translateY(-3px); }
|
|
.gallery-download { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 14px; font-size: .875rem; min-height: 48px; border: 1px solid #658094; border-radius: 8px; color: #f2f8fc; }
|
|
.gallery-download:hover { background: #183d58; border-color: #9fdcf5; }
|
|
.gallery-hero-footnote { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 16px; border-top: 1px solid #365165; max-width: 430px; color: #8bd4f1; }
|
|
.gallery-hero-footnote p { color: #c0d1de; font-size: .75rem; max-width: 38ch; }
|
|
.gallery-hero-composition { position: relative; min-width: 0; padding: 0; }
|
|
.gallery-main-photo { height: clamp(360px, 33vw, 440px); border-radius: 12px; overflow: hidden; background: #183d58; }
|
|
.gallery-feature-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-block-start: 14px; color: #fff; font-size: .875rem; }
|
|
.gallery-feature-caption > span:last-child { color: #c0d1de; font-size: .8125rem; }
|
|
.gallery-image-label { position: absolute; inset-block-start: 16px; inset-inline-start: 16px; padding: 7px 10px; border-radius: 5px; color: #fff; background: #0b263be8; font-size: .625rem; letter-spacing: .12em; direction: ltr; }
|
|
.gallery-main-photo .image-reveal-mask { height: 100%; }
|
|
.gallery-main-photo .hero-image { object-fit: cover; object-position: center 30%; }
|
|
.gallery-discipline-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-block: 28px; border-block-end: 1px solid var(--border); color: var(--muted); font-size: .875rem; }
|
|
.gallery-discipline-strip > span { display: flex; align-items: center; gap: 12px; }
|
|
.gallery-discipline-strip small { font-size: .6875rem; color: var(--primary); font-variant-numeric: tabular-nums; }
|
|
.gallery-discipline-strip > span[aria-hidden] { color: var(--studio-accent); font-size: 22px; }
|
|
.projects-section > .section-heading { max-width: 100%; margin-bottom: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); column-gap: 48px; align-items: end; }
|
|
.projects-section > .section-heading .section-heading-label-row { grid-column: 1 / -1; }
|
|
.projects-section > .section-heading .section-description { margin: 0; }
|
|
.projects-section > .section-heading .section-title { max-width: 22ch; }
|
|
.projects-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; align-items: start; }
|
|
.gallery-work { min-width: 0; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; transition: border-color .25s ease, box-shadow .25s ease; }
|
|
.gallery-work:hover { border-color: var(--border-strong); box-shadow: 0 12px 32px #0b263b0a; }
|
|
.gallery-work-preview { display: block; border-radius: 10px; }
|
|
.gallery-work-copy { padding: 0 16px 8px; }
|
|
.gallery-work-image { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--surface-soft); }
|
|
.gallery-work-open { position: absolute; inset-block-start: 16px; inset-inline-end: 16px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #0b263b; font-size: 22px; transition: background .2s, color .2s; }
|
|
.gallery-work-preview:hover .gallery-work-open, .gallery-work-preview:focus-visible .gallery-work-open { color: #fff; background: #087eaf; }
|
|
.gallery-work-image .image-reveal-mask { position: absolute; inset: 0; }
|
|
.gallery-work-photo { object-fit: cover; transition: transform 1s var(--ease-premium); }
|
|
.gallery-work:hover .gallery-work-photo { transform: scale(1.045); }
|
|
.gallery-work-number { position: absolute; top: 16px; inset-inline-start: 16px; display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: #ffffffeb; color: #142c3d; font-size: 11px; }
|
|
.gallery-work-category { position: absolute; bottom: 16px; inset-inline-start: 16px; max-width: calc(100% - 32px); border-radius: 6px; padding: 6px 11px; background: #ffffffeb; color: #142c3d; font-size: .75rem; }
|
|
.gallery-work-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-block: 20px 12px; }
|
|
.gallery-work-heading p { font-size: .75rem; color: var(--muted); margin-bottom: 6px; }
|
|
.gallery-work-heading p > span { padding-inline: 8px; color: var(--studio-accent); }
|
|
.gallery-work-heading > div { min-width: 0; }
|
|
.gallery-work-heading h3 { font-size: var(--type-card); letter-spacing: -.02em; line-height: 1.4; overflow-wrap: anywhere; }
|
|
.gallery-work-description { color: var(--muted); font-size: .9375rem; line-height: 1.8; max-width: 65ch; text-wrap: pretty; }
|
|
.gallery-work-actions { margin-top: 18px; padding-top: 8px; border-top: 1px solid var(--border); }
|
|
.gallery-work .project-sheet-link { margin-top: 0; min-height: 48px; font-size: .875rem; border-bottom: 0; color: var(--primary); width: 100%; justify-content: space-between; }
|
|
.gallery-work-details { border-top: 1px solid var(--border); }
|
|
.gallery-work-details summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; list-style: none; font-size: .8125rem; color: var(--muted); }
|
|
.gallery-work-details summary::-webkit-details-marker { display: none; }
|
|
.gallery-work-details summary > span { font-size: 20px; color: var(--primary); transition: transform .25s; }
|
|
.gallery-work-details[open] summary > span { transform: rotate(45deg); }
|
|
.gallery-work-details-content { padding: 16px; margin-bottom: 14px; border-radius: 8px; background: var(--surface-soft); font-size: .875rem; animation: studio-rise .3s ease both; }
|
|
.gallery-work-details dl { display: grid; gap: 14px; margin-bottom: 15px; }
|
|
.gallery-work-details dt { color: var(--primary); font-size: .75rem; margin-bottom: 4px; }
|
|
.gallery-work-details dd { overflow-wrap: anywhere; }
|
|
.gallery-work-details summary:hover, .gallery-work-details[open] summary { color: var(--primary); }
|
|
.gallery-work-details ul { display: grid; gap: 6px; list-style: disc; padding-inline-start: 16px; color: var(--muted); }
|
|
.about-section { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; border-top: 1px solid var(--border); }
|
|
.about-heading-column { position: sticky; top: calc(var(--header-height) + 24px); align-self: start; }
|
|
.about-section::before { display: none; }
|
|
.about-copy-column { padding: 28px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
|
|
.about-lead { color: var(--foreground); font-size: 20px; }
|
|
.philosophy-section, [data-theme="dark"] .philosophy-section { background: var(--surface); color: var(--foreground); border-block: 1px solid var(--border); }
|
|
.philosophy-quote-wrap { padding: 28px; background: var(--surface-soft); border-radius: 16px; }
|
|
.philosophy-section .section-label, .philosophy-section .site-icon { color: var(--primary-hover); }
|
|
.philosophy-section .philosophy-copy { color: var(--foreground); border-inline-start: 1px solid var(--border-strong); padding-inline-start: clamp(24px, 4vw, 56px); }
|
|
.philosophy-grid { gap: clamp(32px, 5vw, 70px); align-items: start; }
|
|
.philosophy-copy > p:nth-child(2) { font-size: 16px; line-height: 2; max-width: 58ch; }
|
|
.philosophy-quote { color: var(--foreground); font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); line-height: 1.6; }
|
|
.philosophy-section .tag-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; margin-top: 26px; }
|
|
.philosophy-section .tag-list li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 15px 0; border-bottom: 1px solid var(--border-strong); color: var(--foreground); border-radius: 0; background: transparent; font-size: 13px; line-height: 1.6; }
|
|
.philosophy-section .tag-list li::before { content: ""; width: 5px; height: 5px; flex-shrink: 0; background: var(--primary); border-radius: 50%; }
|
|
.services-section { background: var(--background); }
|
|
.services-heading-grid { margin-block-end: 28px; }
|
|
.services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; border: 0; }
|
|
.service-item { height: 100%; min-height: 120px; grid-template-columns: 24px minmax(0, 1fr) 28px; gap: 12px; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--studio-radius); }
|
|
.service-item h3 { font-size: 1.125rem; }
|
|
.service-icon { color: var(--primary); opacity: 1; transition: transform .4s; }
|
|
.service-item:hover { transform: translateY(-4px); background: var(--surface); border-color: var(--studio-accent); }
|
|
.service-item:hover .service-icon { transform: rotate(-8deg); }
|
|
.awards-section { border-top: 1px solid var(--border); }
|
|
.awards-timeline { padding-inline: 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
|
|
.awards-timeline > .reveal:last-child .award-item { border-block-end: 0; }
|
|
.award-marker { color: var(--primary); background: var(--surface-soft); border-radius: 50%; }
|
|
.resume-cta { border-radius: 16px; border: 1px solid var(--border); background: var(--surface); padding: clamp(24px, 4vw, 50px); }
|
|
.metrics-section { padding-block: 0; margin-bottom: var(--section-space); border: 1px solid var(--border); border-radius: var(--studio-radius); overflow: hidden; background: var(--surface-soft); }
|
|
.metrics-section > .reveal:nth-child(n) { border: 0; border-inline-end: 1px solid var(--border); }
|
|
.metrics-section > .reveal:last-child { border-inline-end: 0; }
|
|
.metric-item { min-height: 150px; padding: 24px 16px; display: flex; flex-direction: column; justify-content: center; }
|
|
.metric-label { margin-block-start: 10px; font-size: .8125rem; letter-spacing: .03em; }
|
|
.metric-value { color: var(--primary); font-family: var(--font-display); font-weight: 400; }
|
|
.contact-section, [data-theme="dark"] .contact-section { background: #0b263b; color: #edf7ff; }
|
|
.contact-section .contact-intro h2 { color: #edf7ff; font-size: var(--type-section); }
|
|
.contact-section .section-label, .contact-section .contact-item svg { color: #8ed8f6; }
|
|
.contact-section .contact-item strong { color: #fff; overflow-wrap: anywhere; }
|
|
.contact-section .contact-item small { color: #c6dce9; }
|
|
.contact-section .contact-item:hover { transform: none; }
|
|
.studio-contact-cta { display: inline-flex; align-items: center; gap: 40px; padding: 15px 24px; margin-top: 28px; border: 1px solid #8ed8f6; border-radius: 6px; color: #e4f5ff; font-size: 14px; transition: background .2s; }
|
|
.studio-contact-cta:hover { background: #ffffff12; }
|
|
.studio-contact-cta > span { font-size: 24px; }
|
|
.footer-title { font-size: 23px; }
|
|
.footer-rule { display: none; }
|
|
.footer-root { border-block-start: 1px solid var(--border); }
|
|
.footer-grid { gap: 32px; align-items: start; }
|
|
.footer-logo { border: 0; border-radius: 8px; flex-shrink: 0; }
|
|
.footer-copy { max-width: 56ch; }
|
|
.resume-page { gap: clamp(2.5rem, 5vw, 4rem); }
|
|
.resume-hero { border-radius: var(--studio-radius); background: var(--surface-soft); }
|
|
.resume-hero__inner { gap: 28px; padding: clamp(24px, 3vw, 40px); }
|
|
.resume-hero__title { max-width: 16ch; }
|
|
.resume-action { border-radius: 8px; }
|
|
.resume-editorial-grid { gap: clamp(32px, 5vw, 64px); }
|
|
.resume-credentials { padding-block: 32px; gap: 32px; }
|
|
.craft-intro { margin-block-end: 32px; }
|
|
.craft-notes h3 { font-size: var(--type-card); }
|
|
.additional-projects > .section-heading { margin-block-end: 28px; }
|
|
.additional-project-item h3 { font-size: var(--type-card); line-height: 1.5; }
|
|
.additional-project-item > p { line-height: 1.8; }
|
|
.additional-project-meta { font-size: .8125rem; }
|
|
.section-description, .services-description, .about-copy-column p, .resume-profile__copy { text-wrap: pretty; }
|
|
.reading-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 110; background: var(--studio-accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }
|
|
[dir="rtl"] .reading-progress { transform-origin: right; }
|
|
.back-to-top { position: fixed; inset-inline-end: 24px; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 40; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 52px; height: 58px; border-radius: 12px; background: var(--surface); color: var(--primary); border: 1px solid var(--border-strong); box-shadow: 0 8px 24px #0b263b14; cursor: pointer; animation: studio-rise .3s ease both; }
|
|
.back-to-top span { font-size: 8px; }
|
|
@keyframes studio-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
|
|
@media (max-width: 1100px) {
|
|
.gallery-hero { gap: 30px; }
|
|
.gallery-hero-composition { padding: 0; }
|
|
.gallery-main-photo { height: 400px; }
|
|
.gallery-hero-actions { gap: 15px; }
|
|
.services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
}
|
|
@media (max-width: 767px) {
|
|
.gallery-hero { grid-template-columns: 1fr; margin-block-start: 16px; padding: 24px 20px 20px; gap: 28px; border-radius: 16px; }
|
|
.gallery-hero-copy { padding: 0; }
|
|
.gallery-hero h1 { margin-block: 18px 14px; }
|
|
.gallery-hero-description { max-width: 55ch; }
|
|
.gallery-hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 12px; margin-top: 22px; }
|
|
.gallery-primary-link, .gallery-download { padding: 12px 10px; gap: 8px; }
|
|
.gallery-hero-footnote { display: none; }
|
|
.gallery-hero-composition { padding: 0; }
|
|
.gallery-main-photo { height: clamp(260px, 75vw, 360px); }
|
|
.gallery-discipline-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-block: 24px; font-size: .8125rem; }
|
|
.gallery-discipline-strip > span { gap: 8px; }
|
|
.gallery-feature-caption { flex-direction: column; gap: 2px; }
|
|
.projects-section > .section-heading { grid-template-columns: 1fr; gap: 12px; }
|
|
.projects-section > .section-heading .section-heading-label-row { margin-bottom: 0; }
|
|
.gallery-discipline-strip > span[aria-hidden] { display: none; }
|
|
.projects-list { grid-template-columns: 1fr; gap: 38px; }
|
|
.gallery-work-image { aspect-ratio: 4 / 3; }
|
|
.gallery-work-heading { margin-block: 16px 10px; }
|
|
.gallery-work-copy { padding-inline: 10px; }
|
|
.services-grid { grid-template-columns: 1fr; }
|
|
.service-item { min-height: 88px; }
|
|
.services-heading-grid, .awards-layout, .contact-grid { gap: 24px; }
|
|
.metrics-section { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
.metrics-section > .reveal:nth-child(even) { border-inline-end: 0; }
|
|
.metrics-section > .reveal:nth-child(n + 3) { border-block-start: 1px solid var(--border); }
|
|
.metric-item { min-height: 124px; padding: 18px 12px; }
|
|
.contact-item { min-height: 92px; padding: 18px 8px; }
|
|
.resume-cta { gap: 24px; padding: 24px 20px; }
|
|
.resume-link { min-height: 80px; }
|
|
.resume-hero__inner { padding: 24px 20px; }
|
|
.resume-hero__eyebrow { margin-block-end: 16px; }
|
|
.resume-hero__role, .resume-hero__intro { margin-block-start: 16px; }
|
|
.about-section { grid-template-columns: 1fr; gap: 24px; }
|
|
.about-heading-column { position: static; }
|
|
.about-copy-column, .philosophy-quote-wrap { padding: 20px; }
|
|
.awards-timeline { padding-inline: 16px; }
|
|
.philosophy-section .philosophy-copy { border-inline-start: 0; border-top: 1px solid var(--border-strong); padding-inline-start: 0; padding-top: 28px; }
|
|
.philosophy-copy > p:nth-child(2) { font-size: 15px; line-height: 1.95; }
|
|
.philosophy-section .tag-list { gap: 0 16px; }
|
|
.philosophy-section .tag-list li { font-size: 12px; }
|
|
.back-to-top { width: 44px; height: 50px; inset-inline-end: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
|
|
}
|
|
@media (max-width: 359px) {
|
|
.gallery-hero-actions { grid-template-columns: 1fr; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.gallery-work:hover .gallery-work-photo { transform: none; }
|
|
.back-to-top, .gallery-work-details-content { animation: none; }
|
|
}
|
|
/* A portfolio invitation composed like a printed architectural monograph. */
|
|
.resume-cta-section .resume-cta { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); grid-template-areas: "cover copy" "cover actions"; gap: 0 48px; padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
|
|
.resume-cover { grid-area: cover; display: grid; place-items: center; min-height: 350px; padding: 32px; background: #102e40; border-radius: 10px; background-image: linear-gradient(#ffffff06 1px, transparent 1px), linear-gradient(90deg, #ffffff06 1px, transparent 1px); background-size: 32px 32px; }
|
|
.resume-cover-sheet { display: flex; flex-direction: column; width: min(100%, 230px); min-height: 295px; padding: 24px; background: #f6f4ee; color: #153448; box-shadow: 9px 9px 0 #ffffff1a, 0 18px 32px #0003; transform: rotate(-5deg); border: 1px solid #fff; transition: transform 600ms cubic-bezier(.16,1,.3,1); }
|
|
[dir="rtl"] .resume-cover-sheet { transform: rotate(5deg); }
|
|
.resume-cover-edition { font: 8px/1.5 Arial, sans-serif; letter-spacing: .12em; direction: ltr; }
|
|
.resume-cover-monogram { display: flex; align-items: baseline; justify-content: space-between; margin-block: 24px 32px; font: 58px/1 Georgia, serif; direction: ltr; }
|
|
.resume-cover-monogram > span { color: #0782b0; font-size: 36px; }
|
|
.resume-cover-name { font-size: 1.125rem; font-weight: 700; line-height: 1.5; }
|
|
.resume-cover-role { font-size: .75rem; line-height: 1.7; margin-block-start: 6px; }
|
|
.resume-cover-line { display: block; width: 40px; height: 3px; background: #087eaf; margin-block-start: auto; padding: 0; }
|
|
.resume-cta-section .resume-cta-copy { grid-area: copy; padding: 20px 8px 24px; align-self: end; }
|
|
.resume-cta-section .resume-cta-copy h2 { max-width: 22ch; margin-block-start: 16px; text-wrap: balance; }
|
|
.resume-cta-section .resume-cta-copy > p:last-child { font-size: .9375rem; line-height: 1.9; margin-block-start: 16px; max-width: 56ch; }
|
|
.resume-cta-section .resume-cta-actions { grid-area: actions; display: grid; gap: 12px; padding: 0 8px 20px; border: 0; align-self: start; }
|
|
.resume-cta-section .resume-link { min-height: 80px; padding: 16px 20px; grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
|
|
.resume-cta-section a.resume-link:first-child { background: #102e40; border-color: #102e40; color: #fff; }
|
|
.resume-cta-section a.resume-link:first-child small { color: #b8d7e6; }
|
|
.resume-cta-section .resume-link > svg:first-child { width: 40px; height: 40px; padding: 9px; border: 1px solid var(--border-strong); border-radius: 8px; }
|
|
.resume-cta-section a.resume-link:first-child > svg:first-child { border-color: #ffffff30; }
|
|
.resume-cta-section .resume-link strong { margin-block-start: 3px; }
|
|
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
|
|
.resume-cta-section a.resume-link:hover { transform: translateY(-3px); box-shadow: 0 8px 20px #0b263b10; }
|
|
}
|
|
@media (max-width: 767px) {
|
|
.resume-cta-section .resume-cta { grid-template-columns: 1fr; grid-template-areas: "cover" "copy" "actions"; gap: 0; padding: 16px; }
|
|
.resume-cover { min-height: 265px; padding: 24px; }
|
|
.resume-cover-sheet { width: 175px; min-height: 225px; padding: 18px; }
|
|
.resume-cover-monogram { font-size: 42px; margin-block: 18px 20px; }
|
|
.resume-cover-name { font-size: .9375rem; }
|
|
.resume-cta-section .resume-cta-copy { padding: 28px 8px 24px; }
|
|
.resume-cta-section .resume-cta-actions { padding: 0 0 4px; }
|
|
.resume-cta-section .resume-link { padding: 14px; gap: 12px; }
|
|
}
|
|
/* The paper settles into place; text follows, then a single light sweep. */
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
.resume-cover { perspective: 1100px; overflow: hidden; }
|
|
.resume-cover-sheet {
|
|
--paper-angle: -5deg;
|
|
position: relative;
|
|
isolation: isolate;
|
|
overflow: hidden;
|
|
transform: translateY(0) rotateX(0deg) rotateZ(var(--paper-angle)) scale(1);
|
|
transform-origin: 50% 80%;
|
|
transition: transform 1200ms cubic-bezier(.16, 1, .3, 1) 100ms, box-shadow 700ms ease, opacity 700ms ease 100ms;
|
|
}
|
|
[dir="rtl"] .resume-cover-sheet { --paper-angle: 5deg; transform: translateY(0) rotateX(0deg) rotateZ(var(--paper-angle)) scale(1); }
|
|
.js .resume-cta[data-reveal-state="hidden"] .resume-cover-sheet {
|
|
opacity: 0;
|
|
transform: translateY(55px) rotateX(22deg) rotateZ(calc(var(--paper-angle) * 2)) scale(.92);
|
|
}
|
|
.resume-cover-sheet > span { opacity: 1; transform: translateY(0); transition: opacity 650ms ease, transform 800ms cubic-bezier(.16, 1, .3, 1); transition-delay: calc(260ms + var(--paper-step, 0) * 110ms); }
|
|
.resume-cover-monogram { --paper-step: 1; }
|
|
.resume-cover-name { --paper-step: 2; }
|
|
.resume-cover-role { --paper-step: 3; }
|
|
.resume-cover-line { --paper-step: 4; transform-origin: center; }
|
|
.js .resume-cta[data-reveal-state="hidden"] .resume-cover-sheet > span { opacity: 0; transform: translateY(12px); }
|
|
.js .resume-cta[data-reveal-state="hidden"] .resume-cover-sheet > .resume-cover-line { transform: scaleX(0); }
|
|
.resume-cover-sheet::after { content: ""; position: absolute; inset: -30% -60%; z-index: 1; pointer-events: none; background: linear-gradient(110deg, transparent 38%, #ffffff75 49%, transparent 60%); opacity: 0; transform: translateX(-65%); }
|
|
.js .resume-cta[data-reveal-state="visible"] .resume-cover-sheet::after { animation: portfolio-paper-light 1400ms cubic-bezier(.22, 1, .36, 1) 450ms both; }
|
|
@keyframes portfolio-paper-light { 0% { opacity: 0; transform: translateX(-65%); } 25% { opacity: .7; } 100% { opacity: 0; transform: translateX(65%); } }
|
|
@media (hover: hover) and (pointer: fine) {
|
|
.resume-cover:hover .resume-cover-sheet { transform: translateY(-8px) rotateX(7deg) rotateZ(0deg) scale(1.025); box-shadow: 14px 18px 0 #ffffff12, 0 28px 40px #0004; transition-delay: 0ms; }
|
|
}
|
|
@media (max-width: 767px) {
|
|
.js .resume-cta[data-reveal-state="hidden"] .resume-cover-sheet { transform: translateY(28px) rotateX(12deg) rotateZ(var(--paper-angle)) scale(.96); }
|
|
}
|
|
}
|