/*
Theme Name: AMD Design Restored
Theme URI: https://amddesign.ru/
Author: AMD Design
Description: Современная восстановленная тема AMD Design по снимкам Wayback Machine.
Version: 1.3.0
Text Domain: amddesign-restored
*/

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/montserrat-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playball';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/playball-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/lato-300.ttf') format('truetype');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/lato-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/lato-400-italic.ttf') format('truetype');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/lato-700.ttf') format('truetype');
}

:root {
  --amd-ink: #171715;
  --amd-muted: #6f6c66;
  --amd-paper: #f6f4ef;
  --amd-white: #fff;
  --amd-accent: #bc8c4a;
  --amd-line: rgba(23, 23, 21, .14);
  --amd-shadow: 0 18px 48px rgba(31, 28, 23, .12);
  --amd-radius: 3px;
  --amd-container: min(1240px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--amd-ink);
  background: var(--amd-white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: var(--amd-container); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.eyebrow { margin: 0 0 14px; color: var(--amd-accent); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.section { padding: 96px 0; }
.section--paper { background: var(--amd-paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 42px; }
.section-heading h2, .page-title, .hero-title {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.08;
}
.section-heading h2 { max-width: 720px; font-size: clamp(38px, 5vw, 66px); }
.section-heading p { max-width: 460px; margin: 0; color: var(--amd-muted); }
.text-link { display: inline-flex; gap: 10px; align-items: center; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.text-link::after { content: '↗'; transition: transform .2s ease; }
.text-link:hover::after { transform: translate(3px,-3px); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 24px; border: 1px solid var(--amd-ink); border-radius: 0; background: var(--amd-ink); color: var(--amd-white); cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; transition: .2s ease; }
.button:hover { background: transparent; color: var(--amd-ink); }
.button--light { border-color: var(--amd-white); background: var(--amd-white); color: var(--amd-ink); }
.button--light:hover { background: transparent; color: var(--amd-white); }

.site-header { position: sticky; z-index: 50; top: 0; height: 84px; border-bottom: 1px solid var(--amd-line); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.header-inner { display: grid; grid-template-columns: 220px 1fr auto; align-items: center; height: 100%; }
.site-logo img { width: 168px; max-height: 58px; object-fit: contain; object-position: left center; }
.site-logo .amd-header-logo { width: 168px; height: 58px; max-height: none; object-fit: cover; object-position: center 41%; }
.site-nav { justify-self: center; }
.site-nav ul { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); margin: 0; padding: 0; list-style: none; }
.site-nav a { position: relative; padding: 28px 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.site-nav a::after { position: absolute; right: 0; bottom: 22px; left: 0; height: 1px; background: var(--amd-accent); content: ''; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-nav a:hover::after, .site-nav .current-menu-item > a::after { transform: scaleX(1); }
.header-phone { color: #000; font-size: 14px; font-weight: 700; white-space: nowrap; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 9px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 1px; margin: 6px 0; background: currentColor; transition: .2s ease; }

.hero { position: relative; min-height: calc(100vh - 84px); overflow: hidden; background: #d8d5cf; }
.hero-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .85s ease; }
.hero-slide.is-active { z-index: 1; opacity: 1; pointer-events: auto; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide-content { position: absolute; z-index: 2; inset: 0; display: flex; width: 100%; max-width: none; align-items: center; justify-content: center; margin: 0; padding: 0 40px; }
.hero-caption { position: absolute; inset: 0; width: 100%; text-align: center; perspective: 800px; }
.hero-caption-title {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  margin-top: -70px;
  opacity: 0;
  color: #1a1918;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 50px;
  font-weight: 700;
  letter-spacing: 5px;
  line-height: 50px;
  white-space: nowrap;
  text-transform: uppercase;
  transform: rotateZ(var(--hero-rotation)) scale(.9);
  transform-origin: 50% 50%;
  transition: opacity .5s ease, transform .65s cubic-bezier(.2,.75,.25,1);
}
.hero-caption-title span { display: inline-block; max-width: 100%; padding: 20px 30px; border: 5px solid #212121; background: rgba(255,255,255,.06); }
.hero-caption-subtitle { position: absolute; top: 50%; left: 0; display: flex; width: 100%; min-height: 40px; align-items: center; justify-content: center; margin: 50px 0 0; color: #d79a2b; font-family: 'Playball', cursive; font-size: 40px; font-style: normal; font-weight: 400; letter-spacing: 3px; line-height: 40px; }
.hero-caption-subtitle .hero-letter { display: inline-block; min-width: .18em; opacity: 0; transform: rotateZ(360deg) scale(.3); transform-origin: 50% 65%; }
.hero-slide.is-active .hero-caption-title { opacity: 1; transform: rotateZ(0) scale(1); transition-delay: .22s; }
.hero-slide.is-active .hero-caption-subtitle .hero-letter { animation: hero-letter-in .58s cubic-bezier(.18,.75,.3,1.15) both; animation-delay: calc(.38s + var(--letter-index) * 65ms); }
.hero-controls { position: absolute; z-index: 4; bottom: 25px; left: 50%; display: flex; gap: 8px; transform: translateX(-50%); }
.hero-dot { width: 10px; height: 10px; padding: 0; border: 1px solid rgba(20,20,18,.8); border-radius: 50%; background: rgba(255,255,255,.7); cursor: pointer; }
.hero-dot.is-active { background: #1a1918; }
@keyframes hero-letter-in {
  0% { opacity: 0; transform: translateY(8px) rotateZ(360deg) scale(.3); }
  72% { opacity: 1; transform: translateY(0) rotateZ(-12deg) scale(1.08); }
  100% { opacity: 1; transform: translateY(0) rotateZ(0) scale(1); }
}

.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.intro-image { position: relative; }
.intro-image::before { position: absolute; z-index: -1; top: -26px; right: -26px; width: 55%; height: 70%; background: var(--amd-paper); content: ''; }
.intro-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.intro-copy h2 { margin: 0 0 28px; font-family: Georgia, serif; font-size: clamp(40px, 5vw, 68px); font-weight: 400; line-height: 1.06; }
.intro-copy p { color: var(--amd-muted); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 38px 0; padding-top: 28px; border-top: 1px solid var(--amd-line); }
.stat strong { display: block; font-family: Georgia, serif; font-size: 42px; font-weight: 400; line-height: 1; }
.stat span { color: var(--amd-muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--amd-line); border-left: 1px solid var(--amd-line); }
.service-card { min-height: 310px; padding: 34px; border-right: 1px solid var(--amd-line); border-bottom: 1px solid var(--amd-line); transition: background .25s ease, color .25s ease; }
.service-card:hover { background: var(--amd-ink); color: white; }
.service-number { display: block; margin-bottom: 66px; color: var(--amd-accent); font-size: 12px; letter-spacing: .14em; }
.service-card h3 { margin: 0 0 16px; font-family: Georgia, serif; font-size: 27px; font-weight: 400; line-height: 1.2; }
.service-card p { margin: 0; color: var(--amd-muted); font-size: 14px; }
.service-card:hover p { color: rgba(255,255,255,.68); }

.portfolio-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; margin-bottom: 20px; }
.portfolio-filter { margin: 0 8px 20px; padding: 0; border: 0; background: transparent; color: #404040; cursor: pointer; font-family: Lato, Arial, sans-serif; font-size: 12px; font-weight: 400; letter-spacing: 4px; line-height: 24px; text-align: center; text-transform: uppercase; transition: color .3s linear; }
.portfolio-filter:hover, .portfolio-filter.is-active { color: #cfa144; }
.portfolio-grid { display: grid; width: min(1700px, 100vw); grid-template-columns: repeat(3, 1fr); gap: 0; margin-left: 50%; transform: translateX(-50%); }
.project-card { position: relative; overflow: hidden; border: 10px solid #fff; background: #f3f3f3; transform: translateX(1px); }
.project-card[hidden] { display: none; }
.project-image { display: flex; overflow: hidden; aspect-ratio: 600/423; align-items: center; justify-content: center; }
.project-image img { width: 100%; height: 100%; object-fit: cover; }
.project-image-placeholder, .amd-image-placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; background: #f3f3f3; color: #999; font-family: Montserrat, Arial, sans-serif; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; }
.project-meta { position: absolute; z-index: 2; inset: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 25px; background: rgba(255,255,255,.9); color: #212121; text-align: center; transform: scale(0); transition: transform .3s linear; }
.project-card:hover .project-meta, .project-card:focus-within .project-meta { transform: scale(1); }
.project-meta h3 { margin: 0; font-family: Lato, Arial, sans-serif; font-size: 16px; font-weight: 400; letter-spacing: 2px; line-height: 1.4; text-transform: uppercase; }
.project-meta p { display: none; }
.project-card > a::after { position: absolute; inset: 0; content: ''; }

.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.benefit { padding-top: 26px; border-top: 1px solid var(--amd-line); }
.benefit strong { display: block; margin-bottom: 14px; color: var(--amd-accent); font-size: 12px; letter-spacing: .14em; }
.benefit h3 { margin: 0 0 13px; font-family: Georgia, serif; font-size: 27px; font-weight: 400; }
.benefit p { margin: 0; color: var(--amd-muted); }

.cta { position: relative; overflow: hidden; padding: 100px 0; background: var(--amd-ink); color: white; }
.cta::after { position: absolute; top: -100px; right: -100px; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; content: ''; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { max-width: 760px; margin: 0; font-family: Georgia, serif; font-size: clamp(42px, 5vw, 72px); font-weight: 400; line-height: 1.08; }

.page-hero { padding: 92px 0 66px; border-bottom: 1px solid var(--amd-line); background: var(--amd-paper); }
.page-title { max-width: 920px; font-size: clamp(46px, 7vw, 90px); }
.page-lead { max-width: 720px; margin: 25px 0 0; color: var(--amd-muted); font-size: 19px; }
.prose { max-width: 820px; margin-inline: auto; }
.prose h2, .prose h3 { margin: 1.5em 0 .5em; font-family: Georgia, serif; font-weight: 400; line-height: 1.15; }
.prose h2 { font-size: 42px; }
.prose h3 { font-size: 28px; }
.prose p, .prose li { color: #514f4a; }
.prose a { border-bottom: 1px solid var(--amd-accent); }

.about-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: start; }
.about-split img { width: 100%; min-height: 560px; object-fit: cover; }
.about-copy h2 { margin: 0 0 24px; font-family: Georgia, serif; font-size: clamp(38px, 5vw, 62px); font-weight: 400; line-height: 1.08; }
.about-copy p { color: var(--amd-muted); }
.team-note { margin-top: 34px; padding: 28px; border-left: 2px solid var(--amd-accent); background: var(--amd-paper); }

.service-list { display: grid; gap: 1px; background: var(--amd-line); border: 1px solid var(--amd-line); }
.service-row { display: grid; grid-template-columns: 70px 1fr auto; gap: 24px; align-items: center; padding: 30px; background: white; }
.service-row span { color: var(--amd-accent); font-size: 12px; }
.service-row h2 { margin: 0; font-family: Georgia, serif; font-size: 31px; font-weight: 400; }

.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review { padding: 38px; border: 1px solid var(--amd-line); background: white; }
.review blockquote { margin: 0 0 25px; font-family: Georgia, serif; font-size: 23px; line-height: 1.45; }
.review cite { color: var(--amd-muted); font-style: normal; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 80px; }
.contact-list { display: grid; gap: 26px; margin-top: 35px; }
.contact-item { padding-top: 18px; border-top: 1px solid var(--amd-line); }
.contact-item small { display: block; margin-bottom: 5px; color: var(--amd-muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.contact-item a, .contact-item span { font-family: Georgia, serif; font-size: 25px; }
.contact-form { padding: 42px; background: var(--amd-paper); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field--full { grid-column: 1/-1; }
.field label { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 1px solid #aaa69e; border-radius: 0; outline: 0; background: transparent; }
.field input { height: 48px; }
.field textarea { min-height: 120px; padding: 12px 0; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--amd-ink); }
.form-status { margin: 0 0 24px; padding: 14px 18px; border: 1px solid #6e9974; background: #edf7ee; }
.form-status--error { border-color: #b96969; background: #fff0f0; }

.amd-project-original { padding: 70px 0; background: #fff; }
.amd-project-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; align-items: start; margin-bottom: 20px; }
.amd-project-cell { grid-column: span 12; min-width: 0; margin: 0; }
.amd-project-cell--1 { grid-column: span 1; }
.amd-project-cell--2 { grid-column: span 2; }
.amd-project-cell--3 { grid-column: span 3; }
.amd-project-cell--4 { grid-column: span 4; }
.amd-project-cell--5 { grid-column: span 5; }
.amd-project-cell--6 { grid-column: span 6; }
.amd-project-cell--7 { grid-column: span 7; }
.amd-project-cell--8 { grid-column: span 8; }
.amd-project-cell--9 { grid-column: span 9; }
.amd-project-cell--10 { grid-column: span 10; }
.amd-project-cell--11 { grid-column: span 11; }
.amd-project-photo { width: 100%; height: auto; }
.amd-project-lightbox-link { display: block; overflow: hidden; border: 0; outline: 0; }
.amd-project-info { align-self: center; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; }
.amd-project-info ul { margin: 0; padding: 34px 0 10px; list-style: none; }
.amd-project-info li { width: 100%; padding-bottom: 12px; color: #404040; font-family: Lato, Arial, sans-serif; font-size: 12px; font-weight: 400; letter-spacing: 3px; line-height: 24px; text-align: left; text-transform: uppercase; }
.amd-project-info em { font-style: italic; }
.amd-project-editor-note { margin: 0 0 22px; padding: 12px 14px; background: #fff8e5; color: #554923; font-size: 13px; line-height: 1.5; }
.amd-project-editor-note a { text-decoration: underline; }
.amd-project-photo-placeholder { display: flex; min-height: 390px; flex-direction: column; align-items: center; justify-content: center; padding: 40px; background: #f3f3f3; color: #777; text-align: center; }
.amd-project-photo-placeholder strong { color: #222; font-family: Montserrat, Arial, sans-serif; font-size: 22px; letter-spacing: .18em; text-transform: uppercase; }
.amd-project-photo-placeholder span { max-width: 420px; margin-top: 15px; font-family: Lato, Arial, sans-serif; }
.amd-project-navigation { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; margin-top: 50px; padding: 70px 0; }
.amd-project-navigation::before { position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; background: #f3f3f3; content: ''; transform: translateX(-50%); }
.amd-project-navigation a { display: inline-block; padding: 10px 30px; background: #212121; color: #fff; font: 400 12px/24px Lato, Arial, sans-serif; letter-spacing: 3px; text-transform: uppercase; transition: background .3s linear; }
.amd-project-navigation a:hover { background: #cfa144; }
.amd-project-navigation a[rel="prev"]::before { padding-right: 20px; content: '←'; transition: padding .3s linear; }
.amd-project-navigation a[rel="next"]::after { padding-left: 20px; content: '→'; transition: padding .3s linear; }
.amd-project-navigation a[rel="prev"]:hover::before { padding-right: 25px; }
.amd-project-navigation a[rel="next"]:hover::after { padding-left: 25px; }
.lightbox { position: fixed; z-index: 100; inset: 0; display: none; align-items: center; justify-content: center; padding: 40px; background: rgba(0,0,0,.92); }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 90vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; right: 24px; border: 0; background: transparent; color: white; cursor: pointer; font-size: 34px; }

.site-footer { padding: 70px 0 28px; background: #11110f; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .8fr; gap: 60px; padding-bottom: 55px; }
.footer-logo { width: 200px; filter: invert(1); opacity: .94; }
.footer-tagline { max-width: 400px; margin-top: 22px; color: rgba(255,255,255,.58); }
.footer-title { margin: 0 0 18px; color: rgba(255,255,255,.46); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 7px 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.42); font-size: 12px; }

@media (max-width: 1000px) {
  .header-inner { grid-template-columns: 1fr auto auto; gap: 14px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 84px 0 0; display: none; padding: 42px 24px; background: white; }
  .nav-open .site-nav { display: block; }
  .site-nav ul { display: block; }
  .site-nav li { border-bottom: 1px solid var(--amd-line); }
  .site-nav a { display: block; padding: 18px 0; font-family: Georgia, serif; font-size: 25px; font-weight: 400; letter-spacing: 0; text-transform: none; }
  .site-nav a::after { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .amd-project-row { gap: 16px; }
}

@media (max-width: 1200px) and (min-width: 721px) {
  .hero-caption-title { font-size: clamp(31px, 4.15vw, 50px); letter-spacing: clamp(3px, .42vw, 5px); line-height: 1; }
}

@media (max-width: 720px) {
  :root { --amd-container: min(calc(100vw - 30px), 1240px); }
  .section { padding: 70px 0; }
  .site-header { height: 72px; }
  .header-inner { grid-template-columns: minmax(0, 1fr) 44px; }
  .site-nav { top: 72px; }
  .site-logo img { width: 142px; }
  .site-logo .amd-header-logo { width: 142px; height: 54px; }
  .header-phone { display: none; }
  .menu-toggle { position: absolute; top: 14px; right: 15px; z-index: 2; display: block; color: var(--amd-ink); }
  .menu-toggle { width: auto; min-width: 58px; padding-inline: 8px; font-size: 11px; font-weight: 700; letter-spacing: .12em; line-height: 1; }
  .hero, .hero-slide-content { min-height: calc(100svh - 72px); }
  .hero-slide-content { padding-right: 14px; padding-left: 14px; }
  .hero-caption { width: calc(100vw - 28px); }
  .hero-caption { transform: none; }
  .hero-caption-title { font-size: clamp(21px, 6.4vw, 31px); letter-spacing: .06em; line-height: 1.15; white-space: normal; }
  .hero-caption-title span { padding: 15px 11px 14px; border-width: 3px; }
  .hero-caption-subtitle { margin-top: 13px; font-size: clamp(20px, 6vw, 28px); letter-spacing: 1.5px; line-height: 1.2; }
  .hero-slide.is-active .hero-caption-subtitle .hero-letter { animation-delay: calc(.32s + var(--letter-index) * 38ms); }
  .hero-controls { display: none; }
  .section-heading { display: block; }
  .section-heading p, .section-heading .text-link { margin-top: 20px; }
  .intro-grid, .about-split { grid-template-columns: 1fr; gap: 44px; }
  .intro-image { order: 2; }
  .intro-image img { aspect-ratio: 4/3; }
  .services-grid, .portfolio-grid, .benefits-grid, .reviews-grid, .footer-grid { grid-template-columns: 1fr; }
  .portfolio-grid { width: 100vw; }
  .project-card { border-width: 6px; }
  .project-meta { inset: auto 12px 12px; padding: 12px; background: rgba(255,255,255,.9); transform: none; }
  .project-meta h3 { font-size: 12px; letter-spacing: 1px; }
  .service-card { min-height: 250px; }
  .service-number { margin-bottom: 36px; }
  .service-row { grid-template-columns: 42px 1fr; }
  .service-row .text-link { grid-column: 2; justify-self: start; }
  .cta-inner { display: block; }
  .cta .button { margin-top: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .contact-form { padding: 28px 20px; }
  .amd-project-original { padding: 45px 0; }
  .amd-project-row { display: block; margin-bottom: 15px; }
  .amd-project-cell { margin-bottom: 15px; }
  .amd-project-info { padding-top: 10px; }
  .amd-project-photo-placeholder { min-height: 260px; }
  .amd-project-navigation { padding: 45px 0; }
  .footer-bottom { display: block; }
}
