.arch-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(530px, 71svh, 790px);
  padding-block: 74px clamp(36px, 7vw, 105px);
  background: #373429;
  color: #fffaf0;
  overflow: clip;
}
.arch-hero .arch-cover {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}
.arch-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #211d16e0, #211d1694 42%, #211d160d 82%),
    linear-gradient(0deg, #211d16a6, transparent 60%);
}
.arch-title h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 7.3vw, 7.1rem);
  line-height: .96;
  text-wrap: balance;
}
.arch-title p { max-width: 43ch; margin-top: 16px; }
.arch-intro { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 19px; margin-top: 21px; }
.arch-hero .arch-cta { background: #fffaf0; color: #293829; border-color: #fffaf0; }
.arch-hero .arch-cta:hover { background: #eee8d8; border-color: #eee8d8; }
.arch-hero-project { font-size: .89rem; font-weight: 680; }
@media (max-width: 680px) {
  .arch-hero { min-height: clamp(480px, 76svh, 680px); padding-bottom: 32px; }
  .arch-hero .arch-cover { object-position: 54% center; }
  .arch-hero::after { background: linear-gradient(0deg, #211d16f5 1%, #211d16cf 31%, #211d1661 67%, transparent 100%); }
  .arch-title h1 { font-size: clamp(2.85rem, 10.7vw, 4.7rem); }
  .arch-intro { margin-top: 17px; }
}
.arch-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1rem;
  min-height: 46px;
  border: 1px solid #404f3d;
  background: #404f3d;
  color: #fffaf0;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}

.arch-cta:hover {
  background: #293829;
  border-color: #293829;
}

.arch-cta:focus-visible {
  outline-color: #293829;
}

.arch-cta:active {
  transform: scale(.97);
}

.arch-services {
  margin: 0;
}

.arch-services div {
  position: relative;
  padding: 1.05rem 0;
  border-top: 1px solid var(--rule);
}

.arch-services div::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #536249;
  transform: scaleX(var(--plan-line, 0));
  transform-origin: left;
}

.arch-services dt {
  margin-bottom: .35rem;
  font-weight: 740;
}

.arch-services dd {
  line-height: 1.6;
  max-width: 48ch;
}

.arch-meeting {
  background: #e6e5d7;
  padding-block: clamp(2.8rem, 7vw, 6rem);
}

.arch-meeting-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  align-items: start;
  gap: 2rem clamp(1.7rem, 5vw, 6rem);
}

.arch-contact-list { display: grid; gap: 12px; margin-top: 24px; max-width: 430px; }
.arch-contact-list dt { font-size: .89rem; font-weight: 720; }
.arch-contact-place dd, .arch-contact-phone { display: flex; justify-content: space-between; align-items: center; gap: 5px 12px; }
.arch-contact-place dd { align-items: start; }
.arch-contact-list a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; font-weight: 710; white-space: nowrap; }
.arch-contact-list a:hover { color: #43563e; }
.arch-contact-phone a { font-variant-numeric: tabular-nums; }
.arch-meeting-grid p {
  margin-top: .9rem;
  max-width: 39ch;
}

#tomi-brief {
  display: grid;
  justify-items: start;
  gap: 1.2rem;
  min-width: 0;
}

#tomi-brief fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

#tomi-brief legend,
.brief-field {
  font-weight: 690;
}

.brief-options {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .45rem;
}

.brief-options label {
  position: relative;
  cursor: pointer;
}

.brief-options input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
}

.brief-options span {
  display: flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid #858979;
  padding: .6rem .8rem;
  transition: background .2s, color .2s, border-color .2s;
}

.brief-options input:checked + span {
  background: #404f3d;
  border-color: #404f3d;
  color: #fffaf0;
}

.brief-options input:focus-visible + span {
  outline: 2px solid #293829;
  outline-offset: 3px;
}

.brief-field {
  display: grid;
  width: 100%;
  gap: .4rem;
}

.brief-field small {
  font-size: .88rem;
  font-weight: 500;
}

.brief-field input,
.brief-field textarea {
  width: 100%;
  padding: .7rem .8rem;
  border: 1px solid #858979;
  background: #f2eee3;
  color: inherit;
  border-radius: 0;
  font: inherit;
  line-height: 1.5;
  font-weight: 500;
}

.brief-field textarea {
  resize: vertical;
}



@media (max-width: 680px) {
  .arch-meeting-grid { grid-template-columns: minmax(0, 1fr); }
}

.arch-project { position: relative; }
.arch-project-anchor { position: absolute; top: 0; scroll-margin-top: 20px; }
.arch-project-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-block: 20px 34px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.arch-project-switch button {
  min-height: 44px;
  padding: 5px 13px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  font-weight: 680;
}
.arch-project-switch button:hover { border-color: var(--rule); }
.arch-project-switch button[aria-pressed="true"] { background: #404f3d; color: #fffaf0; }
.arch-project-case:not([hidden]) + .arch-project-case { margin-top: 34px; }
.arch-project-case .arch-project-heading h3 {
  font: 400 clamp(2.2rem, 5vw, 4.2rem)/1 Georgia, serif;
  letter-spacing: -.038em;
}
.arch-project-heading span { display: block; margin-top: 7px; color: #4b5143; font-size: .9rem; }
.architecture .demo-header > a.arch-header-action {
  grid-area: phone;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 12px;
  background: #404f3d;
  color: #fffaf0;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.arch-header-action:hover { box-shadow: inset 0 0 0 2px #a5b39a; }
.arch-header-action:active { background: #293829; }
