/* Elias Dawan — premium personal portfolio */
:root {
  --bg: #f2f0e9;
  --paper: #f8f7f2;
  --ink: #171916;
  --muted: #777b72;
  --line: rgba(23, 25, 22, .15);
  --dark: #111310;
  --dark-soft: #191c17;
  --dark-line: rgba(255,255,255,.14);
  --accent: #c4e56a;
  --accent-deep: #9ebd4e;
  --display: "Manrope", sans-serif;
  --body: "DM Sans", sans-serif;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--accent); color: var(--ink); }
.skip-link:focus { top: 12px; }
.site-header { height: 82px; position: absolute; inset: 0 0 auto; z-index: 20; color: #f7f7f0; border-bottom: 1px solid rgba(255,255,255,.12); }
.nav-wrap, .primary-nav, .brand { display: flex; align-items: center; }
.nav-wrap { height: 100%; justify-content: space-between; }
.brand { gap: 11px; font: 800 13px var(--display); letter-spacing: .16em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--accent); color: var(--accent); font: 700 19px var(--display); letter-spacing: 0; }
.brand-light { color: #a8ada2; font-weight: 500; }
.primary-nav { gap: 32px; font-size: 12px; color: #c6c9c1; }
.primary-nav a { transition: color .2s ease; }
.primary-nav a:hover { color: var(--accent); }
.primary-nav .nav-cta { padding: 10px 15px; border: 1px solid rgba(255,255,255,.35); color: #fff; }
.nav-cta span { color: var(--accent); margin-left: 8px; }
.menu-toggle { display: none; }
.hero { min-height: 760px; padding: 165px 0 55px; color: #f6f5ef; background: radial-gradient(ellipse at 78% 45%, rgba(85,102,58,.23), transparent 36%), var(--dark); overflow: hidden; position: relative; }
.hero:before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 76px 76px; mask-image: linear-gradient(to right, transparent, black); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 50px; position: relative; z-index: 1; }
.eyebrow { margin: 0 0 22px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.hero .eyebrow { color: #b5b9ad; display: flex; align-items: center; gap: 12px; }
.eyebrow-line { width: 28px; height: 1px; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); }
.hero h1 { max-width: 760px; margin: 0 0 26px; font-size: clamp(43px, 5.25vw, 72px); line-height: 1.09; letter-spacing: -.065em; font-weight: 600; }
.accent-text { color: #829b4b; }
.hero .accent-text { color: var(--accent); }
.hero-intro { max-width: 590px; color: #b8bcb2; font-size: 15px; line-height: 1.9; }
.hero-intro strong { color: #fff; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { min-height: 51px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; border: 1px solid transparent; font-size: 12px; font-weight: 700; transition: transform .25s ease, background .25s ease, color .25s ease; cursor: pointer; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--accent); color: #171916; }
.button-primary:hover { background: #d5f28a; }
.button-ghost { border-color: rgba(255,255,255,.28); color: #f4f4ec; }
.button-ghost:hover { border-color: var(--accent); color: var(--accent); }
.hero-meta { display: flex; align-items: center; gap: 10px; margin-top: 35px; color: #969c90; font-size: 11px; }
.availability-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(196,229,106,.12); }
.meta-divider { color: #555c50; }
.hero-visual { min-height: 440px; position: relative; display: grid; place-items: center; }
.profile-frame { width: min(360px, 78%); aspect-ratio: .82; position: relative; z-index: 2; overflow: hidden; background: linear-gradient(145deg, #3b4431, #1c211a); border: 1px solid rgba(196,229,106,.3); box-shadow: 25px 25px 0 rgba(196,229,106,.07); }
.profile-frame img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 2; }
.profile-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: rgba(245,247,235,.8); background: radial-gradient(circle at 50% 38%, #59644a, #242b20 65%); }
.profile-fallback span { font: 500 clamp(80px, 11vw, 140px)/1 var(--display); letter-spacing: -.1em; color: var(--accent); }
.profile-fallback small { margin-top: 18px; font-size: 9px; letter-spacing: .25em; color: #b5bda8; }
.visual-orbit { position: absolute; border: 1px solid rgba(196,229,106,.2); border-radius: 50%; }
.orbit-one { width: 480px; height: 480px; }
.orbit-two { width: 570px; height: 570px; border-style: dashed; opacity: .45; }
.floating-note { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 13px 16px; background: #f0efe7; color: #272b23; box-shadow: 0 12px 40px rgba(0,0,0,.2); font-size: 10px; line-height: 1.5; }
.note-top { top: 58px; right: -2px; }
.note-bottom { bottom: 52px; left: -4px; }
.note-icon { color: #738d3f; font-size: 24px; }
.note-number { color: #6f883e; font: 700 26px var(--display); }
.floating-note b { font-size: 11px; }
.visual-caption { position: absolute; bottom: -12px; right: 5px; color: #777e6e; font-size: 9px; letter-spacing: .2em; }
.hero-bottom { display: flex; align-items: center; gap: 15px; margin-top: 45px; color: #777f71; font-size: 9px; letter-spacing: .18em; }
.scroll-line { width: 70px; height: 1px; background: #59624e; }
.hero-bottom span:last-child { margin-left: auto; }
.intro-strip { background: var(--accent); }
.strip-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.strip-inner p { margin: 0; font: 700 15px var(--display); letter-spacing: -.02em; }
.strip-tags { display: flex; align-items: center; gap: 19px; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.strip-tags i { font-style: normal; font-size: 13px; }
.section { padding: 125px 0; }
.section-label { display: flex; align-items: center; gap: 14px; grid-column: 1 / -1; color: #777c70; font-size: 9px; letter-spacing: .17em; }
.label-rule { width: 55px; height: 1px; background: #b5b8ac; }
.about-grid { display: grid; grid-template-columns: 1fr 1.25fr .75fr; column-gap: 48px; row-gap: 62px; }
.about-content { grid-column: 2; }
.about-content h2, .section-heading h2, .knowledge-title h2, .digital-intro h2, .contact-copy h2 { margin: 0 0 26px; font-size: clamp(38px, 4.5vw, 58px); line-height: 1.12; letter-spacing: -.065em; font-weight: 600; }
.large-copy { font: 500 19px/1.6 var(--display); letter-spacing: -.025em; }
.about-content > p:not(.eyebrow) { color: #666b61; }
.text-link { display: inline-flex; gap: 30px; align-items: center; margin-top: 20px; padding-bottom: 7px; border-bottom: 1px solid #a6aa9c; font-size: 12px; font-weight: 700; }
.text-link span { color: #7f9948; }
.about-aside { align-self: end; }
.aside-card { min-height: 270px; padding: 25px; background: #e4e5d9; display: flex; flex-direction: column; }
.aside-symbol { color: #819a4c; font-size: 27px; }
.aside-card p { margin: 17px 0 8px; color: #777d70; font-size: 10px; text-transform: uppercase; letter-spacing: .16em; }
.aside-card h3 { margin: 0; font-size: 24px; line-height: 1.25; letter-spacing: -.05em; }
.aside-foot { margin-top: auto; padding-top: 20px; color: #7b8175; font-size: 8px; letter-spacing: .2em; }
.section-dark { background: var(--dark); color: #f4f4ed; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 60px; }
.section-heading .eyebrow, .digital-intro .eyebrow { color: #a1a89a; }
.section-heading h2 { margin-bottom: 0; }
.muted-heading { color: #7c8276; }
.heading-note { max-width: 330px; margin: 0 0 6px; color: #7e8478; font-size: 13px; line-height: 1.85; }
.expertise-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--dark-line); border-left: 1px solid var(--dark-line); }
.expertise-item { min-height: 245px; padding: 25px 23px; border-right: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); position: relative; transition: background .25s ease; }
.expertise-item:hover { background: #1b2018; }
.item-index { color: #7c8573; font-size: 9px; letter-spacing: .12em; }
.line-icon { display: block; margin: 25px 0 18px; color: var(--accent); font-size: 25px; }
.expertise-item h3 { margin: 0 0 10px; font-size: 16px; letter-spacing: -.035em; }
.expertise-item p { margin: 0; color: #92988d; font-size: 11px; line-height: 1.8; }
.section-services { background: #e9e9df; }
.services-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; }
.service-group-head { display: flex; justify-content: space-between; padding: 0 0 15px; border-bottom: 1px solid #bfc2b5; color: #7a8074; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.service-row { min-height: 68px; display: grid; grid-template-columns: 35px 1fr 20px; align-items: center; gap: 10px; border-bottom: 1px solid #cdd0c5; transition: padding .2s ease, color .2s ease; }
.service-row:hover { padding-inline: 8px; color: #6f873d; }
.service-row > span:first-child { color: #858b7e; font-size: 9px; }
.service-row b { font: 600 13px var(--display); }
.service-row > span:last-child { color: #7b9446; }
.service-note { display: flex; gap: 14px; align-items: center; margin-top: 28px; padding: 18px; background: #dfe2d2; }
.service-note span { color: #789145; font-size: 23px; }
.service-note p { margin: 0; color: #646b5c; font-size: 11px; }
.work-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -15px 0 34px; }
.filter-button { padding: 9px 14px; border: 1px solid #41463c; background: transparent; color: #a7aca0; font-size: 10px; cursor: pointer; transition: all .2s ease; }
.filter-button:hover, .filter-button.active { background: var(--accent); border-color: var(--accent); color: #171916; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 22px; }
.work-card { min-width: 0; }
.work-card[hidden] { display: none; }
.work-art { height: 275px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.art-kicker, .art-caption { position: absolute; left: 19px; color: rgba(255,255,255,.72); font-size: 8px; letter-spacing: .18em; }
.art-kicker { top: 17px; }
.art-caption { bottom: 16px; font-size: 7px; }
.art-brand { background: #d9d8ca; color: #20251d; }
.art-brand .art-kicker, .art-brand .art-caption { color: #73786a; }
.brand-art-name { font: 800 53px var(--display); letter-spacing: -.1em; }
.brand-art-name span { color: #849c50; }
.art-pack { background: linear-gradient(135deg, #78805e, #3c4734); }
.pack-object { width: 120px; height: 165px; display: grid; place-items: center; transform: rotate(-7deg); background: linear-gradient(110deg, #d9d5c2, #f2eee0 48%, #c5c1ad); box-shadow: 22px 20px 28px rgba(0,0,0,.25); color: #333b2c; text-align: center; font: 600 18px var(--display); line-height: 1.2; }
.pack-object b { font-size: 9px; letter-spacing: .18em; }
.art-3d { background: radial-gradient(circle at 50% 40%, #656d55, #242a21 68%); }
.render-orb { width: 105px; height: 145px; position: absolute; top: 55px; border-radius: 45% 45% 35% 35%; background: linear-gradient(115deg, #d6d9c7, #7d8969 45%, #343d2d); box-shadow: inset -18px -10px 22px rgba(0,0,0,.24), 15px 25px 30px rgba(0,0,0,.28); }
.render-pedestal { position: absolute; bottom: 48px; width: 190px; height: 35px; border-radius: 50%; background: linear-gradient(#9aa184, #4b5540); box-shadow: 0 17px 18px rgba(0,0,0,.2); }
.art-retouch { background: #d1d2c6; }
.art-retouch .art-kicker, .art-retouch .art-caption { color: #656d5f; }
.retouch-panel { width: 68%; height: 65%; border: 1px solid #9ba18e; display: grid; place-items: center; background: linear-gradient(120deg, #e6e4d8 50%, #b5bba8 50%); color: #424b3a; font: 700 24px/1.1 var(--display); letter-spacing: -.05em; }
.art-web { background: #aeb7a0; }
.art-web .art-kicker, .art-web .art-caption { color: #515b49; }
.browser-art { width: 76%; height: 66%; background: #f2f1e9; box-shadow: 0 15px 35px rgba(35,43,29,.2); }
.browser-top { height: 17px; display: flex; align-items: center; gap: 4px; padding: 0 8px; border-bottom: 1px solid #ddd; }
.browser-top i { width: 4px; height: 4px; border-radius: 50%; background: #9aa18e; }
.browser-body { padding: 20px 17px; color: #30372a; }
.browser-body b { font: 700 25px/.98 var(--display); letter-spacing: -.07em; }
.browser-body span { display: block; width: 45%; height: 3px; margin: 12px 0; background: #9eaf79; }
.browser-body small { font-size: 6px; letter-spacing: .13em; }
.art-email { background: #d6c9b3; }
.art-email .art-kicker, .art-email .art-caption { color: #746753; }
.email-art { width: 57%; min-height: 68%; padding: 18px; background: #f6f1e5; color: #34372c; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 15px 30px rgba(53,43,28,.18); }
.email-art small { font-size: 6px; letter-spacing: .12em; }
.email-art b { font: 700 25px/1.05 var(--display); letter-spacing: -.06em; }
.email-art span { font-size: 7px; letter-spacing: .15em; }
.work-info { display: flex; justify-content: space-between; align-items: center; padding-top: 15px; }
.work-info span:first-child { color: #a1a79a; font-size: 8px; letter-spacing: .15em; }
.work-info h3 { margin: 5px 0 0; font-size: 15px; }
.work-arrow { color: var(--accent); font-size: 19px; }
.portfolio-note { margin: 30px 0 0; color: #81877b; font-size: 10px; }
.knowledge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.knowledge-title h2 { margin: 0; }
.knowledge-copy > p { max-width: 520px; color: #62685e; font: 500 17px/1.7 var(--display); }
.knowledge-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0; }
.knowledge-tags span { padding: 9px 12px; border: 1px solid #c4c8bb; color: #5e6657; font-size: 10px; }
.knowledge-copy small { display: block; max-width: 500px; color: #858a7f; font-size: 10px; line-height: 1.7; }
.digital-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 25px; }
.digital-intro h2 { font-size: clamp(36px, 4vw, 50px); }
.digital-intro > p:last-child { max-width: 320px; color: #90968b; font-size: 13px; }
.digital-card { padding: 27px; border: 1px solid var(--dark-line); background: #171a15; }
.digital-icon { color: var(--accent); font-size: 27px; }
.digital-label { margin: 22px 0 12px; color: #9ba391; font-size: 8px; letter-spacing: .17em; }
.digital-card h3 { min-height: 65px; margin: 0 0 18px; font-size: 21px; line-height: 1.3; letter-spacing: -.05em; }
.digital-card ul { margin: 0; padding: 0; list-style: none; }
.digital-card li { padding: 9px 0; border-top: 1px solid var(--dark-line); color: #a0a69a; font-size: 10px; }
.digital-card li:before { content: "↗"; margin-right: 9px; color: var(--accent); }
.process-section { background: #e8e9df; }
.process-list { border-top: 1px solid #c2c6b9; }
.process-step { min-height: 95px; display: grid; grid-template-columns: 80px 1fr 30px; align-items: center; gap: 20px; border-bottom: 1px solid #c2c6b9; }
.process-step > span:first-child { color: #879078; font-size: 10px; }
.process-step h3 { margin: 0 0 3px; font-size: 19px; letter-spacing: -.04em; }
.process-step p { margin: 0; color: #73796d; font-size: 11px; }
.process-symbol { color: #839b4d; font-size: 20px; }
.cta-section { padding: 100px 0; background: var(--accent); overflow: hidden; }
.cta-inner { position: relative; }
.cta-inner .eyebrow { color: #596a3c; }
.cta-inner h2 { max-width: 700px; margin: 0 0 20px; font-size: clamp(58px, 8vw, 105px); line-height: .98; letter-spacing: -.09em; font-weight: 600; }
.cta-inner h2 span { color: #70873e; }
.cta-inner > p:not(.eyebrow) { max-width: 520px; color: #465238; font-size: 13px; }
.button-light { margin-top: 18px; background: var(--dark); color: #fff; }
.button-light:hover { background: #343c2a; }
.cta-stamp { position: absolute; right: 8%; top: 10%; width: 145px; height: 145px; display: grid; place-content: center; border: 1px solid rgba(23,25,22,.35); border-radius: 50%; text-align: center; font: 800 20px/1.05 var(--display); letter-spacing: -.05em; transform: rotate(12deg); }
.cta-stamp span { margin-top: 9px; font: 700 6px var(--body); letter-spacing: .2em; }
.contact-section { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.contact-copy h2 { margin-bottom: 20px; }
.contact-copy > p:not(.eyebrow) { max-width: 390px; color: #72786d; font-size: 13px; }
.contact-links { display: grid; gap: 0; margin-top: 35px; max-width: 330px; }
.contact-links a { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #d8dacf; font-size: 12px; }
.contact-links a span { color: #80984a; }
.contact-form-wrap { padding: 34px; background: #ecece3; }
.contact-form { display: grid; }
.contact-form label { margin: 0 0 7px; color: #5f6659; font-size: 10px; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin: 0 0 19px; padding: 12px 0; border: 0; border-bottom: 1px solid #c4c9bb; border-radius: 0; outline: none; background: transparent; color: var(--ink); font-size: 12px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #829b4b; box-shadow: 0 1px 0 #829b4b; }
.contact-form textarea { resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #9a9f93; }
.form-submit { justify-self: start; border: 0; }
.form-notice { margin: 13px 0 0; color: #81877b; font-size: 9px; line-height: 1.6; }
.site-footer { padding: 35px 0 20px; background: var(--dark); color: #f3f4ec; }
.footer-main { display: flex; align-items: center; gap: 30px; padding-bottom: 30px; }
.footer-main p { margin: 0; color: #93998d; font-size: 10px; line-height: 1.6; }
.back-top { margin-left: auto; color: var(--accent); font-size: 11px; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 17px; border-top: 1px solid var(--dark-line); color: #747c70; font-size: 8px; letter-spacing: .12em; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 1000px) {
  .primary-nav { gap: 18px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 20px; }
  .hero h1 { font-size: clamp(42px, 6vw, 61px); }
  .about-grid { grid-template-columns: .55fr 1.2fr; }
  .about-aside { grid-column: 2; max-width: 330px; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .digital-grid { grid-template-columns: 1fr 1fr; }
  .digital-intro { grid-column: 1 / -1; }
  .contact-grid { gap: 50px; }
}
@media (max-width: 700px) {
  .container { width: min(100% - 40px, var(--container)); }
  .site-header { height: 70px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.3); background: transparent; cursor: pointer; }
  .menu-toggle span { width: 17px; height: 1px; margin: 0 auto; background: #fff; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 69px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 22px; background: #171a15; border-bottom: 1px solid var(--dark-line); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .primary-nav .nav-cta { margin-top: 12px; padding: 12px; text-align: center; border: 1px solid rgba(255,255,255,.25); }
  .hero { min-height: auto; padding: 125px 0 35px; }
  .hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .hero h1 { font-size: clamp(43px, 12vw, 62px); }
  .hero-intro { font-size: 13px; }
  .hero-visual { min-height: 390px; }
  .profile-frame { width: min(285px, 72%); }
  .orbit-one { width: 350px; height: 350px; }
  .orbit-two { width: 410px; height: 410px; }
  .note-top { top: 35px; right: 0; }
  .note-bottom { bottom: 35px; left: 0; }
  .hero-bottom { margin-top: 15px; }
  .strip-inner { padding-block: 18px; align-items: flex-start; flex-direction: column; gap: 8px; }
  .strip-tags { flex-wrap: wrap; gap: 10px; font-size: 8px; }
  .section { padding: 82px 0; }
  .about-grid { grid-template-columns: 1fr; row-gap: 35px; }
  .section-label { grid-column: auto; flex-wrap: wrap; }
  .about-content, .about-aside { grid-column: auto; }
  .about-content h2, .section-heading h2, .knowledge-title h2, .digital-intro h2, .contact-copy h2 { font-size: 42px; }
  .about-aside { max-width: 100%; }
  .aside-card { min-height: 220px; }
  .section-heading { display: block; margin-bottom: 38px; }
  .heading-note { margin-top: 20px; }
  .expertise-grid { grid-template-columns: 1fr 1fr; }
  .expertise-item { min-height: 230px; padding: 18px 14px; }
  .expertise-item h3 { font-size: 14px; }
  .expertise-item p { font-size: 10px; }
  .services-layout { grid-template-columns: 1fr; gap: 42px; }
  .service-row { min-height: 64px; grid-template-columns: 25px 1fr 16px; }
  .service-row b { font-size: 12px; }
  .work-grid { grid-template-columns: 1fr 1fr; gap: 25px 13px; }
  .work-art { height: 210px; }
  .brand-art-name { font-size: 36px; }
  .work-info h3 { font-size: 13px; }
  .work-info span:first-child { font-size: 7px; }
  .knowledge-grid { grid-template-columns: 1fr; gap: 30px; }
  .digital-grid { grid-template-columns: 1fr; }
  .digital-intro { grid-column: auto; }
  .digital-card h3 { min-height: 0; }
  .process-step { grid-template-columns: 38px 1fr 20px; gap: 10px; min-height: 105px; }
  .process-step h3 { font-size: 17px; }
  .process-step p { font-size: 10px; }
  .cta-section { padding: 75px 0; }
  .cta-inner h2 { font-size: clamp(57px, 14vw, 82px); }
  .cta-stamp { width: 95px; height: 95px; right: 0; top: 8px; font-size: 14px; }
  .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .contact-form-wrap { padding: 23px 18px; }
  .footer-main { flex-wrap: wrap; gap: 17px; }
  .footer-main p { flex-basis: 100%; order: 3; }
}
@media (max-width: 420px) {
  .container { width: calc(100% - 32px); }
  .hero h1 { font-size: 42px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-visual { min-height: 340px; }
  .profile-frame { width: 68%; }
  .floating-note { padding: 10px; }
  .note-top { right: -3px; }
  .note-bottom { left: -3px; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-item { min-height: 190px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-art { height: 255px; }
  .cta-stamp { display: none; }
  .footer-bottom { gap: 15px; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Real portfolio gallery */
.work-grid { display: block; columns: 3; column-gap: 22px; }
.work-card { display: inline-block; width: 100%; margin: 0 0 28px; break-inside: avoid; vertical-align: top; }
.work-image-button { display: block; width: 100%; position: relative; overflow: hidden; padding: 0; border: 1px solid rgba(255,255,255,.1); background: #20241d; cursor: zoom-in; text-align: left; }
.work-image-button img { display: block; width: 100%; height: auto; max-height: 470px; object-fit: contain; transition: transform .45s ease, opacity .3s ease; }
.work-image-button:hover img { transform: scale(1.025); opacity: .82; }
.image-view-hint { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 12px; padding: 8px 10px; background: rgba(17,19,16,.88); color: #f4f4ed; font-size: 8px; letter-spacing: .13em; opacity: 0; transform: translateY(5px); transition: opacity .2s ease, transform .2s ease; }
.image-view-hint b { color: var(--accent); font-size: 13px; }
.work-image-button:hover .image-view-hint, .work-image-button:focus-visible .image-view-hint { opacity: 1; transform: translateY(0); }
.work-info { align-items: flex-start; }
.work-info h3 { margin-bottom: 2px; }
.work-filename { display: block; margin-top: 3px; color: #737b6d; font-size: 9px; overflow-wrap: anywhere; }
.portfolio-note { line-height: 1.7; }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; gap: 22px; padding: 55px 5vw 35px; background: rgba(8,10,8,.96); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-figure { display: flex; flex-direction: column; align-items: center; justify-content: center; width: min(100%, 1100px); height: 100%; margin: 0; }
.lightbox-figure img { display: block; max-width: 100%; max-height: calc(100% - 42px); width: auto; height: auto; object-fit: contain; }
.lightbox-figure figcaption { padding-top: 12px; color: #c4c9bb; font-size: 10px; letter-spacing: .08em; text-align: center; }
.lightbox-close, .lightbox-nav { position: absolute; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; }
.lightbox-close { top: 18px; right: 22px; width: 42px; height: 42px; font-size: 28px; line-height: 1; }
.lightbox-nav { top: 50%; width: 42px; height: 52px; font-size: 32px; transform: translateY(-50%); }
.lightbox-prev { left: 18px; } .lightbox-next { right: 18px; }
.lightbox-close:hover, .lightbox-nav:hover { border-color: var(--accent); color: var(--accent); }
body.lightbox-open { overflow: hidden; }
.work-image-button:focus-visible, .lightbox button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 900px) { .work-grid { columns: 2; } }
@media (max-width: 560px) {
  .work-grid { columns: 1; } .work-card { margin-bottom: 24px; }
  .work-image-button img { max-height: none; }
  .lightbox { padding: 60px 12px 25px; }
  .lightbox-nav { top: auto; bottom: 12px; transform: none; }
  .lightbox-prev { left: calc(50% - 52px); } .lightbox-next { right: calc(50% - 52px); }
  .lightbox-figure img { max-height: calc(100% - 75px); }
}
@media (prefers-reduced-motion: reduce) { .work-image-button img, .image-view-hint, .lightbox { transition-duration: .01ms !important; } }
