/* Work ---------------------------------------------------------- */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  border: 1px solid var(--line-strong);
  background: linear-gradient(145deg, #1e241e 0%, #171916 65%);
  overflow: hidden;
}

.feature__copy {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 56px);
}

.feature__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.feature__title {
  margin: clamp(28px, 4vw, 52px) 0 20px;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.feature__title em {
  font-style: italic;
  color: var(--olive);
}

.feature__lede {
  max-width: 440px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.feature__facts {
  margin-block: clamp(24px, 3vw, 38px);
}

.feature__facts div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 16px;
  padding-block: 11px;
  border-top: 1px solid var(--line);
}

.feature__facts dt {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--olive);
}

.feature__facts dd {
  font-size: 13px;
}

.feature__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.feature__note {
  margin-top: auto;
  padding-top: 30px;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.feature__note span {
  color: var(--olive);
}

.feature__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(26px, 3vw, 48px);
  border-left: 1px solid var(--line);
  background: radial-gradient(circle at 60% 45%, rgba(52, 75, 60, 0.35), transparent 70%);
  overflow: hidden;
}

.feature__stamp {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(166, 165, 138, 0.5);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--olive);
  transform: rotate(12deg);
}

.browser {
  position: relative;
  z-index: 2;
  background: var(--ivory);
  color: var(--ink);
  border-radius: 6px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease);
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--ivory);
}

.browser__dots {
  display: flex;
  gap: 5px;
  flex: 0 0 auto;
}

.browser__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(233, 229, 216, 0.35);
}

.browser__dots i:first-child {
  background: var(--olive);
}

.browser__url {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(233, 229, 216, 0.6);
}

.browser__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--olive);
}

.browser__live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--olive);
}

.browser__body {
  padding: clamp(14px, 2vw, 24px);
}

.db-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(23, 25, 22, 0.16);
}

.db-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
}

.db-logo span {
  font-style: italic;
  color: var(--forest);
}

.db-search {
  flex: 1;
  min-width: 0;
  padding: 7px 12px;
  border: 1px solid rgba(23, 25, 22, 0.16);
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(23, 25, 22, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.db-count {
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.db-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.db-filters span {
  padding: 5px 9px;
  border: 1px solid rgba(23, 25, 22, 0.16);
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.db-filters .is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--ivory);
}

.db-title {
  margin: 20px 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.5vw, 2.7rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.db-title em {
  font-style: italic;
  color: var(--forest);
}

.db-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.db-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 118px;
  padding: 10px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), filter 0.35s ease;
}

.db-tile:hover {
  transform: translateY(-3px);
  filter: brightness(1.12);
}

.db-tile--forest { background: var(--forest); color: var(--ivory); }
.db-tile--ivory { background: var(--ivory-2); color: var(--ink); }
.db-tile--olive { background: var(--olive); color: var(--ink); }
.db-tile--ink { background: var(--ink); color: var(--ivory); }

.db-tile__web {
  position: absolute;
  top: 50%;
  right: -18%;
  width: 88%;
  transform: translateY(-50%);
  opacity: 0.2;
  pointer-events: none;
}

.db-tile__earth {
  position: relative;
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.db-tile__alias {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  line-height: 1;
}

.db-tile__meta {
  position: relative;
  font-family: var(--mono);
  font-size: 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feature__caption {
  position: relative;
  z-index: 2;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.feature__caption span {
  color: var(--olive);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.project-card {
  border: 1px solid var(--line);
  background: rgba(233, 229, 216, 0.022);
  transition: transform 0.5s var(--ease), border-color 0.5s ease, background 0.5s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(166, 165, 138, 0.5);
  background: rgba(52, 75, 60, 0.16);
}

.project-card__visual {
  position: relative;
  display: grid;
  place-items: center;
  height: 190px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.project-card__visual--seo {
  background: radial-gradient(circle at 50% 50%, rgba(52, 75, 60, 0.45), transparent 70%);
}

.project-card__visual--social {
  background: linear-gradient(135deg, rgba(52, 75, 60, 0.32), rgba(23, 25, 22, 0.1));
}

.project-card__visual--email {
  background: radial-gradient(circle at 80% 20%, rgba(52, 75, 60, 0.38), transparent 65%);
}

.intent-rings {
  position: relative;
  width: 150px;
  height: 150px;
}

.intent-rings span {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(166, 165, 138, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.intent-rings span:nth-child(1) { width: 44px; height: 44px; }
.intent-rings span:nth-child(2) { width: 96px; height: 96px; }
.intent-rings span:nth-child(3) { width: 148px; height: 148px; border-style: dashed; }

.intent-rings b {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 400;
  color: var(--olive);
}

.float-tag {
  position: absolute;
  padding: 4px 7px;
  border: 1px solid var(--line-strong);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.float-tag--1 { top: 30px; left: 26px; }
.float-tag--2 { top: 78px; right: 22px; }
.float-tag--3 { bottom: 28px; left: 38px; color: var(--olive); }

.week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  width: 74%;
}

.week-grid span {
  display: grid;
  place-items: center;
  aspect-ratio: 0.68;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
}

.week-grid .is-on {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--ink);
}

.week-label {
  position: absolute;
  bottom: 14px;
  left: 18px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1;
}

.email-stack {
  position: absolute;
  top: 26px;
  left: 22px;
  right: 30px;
}

.email-stack span {
  display: block;
  margin-bottom: -5px;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  background: var(--ink-2);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.email-stack span:nth-child(2) { transform: translateX(8px) rotate(-1.5deg); }
.email-stack span:nth-child(3) { transform: translateX(16px) rotate(1.5deg); }

.email-stack i {
  margin-right: 10px;
  font-style: normal;
  color: var(--olive);
}

.email-arrow {
  position: absolute;
  right: 22px;
  bottom: 14px;
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--olive);
}

.project-card__body {
  padding: clamp(22px, 2.4vw, 30px);
}

.project-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.project-card__meta span:first-child {
  color: var(--olive);
}

.project-card h3 {
  margin: 16px 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.1vw, 1.9rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.project-card p {
  min-height: 68px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.project-card .text-link {
  margin-top: 20px;
}

.work-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: clamp(50px, 6vw, 80px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.work-foot p {
  flex: 1;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-style: italic;
  color: var(--muted);
}
